/* Invite All marketing site. Black / white / a few greys, matching the app.
   Big radii, floating pill header, 1px ink outlines instead of heavy shadows. */
:root {
  --ink: #111111;
  --ink-2: #2B2B2B;
  --paper: #FFFFFF;
  --g1: #6B6B6B;
  --g2: #A3A3A3;
  --g3: #DADADA;
  --g4: #EFEFEF;
  --g5: #F7F7F7;

  --viz-green: #3DD68C;
  --viz-yellow: #F5C451;
  --viz-red: #F26D6D;
  --viz-pending: #4A4A4A;
  --green-bg: #E6F8EE; --green-tx: #17894F;
  --yellow-bg: #FEF5DF; --yellow-tx: #A87408;
  --red-bg: #FDECEC;   --red-tx: #D23F3F;

  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --r-pill: 999px;

  --ring: 0 0 0 1px var(--ink);
  --ring-soft: 0 0 0 1px var(--g3);
  --float: 0 18px 50px -24px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.08);
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Anchor targets: the section's own top padding clears the floating header, so only a small offset is needed */
html { scroll-behavior: smooth; scroll-padding-top: 0; }
html, body {
  background: var(--paper);
  color: var(--ink-2);
  font-family: 'Montserrat', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { overflow-x: hidden; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }
img, svg { display: block; }

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

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 14px; line-height: 1;
  padding: 13px 22px; border-radius: var(--r-pill);
  border: none; background: var(--paper); color: var(--ink);
  box-shadow: var(--ring);
  transition: background .15s, transform .15s var(--ease), box-shadow .15s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn:hover { background: var(--g5); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn.primary:hover { background: var(--ink-2); }
.btn.ghost { background: transparent; box-shadow: none; color: var(--ink); }
.btn.ghost:hover { background: var(--g4); }
.btn.sm { font-size: 13px; padding: 10px 16px; }
.btn.lg { font-size: 16px; padding: 18px 30px; gap: 11px; }
.btn.lg svg { width: 18px; height: 18px; }
.btn.xl { font-size: clamp(20px, 3vw, 30px); padding: 26px 48px; gap: 16px; font-weight: 700; }
.btn.xl svg { width: 30px; height: 30px; }
.btn.inverse { background: var(--paper); color: var(--ink); box-shadow: none; }
.btn.inverse:hover { background: var(--g4); }

/* ── Floating header ── */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(var(--wrap), calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-radius: var(--r-pill);
  box-shadow: var(--float);
  z-index: 100;
  transition: top .25s var(--ease), box-shadow .25s;
}
.nav.scrolled { top: 10px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.12); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px;
  color: var(--ink);
  display: grid; place-items: center; flex: none;
}
.brand-mark svg { width: 28px; height: 28px; stroke-width: 1.6; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-size: 13.5px; font-weight: 600; color: var(--g1); padding: 9px 14px; border-radius: var(--r-pill); transition: background .15s, color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--g4); color: var(--ink); }
.nav-cta { display: flex; gap: 6px; align-items: center; }

/* ── Sections ── */
section { padding: 96px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--g1); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(34px, 5vw, 56px); }
.sec-head p { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--g1); max-width: 620px; }

/* ── Hero ── */
.hero { padding: 172px 0 64px; }
.hero h1 {
  font-size: clamp(42px, 7vw, 88px);
  max-width: 1040px;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--g2); }
.hero-sub { margin-top: 26px; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: var(--g1); max-width: 640px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--g2); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; margin-right: 7px; color: var(--ink); font-weight: 700; }

