﻿/* ============================================================
   ClearBinder â€” editorial redesign
   ============================================================ */

/* ---- scroll-reveal + hover micro-animations ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(.22,.61,.36,1), transform 700ms cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"] { transform: translateX(-24px); }
[data-reveal="left"].in-view { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="right"].in-view { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal="scale"].in-view { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.pain-list li,
.features-list li,
.trust-points li,
.faq-item,
.timeline li,
.usecase-list li,
.plan,
.preview-row {
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}
.pain-list li:hover { background: color-mix(in oklch, var(--accent), transparent 96%); }
.features-list li:hover { transform: translateX(4px); }
.trust-points li:hover .ico { transform: scale(1.08) rotate(-3deg); }
.trust-points .ico { transition: transform 240ms cubic-bezier(.22,.61,.36,1); }
.plan:hover { transform: translateY(-4px); }
.plan.is-featured:hover { transform: translateY(-6px); }
.pricing-grid.pricing-grid--single .plan:hover,
.pricing-grid.pricing-grid--single .plan.is-featured:hover { transform: none; }

/* Single-plan editorial treatment — bordered card with internal
   hairline-separated sections. */
.pricing-head--centered {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  text-align: center;
}
.pricing-head--centered .pricing-switch { align-self: center; }

/* Header band: plan name + tag, light-paper background so the band
   reads as a header strip. Full-bleed (radius clips it via overflow). */
.pricing-grid--single .plan-name {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--rule);
  padding: 16px clamp(28px, 3.5vw, 40px);
  justify-content: space-between;
  color: var(--ink);
  font-weight: 600;
}

/* Price block: big serif number, currency superscript, cadence inline. */
.pricing-grid--single .plan-price {
  padding-top: 32px;
  padding-bottom: 8px;
  font-size: clamp(64px, 7.5vw, 88px);
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}
.pricing-grid--single .plan-price .cur {
  font-size: 0.32em;
  align-self: flex-start;
  margin-top: 0.55em;
  color: var(--muted);
}
.pricing-grid--single .plan-price .plan-cadence {
  font-size: 13px;
  margin-left: 4px;
  color: var(--muted);
}

