:root {
  --bg: #08070d;
  --surface: #121019;
  --surface-2: #17141f;
  --text: #f4f2fa;
  --text-soft: #d8d3e6;
  --muted: #b9b3cb;
  --muted-2: #a7a2b8;
  --dim: #8f89a3;
  --nav: #c9c4d8;
  --accent: #6d3bff;
  --violet: #b892ff;
  --violet-soft: #cdb8ff;
  --dot: #9b6bff;
  --amber: #f2b35b;
  --line: rgba(255, 255, 255, 0.08);
  --font-display: "Sora", sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--violet-soft); }
a:hover { color: #fff; }
section[id] { scroll-margin-top: 16px; }

.container { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--violet);
}
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.4px;
}
.lead { margin: 0; color: var(--muted); font-size: 18px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 999px;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: filter 0.15s, background 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; font-weight: 600; border: 0; }
.btn-primary:hover { color: #fff; filter: brightness(1.15); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.18); color: var(--text); font-weight: 500; background: transparent; }
.btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn-lg { padding: 16px 26px; font-size: 17px; }

/* Nav */
.site-header {
  position: relative;
  z-index: 2;
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.3px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }
.main-nav a, .footer-nav a { color: var(--nav); text-decoration: none; }
.main-nav a:hover, .footer-nav a:hover { color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; left: 50%; top: -260px;
  width: 1100px; height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(122, 44, 255, 0.42), rgba(122, 44, 255, 0) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding-top: 72px; padding-bottom: 96px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 26px;
}
.pill {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--violet-soft);
  border: 1px solid rgba(205, 184, 255, 0.3);
  padding: 7px 14px; border-radius: 999px;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -2.5px;
  max-width: 980px;
}
.hero h1 span { color: var(--violet); }
.hero-sub { margin: 0; max-width: 680px; font-size: 20px; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* How it works */
.how { padding-top: 40px; padding-bottom: 40px; }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 48px;
}
.section-head > div { max-width: 640px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head > p { margin: 0; max-width: 420px; color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid-stages { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-tools { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stage { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.stage-top { display: flex; align-items: center; justify-content: space-between; }
.stage-num { font-family: var(--font-mono); font-size: 13px; color: var(--dim); }
.stage-rule { width: 40px; height: 1px; background: rgba(255, 255, 255, 0.15); }
.stage h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.5px; }
.stage-row { display: flex; flex-direction: column; gap: 6px; }
.stage-row + .stage-row { padding-top: 16px; border-top: 1px solid var(--line); }
.stage-row p { margin: 0; color: var(--text-soft); font-size: 15.5px; }
.label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase;
}
.label-air { color: var(--violet); }
.label-agent { color: var(--amber); }

/* Split sections */
.split-section { padding-top: 100px; padding-bottom: 40px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split.reverse { flex-direction: row-reverse; }
.split-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.split-visual { flex: 1 1 420px; min-width: 0; }
.bullets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; }
.bullets li::before {
  content: ""; margin-top: 9px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--dot); flex: none;
}

/* Jamie call card */
.call-card {
  background: linear-gradient(180deg, #1c1430 0%, #100c1b 100%);
  border: 1px solid rgba(184, 146, 255, 0.25);
  border-radius: 24px; padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.caller { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff;
}
.caller-name { font-weight: 600; font-size: 17px; }
.caller-status { font-family: var(--font-mono); font-size: 12px; color: var(--violet-soft); }
.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #5be38b; margin-left: 4px; vertical-align: middle;
  animation: blink 1.4s ease-in-out infinite;
}
.wave { display: flex; align-items: center; gap: 4px; height: 44px; }
.wave span {
  width: 4px; border-radius: 2px; background: var(--violet);
  transform-origin: center;
  animation: pulse 1.2s ease-in-out infinite;
}
.chat { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.bubble { max-width: 85%; border-radius: 14px; padding: 10px 14px; }
.bubble-them { align-self: flex-start; background: rgba(255, 255, 255, 0.07); }
.bubble-me { align-self: flex-end; background: rgba(155, 107, 255, 0.22); }
.footnote { margin: 0; font-size: 12.5px; color: var(--dim); }

@keyframes pulse { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.45); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) {
  .wave span, .live-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* Listings */
.listings { display: flex; flex-direction: column; gap: 12px; }
.listing { border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.listing-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.listing-title { font-weight: 600; }
.listing-price { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid; }
.tag-air { color: #dccbff; background: rgba(155, 107, 255, 0.14); border-color: rgba(155, 107, 255, 0.35); }
.tag-ok { color: #9be3b4; background: rgba(80, 200, 130, 0.1); border-color: rgba(80, 200, 130, 0.35); }
.tag-agent { color: #f2c98b; background: rgba(242, 179, 91, 0.1); border-color: rgba(242, 179, 91, 0.35); }

/* AIR Command */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 64px);
  display: flex; flex-wrap: wrap; gap: 48px;
}
.panel-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel-copy .h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -1.2px; }
.panel-visual { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.task {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 10px;
}
.task-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.task-overdue { font-size: 12.5px; color: #ff9b85; }
.task-title { font-weight: 600; font-size: 17px; }
.task-meta { font-size: 14px; color: var(--muted-2); }
.wa {
  align-self: flex-end; width: min(100%, 360px);
  background: #dcf8c6; color: #111;
  border-radius: 14px 14px 4px 14px; padding: 12px 14px;
  font-size: 14.5px; display: flex; flex-direction: column; gap: 4px;
}
.wa-from { font-size: 12px; font-weight: 600; color: #5b3bb5; }
.calling {
  align-self: flex-end; display: flex; align-items: center; gap: 12px;
  background: #1c1430; border: 1px solid rgba(184, 146, 255, 0.25);
  border-radius: 999px; padding: 10px 18px 10px 10px; font-size: 14.5px;
}
.calling-icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}

/* Tools */
.tools { padding-top: 100px; padding-bottom: 120px; }
.tools-head { max-width: 720px; margin-bottom: 44px; }
.tools-head .eyebrow { margin-bottom: 14px; }
.tool { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.tool h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.tool p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  padding-top: 36px; padding-bottom: 36px;
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--dim);
}
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: var(--muted-2); }

@media (max-width: 720px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .main-nav { order: 3; width: 100%; gap: 18px; font-size: 14px; }
  .hero-inner { padding-top: 40px; padding-bottom: 64px; }
  .hero h1 { letter-spacing: -1.5px; }
  .hero-sub { font-size: 18px; }
  .split-section, .tools { padding-top: 72px; }
  .split, .panel { gap: 36px; }
}
