/* ============================================================
   Cortex — marketing site design system
   Palette lifted from the app (DocRiddles): teal brand + orange
   CTA on a mint→peach gradient, navy text, gold accents.
   ============================================================ */

:root {
  /* Core palette */
  --teal: #16C2B0;
  --teal-dark: #0FA899;
  --teal-soft: #D7F3EF;
  --orange: #F5803E;
  --orange-dark: #E56A28;
  --orange-soft: #FCE7D6;
  --navy: #15233B;
  --navy-soft: #4A5A74;
  --gold: #F5B72E;

  /* Surfaces */
  --bg-top: #DCF4ED;     /* mint */
  --bg-bottom: #FDEFE0;  /* peach */
  --card: #ffffff;
  --hairline: #E6E9F0;

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(21, 35, 59, 0.06);
  --shadow-md: 0 14px 40px rgba(21, 35, 59, 0.10);
  --shadow-lg: 0 30px 70px rgba(21, 35, 59, 0.16);
  --shadow-orange: 0 14px 30px rgba(245, 128, 62, 0.35);
  --shadow-teal: 0 14px 30px rgba(22, 194, 176, 0.32);

  --radius: 24px;
  --radius-sm: 16px;
  --maxw: 1120px;

  --font: "Nunito", "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: linear-gradient(160deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Decorative animated blobs ---------- */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  animation: float 18s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: var(--teal); top: -120px; left: -120px; opacity: .28; }
.blob-2 { width: 380px; height: 380px; background: var(--orange); top: 30%; right: -140px; opacity: .22; animation-delay: -6s; }
.blob-3 { width: 320px; height: 320px; background: var(--gold); bottom: -120px; left: 10%; opacity: .18; animation-delay: -11s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 20px) scale(0.96); }
}

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.78); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand .name { font-size: 22px; letter-spacing: -0.5px; }
.brand .name span { color: var(--teal); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-weight: 800; font-size: 15px; color: var(--navy-soft);
  padding: 9px 14px; border-radius: 12px; transition: all .2s ease;
}
.nav-links a:hover { color: var(--navy); background: rgba(255,255,255,.7); }
.nav-links a.cta {
  color: #fff; background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  box-shadow: var(--shadow-orange); margin-left: 8px;
}
.nav-links a.cta:hover { transform: translateY(-2px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .3s; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 17px; padding: 15px 28px;
  border-radius: 16px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-orange {
  color: #fff;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  box-shadow: var(--shadow-orange);
}
.btn-orange:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(245,128,62,.42); }
.btn-teal {
  color: #fff;
  background: linear-gradient(180deg, var(--teal), var(--teal-dark));
  box-shadow: var(--shadow-teal);
}
.btn-teal:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(22,194,176,.4); }
.btn-ghost {
  color: var(--navy); background: rgba(255,255,255,.75);
  box-shadow: var(--shadow-sm); border: 1px solid var(--hairline);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; z-index: 1; padding: 70px 0 40px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.7); border: 1px solid var(--hairline);
  color: var(--teal-dark); font-weight: 900; font-size: 13px;
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(22,194,176,.2); }

.hero h1 {
  font-size: clamp(40px, 6vw, 64px); line-height: 1.02;
  letter-spacing: -1.5px; font-weight: 900;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--teal), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 19px; color: var(--navy-soft); font-weight: 600;
  margin: 22px 0 32px; max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; }
.hero-stats .stat .num {
  font-size: 30px; font-weight: 900; color: var(--navy);
  display: flex; align-items: baseline; gap: 2px;
}
.hero-stats .stat .num span { color: var(--orange); }
.hero-stats .stat .lbl { font-size: 13px; font-weight: 800; color: var(--navy-soft); }

/* Hero mascot / device */
.hero-art { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 320px; aspect-ratio: 9 / 18.5;
  background: linear-gradient(160deg, #ffffff, #f4fbf9);
  border-radius: 44px; padding: 14px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.8);
}
.phone::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #15233b; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-top), var(--bg-bottom));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
}
.phone-screen video, .phone-screen img.vix {
  width: 86%; border-radius: 24px; box-shadow: var(--shadow-md);
}
.phone-caption {
  position: absolute; bottom: 22px; left: 16px; right: 16px;
  background: rgba(255,255,255,.85); border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow-sm); backdrop-filter: blur(6px);
}
.phone-caption .q { font-weight: 900; font-size: 14px; }
.phone-caption .a { font-size: 12px; color: var(--navy-soft); font-weight: 700; margin-top: 2px; }

