/* ===========================================================================
   PrivacyStage: landing page styles
   Apple-clean, light. Tokens mirror DESIGN.md. Zero hardcoded hex in components.
   =========================================================================== */

:root {
  /* Backgrounds */
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-alt: #fbfbfd;
  --surface-hover: #ececf0;
  --ink-bg: #000000;
  --ink-surface: #1d1d1f;
  --ink-surface-2: #272729;

  /* Borders */
  --border: rgba(0, 0, 0, 0.10);
  --border-hover: rgba(0, 0, 0, 0.22);
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Text (light) */
  --text: #1d1d1f;
  --text-secondary: rgba(0, 0, 0, 0.72);
  --text-tertiary: rgba(0, 0, 0, 0.48);

  /* Text (dark) */
  --text-invert: #f5f5f7;
  --text-invert-secondary: rgba(255, 255, 255, 0.72);
  --text-invert-tertiary: rgba(255, 255, 255, 0.48);

  /* Accent (only chromatic color) */
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;

  /* RGB */
  --bg-rgb: 255, 255, 255;
  --ink-rgb: 0, 0, 0;
  --accent-rgb: 0, 113, 227;

  /* Semantic */
  --success: #1a7f37;
  --error: #d70015;
  --warning: #bf5700;

  /* Elevation */
  --shadow-card: 0 5px 30px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 12px 48px rgba(0, 0, 0, 0.14);
  --nav-glass: rgba(255, 255, 255, 0.72);

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --container: 1120px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Reset-ish ------------------------------------------------------------------ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

/* Layout --------------------------------------------------------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
.narrow { max-width: 760px; }
section { padding-block: clamp(72px, 12vh, 128px); position: relative; }
.section-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: clamp(40px, 6vh, 64px); }

.eyebrow {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; display: block;
}
.on-ink .eyebrow { color: var(--link-dark); }

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }
h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 400; line-height: 1.4; color: var(--text-secondary); }
.muted { color: var(--text-secondary); }
.accent-word { color: var(--accent); }

/* Scenes --------------------------------------------------------------------- */
.scene-surface { background: var(--surface); }
.scene-alt { background: var(--surface-alt); }
.scene-ink { background: var(--ink-bg); color: var(--text-invert); }
.on-ink { color: var(--text-invert); }
.on-ink .lead, .on-ink .muted { color: var(--text-invert-secondary); }
.on-ink h1, .on-ink h2, .on-ink h3 { color: var(--text-invert); }

/* Cards ------------------------------------------------------------------ */
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--border-hover); }
.card:focus-within { border-color: var(--accent); }
.on-ink .card { background: var(--ink-surface); border-color: var(--border-dark); }

/* Buttons -------------------------------------------------------------------- */
.btn {
  font: 500 1.0625rem/1 var(--font-sans); display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: 980px; border: 1px solid transparent; cursor: pointer;
  transition: background .25s ease, transform .15s ease, box-shadow .25s ease, color .25s ease;
  text-decoration: none; white-space: nowrap; min-height: 44px;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(.985); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-secondary { background: transparent; color: var(--link); border-color: currentColor; }
.btn-secondary:hover { background: rgba(var(--accent-rgb), .06); }
.on-ink .btn-secondary { color: #fff; }
.on-ink .btn-secondary:hover { background: rgba(255, 255, 255, .1); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.1rem; }
:where(a, button, [tabindex], summary):focus-visible {
  outline: none; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .35); border-radius: 12px;
}

.btn-link { color: var(--link); background: none; border: none; padding: 0; font: 500 1rem/1 var(--font-sans); cursor: pointer; display: inline-flex; align-items: center; gap: .2rem; }
.btn-link:hover { text-decoration: underline; }
.btn-link::after { content: "›"; font-size: 1.15em; transition: transform .2s ease; }
.btn-link:hover::after { transform: translateX(3px); }
.on-ink .btn-link { color: var(--link-dark); }

.cta-row { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; }

/* Badges --------------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .45rem; font: 600 .75rem/1 var(--font-sans);
  letter-spacing: .03em; padding: .45rem .75rem; border-radius: 980px;
  background: var(--surface); color: var(--text-secondary); border: 1px solid var(--border);
}
.on-ink .badge { background: var(--ink-surface); color: var(--text-invert-secondary); border-color: var(--border-dark); }
.badge-accent { background: rgba(var(--accent-rgb), .10); color: var(--accent); border-color: transparent; }
.badge-dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 3px rgba(26, 127, 55, .18);
}
.badge-row { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }

/* ============================ NAV ============================ */
.nav {
  position: fixed; inset: 0 0 auto 0; height: 52px; z-index: 100; display: flex; align-items: center;
  justify-content: space-between; padding: 0 clamp(1rem, 4vw, 2.5rem); background: transparent;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: var(--nav-glass); backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--border);
}
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; text-decoration: none; color: var(--text); }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: .9rem; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: .5rem 1.1rem; min-height: 36px; font-size: .95rem; }