/* Hero visual: a black stage with a giant plane and floating live cards */
.stage {
  position: relative; margin-top: 72px;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-xl);
  min-height: 420px; overflow: hidden;
  display: grid; place-items: center;
}
.stage-plane { width: min(46vw, 360px); height: auto; color: rgba(255,255,255,.14); }
.stage-plane path { stroke-width: .6; }
.stage-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.float-card {
  position: absolute;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-md);
  padding: 14px 16px;
  min-width: 210px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  animation: bob 6s ease-in-out infinite;
}
.float-card .fc-t { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--g1); font-weight: 700; }
.float-card .fc-v { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.float-card .fc-s { font-size: 12.5px; color: var(--g1); margin-top: 4px; }
.float-card.a { top: 42px; left: 6%; animation-delay: 0s; }
.float-card.b { bottom: 48px; left: 22%; animation-delay: -2s; }
.float-card.c { top: 72px; right: 8%; animation-delay: -4s; }
.float-card.d { bottom: 56px; right: 18%; animation-delay: -1s; min-width: 250px; }
.float-card.d .pill-row { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.stage-btn { position: relative; z-index: 2; }
.stage-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.5); }

/* Status pills (shared by mocks) */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: var(--g4); color: var(--ink); white-space: nowrap; line-height: 1.3; }
.pill.green { background: var(--green-bg); color: var(--green-tx); }
.pill.yellow { background: var(--yellow-bg); color: var(--yellow-tx); }
.pill.red { background: var(--red-bg); color: var(--red-tx); }
.pill.lock { color: var(--g1); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ── Steps ── */
.steps { display: grid; gap: 28px; }
.step {
  display: grid; grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr); gap: 0;
  border-radius: var(--r-xl); box-shadow: var(--ring); overflow: hidden; background: var(--paper);
}
.step.flip { grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); }
.step.flip .step-info { order: 2; }
.step-info { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.step-num { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--g2); }
.step-info h3 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 14px; text-wrap: balance; }
.step-info p { margin-top: 18px; font-size: 16.5px; line-height: 1.6; color: var(--g1); }
.step-info ul { margin-top: 22px; display: grid; gap: 10px; list-style: none; }
.step-info li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.step-info li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); flex: none; margin-top: 1px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23000'/%3E%3Cpath d='M4.5 8.3l2.3 2.2 4.7-4.8' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23000'/%3E%3Cpath d='M4.5 8.3l2.3 2.2 4.7-4.8' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.step-shot { background: var(--g5); padding: 44px 0 0 44px; display: flex; align-items: flex-end; overflow: hidden; min-height: 460px; }
.step.flip .step-shot { padding: 44px 44px 0 0; justify-content: flex-end; }

/* The "screenshot": a zoomed-in browser card that bleeds off the bottom edge */
.shot {
  background: var(--paper); border-radius: var(--r-md) var(--r-md) 0 0;
  box-shadow: 0 -2px 0 rgba(0,0,0,.02), 0 0 0 1px var(--ink), 0 40px 80px -30px rgba(0,0,0,.35);
  width: 100%; max-width: 680px; overflow: hidden;
  font-size: 12.5px;
}
.step.flip .shot { border-radius: var(--r-md) 0 0 0; }
.shot-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--g4); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--g3); }
.shot-bar .url { margin-left: 10px; font-size: 11px; color: var(--g2); background: var(--g5); border-radius: var(--r-pill); padding: 4px 12px; }
.shot-body { padding: 18px 20px 22px; }

/* Mock: filters row + table */
.mock-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.sel { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-sm); box-shadow: var(--ring); font-weight: 600; font-size: 12px; color: var(--ink); background: var(--paper); }
.sel::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-2px); }
.sel.muted { color: var(--g1); box-shadow: var(--ring-soft); }
.mock-tools .grow { flex: 1; }
.mock-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 12px; box-shadow: var(--ring); background: var(--paper); color: var(--ink); }
.mock-btn.primary { background: var(--ink); color: var(--paper); box-shadow: none; }
.mock-btn.ghost { box-shadow: none; color: var(--g1); }
.mock-btn svg { width: 13px; height: 13px; }
.group-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 12.5px; color: var(--ink); padding: 10px 12px; background: var(--g5); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.group-head .cnt { color: var(--g1); font-weight: 500; }
table.mock { width: 100%; border-collapse: collapse; }
table.mock th { text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--g1); padding: 8px 12px; border-bottom: 1px solid var(--g4); font-weight: 600; }
table.mock td { padding: 9px 12px; border-bottom: 1px solid var(--g4); color: var(--ink-2); white-space: nowrap; }
table.mock tr.locked td { color: var(--g2); }
table.mock tr.picked td { background: #FAFAFA; }
.cb { width: 15px; height: 15px; border-radius: 4px; box-shadow: var(--ring); display: inline-grid; place-items: center; background: var(--paper); }
.cb.on { background: var(--ink); }
.cb.on::after { content: ""; width: 4px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) translate(-1px, -1px); }
.cb.dis { box-shadow: var(--ring-soft); background: var(--g5); }
.co { font-weight: 600; color: var(--ink); }