/* Blurb under price — supporting line, not a heading. */
.pricing-grid--single .plan-blurb {
  padding-bottom: 24px;
  min-height: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* Features section sits below a full-width hairline. */
.pricing-grid--single .plan-features {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  padding-bottom: 28px;
  gap: 12px;
}
.pricing-grid--single .plan-features li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

/* Footer band: hairline above, CTA + small reassurance underneath. */
.pricing-grid--single .plan-footer {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.pricing-grid--single .plan-footer .btn--primary {
  padding: 14px 22px;
  font-size: 15px;
}
.pricing-grid--single .plan-reassurance {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

:root {
  /* palette: Workshop Indigo (matches original) */
  --bg: #ffffff;
  --bg-elev: #f6f7fb;
  --ink: #1c2d84;
  --ink-soft: #4a5aa8;
  --muted: #8a90b3;
  --rule: #e3e6f1;
  --accent: #4357d4;
  --accent-soft: #e7eaf7;
  --invert-bg: #1c2d84;
  --invert-fg: #ffffff;

  --serif: "Instrument Serif", "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1280px;
}

[data-palette="ink"] {
  --bg: oklch(0.97 0.004 90);
  --bg-elev: oklch(0.985 0.003 90);
  --ink: oklch(0.18 0.01 250);
  --ink-soft: oklch(0.36 0.008 250);
  --muted: oklch(0.55 0.006 90);
  --rule: oklch(0.85 0.005 90);
  --accent: oklch(0.45 0.16 255);
  --accent-soft: oklch(0.92 0.04 250);
  --invert-bg: oklch(0.18 0.01 250);
  --invert-fg: oklch(0.97 0.004 90);
}

[data-palette="forest"] {
  --bg: oklch(0.96 0.012 110);
  --bg-elev: oklch(0.98 0.008 110);
  --ink: oklch(0.22 0.04 160);
  --ink-soft: oklch(0.40 0.04 160);
  --muted: oklch(0.55 0.014 110);
  --rule: oklch(0.85 0.018 110);
  --accent: oklch(0.45 0.10 160);
  --accent-soft: oklch(0.92 0.04 150);
  --invert-bg: oklch(0.22 0.04 160);
  --invert-fg: oklch(0.96 0.012 110);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

::selection { background: var(--accent); color: var(--bg); }

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

/* ---- layout primitives ---- */
.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
}

.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ---- type ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.012em;
  line-height: 0.98;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.display--hero { font-size: clamp(44px, 6.5vw, 88px); }
.display--xl   { font-size: clamp(44px, 6.5vw, 92px); }
.display--lg   { font-size: clamp(36px, 5vw, 72px); }
.display--md   { font-size: clamp(28px, 3.8vw, 52px); }

.lede {
  font-family: var(--sans);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
  text-wrap: pretty;
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover { background: var(--accent); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--light {
  background: var(--bg);
  color: var(--ink);
}
.btn--light:hover { background: var(--accent-soft); }

.btn .arrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  margin-left: 2px;
  transition: transform 160ms ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg), transparent 18%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }

.nav-inner {
  /* Desktop: 3-column grid — brand (auto) | menu space (1fr) | actions (auto).
     The 1fr column is the empty space between brand and right-side actions,
     so centering the menu inside it places it visually between the two,
     NOT in the dead-centre of the viewport (which a flex layout drifts to). */
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px 0;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand-word {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
}
.brand-word__clear { color: #0c1a4a; }
.brand-word__binder { color: #2563eb; }

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}
.nav-toggle span {
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-collapse {
  /* display:contents promotes nav-links + nav-actions to direct grid items
     of .nav-inner, so they land in cols 2 and 3 of the auto/1fr/auto grid.
     On the mobile breakpoint below this is overridden back to a real
     drawer so the dropdown layout still works. */
  display: contents;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  /* Explicit grid placement so source order (which puts the menu second
     in the DOM) lines up regardless of any auto-flow ambiguity. */
  grid-column: 2;
  justify-self: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  /* Grid places this in column 3 (1fr) and justify-self pins it to the
     right edge. margin-left:auto is no longer needed under grid and would
     just confuse cascade if a future override added it back. */
  grid-column: 3;
  justify-self: end;
}
.nav-actions .login {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 10px 14px;
}
.nav-actions .login:hover { color: var(--ink); }
.nav-actions .btn { padding: 11px 18px; font-size: 14px; }

@media (max-width: 900px) {
  .nav-inner {
    /* Override the desktop grid back to flex so brand sits left and the
       hamburger sits right (nav-collapse is position:absolute below and
       doesn't participate in the flex row). */
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    font-size: 20px;
    gap: 8px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-collapse {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--rule);
    background: color-mix(in oklch, var(--bg), white 3%);
    box-shadow: 0 18px 36px -24px color-mix(in oklch, var(--ink), transparent 65%);
  }

  .nav-collapse.is-open {
    display: flex;
  }

  .nav-links {
    margin: 0;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: var(--accent-soft);
    color: var(--ink);
  }

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nav-actions .login {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid var(--rule);
    border-radius: 999px;
    padding: 10px 14px;
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding-top: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(40px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 30%, color-mix(in oklch, var(--accent), transparent 86%) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, color-mix(in oklch, var(--accent), transparent 92%) 0%, transparent 65%),
    var(--bg-elev);
  border-bottom: 1px solid var(--rule);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklch, var(--ink), transparent 95%) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklch, var(--ink), transparent 95%) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
  opacity: 0.5;
}
.hero .shell { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.hero-grid[data-variant="stack"] {
  grid-template-columns: 1fr;
  gap: 64px;
}

.hero-grid[data-variant="asym"] {
  grid-template-columns: 1.4fr 1fr;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  background: var(--accent-soft);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  align-self: flex-start;
}
.hero-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse-dot 1.6s ease-out infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent), transparent 40%); }
  100% { box-shadow: 0 0 0 10px color-mix(in oklch, var(--accent), transparent 100%); }
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-family: var(--serif);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}

.hero-trust {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  align-self: flex-start;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.hero-trust li:first-child { padding-left: 0; }
.hero-trust li:last-child { border-right: 0; }
.hero-trust li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5 L7 11.5 L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 100% 100%;
  flex: 0 0 auto;
}
.hero-trust li + li::before {
  margin-right: 0;
}

/* ---- product mock ---- */
.mock-frame {
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--bg-elev);
  overflow: visible;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.02),
    0 30px 60px -30px color-mix(in oklch, var(--ink), transparent 80%);
  position: relative;
}
.mock-frame > .mock-chrome,
.mock-frame > .mock-body { position: relative; z-index: 1; }
.mock-frame > .mock-chrome { border-top-left-radius: 14px; border-top-right-radius: 14px; }
.mock-frame > .mock-body { border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; overflow: hidden; }