/* ============================ HERO ============================ */
.hero { padding-top: 132px; padding-bottom: clamp(60px, 10vh, 110px); text-align: center; overflow: hidden; }
.hero .lead { max-width: 640px; margin: 1.4rem auto 2rem; }
.hero-cta { justify-content: center; }
.hero-sub { margin-top: 1rem; font-size: .95rem; color: var(--text-tertiary); }

/* hero product stage */
.stage { position: relative; margin-top: clamp(48px, 8vh, 84px); }
.stage::before {
  content: ""; position: absolute; left: 50%; top: 38%; width: min(760px, 90%); height: 320px;
  transform: translate(-50%, -50%); z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .18), transparent 72%);
  filter: blur(6px); pointer-events: none;
}
.stage-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; text-align: left; }
.will-parallax { will-change: transform; transform: translateY(var(--sy, 0px)); }

/* ============================ APP MOCK (macOS window) ============================ */
.window {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-float);
}
.window-bar { display: flex; align-items: center; gap: 1rem; padding: .7rem .9rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.traffic { display: flex; gap: .45rem; }
.traffic i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.traffic .r { background: #ff5f57; } .traffic .y { background: #febc2e; } .traffic .g { background: #28c840; }
.window-title { font-size: .82rem; font-weight: 600; color: var(--text-secondary); }
.window-body { padding: 1.1rem; }

.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.panel-head .badge { font-size: .68rem; padding: .3rem .55rem; }
.newmon {
  display: inline-flex; align-items: center; gap: .5rem; width: 100%; justify-content: center;
  padding: .65rem; border-radius: 10px; border: 1px dashed var(--border-hover);
  color: var(--accent); font-weight: 600; font-size: .9rem; background: rgba(var(--accent-rgb), .04); margin-bottom: 1rem;
}

.monitor-card { border: 1px solid var(--border); border-radius: 12px; padding: .9rem; background: var(--surface-alt); }
.mc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.mc-name { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.mc-name svg { width: 17px; height: 17px; color: var(--accent); }
.res-pill { font-size: .7rem; font-weight: 600; color: var(--text-secondary); background: var(--surface); border: 1px solid var(--border); border-radius: 980px; padding: .2rem .55rem; }

/* toggle */
.toggle { width: 38px; height: 22px; border-radius: 980px; background: var(--accent); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 18px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: left .25s var(--ease); }
.toggle.off { background: var(--border-hover); } .toggle.off::after { left: 2px; }

.tag-label { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-tertiary); margin: .2rem 0 .55rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.win-chip {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 500;
  padding: .4rem .65rem; border-radius: 9px; border: 1px solid var(--border); background: var(--bg);
  color: var(--text-secondary); transition: border-color .25s, color .25s, background .25s, transform .25s var(--ease);
}
.win-chip .ico { width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; }
.win-chip.tagged { border-color: var(--accent); color: var(--text); background: rgba(var(--accent-rgb), .06); }
.win-chip.tagged::after { content: "✓"; color: var(--accent); font-weight: 700; font-size: .8rem; }
.win-chip.app::before { content: "via app"; order: 3; font-size: .6rem; color: var(--text-tertiary); background: var(--surface); padding: .1rem .3rem; border-radius: 5px; }

/* ---- dark window variant (mirrors the real PrivacyStage UI, which runs in dark mode) ---- */
.window.window-dark { background: var(--ink-surface); border-color: var(--border-dark); }
.window-dark .window-bar { background: var(--ink-surface-2); border-bottom-color: var(--border-dark); }
.window-dark .window-title,
.window-dark .panel-head strong { color: var(--text-invert); }
.window-dark .tag-label { color: var(--text-invert-tertiary); }
.window-dark .monitor-card { background: rgba(255, 255, 255, .03); border-color: var(--border-dark); }
.window-dark .mc-name { color: var(--text-invert); }
.window-dark .win-chip { background: rgba(255, 255, 255, .04); border-color: var(--border-dark); color: var(--text-invert-secondary); }
.window-dark .win-chip.tagged { background: rgba(var(--accent-rgb), .18); border-color: var(--link-dark); color: var(--text-invert); }
.window-dark .win-chip.app::before { background: rgba(255, 255, 255, .08); color: var(--text-invert-tertiary); }
.window-dark .res-pill { background: rgba(255, 255, 255, .06); border-color: var(--border-dark); color: var(--text-invert-secondary); }
.window-dark .newmon { background: rgba(var(--accent-rgb), .14); border-color: rgba(41, 151, 255, .4); color: var(--link-dark); }

/* monitor list (sidebar): mirrors the real "Design / Development" list */
.monitor-list { display: grid; gap: .55rem; margin-bottom: 1rem; }
.monitor-row {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .7rem .8rem; border-radius: 10px; border: 1px solid transparent; cursor: default;
}
.monitor-row .mr-name { display: flex; align-items: center; gap: .55rem; }
.monitor-row .status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none; }
.monitor-row .mr-text strong { display: block; font-size: .92rem; }
.monitor-row .mr-text span { display: block; font-size: .72rem; color: var(--text-invert-tertiary); }
.monitor-row.active { background: rgba(var(--accent-rgb), .22); }
.monitor-row.active .mr-text strong { color: var(--text-invert); }

/* layout picker dropdown, as seen in-app */
.layout-picker { position: relative; display: inline-block; }
.layout-pop {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 5; width: 220px;
  background: var(--ink-surface-2); border: 1px solid var(--border-dark); border-radius: 10px;
  box-shadow: var(--shadow-float); padding: .35rem; font-size: .85rem;
}
.layout-opt { display: flex; align-items: center; gap: .55rem; padding: .55rem .6rem; border-radius: 7px; color: var(--text-invert-secondary); }
.layout-opt.sel { background: var(--accent); color: #fff; font-weight: 600; }
.layout-opt svg { width: 16px; height: 16px; flex: none; }

/* menu-bar extra mock */
.menubar-mock { background: var(--ink-surface); border: 1px solid var(--border-dark); border-radius: 14px; padding: 1.1rem; box-shadow: var(--shadow-float); }
.menubar-mock .mb-header { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--text-invert); margin-bottom: .9rem; }
.menubar-mock .mb-section-label { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-invert-tertiary); margin: .8rem 0 .5rem; }
.menubar-mock .mb-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .5rem .6rem; border-radius: 8px; }
.menubar-mock .mb-row.on { background: rgba(var(--accent-rgb), .18); }
.menubar-mock .mb-row .mb-name { display: flex; align-items: center; gap: .55rem; font-size: .86rem; color: var(--text-invert-secondary); }
.menubar-mock .mb-row.on .mb-name { color: var(--text-invert); }