/* Mock: templates editor */
.tpl { display: grid; grid-template-columns: 180px 1fr; min-height: 340px; }
.tpl-list { border-right: 1px solid var(--g4); padding: 12px; display: grid; gap: 4px; align-content: start; }
.tpl-list .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--g1); font-weight: 700; padding: 6px 10px; }
.tpl-item { padding: 9px 10px; border-radius: var(--r-sm); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.tpl-item small { display: block; font-weight: 500; color: var(--g2); font-size: 10.5px; margin-top: 2px; }
.tpl-item.on { background: var(--ink); color: var(--paper); }
.tpl-item.on small { color: rgba(255,255,255,.6); }
.tpl-item.add { color: var(--g1); box-shadow: var(--ring-soft); text-align: center; margin-top: 6px; }
.tpl-edit { padding: 16px 18px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 10.5px; font-weight: 700; color: var(--g1); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.field .in { padding: 9px 12px; border-radius: var(--r-sm); box-shadow: var(--ring); font-size: 12.5px; color: var(--ink); line-height: 1.7; background: var(--paper); }
.field .in.ta { min-height: 132px; }
.ph { display: inline-block; background: var(--g4); color: var(--ink); border-radius: 6px; padding: 0 6px; font-weight: 600; font-size: 11.5px; line-height: 1.6; }
.ph.hot { background: var(--ink); color: var(--paper); }
.tpl-hint { font-size: 11px; color: var(--g1); line-height: 1.5; margin: 4px 0 12px; }
.tpl-hint .ph { font-size: 10.5px; }
.tpl-foot { display: flex; justify-content: flex-end; gap: 8px; }

/* Mock: preview */
.prev { display: grid; grid-template-columns: 1fr; }
.prev-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--g4); flex-wrap: wrap; }
.stepper { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--g2); }
.stepper b { display: inline-flex; align-items: center; gap: 6px; color: var(--g1); }
.stepper b i { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-size: 9px; display: grid; place-items: center; }
.stepper b.cur { color: var(--ink); }
.stepper b.cur i { background: var(--paper); color: var(--ink); box-shadow: var(--ring); }
.stepper .ln { width: 18px; height: 1px; background: var(--g3); }
.email { padding: 16px 18px 0; }
.email-meta { display: grid; grid-template-columns: 52px 1fr; row-gap: 6px; font-size: 12px; color: var(--ink-2); margin-bottom: 12px; }
.email-meta dt { color: var(--g2); font-weight: 600; }
.email-meta dd b { color: var(--ink); }
.email-paper { border-radius: var(--r-md) var(--r-md) 0 0; box-shadow: var(--ring); padding: 22px 24px 0; }
.email-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; margin-bottom: 14px; }
.email-logo i { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.email-logo i svg { width: 11px; height: 11px; }
.email-paper p { font-size: 12.5px; line-height: 1.65; color: var(--ink-2); margin-bottom: 10px; }
.email-paper p mark { background: #FFF3C4; color: var(--ink); border-radius: 4px; padding: 0 3px; }
.email-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-weight: 700; font-size: 12.5px; padding: 11px 18px; border-radius: 8px; margin: 6px 0 10px; }
.email-btn svg { width: 12px; height: 12px; }
.email-fallback { font-size: 11px; color: var(--g1); word-break: break-all; padding-bottom: 8px; }
.email-fallback u { color: var(--ink); }

/* ── Invite all CTA ── */
.cta-band { padding: 20px 0 96px; }
.cta-card {
  background: var(--ink); color: var(--paper);
  border-radius: 48px;
  padding: clamp(56px, 8vw, 110px) 24px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-card h2 { color: var(--paper); font-size: clamp(32px, 5vw, 60px); text-wrap: balance; }
.cta-card p { margin: 18px auto 0; max-width: 560px; color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.55; }
.cta-card .btn { margin-top: 40px; }
.cta-card .small { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.45); }
.cta-rings { position: absolute; inset: -40% -10%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(255,255,255,.05) 34.2% 34.6%, transparent 35% 44%, rgba(255,255,255,.04) 44.2% 44.6%, transparent 45% 54%, rgba(255,255,255,.03) 54.2% 54.6%, transparent 55%); }

