/* ==========================================================================
   Dodo Bills — public product site
   Self-contained: shares nothing with the admin panel's style.css, so the
   marketing page can evolve without any risk to the dashboard UI.
   ========================================================================== */

:root {
  /* Brand */
  --violet-50:  #f3f1ff;
  --violet-100: #e9e5ff;
  --violet-200: #d6cfff;
  --violet-400: #9d8bff;
  --violet-500: #7c5cff;
  --violet-600: #6435f0;
  --violet-700: #5227cc;
  --cyan-400:   #35d6f0;
  --cyan-500:   #14b8d4;
  --mint-400:   #34e2a8;

  /* Neutrals */
  --ink-900: #0a0a18;
  --ink-800: #12122a;
  --ink-700: #1c1c3a;
  --ink-600: #2a2a4e;
  --slate-700: #3a3d52;
  --slate-500: #6b7192;
  --slate-400: #8b91ad;
  --slate-200: #e4e6f1;
  --slate-100: #eff1f8;
  --paper: #ffffff;
  --canvas: #f7f8fd;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(10, 10, 24, .05), 0 4px 12px -4px rgba(10, 10, 24, .06);
  --shadow: 0 12px 32px -12px rgba(10, 10, 24, .14), 0 2px 6px rgba(10, 10, 24, .04);
  --shadow-lg: 0 40px 80px -32px rgba(30, 18, 90, .35), 0 12px 28px -14px rgba(10, 10, 24, .18);
  --glow: 0 10px 30px -8px rgba(100, 53, 240, .5);

  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 40px);

  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ── Base ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Keeps a jump-linked section clear of the fixed header. */
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  letter-spacing: -.028em;
  line-height: 1.12;
  margin: 0;
  font-weight: 800;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--violet-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  background: var(--ink-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 16px; }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  --btn-bg: var(--violet-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .22s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
  box-shadow: var(--glow);
}
.btn-primary:hover { box-shadow: 0 16px 38px -10px rgba(100, 53, 240, .62); }

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--slate-200);
}
.btn-ghost:hover { border-color: var(--violet-400); background: var(--violet-50); }

.btn-light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .24);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .4); }

.btn-white { background: #fff; color: var(--violet-700); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .4); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ── Header ───────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  padding: 10px 0;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: var(--slate-200);
  box-shadow: 0 6px 24px -14px rgba(10, 10, 24, .3);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.03em;
  color: #fff;
  white-space: nowrap;
  transition: color .3s ease;
}
.is-stuck .brand { color: var(--ink-900); }

.brand-badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--violet-500), var(--violet-700) 70%, var(--cyan-500));
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px -8px rgba(100, 53, 240, .8);
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, .16); }

