/* StackSignal marketing site. One stylesheet, no framework, no third-party requests.
   Type and colour come from the product's own console so the screenshots and the page agree:
   Archivo (variable width) for everything, IBM Plex Mono only for real data.
   Two themes: light is the default; dark follows the system or the header switch (theme.js). */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #ffffff; --bg-2: #f4f6f7; --surface: #ffffff; --surface-2: #f7f9fa;
  --ink: #0f1417; --ink-2: #4a5560; --muted: #656f79;
  --line: #e3e7ea; --line-2: #d3d9de;
  --brand: #14b8a6;          /* identity only — never text on white (2.5:1) */
  --brand-ink: #0b7c70;      /* text-safe teal */
  --accent: #2563eb; --violet: #7c3aed;
  --btn-bg: #0f1417; --btn-ink: #ffffff; --btn-hover: #263038;
  --head-bg: rgba(255,255,255,.82);
  --glow-a: rgba(20,184,166,.20); --glow-b: rgba(37,99,235,.16); --glow-c: rgba(124,58,237,.10);
  --frame-bar: #f3f5f6; --frame-dot: #d5dbdf;
  --shadow-frame: 0 1px 2px rgba(15,20,23,.05), 0 24px 48px -24px rgba(15,20,23,.28), 0 60px 120px -60px rgba(37,99,235,.30);
  --night: #0c1114; --night-2: #151b1f; --night-line: #26303a; --night-ink: #e9eef1; --night-muted: #9aa6b0;
  --t-claude: #eb6834; --t-copilot: #2a78d6; --t-codex: #5b4bc4; --t-gemini: #1baf7a; --t-antigravity: #e39b00; --t-opencode: #6f7a84;
  --notice-bg: #fff7e6; --notice-line: #f3d9a4; --notice-ink: #6b4b06;
  --r-ctl: 10px; --r-panel: 16px;
  --max: 1440px; --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a0f12; --bg-2: #0f161a; --surface: #121a1f; --surface-2: #162027;
  --ink: #eef3f5; --ink-2: #b3bfc7; --muted: #8b98a1;
  --line: #1f2b33; --line-2: #2c3a44;
  --brand-ink: #5eead4; --accent: #6ea8ff;
  --btn-bg: #eef3f5; --btn-ink: #0a0f12; --btn-hover: #ffffff;
  --head-bg: rgba(10,15,18,.78);
  --glow-a: rgba(20,184,166,.24); --glow-b: rgba(96,165,250,.18); --glow-c: rgba(167,139,250,.14);
  --frame-bar: #172128; --frame-dot: #33434e;
  --shadow-frame: 0 1px 2px rgba(0,0,0,.5), 0 30px 60px -28px rgba(0,0,0,.75), 0 60px 140px -60px rgba(20,184,166,.28);
  --night: #060a0c; --night-2: #0f161a; --night-line: #1f2b33;
  --t-codex: #8f80ff; --t-copilot: #4f98ee; --t-opencode: #9aa5ad;
  --notice-bg: #2a2113; --notice-line: #5c4720; --notice-ink: #f3d9a4;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; interpolate-size: allow-keywords; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.55; font-weight: 420; font-stretch: 100%;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.theme-switching body, .theme-switching body * { transition: background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease !important; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: var(--r-ctl); z-index: 20; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: "Plex Mono", ui-monospace, "Cascadia Mono", monospace; font-size: .86em; letter-spacing: -.01em; }
.only-dark { display: none !important; }
[data-theme="dark"] .only-dark { display: block !important; }
[data-theme="dark"] .only-light { display: none !important; }