.mock-toast {
  position: absolute;
  right: -16px;
  top: 64px;
  z-index: 5;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 16px 12px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px -20px color-mix(in oklch, var(--ink), transparent 50%);
  animation: toast-in 360ms cubic-bezier(.22,.61,.36,1);
  font-family: var(--sans);
  min-width: 220px;
}
.mock-toast strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.mock-toast span {
  display: block;
  font-size: 11px;
  color: color-mix(in oklch, var(--bg), transparent 35%);
  font-family: var(--mono);
}
.mock-toast-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent), transparent 70%);
}
@keyframes toast-in {
  0%   { transform: translateX(20px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.mock-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.6);
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.mock-chrome .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--rule);
}
.mock-chrome .url {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  padding: 4px 10px;
  background: var(--bg-elev);
  border-radius: 6px;
  border: 1px solid var(--rule);
}

.mock-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 380px;
}

.mock-side {
  border-right: 1px solid var(--rule);
  padding: 18px 16px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-side-h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.mock-client {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
}
.mock-client .av {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 14px;
  display: grid;
  place-items: center;
}
.mock-client.is-active {
  background: var(--bg-elev);
  outline: 1px solid var(--rule);
}
.mock-client .pulse {
  margin-left: auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 1.6s ease-out infinite;
  color: var(--accent);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklch, currentColor, transparent 40%); }
  100% { box-shadow: 0 0 0 9px color-mix(in oklch, currentColor, transparent 100%); }
}

.mock-main {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-main-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.mock-main-head h6 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.mock-main-head .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.mock-progress {
  height: 2px;
  background: var(--rule);
  border-radius: 2px;
  overflow: hidden;
}
.mock-progress > i {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 600ms cubic-bezier(.22,.61,.36,1);
}

.mock-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.mock-list li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.mock-list .check {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--rule);
  position: relative;
  transition: all 240ms ease;
}
.mock-list li.is-done .check {
  background: var(--accent);
  border-color: var(--accent);
}
.mock-list li.is-done .check::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 10px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.mock-list li.is-done .label {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: color-mix(in oklch, var(--muted), transparent 50%);
}
.mock-list .label { color: var(--ink); }
.mock-list .status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--rule);
}
.mock-list li.is-done .status {
  color: var(--accent);
  border-color: color-mix(in oklch, var(--accent), transparent 60%);
  background: var(--accent-soft);
}

