:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --ink: #061B31;
  --ink-2: #0B2744;
  --body: #64748D;
  --muted: #94A3B8;
  --line: #E5EDF5;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-weak: #E0F2FE;
  --accent-weak-2: #EFF6FF;
  --success: #15BE53;
  --success-text: #108C3D;
  --success-weak: #DCFCE7;
  --danger: #DC2626;
  --shadow-tile:
    rgba(50,50,93,0.08) 0px 30px 45px -30px,
    rgba(0,0,0,0.05) 0px 18px 36px -18px;
  --shadow-tile-hover:
    rgba(50,50,93,0.25) 0px 30px 45px -30px,
    rgba(0,0,0,0.10) 0px 18px 36px -18px;
  --shadow-btn: 0 0 0 1px rgba(37,99,235,0.1), 0 2px 4px rgba(37,99,235,0.18), 0 8px 20px -4px rgba(37,99,235,0.35);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.page-shell {
  min-height: 100vh;
  background: var(--bg);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--surface);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--body);
  font-size: 14px;
}

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 40px) clamp(16px, 4vw, 32px) 40px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 20px);
  align-items: start;
}

.hero-copy {
  grid-column: span 8;
  min-height: 560px;
  padding: clamp(32px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-tile);
  overflow: hidden;
  position: relative;
}

.hero-main {
  grid-column: span 8;
  display: grid;
  gap: clamp(16px, 2vw, 20px);
}

.hero-main .hero-copy {
  grid-column: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  color: var(--body);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 24px 0 16px;
  color: var(--ink);
  font-size: clamp(44px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 300;
}

.lead {
  max-width: 650px;
  color: var(--body);
  font-size: 17px;
  line-height: 1.5;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 32px 0 0;
  max-width: 760px;
}

.point {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: none;
}

.point strong {
  display: block;
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.point span {
  display: block;
  margin-top: 7px;
  color: var(--body);
  font-size: 13px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--body);
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  box-shadow: 0 4px 16px rgba(6, 27, 49, 0.12);
}

.avatar-stack img:first-child { margin-left: 0; }

.form-card {
  position: sticky;
  top: 92px;
  grid-column: span 4;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-tile);
}

.form-card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.form-card p {
  margin: 8px 0 18px;
  color: var(--body);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--body);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.field input:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent);
}

.field input.error {
  border-color: var(--danger);
}

.flight-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.flight-mode label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 16px;
}

.flight-mode input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}

.airport-search,
.airline-search {
  position: relative;
}

.airport-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-tile);
}

.airport-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 8px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.airport-option:hover,
.airport-option:focus {
  background: var(--bg);
}

.airport-option strong {
  grid-row: span 2;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
}

.airport-option span {
  font-size: 13px;
}

.airport-option small {
  color: var(--muted);
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.check-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--body);
  font-size: 13px;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.check-row a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 13px;
}

.field-error.show { display: block; }

.form-alert {
  display: none;
  padding: 11px 12px;
  border-radius: 8px;
  background: #FEF2F2;
  color: #991B1B;
  font-size: 14px;
}

.form-alert.show { display: block; }

.success-state {
  display: none;
  border: 1px solid #BCE8CA;
  border-radius: 8px;
  padding: 18px;
  background: var(--success-weak);
}

.success-state.show { display: grid; gap: 12px; }

.success-state strong {
  color: #166534;
  font-size: 18px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all .18s ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-btn); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.button-secondary:hover { background: var(--surface); }
.button[disabled] { opacity: 0.65; cursor: progress; transform: none; }

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 32px);
}

.section-head {
  max-width: 680px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.section-head p {
  color: var(--body);
  font-size: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  min-height: 178px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-tile);
}

.info-card .num {
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-weak);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}

.info-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.info-card p { color: var(--body); }

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 20px;
  align-items: stretch;
}

.eligibility-list {
  display: grid;
  gap: 10px;
}

.eligibility-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-tile);
}

.check-icon {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--success-weak);
  color: var(--success-text);
  font-weight: 800;
}

.fee-box {
  align-self: start;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 14px;
  background: var(--accent-weak-2);
  box-shadow: var(--shadow-tile);
}

.fee-box strong {
  display: block;
  color: var(--accent);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.fee-box p {
  margin-top: 12px;
  color: var(--body);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-tile);
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
}

.faq details p {
  padding: 0 20px 18px;
  color: var(--body);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-tile);
}

.final-cta h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--body);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.consent-banner {
  position: fixed;
  left: 16px;
  right: auto;
  bottom: 16px;
  z-index: 30;
  display: none;
  width: min(560px, calc(100% - 32px));
  margin: 0;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tile-hover);
}

.consent-banner.show { display: flex; }
.consent-banner p { margin: 0; color: var(--body); font-size: 13px; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }
  .hero-main {
    display: contents;
  }
  .hero-copy,
  .hero-main,
  .form-card {
    grid-column: span 1;
  }
  .hero-copy {
    order: 1;
    min-height: auto;
  }
  .form-card {
    order: 2;
    position: static;
  }
  .fee-box {
    order: 3;
  }
  .hero-points, .grid-3, .split-band { grid-template-columns: 1fr; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .nav-inner, .hero, .section, .footer { width: min(100% - 24px, 1180px); }
  .nav-actions span { display: none; }
  .hero h1 { font-size: 39px; }
  .lead { font-size: 18px; }
  .hero-points, .trust-row { display: none; }
  .form-card { padding: 18px; }
  .consent-banner {
    position: static;
    width: auto;
    margin: 16px 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .consent-actions .button { flex: 1; }
}