/* ── type ───────────────────────────────────────────────── */
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: .98; font-weight: 740; font-stretch: 122%; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.04; font-weight: 700; font-stretch: 116%; letter-spacing: -.026em; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 660; font-stretch: 108%; letter-spacing: -.01em; }
p { margin: 0; }
.lede { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.small { font-size: 15px; color: var(--muted); }

/* ── buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: var(--r-ctl); font: inherit; font-size: 17px; font-weight: 640; font-stretch: 106%; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 8px 24px -10px rgba(20,184,166,.55); }
.btn-primary:hover { background: var(--btn-hover); box-shadow: 0 12px 30px -10px rgba(20,184,166,.7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; font-size: 15px; padding: 0 16px; box-shadow: none; }
.btn-on-dark { background: #fff; color: #0f1417; }
.btn-on-dark:hover { background: #e4f6f3; }
.play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ── header ─────────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 10; background: var(--head-bg); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.logo { display: flex; align-items: center; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 16px; font-weight: 540; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; transition: transform .3s var(--ease), border-color .2s; }
.theme-toggle:hover { border-color: var(--ink); transform: rotate(-18deg); }
.theme-toggle svg { width: 19px; height: 19px; grid-area: 1 / 1; transition: opacity .3s, transform .45s var(--ease); }
.theme-toggle .i-moon { fill: currentColor; }
.theme-toggle .i-sun { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.theme-toggle .i-sun circle { fill: currentColor; stroke: none; }
.theme-toggle .i-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
[data-theme="dark"] .theme-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
[data-theme="dark"] .theme-toggle .i-sun { opacity: 1; transform: none; }
@media (max-width: 920px) { .nav { display: none; } .theme-toggle { margin-left: auto; } }

/* ── hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--line-2) 1px, transparent 1.2px); background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); opacity: .55; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 1100px) { .hero-grid { grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); gap: 50px; } }
.hero h1 { max-width: 675px; font-size: clamp(49px, 4.65vw, 69px); line-height: 1.035; font-weight: 780; font-stretch: 100%; letter-spacing: -.045em; }
.hero h1 em { color: var(--brand-ink); font-style: normal; }
.hero-sub { margin-top: 26px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: var(--ink-2); max-width: 24em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(20,184,166,.18); }
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-sub, .hero-actions, .hero-note { animation: rise .8s var(--ease) both; }
  .hero-sub { animation-delay: .18s; } .hero-actions { animation-delay: .28s; } .hero-note { animation-delay: .36s; }
  .hero-note::before { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(20,184,166,0); } }

/* the signal flow: a fixed-ratio stage, so the SVG's lines meet the HTML chips */
.flow { position: relative; aspect-ratio: 1000 / 640; container-type: inline-size; }
.flow-glow { position: absolute; inset: -8% -12% -10% 18%; background: radial-gradient(closest-side at 55% 50%, var(--glow-a), transparent 70%), radial-gradient(closest-side at 80% 30%, var(--glow-b), transparent 70%), radial-gradient(closest-side at 40% 80%, var(--glow-c), transparent 70%); filter: blur(10px); z-index: 0; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.fl { fill: none; stroke-width: 1.6; stroke-dasharray: 3 8; opacity: .55; }
.flow-tools { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; z-index: 3; }
.chip { position: absolute; left: var(--x); top: var(--y); width: 21.4%; height: 9.7%; display: flex; align-items: center; gap: .8cqw;
  padding: 0 1.2cqw; border-radius: 1.4cqw; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(15,20,23,.35);
  font-size: 1.62cqw; font-weight: 640; font-stretch: 104%; color: var(--ink); white-space: nowrap; }
.chip-mark { width: 2.6cqw; height: 2.6cqw; flex: none; color: var(--ink); }
.chip-mark svg { width: 100%; height: 100%; fill: currentColor; }
.chip i { margin-left: auto; width: .8cqw; height: .8cqw; border-radius: 50%; flex: none; box-shadow: 0 0 0 .5cqw rgba(20,184,166,.0); }
.flow-window { position: absolute; left: 33%; top: 15.6%; width: 67%; z-index: 2; margin: 0;
  transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: chip-in .7s var(--ease) both; animation-delay: calc(.35s + var(--i) * .08s); }
  .chip i { animation: blink 2.8s ease-in-out infinite; animation-delay: calc(1.5s + var(--i) * .29s); }
  .flow-window { animation: window-in 1.1s var(--ease) .15s both; }
  .fl { animation: dash 1.4s linear infinite; }
  .flow-glow { animation: breathe 9s ease-in-out infinite; }
}
@keyframes chip-in { from { opacity: 0; transform: translateX(-18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes window-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes blink { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.8); } 24% { transform: scale(1); } }
@keyframes breathe { 50% { transform: scale(1.06) translateY(-1%); opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .flow-dots { display: none; } }
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(40px, 10vw, 48px); line-height: 1.05; }
  .flow { aspect-ratio: auto; container-type: normal; }
  .flow-lines, .flow-glow { display: none; }
  .flow-tools { position: static; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
  .chip { position: static; width: auto; height: auto; padding: 8px 12px; gap: 8px; border-radius: 10px; font-size: 14px; }
  .chip-mark { width: 18px; height: 18px; } .chip i { display: none; }
  .flow-window { position: static; width: 100%; transform: none; animation: none; }
}

/* ── browser-style frame around every screenshot ── */
.frame { border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-frame); overflow: hidden; margin: 0; }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--frame-bar); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--frame-dot); }
.frame-bar span { margin-left: 10px; font-size: 12.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 12px; }
.frame img { width: 100%; }
/* screenshots stay flat: a 3D tilt resamples them, which blurred their text and made them look stretched (21 Oct) */
.frame picture, .flow-window picture { display: contents; }

