:root {
  color-scheme: dark;
  --ink: #081d2a;
  --navy: #0b2b3b;
  --teal: #0e7c78;
  --sky: #91c8c4;
  --parchment: #f5eedc;
  --gold: #d3a950;
  --coral: #e56f51;
  --white: #f8fbfc;
  --muted: #a9bdc6;
  --line: rgba(255, 255, 255, 0.12);
  --surface: rgba(255, 255, 255, 0.075);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 4%, rgba(14, 124, 120, 0.27), transparent 34rem),
    radial-gradient(circle at 4% 35%, rgba(211, 169, 80, 0.08), transparent 28rem),
    linear-gradient(145deg, #06151f 0%, var(--ink) 42%, var(--navy) 100%);
  color: var(--white);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
}

.nav-links { display: flex; align-items: center; gap: 24px; }

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
  min-height: calc(100svh - 78px);
  padding: 72px 0 86px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -0.045em; }

h1 { max-width: 790px; font-size: clamp(3.2rem, 7vw, 6.8rem); }

h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); }

h3 { font-size: 1.3rem; letter-spacing: -0.025em; }

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 21px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 17px;
  background: linear-gradient(145deg, #15908a, var(--teal));
  box-shadow: 0 14px 32px rgba(14, 124, 120, 0.26);
  color: white;
  font-weight: 720;
  text-decoration: none;
}

.button.secondary { background: var(--surface); box-shadow: none; backdrop-filter: blur(18px); }

.beta-note { margin-top: 18px; color: #79949f; font-size: 0.82rem; }

.passport-stage { position: relative; min-height: 570px; isolation: isolate; }

.passport-stage::before {
  content: "";
  position: absolute;
  inset: 12% 2% 10% 6%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(14, 124, 120, 0.25);
  filter: blur(60px);
}

.passport-image {
  position: absolute;
  inset: 0 0 auto;
  width: min(100%, 530px);
  margin: auto;
  border-radius: 32px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.arrival-card {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: min(330px, 88%);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(8, 29, 42, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.arrival-top { display: flex; align-items: center; gap: 14px; }

.mini-badge { width: 70px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 10px 25px rgba(0,0,0,.3); }

.arrival-card strong { display: block; font-size: 1.1rem; }

.arrival-card span { color: var(--muted); font-size: 0.86rem; }

.ready { margin: 18px 0 0; color: #75dcb1; font-size: 0.86rem; font-weight: 700; }

.section { padding: 105px 0; }

.section-head { max-width: 740px; margin-bottom: 48px; }

.section-copy { max-width: 620px; margin: 20px 0 0; color: var(--muted); font-size: 1.06rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.feature-card {
  min-height: 300px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(16px);
}

.feature-number { color: var(--gold); font-size: 0.76rem; font-weight: 800; letter-spacing: .12em; }

.feature-card h3 { margin-top: 44px; }

.feature-card p { margin: 14px 0 0; color: var(--muted); }

.badge-row { display: flex; align-items: center; margin-top: 26px; }

.badge-row img {
  width: 86px;
  aspect-ratio: 1;
  margin-right: -18px;
  border: 3px solid var(--navy);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
}

.company-versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 42px; }

.company-pill { padding: 15px 10px; border-radius: 15px; background: rgba(255,255,255,.08); text-align: center; font-weight: 750; }

.company-versus span { color: var(--coral); font-size: .78rem; font-weight: 900; }

.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.principle {
  padding: 24px;
  border-top: 1px solid var(--line);
}

.principle p { margin: 9px 0 0; color: var(--muted); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: #78919c;
  font-size: .82rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

.footer-links a { text-decoration: none; }

.legal { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 100px; }

.legal h1 { font-size: clamp(2.8rem, 7vw, 5rem); }

.legal h2 { margin-top: 54px; font-size: 1.55rem; letter-spacing: -.025em; }

.legal p, .legal li { color: #bfd0d7; }

.legal a { color: var(--sky); }

.legal .updated { margin: 20px 0 44px; color: #78919c; font-size: .88rem; }

.legal li + li { margin-top: 8px; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 38px; }

.support-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }

.support-card h2 { margin: 0; font-size: 1.2rem; }

.support-card p { margin-bottom: 0; }

.auth-card {
  width: min(520px, calc(100% - 40px));
  margin: max(80px, 12vh) auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.auth-card img { width: 84px; margin: 0 auto 24px; border-radius: 22px; }

.auth-card h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); }

.auth-card p { color: var(--muted); }

.auth-card .button { width: 100%; margin-top: 15px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 62px; }
  .passport-stage { min-height: 500px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 240px; }
  .nav-links a:not(:last-child) { display: none; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1120px); }
  .hero { padding-bottom: 58px; }
  .passport-stage { min-height: 420px; }
  .passport-image { border-radius: 24px; }
  .arrival-card { bottom: 0; padding: 16px; }
  .section { padding: 72px 0; }
  .principles, .support-grid { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .legal { width: min(100% - 28px, 760px); padding-top: 52px; }
}

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

:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