/* ---- hero onboarding mock (form-typing animation) ---- */
.mock-side-section {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.mock-side-active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--accent-soft);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.mock-side-active em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
}
.mock-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-side-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--ink-soft);
  transition: background 200ms ease, color 200ms ease, transform 320ms cubic-bezier(.22,.61,.36,1);
}
.mock-side-list li.is-active {
  background: color-mix(in oklch, var(--accent), transparent 92%);
  color: var(--ink);
}
.mock-side-list .check {
  width: 14px; height: 14px;
  border-radius: 4px;
  border: 1.5px solid var(--rule);
  position: relative;
  flex: 0 0 auto;
  transition: all 240ms ease;
}
.mock-side-list li.is-done .check {
  background: var(--accent);
  border-color: var(--accent);
}
.mock-side-list li.is-done .check::after {
  content: "";
  position: absolute;
  left: 3px; top: 0px;
  width: 4px; height: 8px;
  border: solid var(--bg);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.mock-side-list li.is-done .lbl {
  color: var(--muted);
}

.mock-q-card {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 18px 18px 20px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
  transition: opacity 400ms ease, transform 400ms ease;
}
.mock-q-card.is-inactive {
  opacity: 0.45;
}
.mock-q-card.is-active {
  opacity: 1;
  box-shadow: 0 8px 28px -16px color-mix(in oklch, var(--ink), transparent 75%);
}
.mock-q-viewport {
  --card-h: 168px;
  --card-gap: 12px;
  height: calc(var(--card-h) + var(--card-gap) + 40px);
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 28px), transparent 100%);
}
.mock-q-track {
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  transition: transform 700ms cubic-bezier(.22, .61, .36, 1);
}
.mock-q-viewport .mock-q-card {
  height: var(--card-h);
}
.mock-q-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--sans);
}
.mock-q-label em {
  font-style: normal;
  color: var(--accent);
  margin-left: 2px;
}
.mock-input {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--bg-elev);
  padding: 10px 12px;
  min-height: 38px;
  display: flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink);
  position: relative;
}
.mock-input-empty { min-height: 38px; }
.mock-typing { white-space: pre; }
.mock-caret {
  display: inline-block;
  width: 1.5px;
  height: 16px;
  background: var(--accent);
  margin-left: 2px;
  animation: caret-blink 1s steps(2) infinite;
}
@keyframes caret-blink {
  50% { opacity: 0; }
}
.mock-warn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--accent);
  font-family: var(--sans);
}
.mock-warn-icon {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex: 0 0 auto;
}
.mock-warn-icon::after {
  content: "!";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--bg);
  font-weight: 700;
  font-family: var(--sans);
  line-height: 1;
}
.mock-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.mock-link {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--sans);
}
.mock-button {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 500;
  position: relative;
  overflow: visible;
  transition: transform 120ms ease, background 160ms ease, box-shadow 160ms ease;
}
.mock-button.is-pressed {
  transform: translateY(1px) scale(0.96);
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent), transparent 75%);
}
.mock-click-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  transform: translate(-50%, -50%);
  animation: click-ring 480ms ease-out forwards;
  pointer-events: none;
}
@keyframes click-ring {
  0%   { width: 14px; height: 14px; opacity: 0.9; }
  100% { width: 56px; height: 56px; opacity: 0; }
}

/* ============================================================
   AUDIENCE STRIP
   ============================================================ */

.audience {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(48px, 6vw, 84px) 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 1024px) { .audience-grid { grid-template-columns: 1fr; } }

.role-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  align-items: baseline;
}
.role-row li {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 0 14px;
  border-right: 1px solid var(--rule);
  line-height: 1.1;
}
.role-row li:first-child { padding-left: 0; }
.role-row li:last-child { border-right: 0; }
.role-row li.accent { color: var(--accent); font-style: italic; }

/* ============================================================
   Mobile centering — every section's heading lockup (eyebrow,
   display title, lede paragraph) centers on phones. Desktop is
   untouched. Also centers eyebrow's leading-dash decoration and
   the audience role row.
   ============================================================ */
