@font-face {
  font-family: "Geist";
  src: url("assets/geist-latin-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --brand: #0b49a1;
  --brand-dark: #073474;
  --brand-deep: #052454;
  --brand-soft: #dce8f8;
  --ink: #17191c;
  --ink-soft: #444a52;
  --muted: #6d747c;
  --paper: #f5f4f0;
  --paper-bright: #fbfaf7;
  --silver: #d8dce1;
  --line: rgba(23, 25, 28, 0.16);
  --line-light: rgba(255, 255, 255, 0.2);
  --white: #ffffff;
  --header-height: 82px;
  --shell: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

button {
  border: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--brand);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid rgba(11, 73, 161, 0.42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 96px), var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: 100px;
}

.section-dark {
  background: #171a1f;
  color: var(--white);
}

.section-ink {
  background: #101318;
  color: var(--white);
}

.section-blue {
  background: var(--brand-dark);
  color: var(--white);
}

.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.64);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  transition: transform 220ms var(--ease), background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(11, 73, 161, 0.2);
}

.button-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 16px 38px rgba(11, 73, 161, 0.28);
}

.button-outline {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--ink-soft);
  font-weight: 620;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  color: var(--brand);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: var(--header-height);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  padding-inline: 42px;
  border-bottom: 1px solid transparent;
  transition: height 240ms var(--ease), background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  height: 72px;
  border-bottom-color: rgba(23, 25, 28, 0.1);
  background: rgba(245, 244, 240, 0.9);
  box-shadow: 0 10px 32px rgba(23, 25, 28, 0.05);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  width: 190px;
  height: 42px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  padding-block: 12px;
  color: rgba(23, 25, 28, 0.72);
  font-size: 14px;
  font-weight: 590;
  white-space: nowrap;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right center;
  background: var(--brand);
  content: "";
  transition: transform 220ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-cta {
  min-height: 44px;
  justify-self: end;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 4px;
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
  font-weight: 720;
  line-height: 42px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: var(--brand-dark);
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  height: calc(100svh - 28px);
  min-height: 720px;
  max-height: 960px;
  overflow: hidden;
  background: var(--paper);
}

.hero::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 58%;
  background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 72%, rgba(245, 244, 240, 0) 100%);
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  height: 100%;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 110px;
}

.hero-copy {
  width: 49%;
  max-width: 700px;
}

.hero-copy .eyebrow {
  margin-bottom: 28px;
}

.hero h1 {
  max-width: 690px;
  font-size: 86px;
  font-weight: 820;
  line-height: 1.05;
}

.hero h1 span {
  color: var(--brand);
}

.hero-summary {
  max-width: 620px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 19px;
  font-weight: 470;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 38px;
}

.hero-scene {
  --scene-x: 0px;
  --scene-y: 0px;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 65%;
  overflow: hidden;
  transform: translate3d(var(--scene-x), var(--scene-y), 0);
  background: #f1f2f4;
  transition: transform 240ms ease-out;
}

.scene-sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #f8f7f4 0%, #eef1f5 65%, #d9dfe7 100%);
}

.scene-sky::before {
  position: absolute;
  top: 0;
  right: 10%;
  bottom: 0;
  width: 1px;
  background: rgba(23, 25, 28, 0.08);
  box-shadow: -180px 0 rgba(23, 25, 28, 0.06), -360px 0 rgba(23, 25, 28, 0.04);
  content: "";
}

.scene-wing {
  position: absolute;
  z-index: 3;
  top: 16%;
  bottom: 12%;
  width: 57%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background-color: var(--brand);
  box-shadow:
    inset 22px 0 50px rgba(255, 255, 255, 0.12),
    inset -30px -20px 60px rgba(5, 36, 84, 0.24),
    0 28px 64px rgba(5, 36, 84, 0.14);
}

.scene-wing::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  content: "";
}