.badge-float {
  position: absolute; background: #fff; border-radius: 18px;
  padding: 12px 16px; box-shadow: var(--shadow-md); font-weight: 900;
  display: flex; align-items: center; gap: 10px; z-index: 4;
  animation: bob 4s ease-in-out infinite;
}
.badge-float .ic { font-size: 22px; }
.badge-float small { display: block; font-size: 11px; color: var(--navy-soft); font-weight: 800; }
.badge-xp { top: 60px; left: -30px; }
.badge-streak { bottom: 90px; right: -34px; animation-delay: -2s; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

/* ---- Hero app-video (real screen recording) ---- */
.hero-video { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-video-frame {
  position: relative; border-radius: 32px;
}
.hero-video-frame video {
  display: block; height: min(640px, 74vh); width: auto; max-width: 100%;
  border-radius: 32px; background: #eaf4f1; object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.hero-video-tag {
  margin-top: 18px; background: var(--navy); color: #fff; font-weight: 800; font-size: 13px;
  padding: 9px 18px; border-radius: 999px; box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-video-tag .live { width: 8px; height: 8px; border-radius: 50%; background: #ff5d5d; box-shadow: 0 0 0 0 rgba(255,93,93,.6); animation: pulse 1.6s infinite; }

/* ---- Portrait video inside the showcase split ---- */
.split-media-video { background: transparent; box-shadow: none; padding: 0; display: flex; justify-content: center; }
.split-media-video .hero-video-frame video { height: min(600px, 72vh); }

/* ---- Mini waitlist under the hero video ---- */
.hero-waitlist { margin-top: 22px; width: 100%; max-width: 360px; text-align: center; }
.hero-waitlist-label { font-weight: 900; font-size: 14px; color: var(--navy-soft); margin-bottom: 10px; }
.wl-mini { justify-content: center; }
.wl-mini .wl-input { flex: 1 1 100%; text-align: center; }
.wl-mini .btn { flex: 1 1 100%; justify-content: center; font-size: 16px; }
.hero-waitlist .wl-msg { justify-content: center; margin-top: 12px; }

/* ---- Centered single-column hero (no mockup) ---- */
.hero-solo { padding-bottom: 20px; }
.hero-solo .hero-grid { grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; text-align: center; }
.hero-solo .hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero-solo .hero p.lead { margin-left: auto; margin-right: auto; }
.hero-solo .hero-cta { justify-content: center; }
.hero-solo .hero-stats { justify-content: center; }

/* ============================================================
   Section scaffolding
   ============================================================ */
section { position: relative; z-index: 1; }
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head .kicker {
  color: var(--orange); font-weight: 900; font-size: 14px; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -1px; line-height: 1.08;
}
.section-head p { color: var(--navy-soft); font-size: 18px; font-weight: 600; margin-top: 14px; }

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature-card {
  background: var(--card); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,.8);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  font-size: 28px; margin-bottom: 18px;
}
.ic-teal { background: var(--teal-soft); }
.ic-orange { background: var(--orange-soft); }
.ic-gold { background: #FCEFCB; }
.feature-card h3 { font-size: 20px; margin-bottom: 8px; }
.feature-card p { color: var(--navy-soft); font-weight: 600; font-size: 15px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--card); border-radius: var(--radius); padding: 28px 22px;
  box-shadow: var(--shadow-sm); position: relative; text-align: center;
}
.step .ring {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-size: 28px;
  background: linear-gradient(160deg, var(--teal-soft), var(--orange-soft));
}
.step .n {
  position: absolute; top: -12px; right: 18px; width: 30px; height: 30px;
  background: var(--navy); color: #fff; border-radius: 50%; display: grid;
  place-items: center; font-weight: 900; font-size: 14px; box-shadow: var(--shadow-sm);
}
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--navy-soft); font-weight: 600; }

/* ---------- Split / showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  background: #fff; padding: 18px;
}
.split-media video { border-radius: var(--radius-sm); width: 100%; }
.split h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; line-height: 1.1; }
.split p { color: var(--navy-soft); font-size: 17px; font-weight: 600; margin: 18px 0; }
.tick-list { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.tick-list .tk {
  flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--teal-soft);
  color: var(--teal-dark); display: grid; place-items: center; font-weight: 900; font-size: 14px;
}

/* ---------- Pro / pricing band ---------- */
.pro-band {
  background: linear-gradient(150deg, #15233b, #1e3559);
  border-radius: 32px; padding: 56px; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.pro-band::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,128,62,.5), transparent 70%);
  top: -120px; right: -80px;
}
.pro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.pro-band h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1px; }
.pro-band p { color: #c5d2e6; font-size: 17px; font-weight: 600; margin: 16px 0 26px; }
.pro-features { display: grid; gap: 14px; }
.pro-features .pf { display: flex; gap: 12px; align-items: center; font-weight: 800; }
.pro-features .pf .star { color: var(--gold); font-size: 20px; }
.pro-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px; padding: 30px; text-align: center; backdrop-filter: blur(8px);
}
.pro-card .price { font-size: 44px; font-weight: 900; }
.pro-card .price small { font-size: 16px; color: #c5d2e6; font-weight: 700; }
.pro-card .note { color: #9fb0c9; font-size: 13px; font-weight: 700; margin-top: 14px; }

/* ============================================================
   Waitlist
   ============================================================ */
.waitlist-band {
  background: linear-gradient(150deg, #ffffff, #f3fbf9);
  border-radius: 36px; padding: 48px 52px;
  box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,.8);
  position: relative; overflow: hidden;
}
.waitlist-band::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,194,176,.22), transparent 70%);
  top: -140px; left: -100px; pointer-events: none;
}
.waitlist-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.waitlist-copy .eyebrow { margin-bottom: 18px; }