@media (max-width: 640px) {
  .eyebrow,
  .display,
  .lede {
    text-align: center;
  }

  /* The eyebrow pseudo-element draws a short leading dash on the left.
     Hide it on mobile so the centered label doesn't look offset. */
  .eyebrow::before {
    display: none;
  }

  /* Audience role row: chips wrap centered (3 top, 2 below pattern).
     Pipe separators dropped on mobile — they look awkward when items
     wrap mid-row. */
  .role-row {
    justify-content: center;
    column-gap: 0;
    row-gap: 6px;
  }
  .role-row li {
    font-size: clamp(20px, 5.4vw, 26px);
    padding: 0 10px;
  }
  .role-row li,
  .role-row li:first-child,
  .role-row li:last-child {
    border-right: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ============================================================
   PROBLEM
   ============================================================ */

.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-head { display: flex; flex-direction: column; gap: 20px; }

.pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.pain-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.pain-list .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 4px;
}
.pain-list .pain {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.pain-list li:hover .num { color: var(--accent); }

/* ============================================================
   STATEMENT (drenched)
   ============================================================ */

.statement {
  background: var(--invert-bg);
  color: var(--invert-fg);
  position: relative;
  overflow: hidden;
}
.statement .eyebrow { color: color-mix(in oklch, var(--invert-fg), transparent 40%); }
.statement .display { color: var(--invert-fg); }

.statement-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1100px;
}
.statement-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.statement-lines > span { display: block; }
.statement-lines .emph {
  color: var(--accent);
  font-style: italic;
}
.statement-sub {
  color: color-mix(in oklch, var(--invert-fg), transparent 30%);
  max-width: 60ch;
  font-size: clamp(17px, 1.2vw, 20px);
}

.statement::before,
.statement::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
}
.statement::before {
  width: 420px; height: 420px;
  background: var(--accent);
  top: -120px; right: -120px;
}
.statement::after {
  width: 320px; height: 320px;
  background: var(--accent-soft);
  bottom: -120px; left: -60px;
  opacity: 0.15;
}

/* ============================================================
   PRODUCT PREVIEW â€” alternating
   ============================================================ */

.preview-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.preview-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 80px);
}

.preview-row {
  display: grid;
  grid-template-columns: 0.72fr 1.88fr;
  gap: clamp(18px, 2.8vw, 44px);
  align-items: center;
}
.preview-row > * {
  min-width: 0;
}
.preview-row.reverse {
  grid-template-columns: 1.88fr 0.72fr;
}
.preview-row.reverse .preview-text { order: 2; }

@media (max-width: 900px) {
  .preview-row, .preview-row.reverse { grid-template-columns: 1fr; }
  .preview-row.reverse .preview-text { order: 0; }
}

.preview-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.preview-text .step {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.preview-text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
.preview-text p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
  max-width: 46ch;
  margin: 0;
}

/* shot placeholders */
.shot {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: 0 30px 60px -40px color-mix(in oklch, var(--ink), transparent 80%);
}
.shot:not(.has-image) {
  aspect-ratio: 16 / 8.6;
  min-height: clamp(320px, 38vw, 560px);
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in oklch, var(--ink), transparent 95%) 0 1px,
      transparent 1px 14px
    ),
    var(--bg-elev);
}
.shot.has-image {
  background: var(--bg-elev);
}
.shot-image-button {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
}
.shot-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.shot-chrome .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rule);
}
.shot-label {
  position: absolute;
  left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.shot-image {
  position: relative;
  width: 100%;
  height: auto;
  image-rendering: auto;
  display: block;
  background: var(--bg-elev);
}
.shot-expand-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklch, var(--accent), transparent 72%);
  background: color-mix(in oklch, var(--bg), transparent 12%);
  box-shadow: 0 10px 24px -14px color-mix(in oklch, var(--ink), transparent 75%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(2px) scale(0.95);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
  pointer-events: none;
}
.shot-expand-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shot-image-button:hover .shot-expand-icon,
.shot-image-button:focus-visible .shot-expand-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.shot-image-button:focus-visible {
  outline: 2px solid color-mix(in oklch, var(--accent), white 10%);
  outline-offset: -2px;
}

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: color-mix(in oklch, #081125, transparent 22%);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 44px);
}
.shot-lightbox-frame {
  width: min(1360px, 94vw);
  max-height: 90vh;
  border-radius: 16px;
  overflow: auto;
  border: 1px solid color-mix(in oklch, var(--rule), white 8%);
  background: var(--bg);
  box-shadow: 0 36px 80px -34px rgba(9, 15, 38, 0.65);
}
.shot-lightbox-image {
  width: 100%;
  height: auto;
  display: block;
}
.shot-lightbox-close {
  position: absolute;
  top: clamp(12px, 2.2vw, 24px);
  right: clamp(12px, 2.2vw, 24px);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklch, var(--rule), white 20%);
  background: color-mix(in oklch, var(--bg), transparent 15%);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.shot-lightbox-close:hover,
