/* Warm, quiet chrome: the product mocks carry the colour. Light by default, dark by system or toggle. */
:root {
  --bg: #f7f7f4;
  --surface: #f0efea;
  --surface-2: #e8e7e1;
  --fg: #26251e;
  --muted: rgba(38, 37, 30, 0.62);
  --faint: rgba(38, 37, 30, 0.42);
  --border: rgba(38, 37, 30, 0.12);
  --btn: #26251e;
  --on-btn: #f7f7f4;
  --ok: #1f8a65;
  --err: #cf2d56;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1240px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #14120b;
  --surface: #1b1913;
  --surface-2: #26241d;
  --fg: #edecec;
  --muted: rgba(237, 236, 236, 0.62);
  --faint: rgba(237, 236, 236, 0.38);
  --border: rgba(237, 236, 236, 0.11);
  --btn: #edecec;
  --on-btn: #14120b;
  --ok: #4fbf95;
  --err: #f0708f;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14120b; --surface: #1b1913; --surface-2: #26241d; --fg: #edecec;
    --muted: rgba(237, 236, 236, 0.62); --faint: rgba(237, 236, 236, 0.38); --border: rgba(237, 236, 236, 0.11);
    --btn: #edecec; --on-btn: #14120b; --ok: #4fbf95; --err: #f0708f; color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mono { font-family: var(--mono); font-size: 0.86em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn); color: var(--on-btn); padding: 8px 12px; border-radius: 6px; z-index: 20; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.022em; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); max-width: 17ch; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
.feature-text h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
h3 { font-size: 1.06rem; letter-spacing: -0.01em; font-weight: 500; }
p { margin: 0; }

/* Brand marks are white artwork used as masks, so they take the text colour in either theme. */
.logo, .logo-mark { display: inline-block; background: currentColor; -webkit-mask: var(--art) no-repeat left center / contain; mask: var(--art) no-repeat left center / contain; }
.logo { --art: url(assets/logo.svg); width: 132px; height: 25px; }
.logo-mark { --art: url(assets/logo-mark.svg); width: 19px; height: 9px; }

/* --- buttons: pills ---------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--btn); color: var(--on-btn); border: 1px solid var(--btn); border-radius: 999px; padding: 7px 15px; font-size: 14px; line-height: 1.3; cursor: pointer; transition: opacity 0.15s, background 0.15s; white-space: nowrap; }
.btn:hover { opacity: 0.86; }
.btn-lg { padding: 11px 22px; font-size: 15.5px; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); opacity: 1; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }

/* --- nav --------------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav-row { display: flex; align-items: center; gap: 30px; height: 62px; }
.brand { display: flex; align-items: center; }
.nav-links { display: flex; gap: 24px; flex: 1; font-size: 14.5px; }
.nav-links a { color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 32px; height: 32px; display: grid; place-items: center; background: none; border: none; border-radius: 50%; color: var(--muted); cursor: pointer; }
.theme-toggle:hover { color: var(--fg); background: var(--surface); }

/* --- hero -------------------------------------------------------------------- */
.hero { padding-top: clamp(48px, 9vw, 104px); padding-bottom: 44px; }
.lede { margin-top: 20px; max-width: 60ch; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--faint); }
.sub { margin-top: 12px; color: var(--muted); }

