:root {
  --canvas: oklch(0.985 0.006 230);
  --surface: oklch(0.965 0.012 232);
  --paper: oklch(1 0.004 230);
  --ink: oklch(0.18 0.018 245);
  --muted: oklch(0.48 0.018 245);
  --line: oklch(0.88 0.012 235);
  --sky: oklch(0.62 0.17 238);
  --sky-dark: oklch(0.42 0.17 242);
  --runway: oklch(0.55 0.11 165);
  --amber: oklch(0.74 0.14 78);
  --rose: oklch(0.6 0.14 24);
  --shadow: 0 26px 80px oklch(0.26 0.04 245 / 0.13);
  --radius: 8px;
  --max: 1180px;
  font-family: "Afacad", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, oklch(0.93 0.018 235 / 0.4) 1px, transparent 1px) 50% 0 / 84px 84px,
    var(--canvas);
  font-size: 18px;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(145deg, transparent 0 46%, oklch(0.88 0.03 238 / 0.5) 46% 46.15%, transparent 46.15%),
    linear-gradient(178deg, transparent 0 68%, oklch(0.74 0.14 78 / 0.1) 68% 68.2%, transparent 68.2%);
  pointer-events: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 700;
  font-size: 1.08rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--canvas) 0 30%, transparent 31%),
    conic-gradient(from 25deg, var(--sky), var(--runway), var(--amber), var(--sky));
}

.site-header nav {
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(1 0.004 230 / 0.78);
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--ink);
  background: var(--surface);
  outline: none;
}

.site-header nav .nav-cta {
  color: var(--paper);
  background: var(--ink);
}

.hero,
.section,
.strip,
.cta,
footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  min-height: calc(100svh - 96px);
  padding: clamp(28px, 5vw, 70px) 0 clamp(52px, 7vw, 88px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--sky-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Fraunces", ui-serif, Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(3.15rem, 6.9vw, 6.35rem);
  line-height: 0.91;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.7rem);
  line-height: 0.95;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.32rem;
}

.hero-lede,
.section-head p,
.fit p,
.admin-band p,
.cta p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-lede {
  max-width: 620px;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: var(--paper);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.proof-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 650px;
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
}

.proof-line div {
  padding: 16px 18px 0 0;
}

.proof-line dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-line dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.hero-product {
  position: relative;
  min-height: 560px;
}

.route-thread {
  position: absolute;
  top: 18px;
  right: 8%;
  left: 8%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  color: var(--sky-dark);
  font-weight: 800;
}

.route-thread i {
  height: 1px;
  background: linear-gradient(90deg, var(--sky), var(--runway));
}

.booking-shell {
  position: relative;
  margin-top: 78px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(1 0.004 230 / 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shell-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.shell-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.shell-top strong {
  margin-left: auto;
  color: var(--ink);
}

.flight-widget {
  padding: clamp(24px, 4vw, 42px);
}

.widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.widget-head p {
  margin: 0;
  font-family: "Fraunces", ui-serif, Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 700;
}

.widget-head small,
.module-tabs span,
.state {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--canvas);
  font-weight: 800;
  font-size: 0.78rem;
}

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

.route-grid label {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
}

.route-grid strong {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 1.2rem;
}

.route-grid span {
  color: var(--sky-dark);
  font-size: 0.86rem;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.result-row div {
  display: grid;
  gap: 5px;
}

.result-row span {
  color: oklch(0.86 0.02 235);
  font-size: 0.92rem;
}

.result-row button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--amber);
  font: inherit;
  font-weight: 800;
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.module-tabs .ready {
  color: oklch(0.28 0.09 160);
  border-color: oklch(0.72 0.1 160);
  background: oklch(0.94 0.04 160);
}

.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0 64px;
}

.strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: oklch(1 0.004 230 / 0.7);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.section {
  padding: clamp(70px, 10vw, 120px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: end;
  margin-bottom: 36px;
}

.section-head.compact {
  max-width: 890px;
  display: block;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.94fr 0.94fr;
  gap: 16px;
  align-items: start;
}

figure {
  margin: 0;
}

.screenshot-grid figure,
.admin-shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 42px oklch(0.26 0.04 245 / 0.08);
  overflow: hidden;
}

.screenshot-grid img,
.admin-shot img {
  width: 100%;
  aspect-ratio: 14 / 8;
  object-fit: cover;
  object-position: top center;
}

figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.module-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.module-list article,
.inside-grid div {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(1 0.004 230 / 0.74);
}

.module-list p,
.inside-grid span {
  color: var(--muted);
  line-height: 1.48;
}

.state {
  display: inline-flex;
  margin-bottom: 34px;
}

.state.working {
  color: oklch(0.28 0.09 160);
  border-color: oklch(0.72 0.1 160);
  background: oklch(0.94 0.04 160);
}

.state.requested {
  color: var(--sky-dark);
  border-color: oklch(0.78 0.08 238);
  background: oklch(0.94 0.03 238);
}

.state.validating {
  color: oklch(0.42 0.11 78);
  border-color: oklch(0.8 0.13 78);
  background: oklch(0.96 0.04 78);
}