.shot-lightbox-close:focus-visible {
  border-color: color-mix(in oklch, var(--accent), transparent 56%);
}

/* ============================================================
   HOW IT WORKS â€” timeline
   ============================================================ */

.timeline-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; }
}

.timeline li {
  padding: 28px 22px 28px 22px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.timeline li:first-child { padding-left: 0; }
.timeline li:last-child { border-right: 0; padding-right: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  top: -1px; left: 22px;
  width: 32px; height: 2px;
  background: var(--accent);
}
.timeline li:first-child::before { left: 0; }
.timeline .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 4px;
}
.timeline h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  margin: 0;
  letter-spacing: -0.005em;
}
.timeline p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   FEATURES
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr; } }

.features-head { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}
@media (max-width: 720px) { .features-list { grid-template-columns: 1fr; } }

.features-list li {
  padding: 22px 4px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.features-list li:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 24px; }
@media (max-width: 720px) { .features-list li:nth-child(odd) { border-right: 0; padding-right: 4px; } }
.features-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 12px;
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing-bg { background: var(--bg-elev); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.pricing-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 48px);
  max-width: 800px;
}

.pricing-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.pricing-switch {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px;
  align-self: flex-start;
}
.pricing-switch button {
  padding: 8px 18px;
  font-size: 13px;
  font-family: var(--sans);
  font-weight: 500;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 180ms ease;
}
.pricing-switch button.is-active {
  background: var(--ink);
  color: var(--bg);
}
.pricing-switch .save {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.pricing-switch button.is-active .save { color: var(--accent-soft); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

/* Single-plan layout: one centered, bordered card.
   Matches the site's card vocabulary (.compare uses the same border
   + radius). Internal sections separated by hairlines, not boxes. */
.pricing-grid.pricing-grid--single {
  grid-template-columns: 1fr;
  max-width: 30rem;
  margin: 0 auto;
  border: 0;
  background: transparent;
}
.pricing-grid.pricing-grid--single .plan {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.pricing-grid.pricing-grid--single .plan > *:not(.plan-name):not(.plan-divider) {
  padding-left: clamp(28px, 3.5vw, 40px);
  padding-right: clamp(28px, 3.5vw, 40px);
}

.plan {
  padding: clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

/* Featured plan: in multi-plan grids, an indigo hairline sets it apart.
   In the single-plan case there's nothing to set apart, so no marks. */
.plan.is-featured {
  background: var(--bg);
  box-shadow: inset 0 3px 0 0 var(--accent);
}
.pricing-grid.pricing-grid--single .plan.is-featured {
  box-shadow: none;
}

.plan-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-tag {
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--invert-fg);
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Single-plan: keep the tag visible — it balances the header band. */
.pricing-grid.pricing-grid--single .plan-tag {
  background: transparent;
  color: var(--accent);
  border: 1px solid color-mix(in oklch, var(--accent), transparent 70%);
  padding: 3px 8px;
}

.plan-price {
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-price .cur {
  font-size: 0.4em;
  color: var(--muted);
  font-family: var(--serif);
}
.plan-price .amt { transition: opacity 200ms ease; }
.plan-price .amt.is-swap { opacity: 0; }

.plan-cadence {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.plan-blurb {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  min-height: 42px;
  margin: 0;
}

.plan .btn { justify-content: center; width: 100%; }
.plan .btn--primary {
  background: var(--accent);
  color: var(--invert-fg);
  transition: background-color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.plan .btn--primary:hover,
.plan .btn--primary:focus-visible {
  background: var(--ink);
  color: var(--invert-fg);
}

.plan-divider {
  height: 1px;
  background: var(--rule);
  margin: 4px 0;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  gap: 10px;
  color: var(--ink);
}
.plan-features li::before {
  content: "\2192";
  color: var(--accent);
  font-family: var(--sans);
  flex: 0 0 auto;
}

/* ============================================================
   BEFORE / AFTER
   ============================================================ */

.compare-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 48px);
  max-width: 720px;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

.compare-col { padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.compare-col.before { border-right: 1px solid var(--rule); background: var(--bg-elev); }
.compare-col.after { background: var(--invert-bg); color: var(--invert-fg); }
@media (max-width: 720px) {
  .compare-col.before { border-right: 0; border-bottom: 1px solid var(--rule); }
}

.compare-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  color: var(--muted);
}
.compare-col.after h4 { color: var(--accent); }

.compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.compare-col li {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  padding: 16px 0;
  border-bottom: 1px solid color-mix(in oklch, currentColor, transparent 85%);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.compare-col li:last-child { border-bottom: 0; }
.compare-col.before li::before {
  content: "-";
  color: var(--muted);
}
.compare-col.after li::before {
  content: "+";
  color: var(--accent);
}

/* ============================================================
   INDUSTRIES
   ============================================================ */

.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .industries-grid { grid-template-columns: 1fr; } }

.industries-head { display: flex; flex-direction: column; gap: 20px; }

.pill-row {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-row li {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--bg-elev);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 180ms ease;
}
.pill-row li:hover { color: var(--ink); border-color: var(--ink); }
.pill-row li.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.usecase-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--rule);
}
.usecase-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.usecase-list li::after {
  content: "\2192";
  color: var(--muted);
  font-size: 18px;
  transition: transform 180ms ease, color 180ms ease;
}
.usecase-list li:hover::after { color: var(--accent); transform: translateX(4px); }

.flow {
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.flow-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.flow-row:last-child { border-bottom: 0; }
.flow-row strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.005em;
}
.flow-row span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.flow-row.is-active strong { color: var(--accent); }
.flow-row.is-active span { color: var(--accent); }

/* ============================================================
   TRUST
   ============================================================ */

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-head { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }

.trust-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.trust-points li {
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 18px;
  align-items: start;
}
.trust-points li:first-child { border-top: 1px solid var(--rule); }
.trust-points .ico {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklch, var(--accent), transparent 60%);
  position: relative;
  margin-top: 4px;
}
.trust-points .ico::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 2px;
  background: var(--accent);
}
.trust-points strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 24px);
  letter-spacing: -0.005em;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}
