:root {
  --bg-0: #050b18;
  --bg-1: #071426;
  --bg-2: #0b2440;
  --card: #0c2340;
  --line: #1d3c5e;
  --text: #e9f4fb;
  --muted: #9fb7cc;
  --coral: #ff5a6e;
  --coral-d: #e4475b;
  --tg: #2aa3e8;
  --radius: 18px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font: 400 17px/1.6 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 80% -10%, #0f3a5c 0%, transparent 60%),
    linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 45%, var(--bg-2) 100%);
  background-color: var(--bg-1);
  background-attachment: fixed;
  overflow-x: hidden;
}
a { color: inherit; }
code {
  font: 500 .9em ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #102a48;
  padding: .1em .4em;
  border-radius: 6px;
}

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

/* clouds */
.sky { position: absolute; inset: 0 0 auto 0; height: 700px; pointer-events: none; z-index: 0; }
.cloud {
  position: absolute; width: 90px; height: 44px; border-radius: 44px;
  background: #1f4a63; opacity: .55;
}
.cloud::before, .cloud::after {
  content: ""; position: absolute; background: inherit; border-radius: 50%;
}
.cloud::before { width: 50px; height: 50px; left: 12px; top: -24px; }
.cloud::after { width: 38px; height: 38px; left: 44px; top: -14px; }
.c1 { top: 40px; left: 6%; transform: scale(.8); }
.c2 { top: 70px; left: 62%; animation: drift 18s ease-in-out infinite alternate; }
.c3 { top: 360px; left: 46%; transform: scale(.6); opacity: .35; animation: drift 24s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { translate: 40px 0; } }

/* nav */
.nav {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 28px 0 8px;
}
.logo {
  font: 700 40px/1 Caveat, cursive;
  color: var(--tg); text-decoration: none; letter-spacing: .5px;
}
.logo span { color: var(--coral); margin-left: 2px; }
.nav-try {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.nav-try-tg { color: var(--text); font-weight: 600; }
.plane-mini { width: 52px; height: 20px; color: #cfe8f7; transition: transform .3s; }
.nav-try:hover .plane-mini { transform: translateX(4px); }

/* hero */
.hero {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 56px 0 72px;
}
.eyebrow { color: var(--tg); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
h1, h2 { font-family: Montserrat, Inter, sans-serif; text-transform: uppercase; letter-spacing: .02em; }
h1 { font-weight: 800; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; margin: 0 0 20px; }
.lede { color: var(--muted); font-size: 18px; max-width: 34em; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  font: 800 15px/1 Montserrat, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 90, 110, .7); }
.btn-primary:hover { background: var(--coral-d); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--tg); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--tg); outline-offset: 3px; }
.btn.is-disabled { opacity: .75; }

.quick { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.quick a { text-decoration: none; }
.quick a:hover { color: var(--text); }

.hero-chat { margin: 0; }
.hero-chat .note { margin: 10px 4px 0; }
.chart-art { margin: 0; }
.chart-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
.svg-label { font: 600 13px Inter, sans-serif; fill: var(--text); }
.svg-label-strong { font-weight: 700; fill: #fff; letter-spacing: .04em; }
.svg-axis { font: 500 11px Inter, sans-serif; fill: #6f8ba5; }
.flight { animation: dash 6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -140; } }

/* sections */
.section { position: relative; z-index: 1; padding: 64px 0; border-top: 1px solid rgba(29, 60, 94, .6); }
h2 { font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 20px; }
h3 { font-size: 18px; margin: 12px 0 6px; }
.muted { color: var(--muted); max-width: 40em; }
.note { color: #6f8ba5; font-size: 14px; font-style: italic; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--muted); margin: 0; }
.steps strong { color: var(--text); }
.step-n {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(42, 163, 232, .15); color: var(--tg); font-weight: 700;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.chat {
  background: #0e1f33; border: 1px solid var(--line); border-radius: 24px;
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.55; }
.bubble.me { align-self: flex-end; background: #2b5278; border-bottom-right-radius: 6px; }
.bubble.me code { background: transparent; padding: 0; }
.bubble.bot { align-self: flex-start; background: #182533; border-bottom-left-radius: 6px; }
.bubble-meta { color: var(--muted); font-size: 13px; }

.routes { list-style: none; padding: 0; margin: 24px 0 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.routes li { padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; max-width: 760px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--tg); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

.cta-final { position: relative; z-index: 1; text-align: center; padding: 72px 0 56px; border-top: 1px solid rgba(29, 60, 94, .6); }

.footer { text-align: center; color: #6f8ba5; font-size: 13px; padding: 24px 0 40px; letter-spacing: .04em; }
.footer p { margin: 4px 0; }
.footer a:hover { color: var(--text); }

/* responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 48px; }
  .chart-art { max-width: 520px; }
  .steps, .split { grid-template-columns: 1fr; }
  .split { gap: 24px; }
}
@media (max-width: 480px) {
  .logo { font-size: 32px; }
  .nav-try-label { display: none; }
  .lede { font-size: 16px; }
  .btn { width: 100%; }
  .bubble { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