/* ── Bonus: tracking dashboard ── */
.bonus .sec-head { margin-bottom: 36px; }
.dash {
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-xl); padding: 28px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px;
}
.dash-figs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.fig { background: rgba(255,255,255,.06); border-radius: var(--r-md); padding: 16px 16px 14px; }
.fig .v { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.fig .l { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.55); margin-top: 7px; font-weight: 600; }
.fig.green .v { color: var(--viz-green); }
.fig.yellow .v { color: var(--viz-yellow); }
.fig.red .v { color: var(--viz-red); }
.panel { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 22px 24px; min-width: 0; }
.panel h4 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.panel .sub { font-size: 12px; color: var(--g1); margin-top: 3px; }
.rbar { display: flex; gap: 3px; height: 40px; margin-top: 20px; }
.rbar div { border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--ink); min-width: 28px; font-variant-numeric: tabular-nums; transform-origin: left; }
.rbar .g { background: var(--viz-green); }
.rbar .y { background: var(--viz-yellow); }
.rbar .r { background: var(--viz-red); }
.rbar .p { background: var(--g3); color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 12.5px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend b { color: var(--ink); font-variant-numeric: tabular-nums; }
.legend small { color: var(--g1); }
.chart { margin-top: 16px; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--g4); stroke-width: 1; }
.chart .bar { fill: var(--ink); transition: fill .15s; }
.chart .bar:hover { fill: var(--g1); }
.chart .bar-hit { fill: transparent; }
.chart .ax { font-size: 10px; fill: var(--g1); font-weight: 600; }
.chart .val { font-size: 11px; fill: var(--ink); font-weight: 700; }
.feed { grid-column: 1 / -1; }
.feed-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.ev { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-width: 0; padding: 12px 14px; border-radius: var(--r-md); box-shadow: var(--ring-soft); }
.ev .av { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.ev .who { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .what { font-size: 11.5px; color: var(--g1); margin-top: 2px; }
.ev time { font-size: 11px; color: var(--g2); font-weight: 600; white-space: nowrap; }
.trail { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 6px; }
.trail span { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--g4); color: var(--ink); letter-spacing: .03em; }
.trail span.on { background: var(--ink); color: #fff; }
.trail span.green { background: var(--green-bg); color: var(--green-tx); }
.bonus-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.note { border-radius: var(--r-lg); box-shadow: var(--ring); padding: 26px 26px 24px; }
.note h4 { font-size: 17px; font-weight: 700; }
.note p { font-size: 14px; line-height: 1.55; color: var(--g1); margin-top: 8px; }

/* ── FAQ ── */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
details { border-radius: var(--r-lg); box-shadow: var(--ring); overflow: hidden; background: var(--paper); transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
/* .closing keeps [open] while the height collapses, so the colours fade back at the same time */
details[open]:not(.closing) { background: var(--ink); color: var(--paper); box-shadow: none; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: inherit; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; font-weight: 400; line-height: 1; color: var(--g2); transition: transform .4s var(--ease), color .4s var(--ease); flex: none; }
details[open]:not(.closing) summary::after { transform: rotate(45deg); color: var(--paper); }
details p { padding: 0 28px 26px; font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.75); max-width: 720px; }

/* ── Footer ── */
footer { padding: 40px 0 48px; border-top: 1px solid var(--g4); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--g1); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }

/* ── Closing CTA ── */
.cta-end { padding: 0 0 96px; }
.cta-end-card {
  border-radius: var(--r-xl); box-shadow: var(--ring);
  padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-end-card h2 { font-size: clamp(28px, 3.6vw, 40px); text-wrap: balance; }
.cta-end-card p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--g1); max-width: 520px; }
.cta-end-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Pricing page ── */
.price-hero { padding: 172px 0 40px; text-align: center; }
.price-hero h1 { font-size: clamp(40px, 6vw, 72px); text-wrap: balance; }
.price-hero p { margin: 20px auto 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--g1); }
.plan-wrap { padding: 32px 0 96px; }
.plan {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--ring);
}
.plan-main { background: var(--ink); color: var(--paper); padding: 56px 52px; }
.plan-main .tier { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.55); }
.plan-main h2 { color: var(--paper); font-size: clamp(36px, 4.5vw, 56px); margin-top: 14px; }
.plan-main .lede { color: rgba(255,255,255,.65); font-size: 17px; line-height: 1.55; margin-top: 18px; }
.plan-price { margin-top: 36px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-price .big { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.plan-price .unit { color: rgba(255,255,255,.55); font-size: 14px; }
.plan-main .btn { margin-top: 30px; }
.plan-main .fine { margin-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.45); }
.plan-main .fine a { color: rgba(255,255,255,.8); text-decoration: underline; }
.plan-feats { padding: 56px 52px; }
.plan-feats h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--g1); font-weight: 700; }
.plan-feats ul { list-style: none; margin-top: 20px; display: grid; gap: 14px; }
.plan-feats li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.plan-feats li::before { content: "✓"; font-weight: 800; color: var(--ink); flex: none; }
.plan-feats li small { display: block; color: var(--g1); font-size: 13px; margin-top: 2px; }
.contact-grid { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-grid .note h4 { font-size: 16px; }

/* ── Fit / book a demo page ── */
.fit { padding: 118px 0 48px; }
/* Form pages: footer pinned to the bottom of the window, content scrolls above it */
.page-fit footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--paper); padding: 16px 0; }
.page-fit main { padding-bottom: 72px; }
.page-fit .foot-links { gap: 18px; }
.fit-wrap { max-width: 960px; }

