/* ═══════════════════════════════════════════════════════════════════════
   SCREENCHART — landing page
   Calm, trustworthy, Linear/Raycast restraint. Light primary + dark variant.
   ═══════════════════════════════════════════════════════════════════════ */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");

:root {
  --accent:   #2563EB;
  --accent-2: #1d4fd0;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-line: rgba(37, 99, 235, 0.18);

  --bg:      #F7F7F8;
  --surface: #FFFFFF;
  --surface-2: #F2F3F5;
  --tx:      #18181B;
  --muted:   #6B7280;
  --border:  #E5E7EB;
  --border-2:#d7dbe0;

  /* chart palette (shared with app) */
  --c-blue:#3b82f6; --c-teal:#14b8a6; --c-amber:#f59e0b; --c-violet:#8b5cf6; --c-rose:#f43f5e;

  --ok:#059669;
  --r: 8px; --r-lg: 14px; --r-xl: 20px;
  --maxw: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --shadow-sm: 0 1px 2px rgba(24,24,27,.06);
  --shadow-md: 0 12px 32px -12px rgba(24,24,27,.16);
  --shadow-lg: 0 36px 80px -28px rgba(24,24,27,.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="dark"] {
  --accent:   #4d8bff;
  --accent-2: #3b78f5;
  --accent-soft: rgba(77, 139, 255, 0.14);
  --accent-line: rgba(77, 139, 255, 0.30);
  --bg:      #0c0e13;
  --surface: #14171e;
  --surface-2: #1a1e27;
  --tx:      #f4f6fa;
  --muted:   #9aa3b2;
  --border:  #262b35;
  --border-2:#333a46;
  --ok:#34d399;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 16px 40px -16px rgba(0,0,0,.6);
  --shadow-lg: 0 40px 90px -30px rgba(0,0,0,.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--tx); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  transition: background .3s var(--ease), color .3s var(--ease);
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ico {
  font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal;
  line-height: 1; display: inline-block; vertical-align: middle; -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased; font-size: 20px; user-select: none;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
section { position: relative; }

/* ── buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px; border-radius: var(--r); font-family: var(--font);
  font-size: 15px; font-weight: 600; border: 1px solid var(--border-2); background: var(--surface);
  color: var(--tx); cursor: pointer; white-space: nowrap; transition: all .16s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn .ico { font-size: 20px; }
.btn-primary {
  background: var(--accent); border-color: transparent; color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -8px var(--accent);
}
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 10px 26px -8px var(--accent); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }

/* ── header ────────────────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
header.site.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; gap: 14px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand .glyph { color: var(--tx); display: inline-flex; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a.link {
  padding: 8px 13px; border-radius: var(--r); font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-links a.link:hover { color: var(--tx); background: var(--surface-2); }
.theme-btn {
  width: 40px; height: 40px; border-radius: var(--r); border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); cursor: pointer; display: grid; place-items: center;
}
.theme-btn:hover { color: var(--tx); }
.nav-gh {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; margin-left: 4px;
  border-radius: var(--r); font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-gh:hover { color: var(--tx); background: var(--surface-2); }
.nav-cta { margin-left: 6px; }
.menu-btn { display: none; }

/* ── hero ──────────────────────────────────────────────────────────── */
.hero { padding: 50px 0 0; overflow: hidden; position: relative; display: flex; align-items: stretch; box-sizing: border-box; }
.hero-grid { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; width: 100%; pointer-events: none; }
.hero-copy { display: flex; flex-direction: column; align-items: center; max-width: 780px; pointer-events: auto; }

/* hero background: bold screenshot-capture frame over a soft data sweep */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  --hb-line:   rgba(37, 99, 235, .05);
  --hb-cap:    rgba(37, 99, 235, .42);
  --hb-accent: rgba(20, 184, 166, .55);
  --hb-accent2:rgba(37, 99, 235, .55);
  --hb-w1:     rgba(37, 99, 235, .14);
  --hb-w2:     rgba(20, 184, 166, .10);
  --hb-fill:   rgba(37, 99, 235, .05);
  --hb-gl:     rgba(37, 99, 235, .07);
  --hb-tick:   rgba(37, 99, 235, .20);
  --hb-dotring:rgba(20, 184, 166, .18);
  --hb-blue:   #2563eb;
  --hb-teal:   #14b8a6;
  --hb-bar-a:  #7fb0ff;
  --hb-bar-b:  #67dccb;
}
[data-theme="dark"] .hero-bg {
  --hb-line:   rgba(120, 165, 255, .06);
  --hb-cap:    rgba(120, 165, 255, .50);
  --hb-accent: rgba(45, 212, 191, .6);
  --hb-accent2:rgba(120, 165, 255, .6);
  --hb-w1:     rgba(120, 165, 255, .16);
  --hb-w2:     rgba(45, 212, 191, .12);
  --hb-fill:   rgba(120, 165, 255, .06);
  --hb-gl:     rgba(120, 165, 255, .09);
  --hb-tick:   rgba(120, 165, 255, .26);
  --hb-dotring:rgba(45, 212, 191, .22);
  --hb-blue:   #78a5ff;
  --hb-teal:   #2dd4bf;
  --hb-bar-a:  #9cc0ff;
  --hb-bar-b:  #6fe6d4;
}
.hb-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(var(--hb-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hb-line) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(720px 480px at 50% 42%, transparent 50%, #000 92%);
  mask-image: radial-gradient(720px 480px at 50% 42%, transparent 50%, #000 92%);
}
/* interactive two-series curved area chart spanning the full hero width */
.hb-chart { position: absolute; left: 0; right: 0; bottom: 0; height: 440px; pointer-events: none; }
.hb-chart-svg { width: 100%; height: 100%; display: block; }
.hb-hits { pointer-events: auto; }
.hb-hit { fill: transparent; cursor: default; }

/* gradient area fills — soft, reaching all the way up to each curve */
.hb-stop-a0 { stop-color: var(--hb-blue); stop-opacity: .26; }
.hb-stop-a1 { stop-color: var(--hb-blue); stop-opacity: .02; }
.hb-stop-b0 { stop-color: var(--hb-teal); stop-opacity: .30; }
.hb-stop-b1 { stop-color: var(--hb-teal); stop-opacity: .03; }
.hb-area-a { fill: url(#hbFillA); }
.hb-area-b { fill: url(#hbFillB); }
.hb-line-a { fill: none; stroke: var(--hb-blue); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; opacity: .55; vector-effect: non-scaling-stroke; }
.hb-line-b { fill: none; stroke: var(--hb-teal); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; opacity: .5; vector-effect: non-scaling-stroke; }

/* hover guide */
.hb-guide { opacity: 0; transition: opacity .16s ease; }
.hb-chart.active .hb-guide { opacity: 1; }
.hb-rule { stroke: var(--hb-tick); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.hb-dot { stroke: var(--bg); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hb-dot-a { fill: var(--hb-blue); }
.hb-dot-b { fill: var(--hb-teal); }

.hb-tip {
  position: absolute; transform: translate(-50%, -136%);
  background: var(--tx); color: var(--bg);
  font: 600 11px/1 var(--font); white-space: nowrap;
  padding: 5px 9px; border-radius: 6px; pointer-events: none; opacity: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.2); z-index: 4;
  transition: opacity .18s ease, left .12s ease, top .12s ease;
}
.hb-chart.active .hb-tip { opacity: 1; }
.hb-legend {
  position: absolute; left: 24px; bottom: 18px; display: flex; gap: 16px;
  font: 600 11px/1 var(--font); color: var(--muted); pointer-events: none;
}
.hb-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hb-legend i { width: 11px; height: 11px; border-radius: 2px; display: block; }
.hb-sw-a { background: var(--hb-blue); }
.hb-sw-b { background: var(--hb-teal); }
@media (max-width: 700px) { .hb-chart { display: none; } }

/* signature screenshot-capture selection — frames the headline block */
.hb-capture {
  position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
  width: min(840px, 90vw); height: 366px;
  --hb-cap: rgba(37, 99, 235, .42);
  border: 2.5px dashed var(--hb-cap); border-radius: 12px;
  pointer-events: auto; cursor: grab; z-index: 2;
}
[data-theme="dark"] .hb-capture { --hb-cap: rgba(120, 165, 255, .50); }
.hb-capture.grabbing { cursor: grabbing; }
.cap-h {
  position: absolute; width: 14px; height: 14px; border-radius: 3px;
  background: var(--hb-cap);
}
.cap-tl { top: -8px;  left: -8px;  }
.cap-tr { top: -8px;  right: -8px; }
.cap-bl { bottom: -8px; left: -8px;  }
.cap-br { bottom: -8px; right: -8px; }
.cap-dim {
  position: absolute; top: 8px; left: 12px;
  font: 600 12px/1 var(--font); letter-spacing: .02em;
  color: var(--hb-cap); white-space: nowrap;
}
@media (max-width: 880px) {
  .hb-capture { display: none; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px 0 10px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: 13px; font-weight: 500; color: var(--muted); box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.hero-badge b { color: var(--tx); font-weight: 600; }
h1.hero-h {
  font-size: 48px; line-height: 1.05; letter-spacing: -.035em; font-weight: 800; margin: 0 0 22px;
  text-wrap: balance;
}
h1.hero-h .grad {
  background: linear-gradient(100deg, var(--accent), var(--c-teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 560px; margin: 0 auto 30px; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 18px; margin-top: 22px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ico { font-size: 17px; color: var(--accent); }

/* ── app mockup window (shared visual w/ product) ──────────────────── */
.mock {
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
  height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px;
  border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.mock-bar .dots { display: flex; gap: 7px; }
.mock-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-2); }
.mock-bar .mb-title { font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 0 auto; display: flex; align-items: center; gap: 7px; }
.mock-bar .mb-title .glyph { color: var(--tx); display: inline-flex; }
.hero-mock { position: relative; margin-top: 40px; width: 100%; max-width: 720px; align-self: center; transform: none; pointer-events: auto; }
.hero-mock .floaty {
  position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-md); padding: 9px 12px; display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600;
}
.hero-mock .floaty .ico { font-size: 18px; }
.hero-mock .f-explain { top: -16px; right: 6%; color: var(--accent); }
.hero-mock .f-explain .ico { color: var(--accent); }
.hero-mock .f-chart { bottom: 26px; left: 4%; color: var(--ok); }
.hero-mock .f-chart .ico { color: var(--ok); }

/* mock content: split capture + analysis */
.mock-body { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mb-panel { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.mb-head { font-size: 11px; font-weight: 700; color: var(--muted); padding: 8px 11px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px; letter-spacing: .02em; }
.mb-head .ico { font-size: 14px; }
.mb-head .tag { margin-left: auto; font-family: var(--mono); font-size: 9.5px; color: var(--muted); font-weight: 500; }

/* tiny sheet + dashboard reused from app */
.t-sheet { font-family: var(--mono); font-size: 10px; }
.t-sheet table { width: 100%; border-collapse: collapse; }
.t-sheet td { border: 1px solid var(--border); padding: 3px 7px; text-align: right; color: var(--tx); }
.t-sheet td.h { background: var(--surface-2); color: var(--muted); text-align: left; font-family: var(--font); font-weight: 600; font-size: 10px; }
.t-sheet td.lab { text-align: left; color: var(--muted); }

.chart-mini { padding: 12px; }
.cm-plot { position: relative; }
.mbar { transition: opacity .15s ease; cursor: pointer; }
.cm-plot:hover .mbar { opacity: .42; }
.cm-plot:hover .mbar.on { opacity: 1; }
.cm-tip {
  position: absolute; bottom: 100%; transform: translate(-50%, -6px);
  background: var(--tx); color: var(--bg);
  font: 600 10px/1 var(--font); white-space: nowrap;
  padding: 5px 8px; border-radius: 6px; pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.18); z-index: 3;
}
.cm-tip::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 4px solid transparent; border-top-color: var(--tx);
}
.legend { display: flex; gap: 12px; margin-top: 9px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted); }
.legend i { width: 8px; height: 8px; border-radius: 2px; }

.mb-analysis { padding: 12px; }
.mb-analysis .ln { height: 8px; border-radius: 4px; background: var(--surface-2); margin-bottom: 7px; }
.mb-analysis .ln:nth-child(1){ width: 92%; } .mb-analysis .ln:nth-child(2){ width: 100%; }
.mb-analysis .ln:nth-child(3){ width: 78%; } .mb-analysis .ln:nth-child(4){ width: 88%; }
.mb-chips { display: flex; gap: 6px; margin-top: 11px; }
.mb-chips i { height: 20px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); display: block; }

/* ── logos strip ───────────────────────────────────────────────────── */
.providers { padding: 26px 0 4px; }
.providers .pr-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.providers .lbl { font-size: 13px; color: var(--muted); }
.providers .prov { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--tx); opacity: .82; }
.providers .prov .p-logo { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 12px; }

/* ── generic section heading ───────────────────────────────────────── */
.sec { padding: 88px 0; }
.sec-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.sec-head h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 16px 0 14px; text-wrap: balance; }
.sec-head p { font-size: 18px; color: var(--muted); margin: 0; text-wrap: pretty; }

/* ── what it is: 3 value points ────────────────────────────────────── */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 0; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* show-don't-tell visual at the top of each card */
.value-viz {
  position: relative; height: 134px; overflow: hidden;
  background:
    radial-gradient(120% 130% at 50% -25%, var(--accent-soft), transparent 62%),
    var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.value-viz.viz-pad { display: flex; flex-direction: column; justify-content: center; gap: 15px; padding: 0 22px; }
.value-body { padding: 22px 24px 26px; }
.value-body .v-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.value-body .v-ico .ico { font-size: 24px; }
.value-body h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; }
.value-body p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.58; }

/* card 1 — explained: mini chart + plain-English callout */
.ve-chart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; }
.ve-base { stroke: var(--border-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ve-bar { fill: var(--accent); }
.ve-bar.dim { opacity: .32; }
.ve-trend { fill: none; stroke: var(--c-teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ve-tip {
  position: absolute; top: 16px; left: 18px; z-index: 2;
  background: var(--tx); color: var(--bg); font-size: 11px; font-weight: 600;
  padding: 6px 10px; border-radius: 7px; box-shadow: var(--shadow-md);
  transition: transform .22s var(--ease);
}
.ve-tip span { opacity: .68; font-weight: 500; }
.ve-tip .ve-caret { position: absolute; bottom: -4px; left: 20px; width: 9px; height: 9px; background: var(--tx); transform: rotate(45deg); border-radius: 1px; }
.value:hover .ve-tip { transform: translateY(-2px); }

/* card 2 — visualized: table → bars, with view toggles */
.vv-pills { display: flex; gap: 6px; }
.vv-pills span {
  font-size: 10.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-2); color: var(--muted);
}
.vv-pills span.on { background: var(--accent); color: #fff; border-color: transparent; }
.vv-morph { display: flex; align-items: center; justify-content: center; gap: 14px; }
.vv-table {
  width: 74px; flex: 0 0 74px; padding: 10px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.vv-table i { height: 7px; border-radius: 2px; background: var(--surface-2); display: block; }
.vv-table i:first-child { background: var(--accent-soft); }
.vv-arrow { color: var(--muted); font-size: 20px; transition: transform .22s var(--ease); }
.value:hover .vv-arrow { transform: translateX(3px); }
.vv-bars {
  flex: 0 0 100px; height: 60px; padding: 10px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: flex-end; gap: 9px;
}
.vv-bars i { flex: 1; border-radius: 3px 3px 0 0; display: block; }
.vv-bars i:nth-child(1) { background: var(--c-blue); }
.vv-bars i:nth-child(2) { background: var(--c-teal); }
.vv-bars i:nth-child(3) { background: var(--c-amber); }

/* card 3 — local & private: capture → your key, bypassing servers */
.vl-flow { display: flex; align-items: center; gap: 10px; }
.vl-cap {
  width: 46px; height: 38px; flex: 0 0 46px; display: grid; place-items: center;
  border-radius: 8px; border: 1.5px dashed var(--accent); background: var(--accent-soft); color: var(--accent);
}
.vl-cap .ico { font-size: 19px; }
.vl-wire { flex: 1; height: 2px; position: relative;
  background: repeating-linear-gradient(90deg, var(--border-2) 0 5px, transparent 5px 10px); }
.vl-wire::after { content: ""; position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  border: 4px solid transparent; border-left-color: var(--border-2); }
.vl-key {
  display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.vl-key .ico { font-size: 17px; color: var(--ok); }
.vl-key-tx { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--tx); line-height: 1.25; }
.vl-skip { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; color: var(--muted); }
.vl-server {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px;
  border: 1px dashed var(--border-2); font-family: var(--mono); font-size: 10px; color: var(--muted);
  position: relative; opacity: .85;
}
.vl-server .ico { font-size: 13px; }
.vl-server::after { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 1.5px;
  background: #e11d48; transform: rotate(-7deg); }
.ic-blue { background: var(--accent-soft); color: var(--accent); }
.ic-teal { background: rgba(20,184,166,.12); color: var(--c-teal); }
.ic-violet { background: rgba(139,92,246,.12); color: var(--c-violet); }

/* ── WORKS WITH YOUR TOOLS (execution modes / logo wall) ───────────── */
.sec.modes { padding: 60px 0; }
.sec.modes .sec-head { margin-bottom: 36px; }
.modes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 940px; margin: 0 auto; align-items: start; }
.mode-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.mode-ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center; }
.mode-ico .ico { font-size: 23px; }
.mode-head h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 3px 0 6px; display: flex; align-items: center; gap: 9px; }
.mode-head p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.5; }
.byok {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 6px; background: rgba(20,184,166,.12); color: var(--c-teal);
  border: 1px solid rgba(20,184,166,.22);
}
.tile-wall { display: flex; flex-wrap: nowrap; gap: 8px; }
.logo-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 64px; flex: 0 0 64px; }
.tile-logo {
  width: 64px; height: 64px; border-radius: 13px; background: #fff;
  border: 1px solid var(--border); display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.logo-tile:hover .tile-logo { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tile-logo.dark { background: #000; border-color: #000; overflow: hidden; }
.tile-logo img { width: 28px; height: 28px; object-fit: contain; display: block; }
.mono-fallback {
  width: 32px; height: 32px; border-radius: 9px; place-items: center;
  color: #fff; font-weight: 800; font-size: 15px; font-family: var(--font); letter-spacing: -.02em;
}
.tile-name { font-size: 11px; font-weight: 600; color: var(--tx); text-align: center; line-height: 1.25; }
.mode-foot {
  display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0;
  font-size: 13px; line-height: 1.5; color: var(--muted);
}
.mode-foot .ico { font-size: 16px; color: var(--muted); flex: 0 0 auto; margin-top: 1px; }
.modes-cta { display: flex; justify-content: center; margin-top: 40px; }
.modes-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--accent);
  padding: 10px 18px; border-radius: var(--r); border: 1px solid var(--accent-line);
  background: var(--accent-soft); transition: background .15s var(--ease), gap .15s var(--ease);
}
.modes-link:hover { background: rgba(37,99,235,.16); gap: 11px; }
.modes-link .ico { font-size: 18px; }

/* ── HOW IT WORKS (centerpiece) ────────────────────────────────────── */
.how { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
[data-theme="dark"] .how { background: #0f1218; }

/* "What it is" sits on white to match "How it works" */
#what { background: var(--surface); }
[data-theme="dark"] #what { background: #0f1218; }
.how-stage {
  display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: stretch;
  max-width: 1040px; margin: 0 auto;
}
.steps-rail { display: flex; flex-direction: column; gap: 10px; }
.step {
  display: flex; gap: 16px; padding: 18px 18px; border-radius: var(--r-lg); cursor: pointer;
  border: 1px solid transparent; transition: all .25s var(--ease); position: relative;
}
.step:hover { background: var(--surface-2); }
.step.active { background: var(--surface-2); border-color: var(--border); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .step.active { background: var(--surface); }
.step .s-num {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 14px; background: var(--surface); border: 1px solid var(--border-2);
  color: var(--muted); transition: all .25s var(--ease);
}
.step.active .s-num { background: var(--accent); border-color: transparent; color: #fff; }
.step .s-body h4 { font-size: 16.5px; font-weight: 700; margin: 4px 0 5px; letter-spacing: -.01em; }
.step .s-body p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }
.step .s-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); border-radius: 2px; }
.step.active .s-progress { animation: stepfill 2s linear forwards; }
@keyframes stepfill { from { width: 0; } to { width: 100%; } }

/* the panel that swaps per step */
.how-screen {
  position: relative; display: grid; border-radius: var(--r-lg); border: 1px solid var(--border);
  background: var(--bg); box-shadow: var(--shadow-md); overflow: hidden; min-height: 420px;
}
.how-pane { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; padding: 0; }
.how-pane.show { opacity: 1; transform: none; pointer-events: auto; }

/* step 1: hotkey over a faint desktop */
.pane-pad { padding: 26px; height: 100%; display: flex; flex-direction: column; }
.hk-screen { flex: 1; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); position: relative; overflow: hidden; display: grid; place-items: center; }
.hk-desktop { position: absolute; inset: 0; opacity: .5; }
.hk-win { position: absolute; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.hk-win i { height: 7px; border-radius: 3px; background: var(--surface-2); display: block; }
.hk-win i:first-child { width: 42%; background: var(--accent-soft); }
.hk-win.w1 { left: 7%;  top: 14%;  width: 38%; height: 33%; transform: rotate(-2deg); }
.hk-win.w2 { right: 8%; top: 20%;  width: 33%; height: 26%; transform: rotate(2.5deg); }
.hk-win.w3 { left: 24%; bottom: 11%; width: 40%; height: 30%; transform: rotate(-1deg); }
.hk-fore { position: relative; z-index: 2; text-align: center; }
.hk-press { display: flex; align-items: center; justify-content: center; gap: 10px; }
.kbd {
  font-family: var(--mono); font-size: 18px; font-weight: 600; padding: 12px 16px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border-2); border-bottom-width: 3px; color: var(--tx); box-shadow: var(--shadow-md);
  transition: transform .12s var(--ease), border-bottom-width .12s var(--ease);
}
.how-pane.show .kbd { animation: keypress 2.6s var(--ease) infinite; }
.how-pane.show .kbd:nth-of-type(2) { animation-delay: .08s; }
.how-pane.show .kbd:nth-of-type(3) { animation-delay: .16s; }
@keyframes keypress {
  0%, 22%, 46%, 100% { transform: translateY(0); border-bottom-width: 3px; box-shadow: var(--shadow-md); }
  30%, 38% { transform: translateY(2px); border-bottom-width: 1px; box-shadow: var(--shadow-sm); }
}
.hk-plus { font-size: 20px; color: var(--muted); }
.hk-alt { text-align: center; margin-top: 10px; font-size: 12px; color: var(--muted-2, var(--muted)); opacity: .7; font-family: var(--mono); }
.hk-caption { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 280px; margin-left: auto; margin-right: auto; }
.hk-pulse { position: absolute; z-index: 1; width: 120px; height: 120px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; top: calc(50% - 78px); }
.how-pane.show .hk-pulse { animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .5; } 100% { transform: scale(2.4); opacity: 0; } }

/* step 2: drag select over a real webpage snippet */
.web-screen { flex: 1; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); position: relative; overflow: hidden; display: grid; place-items: center; padding: 22px; }
.web-snip { width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-md); overflow: hidden; }
.ws-bar { display: flex; align-items: center; gap: 6px; padding: 8px 11px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.ws-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); }
.ws-url { margin-left: 8px; display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.ws-url .ico { font-size: 12px; }
.ws-body { padding: 15px 16px 17px; }
.ws-kicker { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.ws-head { font-size: 16px; font-weight: 800; letter-spacing: -.015em; color: var(--tx); margin: 6px 0 9px; line-height: 1.2; }
.ws-para { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin: 0 0 14px; }
.ws-para b { color: var(--tx); font-weight: 700; }
.ws-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.ws-stat { padding: 9px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.ws-stat b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.02em; color: var(--tx); }
.ws-stat span { font-size: 9.5px; color: var(--muted); }
.web-sel { position: absolute; left: 13%; top: 30%; width: 74%; height: 50%; border: 1.5px dashed var(--c-blue); border-radius: 4px; box-shadow: 0 0 0 9999px rgba(37,99,235,.07), 0 8px 24px -10px rgba(37,99,235,.5); opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .how-pane.show .web-sel { animation: webdrag 3.4s var(--ease) infinite; } }
@keyframes webdrag {
  0%   { left: 24%; top: 40%; width: 6%; height: 7%; opacity: 0; }
  10%  { opacity: 1; }
  52%, 82% { left: 13%; top: 30%; width: 74%; height: 50%; opacity: 1; }
  100% { left: 13%; top: 30%; width: 74%; height: 50%; opacity: 1; }
}
.web-sel .h { position: absolute; width: 8px; height: 8px; background: #fff; border: 1.5px solid var(--c-blue); border-radius: 2px; }
.web-sel .h-nw{top:-4px;left:-4px} .web-sel .h-ne{top:-4px;right:-4px} .web-sel .h-sw{bottom:-4px;left:-4px} .web-sel .h-se{bottom:-4px;right:-4px}
.web-pill { position: absolute; left: 0; bottom: -28px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--c-blue); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .how-pane.show .web-pill { animation: webpill 3.4s var(--ease) infinite; } }
@keyframes webpill { 0%, 50% { opacity: 0; transform: translateY(-3px); } 62%, 100% { opacity: 1; transform: none; } }
.web-pill .ico { font-size: 14px; }

/* step 3: result (analysis + year-over-year line chart, single column) */
.ans-pad { gap: 0; }
.ans-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.ans-head .ico { font-size: 17px; color: var(--accent); }
.ans-text p { font-size: 14px; line-height: 1.6; color: var(--tx); margin: 0 0 9px; }
.ans-text p:last-child { margin-bottom: 0; }
.ans-text p b { font-weight: 700; }
.ans-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 12px; }
.ans-pills { display: flex; gap: 7px; }
.ans-pills b { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--muted); border: 1px solid var(--border-2); }
.ans-pills b .ico { font-size: 15px; }
.ans-pills b.on { background: var(--accent); color: #fff; border-color: transparent; }
.ans-pills b.more { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.ans-export { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 8px; background: var(--surface); color: var(--accent); border: 1px solid var(--accent-line); cursor: pointer; white-space: nowrap; }
.ans-export .ico { font-size: 15px; }
.ans-chart { margin-top: 4px; }
#howLineChart { width: 100%; height: auto; display: block; }
.ll-axis { font-family: var(--mono); font-size: 9px; fill: var(--muted); }
.ll-grid { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ll-line { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .how-pane.show .ll-line { animation: lineDraw 1.1s var(--ease); }
  .how-pane.show .ll-line.l2 { animation-delay: .1s; } .how-pane.show .ll-line.l3 { animation-delay: .2s; } .how-pane.show .ll-line.l4 { animation-delay: .3s; }
}
@keyframes lineDraw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
.ll-line.l1 { stroke: #9aa1ad; } .ll-line.l2 { stroke: #f5a524; }
.ll-line.l3 { stroke: #0ea5a4; } .ll-line.l4 { stroke: #2563eb; stroke-width: 3; }
.ans-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 12px; }
.ans-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.ans-legend i { width: 20px; height: 3px; border-radius: 2px; }
.ans-legend i.ll-2022 { background: #9aa1ad; } .ans-legend i.ll-2023 { background: #f5a524; }
.ans-legend i.ll-2024 { background: #0ea5a4; } .ans-legend i.ll-2025 { background: #2563eb; }

/* ── use cases ─────────────────────────────────────────────────────── */
.uc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 940px; margin: 0 auto; }
.usecase {
  display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--r-lg);
  border: 1px solid var(--border); background: var(--surface);
}
.usecase .uc-ico { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.usecase .uc-ico .ico { font-size: 22px; }
.usecase h3 { font-size: 16.5px; font-weight: 700; margin: 2px 0 6px; }
.usecase p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── download band ─────────────────────────────────────────────────── */
.cta-band { padding: 96px 0; background: var(--surface); }
.cta-inner {
  position: relative; border-radius: var(--r-xl); overflow: hidden; text-align: center;
  padding: 64px 40px; color: #fff;
  background:
    radial-gradient(120% 160% at 50% -30%, #4d8bff 0%, var(--accent) 42%, var(--accent-2) 100%);
  box-shadow: var(--shadow-lg);
}
.cta-inner::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 38px 38px; mask-image: radial-gradient(80% 80% at 50% 0%, #000, transparent 75%);
}
.cta-inner > * { position: relative; }
.cta-inner h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 0 0 14px; text-wrap: balance; }
.cta-inner p { font-size: 18px; opacity: .9; margin: 0 0 30px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-inner .btn-white { background: #fff; color: var(--accent-2); border-color: transparent; }
.cta-inner .btn-white:hover { background: #f1f5ff; }
.cta-inner .btn-on { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.cta-note { margin-top: 20px; font-size: 14px; opacity: .82; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-note span { display: inline-flex; align-items: center; gap: 6px; }
.cta-note .ico { font-size: 17px; }

/* ── FAQ (numbered accordion) ──────────────────────────────────────── */
.faq { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
[data-theme="dark"] .faq { background: #0f1218; }
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 18px; text-align: left;
  background: none; border: 0; cursor: pointer; padding: 22px 4px; color: var(--tx);
  font-family: var(--font); font-size: 17px; font-weight: 650; letter-spacing: -.01em;
  transition: color .15s var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); flex: 0 0 auto; }
.faq-t { flex: 1; text-wrap: balance; }
.faq-ico { flex: 0 0 auto; font-size: 23px; color: var(--muted); transition: transform .28s var(--ease), color .15s; }
.faq-item.open .faq-q { color: var(--tx); }
.faq-item.open .faq-ico { transform: rotate(45deg); color: var(--accent); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { overflow: hidden; }
.faq-a p { margin: 0 4px 22px 41px; font-size: 15px; line-height: 1.62; color: var(--muted); max-width: 62ch; }
.faq-a a { color: var(--accent); }
.faq-a a:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .faq-q { font-size: 15.5px; gap: 13px; }
  .faq-a p { margin-left: 31px; }
}

/* ── footer ────────────────────────────────────────────────────────── */
footer.site { border-top: 1px solid var(--border); padding: 52px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.foot-brand { max-width: 300px; }
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { font-size: 14px; color: var(--muted); margin: 0; }
.foot-links { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h5 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--tx); padding: 5px 0; opacity: .82; }
.foot-col a:hover { opacity: 1; color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); flex-wrap: wrap; gap: 12px; }
.foot-bottom .badges { display: flex; gap: 10px; }
.foot-bottom .badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 12px; }
.foot-bottom .badge .ico { font-size: 14px; }

/* ── entrance: content always visible; only a transform nudge animates ──
   (opacity is never animated — some embedded renderers freeze @keyframes
    at t=0, and we must never leave content invisible there) ── */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: revealUp .7s var(--ease) both; }
}
@keyframes revealUp { from { transform: translateY(18px); } to { transform: none; } }

/* ── responsive ────────────────────────────────────────────────────── */
@media (max-width: 940px) {
  h1.hero-h { font-size: 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 20px; min-height: 0; display: block; }
  .hero-mock { transform: none; align-self: auto; margin: 40px auto 0; max-width: 560px; }
  .how-stage { grid-template-columns: 1fr; gap: 28px; }
  .how-screen { min-height: 360px; }
  .value-grid { grid-template-columns: 1fr; }
  .uc-grid, .modes-grid { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .sec-head h2, .cta-inner h2 { font-size: 32px; }
  .nav-links .link { display: none; }
  .nav-gh span { display: none; }
  .menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); color: var(--tx); cursor: pointer; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  h1.hero-h { font-size: 36px; }
  .hero-sub { font-size: 17px; }
  .mock-body { grid-template-columns: 1fr; }
  .res-screen { grid-template-columns: 1fr; }
  .foot-links { gap: 36px; }
  .cta-inner { padding: 44px 22px; }
  .hero-mock .f-chart { left: 8px; } .hero-mock .f-explain { right: 8px; }
  .tile-wall { flex-wrap: wrap; }
}

/* ── hero screenshot-capture cursor (desktop/mouse only) ───────────────── */
.hero.cap-cursor {
  -webkit-user-select: none;
  user-select: none;
}
.hero.cap-cursor.capx-on,
.hero.cap-cursor.capx-on .hero-copy,
.hero.cap-cursor.capx-on .hero-mock,
.hero.cap-cursor.capx-on .hb-hits { cursor: none; }
/* interactive elements keep a normal pointer so they feel clickable */
.hero.cap-cursor a,
.hero.cap-cursor button,
.hero.cap-cursor .btn { cursor: pointer; }
/* the looping product demo always shows a normal arrow — never the hero crosshair */
.hero.cap-cursor.capx-on #scDemo,
.hero.cap-cursor.capx-on #scDemo * { cursor: default; }

.capx-reticle {
  position: absolute; top: 0; left: 0; z-index: 6;
  width: 0; height: 0; pointer-events: none;
  opacity: 0; transition: opacity .12s ease;
  will-change: transform;
}
.hero.cap-cursor.capx-on .capx-reticle { opacity: 1; }
.hero.cap-cursor.over-btn .capx-reticle { opacity: 0; }
/* crosshair: four arms with a clear center gap, macOS-style */
.capx-v, .capx-h { position: absolute; }
.capx-v { left: -1px; top: -14px; width: 2px; height: 28px;
  background: linear-gradient(var(--accent) 0 10px, transparent 10px 18px, var(--accent) 18px 28px); }
.capx-h { top: -1px; left: -14px; height: 2px; width: 28px;
  background: linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px, var(--accent) 18px 28px); }
.capx-readout {
  position: absolute; left: 14px; top: 12px;
  background: var(--tx); color: var(--bg);
  font: 600 11px/1 var(--font); letter-spacing: .02em;
  padding: 5px 8px; border-radius: 6px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}

/* fake drag-selection rectangle — matches the signature capture frame */
.capx-sel {
  position: absolute; top: 0; left: 0; z-index: 5;
  pointer-events: none; box-sizing: border-box;
  border: 2px dashed var(--hb-cap, var(--accent));
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  opacity: 0; transition: opacity .16s ease;
}
.capx-sel.show { opacity: 1; transition: none; }
.capx-sel-dim {
  position: absolute; top: 6px; left: 8px;
  background: var(--accent); color: #fff;
  font: 600 11px/1 var(--font); letter-spacing: .02em;
  padding: 4px 7px; border-radius: 5px; white-space: nowrap;
}
