@font-face {
  font-family: Sector;
  src: url('/assets/ALS-Sector-Regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Sector, Arial, sans-serif;
  background: #10171b;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  position: relative;
  isolation: isolate;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.backdrop > svg {
  display: block;
  width: 100%;
  height: 100%;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 43%, rgba(6, 17, 24, .65), rgba(6, 17, 24, .3) 70%), linear-gradient(180deg, rgba(6, 17, 24, .1), rgba(6, 17, 24, .4));
}

.gateway {
  width: min(100%, 536px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.logo {
  display: block;
  width: min(100%, 344px);
  height: auto;
}

.links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.button {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 25px;
  border: 1px solid transparent;
  color: #fff;
  font-size: 19px;
  line-height: 1.3;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.button--primary { background: #f37021; border-color: #f37021; color: #10171b; }
.button--primary:hover { background: #ff873d; border-color: #ff873d; }
.button--secondary { background: rgba(6, 17, 24, .4); border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(12px); }
.button--secondary:hover { background: #004268; border-color: #fff; }
.button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.button svg { width: 22px; height: 22px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.5; transition: transform .2s ease; }
.button:hover svg { transform: translateX(4px); }

.light-streak { stroke: var(--light); stroke-linecap: round; stroke-dasharray: var(--run) var(--gap); stroke-dashoffset: 0; animation: night-drive var(--speed) linear var(--phase) infinite; }
.light-streak--halo { stroke-width: var(--halo-weight); opacity: .46; }
.light-streak--core { stroke-width: var(--weight); opacity: .9; }
.light-streak--away { animation-direction: reverse; }
@keyframes night-drive { to { stroke-dashoffset: -1200; } }

@media (max-width: 560px) {
  .gateway { max-width: 328px; gap: 48px; }
  .logo { width: 280px; }
  .links { grid-template-columns: 1fr; gap: 12px; }
  .button { min-height: 64px; font-size: 18px; }
  .backdrop > svg { width: 175%; max-width: none; transform: translateX(-36%); }
}

@media (prefers-reduced-motion: reduce) {
  .light-trails { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