/* --- painted canvases behind the product mocks -------------------------------- */
.canvas { position: relative; border-radius: 10px; overflow: hidden; isolation: isolate; padding: clamp(14px, 4vw, 56px); }
.canvas::before { content: ""; position: absolute; inset: -20%; z-index: -2; filter: blur(34px) saturate(1.15); }
.canvas::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.22; mix-blend-mode: overlay; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.canvas-hero::before { background: radial-gradient(40% 55% at 18% 22%, #c9a05a 0, transparent 70%), radial-gradient(45% 60% at 82% 18%, #5f8f86 0, transparent 70%), radial-gradient(55% 60% at 60% 90%, #8a5a3c 0, transparent 70%), radial-gradient(50% 50% at 15% 85%, #3f5a4a 0, transparent 70%), #6d6a4f; }
.canvas-a::before { background: radial-gradient(50% 60% at 20% 25%, #6fa39a 0, transparent 70%), radial-gradient(55% 60% at 85% 80%, #2f5f66 0, transparent 70%), #4d7f7a; }
.canvas-b::before { background: radial-gradient(50% 60% at 80% 20%, #c9766a 0, transparent 70%), radial-gradient(55% 60% at 15% 85%, #7a3f4a 0, transparent 70%), #a86058; }
.canvas-c::before { background: radial-gradient(50% 60% at 25% 80%, #d2ad62 0, transparent 70%), radial-gradient(55% 60% at 80% 20%, #8f7a3e 0, transparent 70%), #b39650; }
.canvas-d::before { background: radial-gradient(50% 60% at 20% 20%, #7d86b8 0, transparent 70%), radial-gradient(55% 60% at 85% 85%, #3d4570 0, transparent 70%), #5d6696; }
.canvas-e::before { background: radial-gradient(50% 60% at 25% 20%, #7d86b8 0, transparent 70%), radial-gradient(55% 60% at 80% 85%, #3d4570 0, transparent 70%), #5d6696; }
.canvas-install::before { background: radial-gradient(45% 60% at 15% 30%, #5f8f86 0, transparent 70%), radial-gradient(45% 60% at 85% 70%, #c9a05a 0, transparent 70%), #6d6a4f; }

/* --- demo window: drawn in the product's own colours, whatever the site theme --- */
.window { --p-bg: #0f1a1f; --p-surface: #16242a; --p-surface2: #1d2e35; --p-border: #25383f; --p-fg: #e9eff0; --p-muted: #8fa3a8; --p-faint: #5d7278; --p-accent: #50d2c1; --p-ok: #3fb68b; --p-err: #e0566a;
  background: var(--p-bg); color: var(--p-fg); border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.25); font-size: 12.5px; line-height: 1.5; }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--p-border); background: #0c1519; }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #2c3f46; }
.url { flex: 1; max-width: 360px; background: var(--p-surface); border-radius: 6px; padding: 3px 10px; color: var(--p-muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-hint { margin-left: auto; color: var(--p-faint); font-size: 11.5px; }
.window-body { display: grid; grid-template-columns: minmax(0, 1fr) 350px; min-height: 520px; }
.chart { position: relative; min-width: 0; border-right: 1px solid var(--p-border); }
.chart svg { display: block; width: 100%; height: 100%; }
.chart .marker { position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed var(--c); pointer-events: none; opacity: 0; transform: translateX(10px); transition: opacity 0.14s, transform 0.14s, top 0.18s; }
.chart .marker.on { opacity: 1; transform: none; }
.chart .marker b { position: absolute; right: 6px; top: 0; transform: translateY(-50%); background: var(--c); color: #fff; font: 600 11px/1 var(--font); padding: 4px 7px; border-radius: 4px; white-space: nowrap; }
.chart .level { position: absolute; left: 0; right: 0; border-top: 1px solid var(--c); opacity: 0; transition: opacity 0.25s; }
.chart .level.on { opacity: 0.9; }
.chart .level b { position: absolute; left: 10px; top: -15px; font: 500 10.5px/1 var(--font); color: var(--c); }

.panel { display: flex; flex-direction: column; min-width: 0; background: var(--p-bg); }
.panel-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--p-border); color: var(--p-fg); }
.panel-head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--p-ok); }
.panel-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-log { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.msg-user { background: var(--p-surface); border: 1px solid var(--p-border); border-radius: 8px; padding: 7px 10px; }
.caption { font-size: 10.5px; color: var(--p-faint); margin-top: 2px; font-variant-numeric: tabular-nums; }
.tool-row { display: flex; align-items: center; gap: 6px; color: var(--p-muted); font-size: 11.5px; }
.state { width: 5px; height: 5px; border-radius: 50%; background: var(--p-ok, var(--ok)); flex: none; }
.state.ok { background: var(--ok); }
.msg-ai p + p { margin-top: 8px; }
.followups { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--p-border); padding-top: 8px; color: var(--p-muted); }
.followups span::before { content: "↳ "; color: var(--p-accent); }
.composer { margin: 0 10px 10px; border: 1px solid var(--p-border); background: var(--p-surface); border-radius: 9px; padding: 7px 9px; display: flex; flex-direction: column; gap: 5px; }
.pill { align-self: flex-start; border: 1px solid var(--p-border); border-radius: 4px; padding: 0 6px; font-size: 11px; color: var(--p-muted); font-variant-numeric: tabular-nums; }
.composer-input { color: var(--p-faint); }

/* Product vocabulary, shared by the demo and the feature cards. */
.chip { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; padding: 1px 5px; border-radius: 5px; cursor: pointer; transition: background 0.12s; background: color-mix(in srgb, var(--p-accent, #50d2c1) 18%, transparent); color: inherit; }
.chip.up { background: color-mix(in srgb, var(--p-ok, #3fb68b) 22%, transparent); }
.chip.down { background: color-mix(in srgb, var(--p-err, #e0566a) 22%, transparent); }
.chip.up:hover, .chip.up.hot { background: color-mix(in srgb, var(--p-ok, #3fb68b) 46%, transparent); }
.chip.down:hover, .chip.down.hot { background: color-mix(in srgb, var(--p-err, #e0566a) 46%, transparent); }
.chip small { font-weight: 500; opacity: 0.7; margin-left: 5px; font-size: 0.82em; }
.tag { font-size: 0.86em; font-weight: 600; padding: 0 6px; border-radius: 999px; white-space: nowrap; }
.tag.bull { color: var(--p-ok, #3fb68b); background: color-mix(in srgb, var(--p-ok, #3fb68b) 16%, transparent); }
.tag.level { color: var(--p-accent, #50d2c1); background: color-mix(in srgb, var(--p-accent, #50d2c1) 15%, transparent); }

/* Setup card, as the extension draws it: a compact ticket. One header line, the levels as a table, one footer line. */
.setup { --tone: var(--p-muted, #8a9aa0); border: 1px solid color-mix(in srgb, var(--tone) 55%, var(--p-border, rgba(127, 127, 127, 0.3))); border-radius: 8px; background: var(--p-surface, #16242a); font-variant-numeric: tabular-nums; display: flex; flex-direction: column; }
.setup.long { --tone: var(--p-ok, #3fb68b); } .setup.short { --tone: var(--p-err, #e0566a); }
.setup-head { display: flex; align-items: baseline; gap: 8px; padding: 9px 12px 8px; border-bottom: 1px solid var(--p-border, rgba(127, 127, 127, 0.25)); }
.setup-bias { color: var(--tone); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.setup-conf { font-size: 11px; opacity: 0.5; }
.setup-rr { margin-left: auto; display: flex; align-items: baseline; gap: 6px; }
.setup-rr span { font-size: 10px; letter-spacing: 0.06em; opacity: 0.5; }
.setup-rr strong { font-size: 13px; font-weight: 650; }
.setup-rr.good strong { color: var(--p-ok, #3fb68b); } .setup-rr.poor strong { color: var(--p-err, #e0566a); }
.ladder { display: flex; flex-direction: column; padding: 4px 0; }
.rung { display: grid; grid-template-columns: 44px auto 1fr; align-items: center; gap: 8px; padding: 0 12px; min-height: 26px; font-size: 12px; position: relative; }
.rung span { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.55; }
.rung.target span { color: var(--p-ok, #3fb68b); opacity: 0.9; } .rung.stop span { color: var(--p-err, #e0566a); opacity: 0.9; } .rung.entry span { opacity: 1; }
.rung b { justify-self: start; font-weight: 600; }
.rung em { justify-self: end; font-style: normal; font-size: 10.5px; opacity: 0.6; white-space: pre; position: relative; z-index: 1; }
.rung.target em { color: var(--p-ok, #3fb68b); opacity: 0.85; } .rung.stop em { color: var(--p-err, #e0566a); opacity: 0.85; }
.rung.now { min-height: 18px; }
.rung.now::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; border-top: 1px dashed var(--p-border, rgba(127, 127, 127, 0.35)); }
.rung.now span, .rung.now b { position: relative; z-index: 1; background: var(--p-surface, #16242a); font-size: 10px; font-weight: 400; opacity: 1; color: var(--p-faint, #6d7d83); padding-right: 6px; }
.rung.now b { padding: 0 6px; }
.setup-foot { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 12px; border-top: 1px solid var(--p-border, rgba(127, 127, 127, 0.25)); }
.setup-size { flex: 1; min-width: 0; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--p-faint, #6d7d83); }
.setup-size b { font-weight: 600; color: var(--p-fg, #e6eef0); }
.draw, .ghost-btn { font: 500 11px/1 var(--font); padding: 5px 8px; border-radius: 6px; border: none; background: transparent; color: var(--p-muted, #9fb0b5); cursor: pointer; white-space: nowrap; }
.draw:hover { background: rgba(127, 127, 127, 0.14); }
.setup.drawn .draw { color: var(--tone); }
.setup.drawn .draw::before { content: "\2713  "; }
.demo-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--faint); }

/* --- strip ------------------------------------------------------------------- */
.strip { padding-top: 56px; padding-bottom: 8px; }
.strip p { max-width: 68ch; margin: 0 auto; text-align: center; color: var(--muted); font-size: 1.06rem; }
.strip strong { color: var(--fg); font-weight: 500; }

/* --- features ---------------------------------------------------------------- */
#features { padding-top: 72px; display: flex; flex-direction: column; gap: 20px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; background: var(--surface); border-radius: 10px; overflow: hidden; min-height: 400px; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } /* canvas first, in the wide track */
.feature.flip .feature-text { order: 2; }
.feature.flip .canvas { order: 1; }
.feature-text { padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.feature-text p { color: var(--muted); max-width: 46ch; }
.more { font-size: 14.5px; color: var(--fg); border-bottom: 1px solid var(--border); align-self: flex-start; padding-bottom: 1px; transition: border-color 0.15s; }
.more:hover { border-bottom-color: var(--fg); }
.feature .canvas { border-radius: 0; display: grid; place-items: center; }
.card { --ring-hole: #121d22; width: min(100%, 400px); background: #121d22; color: #e9eff0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 16px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55); font-size: 13.5px; display: flex; flex-direction: column; gap: 12px; }
.mini-chart { position: relative; height: 120px; color: #6f8a90; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 8px; }
.mini-chart svg { width: 100%; height: 100%; display: block; }
.mini-line { position: absolute; left: 0; right: 0; border-top: 2px dashed #3fb68b; }
.mini-line b { position: absolute; right: 0; top: 0; transform: translateY(-50%); background: #3fb68b; color: #fff; font: 600 10.5px/1 var(--font); padding: 4px 6px; border-radius: 4px; white-space: pre; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.stats div { background: rgba(255, 255, 255, 0.06); border-radius: 8px; padding: 7px 9px; display: flex; flex-direction: column; }
.stats span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.5; }
.stats strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.fields { gap: 0; padding: 6px 16px; }
.fields div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.fields div:last-child { border: none; }
.fields span { opacity: 0.55; } .fields b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: pre; }
.code pre { margin: 0; font: 12px/1.65 var(--mono); white-space: pre-wrap; color: #c8d3d5; }
.code .c { color: #5d7278; } .code .s { color: #d2ad62; } .code .k { color: #7d86b8; }
.compile { display: flex; align-items: center; gap: 7px; font-size: 12px; opacity: 0.8; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 10px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 0; }
.tile { background: var(--surface); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .mono { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }

/* --- limits ------------------------------------------------------------------ */
.limits { padding-top: 96px; }
.limits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 30px; border-top: 1px solid var(--border); padding-top: 30px; }
.limits-grid p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* --- pricing ----------------------------------------------------------------- */
#pricing { padding-top: 104px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.plan { background: var(--surface); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.plan.featured { background: var(--btn); color: var(--on-btn); }
.plan.featured .plan-note, .plan.featured li { color: color-mix(in srgb, var(--on-btn) 70%, transparent); }
.plan.featured .btn { background: var(--on-btn); color: var(--btn); border-color: var(--on-btn); }
.plan-name { font-size: 1.06rem; }
.plan-price { font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1.1; margin-top: 6px; }
.plan-price small { font-size: 0.95rem; letter-spacing: 0; color: inherit; opacity: 0.6; }
.plan-note { color: var(--muted); font-size: 14.5px; }
.plan ul { list-style: none; margin: 14px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.plan li { color: var(--muted); font-size: 14.5px; padding-left: 20px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; opacity: 0.7; }
.plan .btn { align-self: flex-start; }
.packs-title { margin-top: 56px; font-size: 1.2rem; font-weight: 400; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.pack { border: 1px solid var(--border); border-radius: 10px; padding: 20px 22px; display: flex; align-items: baseline; gap: 10px; }
.pack b { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; }
.pack span { color: var(--muted); font-size: 14.5px; }
.pack em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--ok); }
#pricing .fine { max-width: 70ch; margin-left: auto; margin-right: auto; margin-top: 22px; }

/* --- install ----------------------------------------------------------------- */
#install { padding-top: 104px; }
.canvas-install { display: grid; place-items: center; padding: clamp(20px, 6vw, 80px); }
.install-card { background: var(--bg); color: var(--fg); border-radius: 12px; padding: clamp(24px, 4vw, 44px); width: min(100%, 560px); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.5); }
.install-card ol { margin: 20px 0 26px; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.install-card b { color: var(--fg); font-weight: 500; }
.chrome-link { appearance: none; background: none; border: 0; border-bottom: 1px solid var(--border); padding: 0 0 1px; color: inherit; cursor: pointer; }
.chrome-link:hover { border-bottom-color: var(--fg); }
.install-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --- faq --------------------------------------------------------------------- */
#faq, #billing-faq { padding-top: 104px; }
#faq h2, #billing-faq h2 { margin-bottom: 26px; }
details { border-top: 1px solid var(--border); }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; list-style: none; padding: 18px 2px; display: flex; justify-content: space-between; gap: 16px; font-size: 1.06rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--faint); font-size: 1.3rem; line-height: 1; transition: transform 0.18s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 2px 20px; max-width: 68ch; }

/* --- final + footer ---------------------------------------------------------- */
.final { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.final .cta-row { justify-content: center; }
.footer { border-top: 1px solid var(--border); padding: 52px 0 40px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { margin-top: 12px; color: var(--muted); max-width: 32ch; }
.footer h4 { font-size: 13px; color: var(--faint); margin-bottom: 12px; letter-spacing: 0; }
.footer-grid a { display: block; color: var(--muted); padding: 3px 0; }
.footer-grid a:hover { color: var(--fg); }
.footer-fine { margin-top: 44px; color: var(--faint); font-size: 12.5px; }

/* --- reveal ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* --- responsive -------------------------------------------------------------- */
@media (max-width: 980px) {
  .window-body { grid-template-columns: 1fr; }
  .chart { height: 300px; border-right: none; border-bottom: 1px solid var(--p-border); }
  .window-hint { display: none; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
  .feature .canvas { min-height: 300px; }
  .grid, .plans, .packs, .limits-grid { grid-template-columns: 1fr; }
  .limits-grid { gap: 24px; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-row { justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .canvas-hero { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --- shared page furniture ------------------------------------------------------ */
.nav-signin { font-size: 14.5px; color: var(--muted); padding: 6px 4px; }
.nav-signin:hover, .nav-signin[aria-current] { color: var(--fg); }
.page-hero { padding-top: clamp(40px, 7vw, 80px); padding-bottom: 12px; }
.page-hero .lede { margin-top: 18px; }
.center-hero { text-align: center; }
.center-hero h1 { margin-inline: auto; }
.center-hero .lede { margin-inline: auto; }
.eyebrow { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }

/* --- home: the four steps -------------------------------------------------------- */
.flow { padding-top: 88px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.step { border-top: 1px solid var(--border); padding-top: 18px; display: flex; flex-direction: column; gap: 7px; }
.step > span { font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.step p { color: var(--muted); font-size: 15px; }

/* --- home: example questions ------------------------------------------------------ */
.asks { padding-top: 96px; }
.asks h2 { max-width: 20ch; }
.ask-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 22px; }
.ask { background: var(--surface); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ask q { font-size: 1.02rem; quotes: none; }
.ask q::before, .ask q::after { content: none; }
.ask p { color: var(--muted); font-size: 14.5px; }
/* Outside the product panel the chips are static ink, not controls. */
.ask .chip, .prompts .chip { cursor: default; --p-ok: var(--ok); --p-err: var(--err); }

/* --- topic sections (features, pricing) -------------------------------------------- */
.topic { padding-top: 88px; }
.topic-head { display: flex; flex-direction: column; gap: 8px; max-width: 46ch; }
.topic-head p { color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.topic-grid > div { background: var(--surface); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.topic-grid p { color: var(--muted); font-size: 15px; }
.topic-grid .mono { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }

/* --- where-it-works table ----------------------------------------------------------- */
.matrix-wrap { margin-top: 30px; overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
.matrix { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.matrix th, .matrix td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.matrix thead th { font-weight: 400; color: var(--faint); font-size: 12.5px; }
.matrix tbody th { font-weight: 400; color: var(--fg); width: 34%; }
.matrix td { color: var(--muted); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: none; }

/* --- playbook ------------------------------------------------------------------------ */
.playbook { padding-top: 56px; display: flex; flex-direction: column; gap: 64px; }
.play-head p { color: var(--muted); }
#copied { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--btn); color: var(--on-btn); border-radius: 999px; padding: 8px 16px; font-size: 14px; z-index: 20; }

/* --- changelog -------------------------------------------------------------------------- */
.changelog { padding-top: 48px; display: flex; flex-direction: column; }
.release { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; padding: 34px 0; border-top: 1px solid var(--border); }
.release-meta { display: flex; flex-direction: column; gap: 3px; }
.version { font-size: 1.06rem; }
.release-meta time { color: var(--faint); font-size: 14px; }
.release-body { max-width: 66ch; display: flex; flex-direction: column; gap: 12px; }
.release-body h2 { font-size: 1.32rem; }
.release-body p { color: var(--muted); }
.release-body ul { margin: 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }

/* --- prose (privacy) ---------------------------------------------------------------------- */
.prose { padding-top: 40px; padding-bottom: 40px; }
.prose h2 { font-size: 1.32rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 12px; }
.prose strong { color: var(--fg); font-weight: 500; }
.prose ul { margin: 0 0 12px; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 7px; }

@media (max-width: 980px) {
  .steps, .ask-grid, .topic-grid, .prompts { grid-template-columns: 1fr; }
  .release { grid-template-columns: 1fr; gap: 12px; }
}


/* --- jump nav ---------------------------------------------------------------------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.jump a { font-size: 13.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px; transition: color 0.15s, border-color 0.15s; }
.jump a:hover { color: var(--fg); border-color: var(--border-strong, var(--muted)); }

/* --- feature bands ------------------------------------------------------------------- */
.feature-stack { padding-top: 44px; display: flex; flex-direction: column; gap: 20px; }
.feature-stack .feature { scroll-margin-top: 84px; }
.points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.points li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); opacity: 0.28; }
.points b { color: var(--fg); font-weight: 500; }

/* --- extra product mocks ---------------------------------------------------------------- */
.readout { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.readout > div { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 12.5px; }
.readout > div:last-child { border-bottom: none; }
.readout span { opacity: 0.55; width: 74px; flex: none; }
.readout b { font-weight: 600; font-variant-numeric: tabular-nums; }
.readout em { margin-left: auto; font-style: normal; font-size: 11.5px; opacity: 0.6; }
.readout em.good { color: #3fb68b; opacity: 1; }
.readout em.warn { color: #e0566a; opacity: 1; }
.readout.compact { border-top: none; }

.hint-row { display: flex; align-items: center; gap: 7px; font-size: 11.5px; opacity: 0.55; }
.dot-hint { width: 6px; height: 6px; border-radius: 50%; background: #50d2c1; flex: none; }
.mini-line.down { border-top-color: #e0566a; }
.mini-line.down b { background: #e0566a; }
.mini-chart.small { height: 80px; border-top: none; padding-top: 0; }

.replay { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; }
.replay-date { opacity: 0.7; font-variant-numeric: tabular-nums; }
.replay-controls { display: flex; gap: 6px; }
.replay-controls i { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; }
.replay-controls i.play::before { content: "▶"; font-size: 8px; opacity: 0.8; }
.replay-controls i.step::before { content: "▶|"; font-size: 8px; opacity: 0.8; }

/* --- where-it-works answers ---------------------------------------------------------------- */
.matrix td.yes { color: var(--ok); }
.matrix td.no, .matrix td.na { color: var(--faint); }
.matrix thead th { line-height: 1.35; }

/* --- playbook ------------------------------------------------------------------------------- */
.play { scroll-margin-top: 84px; }
.play-head { display: flex; gap: 20px; align-items: flex-start; }
.play-head > div { display: flex; flex-direction: column; gap: 8px; max-width: 52ch; }
.play-num { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; border: 1px solid var(--border); border-radius: 999px; width: 38px; height: 38px; display: grid; place-items: center; flex: none; margin-top: 2px; }
.prompts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
.prompts li { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
/* The question reads as something you said; the line under it is Wingman answering. */
.prompts button { font: inherit; font-size: 15px; line-height: 1.45; text-align: left; cursor: pointer; background: var(--surface); border: 1px solid var(--border); border-radius: 12px 12px 12px 3px; padding: 11px 15px; color: var(--fg); transition: border-color 0.15s, background 0.15s; }
.prompts button:hover { background: var(--surface-2); }
.prompts button::after { content: "Copy"; margin-left: 9px; font-size: 11px; color: var(--faint); border: 1px solid var(--border); border-radius: 999px; padding: 1px 7px; white-space: nowrap; opacity: 0; transition: opacity 0.15s; vertical-align: 1px; }
.prompts li:hover button::after, .prompts button:focus-visible::after { opacity: 1; }
.prompts span { display: flex; gap: 8px; color: var(--muted); font-size: 14px; padding-left: 4px; }
.prompts span::before { content: "\21B3"; color: var(--ok); flex: none; }

@media (max-width: 980px) {
  .play-head { gap: 14px; }
  .play-num { width: 32px; height: 32px; font-size: 12px; }
  .prompts { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- looping product demos (features page) ------------------------------------------- */
/* Drawn in the product's own colours, whatever the site theme is doing. */
.demo { --p-bg: #0f1a1f; --p-surface: #16242a; --p-border: #25383f; --p-fg: #e9eff0; --p-muted: #8fa3a8; --p-faint: #5d7278; --p-accent: #50d2c1; --p-ok: #3fb68b; --p-err: #e0566a;
  width: min(100%, 430px); background: var(--p-bg); color: var(--p-fg); border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55);
  font-size: 12.5px; line-height: 1.5; }
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 8px 11px; border-bottom: 1px solid var(--p-border); background: #0c1519; }
.demo-bar .url { flex: 1; background: var(--p-surface); border-radius: 5px; padding: 2px 9px; color: var(--p-muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.demo-body.split { display: grid; grid-template-columns: 1fr; gap: 12px; }
.demo-panel { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.demo-panel.tight { gap: 8px; }
.demo-panel > p { margin: 0; }

/* A word or chip that has not arrived yet. */
.u { opacity: 0; transition: opacity 0.22s ease; }
.u.on { opacity: 1; }
.chip.hot { box-shadow: 0 0 0 2px color-mix(in srgb, var(--p-accent) 55%, transparent); }

.demo .tool-row .state { background: var(--p-faint); }
.demo .tool-row.running .state { background: var(--p-accent); animation: blink 1s infinite; }
.demo .tool-row.ok .state { background: var(--p-ok); }
@keyframes blink { 50% { opacity: 0.25; } }

/* The plot the markers and drawn levels sit on. */
.demo-plot { position: relative; height: 150px; color: #6f8a90; background: rgba(0, 0, 0, 0.18); border-radius: 8px; overflow: hidden; }
.demo-plot svg { width: 100%; height: 100%; display: block; }
.demo-marker, .demo-level { position: absolute; left: 0; right: 0; height: 0; opacity: 0; transition: opacity 0.2s ease, top 0.45s cubic-bezier(.4, 0, .2, 1); }
.demo-marker.on, .demo-level.on { opacity: 1; }
.demo-marker { border-top: 2px dashed var(--c, var(--p-ok)); }
.demo-marker b { position: absolute; right: 6px; top: 0; transform: translateY(-50%); background: var(--c, var(--p-ok)); color: #fff; font: 600 10.5px/1 var(--font); padding: 3px 6px; border-radius: 4px; white-space: pre; }
.demo-level { border-top: 1px solid var(--c); }
.demo-level.target { --c: #3fb68b; } .demo-level.entry { --c: #4c8dff; } .demo-level.stop { --c: #e0566a; }
.demo-level b { position: absolute; left: 8px; top: -14px; font: 500 10px/1 var(--font); color: var(--c); }

/* The pointer that travels from a price to the chart. */
.pointer { position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--p-accent); background: color-mix(in srgb, var(--p-accent) 22%, transparent); opacity: 0; transform: translate(-50%, -50%); transition: opacity 0.2s ease, left 0.5s cubic-bezier(.4, 0, .2, 1), top 0.5s cubic-bezier(.4, 0, .2, 1); pointer-events: none; }
.pointer.on { opacity: 1; }

.demo .rung, .demo .setup-head, .demo .setup-foot { opacity: 0; transform: translateY(4px); transition: opacity 0.25s ease, transform 0.25s ease; }
.demo .rung.on, .demo .setup-head.on, .demo .setup-foot.on { opacity: 1; transform: none; }
.demo .draw { transition: transform 0.12s ease, opacity 0.12s ease; }
.demo .draw.pressed { transform: scale(0.96); opacity: 0.85; }

/* Live exchange figures. */
.demo .fields { display: flex; flex-direction: column; }
.demo .fields > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); border-radius: 5px; transition: background 0.25s ease; }
.demo .fields > div:last-child { border-bottom: none; }
.demo .fields > div.scan { background: color-mix(in srgb, var(--p-accent) 13%, transparent); }
.demo .fields span { opacity: 0.55; }
.demo .fields b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: pre; transition: color 0.2s ease; }
.demo .fields b.tick { color: var(--p-accent); }

/* Bar replay. */
.replay-track { display: flex; align-items: flex-end; gap: 4px; height: 92px; background: rgba(0, 0, 0, 0.18); border-radius: 8px; padding: 8px; }
.replay-bar { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: var(--p-ok); opacity: 0; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease; }
.replay-bar.down { background: var(--p-err); }
.replay-bar.on { opacity: 0.9; transform: none; }
.replay-controls i.pressed { background: color-mix(in srgb, var(--p-accent) 40%, transparent); }
.demo .readout em.muted { opacity: 0.6; }

/* Pine, written then compiled. */
.demo .code { font: 11.5px/1.7 var(--mono); background: rgba(0, 0, 0, 0.22); border-radius: 8px; padding: 10px 12px; }
.code-line { opacity: 0; transition: opacity 0.2s ease; white-space: pre-wrap; color: #c8d3d5; }
.code-line.on { opacity: 1; }
.demo .compile { display: flex; align-items: center; gap: 7px; font-size: 11.5px; }
.demo .compile.idle { color: var(--p-faint); }
.demo .compile.running { color: var(--p-accent); }
.demo .compile.running .state { background: var(--p-accent); animation: blink 1s infinite; }
.demo .compile.done { color: var(--p-ok); }

@media (prefers-reduced-motion: reduce) {
  .u, .demo .rung, .demo .rr, }

/* --- features page, laid out like a product tour ---------------------------------------- */
.product-hero { padding-top: clamp(40px, 6vw, 76px); padding-bottom: 0; text-align: center; }
.product-hero h1 { margin-inline: auto; max-width: 20ch; }
.product-hero .lede { margin-inline: auto; }
.product-hero .cta-row { justify-content: center; }

/* The hero demo spans the container on a subtle brand panel. */
.hero-stage { padding-top: 40px; }
.stage { border-radius: 16px; padding: clamp(14px, 2.6vw, 34px); background:
  radial-gradient(60% 90% at 12% 10%, color-mix(in srgb, #5f8f86 26%, transparent) 0, transparent 70%),
  radial-gradient(60% 90% at 88% 90%, color-mix(in srgb, #c9a05a 22%, transparent) 0, transparent 70%),
  var(--surface); }
.hero-stage .jump { justify-content: center; margin-top: 26px; }

.demo-wide { width: 100%; max-width: none; font-size: 13px; }
.demo-hint { margin-left: auto; color: var(--p-faint); font-size: 11px; }
.demo-body.wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 14px; align-items: start; }
.demo-plot.tall { height: 400px; }
.demo-wide .msg-user, .demo-wide .tool-row { opacity: 0; transition: opacity 0.25s ease; }
.demo .setup { transition: border-color 0.3s ease, opacity 0.25s ease; }
.demo .setup.empty { opacity: 0; }
.demo-wide .msg-user.on, .demo-wide .tool-row.on { opacity: 1; }

/* Contained 40/60 sections on the page background, alternating sides. */
.product-stack { padding-top: clamp(64px, 9vw, 110px); display: flex; flex-direction: column; gap: clamp(64px, 9vw, 116px); }
.product-section { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); gap: clamp(28px, 4vw, 64px); align-items: center; scroll-margin-top: 90px; }
.product-section.flip .product-text { order: 2; }
.product-text { display: flex; flex-direction: column; gap: 14px; }
.product-text h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.product-visual { border-radius: 14px; padding: clamp(18px, 3vw, 44px); display: grid; place-items: center; background: var(--tint, var(--surface)); }
.tone-a { --tint: radial-gradient(70% 90% at 25% 20%, color-mix(in srgb, #5f8f86 24%, transparent) 0, transparent 72%), var(--surface); }
.tone-b { --tint: radial-gradient(70% 90% at 75% 20%, color-mix(in srgb, #c9766a 22%, transparent) 0, transparent 72%), var(--surface); }
.tone-c { --tint: radial-gradient(70% 90% at 25% 80%, color-mix(in srgb, #c9a05a 26%, transparent) 0, transparent 72%), var(--surface); }
.tone-d { --tint: radial-gradient(70% 90% at 78% 22%, color-mix(in srgb, #7d86b8 24%, transparent) 0, transparent 72%), var(--surface); }
.tone-e { --tint: radial-gradient(70% 90% at 22% 78%, color-mix(in srgb, #6f8fb8 24%, transparent) 0, transparent 72%), var(--surface); }

@media (max-width: 980px) {
  .demo-body.wide { grid-template-columns: 1fr; }
  .demo-plot.tall { height: 240px; }
  .product-section, .product-section.flip { grid-template-columns: 1fr; }
  .product-section.flip .product-text { order: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-wide .msg-user, .demo-wide .tool-row, .demo .setup.empty { opacity: 1 !important; }
}

/* A demo should fill more of its panel than the default card width allows. */
.product-visual .demo { width: min(100%, 520px); }

/* A ticket shown on its own in a feature canvas, outside a panel mock. */
.canvas > .setup { width: min(100%, 400px); background: #121d22; color: #e9eff0; --p-surface: #121d22; font-size: 13.5px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55); }

/* --- phones ------------------------------------------------------------------------------ */
.nav-menu { display: none; width: 44px; height: 44px; margin-right: -10px; place-items: center; background: none; border: none; border-radius: 50%; color: var(--fg); cursor: pointer; }
.nav-menu path { transition: transform 0.2s ease; transform-origin: 10px 10px; }
.nav-menu[aria-expanded="true"] .l1 { transform: translateY(3.5px) rotate(45deg); }
.nav-menu[aria-expanded="true"] .l2 { transform: translateY(-3.5px) rotate(-45deg); }
.nav-sheet { position: fixed; z-index: 9; left: 0; right: 0; top: 62px; bottom: 0; background: var(--bg); padding: 10px 20px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 18px; overflow-y: auto; animation: sheet-in 0.18s ease-out; }
.nav-sheet[hidden] { display: none !important; }
.nav-sheet nav { display: flex; flex-direction: column; }
.nav-sheet nav a { font-size: 22px; letter-spacing: -0.015em; padding: 15px 2px; border-bottom: 1px solid var(--border); color: var(--fg); }
.nav-sheet nav a[aria-current] { color: var(--muted); }
.nav-sheet .btn { justify-content: center; margin-top: 6px; }
.nav-sheet-note { margin: 0; text-align: center; color: var(--faint); font-size: 13.5px; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
html.menu-open, html.menu-open body { overflow: hidden; }

@media (max-width: 680px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-row { gap: 8px; }
  .nav-menu { display: grid; }
  .nav-cta { gap: 2px; }
  .nav-cta .nav-signin, .nav-cta .btn { display: none; }           /* both are in the menu */
  .theme-toggle { width: 44px; height: 44px; }

  /* Fingers, not cursors: 44px is the smallest comfortable target. */
  .btn { min-height: 44px; padding: 10px 18px; }
  .btn-lg { min-height: 50px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
  .more { padding: 11px 0 10px; }
  .footer-grid a { padding: 10px 0; }
  .footer-grid h4 { margin-bottom: 4px; }
  details summary { padding-top: 16px; padding-bottom: 16px; }
  a[href^="mailto:"] { display: inline-block; padding: 8px 0; }
  .footer-grid a[href^="mailto:"] { display: block; padding: 11px 0; }
  .brand { min-height: 44px; display: inline-flex; align-items: center; }

  /* Section links become one row you can swipe, instead of three lines of pills. */
  .jump { flex-wrap: nowrap; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 2px 20px 6px; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { flex: none; padding: 11px 16px; font-size: 14.5px; scroll-snap-align: start; }

  /* Type and rhythm */
  h1 { font-size: clamp(2.05rem, 9.2vw, 2.5rem); line-height: 1.08; }
  h2 { font-size: clamp(1.5rem, 6.6vw, 1.9rem); }
  .lede { font-size: 1.05rem; }
  section { scroll-margin-top: 72px; }

  /* The product window: a shorter chart, so the answer is on screen sooner. */
  .window .chart { height: 232px; }
  .window-body { min-width: 0; }
  .window-body > * { min-width: 0; }
  .feature .canvas { min-height: 0; padding: 22px 14px; }
  .canvas > .setup { width: 100%; }
  .setup-foot { flex-wrap: wrap; row-gap: 2px; }
  .setup-size { flex: 1 0 100%; white-space: normal; padding: 2px 0 4px; }

  /* Feature demos */
  .product-section { gap: 22px; }
  .product-visual { padding: 14px; }
  .hero-stage { padding-left: 12px; padding-right: 12px; }

  /* Pricing */
  .plan, .pack { padding: 22px 20px; }
  .plans, .packs { gap: 14px; }
}
@media (max-width: 380px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .jump { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .nav-sheet nav a { font-size: 20px; }
}
[data-install-note]:empty { display: none; }
