/* SquareHound site. Restyled 2026-11-22: calm light pages with a dark mode that follows the visitor's system,
   one amber accent, green and red only for market data and live state, no glows.
   Pictures of the apps (.console, .appwin, .mock) stay dark in both themes, like the apps themselves.
   The --violet* names are kept so older rules still work; they now hold the amber accent. */
:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --panel: #ffffff;
  --panel-2: #eceef1;
  --inset: #f0f2f5;
  --line: #e1e4e9;
  --line-2: #d3d7de;
  --text: #2a2f37;
  --strong: #0e1116;
  --muted: #5d6673;
  --accent: #b45309;
  --accent-fill: #f59e0b;
  --on-accent: #1a1204;
  --accent-soft: #fdf1dc;
  --violet: #b45309;
  --violet-2: #f59e0b;
  --violet-ink: #b45309;
  --violet-soft: #fdf1dc;
  --green: #15803d;
  --green-2: #16a34a;
  --green-ink: #ffffff;
  --green-soft: #e6f4ea;
  --amber: #b45309;
  --down: #b91c1c;
  --header-bg: rgba(245,246,248,.88);
  --shadow: 0 30px 70px -40px rgba(14,17,22,.35);

  --f-display: "Inter Tight", "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 6px; --r-md: 10px; --r-lg: 18px;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b0d11;
    --panel: #12151b;
    --panel-2: #171b22;
    --inset: #0f1217;
    --line: #232832;
    --line-2: #2e3542;
    --text: #c9cfd8;
    --strong: #f2f4f7;
    --muted: #8b94a3;
    --accent: #f5a524;
    --accent-fill: #f59e0b;
    --on-accent: #1a1204;
    --accent-soft: #2a1f0c;
    --violet: #f5a524;
    --violet-2: #f59e0b;
    --violet-ink: #f5a524;
    --violet-soft: #2a1f0c;
    --green: #4ade80;
    --green-2: #22c55e;
    --green-ink: #052e16;
    --green-soft: #0d2418;
    --amber: #f59e0b;
    --down: #f87171;
    --header-bg: rgba(11,13,17,.88);
    --shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  }
}
/* App pictures: always the app's dark look */
.console, .appwin, .mock {
  color-scheme: dark; color: var(--text);
  --bg: #0b0d11;
  --panel: #12151b;
  --panel-2: #171b22;
  --inset: #0f1217;
  --line: #232832;
  --line-2: #2e3542;
  --text: #c9cfd8;
  --strong: #f2f4f7;
  --muted: #8b94a3;
  --accent: #f5a524;
  --accent-fill: #f59e0b;
  --on-accent: #1a1204;
  --accent-soft: #2a1f0c;
  --violet: #f5a524;
  --violet-2: #f59e0b;
  --violet-ink: #f5a524;
  --violet-soft: #2a1f0c;
  --green: #4ade80;
  --green-2: #22c55e;
  --green-ink: #052e16;
  --green-soft: #0d2418;
  --amber: #f59e0b;
  --down: #f87171;
  --header-bg: rgba(11,13,17,.88);
  --shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--violet-ink); text-underline-offset: 3px; }
a:hover { color: var(--strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); color: var(--strong); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.04; font-weight: 600; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.08; font-weight: 600; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font: 600 0.75rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 14px; height: 2px; background: var(--accent-fill); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  padding: 15px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
/* Primary CTA: violet-600 with white text (5.7:1), hover violet-700 (7.1:1) */
.btn-go { background: var(--strong); color: var(--bg); }
.btn-go:hover { background: color-mix(in srgb, var(--strong) 82%, var(--accent)); color: var(--bg); }
.btn-ghost { background: var(--panel); color: var(--strong); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--muted); color: var(--strong); background: var(--panel); }
.btn-sm { padding: 10px 14px; font-size: .9rem; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: .85rem; color: var(--muted); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--strong); }
/* SquareHound header lockup (assets/brand/final): sized by height, about 30px tall; never squash it. */
.brand img.sh-logo { display: block; height: 30px; width: auto; max-width: none; flex: none; }
.product-tag { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px 6px 6px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); color: var(--text); text-decoration: none; font: 500 .85rem/1 var(--f-body); }
.product-tag img { width: 22px; height: 22px; border-radius: 6px; }
.product-tag b { color: var(--strong); font-family: var(--f-display); font-weight: 600; }
a.product-tag:hover { border-color: var(--violet); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: var(--r-sm); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--strong); background: var(--panel-2); }
.nav .btn { margin-left: 8px; }
.nav a.btn-go, .nav a.btn-go:hover { color: var(--bg); background: var(--strong); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--strong); border-radius: var(--r-sm); padding: 8px 12px; font: 600 .9rem var(--f-body); cursor: pointer; }
@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--panel); border-bottom: 1px solid var(--line);
    padding: 12px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Sections */
section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.band { background: var(--panel); border-block: 1px solid var(--line); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero::after { display: none; /* scope grid retired 2026-11-22 */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .35;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 .hl, .hero h1 .vl { color: inherit; }
.price-hint { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: var(--muted); }
.price-hint span { display: inline-flex; align-items: center; gap: 8px; }
.price-hint span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Scope console (hero demo) */
.console { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; min-width: 0;
  box-shadow: var(--shadow); }
.console-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2);
  font: 500 .72rem/1 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; font: 600 .68rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.pill-sim { color: var(--amber); background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.3); }