/* shared preview screen */
.share-preview { position: relative; }
.screen {
  border-radius: 14px; border: 1px solid var(--border-dark); background: var(--ink-surface); overflow: hidden;
  box-shadow: var(--shadow-float); aspect-ratio: 16 / 10;
}
.screen-bar { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; background: var(--ink-surface-2); border-bottom: 1px solid var(--border-dark); }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--error); box-shadow: 0 0 0 3px rgba(215, 0, 21, .2); }
.screen-title { font-size: .75rem; color: var(--text-invert-secondary); font-weight: 500; }
.screen-stage { position: relative; height: calc(100% - 34px); padding: 1rem; display: grid; place-items: center; }
.app-frame {
  position: absolute; inset: 1rem; border-radius: 10px; display: flex; flex-direction: column;
  opacity: 0; transform: scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease);
  overflow: hidden; border: 1px solid rgba(255, 255, 255, .14);
}
.app-frame.active { opacity: 1; transform: scale(1); }
.app-frame .af-bar { height: 26px; display: flex; align-items: center; gap: .4rem; padding: 0 .6rem; font-size: .7rem; font-weight: 600; color: #fff; }
.app-frame .af-body { flex: 1; }

/* ============================ MARQUEE / STATEMENT ============================ */
.statement h2 { max-width: 14ch; }
.split-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 2.5rem; }
.compare-card { border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--border); }
.compare-card.bad { background: var(--surface); }
.compare-card.good { background: rgba(var(--accent-rgb), .05); border-color: rgba(var(--accent-rgb), .25); }
.compare-card h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.compare-card ul { margin: 0; padding-left: 1.1rem; color: var(--text-secondary); }
.compare-card li { margin-bottom: .5rem; }
.compare-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.compare-card.bad .compare-tag { color: var(--text-tertiary); }
.compare-card.good .compare-tag { color: var(--accent); }

