:root {
  --yellow: #f0c20a;
  --yellow-hover: #ffd23a;
  --ink: #f5f7fa;
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.18);
  --navy: #07111d;
  --font: "Montserrat", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.65s;
}

body {
  animation: page-in 0.7s ease both;
}

html.is-leaving body {
  animation: page-out 0.45s ease forwards;
}

@keyframes page-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hint-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@keyframes page-out {
  to {
    opacity: 0;
  }
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  overflow-x: hidden;
  max-width: 100%;
}

html.page-scroll,
html.page-scroll body {
  height: auto;
  min-height: 100%;
  overflow: auto;
  overflow-x: hidden;
}

html.page-home,
html.page-home body {
  height: auto;
  min-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.page-home .hero {
  height: auto;
  min-height: 100svh;
}

body.menu-open {
  overflow: hidden;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--navy);
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  z-index: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 29, 0.82) 0%,
      rgba(7, 17, 29, 0.66) 32%,
      rgba(7, 17, 29, 0.3) 52%,
      rgba(7, 17, 29, 0) 66%
    ),
    linear-gradient(180deg, rgba(7, 17, 29, 0.28) 0%, rgba(7, 17, 29, 0) 18%, rgba(7, 17, 29, 0) 72%, rgba(7, 17, 29, 0.35) 100%);
}

.site-header,
.hero-main,
.hero-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  z-index: 5;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 48px 0;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.logo-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.logo-name em {
  font-style: normal;
  color: var(--yellow);
}

.logo-tagline {
  max-width: 360px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.72);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 8px;
  z-index: 6;
}

@media (min-width: 1101px) {
  .hero > .nav {
    position: absolute;
    top: 32px;
    right: 48px;
    max-width: calc(100% - 420px);
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 4px;
  }
}

.nav-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  padding-bottom: 8px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #fff;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--yellow);
}

.btn-talk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 22px;
  border: 1.5px solid var(--yellow);
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn-talk:hover {
  border-color: var(--yellow-hover);
  background: var(--yellow-hover);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 12;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.28s ease, top 0.28s ease, opacity 0.2s ease;
}

.menu-toggle span:first-child {
  top: 18px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.menu-toggle[aria-expanded="true"] {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle[aria-expanded="true"] span {
  left: 12px;
  right: 12px;
  height: 2px;
}

.nav-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 21.5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 21.5px;
  transform: rotate(-45deg);
}

.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2vh 48px 40px;
}

.hero-intro,
.hero-proof {
  display: contents;
}

