/* ============================================================
   LeadQ public site — 2026-05 rebuild.
   Dark-first, monochrome with a single indigo accent.
   One sheet, one cascade, no inline overrides per page.
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-400-latin.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-500-latin.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-700-latin.woff2") format("woff2");
  font-style: normal; font-weight: 700; font-display: swap;
}

/* ────────── 1. Tokens ────────── */
:root {
  --bg: #0A0A0B;
  --bg-elev-1: #111114;
  --bg-elev-2: #17171B;
  --bg-elev-3: #1C1C22;

  --border: #1F1F24;
  --border-strong: #2A2A30;
  --border-hover: #3A3A42;

  --text: #FAFAFA;
  --text-2: #A1A1AA;
  --text-3: #71717A;

  --accent: #6366F1;
  --accent-2: #818CF8;
  --accent-deep: #4F46E5;
  --accent-glow: rgba(99, 102, 241, 0.35);
  --accent-glow-strong: rgba(99, 102, 241, 0.55);
  --accent-tint: rgba(99, 102, 241, 0.10);
  --accent-border: rgba(99, 102, 241, 0.30);

  --success: #10B981;
  --success-tint: rgba(16, 185, 129, 0.15);
  --danger: #F43F5E;
  --danger-tint: rgba(244, 63, 94, 0.15);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shell: 1200px;

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-sm: 0 1px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --shadow-md: 0 16px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 10px 30px var(--accent-glow);
  --shadow-glow-strong: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 16px 38px var(--accent-glow-strong);
}

/* ────────── 2. Reset + base ────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient page background — single accent vignette + faint grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-glow), transparent 60%),
    linear-gradient(180deg, transparent 0%, var(--bg) 40%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

main, header.topbar, footer.footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p, h1, h2, h3, h4, h5 { margin: 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 0; }

::selection { background: var(--accent-glow-strong); color: #fff; }

/* ────────── 3. Typography ────────── */
/* Only 400/500/700 Inter weights are loaded as woff2, so headings use 700
   to avoid synthetic-bold rendering. Tracking is set per-size to compensate. */
h1, h2, h3, h4 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 500;
}
h4 {
  font-size: 16px;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 620px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
}
.eyebrow::before,
.kicker::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 12px var(--accent-glow-strong);
}

.muted { color: var(--text-3); }

/* ────────── 4. Shell ────────── */
.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* ────────── 5. Topbar / Nav ────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.025em;
  color: var(--text);
}
.brand-logo {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.25));
}
.brand-mark {
  /* legacy — kept for /mock/ reference page only */
  width: 26px; height: 26px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #A78BFA 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 20px var(--accent-glow);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: color 120ms ease, background 120ms ease;
}
.nav a:hover { color: var(--text); background: var(--bg-elev-2); }
.nav a[aria-current="page"] { color: var(--text); }
.nav .login-link { margin-left: 8px; }
.nav-cta {
  margin-left: 8px;
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 22px var(--accent-glow);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 28px var(--accent-glow-strong);
  background: var(--accent) !important;
}