.pill-live { color: var(--green); background: var(--green-soft); border: 1px solid rgba(74,222,128,.3); }
.pill-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.console-bar .spacer { flex: 1; }
.console-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 10px 14px; border-top: 1px solid var(--line); font: 500 .7rem var(--f-mono); color: var(--muted); }
.console-foot b { color: var(--violet-ink); font-weight: 600; }
.toast { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--violet-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); font: 500 .75rem/1.3 var(--f-mono); color: var(--strong); }
.toast .t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
/* Lens view (hero demo): one wheel per level; turn a wheel to set its level */
.lv-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 18px 12px 12px; background: #030508; border-bottom: 1px solid var(--line); }
.lv-lens { position: relative; display: grid; justify-items: center; gap: 8px; min-width: 0; }
.lv-lens + .lv-lens::before { content: ""; position: absolute; left: -9px; top: 36%; width: 12px; height: 2px; background: var(--line-2); transition: background .3s; }
.lv-lens.chain + .lv-lens::before { background: var(--green); }
.lv-lens svg { width: 100%; max-width: 180px; aspect-ratio: 1; height: auto; display: block; touch-action: none; overflow: visible; }
.lv-cap { text-align: center; display: grid; gap: 1px; font: 400 .7rem/1.35 var(--f-mono); font-variant-numeric: tabular-nums; color: var(--muted); }
.lv-cap .t { font: 600 .82rem/1.2 var(--f-display); color: var(--strong); }
.lv-cap b { color: var(--violet-ink); font-weight: 600; }
.lv-cap .d { color: #4b5668; min-height: 1.35em; }
.lv-cap .d.mod { color: var(--amber); }
.lv-cap button { justify-self: center; margin-top: 3px; font: 500 .66rem var(--f-mono); color: var(--text); background: transparent; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 2px 8px; cursor: pointer; }
.lv-cap button[disabled] { opacity: .35; cursor: default; }
.lv-cap button:focus-visible, .lv-knob:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.lv-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 12px 14px 0; font: 400 .74rem var(--f-mono); color: var(--muted); }
.lv-head .sym { font: 600 1.05rem/1 var(--f-display); color: var(--strong); }
.lv-head .up { color: var(--green); } .lv-head .dn { color: var(--down); }
.lv-head .st { margin-left: auto; font-weight: 600; letter-spacing: .06em; }
.lv-head .st.ok { color: var(--green); }
.lv-row + .console-foot { border-top: 0; }
.lv-glass { fill: #0a0f18; }
.lv-band { fill: none; stroke: #111826; transition: stroke .3s; }
.lv-edge { fill: none; stroke: var(--line-2); }
.lv-tick { stroke: #4b5668; } .lv-tick.maj { stroke: var(--muted); }
.lv-num { fill: var(--muted); font: 500 13px var(--f-mono); }
.lv-zone { fill: none; stroke-width: 9; stroke-linecap: round; }
.lv-knob { cursor: grab; outline: none; }
.lv-knob:active { cursor: grabbing; }
.lv-ptr { fill: var(--violet-ink); }
.lv-dot { fill: var(--amber); stroke: #030508; stroke-width: 2.5; }
.lv-lens.hit .lv-dot { fill: var(--green); }
.lv-lens.hit .lv-band { stroke: #10291c; }
.lv-hub { fill: var(--panel); stroke: var(--line-2); stroke-width: 1.5; transition: stroke .3s; }
.lv-lens.hit .lv-hub { stroke: var(--green); }
.lv-lens.wait .lv-hub { stroke: var(--violet-2); }
.lv-rd { fill: var(--strong); font: 600 34px var(--f-display); text-anchor: middle; font-variant-numeric: tabular-nums; }
.lv-rl { fill: var(--muted); font: 600 11px var(--f-mono); letter-spacing: .12em; text-anchor: middle; }
.lv-lens.hit .lv-rl { fill: var(--green); }
.lv-lvl { fill: var(--violet-ink); font: 600 12px var(--f-mono); text-anchor: middle; }
@media (max-width: 480px) { .lv-row { padding-inline: 6px; } .lv-cap { font-size: .62rem; } .lv-cap .t { font-size: .74rem; } }

/* Hero views (Lens view, Table, Replay): one console that rotates through them */
.vw-tabs { display: flex; gap: 2px; padding: 2px; background: var(--inset); border: 1px solid var(--line); border-radius: var(--r-sm); }
.vw-tabs button { font: 500 .7rem/1 var(--f-mono); letter-spacing: .02em; color: var(--muted); background: transparent; border: 0; border-radius: 4px; padding: 6px 9px; cursor: pointer; white-space: nowrap; }
.vw-tabs button:hover { color: var(--strong); }
.vw-tabs button[aria-selected="true"] { background: var(--violet-soft); color: var(--strong); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.vw-tabs button:focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; }
.vw-prog { height: 2px; background: var(--line); }
.vw-prog i { display: block; height: 100%; width: 0; background: var(--violet-2); }
.vw-manual .vw-prog { visibility: hidden; }
.vw-stack { display: grid; }
.vw-panel { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s linear .35s; }
.vw-panel.on { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.vw-panel > .console-foot { margin-top: auto; }
#vw-lens .t-dot { background: var(--green); }
.toast.fire .t-dot { animation: vw-ping 1s ease-out; }
@keyframes vw-ping { from { box-shadow: 0 0 0 0 rgba(245,158,11,.7); } to { box-shadow: 0 0 0 10px rgba(245,158,11,0); } }
/* Table */
.console-body { display: grid; grid-template-columns: 200px 1fr; }
.scope { position: relative; border-right: 1px solid var(--line); background: var(--inset); display: grid; place-items: center; padding: 14px; }
.scope canvas { width: 100%; max-width: 172px; aspect-ratio: 1; height: auto; }
.scope-cap { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font: 500 .66rem var(--f-mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.grid-wrap { overflow-x: auto; min-width: 0; }
table.scan { width: 100%; border-collapse: collapse; font: 400 .78rem/1 var(--f-mono); font-variant-numeric: tabular-nums; }
table.scan th { text-align: right; font-weight: 500; color: var(--muted); padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
table.scan th:first-child, table.scan td:first-child { text-align: left; }
table.scan td { text-align: right; padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--text); white-space: nowrap; transition: background .4s ease, color .4s ease; }
table.scan td.sym { color: var(--strong); font-weight: 600; }
table.scan td.up { color: var(--green); }
table.scan td.dn { color: var(--down); }
table.scan td.hit { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--strong); box-shadow: inset 0 0 0 1px var(--violet); }
table.scan td.hit-g { background: rgba(74,222,128,.18); color: var(--strong); box-shadow: inset 0 0 0 1px var(--green-2); }
/* Replay */
.rp-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 400 .74rem var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.rp-head .sym { font: 600 1rem/1 var(--f-display); color: var(--strong); }
.rp-head .spacer { flex: 1; }
.rp-tag { font: 700 .64rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(245,158,11,.5); border-radius: 4px; padding: 4px 6px; }
.rp-time { color: var(--amber); }
.rp-chart { background: #030508; padding-block: 6px; }
.rp-chart canvas { display: block; width: 100%; height: 280px; }
@media (max-width: 560px) {
  .console-body { grid-template-columns: 1fr; } .scope { border-right: 0; border-bottom: 1px solid var(--line); } .scope canvas { max-width: 140px; }
  .rp-chart canvas { height: 240px; }
  [data-views] .console-bar .dots { display: none; }
}
/* VeriScope page: copy beside the views */
.page-head .wrap.head-split { grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.head-copy { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 960px) { .page-head .wrap.head-split { grid-template-columns: 1fr; } }

/* Proof strip */
.strip { border-block: 1px solid var(--line); background: var(--panel); padding-block: 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 22px 20px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item b { font: 600 1rem var(--f-display); color: var(--strong); }
.strip-item span { font-size: .88rem; color: var(--muted); }
@media (max-width: 820px) { .strip .wrap { grid-template-columns: 1fr 1fr; } .strip-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .strip-item:nth-child(-n+2) { border-top: 0; } }

/* Performance band */
.perf { position: relative; overflow: hidden; }
.perf::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  display: none; }
.perf .wrap { position: relative; }
.perf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.perf-cell { border-top: 2px solid var(--accent-fill); padding-top: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.perf-cell:nth-child(2) { border-top-color: var(--line-2); }
.perf-big { font: 600 clamp(2.6rem, 5.5vw, 4.2rem)/1 var(--f-display); color: var(--strong); letter-spacing: -0.02em; }
.perf-cell p { color: var(--muted); font-size: .96rem; }
@media (max-width: 820px) { .perf-grid { grid-template-columns: 1fr; } }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feature { background: var(--bg); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.feature .glyph { width: 40px; height: 40px; border-radius: 9px; background: var(--violet-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); display: grid; place-items: center; }
.feature .glyph svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: step; content: "0" counter(step); font: 600 .78rem var(--f-mono); color: var(--accent); letter-spacing: .1em; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.split .copy { display: grid; gap: 20px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 5px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23d97706' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 14px; background-position: center; background-repeat: no-repeat; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Mock panels */
.mock { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 12px; font: 400 .8rem/1.4 var(--f-mono); }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--inset); border: 1px solid var(--line); border-radius: var(--r-sm); flex-wrap: wrap; }
.mock-row .k { color: var(--muted); }
.mock-row .v { color: var(--strong); }
.mock-row .ok { color: var(--green); }
.mock-label { font: 600 .68rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.chip { display: inline-flex; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text); font: 500 .74rem var(--f-mono); }
.chip.on { border-color: var(--violet); color: var(--strong); background: var(--violet-soft); }

/* Pricing */
.billing-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); gap: 4px; }
.billing-toggle button { font: 600 .9rem var(--f-body); color: var(--muted); background: none; border: 0; padding: 10px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.billing-toggle button[aria-pressed="true"] { background: var(--strong); color: var(--bg); }
.save-tag { font: 700 .66rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-accent); background: var(--accent-fill); padding: 3px 6px; border-radius: 4px; }
.plans { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 32px; align-items: stretch; }
.plan { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 32px; background: var(--panel); display: grid; gap: 20px; align-content: start; min-width: 0; }
.plan.feature-plan { border: 1.5px solid var(--strong); background: var(--panel); position: relative; box-shadow: var(--shadow); }
.plan-name { font: 600 .78rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .amt { font: 600 clamp(2.8rem, 5vw, 3.6rem)/1 var(--f-display); color: var(--strong); font-variant-numeric: tabular-nums; }
.price .per { color: var(--muted); font-size: 1rem; }
.price-sub { font-size: .9rem; color: var(--muted); min-height: 1.5em; }
.plan .btn { width: 100%; }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.plan-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plan-list.locked li::before { content: "◇"; color: var(--violet); }
.plans.plans-3 { grid-template-columns: 1fr 1.1fr 1fr; }
.plan .status:not(.lock) { color: var(--green); }
.compare th, .compare td { text-align: left; }
@media (max-width: 1000px) { .plans.plans-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .plans, .plans.plans-3 { grid-template-columns: 1fr; } }

/* Suite */
.suite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-card { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); padding: 22px; display: grid; gap: 12px; grid-template-columns: 44px 1fr; align-items: start; min-width: 0; }
.app-card img { width: 44px; height: 44px; }
.app-card .body { display: grid; gap: 6px; min-width: 0; }
.app-card p { color: var(--muted); font-size: .92rem; }
a.app-card { text-decoration: none; color: var(--text); }
a.app-card:hover { border-color: var(--violet); }
.app-card.live { border-color: var(--accent-fill); }
.status { justify-self: start; font: 600 .66rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 5px; }
.status.lock { color: var(--violet-ink); background: var(--violet-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.status.on { color: var(--green); background: var(--green-soft); border: 1px solid rgba(74,222,128,.35); }
@media (max-width: 900px) { .suite-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .suite-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 1.05rem var(--f-body); color: var(--strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.5rem var(--f-mono); color: var(--violet); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-box { position: relative; border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  background: var(--panel); }
.cta-box .copy { display: grid; gap: 14px; }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; } }

/* Forms */
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.input { flex: 1 1 220px; min-width: 0; background: var(--inset); border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--strong); padding: 15px 14px; font: 400 1rem var(--f-body); }
.input:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.launch-bar { padding: 10px 16px; text-align: center; font-size: .9rem; color: var(--muted); background: var(--panel); border-bottom: 1px solid var(--line-2); }
.launch-bar b { color: var(--strong); }

/* Howler page: example of the menu bar window */
.howl-mock { gap: 10px; }
.howl-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.howl-live { color: var(--green); font-size: .75rem; }
.howl-alert { display: grid; gap: 4px; padding: 10px 12px; background: var(--inset); border: 1px solid var(--line); border-radius: var(--r-sm); }
.howl-alert .howl-kind { color: var(--muted); font-size: .72rem; }
.howl-alert b { color: var(--strong); font: 500 .9rem/1.4 var(--f-body); }
.howl-brief b { color: var(--violet-ink); }
.howl-sources { padding-bottom: 0; }
.howl-sources h3 { margin-top: 8px; }
.howl-sources h3:first-child { margin-top: 0; }
.form-msg { font-size: .9rem; min-height: 1.4em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--down); }
select.input { appearance: none; }

/* Page header for inner pages */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(24px, 4vw, 40px); }
.page-head .wrap { display: grid; gap: 18px; }

/* Prose (legal, docs) */
.prose { max-width: 72ch; display: grid; gap: 16px; padding-bottom: 96px; }
.prose h2 { font-size: 1.5rem; margin-top: 24px; }
.prose h3 { margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose code { font: .9em var(--f-mono); background: var(--panel-2); padding: 2px 6px; border-radius: 4px; color: var(--violet-ink); }
.draft-tag { justify-self: start; font: 600 .7rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(245,158,11,.4); background: rgba(245,158,11,.08); padding: 6px 10px; border-radius: 6px; }
.callout { border: 1px solid var(--line-2); border-left: 0; background: var(--panel); border-radius: var(--r-md); padding: 18px 20px; display: grid; gap: 8px; }
.callout b { color: var(--strong); }

/* Downloads */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dl { border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--panel); padding: 24px; display: grid; gap: 14px; }
.dl .meta { font: 400 .78rem var(--f-mono); color: var(--muted); }
@media (max-width: 700px) { .dl-grid { grid-template-columns: 1fr; } }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { color: var(--muted); font-weight: 500; width: 34%; }
.table-scroll { overflow-x: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--panel); padding-block: 56px 32px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { margin: 0 0 12px; font: 600 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--text); text-decoration: none; }
.foot-grid a:hover { color: var(--strong); text-decoration: underline; }
.foot-about { display: grid; gap: 14px; align-content: start; }
.foot-about p { color: var(--muted); max-width: 40ch; }
.risk { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; display: grid; gap: 10px; }
.copyable { font-family: var(--f-mono); color: var(--strong); user-select: all; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* Mobile sticky trial bar */
.mbar { display: none; }
@media (max-width: 700px) {
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 10px; align-items: center; justify-content: space-between;
    background: var(--header-bg); border-top: 1px solid var(--line-2); backdrop-filter: blur(10px);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .mbar .t { font-size: .82rem; color: var(--muted); }
  .mbar .t b { color: var(--strong); display: block; font-size: .95rem; }
  body { padding-bottom: 72px; }
}

.toast-global { position: fixed; z-index: 70; left: 50%; transform: translateX(-50%) translateY(20px); bottom: calc(90px + env(safe-area-inset-bottom, 0px)); opacity: 0; pointer-events: none;
  background: var(--panel-2); border: 1px solid var(--violet); color: var(--strong); padding: 12px 16px; border-radius: var(--r-sm); font-size: .92rem; transition: all .25s ease; max-width: calc(100vw - 32px); }
.toast-global.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* seasonal deals (site.js) */
.deal-banner { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--violet); border-radius: var(--r-lg); background: var(--violet-soft); font-weight: 600; }
.deal-line { margin: -8px 0 0; color: var(--accent); font-weight: 600; }

/* Help centre (/help/, build.py build_help, help.js) */
.help-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.help-hero::after { display: none; content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .3; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }
.help-hero .wrap { position: relative; z-index: 1; display: grid; gap: 20px; justify-items: center; text-align: center; }
.help-hero .lede { margin-inline: auto; }
.help-search { position: relative; width: 100%; }
.help-search > svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.help-search .input { width: 100%; padding: 12px 14px 12px 42px; font-size: .95rem; }
.help-search-lg { max-width: 640px; margin-top: 8px; }
.help-search-lg .input { padding: 18px 18px 18px 48px; font-size: 1.05rem; border-radius: var(--r-md); box-shadow: var(--shadow); }
.help-search-lg > svg { left: 17px; width: 20px; height: 20px; }
.help-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; text-align: left; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-md);
  box-shadow: var(--shadow); overflow: hidden; max-height: min(70vh, 520px); overflow-y: auto; }
.help-results a { display: grid; gap: 4px; padding: 12px 16px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line); }
.help-results a:last-child { border-bottom: 0; }
.help-results a:hover, .help-results a[aria-selected="true"] { background: var(--violet-soft); }
.help-results b { color: var(--strong); font-weight: 600; }
.help-results span { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.help-results mark { background: none; color: var(--violet-ink); font-weight: 600; }
.help-empty { padding: 14px 16px; font-size: .92rem; color: var(--muted); }
.help-popular { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; padding: 0; margin: 0; font-size: .9rem; }
.help-popular a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.help-popular a:hover { color: var(--strong); border-color: var(--violet); }

.help-sections { padding-block: 0 clamp(48px, 7vw, 88px); }
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-card { display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); text-decoration: none; color: var(--text);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.help-card:hover { border-color: var(--violet); color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow); }
.help-card p { color: var(--muted); font-size: .95rem; }
.help-card-app { font: 600 .66rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.help-card-n { margin-top: 4px; font-size: .88rem; font-weight: 600; color: var(--strong); display: inline-flex; gap: 8px; }
.help-card:hover .arrow { transform: translateX(3px); }
.help-card .arrow { transition: transform .15s ease; }
.help-band { padding-block: 0 clamp(64px, 9vw, 112px); }
@media (max-width: 900px) { .help-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .help-cards { grid-template-columns: 1fr; } }

.help-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); padding-block: 32px 96px; align-items: start; }
.help-side { position: sticky; top: 88px; display: grid; gap: 6px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 4px; }
.help-side .help-search { margin-bottom: 12px; }
.help-side details { border-bottom: 1px solid var(--line); padding-block: 4px; }
.help-side summary { cursor: pointer; list-style: none; padding: 10px 4px; font: 600 .72rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); display: flex; justify-content: space-between; }
.help-side summary::-webkit-details-marker { display: none; }
.help-side summary::after { content: "+"; font: 400 1rem/1 var(--f-mono); transition: transform .2s ease; }
.help-side details[open] summary::after { transform: rotate(45deg); }
.help-side ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 1px; }
.help-side li a { display: block; padding: 7px 10px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-size: .92rem; line-height: 1.4; }
.help-side li a:hover { background: var(--panel-2); color: var(--strong); }
.help-side li a[aria-current="page"] { background: var(--violet-soft); color: var(--strong); box-shadow: inset 2px 0 0 var(--violet); }
.help-main { display: grid; gap: 18px; min-width: 0; }
.help-main > h1, .help-article h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.help-article { display: grid; gap: 16px; }
.help-article .prose { padding-bottom: 8px; }
.prose figure { margin: 0; }
.prose kbd { font: 600 .82em var(--f-mono); padding: 2px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; background: var(--panel-2); color: var(--strong); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 500; }
.note { border: 1px solid var(--line-2); border-left: 3px solid var(--violet); background: var(--panel); border-radius: var(--r-sm); padding: 14px 16px; }
.note.warn { border-left-color: var(--amber); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--strong); }
.help-list { display: grid; border-top: 1px solid var(--line); margin-top: 8px; }
.help-row { display: grid; gap: 4px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.help-row b { color: var(--strong); font-size: 1.05rem; }
.help-row:hover b { color: var(--violet-ink); }
.help-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.help-pager a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r-md); text-decoration: none; color: var(--strong); font-weight: 600; }
.help-pager a:hover { border-color: var(--violet); }
.help-pager-next { text-align: right; grid-column: 2; }
.help-stuck { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.help-stuck > div { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); padding: 22px; display: grid; gap: 12px; align-content: start; }
.help-contact { background: var(--panel) !important; }
.help-vote [aria-pressed="true"] { border-color: var(--violet); background: var(--violet-soft); }
.help-note { display: grid; gap: 8px; }
.help-note label { font-size: .88rem; color: var(--muted); }
.help-note textarea { resize: vertical; font: inherit; }
@media (max-width: 900px) {
  .help-layout { grid-template-columns: 1fr; padding-top: 20px; }
  .help-side { position: static; max-height: none; }
  .help-side details:not([open]) { display: none; }
  .help-side details[open] { display: none; }
}
@media (max-width: 640px) { .help-stuck, .help-pager { grid-template-columns: 1fr; } .help-pager-next { grid-column: 1; } }