/* Centered single-column waitlist (no demo phone) */
.waitlist-grid.wl-solo { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; text-align: center; }
.wl-solo .waitlist-copy { display: flex; flex-direction: column; align-items: center; }
.wl-solo .waitlist-copy p.sub { margin-left: auto; margin-right: auto; }
.wl-solo .wl-form { justify-content: center; margin-left: auto; margin-right: auto; }
.wl-solo .wl-msg { justify-content: center; }
.wl-solo .wl-avatars { justify-content: center; }
.waitlist-copy h2 { font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -1px; line-height: 1.08; }
.waitlist-copy h2 .grad { background: linear-gradient(120deg, var(--teal), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.waitlist-copy p.sub { color: var(--navy-soft); font-size: 18px; font-weight: 600; margin: 16px 0 26px; max-width: 460px; }

.wl-form { display: flex; gap: 12px; flex-wrap: wrap; max-width: 480px; }
.wl-form .wl-input {
  flex: 1 1 220px; font-family: var(--font); font-weight: 700; font-size: 16px;
  padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--hairline);
  background: #fff; color: var(--navy); transition: border .2s, box-shadow .2s;
}
.wl-form .wl-input:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22,194,176,.16); }
.wl-form .wl-input::placeholder { color: #9aa7bd; font-weight: 600; }
.wl-form .btn { flex: 0 0 auto; }
/* honeypot — visually hidden, off-screen, not a display:none (bots skip those) */
.wl-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.wl-note { margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--navy-soft); display: flex; align-items: center; gap: 8px; }
.wl-msg { margin-top: 16px; font-weight: 800; font-size: 15px; display: none; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; }
.wl-msg.show { display: flex; }
.wl-msg.ok { background: var(--teal-soft); color: var(--teal-dark); }
.wl-msg.err { background: var(--orange-soft); color: var(--orange-dark); }