.is-stuck .nav-links a { color: var(--slate-500); }
.is-stuck .nav-links a:hover { color: var(--ink-900); background: var(--slate-100); }
.is-stuck .nav-links a.is-active { color: var(--violet-600); background: var(--violet-50); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Only meaningful once the links collapse into the mobile panel */
.nav-only-mobile { display: none; }

.nav-signin {
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .93rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .26);
  transition: all .2s ease;
}
.nav-signin:hover { background: rgba(255, 255, 255, .14); }
.is-stuck .nav-signin { color: var(--ink-900); border-color: var(--slate-200); }
.is-stuck .nav-signin:hover { background: var(--slate-100); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.3rem;
  place-items: center;
}
.is-stuck .nav-toggle { color: var(--ink-900); border-color: var(--slate-200); background: #fff; }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 152px 0 clamp(90px, 12vw, 150px);
  background: radial-gradient(120% 120% at 50% 0%, #1c1447 0%, var(--ink-900) 55%, #05050f 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Aurora blobs + grid — decorative only, sit behind all hero content. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  pointer-events: none;
}
.hero::before {
  width: 640px; height: 640px;
  top: -280px; left: -180px;
  background: radial-gradient(circle, rgba(124, 92, 255, .7), transparent 68%);
  animation: drift 22s ease-in-out infinite alternate;
}
.hero::after {
  width: 560px; height: 560px;
  top: -120px; right: -200px;
  background: radial-gradient(circle, rgba(53, 214, 240, .42), transparent 68%);
  animation: drift 26s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(70px, 60px, 0) scale(1.16); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(110% 80% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(110% 80% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-inner { text-align: center; max-width: 880px; margin-inline: auto; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px 7px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(10px);
  font-size: .84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .84);
  margin-bottom: 26px;
}
.pill b {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mint-400), var(--cyan-400));
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.pill span { padding-right: 8px; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  letter-spacing: -.042em;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(105deg, var(--violet-400) 0%, var(--cyan-400) 55%, var(--mint-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  color: rgba(255, 255, 255, .72);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  font-size: .87rem;
  color: rgba(255, 255, 255, .55);
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note i { color: var(--mint-400); }

/* Product preview — a CSS-drawn dashboard, no screenshot needed. */
.hero-preview {
  position: relative;
  max-width: 1000px;
  margin: clamp(56px, 8vw, 84px) auto -1px;
  perspective: 1600px;
}
.preview-frame {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-lg);
  transform: rotateX(7deg);
  transform-origin: 50% 100%;
}
.preview-screen {
  border-radius: 18px;
  background: #fbfbfe;
  overflow: hidden;
}
.preview-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #f1f2f8;
  border-bottom: 1px solid var(--slate-200);
}
.preview-dot { width: 10px; height: 10px; border-radius: 50%; background: #d7dae6; }
.preview-dot:nth-child(1) { background: #ff6058; }
.preview-dot:nth-child(2) { background: #ffbd2e; }
.preview-dot:nth-child(3) { background: #29ca41; }
.preview-url {
  margin-left: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--slate-200);
  font-size: .74rem;
  color: var(--slate-400);
}

.preview-body { display: flex; min-height: 320px; }

.preview-side {
  flex: 0 0 168px;
  background: var(--ink-800);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.preview-side i { font-size: .82rem; width: 16px; }
.preview-side .p-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 9px;
  font-size: .76rem;
  color: rgba(255, 255, 255, .48);
}
.preview-side .p-item.on {
  background: linear-gradient(100deg, var(--violet-600), var(--violet-500));
  color: #fff;
  font-weight: 600;
}

.preview-main { flex: 1; padding: 20px; text-align: left; }
.preview-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.p-kpi {
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.p-kpi small { display: block; font-size: .62rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: .07em; }
.p-kpi b { display: block; margin: 3px 0 1px; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; color: var(--ink-900); }
.p-kpi em { font-style: normal; font-size: .64rem; color: #12a56f; }

.preview-chart {
  height: 132px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  padding: 14px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.p-bar {
  flex: 1;
  border-radius: 5px 5px 3px 3px;
  background: linear-gradient(180deg, var(--violet-400), var(--violet-600));
  opacity: .85;
  animation: rise .9s cubic-bezier(.2, .8, .3, 1) backwards;
}
.p-bar:last-child { background: linear-gradient(180deg, var(--cyan-400), var(--cyan-500)); opacity: 1; }

@keyframes rise { from { height: 4px !important; opacity: 0; } }

.preview-glow {
  position: absolute;
  inset: auto 8% -30px 8%;
  height: 90px;
  background: radial-gradient(ellipse at center, rgba(124, 92, 255, .55), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

/* ── Stats strip ──────────────────────────────────────────────────────── */

.stats {
  background: var(--ink-900);
  padding: 0 0 clamp(56px, 7vw, 76px);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--ink-900);
  padding: 26px 20px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.035em;
  background: linear-gradient(120deg, #fff, var(--violet-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { font-size: .82rem; color: rgba(255, 255, 255, .5); }

/* ── Generic section furniture ────────────────────────────────────────── */

.section { padding: clamp(76px, 10vw, 122px) 0; }
.section-tint { background: var(--canvas); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto clamp(44px, 6vw, 64px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--violet-50);
  border: 1px solid var(--violet-100);
  color: var(--violet-600);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.95rem, 4.4vw, 2.9rem);
  margin-bottom: 16px;
}
.section-head p { color: var(--slate-500); font-size: 1.06rem; }

/* ── Pricing ──────────────────────────────────────────────────────────── */

.billing-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  margin-top: 26px;
}
.billing-switch button {
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--slate-500);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .89rem;
  transition: all .22s ease;
}
.billing-switch button.on {
  background: var(--paper);
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}
.save-tag {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #d6f9ea;
  color: #0a7a53;
  font-size: .7rem;
  font-weight: 800;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  align-items: stretch; /* feature lists differ in length — keep the card bottoms level */
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--violet-200); }

.plan.featured {
  background: linear-gradient(165deg, var(--ink-800), var(--ink-900) 62%, #1a1140);
  border-color: transparent;
  color: rgba(255, 255, 255, .74);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.plan.featured h3, .plan.featured .price-amount { color: #fff; }
.plan.featured .plan-blurb, .plan.featured .price-per { color: rgba(255, 255, 255, .55); }
.plan.featured .plan-limit { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .14); }
.plan.featured .plan-features li { color: rgba(255, 255, 255, .78); }
.plan.featured .plan-features i { color: var(--mint-400); background: rgba(52, 226, 168, .14); }
.plan.featured hr { border-color: rgba(255, 255, 255, .12); }

.plan-flag {
  position: absolute;
  top: 20px; right: 24px;
  padding: 5px 13px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--mint-400), var(--cyan-400));
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.plan h3 { font-size: 1.28rem; margin-bottom: 6px; }
.plan-blurb { font-size: .91rem; color: var(--slate-500); min-height: 44px; }

.plan-price { margin: 22px 0 6px; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.045em;
  color: var(--ink-900);
  line-height: 1;
}
.price-cur { font-size: 1rem; font-weight: 700; color: var(--slate-400); }
.price-per { font-size: .87rem; color: var(--slate-500); }

.plan-limit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 5px 13px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--violet-50);
  border: 1px solid var(--violet-100);
  color: var(--violet-700);
  font-size: .81rem;
  font-weight: 600;
}

.plan hr { border: 0; border-top: 1px solid var(--slate-200); margin: 24px 0 20px; }

.plan-features { display: grid; gap: 12px; align-content: start; }
.plan-features li { display: flex; gap: 11px; font-size: .91rem; color: var(--slate-700); }
.plan-features i {
  flex: none;
  width: 19px; height: 19px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--violet-50);
  color: var(--violet-600);
  font-size: .62rem;
}

.plan .btn { margin-top: 0; }

.pricing-footnote {
  margin-top: 34px;
  text-align: center;
  font-size: .89rem;
  color: var(--slate-500);
}
.pricing-footnote a { color: var(--violet-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── Modules ──────────────────────────────────────────────────────────── */

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* A two-column card that cannot fit the tail of a row would otherwise leave
     a hole; dense packing pulls a later single-column card up to fill it. */
  grid-auto-flow: row dense;
}

.module {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.module::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, .09), transparent 62%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.module:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--violet-200); }
.module:hover::after { opacity: 1; }
.module.wide { grid-column: span 2; }

.module-icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 18px;
  background: linear-gradient(140deg, var(--violet-500), var(--violet-700));
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 10px 22px -10px rgba(100, 53, 240, .8);
}
.module.wide .module-icon { background: linear-gradient(140deg, var(--cyan-500), var(--violet-600)); }

.module h3 { font-size: 1.15rem; margin-bottom: 9px; }
.module p { font-size: .93rem; color: var(--slate-500); }

/* Pinned to the bottom so tag rows line up across cards of differing text length */
.module-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 18px; }
.module-tags span {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  font-size: .76rem;
  font-weight: 600;
  color: var(--slate-500);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.faq-item.open { border-color: var(--violet-200); box-shadow: var(--shadow); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink-900);
}
.faq-q i {
  flex: none;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--violet-600);
  font-size: .8rem;
  transition: transform .28s ease, background .22s ease;
}
.faq-item.open .faq-q i { transform: rotate(180deg); background: var(--violet-100); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--slate-500); font-size: .96rem; }

.faq-more {
  max-width: 820px;
  margin: 34px auto 0;
  padding: 26px 30px;
  border-radius: var(--radius);
  background: var(--violet-50);
  border: 1px solid var(--violet-100);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.faq-more b { display: block; font-family: var(--font-display); color: var(--ink-900); font-size: 1.05rem; }
.faq-more span { font-size: .92rem; color: var(--slate-500); }

/* ── Closing CTA ──────────────────────────────────────────────────────── */

.cta-band { padding: 0 0 clamp(70px, 9vw, 100px); }
.cta-card {
  position: relative;
  padding: clamp(46px, 7vw, 76px) var(--gutter);
  border-radius: var(--radius-xl);
  background: radial-gradient(120% 140% at 15% 0%, #2a1a6e 0%, var(--ink-900) 58%, #05050f 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-card::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  top: -240px; right: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 214, 240, .4), transparent 66%);
  filter: blur(80px);
  z-index: -1;
}
.cta-card h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: 16px; }
.cta-card p { color: rgba(255, 255, 255, .7); max-width: 540px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, .55);
  padding: clamp(50px, 7vw, 70px) 0 30px;
  font-size: .91rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand p { margin-top: 14px; max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { transition: color .2s ease; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .85rem;
}

/* ── Scroll reveal ────────────────────────────────────────────────────── */

/* Gated on the `js` class the head script adds, so a section can never be left
   invisible if the script fails to load or IntersectionObserver is missing. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.2, .8, .3, 1), transform .6s cubic-bezier(.2, .8, .3, 1);
}
.js [data-reveal].shown { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .modules { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .is-stuck .nav-links a { color: var(--ink-900); padding: 12px 14px; font-weight: 600; }
  .nav-only-mobile { display: block; border-top: 1px solid var(--slate-200); margin-top: 6px; padding-top: 14px !important; }
  .nav-links a:hover { background: var(--slate-100); }
  .nav-signin { display: none; }

  .preview-side { display: none; }
  .preview-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 84px; }
  .hero { padding-top: 128px; }
  .preview-frame { transform: none; }
  .modules, .modules .module.wide { grid-template-columns: 1fr; grid-column: auto; }
  .faq-more { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .btn { width: 100%; }
  .hero-cta, .cta-actions { flex-direction: column; }
  .nav-actions .btn { width: auto; }
}

@media (max-width: 480px) {
  /* Brand + trial button + menu is one thing too many on a narrow phone, and
     the identical CTA sits just below in the hero. */
  .nav-actions .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