/* Support page */
.support-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; padding-bottom: 96px; }
.support-card { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); padding: 28px; display: grid; gap: 16px; }
.support-card ol, .support-card ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }

/* Spacing and layout helpers for page bodies. The Content-Security-Policy (src/static/_headers) has no
   'unsafe-inline' for styles, so pages use these classes instead of style="" attributes; build.py
   stops on any style attribute, <style> block or inline script. !important so they win like the
   inline styles they replaced. */
.u-pt0 { padding-top: 0 !important; } .u-pt8 { padding-top: 8px !important; } .u-pt24 { padding-top: 24px !important; }
.u-m0 { margin: 0 !important; } .u-mt-8 { margin-top: -8px !important; } .u-mt8 { margin-top: 8px !important; }
.u-mt14 { margin-top: 14px !important; } .u-mt16 { margin-top: 16px !important; } .u-mt20 { margin-top: 20px !important; }
.u-mt24 { margin-top: 24px !important; } .u-mt32 { margin-top: 32px !important; } .u-mt48 { margin-top: 48px !important; }
.u-gap8 { gap: 8px !important; } .u-cols2 { grid-template-columns: 1fr 1fr !important; } .u-center { text-align: center !important; }
.u-fs-lg { font-size: 1.5rem !important; } .u-size72 { width: 72px !important; height: 72px !important; }
.u-offscreen { position: absolute !important; left: -9999px !important; }
.u-boxed { border: 1px solid var(--line-2) !important; border-radius: var(--r-md) !important; max-width: 760px !important; }