/* ============================ STEPS ============================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.4rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; display: grid; place-items: center; margin-bottom: 1rem; font-size: .95rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { font-size: .95rem; color: var(--text-secondary); }

/* ============================ SIGNATURE DEMO ============================ */
.sig { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
.sig-controls { display: flex; flex-direction: column; gap: .7rem; }
.sig-chip {
  display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg); cursor: default; text-align: left; width: 100%;
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.sig-chip .ico { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8rem; flex: none; }
.sig-chip .sig-name { font-weight: 600; font-size: .98rem; }
.sig-chip .sig-meta { font-size: .8rem; color: var(--text-tertiary); }
.sig-chip[data-live="true"] { border-color: var(--accent); background: rgba(var(--accent-rgb), .06); transform: translateX(6px); box-shadow: var(--shadow-card); }
.sig-chip .live-tag { margin-left: auto; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); opacity: 0; transition: opacity .3s; }
.sig-chip[data-live="true"] .live-tag { opacity: 1; }

.sig-screen .screen { aspect-ratio: 16 / 9; }

/* ============================ BENTO ============================ */
.bento { display: grid; gap: 20px; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); }
.bento-card {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg); padding: 1.7rem; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--border-hover); }
.bento-card .b-icon { width: 44px; height: 44px; border-radius: 11px; background: rgba(var(--accent-rgb), .10); color: var(--accent); display: grid; place-items: center; margin-bottom: 1rem; }
.bento-card .b-icon svg { width: 22px; height: 22px; }
.bento-card h3 { margin-bottom: .5rem; }
.bento-card p { font-size: .95rem; color: var(--text-secondary); }
.b-wide { grid-column: span 4; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; }
.b-tall { grid-row: span 2; }
.bento-card.spotlight::before {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(240px at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .10), transparent 60%);
  transition: opacity .3s;
}
.bento-card.spotlight:hover::before { opacity: 1; }
.bento-card .b-body { position: relative; z-index: 1; }