.scene-wing-left {
  left: 4%;
  clip-path: polygon(0 10%, 76% 0, 100% 50%, 74% 100%, 0 84%);
  background-image: linear-gradient(110deg, #184f9a 0%, var(--brand) 70%, #073474 100%);
  transform: perspective(1100px) rotateY(6deg);
}

.scene-wing-right {
  right: -12%;
  clip-path: polygon(25% 0, 100% 13%, 100% 88%, 25% 100%, 0 50%);
  background-image: linear-gradient(250deg, #073474 0%, var(--brand) 52%, #1d5db3 100%);
  transform: perspective(1100px) rotateY(-7deg);
}

.scene-opening {
  position: absolute;
  z-index: 2;
  top: 14%;
  bottom: 10%;
  left: 57%;
  width: 18%;
  clip-path: polygon(44% 0, 58% 0, 100% 100%, 0 100%);
  background: rgba(255, 255, 255, 0.86);
  filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.72));
}

.scene-star {
  position: absolute;
  z-index: 5;
  top: 35.5%;
  left: 66.2%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  animation: starPulse 4.8s ease-in-out infinite;
}

.scene-star::before,
.scene-star::after,
.scene-star span::before,
.scene-star span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--white);
  content: "";
  transform: translate(-50%, -50%);
}

.scene-star::before {
  width: 3px;
  height: 52px;
  box-shadow: 0 0 22px 7px rgba(255, 255, 255, 0.6);
}

.scene-star::after {
  width: 52px;
  height: 3px;
  box-shadow: 0 0 22px 7px rgba(255, 255, 255, 0.6);
}

.scene-star span::before {
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.scene-star span::after {
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
}

.scene-floor {
  position: absolute;
  z-index: 4;
  right: -8%;
  bottom: -19%;
  left: -8%;
  height: 54%;
  overflow: hidden;
  transform: perspective(620px) rotateX(66deg);
  transform-origin: center bottom;
  border-top: 1px solid rgba(23, 25, 28, 0.13);
  background: rgba(245, 247, 249, 0.92);
  box-shadow: inset 0 28px 54px rgba(5, 36, 84, 0.08);
}

.scene-floor::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(23, 25, 28, 0.1) 50%, transparent 50.2%),
    repeating-linear-gradient(0deg, transparent 0 62px, rgba(23, 25, 28, 0.08) 63px 64px);
  content: "";
}

.floor-line {
  position: absolute;
  bottom: 0;
  left: 66%;
  width: 1px;
  height: 150%;
  transform-origin: bottom;
  background: rgba(11, 73, 161, 0.24);
}

.floor-line-one {
  transform: rotate(20deg);
}

.floor-line-two {
  transform: rotate(-20deg);
}

.floor-line-three {
  transform: rotate(0deg);
}

.scene-path {
  position: absolute;
  z-index: 6;
  right: 16%;
  bottom: -8%;
  width: 2px;
  height: 52%;
  transform: rotate(32deg);
  transform-origin: bottom center;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(11, 73, 161, 0.3);
}

.scene-path::after {
  position: absolute;
  top: -36px;
  left: -2px;
  width: 6px;
  height: 36px;
  background: var(--white);
  content: "";
  animation: pathMove 2.8s linear infinite;
}

.hero-proof {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(23, 25, 28, 0.16);
  background: rgba(245, 244, 240, 0.82);
  backdrop-filter: blur(12px);
}

.proof-inner {
  display: grid;
  min-height: 78px;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.proof-inner span {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 590;
}

.proof-inner span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--brand);
  content: "";
}

.proof-inner span + span {
  border-left: 1px solid var(--line);
  padding-left: 38px;
}

.proof-inner span + span::before {
  left: 18px;
}

.scroll-cue {
  position: absolute;
  z-index: 9;
  bottom: -1px;
  left: 50%;
  display: grid;
  width: 54px;
  height: 28px;
  transform: translateX(-50%);
  place-items: center;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.scroll-cue span {
  width: 8px;
  height: 8px;
  margin-top: -10px;
  transform: rotate(45deg);
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 780ms var(--ease), transform 780ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.hero-copy .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.hero-copy .reveal:nth-child(4) {
  transition-delay: 240ms;
}

@keyframes starPulse {
  0%,
  100% {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(0.88);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes pathMove {
  from {
    transform: translateY(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  to {
    transform: translateY(260px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