/* Mobile hamburger toggle — injected by site.js. Hidden on desktop so the
   horizontal nav still owns the topbar above the breakpoint. */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-left: 8px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text-2);
  cursor: pointer;
  transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
}
.nav-toggle:hover { color: var(--text); background: var(--bg-elev-2); border-color: var(--border-hover); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-toggle-icon { display: block; }
.nav-toggle-icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon-bars { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon-close { display: block; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }

  /* `header.topbar` at the global scope wins on specificity over `.topbar`,
     which left the topbar (and the absolutely-positioned dropdown inside it)
     at z-index:1 — the same as <main>, so hero content painted over the open
     menu. Lifting the topbar to z-index:60 on mobile keeps the whole stack
     (header → dropdown) above page content without touching the base rule. */
  header.topbar { z-index: 60; }

  /* Nav becomes a full-width dropdown below the topbar. Hidden by default;
     .is-open is added by site.js when the toggle fires. The CTA flows into
     the dropdown too — a small UX shift from "CTA always visible" but it
     keeps the layout honest on narrow viewports without HTML restructuring. */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px;
    /* Fully opaque so no hero content bleeds through — 4% transparency on
       a near-black bg reads as muddy text against bright sections. */
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 24px -16px rgba(0, 0, 0, 0.6);
    /* Belt-and-braces: even with the topbar lift above, pin the dropdown
       inside its parent's stacking context too. */
    z-index: 1;
  }
  .nav.is-open { display: flex; }
  /* Brighter than the desktop's --text-2 — at phone size the links need
     to read as primary actions, not muted secondary links. */
  .nav a {
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 8px;
    color: var(--text);
  }
  .nav .login-link { margin-left: 0; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
}

/* ────────── 6. Buttons ────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: all 140ms ease;
  white-space: nowrap;
}
.button:hover {
  background: var(--bg-elev-2);
  border-color: var(--border-hover);
}
.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 10px 30px var(--accent-glow);
}
.button-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 16px 38px var(--accent-glow-strong);
}
.button .arr { transition: transform 140ms ease; display: inline-block; }
.button:hover .arr { transform: translateX(3px); }

.cta-row,
.home-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ────────── 7. Sections + reveal animation ────────── */
.section,
.home-section {
  padding: 120px 0;
  position: relative;
}
@media (max-width: 760px) {
  .section,
  .home-section { padding: 80px 0; }
}

.section-head,
.section-header,
.home-section-heading {
  text-align: left;
  max-width: 720px;
  margin: 0 0 64px;
}
.home-section-heading-centered,
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2,
.section-header h2,
.home-section-heading h2 { margin: 20px 0 16px; }
.section-head p,
.section-header p,
.home-section-heading p { color: var(--text-2); font-size: 18px; max-width: 560px; }
.home-section-heading-centered p { margin-left: auto; margin-right: auto; }

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ────────── 8. Hero (landing) ────────── */
.home-hero,
.page-hero {
  padding: 96px 0 40px;
  position: relative;
}
.home-hero { text-align: center; }
.home-hero h1 { margin: 24px auto 20px; max-width: 880px; }
.home-hero .home-lede,
.home-hero p.lede { margin: 0 auto; max-width: 620px; font-size: 19px; color: var(--text-2); line-height: 1.55; }
.home-hero .home-cta-row { margin-top: 36px; justify-content: center; }
.home-fineprint {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.home-hero .eyebrow { justify-content: center; }

.home-hero-grid {
  display: block;
  text-align: center;
}

/* Page hero (workflow/setup/pricing/legal) */
.page-hero {
  padding: 96px 0 40px;
}
.page-hero h1 { max-width: 880px; margin-bottom: 20px; }
.page-hero .page-intro,
.page-hero p {
  font-size: 19px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 620px;
  margin-top: 16px;
}
.page-hero .page-intro a { color: var(--accent-2); }
.page-hero .page-intro a:hover { text-decoration: underline; }
.page-hero .cta-row,
.page-hero .home-cta-row { margin-top: 32px; }

.legal-meta {
  font-size: 14px;
  margin-top: 12px;
  color: var(--text-3);
}
.center-story { text-align: center; }
.center-story h1, .center-story .page-intro { margin-left: auto; margin-right: auto; }
.center-story .home-cta-row,
.center-story .cta-row { justify-content: center; }

.hero-layout,
.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-layout,
  .split-layout { grid-template-columns: 1fr; gap: 40px; }
}
.legal-layout { max-width: 760px; }

/* Hero product card with glow */
.home-shell-shot,
.home-shell-shot-hero {
  margin: 72px auto 0;
  max-width: 1080px;
  position: relative;
}
.home-shell-shot::before,
.home-shell-shot-hero::before {
  content: "";
  position: absolute;
  inset: -60px -60px -20px;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, var(--accent-glow-strong), transparent 70%);
  z-index: -1;
  filter: blur(20px);
}

.product-frame,
.home-shell-shot img,
.home-shell-shot-hero img,
.site-shot img,
.settings-visual img,
.workflow-shot img {
  border-radius: var(--r-lg);
  display: block;
}

.product-frame {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 8px;
  box-shadow: var(--shadow-lg), var(--shadow-sm);
  overflow: hidden;
}
.product-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px 6px;
}
.product-frame-bar i {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: #2A2A30;
}
.product-frame-bar i:nth-child(1) { background: #E45A5A; }
.product-frame-bar i:nth-child(2) { background: #E0B33A; }
.product-frame-bar i:nth-child(3) { background: #4FBE7C; }
.product-frame img {
  border-radius: 14px;
  width: 100%;
  height: auto;
  filter: brightness(0.95) contrast(1.02);
}

/* Generic dark image frame for non-bar shots */
.site-shot,
.settings-visual {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg), var(--shadow-sm);
  position: relative;
}
.site-shot::before,
.settings-visual::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, var(--accent-glow), transparent 70%);
  z-index: -1;
  filter: blur(20px);
}
.site-shot img,
.settings-visual img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  filter: brightness(0.95) contrast(1.02);
}