/* Progress track: the plane flies node to node as the answers come in */
.track { position: relative; height: 28px; margin: 0 6px; }
.track-line { position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--g3); border-radius: 2px; }
.track-fill { height: 100%; width: 0; background: var(--ink); border-radius: 2px; transition: width .5s var(--ease); }
.track-plane { position: absolute; top: 14px; left: 0; width: 30px; height: 30px; margin-left: -15px; transform: translateY(-50%); display: grid; place-items: center; background: var(--ink); color: var(--paper); border-radius: 50%; box-shadow: 0 0 0 4px var(--paper); transition: left .5s var(--ease); z-index: 1; }
.track-plane svg { width: 14px; height: 14px; }
.track.done .track-plane { background: var(--viz-green); }
.track-step { margin: 18px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g1); }

.screen { padding: 0; }
.screen.cols { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px 48px; align-items: start; }
.screen.cols .col-r { min-width: 0; }
.screen.cols .fit-fields { margin-top: 6px; grid-template-columns: 1fr; }
.screen.cols .cal { margin-top: 6px; max-width: none; }
.screen h1 { font-size: clamp(32px, 5vw, 52px); text-wrap: balance; }
.fit-lede { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--g1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.big { margin-top: 44px; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-block; padding: 11px 18px; border-radius: var(--r-pill);
  box-shadow: var(--ring-soft); font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: background .15s, box-shadow .15s, color .15s;
}
.chips.big span { padding: 18px 26px; font-size: 17px; border-radius: var(--r-md); }
.chips label:hover span { background: var(--g5); }
.chips input:checked + span { background: var(--ink); color: var(--paper); box-shadow: var(--ring); }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fit-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fit-actions.center { justify-content: center; }
[hidden] { display: none !important; }
.other-box { margin-top: 18px; display: grid; gap: 14px; max-width: 420px; }
.other-box .btn { justify-self: start; }

/* Success: same calm card as the app's "invitations sent" screen */
.success { text-align: center; padding: 8px 0 0; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center;
  animation: pop-in .45s var(--ease) both;
}
.success-icon svg { width: 30px; height: 30px; }
.success .fit-lede { max-width: 640px; margin-left: auto; margin-right: auto; }
.success.honest .success-icon { display: none; }
.success.honest .fit-lede { max-width: 640px; }
.usecase { max-width: 640px; margin: 22px auto 0; text-align: left; }
.f textarea {
  font: inherit; font-weight: 500; font-size: 15px; color: var(--ink); resize: vertical; min-height: 88px;
  padding: 13px 16px; border: 0; border-radius: var(--r-md); box-shadow: var(--ring-soft); background: var(--paper);
}
.f textarea:focus { outline: none; box-shadow: var(--ring); }
@keyframes pop-in { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.confetti { position: fixed; inset: 0; z-index: 400; pointer-events: none; overflow: hidden; }
.confetti span {
  position: absolute; top: -24px; display: block; opacity: 0; border-radius: 2px;
  animation-name: confetti-fall; animation-timing-function: linear; animation-fill-mode: forwards;
}
@keyframes confetti-fall {
  0%   { opacity: 1; transform: translate3d(0, 0, 0) rotate3d(1, .4, 0, 0deg); }
  85%  { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--drift), 105vh, 0) rotate3d(1, .4, 0, var(--spin)); }
}
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }
.fit-err { font-size: 13.5px; font-weight: 600; color: var(--viz-red); }
.fit-back { margin-top: 22px; }
.fit-verdict { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.fit-verdict .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 13px; }
.fit-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.f { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.f small { font-weight: 500; color: var(--g2); margin-left: 6px; }
.f input {
  font: inherit; font-weight: 500; font-size: 15px; color: var(--ink);
  padding: 13px 16px; border: 0; border-radius: var(--r-md); box-shadow: var(--ring-soft); background: var(--paper);
}
.f input:focus { outline: none; box-shadow: var(--ring); }
.fit-fine { margin-top: 16px; font-size: 13px; color: var(--g2); }

/* Calendar: compact, day grid and time slots side by side so it fits in one view */
.cal { margin-top: 18px; max-width: 640px; border-radius: var(--r-lg); box-shadow: var(--ring-soft); padding: 22px 24px; display: grid; grid-template-columns: 320px 1fr; gap: 0 26px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; grid-column: 1; }
.cal-month { font-weight: 700; font-size: 14px; }
.cal-nav { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: var(--ring-soft); font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink); }
.cal-nav:hover:not(:disabled) { background: var(--g5); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 38px); justify-content: space-between; gap: 6px 0; grid-column: 1; }
.cal-dow { margin-top: 14px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--g2); text-align: center; }
.cal-grid { margin-top: 2px; }
.cal-day { width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--paper); font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; transition: background .15s; }
.cal-day:hover:not(:disabled) { background: var(--g4); }
.cal-day:disabled { color: var(--g3); cursor: default; }
.cal-day.today { box-shadow: inset 0 0 0 1px var(--g3); }
.cal-day.on { background: var(--ink); color: var(--paper); }
.cal-slots { grid-column: 2; grid-row: 1 / 4; border-left: 1px solid var(--g4); padding-left: 26px; align-self: start; }
.cal-slots .chips { display: grid; grid-template-columns: 1fr; gap: 8px; }
.cal-slots .chips label { display: block; }
.cal-slots .chips span { display: block; text-align: center; padding: 11px 14px; font-size: 14px; border-radius: var(--r-sm); box-shadow: none; border: 1px solid var(--g3); }
.cal-slots .chips label:hover span { background: var(--g5); }
.cal-slots .chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
.cal-hint { font-size: 13px; font-weight: 600; color: var(--g1); margin-bottom: 10px; }
.cal-slots .chips span small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: var(--g2); }
.cal-slots .chips input:checked + span small { color: inherit; opacity: .75; }
.cal-slots .chips label.taken span { color: var(--g3); border-color: var(--g4); text-decoration: line-through; cursor: default; }
.cal-slots .chips label.taken span small { text-decoration: none; color: var(--g3); }
.cal-slots .chips label.taken:hover span { background: var(--paper); }
.cal-day.full { text-decoration: line-through; }
.cal-tz { display: grid; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--ink); max-width: 320px; }
.cal-tz select {
  font: inherit; font-weight: 500; font-size: 15px; color: var(--ink); cursor: pointer;
  padding: 12px 40px 12px 16px; border: 0; border-radius: var(--r-md); box-shadow: var(--ring-soft); background: var(--paper);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.cal-tz select:focus { outline: none; box-shadow: var(--ring); }
.fit-done { text-align: left; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .dash { grid-template-columns: 1fr; }
  .dash-figs { grid-template-columns: repeat(3, 1fr); }
  .feed-list, .bonus-notes, .contact-grid { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .step, .step.flip { grid-template-columns: minmax(0, 1fr); }
  .step > * { min-width: 0; }
  .step.flip .step-info { order: 0; }
  .step-info { padding: 40px 28px 8px; }
  /* The mock stays legible and swipes sideways inside its card instead of stretching the page */
  .step-shot, .step.flip .step-shot { padding: 28px 0 0 24px; min-height: 0; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .step-shot::-webkit-scrollbar { display: none; }
  .step.flip .shot { border-radius: var(--r-md) 0 0 0; }
  .shot { max-width: none; min-width: 560px; flex: none; }
  .tpl { grid-template-columns: 1fr; }
  .tpl-list { border-right: 0; border-bottom: 1px solid var(--g4); grid-template-columns: 1fr 1fr; }
  .tpl-list .lbl, .tpl-item.add { grid-column: 1 / -1; }
  .float-card.b, .float-card.c { display: none; }
  .stage { overflow: hidden; }
  .float-card { min-width: 170px; padding: 12px 14px; }
  .float-card .fc-v { font-size: 22px; }
  .stage { min-height: 360px; }
  section { padding: 72px 0; }
  html { scroll-padding-top: 16px; }
  .plan-main, .plan-feats { padding: 40px 28px; }
  .cta-card { border-radius: var(--r-xl); }
  .cta-end-card { padding: 32px 28px; }
  .fit-fields { grid-template-columns: 1fr; }
  /* Phones: title, then the picker or fields, then the button */
  .screen.cols { grid-template-columns: 1fr; gap: 0; }
  .screen.cols .col-l, .screen.cols .col-r { display: contents; }
  .screen.cols .col-r > * { order: 2; margin-top: 22px; }
  .screen.cols .fit-actions { order: 3; }
  .screen.cols .fit-fine { order: 4; }
  .chips.big span { padding: 15px 20px; font-size: 16px; }
  .page-fit .foot-links { display: none; }
  .page-fit main { padding-bottom: 60px; }
  .cal { grid-template-columns: 1fr; padding: 14px; }
  .cal-dow, .cal-grid { grid-template-columns: repeat(7, 1fr); justify-items: center; }
  .cal-slots { grid-column: 1; grid-row: auto; border-left: 0; padding-left: 0; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--g4); }
  summary { padding: 20px 22px; font-size: 16px; }
  details p { padding: 0 22px 22px; font-size: 14.5px; }
}
@media (max-width: 520px) {
  .nav { padding: 8px 8px 8px 14px; }
  .brand span { display: none; }
  .nav-cta .btn.ghost { display: none; }
  .dash { padding: 16px; }
  .dash-figs { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 140px; }
  .btn.xl { padding: 20px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card { animation: none; }
  * { transition: none !important; }
}