/* ---------- Redraft v2 (2026-11-20): two-app hero, sweep, app windows, Howler players ---------- */
.hero-v2 .wrap { grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); }
.hero-v2 .hero-copy { max-width: 780px; }
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.stage > * { position: relative; z-index: 1; min-width: 0; }
.stage > .sweep { display: none; position: absolute; z-index: 0; left: 33%; top: 50%; width: 1100px; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 109px, color-mix(in srgb, var(--violet) 14%, transparent) 110px 111px);
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 68%); mask: radial-gradient(circle, #000 25%, transparent 68%); }
.stage > .sweep::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 292deg, color-mix(in srgb, var(--violet) 26%, transparent) 358deg, color-mix(in srgb, var(--violet) 55%, transparent) 359.5deg, transparent 360deg);
  animation: sh-sweep 9s linear infinite; }
@keyframes sh-sweep { to { rotate: 360deg; } }
.appwin { margin: 0; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.appwin-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--panel-2); font: 600 .7rem var(--f-mono); letter-spacing: .06em; color: var(--muted); }
.appwin-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.appwin-bar .t { margin-left: 8px; }
.appwin-bar .spacer { flex: 1; }
.onwatch { display: inline-flex; align-items: center; gap: 7px; color: var(--violet-ink); }
.onwatch::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--violet) 60%, transparent);
  background: conic-gradient(from 0deg, transparent 0 270deg, var(--violet) 360deg); animation: sh-sweep 2.4s linear infinite; }