/* ────────── 9. Workflow (Discover · Engage · Grow) ────────── */
.workflow-story {
  display: grid;
  gap: 0;
}
.workflow-step {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  padding: 72px 0;
}
.workflow-step + .workflow-step {
  border-top: 1px solid var(--border);
}
.workflow-step:nth-of-type(even) {
  grid-template-columns: 1.2fr 1fr;
}
.workflow-step:nth-of-type(even) .workflow-copy { order: 2; }
.workflow-step:nth-of-type(even) .workflow-shot { order: 1; }
@media (max-width: 900px) {
  .workflow-step,
  .workflow-step:nth-of-type(even) {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 0;
  }
  .workflow-step:nth-of-type(even) .workflow-copy { order: 1; }
  .workflow-step:nth-of-type(even) .workflow-shot { order: 2; }
}

.workflow-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 16px;
  display: block;
}
.workflow-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 16px;
}
.workflow-copy p {
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 24px;
  max-width: 480px;
}
.workflow-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.workflow-points li {
  padding-left: 28px;
  position: relative;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
.workflow-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
}
.workflow-points li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 4px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

.workflow-shot { position: relative; }
.workflow-shot img { max-height: 480px; object-fit: cover; object-position: top; width: 100%; }

/* ────────── 11. Feature / value grid ────────── */
.feature-grid,
.value-grid,
.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.flow-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .flow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .feature-grid,
  .value-grid,
  .flow-grid { grid-template-columns: 1fr; }
}

.feature-card,
.value-card,
.flow-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.feature-card:hover,
.value-card:hover,
.flow-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.feature-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
  border: 1px solid var(--accent-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-2);
}
.feature-card h3,
.value-card strong,
.flow-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-card p,
.value-card p,
.flow-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.flow-number {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-2);
  margin-bottom: 12px;
}

/* ────────── 13. Pricing — landing tiles ────────── */
.home-pricing-section {
  padding: 120px 0;
}
.home-pricing-wrap { display: grid; gap: 48px; }
.home-pricing-message { text-align: center; max-width: 720px; margin: 0 auto; }
.home-pricing-message .button { margin-top: 24px; }

.home-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 900px) { .home-pricing-grid { grid-template-columns: 1fr; } }

.home-plan-card,
.pricing-tier-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.home-plan-card-featured,
.pricing-tier-card[data-featured="true"] {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), transparent 50%), var(--bg-elev-1);
  border-color: transparent;
}
.home-plan-card-featured::before,
.pricing-tier-card[data-featured="true"]::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--r-lg) + 1px);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), #A78BFA 50%, transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.home-plan-card-head strong,
.pricing-tier-name {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.home-plan-card-head span,
.pricing-tier-pitch {
  display: block;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 4px;
}

.home-plan-price,
.pricing-tier-amount-wrap { display: flex; align-items: baseline; gap: 6px; }
.home-plan-price strong,
.pricing-tier-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.home-plan-price span,
.pricing-tier-amount-suffix {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.home-plan-list,
.pricing-tier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  flex: 1;
}

.home-plan-cta {
  margin-top: 8px;
  width: 100%;
}
.home-plan-list li,
.pricing-tier-list li {
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.home-plan-list li::before,
.pricing-tier-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent-2);
  font-weight: 700;
}

.pricing-tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px var(--accent-glow);
}
.pricing-tier-cta {
  margin-top: auto;
  display: grid;
  gap: 10px;
}
.pricing-tier-cta .button { width: 100%; }
.pricing-tier-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* Pricing — dedicated /pricing/ grid (3-col compact) */
.pricing-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .pricing-tier-grid { grid-template-columns: 1fr; }
}
.pricing-custom-line {
  text-align: center;
  margin-top: 28px;
  color: var(--text-2);
  font-size: 14px;
}
.pricing-custom-line a {
  color: var(--accent-2);
  font-weight: 500;
}
.pricing-custom-line a:hover { text-decoration: underline; }