/* mini grid-layout illustration inside a bento card */
.mini-grid { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-grid span { aspect-ratio: 16/10; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); }
.mini-grid span.on { background: rgba(var(--accent-rgb), .12); border-color: rgba(var(--accent-rgb), .3); }

/* ============================ ALTERNATING FEATURE ROWS ============================ */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.frow + .frow { margin-top: clamp(56px, 9vh, 104px); }
.frow.reverse .frow-media { order: -1; }
.frow-copy h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.frow-copy p { color: var(--text-secondary); margin-bottom: 1.2rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-secondary); }
.checklist svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }

/* ============================ PRICING ============================ */
.pricing-wrap { display: grid; grid-template-columns: 1fr; place-items: center; }
.price-card {
  width: min(520px, 100%); background: var(--bg); border: 1px solid var(--border); border-radius: 24px;
  padding: clamp(2rem, 4vw, 2.8rem); box-shadow: var(--shadow-card); text-align: center;
}
.price-amt { font-size: clamp(3rem, 7vw, 4.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.price-amt sup { font-size: .38em; font-weight: 600; vertical-align: super; margin-right: .1em; }
.price-cadence { color: var(--text-tertiary); font-size: .95rem; margin-top: .4rem; }
.price-list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: .8rem; text-align: left; }
.price-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-secondary); }
.price-list svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: 1px; }
.price-card .btn { width: 100%; justify-content: center; }
.price-note { font-size: .82rem; color: var(--text-tertiary); margin-top: 1rem; }

/* license key demo box */
.keybox {
  font-family: var(--font-mono); background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem 1.1rem; font-size: .82rem; color: var(--text); text-align: left;
  display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.2rem; word-break: break-all;
}
.keybox code { flex: 1; }
.copy-btn { position: relative; }
.copy-toast { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); background: var(--text); color: #fff; font-family: var(--font-sans); font-size: .72rem; font-weight: 600; padding: .3rem .55rem; border-radius: 7px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; white-space: nowrap; }
.copy-btn.copied .copy-toast { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================ FAQ ============================ */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 22px; height: 22px; position: relative; transition: transform .3s var(--ease); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--text-tertiary); border-radius: 2px; }
.faq summary .plus::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq summary .plus::after { left: 10px; top: 3px; bottom: 3px; width: 2px; transition: opacity .3s; }
.faq details[open] summary .plus { transform: rotate(90deg); }
.faq details[open] summary .plus::after { opacity: 0; }
.faq .faq-a { color: var(--text-secondary); padding-top: .9rem; font-size: 1rem; max-width: 68ch; }
.faq .faq-a a { color: var(--link); }

/* ============================ FINAL CTA ============================ */
.final { text-align: center; }
.final h2 { max-width: 16ch; margin-inline: auto; }
.final .lead { max-width: 520px; margin: 1.2rem auto 2rem; }

/* ============================ FOOTER ============================ */
footer { background: var(--bg); border-top: 1px solid var(--border); padding-block: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; margin-bottom: .8rem; }
.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }
footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-tertiary); margin: 0 0 1rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
footer a { color: var(--text-secondary); text-decoration: none; font-size: .92rem; }
footer a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--text-tertiary); }

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

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .stage-inner { grid-template-columns: 1fr; }
  .sig { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .b-wide { grid-column: span 6; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 3; } .b-tall { grid-row: span 1; }
  .frow, .frow.reverse .frow-media { grid-template-columns: 1fr; }
  .frow.reverse .frow-media { order: 0; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .features, .split-compare, .steps, .bento { grid-template-columns: 1fr; }
  .bento-card { grid-column: auto !important; grid-row: auto !important; }
  .split-compare { grid-template-columns: 1fr; }
  html { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-row { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}
@media (max-width: 400px) {
  html { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================ REDUCED MOTION ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .will-parallax { transform: none !important; }
}