.appwin img { display: block; width: 100%; height: auto; }
.appwin figcaption { padding: 8px 12px; border-top: 1px solid var(--line); }
.appwin.crop img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 40% 10%; }
.howl-mock .fine { margin: 0; }
.hplayer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.hplayer .play { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--accent-fill); color: var(--on-accent); cursor: pointer; display: grid; place-items: center; }
.hplayer .play:focus-visible { outline: 2px solid var(--strong); outline-offset: 2px; }
.hplayer .play svg { width: 17px; height: 17px; }
.hplayer .wave { display: flex; align-items: center; gap: 2px; height: 40px; min-width: 0; cursor: pointer; }
.hplayer .wave i { flex: 1 1 0; min-width: 1px; background: var(--line-2); border-radius: 2px; }
.hplayer .wave i.on { background: var(--violet); }
.hplayer .time { font: 500 .75rem var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { display: grid; gap: 16px; align-content: start; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.duo-card h3 { font-size: 1.35rem; }
.duo-card .tagline { color: var(--violet-ink); font: 600 1rem var(--f-display); }
.samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sample { display: grid; gap: 12px; align-content: start; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.sample-hd { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.sample-hd b { font: 600 .95rem var(--f-display); color: var(--strong); }
.sample-hd span { font: 500 .72rem var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.sample .tx { color: var(--text); }
.compare th { width: auto; }
@media (max-width: 960px) { .stage { grid-template-columns: 1fr; } .samples { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .stage > .sweep::after, .onwatch::before { animation: none; } }
.hero-v2 { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.hero-v2 h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); line-height: 1.02; }
.hero-v2 .hero-copy { gap: 18px; }
.sample-hd { flex-direction: column; }
.appwin video { display: block; width: 100%; height: auto; background: var(--inset); }
.stage-solo { grid-template-columns: minmax(0, 1fr); }
.stage-solo > .sweep { left: 50%; width: 900px; }
#demo { overflow: hidden; }
#demo .stage-solo > .sweep { width: 1400px; }
.stage-howler { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); }
.stage-howler > .sweep { left: 67%; }
@media (max-width: 960px) { .stage-howler { grid-template-columns: 1fr; } }
.u-flex-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.band .appwin { margin-top: 8px; }
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 860px) { .scenes { grid-template-columns: 1fr; } }

/* VeriScope feature map + feature sections (2026-11-20) */
.fmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fgroup { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 18px 16px 10px; }
.fgroup h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font: 600 1.05rem/1.2 var(--f-display); color: var(--strong); }
.fgroup h3 span { font: 600 .7rem var(--f-mono); color: var(--violet-ink); letter-spacing: .08em; }
.fgroup ul { list-style: none; margin: 0; padding: 0; display: grid; }
.fgroup li + li { border-top: 1px solid var(--line); }
.fgroup a { display: grid; gap: 2px; padding: 10px 0; text-decoration: none; color: inherit; }
.fgroup a b { color: var(--strong); font-weight: 650; }
.fgroup a span { font-size: .84rem; color: var(--muted); line-height: 1.35; }
.fgroup a:hover b, .fgroup a:focus-visible b { color: var(--violet-ink); }
.checks.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.lens-solo .lv-row { padding-top: 22px; }
section[id] { scroll-margin-top: 80px; }
@media (max-width: 980px) { .fmap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fmap, .checks.cols { grid-template-columns: 1fr; } }

/* Howler work scenes: one full-width player that steps through the three scenes (2026-11-20) */
.scene-player { margin-top: 32px; display: grid; gap: 12px; }
.scene-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scene-tabs button { position: relative; overflow: hidden; display: grid; gap: 6px; text-align: left; padding: 10px 14px 12px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--muted); font: 500 .9rem var(--f-body, inherit); cursor: pointer; }
.scene-tabs button b { font-weight: 650; }
.scene-tabs button[aria-selected="true"] { color: var(--strong); border-color: var(--violet); }
.scene-tabs button i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--violet); }
.scene-player .appwin { margin-top: 0; }
@media (max-width: 620px) { .scene-tabs button { padding: 8px 10px 10px; font-size: .8rem; } }