/* ────────── 14. FAQ ────────── */
.home-faq-section { padding: 120px 0; }
.home-faq-wrap { display: grid; gap: 48px; }
.home-faq-list,
.home-faq-list-home {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid var(--border);
}
.home-faq-list details,
.home-faq-list-home details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.home-faq-list summary,
.home-faq-list-home summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.home-faq-list summary::-webkit-details-marker,
.home-faq-list-home summary::-webkit-details-marker { display: none; }
.home-faq-list summary::after,
.home-faq-list-home summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--text-3);
  transition: transform 200ms ease, color 200ms ease;
  flex-shrink: 0;
}
.home-faq-list details[open] summary::after,
.home-faq-list-home details[open] summary::after {
  content: "−";
  color: var(--accent-2);
}
.home-faq-list details p,
.home-faq-list-home details p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 15px;
  max-width: 640px;
}
.home-faq-list details a,
.home-faq-list-home details a { color: var(--accent-2); }
.home-faq-list details a:hover,
.home-faq-list-home details a:hover { text-decoration: underline; }

.home-faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .home-faq-layout { grid-template-columns: 1fr; gap: 32px; }
}

.home-faq-message { text-align: center; max-width: 720px; margin: 0 auto; }

/* ────────── 15. Final CTA ────────── */
.home-final-cta {
  margin: 80px auto;
  padding: 96px 32px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, var(--accent-glow-strong), transparent 70%),
    linear-gradient(180deg, var(--bg-elev-1), var(--bg-elev-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  max-width: calc(var(--shell) - 48px);
}
.home-final-cta h2 { max-width: 680px; margin: 16px auto; }
.home-final-cta p { color: var(--text-2); font-size: 18px; max-width: 540px; margin: 0 auto 32px; }
.home-final-cta .home-cta-row { justify-content: center; }
.home-final-cta .eyebrow { justify-content: center; }

/* ────────── 16. Footer ────────── */
footer.footer,
.legal-footer,
.home-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.home-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 760px) {
  .home-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.home-footer-grid > nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-footer-grid > nav strong {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin-bottom: 6px;
}
.home-footer-grid > nav a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 120ms ease;
}
.home-footer-grid > nav a:hover { color: var(--text); }
.home-footer-grid > div .brand { margin-bottom: 16px; }
.footer-trust {
  color: var(--text-2);
  font-size: 14px;
  max-width: 320px;
  margin: 0;
}

.home-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.home-footer-bottom .footer-trust {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  max-width: none;
}

/* ────────── 17. Proof pills (workflow hero) ────────── */
.proof-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.proof-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 8px var(--success-tint);
}

/* ────────── 18. Setup stepper ────────── */
.flow-grid .flow-card { position: relative; padding: 28px 24px; }
.flow-grid .flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.story-band {
  background: linear-gradient(180deg, var(--bg-elev-1), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story-band .center-story h2 { margin: 16px 0; }
.story-band .section-intro,
.story-band p {
  color: var(--text-2);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ────────── 19. Legal pages ────────── */
.legal-stack {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.legal-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 28px;
}
.legal-card h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.legal-card p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.legal-card p:last-child { margin-bottom: 0; }
.legal-card a {
  color: var(--accent-2);
}
.legal-card a:hover { text-decoration: underline; }

/* ────────── 20. Verify (utility) ────────── */
.verify-shell {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 16px;
}
.verify-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 40px 32px 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg), var(--shadow-sm);
}
.verify-card::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, var(--accent-glow), transparent 70%);
  z-index: -1;
  filter: blur(20px);
}
.verify-mark {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.verify-mark[data-state="loading"] {
  background: var(--accent);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.verify-mark[data-state="success"] {
  background: var(--success);
  box-shadow: 0 8px 24px var(--success-tint);
}
.verify-mark[data-state="error"] {
  background: var(--danger);
  box-shadow: 0 8px 24px var(--danger-tint);
}
.verify-card h1 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}
.verify-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 auto 14px;
  max-width: 360px;
}
.verify-email {
  font-weight: 700;
  color: var(--text);
}
.verify-actions {
  display: inline-flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.verify-actions a,
.verify-actions button {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  padding: 10px 18px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 140ms ease;
}
.verify-actions a:hover,
.verify-actions button:hover {
  background: var(--bg-elev-2);
  border-color: var(--border-hover);
}
.verify-actions .button-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 8px 22px var(--accent-glow);
}
.verify-actions .button-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 12px 28px var(--accent-glow-strong);
}
.verify-spin {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: verify-spin 0.7s linear infinite;
}
@keyframes verify-spin { to { transform: rotate(360deg); } }

/* ────────── 21. Plan-card action line (utility cards w/o price) ────────── */
.home-plan-action {
  margin-top: auto;
  font-size: 14px;
  color: var(--text-2);
  padding: 12px 14px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  line-height: 1.5;
}
.home-plan-action strong {
  color: var(--text);
  font-weight: 500;
}

/* ────────── 22. Utility ────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
