:root {
  color-scheme: dark;
  --page: #080b12;
  --panel: #0e141e;
  --ink: #f4f7fa;
  --muted: #a9b6c7;
  --brand: #0481da;
  --blue-text: #55b9ff;
  --line: #233040;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Sen", "Segoe UI", sans-serif;
  --shell: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1rem/1.6 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #82ceff; outline-offset: 5px; }
::selection { color: white; background: #075eaa; }

.shell { width: min(var(--shell), calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 10; translate: 0 -200%; padding: .65rem 1rem; background: var(--page); }
.skip-link:focus { translate: 0; }
section[id] { scroll-margin-top: 95px; }

.site-header { position: sticky; top: 0; z-index: 4; background: #080c14; border-bottom: 1px solid #202c3a; }
.header-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.brand img { width: 39px; height: 39px; object-fit: contain; }
.brand strong, .brand small { display: block; text-transform: uppercase; }
.brand strong { font: 800 1.3rem/.98 var(--display); letter-spacing: .11em; }
.brand small { margin-top: 5px; color: var(--blue-text); font: 700 .59rem/1 var(--body); letter-spacing: .23em; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 48px); }
.site-nav a { color: #c2cbd7; font-size: .87rem; font-weight: 700; white-space: nowrap; }
.site-nav a:hover, .text-link:hover { color: var(--blue-text); }
.menu-toggle { display: none; background: #121c2a; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); padding: .43rem .7rem; cursor: pointer; }
.menu-toggle span { padding-left: .3rem; }

.button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: .73rem 1.11rem;
  width: fit-content;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.15;
  transition: background-color .2s ease, border-color .2s ease;
}
.button span { font: 700 1.05rem/1 var(--body); }
.button-primary { background: #006fbc; border-color: var(--brand); box-shadow: inset 0 1px #ffffff24; }
.button-primary:hover { background: #075eaa; border-color: #72c5ff; }
.button-header { justify-self: end; min-height: 39px; gap: 15px; color: #e2f2ff; background: #0b1b2b; border-color: #24527a; }
.button-header:hover { background: #123651; border-color: var(--brand); }
.button-header span { color: var(--blue-text); }
.button-secondary { background: #080e18c9; border-color: #778ba477; }
.button-secondary:hover { background: #15273b; border-color: var(--blue-text); }

.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: clamp(595px, 52vw, 735px); background: #08182b; }
.hero-art, .hero::after { position: absolute; inset: 0; z-index: -1; }
.hero-art { z-index: -2; }
.hero-art img { height: 100%; width: 100%; object-fit: cover; object-position: center 59%; }
.hero::after {
  content: "";
  background:
    linear-gradient(90deg, #060a12 1%, #060a12e8 15%, #060a129b 36%, #07102122 59%, #07102100 100%),
    linear-gradient(0deg, #080b12 0%, #080b12a1 11%, transparent 36%, transparent 88%, #080b1239 100%);
}
.hero-inner { flex: 1; display: flex; align-items: center; padding-block: 56px 62px; }
.hero-content { max-width: 585px; }
.label { font: 700 .78rem/1.35 var(--body); letter-spacing: .15em; text-transform: uppercase; }
.hero-label { width: fit-content; display: flex; align-items: center; gap: 10px; padding: 7px 11px; color: #e0f1ff; background: #0a1726dc; border: 1px solid #28567b; border-radius: 4px; font-size: .69rem; letter-spacing: .12em; }
.signal { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #63c3ff; box-shadow: 0 0 11px #0481dabf; }
.label-divider { width: 1px; height: 11px; background: #426381; }
.hero-title { margin: .18em 0 .22em; font: 800 clamp(6rem, 10.8vw, 10.35rem)/.78 var(--display); letter-spacing: -.027em; text-transform: uppercase; }
.hero-title span { display: block; color: #1c9cf3; }
.hero-copy { max-width: 430px; color: #d4dfed; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.hero-actions .button { min-height: 49px; padding-inline: 17px; }
.hero-footer { border-top: 1px solid #a6cbf325; }
.hero-footer-inner { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #bac9d8; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-scroll, .hero-location { display: inline-flex; align-items: center; gap: 9px; }
.hero-scroll:hover { color: #fff; }
.hero-scroll span { color: var(--blue-text); font-size: 1rem; }
.hero-location span { width: 13px; height: 13px; border: 1px solid #5cb9fa; border-radius: 50%; position: relative; }
.hero-location span::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #5cb9fa; }

.section { padding-block: clamp(58px, 7.4vw, 105px); }
.section-label { display: flex; align-items: center; gap: 9px; color: var(--blue-text); margin-bottom: 13px; }
.section-label::before { content: ""; width: 20px; height: 2px; background: var(--brand); }
.section h2, .path-dialog h2 { font: 800 clamp(3rem, 5.65vw, 5.25rem)/.92 var(--display); letter-spacing: -.017em; }
.section h2 em { color: var(--blue-text); font-style: normal; }
.about { border-bottom: 1px solid #192431; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; }
.about-copy { color: var(--muted); font-size: clamp(1rem, 1.49vw, 1.16rem); line-height: 1.72; max-width: 575px; }
.about-copy p + p { margin-top: .9rem; }
.paths { background: #0b1019; }
.section-heading { margin-bottom: clamp(27px, 4vw, 46px); }
.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.path-card { display: flex; flex-direction: column; overflow: hidden; background: #101824; border: 1px solid var(--line); border-radius: 7px; transition: border-color .22s ease; }
.path-card:focus-within, .path-card:hover { border-color: #3478aa; }
.path-image { width: 100%; aspect-ratio: 1.87; object-fit: cover; border-bottom: 1px solid var(--line); }
.path-content { min-height: 176px; height: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 21px 22px; }
.path-content h3, .join-steps h3 { font: 800 2.06rem/1 var(--display); }
.path-content p { color: var(--muted); margin: 8px 0 15px; font-size: .92rem; }
.path-button { min-height: 36px; margin-top: auto; padding: 0; cursor: pointer; border: 0; background: transparent; text-align: left; color: #78caff; font-size: .83rem; font-weight: 800; }
.path-button span { margin-left: 7px; }
.path-button:hover { color: #c8e9ff; }

.join { padding-bottom: 0; }
.join-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding: clamp(25px, 4.8vw, 64px);
  border: 1px solid #244560;
  border-radius: 8px;
  background: linear-gradient(120deg, #102840 0%, #101b2a 48%, #0e141f 100%);
}
.join-intro > p:not(.label) { color: #c4d3e6; margin: 18px 0; max-width: 340px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .83rem; font-weight: 800; }
.text-link span { color: var(--blue-text); }
.join-steps { display: grid; align-content: center; list-style: none; margin: 0; padding: 0; }
.join-steps li { display: flex; align-items: flex-start; gap: 17px; padding: 15px 0; }
.join-steps li + li { border-top: 1px solid #2b3c50; }
.join-steps li > span { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; border: 1px solid #2c5d85; border-radius: 4px; color: #88d1ff; background: #102c45; font-size: .78rem; font-weight: 800; }
.join-steps h3 { font-size: 1.6rem; }
.join-steps p { margin-top: 5px; color: var(--muted); font-size: .9rem; }

.faq-inner { display: grid; grid-template-columns: .67fr 1fr; align-items: start; gap: 8%; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; list-style: none; cursor: pointer; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue-text); font: 700 1.4rem/1 var(--body); flex: 0 0 20px; text-align: right; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--blue-text); }
.faq-list p { padding-bottom: 17px; color: var(--muted); font-size: .95rem; }
.site-footer { background: #080c14; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; padding-block: 18px; }
.footer-inner > span { color: var(--muted); font-size: .82rem; }

.path-dialog { color: var(--ink); background: #101c2b; padding: clamp(22px, 5vw, 42px); width: min(540px, calc(100% - 32px)); border: 1px solid #315a7b; border-radius: 8px; }
.path-dialog::backdrop { background: #03070ddd; }
.path-dialog h2 { font-size: clamp(2.6rem, 7vw, 3.8rem); margin-right: 20px; }
.path-dialog p:not(.label) { margin: 13px 0 23px; color: #c6d3e1; }
.close-dialog { position: absolute; right: 12px; top: 12px; min-width: 40px; min-height: 40px; background: #1b3046; border: 1px solid #36516c; border-radius: 4px; color: #fff; font-size: 1.35rem; cursor: pointer; }

@media (max-width: 950px) {
  .shell { width: calc(100% - 64px); }
  .hero-title { font-size: clamp(5.55rem, 12.1vw, 8rem); }
  .hero { min-height: 615px; }
  .hero-art img { object-position: 62% 58%; }
  .hero::after { background: linear-gradient(90deg, #060a12f5 1%, #060a12a6 35%, #060a1222 72%), linear-gradient(0deg, #080b12 0%, #080b129c 17%, transparent 43%); }
  .path-content { padding-inline: 15px; }
}

@media (max-width: 680px) {
  .menu-toggle { display: inline-block; }
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px; padding-block: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand strong { font-size: 1.16rem; }
  .brand small { font-size: .53rem; margin-top: 3px; }
  .button-header { display: none; }
  .site-nav { order: 5; width: 100%; gap: 12px; flex-wrap: wrap; padding-block: 6px; }
  .site-nav a { font-size: .8rem; }
  .header-inner:has(.menu-toggle:not([hidden])) .site-nav:not([data-open]) { display: none; }
  .header-inner:has(.menu-toggle:not([hidden])) .site-nav[data-open] { padding: 4px 0 7px; }
  .header-inner:has(.menu-toggle:not([hidden])) .site-nav[data-open] a { padding: .25rem .35rem; }
  section[id] { scroll-margin-top: 74px; }
  .hero { min-height: 660px; }
  .hero-inner { align-items: flex-end; padding: 150px 0 65px; }
  .hero-art img { object-position: center; }
  .hero::after { background: linear-gradient(0deg, #080b12 0%, #080b12e8 18%, #080b1285 47%, #080b121a 72%), linear-gradient(90deg, #070d16aa, transparent 85%); }
  .hero-title { font-size: clamp(4.35rem, 22vw, 7.5rem); }
  .hero-copy { max-width: 345px; }
  .hero-label { font-size: .61rem; }
  .hero-footer-inner { min-height: 47px; font-size: .59rem; letter-spacing: .06em; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 11px; gap: 10px; }
  .about-inner, .join-panel, .faq-inner { grid-template-columns: 1fr; gap: 24px; }
  .path-grid { grid-template-columns: 1fr; gap: 15px; }
  .path-image { aspect-ratio: 2.25; }
  .path-content { padding: 17px; min-height: auto; }
  .footer-inner { flex-wrap: wrap; gap: 12px; padding-block: 17px; }
  .footer-inner > span { order: 4; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.arrow {
  --rotation: -45deg;
  position: relative;
  display: inline-block;
  width: 13px;
  height: 12px;
  flex: 0 0 13px;
  vertical-align: -.06em;
  rotate: var(--rotation);
}
.arrow::before, .arrow::after { content: ""; position: absolute; top: 50%; }
.arrow::before { left: 1px; right: 1px; border-top: 1.5px solid; }
.arrow::after { right: 1px; top: calc(50% - 3px); width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; rotate: 45deg; }
.arrow-down { --rotation: 90deg; }
.arrow-up { --rotation: -90deg; }
.arrow-down-diagonal { --rotation: 45deg; }