.wl-avatars { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.wl-avatars .stack { display: flex; }
.wl-avatars .stack span {
  width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid #fff; margin-left: -10px;
  display: grid; place-items: center; font-size: 18px; box-shadow: var(--shadow-sm);
}
.wl-avatars .stack span:first-child { margin-left: 0; }
.wl-avatars .a1 { background: var(--teal-soft); } .wl-avatars .a2 { background: var(--orange-soft); }
.wl-avatars .a3 { background: #FCEFCB; } .wl-avatars .a4 { background: var(--teal-soft); }
.wl-avatars p { font-size: 14px; font-weight: 800; color: var(--navy-soft); }

/* ---------- In-phone "how it works" demo ---------- */
.demo-wrap { position: relative; display: flex; justify-content: center; }
.demo-phone {
  position: relative; width: 300px; aspect-ratio: 9 / 18.5;
  background: linear-gradient(160deg, #ffffff, #f4fbf9);
  border-radius: 44px; padding: 13px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.8);
}
.demo-phone::before {
  content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 24px; background: #15233b; border-radius: 0 0 15px 15px; z-index: 5;
}
.demo-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-top), var(--bg-bottom));
  position: relative; padding: 38px 16px 16px;
}
.demo-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }

/* progress dots */
.demo-bar { display: flex; gap: 6px; padding: 0 4px 14px; }
.demo-bar i { flex: 1; height: 5px; border-radius: 3px; background: rgba(21,35,59,.12); overflow: hidden; position: relative; }
.demo-bar i.done { background: var(--teal); }
.demo-bar i.cur::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform-origin: left; animation: fillbar var(--step-ms, 2600ms) linear forwards; }
@keyframes fillbar { from { transform: scaleX(0) } to { transform: scaleX(1) } }

.demo-stage { position: relative; height: calc(100% - 19px); }
.demo-step {
  position: absolute; inset: 0; opacity: 0; transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease; pointer-events: none;
  display: flex; flex-direction: column; gap: 10px;
}
.demo-step.active { opacity: 1; transform: none; }