.trust-points p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-copy { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }

.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.005em;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-q .plus {
  width: 22px; height: 22px;
  position: relative;
  flex: 0 0 auto;
  transition: transform 240ms ease;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  inset: 50% 0 0 0;
  height: 1.5px;
  background: var(--ink);
  transform-origin: center;
}
.faq-q .plus::after {
  inset: 0 50% 0 50%;
  width: 1.5px;
  height: 100%;
  transition: transform 240ms ease;
}
.faq-item.is-open .faq-q .plus::after { transform: scaleY(0); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms ease;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div {
  overflow: hidden;
}
.faq-a p {
  margin: 0 0 24px 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
  max-width: 56ch;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.final {
  background: var(--invert-bg);
  color: var(--invert-fg);
  position: relative;
  overflow: hidden;
}
.final-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.final h2 { color: var(--invert-fg); }
.final h2 em { color: var(--accent); font-style: italic; font-family: var(--serif); }
.final .fine {
  font-family: var(--mono);
  font-size: 12px;
  color: color-mix(in oklch, var(--invert-fg), transparent 40%);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.final::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.25;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */

.foot {
  padding: 56px 0 28px;
  border-top: 1px solid var(--rule);
  background: var(--paper, transparent);
}

/* Five-column desktop layout: brand block takes more space, four link
   columns (Product / Company / Account / Legal) share the rest. Collapses
   to two columns on tablet (brand spans both) and one column on phones. */
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 360px;
}
.foot-brand-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}
.foot-brand-word {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.foot-brand-accent { color: var(--accent); font-style: italic; }
.foot-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.foot-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foot-col-head {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-col a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms ease-out;
}
.foot-col a:hover { color: var(--ink); }

.foot-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.foot-meta { color: var(--muted); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }

@media (max-width: 880px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .foot-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 540px) {
  .foot { padding: 40px 0 22px; }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ============================================================
   RESPONSIVE FIXES (mobile + tablet)
   ============================================================ */

@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .preview-row,
  .preview-row.reverse {
    grid-template-columns: 1fr;
  }

  .preview-row.reverse .preview-text {
    order: 0;
  }
}

@media (max-width: 1024px) {
  .shell {
    --gutter: clamp(16px, 3.5vw, 28px);
  }

  .display--hero { font-size: clamp(38px, 8vw, 64px); }
  .display--xl { font-size: clamp(36px, 7.2vw, 62px); }
  .display--lg { font-size: clamp(30px, 6vw, 52px); }
  .display--md { font-size: clamp(24px, 4.8vw, 42px); }

  /* On narrow viewports, `text-wrap: balance` aggressively shrinks heading
     lines into equal widths — which means a long sentence stacks one word
     per line. `pretty` still avoids widows/orphans but lets the line use
     its natural width first. */
  .display { text-wrap: pretty; }

  .mock-toast {
    right: 10px;
    top: 10px;
    min-width: 0;
    max-width: calc(100% - 20px);
  }
}

@media (max-width: 900px) {
  .features-head,
  .trust-head,
  .faq-copy {
    position: static;
    top: auto;
  }

  .mock-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mock-side {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
}

@media (max-width: 760px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline li {
    border-right: 0;
    padding: 22px 0;
  }

  .timeline li::before,
  .timeline li:first-child::before {
    left: 0;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    width: 100%;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-trust li {
    padding: 0;
    border-right: 0;
  }

  .pain-list li {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .flow {
    padding: 20px;
  }

  .flow-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 0;
  }

  .compare-col li {
    font-size: clamp(18px, 5.6vw, 24px);
  }

  .shot-lightbox {
    padding: 12px;
  }

  .shot-lightbox-frame {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 12px;
  }
}

@media (max-width: 560px) {
  .btn {
    padding: 12px 16px;
    font-size: 14px;
    white-space: normal;
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 28px;
  }

  .section {
    padding: 44px 0;
  }

  .mock-main {
    padding: 14px;
  }

  .mock-q-viewport {
    --card-h: 186px;
    height: calc(var(--card-h) + var(--card-gap) + 28px);
  }

  .mock-q-card {
    padding: 14px;
  }

  .preview-text p,
  .lede,
  .plan-blurb,
  .trust-points p,
  .faq-a p {
    font-size: 15px;
  }

  .preview-text h3 {
    font-size: clamp(28px, 10vw, 40px);
  }

  .plan {
    padding: 22px 16px;
  }

  .pricing-switch button {
    padding: 8px 12px;
  }

  .faq-q {
    font-size: clamp(18px, 6.2vw, 24px);
    padding: 16px 0;
    gap: 12px;
  }

  .foot {
    padding: 24px 0;
  }

  .foot-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