/* a screenshot opens full size from its frame (the script adds the button). On a phone a whole app screen is too small
   to read inside the page, so there the full-size view keeps real size and pans instead of shrinking to fit. */
.frame-bar .zoom-open { margin-left: auto; display: grid; place-items: center; width: 28px; height: 22px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--muted); cursor: zoom-in; }
.frame-bar .zoom-open:hover { color: var(--ink); }
.frame-bar .zoom-open svg { width: 13px; height: 13px; }
.can-zoom .frame img { cursor: zoom-in; }
.zoom { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.zoom::backdrop { background: rgba(6, 10, 13, .9); }
.zoom-scroll { display: flex; width: 100%; height: 100%; overflow: auto; overscroll-behavior: contain; padding: 60px 24px 24px; }
.zoom-scroll img { margin: auto; width: auto; height: auto; max-width: min(100%, var(--w)); max-height: calc(100dvh - 84px); border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 80px rgba(0, 0, 0, .45); }
.zoom-close { position: fixed; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: rgba(16, 22, 26, .85); color: #fff; font: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
html.zooming { overflow: hidden; }
@media (max-width: 760px) { .zoom-scroll { padding: 60px 12px 16px; } .zoom-scroll img { width: var(--w); max-width: none; max-height: none; } }
@media (prefers-reduced-motion: no-preference) { .zoom[open] { animation: zoom-fade .25s var(--ease); } }
@keyframes zoom-fade { from { opacity: 0; } }

/* ── proof band, counted up on arrival ── */
.proof { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.stat { padding: 22px 24px 0 0; }
.stat b { display: flex; align-items: baseline; gap: 6px; font-size: clamp(40px, 4.4vw, 64px); font-weight: 720; font-stretch: 120%; letter-spacing: -.03em; line-height: 1; }
.stat b small { font-size: .38em; font-weight: 640; letter-spacing: 0; color: var(--ink-2); font-stretch: 108%; }
.stat > span { display: block; margin-top: 8px; font-size: 15.5px; color: var(--ink-2); max-width: 22ch; }
.stat b span { font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; } }

/* ── sections ───────────────────────────────────────────── */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; overflow-x: clip; }
.proof { overflow-x: clip; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: clamp(36px, 4vw, 60px); }
.section-head p { max-width: 38em; color: var(--ink-2); font-size: 19px; }
@media (min-width: 1000px) { .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 56px; } }

/* reveals: only once the script runs, so a page without it shows everything */
.reveal-ready [data-reveal]:not(.in) { opacity: 0; transform: translateY(26px); }
.reveal-ready [data-reveal="zoom"]:not(.in) { transform: scale(.94) translateY(18px); }
.reveal-ready [data-reveal="left"]:not(.in) { transform: translateX(-40px); }
.reveal-ready [data-reveal="right"]:not(.in) { transform: translateX(40px); }
@media (max-width: 760px) { .reveal-ready [data-reveal="left"]:not(.in), .reveal-ready [data-reveal="right"]:not(.in) { transform: translateY(26px); } }
[data-reveal] { transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }

/* product questions: tabs with a sliding marker */
.questions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.q-tabs { display: none; }
.js .q-tabs { display: inline-flex; position: relative; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); width: max-content; max-width: 100%; overflow-x: auto; }
.q-tabs::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--tab-w, 0); transform: translateX(var(--tab-x, 0)); border-radius: 999px; background: var(--ink); transition: transform .45s var(--ease), width .45s var(--ease); opacity: 0; }
.q-tabs.ready::before { opacity: 1; }
.q-tab { position: relative; z-index: 1; font: inherit; font-size: 16px; font-weight: 620; font-stretch: 106%; padding: 10px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .3s; }
.q-tab[aria-selected="true"] { color: var(--bg); }
.q-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.js .q-panel[hidden] { display: none; }
.q-panel.enter .q-copy { animation: rise .6s var(--ease) both; }
.q-panel.enter .frame { animation: shot-in .8s var(--ease) both; }
@keyframes shot-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.q-copy h3 { font-size: clamp(26px, 2.6vw, 36px); font-stretch: 114%; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.q-copy p { color: var(--ink-2); }
.q-copy ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.q-copy li { padding-left: 24px; position: relative; color: var(--ink); font-size: 17px; }
.q-copy li::before { content: ""; position: absolute; left: 0; top: .48em; width: 11px; height: 11px; border-radius: 3px; background: linear-gradient(135deg, var(--brand), var(--accent)); }
@media (min-width: 1000px) { .q-panel { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }

/* developers */
.dev-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.dev-quote { margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; color: var(--ink-2); font-size: 17px; }
.checks { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; }
.checks li::before { content: ""; width: 14px; height: 8px; margin-top: .45em; border-left: 2.5px solid var(--brand-ink); border-bottom: 2.5px solid var(--brand-ink); transform: rotate(-45deg); }
@media (min-width: 1000px) { .dev-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; } .dev-grid .frame { order: -1; } }

/* how it works: a real sequence, so it is numbered; the line draws itself on arrival */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--accent), var(--violet)); transform-origin: left; transform: scaleX(var(--drawn, 1)); transition: transform 1.4s var(--ease) .2s; }
.reveal-ready .steps:not(.in)::before { --drawn: 0; }
.step { position: relative; padding: 0; }
.step-num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--brand); color: var(--brand-ink); font-weight: 760; font-stretch: 120%; font-size: 24px; margin-bottom: 22px; box-shadow: 0 0 0 6px var(--bg-2); }
.step p { color: var(--ink-2); margin-top: 10px; }
.steps .step { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-ready .steps:not(.in) .step { opacity: 0; transform: translateY(20px); }
.steps .step:nth-child(2) { transition-delay: .35s; } .steps .step:nth-child(3) { transition-delay: .7s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 34px; } .steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--drawn, 1)); } .step { padding-left: 80px; min-height: 56px; } .step-num { position: absolute; left: 0; top: 0; margin: 0; } }