.d-label { font-size: 11px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; color: var(--teal-dark); }
.d-card { background: #fff; border-radius: 16px; padding: 13px 14px; box-shadow: var(--shadow-sm); }
.d-card .d-h { display: flex; align-items: center; gap: 10px; }
.d-card .d-avatar { width: 38px; height: 38px; border-radius: 11px; background: var(--orange-soft); display: grid; place-items: center; font-size: 20px; flex: none; }
.d-card .d-name { font-weight: 900; font-size: 14px; color: var(--navy); }
.d-card .d-sub { font-size: 11.5px; font-weight: 700; color: var(--navy-soft); }
.d-card .d-body { font-size: 12.5px; font-weight: 700; color: var(--navy-soft); margin-top: 9px; line-height: 1.45; }

.d-pill { display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 13px; padding: 11px 13px; box-shadow: var(--shadow-sm); font-weight: 800; font-size: 12.5px; color: var(--navy); }
.d-pill .chk { margin-left: auto; width: 20px; height: 20px; border-radius: 7px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; font-size: 12px; font-weight: 900; }
.d-pill.sel .chk { background: var(--teal); color: #fff; }
.d-pill .ic { font-size: 15px; }

.d-opt { background: #fff; border-radius: 13px; padding: 11px 13px; box-shadow: var(--shadow-sm); font-weight: 800; font-size: 12.5px; color: var(--navy); border: 2px solid transparent; display: flex; align-items: center; gap: 9px; }
.d-opt .tag { margin-left: auto; font-size: 11px; font-weight: 900; }
.d-opt.right { border-color: var(--teal); background: var(--teal-soft); }
.d-opt.right .tag { color: var(--teal-dark); }

.d-result { text-align: center; margin: auto 0; }
.d-result .big { font-size: 44px; line-height: 1; }
.d-result .xp { font-size: 26px; font-weight: 900; color: var(--navy); margin-top: 10px; }
.d-result .xp span { color: var(--orange); }
.d-result .rrow { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.d-result .chip { background: #fff; border-radius: 999px; padding: 7px 13px; font-weight: 900; font-size: 12px; box-shadow: var(--shadow-sm); }

.d-cta { margin-top: auto; background: linear-gradient(180deg, var(--orange), var(--orange-dark)); color: #fff; text-align: center; font-weight: 900; font-size: 13px; padding: 12px; border-radius: 14px; box-shadow: var(--shadow-orange); }

.demo-tag {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: #fff; font-weight: 800; font-size: 12px;
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-md); white-space: nowrap;
  display: flex; align-items: center; gap: 7px;
}
.demo-tag .live { width: 8px; height: 8px; border-radius: 50%; background: #ff5d5d; box-shadow: 0 0 0 0 rgba(255,93,93,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,93,93,.6) } 70% { box-shadow: 0 0 0 9px rgba(255,93,93,0) } 100% { box-shadow: 0 0 0 0 rgba(255,93,93,0) } }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,.8); overflow: hidden; transition: box-shadow .2s ease;
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 24px; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; font-family: var(--font); font-weight: 900; font-size: 17px; color: var(--navy);
}
.faq-q .chev { color: var(--orange); font-size: 20px; transition: transform .3s ease; flex: none; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .faq-a-inner { padding: 0 24px 22px; color: var(--navy-soft); font-weight: 600; font-size: 15.5px; white-space: pre-line; }

/* ============================================================
   CTA strip + Footer
   ============================================================ */
.cta-strip {
  text-align: center; background: var(--card); border-radius: 32px; padding: 56px 40px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.cta-strip h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -1px; }
.cta-strip p { color: var(--navy-soft); font-size: 18px; font-weight: 600; margin: 14px 0 28px; }
.cta-strip .btn { margin: 0 6px; }

footer { position: relative; z-index: 1; margin-top: 80px; padding: 48px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(21,35,59,.1); }
.foot-brand p { color: var(--navy-soft); font-weight: 600; font-size: 15px; max-width: 280px; margin-top: 14px; }
.foot-col h5 { font-size: 14px; text-transform: uppercase; letter-spacing: .8px; color: var(--navy); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--navy-soft); font-weight: 700; font-size: 15px; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--teal-dark); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 12px; }
.foot-bottom p { color: var(--navy-soft); font-weight: 700; font-size: 14px; }
.disclaimer { background: var(--orange-soft); color: var(--orange-dark); border-radius: 14px; padding: 12px 18px; font-weight: 800; font-size: 13px; }

/* ============================================================
   Legal / content pages
   ============================================================ */
.page-hero { padding: 60px 0 20px; text-align: center; }
.page-hero .updated { color: var(--navy-soft); font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -1px; }
.doc { max-width: 820px; margin: 0 auto; padding: 30px 0 40px; display: grid; gap: 18px; }
.doc-card {
  background: var(--card); border-radius: var(--radius-sm); padding: 26px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,.8);
}
.doc-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.doc-card h3 .bar { width: 6px; height: 22px; border-radius: 3px; background: linear-gradient(var(--teal), var(--orange)); }
.doc-card p, .doc-card li { color: var(--navy-soft); font-weight: 600; font-size: 15.5px; white-space: pre-line; }
.doc-card ul { padding-left: 4px; list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.doc-card ul li { position: relative; padding-left: 18px; }
.doc-card ul li::before { content: "•"; color: var(--teal); font-weight: 900; position: absolute; left: 2px; top: 0; }

/* ---------- Support / contact ---------- */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 920px; margin: 30px auto 0; align-items: start; }
.support-card {
  background: var(--card); border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow-md); text-align: center;
}
.support-card .env { font-size: 46px; }
.support-card h3 { font-size: 22px; margin: 12px 0 8px; }
.support-card p { color: var(--navy-soft); font-weight: 600; margin-bottom: 20px; }
.support-card .mail { color: var(--teal-dark); font-weight: 900; margin-top: 14px; display: inline-block; }

.form-card { background: var(--card); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .sub { color: var(--navy-soft); font-weight: 600; font-size: 15px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 13px 15px; border-radius: 13px; border: 1.5px solid var(--hairline);
  background: #fbfdfd; color: var(--navy); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22,194,176,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .pro-grid, .support-grid, .waitlist-grid { grid-template-columns: 1fr; }
  .waitlist-band { padding: 34px 24px; }
  .demo-wrap { order: -1; }
  .split.reverse .split-media { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(255,255,255,.97); padding: 16px; gap: 4px; box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .35s ease; backdrop-filter: blur(10px);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px; font-size: 16px; }
  .nav-links a.cta { margin: 6px 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .pro-band { padding: 36px 26px; }
}
@media (max-width: 560px) {
  .steps, .foot-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .section { padding: 56px 0; }
  .badge-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, .blob, .badge-float { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