.eyebrow {
  margin: 0 0 min(2vh, 16px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

h1 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h1 span {
  color: var(--yellow);
}

.page-home h1 {
  font-size: clamp(38px, min(4.8vw, 6.2vh), 76px);
}

.lead {
  margin: min(2.2vh, 22px) 0 0;
  font-size: clamp(15px, 2.1vh, 18px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
}

.paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(58vw, 1000px);
  margin-top: min(3.6vh, 34px);
}

.path-card {
  display: flex;
  flex-direction: column;
  gap: min(1.8vh, 16px);
  padding: clamp(16px, 2.6vh, 26px) clamp(18px, 1.8vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(9, 20, 34, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.path-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.path-icon {
  flex-shrink: 0;
  width: clamp(40px, 5.6vh, 52px);
  height: clamp(40px, 5.6vh, 52px);
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.path-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}

.path-card h2 {
  margin: 0;
  font-size: clamp(15px, 2.1vh, 18px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.path-text {
  margin: 0;
  font-size: clamp(12px, 1.65vh, 14px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.path-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 18px;
  border: 1px solid var(--yellow);
  border-radius: 6px;
  background: var(--yellow);
  color: #1a1400;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.path-btn:hover {
  border-color: var(--yellow-hover);
  background: var(--yellow-hover);
}

.path-btn.is-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
}

.path-btn.is-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.path-btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-hint {
  display: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: min(3.6vh, 36px) 0 0;
  padding: 0;
  max-width: 760px;
}

.stats li + li {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.stats li {
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: start;
}

.stats svg {
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  margin-top: 4px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.stats strong {
  font-size: clamp(22px, 3.1vh, 28px);
  white-space: nowrap;
  font-weight: 800;
  line-height: 1.1;
}

.stats span {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.note {
  margin: min(3vh, 28px) 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 48px 28px;
  pointer-events: none;
}

.footer-right {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.footer-gap {
  display: block;
  margin-top: 8px;
}

.accent-bar {
  width: 42px;
  height: 3px;
  margin-top: 6px;
  background: var(--yellow);
  flex-shrink: 0;
}

@media (min-width: 1101px) and (max-height: 800px) {
  .page-home h1 {
    font-size: clamp(36px, min(4.6vw, 5.6vh), 76px);
  }

  .paths,
  .stats {
    margin-top: 2.4vh;
  }

  .path-card {
    gap: 1.4vh;
    padding-top: 2vh;
    padding-bottom: 2vh;
  }

  .path-text {
    font-size: 12px;
  }

  .path-btn {
    min-height: 38px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .note {
    margin-top: 2vh;
  }
}

@media (max-width: 1100px) {
  .site-header {
    position: relative;
    z-index: 30;
    padding: 16px 20px 0;
    align-items: center;
  }

  body.menu-open .site-header {
    background: #07111d;
  }

  .menu-toggle {
    display: block;
    z-index: 30;
  }

  .nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-width: 100%;
    height: 100svh;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    padding: calc(96px + env(safe-area-inset-top)) 24px 40px;
    background: #07111d;
    transform: none;
    border: 0;
    border-radius: 0;
    z-index: 25;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-x: hidden;
    overflow-y: auto;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .nav.is-open,
  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    padding: 0;
    min-height: 56px;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-bottom: 0;
    color: rgba(255, 255, 255, 0.62);
    white-space: normal;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-link.is-active {
    color: #fff;
  }

  .nav-talk {
    margin-top: 32px;
    width: 100%;
    min-height: 46px;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
  }

  .nav-close svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }

  .hero-main,
  .hero-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .paths {
    width: min(100%, 820px);
  }

  .page-home .hero-footer {
    position: relative;
  }
}

@media (max-width: 900px) {
  html:not(.page-deck),
  html:not(.page-deck) body {
    height: auto;
    overflow: auto;
    overflow-x: hidden;
  }

  html:not(.page-deck) .hero {
    height: auto;
    min-height: auto;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "header header"
      "intro intro"
      "paths paths"
      "proof proof"
      "foot foot";
  }

  html:not(.page-deck) .hero-bg,
  html:not(.page-deck) .hero-shade {
    position: fixed;
    height: 100svh;
    z-index: 0;
  }

  html:not(.page-deck) .hero-bg {
    object-position: 50% 40%;
  }

  html.page-home .hero .site-header,
  html.page-home .hero .hero-intro {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  html.page-home .hero .site-header {
    align-self: start;
  }

  html:not(.page-deck) .hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(7, 17, 29, 0.18) 0%,
        rgba(7, 17, 29, 0.12) 32%,
        rgba(7, 17, 29, 0.55) 58%,
        rgba(7, 17, 29, 0.88) 100%
      );
  }

  html:not(.page-deck) .site-header {
    grid-area: header;
    position: relative;
    z-index: 20;
    padding-top: calc(12px + env(safe-area-inset-top));
    padding-left: calc(20px + env(safe-area-inset-left));
    padding-right: calc(20px + env(safe-area-inset-right));
  }

  html:not(.page-deck) .hero-main {
    display: contents;
    padding: 0;
    max-width: none;
  }

  html:not(.page-deck) .hero-intro,
  html:not(.page-deck) .paths,
  html:not(.page-deck) .hero-proof,
  html:not(.page-deck) .footer-right {
    position: relative;
    z-index: 2;
  }

  html:not(.page-deck) .hero-intro,
  html:not(.page-deck) .hero-proof {
    display: flex;
    flex-direction: column;
  }

  html:not(.page-deck) .hero-intro {
    grid-area: intro;
    min-height: 100svh;
    justify-content: flex-end;
    padding:
      96px
      calc(20px + env(safe-area-inset-right))
      88px
      calc(20px + env(safe-area-inset-left));
  }

  .eyebrow,
  h1,
  .lead {
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  }

  html:not(.page-deck) .hero-proof {
    grid-area: proof;
    gap: 28px;
    margin: 0 16px 20px;
    padding: 28px 20px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 16, 28, 0.72);
    backdrop-filter: blur(10px);
    scroll-margin-top: 84px;
  }

  html:not(.page-deck) .hero-footer {
    display: contents;
    position: static;
    padding: 0;
    pointer-events: auto;
  }

  html:not(.page-deck) .paths {
    grid-area: paths;
    grid-template-columns: 1fr;
    gap: 14px;
    width: auto;
    margin: 0 16px 16px;
  }

  html:not(.page-deck) .footer-right {
    grid-area: foot;
    margin: 4px 20px calc(24px + env(safe-area-inset-bottom));
    font-size: 10px;
  }

  .logo-name {
    font-size: 22px;
  }

  .logo-tagline {
    max-width: 210px;
    font-size: 10px;
    line-height: 1.35;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.02;
  }

  .lead {
    font-size: 16px;
    line-height: 1.55;
    max-width: 34em;
  }

  .lead br {
    display: none;
  }

  html:not(.page-deck) .hero-intro {
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }

  .scroll-hint {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    margin-top: 28px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: opacity 0.3s ease;
  }

  html.is-scrolled .scroll-hint {
    opacity: 0;
    pointer-events: none;
  }

  .scroll-hint-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    animation: hint-bob 1.8s ease-in-out infinite;
  }

  .scroll-hint-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  html:not(.page-deck) .paths {
    scroll-margin-top: 16px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    max-width: none;
  }

  .stats li,
  .stats li + li {
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 8px;
    padding: 14px 10px;
    border-left: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
  }

  .path-card {
    padding: 20px 18px;
    background: rgba(8, 16, 28, 0.72);
  }

  .path-card h2 {
    font-size: 17px;
  }

  .path-text {
    font-size: 14px;
  }

  .stats strong {
    font-size: 24px;
    white-space: normal;
  }

  .stats svg {
    width: 20px;
    height: 20px;
  }

  .note {
    margin: 0;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }

  .stats strong {
    font-size: 22px;
  }

  .stats span {
    font-size: 11px;
  }
}