/* privacy: the dark band, with the redaction demo */
.night { background: var(--night); color: var(--night-ink); border-block: 1px solid var(--night-line); }
.night h2, .night h3 { color: #fff; }
.night .section-head p { color: var(--night-muted); }
.night a { color: #5eead4; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1100px) { .privacy-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: stretch; } }
.redact { border-radius: var(--r-panel); background: linear-gradient(160deg, #111a20, #0b1115); border: 1px solid var(--night-line); padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.redact-head { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--night-muted); }
.redact-head i { width: 9px; height: 9px; border-radius: 50%; background: #5eead4; box-shadow: 0 0 0 4px rgba(94,234,212,.15); }
.redact p.mono { font-size: 15.5px; line-height: 1.75; color: #dbe4e9; word-break: break-word; }
.redact-row { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; align-items: start; padding-top: 16px; border-top: 1px solid var(--night-line); }
.redact-tag { font-size: 12.5px; font-weight: 640; color: var(--night-muted); border: 1px solid var(--night-line); border-radius: 6px; padding: 2px 0; text-align: center; margin-top: 3px; }
.redact-row.out .redact-tag { color: #5eead4; border-color: rgba(94,234,212,.45); }
mark.raw { background: rgba(240,113,113,.14); color: #ffd2d2; border-radius: 4px; padding: 1px 3px; text-decoration: underline wavy rgba(240,113,113,.55); text-underline-offset: 4px; }
.secret { border-radius: 4px; padding: 1px 3px; transition: background-color .3s, color .3s; }
.secret.scan { background: rgba(240,113,113,.28); color: #ffd9d9; box-shadow: 0 0 0 1px rgba(240,113,113,.6); }
.secret.done { background: rgba(94,234,212,.14); color: #5eead4; }
.redact-sent { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--night-muted); margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--night-line); }
.redact-sent b { color: #fff; font-weight: 620; }
.redact-sent svg { width: 18px; height: 18px; fill: none; stroke: #5eead4; stroke-width: 2; opacity: .35; transition: opacity .4s, transform .4s var(--ease); }
.redact.sent .redact-sent svg { opacity: 1; transform: translateX(4px); }
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--r-panel); overflow: hidden; }
.ledger > div { background: var(--night-2); padding: 24px 22px; }
.ledger h3 { font-size: 18px; margin-bottom: 14px; }
.ledger ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; color: var(--night-muted); font-size: 15.5px; }
.ledger li::marker { color: #5eead4; }
.ledger .no li::marker { color: #f07171; }
@media (max-width: 900px) { .ledger { grid-template-columns: 1fr; } }

/* tools */
.tool-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tile { position: relative; padding: 22px 20px 20px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s, opacity .8s var(--ease) var(--d, 0ms); }
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sig); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.tile:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 18px 40px -22px rgba(15,20,23,.4); }
.tile:hover::after { transform: scaleX(1); }
.tile-mark { width: 40px; height: 40px; color: var(--ink); margin-bottom: 6px; }
.tile-mark svg { width: 100%; height: 100%; fill: currentColor; }
.tile b { font-size: 18px; font-weight: 680; font-stretch: 108%; }
.tile-where { font-size: 14.5px; color: var(--ink-2); }
.tools-note { margin-top: 22px; max-width: 70em; }
@media (max-width: 1100px) { .tool-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tool-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* pricing — a comparison, with a yearly/monthly switch */
.billing { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 22px; }
.billing button { font: inherit; font-size: 15px; font-weight: 620; border: 0; border-radius: 999px; padding: 8px 16px; background: transparent; color: var(--ink-2); cursor: pointer; transition: background-color .25s, color .25s; }
.billing button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.billing .save { font-size: 12.5px; font-weight: 640; color: var(--brand-ink); margin-left: 6px; }
.billing button[aria-pressed="true"] .save { color: var(--brand); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: var(--r-panel); overflow: hidden; background: var(--surface); }
.plan { padding: 30px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: background-color .3s; }
.plan:last-child { border-right: 0; }
.plan.featured { background: linear-gradient(180deg, rgba(20,184,166,.10), transparent 60%); box-shadow: inset 0 3px 0 var(--brand); }
.plan h3 { font-size: 20px; }
.price { font-size: 44px; font-weight: 740; font-stretch: 118%; letter-spacing: -.025em; line-height: 1; }
.price small { font-size: 15px; font-weight: 480; color: var(--muted); letter-spacing: 0; font-stretch: 100%; display: block; margin-top: 6px; line-height: 1.4; }
.price .amount { display: inline-block; }
.price.flip .amount { animation: flip .45s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(-10px) rotateX(60deg); } to { opacity: 1; transform: none; } }
.plan ul { margin: 4px 0 0; padding: 0 0 0 18px; display: grid; gap: 7px; font-size: 15.5px; color: var(--ink-2); }
.plan .btn { margin-top: auto; }
.pilot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding: 22px 26px; border: 1px dashed var(--line-2); border-radius: var(--r-panel); background: var(--surface); }
.pilot p { max-width: 52em; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan:nth-child(2) { border-right: 0; } .plan:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .plan { border-right: 0; border-bottom: 1px solid var(--line); } }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); padding: 4px 0; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-weight: 640; font-size: 19px; font-stretch: 104%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 50em; }

/* closing band, with the session strip drifting behind it */
.closing { position: relative; overflow: hidden; padding: clamp(80px, 9vw, 128px) 0; background: #0c1114; color: #fff; }
.closing .wrap { position: relative; z-index: 1; }
.closing h2 { color: #fff; max-width: 16ch; }
.closing p { color: #b9c4cc; margin-top: 18px; max-width: 34em; }
.closing .hero-actions { margin-top: 32px; }
.closing .btn-ghost { color: #fff; border-color: #4a5560; }
.closing .btn-ghost:hover { border-color: #fff; }
.closing-strip { position: absolute; left: 0; bottom: 0; width: 200%; display: flex; opacity: .5; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.closing-strip > div { flex: 0 0 50%; }
@media (prefers-reduced-motion: no-preference) { .closing-strip { animation: drift 60s linear infinite; } }
@keyframes drift { to { transform: translateX(-50%); } }

/* footer */
.site-foot { padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-logo img { height: 24px; width: auto; }

/* plain document pages (security, support, privacy, terms, demo, tour, 404) */
.doc { padding: clamp(48px, 6vw, 88px) 0 96px; }
.doc .wrap { max-width: 920px; }
.doc h1 { font-size: clamp(36px, 4.6vw, 60px); max-width: none; }
.doc h2 { font-size: 26px; font-stretch: 108%; margin: 46px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { color: var(--ink); font-weight: 620; }
.notice { margin: 24px 0; padding: 16px 18px; border-radius: var(--r-ctl); background: var(--notice-bg); border: 1px solid var(--notice-line); color: var(--notice-ink); font-size: 16px; }
.doc.wide .wrap { max-width: 1240px; }
.videos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 36px; }
.videos figure { margin: 0; }
.videos video { width: 100%; display: block; background: #000; }
.videos figcaption { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.videos figcaption b { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .doc h1, .doc .lede { animation: rise .7s var(--ease) both; } .doc .lede { animation-delay: .1s; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