/* ---------- Trading education (education.html, partner courses) ---------- */
.edu-ad { width: fit-content; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 600 .72rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.edu-hero { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 14px; min-width: 0; }
.edu-alert { display: grid; gap: 6px; padding: 14px 16px; background: var(--inset); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: var(--r-sm); }
.edu-alert b { color: var(--strong); font-weight: 600; }
.edu-kind { font: 600 .68rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.edu-frame { display: grid; gap: 8px; padding: 12px; border: 1px dashed var(--line-2); border-radius: var(--r-md); }
.edu-frame-hd { font: 600 .68rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.edu-split { display: grid; grid-template-columns: 4fr 1.4fr; gap: 8px; }
.edu-fund, .edu-time { display: grid; gap: 4px; align-content: start; padding: 12px; border-radius: var(--r-sm); min-width: 0; }
.edu-fund { background: var(--violet-soft); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.edu-time { background: var(--inset); border: 1px solid var(--line); }
.edu-fund b, .edu-time b { color: var(--strong); font-size: .85rem; }
.edu-fund i, .edu-time i { font-style: normal; font-size: .78rem; color: var(--muted); }
.edu-frame-row { display: flex; flex-wrap: wrap; gap: 6px; }
.edu-frame-row span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--inset); font-size: .75rem; color: var(--text); }
.edu-ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.edu-idea { padding: 22px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); display: grid; gap: 8px; align-content: start; }
.edu-idea b { color: var(--strong); font-size: 1.02rem; }
.edu-idea p { margin: 0; font-size: .93rem; }
.edu-path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.edu-path li { display: grid; }
.edu-n { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--violet-soft); color: var(--violet-ink); font: 700 .85rem var(--f-mono); }
.edu-disclose-wrap { padding-block: 0 !important; }
.edu-disclose-end { padding-block: 0 clamp(48px, 7vw, 88px) !important; }
.edu-disclose { padding: 16px 20px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--inset); font-size: .92rem; color: var(--text); }
.edu-disclose b { color: var(--strong); }
.edu-chooser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.edu-choice { display: grid; gap: 8px; align-content: start; padding: 22px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); color: var(--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.edu-choice:hover { border-color: var(--violet); transform: translateY(-2px); }
.edu-choice b { color: var(--strong); font-size: 1.05rem; }
.edu-choice i { font: 600 .85rem var(--f-mono); font-style: normal; color: var(--accent); }
.edu-courses { display: grid; gap: clamp(40px, 6vw, 72px); }
.edu-course { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; scroll-margin-top: 96px; }
.edu-course:nth-child(even) .edu-art { order: 2; }
.edu-art svg { width: 100%; height: auto; display: block; border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.edu-body { display: grid; gap: 16px; min-width: 0; }
.edu-body h2 { margin: 0; }
.edu-tag { font: 600 .75rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.edu-list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.edu-buy { display: grid; gap: 14px; padding: 20px; border: 1.5px solid var(--strong); border-radius: var(--r-lg); background: var(--panel); }
.edu-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.edu-price b { font-family: var(--f-display); font-weight: 600; font-size: 2rem; color: var(--strong); }
.edu-price span { font-size: .9rem; color: var(--green); }
.edu-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 8px 8px 14px; border: 1px dashed var(--amber); border-radius: var(--r-sm); background: var(--inset); }
.edu-code span { font-size: .8rem; color: var(--muted); }
.edu-code code { flex: 1; min-width: 0; font: 600 1rem var(--f-mono); color: var(--amber); overflow-wrap: anywhere; }
.edu-buy .btn-go { justify-content: center; }
@media (max-width: 900px) {
  .edu-course { grid-template-columns: 1fr; }
  .edu-course:nth-child(even) .edu-art { order: 0; }
  .edu-chooser, .edu-path, .edu-ideas { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .edu-split { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1100px) { .edu-ideas { grid-template-columns: repeat(2, 1fr); } }

/* ITPM pathway (education.html): three stages with "Optional" arrows between them */
.pw { display: grid; grid-template-columns: 1fr 76px 1fr 76px 1fr; gap: 0; align-items: stretch; }
.pw-stage { display: grid; gap: 12px; align-content: start; min-width: 0; }
.pw-hd { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-md); background: var(--violet-soft); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.pw-hd b { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; color: var(--strong); }
.pw-n { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--violet); color: var(--bg); font: 700 .85rem var(--f-mono); }
.pw-card { display: grid; gap: 8px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--panel); }
.pw-card b { color: var(--strong); }
.pw-card p { margin: 0; font-size: .9rem; }
.pw-card i { font-style: normal; color: var(--violet-ink); font-weight: 600; }
.pw-card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; font-size: .9rem; }
.pw-quiet { background: var(--inset); border-style: dashed; }
.pw-arrow { position: relative; display: grid; place-items: center; }
.pw-arrow::before { content: ""; position: absolute; left: 8px; right: 12px; top: 26px; border-top: 2px dashed var(--line-2); }
.pw-arrow::after { content: ""; position: absolute; right: 6px; top: 20px; border: 7px solid transparent; border-left-color: var(--violet); }
.pw-arrow span { position: absolute; top: 38px; left: 0; right: 0; text-align: center; font: 600 .62rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1000px) {
  .pw { grid-template-columns: 1fr; gap: 0; }
  .pw-arrow { height: 56px; }
  .pw-arrow::before { left: 50%; right: auto; top: 8px; bottom: 14px; border-top: none; border-left: 2px dashed var(--line-2); }
  .pw-arrow::after { left: calc(50% - 6px); right: auto; top: auto; bottom: 0; border-left-color: transparent; border-top-color: var(--violet); }
  .pw-arrow span { top: 18px; left: calc(50% + 12px); }
}

/* IPLT: retail vs professional comparison card */
.vs { display: grid; gap: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); padding: 8px 20px 16px; }
.vs-row { display: grid; grid-template-columns: 1fr 1.2fr 1.4fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.vs-row span { font: 600 .72rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vs-row i { font-style: normal; color: var(--muted); }
.vs-row em { font-style: normal; color: var(--strong); font-weight: 600; }
.vs-head b:first-of-type { color: var(--muted); font-weight: 600; }
.vs-head b:last-of-type { color: var(--violet-ink); }
.vs-foot { margin: 12px 0 0; font: 400 .72rem var(--f-mono); color: var(--muted); }
@media (max-width: 480px) { .vs { padding: 4px 12px 12px; } .vs-row { grid-template-columns: .9fr 1fr 1.1fr; gap: 8px; font-size: .82rem; } }

/* PTM: the process as numbered steps, grouped into fundamentals / timing / running it */
.flow { display: grid; gap: 10px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); padding: 16px; }
.flow-group { border-left: 3px solid var(--violet); padding: 4px 0 4px 14px; display: grid; gap: 6px; }
.flow-time { border-left-color: var(--green); }
.flow-risk { border-left-color: var(--amber); }
.flow-tag { font: 600 .7rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-ink); }
.flow-time .flow-tag { color: var(--green); }
.flow-risk .flow-tag { color: var(--amber); }
.flow-steps { list-style: none; counter-reset: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.flow-steps li { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.flow-steps li:last-child { border-bottom: none; }
.flow-steps li::before { content: attr(data-n); grid-row: span 2; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--panel); border: 1px solid var(--line-2); color: var(--strong); font: 700 .75rem var(--f-mono); }
.flow-steps b { color: var(--strong); font-size: .95rem; }
.flow-steps span { color: var(--muted); font-size: .85rem; }

/* ---------- Home page feature cards with column parallax (2026-11-22) ----------
   Three columns start at different heights and drift at different speeds as the grid scrolls past
   (site.js, data-speed in px). No motion on phones or with reduced motion; the layout is complete at rest. */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pcol { display: flex; flex-direction: column; gap: 24px; min-width: 0; will-change: transform; }
.pgrid > .pcol:first-child { margin-top: 88px; }
.pcol.drop { margin-top: 168px; }
.pcard { position: relative; border-radius: 22px; overflow: hidden; background: var(--panel-2); color: var(--text); text-decoration: none; display: block; }
.pcard.text { padding: 40px 28px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pcard.text.tall { min-height: 440px; }
.pcard .tag { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; color: var(--strong); }
.pcard .tag::before, .pcard .tag::after { content: ""; width: 3px; height: 18px; background: var(--accent-fill); border-radius: 2px; }
.pcard h3 { font-size: 1.4rem; line-height: 1.25; font-weight: 500; }
.pcard .big { font: 600 clamp(3rem, 5.4vw, 4.4rem)/1 var(--f-display); color: var(--strong); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pcard .go { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-fill); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; transition: transform .15s ease; }
a.pcard:hover .go { transform: translateX(3px); }
.pcard .fine { max-width: 32ch; }
.pcard .art { margin-top: auto; width: 100%; padding-top: 24px; }
.pcard.pic { background: #0b0d11; }
.pcard.pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pcard.pic.square img { aspect-ratio: 1 / 1; }
.pcard .glass { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 14px; background: rgba(12,14,18,.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.12); color: #e9edf2; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pcard .glass .k { display: block; font-size: .75rem; color: #a8b0bc; }
.pcard .glass .v { font-weight: 500; }
.pcard .glass .n { font: 500 1.05rem/1 var(--f-mono); color: #f5a524; white-space: nowrap; }
.mini-table { width: 100%; border-radius: 14px 14px 0 0; background: var(--panel); border: 1px solid var(--line); border-bottom: 0; font: 500 .75rem/1 var(--f-mono); text-align: left; overflow: hidden; }
.mini-table div { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 10px 14px; border-top: 1px solid var(--line); }
.mini-table div:first-child { border-top: 0; color: var(--muted); }
.mini-table .hit { color: var(--accent); }
.mini-wave { display: flex; gap: 3px; align-items: center; justify-content: center; height: 110px; }
.mini-wave i { width: 5px; border-radius: 3px; background: var(--accent-fill); }
@media (max-width: 900px) {
  .pgrid { grid-template-columns: 1fr; }
  .pgrid > .pcol:first-child, .pcol.drop { margin-top: 0; }
  .pcol { transform: none !important; }
  .pcard.text.tall { min-height: 0; padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { .pcol { transform: none !important; } }
/* Big product picture under the home hero */
.shot { margin: 0; border-radius: 18px; overflow: hidden; background: #0b0d11; box-shadow: var(--shadow); }
.shot img, .shot video { display: block; width: 100%; height: auto; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .9rem; color: var(--muted); }
.facts b { color: var(--strong); font-weight: 600; }
.hero-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: end; }
.hero-split > * { min-width: 0; display: grid; gap: 22px; }
@media (max-width: 860px) { .hero-split { grid-template-columns: 1fr; } }

.mini-wave .h18 { height: 18px; }
.mini-wave .h30 { height: 30px; }
.mini-wave .h52 { height: 52px; }
.mini-wave .h40 { height: 40px; }
.mini-wave .h70 { height: 70px; }
.mini-wave .h96 { height: 96px; }
.mini-wave .h62 { height: 62px; }
.mini-wave .h44 { height: 44px; }
.mini-wave .h80 { height: 80px; }
.mini-wave .h104 { height: 104px; }
.mini-wave .h72 { height: 72px; }
.mini-wave .h50 { height: 50px; }
.mini-wave .h36 { height: 36px; }
.mini-wave .h60 { height: 60px; }
.mini-wave .h88 { height: 88px; }
.mini-wave .h58 { height: 58px; }
.mini-wave .h34 { height: 34px; }
.mini-wave .h22 { height: 22px; }
.u-obj-l { object-position: 25% 50%; } .u-obj-c { object-position: 50% 50%; } .u-pb32 { padding-bottom: 32px; }
