@font-face { font-family: "Onest"; src: url("/fonts/onest-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-500.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-500.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  font-family: "Onest", Arial, sans-serif;
  --void: #25282a;
  --void-raised: #2d3232;
  --porcelain: #f2f0eb;
  --signal: #cedc00;
  --muted: #b7c0b8;
  --line: #454b49;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--void); }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--void); color: var(--porcelain); }
a { color: inherit; }
::selection { color: var(--void); background: var(--signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }

.page-shell {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: min(100%, 1600px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  overflow: hidden;
}
.page-shell::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 82% 44%, rgba(206, 220, 0, .055), transparent 28%),
    linear-gradient(rgba(215, 220, 215, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 220, 215, .025) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  pointer-events: none;
}
.page-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 460px;
  height: 460px;
  right: -280px;
  top: -280px;
  border: 1px solid rgba(206, 220, 0, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(206, 220, 0, .018), 0 0 0 144px rgba(206, 220, 0, .012);
  pointer-events: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { display: block; width: 190px; height: auto; }
.test-status { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.test-status > span { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(206, 220, 0, .08); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
  align-items: center;
  gap: clamp(56px, 8vw, 128px);
  flex: 1;
  padding: clamp(48px, 7vh, 88px) 0;
}
.hero-copy { max-width: 720px; }
.kicker, .route-label { margin: 0 0 24px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
h1 {
  margin: 0;
  font-family: "Unbounded", "Onest", Arial, sans-serif;
  font-size: clamp(44px, 5.25vw, 82px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.055em;
}
h1 span { color: var(--signal); }
.lead { max-width: 600px; margin: 32px 0 0; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.7; }
.portal-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-width: 272px;
  min-height: 58px;
  margin-top: 36px;
  padding: 16px 20px 16px 24px;
  border: 1px solid var(--signal);
  border-radius: 9px;
  color: var(--void);
  background: var(--signal);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s ease-out, background-color .18s ease-out, border-color .18s ease-out;
}
.portal-link:hover { transform: translateY(-2px); background: #dce800; border-color: #dce800; }
.portal-link:active { transform: translateY(0); }
.portal-link svg { flex: 0 0 auto; }
.access-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.access-note svg { flex: 0 0 auto; }

.route-visual {
  position: relative;
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(45, 50, 50, .78);
  box-shadow: 0 30px 80px rgba(20, 23, 23, .22);
  backdrop-filter: blur(12px);
}
.route-heading { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.route-label { margin-bottom: 16px; color: var(--signal); }
.route-heading h2 { margin: 0; font-family: "Unbounded", "Onest", Arial, sans-serif; font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; line-height: 1.28; letter-spacing: -.04em; }
.route-list { margin: 0; padding: 30px 0 28px; list-style: none; }
.route-list li { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 18px; min-height: 76px; }
.route-list li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 18px; bottom: -2px; width: 1px; background: var(--line); }
.route-dot { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 5px; border: 2px solid var(--void-raised); border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 1px var(--muted); }
.route-list li:last-child .route-dot { background: var(--signal); box-shadow: 0 0 0 1px var(--signal), 0 0 18px rgba(206, 220, 0, .24); }
.route-list strong { display: block; color: var(--porcelain); font-size: 16px; font-weight: 600; line-height: 1.4; }
.route-list small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.route-foot { display: flex; align-items: flex-start; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.55; }
.route-foot > span { flex: 0 0 auto; width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--signal); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 76px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer span:nth-child(2) { text-align: center; }
.site-footer span:last-child { text-align: right; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr); gap: 40px; }
  h1 { font-size: clamp(42px, 5.8vw, 62px); }
  .route-visual { padding: 28px; }
}

@media (max-width: 780px) {
  .page-shell { overflow: hidden; }
  .site-header { min-height: 88px; }
  .brand img { width: 164px; }
  .test-status { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 48px 0; }
  .hero-copy { max-width: 650px; }
  h1 { font-size: clamp(42px, 9vw, 64px); }
  .lead { max-width: 590px; }
  .route-visual { max-width: 600px; width: 100%; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 22px 0; }
  .site-footer span:nth-child(2) { display: none; }
}

@media (max-width: 480px) {
  .page-shell { padding: 0 20px; }
  .site-header { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; min-height: 112px; padding: 18px 0; }
  .brand img { width: 158px; }
  .test-status { padding-left: 2px; }
  .hero { gap: 40px; padding: 40px 0; }
  .kicker { margin-bottom: 20px; font-size: 11px; letter-spacing: 1.3px; }
  h1 { font-size: clamp(37px, 10.8vw, 50px); line-height: 1.16; letter-spacing: -.05em; }
  .lead { margin-top: 26px; font-size: 16px; line-height: 1.65; }
  .portal-link { width: 100%; min-width: 0; margin-top: 30px; }
  .access-note { align-items: flex-start; font-size: 12px; }
  .access-note svg { margin-top: 2px; }
  .route-visual { padding: 24px 20px; border-radius: 14px; }
  .route-heading h2 { font-size: 25px; }
  .route-list li { min-height: 82px; }
  .site-footer { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .portal-link { transition: none; }
  .portal-link:hover { transform: none; }
}