.state.planned {
  color: var(--muted);
  background: var(--surface);
}

.state.gated {
  color: oklch(0.42 0.1 24);
  border-color: oklch(0.78 0.11 24);
  background: oklch(0.95 0.035 24);
}

.admin-band,
.fit {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.admin-band h2,
.fit h2 {
  margin-bottom: 22px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: var(--runway);
}

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

.inside-grid div {
  display: grid;
  align-content: space-between;
}

.inside-grid b {
  display: block;
  margin-bottom: 54px;
  font-size: 1.2rem;
}

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

.fit-list span {
  display: block;
  padding: 18px 20px;
  border-left: 3px solid var(--sky);
  background: oklch(1 0.004 230 / 0.72);
  font-weight: 800;
}

.cta {
  margin-block: clamp(70px, 10vw, 130px);
  padding: clamp(34px, 6vw, 74px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, oklch(0.94 0.03 238), oklch(1 0.004 230) 58%),
    var(--paper);
}

.cta h2 {
  max-width: 820px;
  margin-bottom: 18px;
}

.cta p {
  max-width: 620px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

footer span:first-child,
footer a {
  color: var(--ink);
  font-weight: 800;
}

code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86em;
}

.review-page .site-header {
  position: relative;
}

.review-hero {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(46px, 8vw, 98px) 0 clamp(40px, 6vw, 74px);
}

.review-hero h1 {
  max-width: 940px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.review-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.14rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.option-section {
  padding-top: 36px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.option-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(1 0.004 230 / 0.82);
  box-shadow: 0 18px 56px oklch(0.25 0.04 245 / 0.08);
}

.option-preview {
  position: relative;
  display: grid;
  min-height: 250px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, oklch(0.96 0.026 232), oklch(1 0.004 230) 54%),
    var(--paper);
}

.option-a .option-preview::before {
  position: absolute;
  inset: 22px 18px auto auto;
  width: 34%;
  height: 1px;
  content: "";
  background: var(--ink);
  transform: rotate(-16deg);
  transform-origin: right center;
}

.preview-route {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.preview-copy {
  align-self: end;
  padding: 24px;
}

.preview-copy b {
  display: block;
  max-width: 230px;
  font-family: "Fraunces", ui-serif, Georgia, serif;
  font-size: 2.2rem;
  line-height: 0.92;
}

.preview-copy span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.preview-widget {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.preview-widget span,
.admin-line,
.component-preview div,
.component-preview span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
}

.preview-widget span + span {
  width: 68%;
  margin-top: 8px;
}

.preview-widget strong {
  display: inline-flex;
  min-height: 28px;
  margin-top: 14px;
  padding: 0 14px;
  align-items: center;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.78rem;
}

.admin-preview {
  align-content: center;
  gap: 14px;
  padding: 28px;
  background:
    linear-gradient(90deg, oklch(0.16 0.018 245), oklch(0.27 0.028 238)),
    var(--ink);
}

.admin-line {
  background: oklch(1 0.004 230 / 0.84);
}

.admin-line.wide {
  width: 72%;
  height: 18px;
}

.admin-line.short {
  width: 46%;
}

.admin-toggles {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.admin-toggles i {
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: var(--sky);
}

.component-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background:
    linear-gradient(135deg, oklch(0.94 0.018 165), oklch(0.98 0.006 230));
}

.component-preview div {
  height: auto;
  min-height: 82px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 32px oklch(0.25 0.04 245 / 0.1);
}

.component-preview div:nth-child(3) {
  grid-column: span 2;
}

.component-preview span {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 44%;
  height: 12px;
  background: var(--runway);
}

.option-card h3 {
  margin-top: 18px;
  font-size: 1.65rem;
}

.option-card p {
  color: var(--muted);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  margin-top: auto;
  align-self: start;
  color: var(--sky-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.review-note {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  padding-bottom: 96px;
}

.source-list {
  display: grid;
  gap: 14px;
}

.source-list p {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(1 0.004 230 / 0.72);
  color: var(--muted);
  line-height: 1.55;
}

.source-list b {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid oklch(0.75 0.16 238);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero,
  .section-head,
  .admin-band,
  .fit,
  .option-grid,
  .review-note {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-product {
    min-height: auto;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .module-list,
  .inside-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .hero,
  .section,
  .strip,
  .cta,
  footer,
  .site-header,
  .review-hero {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.9rem);
  }

  h2 {
    font-size: clamp(2.1rem, 12vw, 3.5rem);
  }

  .proof-line,
  .route-grid,
  .module-list,
  .inside-grid,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .review-hero h1 {
    font-size: clamp(2.8rem, 17vw, 4.5rem);
  }

  .option-card {
    min-height: auto;
  }

  .module-list article,
  .inside-grid div {
    min-height: auto;
  }

  .inside-grid b,
  .state {
    margin-bottom: 22px;
  }

  .result-row {
    align-items: stretch;
    flex-direction: column;
  }

  .result-row button {
    width: 100%;
  }
}

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