/* SnapCount — shared mobile-first design system. Colours follow the app
   (frontend/lib/utils/constants.dart); pages are generated by scripts/build.mjs. */
:root {
  color-scheme: light;
  --bg:#f4f6fa; --surface:#fff; --surface-2:#eceff5; --bg-tint:#eaefff; --placeholder:#e1e6ee;
  --text:#0d1424; --text-body:#4a5468; --text-muted:#636d82; --border:#dce1e9; --border-strong:#c5cdd9;
  --accent:#2b59ff; --accent-hover:#1f45e0; --accent-text:#1c3dcc; --accent-soft:#eaefff; --accent-soft-strong:#d3dcff;
  --mint:#2fe09a; --success:#087a4a; --success-soft:#e2f7ec; --warning:#9a5300; --warning-soft:#fff3de; --error:#c42b1f;
  --m0:#2b59ff; --m0-ink:#fff; --m1:#ffd43b; --m1-ink:#0d1424; --m2:#c8102e; --m2-ink:#fff; --m3:#4cc3f5; --m3-ink:#0d1424; --m4:#8e2c9a; --m4-ink:#fff; --m5:#ff8a1f; --m5-ink:#0d1424;
  --header-bg:rgb(244 246 250 / .9); --shadow-card:0 18px 60px -30px rgb(13 20 36 / .17); --shadow-pop:0 24px 70px -25px rgb(13 20 36 / .27);
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Arial,sans-serif;
  --gutter:24px; --header-h:80px; --toc-bar-h:52px;
  --radius-md:14px; --radius-lg:20px; --radius-xl:24px; --radius-2xl:28px; --radius-3xl:32px; --ease-out:cubic-bezier(.2,.7,.2,1);
}
:root[data-theme="dark"] {
  color-scheme:dark; --bg:#000; --surface:#12151c; --surface-2:#1b1f28; --bg-tint:#141c40; --placeholder:#222733;
  --text:#eef1f6; --text-body:#aab3c3; --text-muted:#8891a3; --border:#2a303c; --border-strong:#3a4250;
  --accent:#3c69fe; --accent-hover:#2d5af0; --accent-text:#a3b6ff; --accent-soft:#141c40; --accent-soft-strong:#22306b;
  --success:#3dd598; --success-soft:#0d271c; --warning:#ffb44a; --warning-soft:#2b200e; --error:#ff7b70;
  --header-bg:rgb(0 0 0 / .85); --shadow-card:0 18px 60px -30px #0009; --shadow-pop:0 24px 70px -25px #000b;
}
@media(prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    color-scheme:dark; --bg:#000; --surface:#12151c; --surface-2:#1b1f28; --bg-tint:#141c40; --placeholder:#222733;
    --text:#eef1f6; --text-body:#aab3c3; --text-muted:#8891a3; --border:#2a303c; --border-strong:#3a4250;
    --accent:#3c69fe; --accent-hover:#2d5af0; --accent-text:#a3b6ff; --accent-soft:#141c40; --accent-soft-strong:#22306b;
    --success:#3dd598; --success-soft:#0d271c; --warning:#ffb44a; --warning-soft:#2b200e; --error:#ff7b70;
    --header-bg:rgb(0 0 0 / .85); --shadow-card:0 18px 60px -30px #0009; --shadow-pop:0 24px 70px -25px #000b;
  }
}

/* Base */
* {box-sizing:border-box}
html {scroll-padding-top:calc(var(--header-h) + 24px);-webkit-text-size-adjust:100%}
body {margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
button,a {-webkit-tap-highlight-color:transparent} button,input {font:inherit} button {cursor:pointer;color:inherit;border:0}
a {color:var(--accent-text);text-underline-offset:4px} a:hover {text-decoration:none}
img {display:block;max-width:100%;height:auto} svg {flex-shrink:0} [hidden] {display:none!important}
h1,h2,h3,p,figure {margin:0}
h1,h2,h3 {line-height:1.08;font-weight:800;letter-spacing:-.035em;text-wrap:balance}
h2 {font-size:clamp(34px,4vw,54px)} h2 span {color:var(--text-muted)} h3 {font-size:24px;font-weight:700;letter-spacing:-.02em}
ul,ol {margin:0;padding:0}
::selection {background:var(--accent);color:#fff}
:focus-visible {outline:3px solid var(--accent-text);outline-offset:4px}
.container {width:min(100% - var(--gutter)*2,1160px);margin-inline:auto}
.container--narrow {width:min(100% - var(--gutter)*2,860px)}
.icon {width:24px;height:24px;vertical-align:middle}
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link {position:fixed;left:20px;top:-100px;padding:12px 20px;background:var(--surface);z-index:100;border-radius:12px}
.skip-link:focus {top:12px}
.tabular,.count-number,.object-dot,.zone-grid b,.ring-label b {font-variant-numeric:tabular-nums}

/* Header */
.site-header {height:var(--header-h);position:sticky;top:0;z-index:50;background:var(--header-bg);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid transparent;transition:border-color .2s}
.site-header.is-scrolled {border-color:var(--border)}
.header-inner {height:100%;display:flex;align-items:center;gap:22px}
.brand {display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);font-size:23px;font-weight:800;letter-spacing:-.04em;white-space:nowrap}
.brand img {border-radius:11px} .brand-accent {color:var(--accent-text)}
.site-nav {margin-left:auto}
.nav-list {display:flex;align-items:center;gap:26px;list-style:none}
.nav-list a {font-size:14px;font-weight:550;text-decoration:none;color:var(--text-muted);white-space:nowrap}
.nav-list a:hover,.nav-list a[aria-current="page"] {color:var(--accent-text)}
.header-actions {display:flex;align-items:center;gap:12px}
.icon-btn {position:relative;width:44px;height:44px;display:inline-grid;place-items:center;border-radius:50%;background:var(--surface);border:1px solid var(--border)}
.icon-btn:hover {background:var(--accent-soft)}
.theme-toggle .icon {position:absolute;width:20px;height:20px}
.icon-sun {display:none} [data-theme="dark"] .icon-sun {display:block} [data-theme="dark"] .icon-moon {display:none}
@media(prefers-color-scheme:dark) {:root:not([data-theme="light"]) .icon-sun {display:block}:root:not([data-theme="light"]) .icon-moon {display:none}}
.header-download {display:flex;align-items:center;gap:12px;padding:11px 16px;background:var(--text);color:var(--bg);border-radius:12px;font-size:13px;font-weight:650;text-decoration:none;white-space:nowrap}
.header-download .icon {width:17px;height:17px}
.nav-toggle,.mobile-store {display:none}

/* Buttons, badge, chips */
.btn {display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:14px 20px;border-radius:15px;font-weight:650;font-size:15px;text-decoration:none;transition:transform .2s,background .2s;line-height:1.4}
.btn:hover {transform:translateY(-2px)}
.btn .icon {width:20px;height:20px}
.btn-primary {background:var(--accent);color:#fff;box-shadow:0 8px 24px -12px rgb(43 89 255 / .53)}
.btn-primary:hover {background:var(--accent-hover)}
.btn-secondary {background:var(--surface-2);color:var(--text)}
.text-link {display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:650;color:var(--text);text-decoration:none}
.text-link .icon {width:18px;height:18px}
.text-link:hover {color:var(--accent-text)}
.text-link--light {color:#fff} .text-link--light:hover {color:#d9e1ff}
.store-badge {display:inline-block;padding:13px;margin:-13px;border-radius:12px;line-height:0}
.store-badge img {height:52px;width:auto}
.store-badge:hover img {opacity:.86}
.chips {display:flex;flex-wrap:wrap;gap:6px;list-style:none}
.chip {display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;background:var(--surface-2);color:var(--text-body);font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap}
.chip .icon {width:13px;height:13px}
.chip--success {background:var(--success-soft);color:var(--success)}
.chip--warning {background:var(--warning-soft);color:var(--warning)}
.chips--stack {flex-direction:column;align-items:flex-start}
.legend {display:flex;flex-wrap:wrap;gap:6px;list-style:none}
.legend-chip {display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:var(--surface);color:var(--text);font-size:12px;font-weight:600;box-shadow:0 1px 3px rgb(13 20 36 / .12)}
.legend-chip i {width:10px;height:10px;border-radius:50%;background:var(--fill,var(--m0))}
.legend-chip b {font-variant-numeric:tabular-nums}

/* Markers (as drawn by the app: coloured disc, white ring, bold number) */
.object-dot {--dot:26px;position:absolute;left:var(--x);top:var(--y);translate:-50% -50%;display:grid;place-items:center;min-width:var(--dot);height:var(--dot);padding:0 5px;border-radius:calc(var(--dot) / 2);background:var(--fill,var(--m0));color:var(--ink,var(--m0-ink));font-size:calc(var(--dot) * .5);font-weight:700;line-height:1;box-shadow:0 0 0 2px #fff,0 2px 5px rgb(0 0 0 / .32)}
[data-group="1"] {--fill:var(--m1);--ink:var(--m1-ink)} [data-group="2"] {--fill:var(--m2);--ink:var(--m2-ink)} [data-group="3"] {--fill:var(--m3);--ink:var(--m3-ink)} [data-group="4"] {--fill:var(--m4);--ink:var(--m4-ink)} [data-group="5"] {--fill:var(--m5);--ink:var(--m5-ink)}
.photo-frame {position:relative;width:100%;background:var(--placeholder)}
.photo-frame img {width:100%;height:100%;object-fit:fill}
.frame-dots {position:absolute;inset:0}
.frame-dots .object-dot {--dot:20px}
.photo-zoom {position:absolute;inset:0;overflow:hidden;background:var(--placeholder)}
.photo-zoom>.photo-frame {position:absolute;left:50%;top:50%;width:calc(var(--zs) * 100%);transform:translate(calc(var(--zx) * -1),calc(var(--zy) * -1))}
.zoom-pill {position:absolute;top:14px;left:14px;display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;background:rgb(13 20 36 / .78);color:#fff;font-size:12px;font-weight:650;backdrop-filter:blur(8px)}
.zoom-pill .icon {width:14px;height:14px}

/* Hero */
.hero {display:grid;grid-template-columns:1.05fr 1fr;gap:64px;align-items:center;padding-block:76px 56px}
.eyebrow {display:flex;align-items:center;gap:9px;color:var(--accent-text);font-size:12px;letter-spacing:.12em;font-weight:750;line-height:1.4;text-transform:uppercase}
.eyebrow img {border-radius:7px}
.live-dot {width:7px;height:7px;display:inline-block;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px var(--accent-soft)}
.hero h1 {font-size:clamp(50px,5.4vw,78px);letter-spacing:-.045em;line-height:1.04;margin-top:24px}
.word-frame {position:relative;color:var(--accent-text);display:inline-block;padding:0 7px 6px;margin-left:-7px}
.word-frame:after,.word-frame:before,.word-frame i:before,.word-frame i:after {content:"";position:absolute;width:11px;height:11px;border-color:var(--accent);border-style:solid;opacity:.7}
.word-frame:before {left:-4px;top:3px;border-width:2px 0 0 2px;border-radius:4px 0 0}
.word-frame:after {right:-5px;top:3px;border-width:2px 2px 0 0;border-radius:0 4px 0 0}
.word-frame i:before {left:-4px;bottom:0;border-width:0 0 2px 2px;border-radius:0 0 0 4px}
.word-frame i:after {right:-5px;bottom:0;border-width:0 2px 2px 0;border-radius:0 0 4px}
.hero-description {font-size:19px;line-height:1.65;color:var(--text-body);margin-top:24px;max-width:540px}
.hero-actions {display:flex;align-items:center;gap:28px;margin-top:30px;flex-wrap:wrap}
.availability {display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:13px;margin-top:20px}
.availability .icon {width:16px;height:16px}
.hero-note {display:flex;align-items:center;gap:10px;margin-top:22px;font-size:13px;color:var(--text-muted)}
.hero-note .icon {width:18px;height:18px;color:var(--accent-text)}
.hero-note a {font-weight:650}
.hero-showcase {position:relative;isolation:isolate;padding:40px 22px 0}
.showcase-orbit {position:absolute;z-index:-1;inset:45px -16px 84px;background:var(--bg-tint);border-radius:44% 44% 38% 38%;transform:rotate(8deg)}
.showcase-orbit:after {content:"";position:absolute;inset:-18px;border:1px dashed var(--border-strong);border-radius:inherit}
.float-label {position:absolute;top:0;left:0;z-index:2;display:flex;align-items:center;gap:8px;padding:11px 15px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-card);font-size:12px;font-weight:600;transform:rotate(-4deg)}
.float-label .icon {width:17px;height:17px;color:var(--accent-text)}
.scan-card {background:var(--surface);padding:12px;border-radius:28px;box-shadow:var(--shadow-pop);border:1px solid var(--border);transform:rotate(2deg)}
.scan-card-top {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:5px 6px 12px}
.scan-card-top>span:first-child {display:flex;align-items:center;gap:7px;font-size:13px;font-weight:650}
.scan-card-top .icon {width:16px;height:16px;color:var(--accent-text)}
.example-label {font-size:10px;letter-spacing:.08em;color:var(--text-muted);text-transform:uppercase}
.demo-photo {position:relative;aspect-ratio:1.13;overflow:hidden;border-radius:18px;background:var(--placeholder)}
.demo-photo img {width:100%;height:100%}
.demo-photo img {object-fit:cover;object-position:50% 46%}
.scan-corners {position:absolute;inset:14px;pointer-events:none}
.scan-corners i {position:absolute;width:26px;height:26px;border-style:solid;border-color:var(--mint)}
.scan-corners i:nth-child(1) {top:0;left:0;border-width:3px 0 0 3px;border-radius:9px 0 0}
.scan-corners i:nth-child(2) {top:0;right:0;border-width:3px 3px 0 0;border-radius:0 9px 0 0}
.scan-corners i:nth-child(3) {bottom:0;left:0;border-width:0 0 3px 3px;border-radius:0 0 0 9px}
.scan-corners i:nth-child(4) {bottom:0;right:0;border-width:0 3px 3px 0;border-radius:0 0 9px}
.object-dots {position:absolute;inset:0;transition:opacity .2s}
.object-dots.is-hidden {opacity:0}
.js .object-dots:not(.is-ready) {opacity:0}
.photo-caption {position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:7px 12px;border-radius:30px;background:rgb(255 255 255 / .94);color:#0d1424;font-size:12px;font-weight:600;white-space:nowrap}
.photo-caption .icon {width:14px;height:14px;color:#087a4a}
.scan-result {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 8px 4px}
.count-head {display:flex;align-items:baseline;gap:10px;line-height:1}
.count-number {font-size:48px;font-weight:800;letter-spacing:-.04em}
.count-name {font-size:15px;color:var(--text-muted);font-weight:600}
.marker-toggle {display:flex;align-items:center;gap:7px;min-height:44px;padding:9px 11px;border-radius:12px;background:var(--accent-soft);font-size:12px;font-weight:600;color:var(--accent-text)}
.marker-toggle>.icon {width:16px;height:16px}
.switch-track {width:28px;height:17px;background:var(--accent);border-radius:20px;position:relative;margin-left:3px}
.switch-track:after {content:"";width:13px;height:13px;position:absolute;right:2px;top:2px;border-radius:50%;background:#fff;transition:transform .2s}
.marker-toggle[aria-checked="false"] .switch-track {background:var(--text-muted)}
.marker-toggle[aria-checked="false"] .switch-track:after {transform:translateX(-11px)}
.demo-meta {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 8px 6px}
.demo-meta .legend-chip {background:var(--surface-2);box-shadow:none}
.demo-controls {display:flex;justify-content:center;gap:4px;position:relative;margin:26px auto 0;width:fit-content;max-width:100%;border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:5px;box-shadow:var(--shadow-card)}
.demo-controls button {min-height:40px;padding:9px 14px;border-radius:9px;background:transparent;font-size:13px;font-weight:600;color:var(--text-muted);white-space:nowrap}
.demo-controls button[aria-pressed="true"] {background:var(--accent);color:#fff}
.demo-controls button:hover:not([aria-pressed="true"]) {background:var(--accent-soft)}
.demo-hint {text-align:center;margin-top:10px;color:var(--text-muted);font-size:12px}

/* Sections */
.benefit-strip {border-block:1px solid var(--border);margin-top:18px}
.benefit-strip .container {display:flex;justify-content:space-between;gap:20px;padding-block:22px}
.benefit-strip span {display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--text-body)}
.benefit-strip .icon {width:20px;height:20px;color:var(--accent-text)}
.section {padding-block:92px}
.section-heading {display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:40px}
.section-heading h2,.faq-section h2 {margin-top:16px}
.section-heading>p {font-size:16px;line-height:1.7;color:var(--text-muted);padding-bottom:4px;max-width:380px}

.steps-grid {display:grid;gap:18px}
.steps-grid--4 {grid-template-columns:repeat(4,minmax(0,1fr))}
.step-card {overflow:hidden;border:1px solid var(--border);border-radius:24px;background:var(--surface)}
.step-visual {height:220px;position:relative;margin:8px 8px 0;border-radius:17px;overflow:hidden;background:var(--surface-2);display:flex;align-items:center;justify-content:center}
.capture-visual>img {width:100%;height:100%;object-fit:cover;object-position:50% 48%}
.mini-corners {position:absolute;inset:22px 34px 70px;border-radius:12px}
.mini-corners::before,.mini-corners::after {content:"";position:absolute;inset:0;border:3px solid #4e7aff;border-radius:12px;clip-path:polygon(0 0,28% 0,28% 6px,6px 6px,6px 28%,0 28%,0 72%,6px 72%,6px calc(100% - 6px),28% calc(100% - 6px),28% 100%,0 100%)}
.mini-corners::after {transform:scaleX(-1)}
.mini-capture {display:grid;place-items:center;position:absolute;bottom:14px;left:50%;translate:-50% 0;width:50px;height:50px;border:3px solid #fff;background:var(--accent);border-radius:50%;color:#fff;box-shadow:0 0 0 3px var(--accent)}
.mini-capture .icon {width:21px}
.mini-flash {position:absolute;bottom:22px;right:22px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgb(13 20 36 / .55);color:#fff}
.mini-flash .icon {width:16px;height:16px}
.step-visual .legend {position:absolute;left:12px;bottom:12px}
.step-copy {padding:22px}
.step-number {display:inline-flex;color:var(--accent-text);font-size:12px;font-weight:700;letter-spacing:.06em;margin-bottom:12px}
.step-copy h3 {font-size:21px}
.step-copy p {font-size:14px;line-height:1.65;color:var(--text-muted);margin-top:10px}
.save-visual {background:var(--accent-soft)}
.mini-result {padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:14px;width:84%;transform:rotate(-4deg);box-shadow:var(--shadow-card)}
.mini-result>span {display:flex;align-items:center;gap:6px;font-size:12px;font-weight:650}
.mini-result>span .icon {width:15px;height:15px;color:var(--accent-text)}
.mini-result>div {display:flex;gap:10px;align-items:center;margin-top:14px}
.mini-result img {width:44px;height:44px;object-fit:cover;border-radius:8px}
.mini-result div>span {font-size:13px;font-weight:650}
.mini-result small {display:block;font-size:11px;color:var(--text-muted);font-weight:500;margin-top:2px}
.mini-result div>.icon {width:17px;margin-left:auto;color:var(--success)}
.saved-stamp {position:absolute;bottom:22px;right:16px;display:flex;align-items:center;gap:6px;font-size:12px;font-weight:650;background:var(--accent);color:#fff;border-radius:25px;padding:7px 12px;transform:rotate(4deg)}
.saved-stamp .icon {width:14px;height:14px}

/* Use cases */
.usecases-section {padding-top:24px}
.usecases {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.usecase {border:1px solid var(--border);border-radius:24px;background:var(--surface);overflow:hidden}
.usecase-visual {position:relative;height:200px;margin:8px 8px 0;border-radius:17px;overflow:hidden;background:var(--surface-2)}
.usecase-visual img {width:100%;height:100%;object-fit:cover}
.chip--float {position:absolute;left:12px;bottom:12px;background:rgb(255 255 255 / .94);color:#0d1424}
.chip--float .icon {color:#087a4a}
.usecase-visual--icons {display:flex;align-items:center;justify-content:center;gap:22px;background:var(--accent-soft)}
.usecase-visual--icons span {position:relative;display:grid;place-items:center;width:62px;height:62px;border-radius:18px;background:var(--surface);color:var(--accent-text);box-shadow:var(--shadow-card)}
.usecase-visual--icons .icon {width:28px;height:28px}
.usecase-visual--icons i {position:absolute;top:-8px;right:-8px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--m0);color:#fff;font-size:11px;font-style:normal;font-weight:700;box-shadow:0 0 0 2px #fff}
.usecase-copy {padding:20px 22px 24px}
.usecase-copy h3 {font-size:20px}
.usecase-copy p {font-size:14px;line-height:1.65;color:var(--text-muted);margin-top:8px}

/* Features bento */
.features-section {padding-top:24px}
.bento {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.tile {position:relative;display:flex;flex-direction:column;gap:12px;padding:28px;border:1px solid var(--border);border-radius:28px;background:var(--surface);overflow:hidden}
.tile h3 {font-size:24px}
.tile p {font-size:14px;line-height:1.7;color:var(--text-muted)}
.tile-copy {display:flex;flex-direction:column;gap:12px}
.feature-icon {width:44px;height:44px;border-radius:13px;background:var(--accent-soft);color:var(--accent-text);display:grid;place-items:center}
.feature-icon .icon {width:22px;height:22px}
.tile--a,.tile--g {grid-column:span 4;display:grid;grid-template-columns:1fr 1.1fr;align-items:stretch;gap:24px}
.tile--b,.tile--f {grid-column:span 2}
.tile--c,.tile--d,.tile--e {grid-column:span 2}
.tile--a {background:var(--bg-tint);border-color:transparent}
.tile-visual {position:relative;min-height:240px;border-radius:20px;overflow:hidden;background:var(--surface-2)}
.tile--b .tile-visual {min-height:200px;margin-top:auto}
.tile--b .legend,.tile-visual .legend {position:absolute;left:12px;bottom:12px}
.tile-hint {position:absolute;left:12px;right:12px;bottom:12px;padding:8px 12px;border-radius:12px;background:rgb(13 20 36 / .72);color:#fff;font-size:12px;text-align:center;backdrop-filter:blur(8px)}
.tile-visual--plain {display:flex;align-items:center;justify-content:center;gap:20px;min-height:0;padding:20px;background:var(--surface-2);margin-top:auto}
.tile-note {font-size:11px!important;color:var(--text-muted)}
.ring {position:relative;width:118px;height:118px;flex:none}
.ring svg {width:100%;height:100%;transform:rotate(-90deg)}
.ring circle {fill:none;stroke-width:9}
.ring-track {stroke:var(--border)}
.ring-value {stroke:var(--success);stroke-linecap:round}
.ring-label {position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:10px;color:var(--text-muted);text-align:center;line-height:1.2;padding:0 16px}
.ring-label b {font-size:26px;color:var(--text);letter-spacing:-.03em}
.issue-chips {display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin-top:4px}
.issue-chips li {padding:5px 10px;border-radius:999px;background:var(--warning-soft);color:var(--warning);font-size:12px;font-weight:600}
.tip-card {display:flex;gap:10px;align-items:flex-start;margin-top:auto;padding:14px;border-radius:16px;background:var(--surface-2);font-size:13px;line-height:1.5;color:var(--text-body)}
.tip-card .icon {width:20px;height:20px;color:var(--accent-text)}
.tip-card b {display:block;color:var(--text);margin-bottom:2px}
.guide-list {list-style:none;display:grid;gap:6px;margin-top:4px;counter-reset:g}
.guide-list li {display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:12px;background:var(--surface-2);font-size:13px;font-weight:600;counter-increment:g}
.guide-list li::before {content:counter(g);display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--accent);color:#fff;font-size:11px;font-weight:700;flex:none}
.zone-grid {display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:auto;padding:8px;border-radius:18px;background:var(--surface-2)}
.zone-grid span {display:flex;flex-direction:column;gap:2px;padding:14px;border-radius:12px;border:2px dashed var(--accent-soft-strong);background:var(--surface)}
.zone-grid small {font-size:11px;color:var(--text-muted);font-weight:600}
.zone-grid b {font-size:24px;letter-spacing:-.03em}
.save-grid {align-items:stretch;justify-content:stretch;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.history-mini,.xlsx-preview {padding:14px;border-radius:16px;background:var(--surface);border:1px solid var(--border);font-size:12px}
.search-field {display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:10px;background:var(--surface-2);color:var(--text-muted)}
.search-field .icon {width:14px;height:14px}
.history-mini>small {display:block;margin:12px 0 6px;color:var(--text-muted);font-weight:650}
.history-row {display:flex;align-items:center;gap:10px;padding:6px 0}
.history-row img {width:38px;height:38px;object-fit:cover;border-radius:9px}
.history-row span {font-weight:650;font-size:13px}
.history-row small {display:block;font-weight:500;color:var(--text-muted);font-size:11px}
.xlsx-preview p {display:flex;align-items:center;gap:6px;font-weight:650;margin-bottom:10px;overflow-wrap:anywhere}
.xlsx-preview p .icon {width:16px;height:16px;color:var(--success)}
.xlsx-preview table {width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.xlsx-preview th,.xlsx-preview td {text-align:left;padding:6px 8px;border:1px solid var(--border)}
.xlsx-preview th {background:var(--success-soft);color:var(--success);font-weight:700}
.xlsx-preview td:last-child,.xlsx-preview th:last-child {text-align:right}
.xlsx-preview .total td {font-weight:800}

/* Pro */
.pro-section {padding-top:8px}
.pro-card {border-radius:32px;background:linear-gradient(140deg,#2b59ff,#1f45e0);color:#fff;position:relative;overflow:hidden;padding:52px 56px;display:grid;grid-template-columns:1.15fr 1fr;align-items:start;gap:48px}
.pro-card::after {content:"";position:absolute;right:-80px;top:-80px;width:280px;height:280px;border:2px dashed rgb(255 255 255 / .18);border-radius:50%}
.pro-badge {display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid rgb(255 255 255 / .3);border-radius:8px;font-size:11px;letter-spacing:.09em;font-weight:700;text-transform:uppercase}
.pro-badge .icon {width:13px;height:13px}
.pro-card h2 {margin-top:22px;font-size:clamp(38px,4vw,54px);color:#fff}
.pro-sub {color:#e3e9ff;margin-top:16px;font-size:16px;line-height:1.7}
.pro-required {display:flex;align-items:center;gap:8px;margin-top:18px;padding:10px 14px;border-radius:12px;background:rgb(255 255 255 / .12);font-weight:650;font-size:14px;width:fit-content}
.pro-required .icon {width:18px;height:18px}
.pro-points {list-style:none;display:grid;gap:12px;margin-top:24px}
.pro-points li {display:flex;gap:10px;font-size:14px;line-height:1.5;color:#e3e9ff}
.pro-points .icon {width:20px;height:20px;color:var(--mint)}
.pro-points b {display:block;color:#fff}
.pro-side {position:relative;z-index:1;display:flex;flex-direction:column;gap:20px}
.plan-chips {list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.plan-chip {display:flex;gap:10px;align-items:flex-start;padding:18px;border-radius:18px;background:rgb(255 255 255 / .12);border:1px solid rgb(255 255 255 / .22)}
.plan-chip .icon {width:20px;height:20px;color:var(--mint)}
.plan-chip b {display:block;font-size:17px}
.plan-chip span {font-size:13px;color:#e3e9ff}
.fine-print {font-size:12.5px;line-height:1.65;color:#d6deff}
.pro-actions {display:flex;flex-wrap:wrap;align-items:center;gap:26px}

/* FAQ & closing */
.faq-section {display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;padding-block:104px}
.faq-contact {font-size:15px;color:var(--text-muted);margin-top:28px;line-height:1.8}
.faq-contact a {display:inline-flex;gap:8px;align-items:center;text-decoration:none;font-weight:650;margin-top:6px}
.faq-contact .icon {width:16px;height:16px}
.faq-list details {border-bottom:1px solid var(--border)}
.faq-list details:first-child {border-top:1px solid var(--border)}
.faq-list summary {list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;font-size:17px;font-weight:650;line-height:1.45;color:var(--text)}
.faq-list summary::-webkit-details-marker {display:none}
.faq-list summary .icon {width:19px;height:19px;color:var(--accent-text);transition:transform .2s;flex:none}
.faq-list details[open] summary .icon {transform:rotate(180deg)}
.faq-list details[open] summary {color:var(--accent-text)}
.faq-list details>p {color:var(--text-body);font-size:15px;line-height:1.75;padding:0 32px 22px 0}
.closing-section {text-align:center;display:flex;flex-direction:column;align-items:center;padding:64px 0 90px;border-top:1px solid var(--border)}
.closing-section>img {border-radius:21px;margin-bottom:24px;box-shadow:0 8px 25px -12px rgb(43 89 255 / .5)}
.closing-section .eyebrow {justify-content:center}
.closing-section h2 {font-size:clamp(32px,4.2vw,54px);margin:16px 0 30px}
.closing-section .availability {justify-content:center;margin-top:24px}

/* Footer */
.site-footer {border-top:1px solid var(--border);background:var(--surface)}
.footer-inner {display:grid;grid-template-columns:1fr auto;align-items:center;gap:32px 40px;padding-top:40px}
.footer-brand>p {font-size:14px;color:var(--text-muted);margin-top:10px}
.footer-nav {display:flex;gap:26px;align-items:center;flex-wrap:wrap}
.footer-nav a {font-size:13px;color:var(--text-muted);text-decoration:none}
.footer-nav a:hover {color:var(--accent-text)}
.footer-bottom {grid-column:1/-1;border-top:1px solid var(--border);padding:18px 0 4px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:var(--text-muted);font-size:12px}
.footer-legal {grid-column:1/-1;padding:0 0 26px;font-size:11px;line-height:1.6;color:var(--text-muted);max-width:820px}
.site-footer--minimal .footer-inner {padding-top:0} .site-footer--minimal .footer-bottom {border-top:0;padding-bottom:22px}
.site-header--minimal .header-actions {margin-left:auto}
.toast {position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--text);color:var(--bg);padding:12px 22px;border-radius:14px;opacity:0;pointer-events:none;z-index:100;transition:opacity .2s,transform .2s;font-size:14px}
.toast.is-visible {opacity:1;transform:translate(-50%,0)}

/* Legal and support pages */
.legal-hero {padding-block:64px 40px;position:relative;border-bottom:1px solid var(--border)}
.legal-hero .eyebrow {text-transform:none;letter-spacing:.02em;font-size:13px}
.legal-hero .eyebrow .sep {color:var(--text-muted);font-weight:600}
.page-title {font-size:clamp(40px,5.6vw,68px);margin:20px 0 18px}
.lede {max-width:680px;color:var(--text-body);font-size:18px;line-height:1.7}
.meta-row {margin:22px 0 0;font-size:13px;color:var(--text-muted)}
.meta-row>div {display:flex;gap:10px} .meta-row dt {font-weight:600} .meta-row dd {margin:0}
.ui-path {font-weight:650;color:var(--text)}
/* ---------- Legal layout & table of contents ---------- */

.legal-layout {
  padding-block: 0 88px;
}

@media (min-width: 1024px) {
  .legal-layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
    padding-block: 56px 120px;
  }
}

.toc {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  margin: 0 calc(var(--gutter) * -1) 8px;
}

.toc summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--toc-bar-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  backdrop-filter: saturate(1.5) blur(18px);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc summary .icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.toc-current {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.toc-current:not(:empty)::before {
  content: "· ";
}

.toc .toc-chevron {
  transition: transform 0.2s ease;
}

.toc details[open] .toc-chevron {
  transform: rotate(180deg);
}

.toc-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: var(--gutter);
  right: var(--gutter);
  max-height: min(70vh, 540px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  animation: pop 0.18s var(--ease-out);
}

.toc-title {
  display: none;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 46px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.toc a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.toc a .n {
  min-width: 1.7em;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.toc a.is-active {
  color: var(--accent-text);
  background: var(--accent-soft);
  font-weight: 500;
}

.toc a.is-active .n {
  color: var(--accent-text);
}

.toc-foot {
  display: none;
}

@media (min-width: 1024px) {
  .toc {
    top: calc(var(--header-h) + 32px);
    max-height: calc(100vh - var(--header-h) - 56px);
    margin: 0;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .js .toc summary {
    display: none;
  }

  .toc-panel {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    animation: none;
  }

  .toc-title {
    display: block;
    margin: 0 0 10px 12px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .toc a {
    min-height: 0;
    padding: 7px 12px;
    font-size: 14px;
  }

  .toc-foot {
    display: grid;
    gap: 2px;
    margin: 20px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--border);
  }

  .toc-foot a {
    gap: 10px;
    align-items: center;
    color: var(--text-muted);
  }

  .toc-foot .icon {
    width: 16px;
    height: 16px;
  }
}

/* ---------- Legal document ---------- */

.legal-doc {
  min-width: 0;
  padding-top: 28px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.72;
}

@media (min-width: 768px) {
  .legal-doc {
    margin-top: 40px;
    padding: 48px 56px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-3xl);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    font-size: 17px;
  }
}

@media (min-width: 1024px) {
  .legal-doc {
    margin-top: 0;
    padding: 56px 64px 32px;
  }
}

.legal-doc p {
  margin: 0 0 16px;
}

.legal-doc .doc-intro {
  margin: 0;
  color: var(--text);
  font-size: 1.04em;
}

.legal-doc h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  color: var(--text);
  font-size: clamp(21px, 2.4vw, 25px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.legal-doc h3 {
  margin: 30px 0 8px;
  color: var(--text);
  font-size: 1.03em;
  font-weight: 600;
  line-height: 1.45;
}

.legal-doc ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.legal-doc ul > li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 24px;
}

.legal-doc ul > li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.75;
}

.legal-doc ul ul {
  margin: 10px 0 0;
}

.legal-doc > :last-child,
.doc-section > :last-child {
  margin-bottom: 0;
}

.doc-section {
  padding-block: 40px;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + var(--toc-bar-h) + 12px);
}

@media (min-width: 768px) {
  .doc-section {
    padding-block: 48px;
  }
}

@media (min-width: 1024px) {
  .doc-section {
    scroll-margin-top: calc(var(--header-h) + 24px);
  }
}

.glance + .doc-section {
  border-top: 0;
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}

.sec-num {
  flex: none;
  min-width: 2ch;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  margin-left: auto;
  border-radius: 8px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.anchor .icon {
  width: 16px;
  height: 16px;
}

.sec-head:hover .anchor,
.anchor:focus-visible {
  opacity: 1;
}

.anchor:hover {
  color: var(--accent-text);
  background: var(--accent-soft);
}

@media (hover: none) {
  .anchor {
    opacity: 0.55;
  }
}

/* "At a glance" summary */
.glance {
  margin: 28px 0 8px;
  padding: 24px 22px;
  border-radius: var(--radius-2xl);
  background: var(--surface-2);
}

@media (min-width: 768px) {
  .glance {
    margin-top: 32px;
    padding: 28px 32px;
  }
}

.glance h2 {
  margin: 0 0 6px;
  font-size: 19px;
}

.glance .glance-sub {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.9em;
}

.glance ul {
  display: grid;
  gap: 14px;
  margin: 0;
}

.glance ul > li {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.glance ul > li::before {
  content: none;
}

.glance .glance-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  margin-top: 1px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--accent-text);
}

.glance .glance-ico .icon {
  width: 17px;
  height: 17px;
}

/* Callouts */
.callout {
  margin: 24px 0;
  padding: 20px 22px;
  border: 1px solid var(--accent-soft-strong);
  border-radius: var(--radius-xl);
  background: var(--accent-soft);
}

.callout > :last-child {
  margin-bottom: 0;
}

.callout-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px !important;
  color: var(--text);
  font-weight: 600;
}

.callout-title .icon {
  color: var(--accent-text);
}

.callout--key {
  position: relative;
  overflow: hidden;
  padding: 24px 24px 22px;
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.callout--key::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

/* Third-party services */
.vendors {
  display: grid;
  gap: 10px;
  margin: 8px 0 20px;
}

.vendors > div {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

@media (min-width: 768px) {
  .vendors > div {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 4px 24px;
    background: transparent;
  }
}

.vendors dt {
  color: var(--text);
  font-weight: 600;
  line-height: 1.45;
}

.vendors dt span {
  display: block;
  color: var(--text-muted);
  font-size: 0.85em;
  font-weight: 500;
}

.vendors dd {
  margin: 0;
  font-size: 0.94em;
  line-height: 1.6;
}

.vendors dd a {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.92em;
  font-weight: 500;
}

/* Contact card */
.contact-card {
  display: grid;
  gap: 18px;
  margin: 8px 0 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--surface-2);
}

@media (min-width: 640px) {
  .contact-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding: 28px;
  }
}

.contact-card img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.contact-card .contact-title {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 1.05em;
  font-weight: 600;
}

.contact-card p {
  margin: 0 0 16px;
}

.contact-card .btn {
  max-width: 100%;
}

.legal-doc address {
  font-style: normal;
}

.doc-end {
  margin: 0;
  padding: 28px 0 8px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}


/* ---------- Support page ---------- */
.contact-actions {display:flex;flex-wrap:wrap;gap:10px}
.contact-actions .btn {min-height:48px;padding:12px 18px;font-size:14px}
.support-layout {padding-block:40px 96px}
.support-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 8px}
.shortcut {display:flex;align-items:center;gap:12px;min-height:60px;padding:14px 16px;border:1px solid var(--border);border-radius:18px;background:var(--surface);color:var(--text);font-size:14px;font-weight:650;text-decoration:none;transition:background .2s,border-color .2s}
.shortcut:hover {background:var(--accent-soft);border-color:var(--accent-soft-strong)}
.shortcut .icon {width:20px;height:20px;color:var(--accent-text)}
.support-doc {margin-top:24px}
.legal-doc ol.howto {list-style:none;margin:0 0 18px;padding:0;counter-reset:step;display:grid;gap:10px}
.howto li {position:relative;padding:12px 14px 12px 52px;border-radius:14px;background:var(--surface-2);counter-increment:step;line-height:1.55}
.howto li::before {content:counter(step);position:absolute;left:12px;top:50%;translate:0 -50%;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--m0);color:#fff;font-size:13px;font-weight:700;box-shadow:0 0 0 2px var(--surface),0 1px 3px rgb(0 0 0 / .25)}
.legal-doc ul.tip-list {display:grid;gap:10px}
.legal-doc ul.tip-list>li {padding:14px 16px 14px 44px;border-radius:14px;background:var(--surface-2)}
.legal-doc ul.tip-list>li::before {left:16px;top:1.45em;width:10px;height:10px;border-radius:50%;background:var(--mint);opacity:1}
.tip-list b {display:block;color:var(--text)}
.legal-doc ul.issue-chips {display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.legal-doc ul.issue-chips>li {margin:0;padding:5px 10px}
.legal-doc ul.issue-chips>li::before {content:none}
.legal-doc .faq-list {margin-top:-8px}
.legal-doc .faq-list summary {font-size:16px}
.legal-doc .faq-list details>p {font-size:15px;margin:0}
.callout--warn {border-color:transparent;background:var(--warning-soft)}
.callout--warn .callout-title .icon {color:var(--warning)}

/* ---------- 404 ---------- */
.error-page {padding-block:100px;min-height:62vh}
.error-page .card {max-width:680px;margin:auto;text-align:center}
.error-code {font-size:110px;font-weight:800;color:var(--accent-text);line-height:1.1;letter-spacing:-.06em}
.error-page h1 {font-size:40px;margin:16px 0}
.error-page p:not(.error-code) {color:var(--text-muted)}
.error-actions {display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:28px}

/* ---------- Responsive ---------- */
@media(min-width:1400px) {.hero {padding-block:96px 76px;gap:84px}}
@media(max-width:1050px) {
 .nav-list {gap:18px}.header-inner {gap:18px}.header-download {display:none}
 .hero {gap:32px;padding-block:56px}.hero h1 {font-size:58px}.hero-description {font-size:17px}
 .showcase-orbit {transform:none;inset:45px 20px 90px}
 .section-heading>p {max-width:300px}
 .steps-grid--4 {grid-template-columns:repeat(2,minmax(0,1fr))}
 .usecases {grid-template-columns:repeat(2,minmax(0,1fr))}
 .tile--a,.tile--g {grid-column:span 6}
 .tile--b,.tile--c,.tile--d,.tile--e,.tile--f {grid-column:span 3}
 .pro-card {grid-template-columns:1fr;padding:44px;gap:32px}
 .faq-section {gap:44px}
}
@media(max-width:767px) {
 :root {--header-h:68px;--gutter:20px}
 .header-inner {gap:10px}.brand {font-size:22px;gap:8px}.brand img {width:34px;height:34px;border-radius:10px}
 .header-actions {margin-left:auto;order:1}.site-nav {order:2;margin-left:0}
 .nav-toggle {display:grid}.icon-close {display:none}.nav-open .icon-close {display:block}.nav-open .icon-menu {display:none}
 .icon-btn {width:42px;height:42px}
 .nav-list {display:none;position:absolute;top:calc(100% + 8px);left:var(--gutter);right:var(--gutter);background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:10px;box-shadow:var(--shadow-pop)}
 .nav-open .nav-list {display:flex;flex-direction:column;gap:2px;align-items:stretch}
 .nav-list a {display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-radius:10px;font-size:16px;min-height:48px}
 .nav-list a:hover {background:var(--accent-soft)}
 .mobile-store {display:block;border-top:1px solid var(--border);margin-top:4px;padding-top:4px}
 .mobile-store a {color:var(--accent-text)}.mobile-store .icon {width:18px}
 .hero {grid-template-columns:1fr;gap:34px;padding-block:40px 28px}
 .hero-copy {text-align:center}.hero-copy .eyebrow {justify-content:center;font-size:11px}
 .hero h1 {font-size:clamp(42px,11vw,58px)}
 .hero-description {font-size:16px;margin-inline:auto}
 .hero-actions {justify-content:center;gap:16px 24px}
 .availability {justify-content:center;font-size:12px;text-align:left}
 .hero-note {justify-content:center;text-align:left}
 .hero-showcase {max-width:480px;width:100%;margin-inline:auto;padding:38px 12px 0}
 .showcase-orbit {inset:45px 12px 96px}
 .float-label {left:6px;font-size:11px}
 .scan-card {border-radius:24px;padding:10px;transform:none}
 .count-number {font-size:42px}
 .demo-controls {margin-top:22px}
 .demo-controls button {min-height:44px;padding:10px 12px;font-size:13px}
 .benefit-strip .container {display:grid;grid-template-columns:1fr 1fr;gap:16px 14px;padding-block:22px}
 .benefit-strip span {font-size:13px}
 .section {padding-block:60px}.usecases-section,.features-section {padding-top:12px}
 .section-heading {display:block;margin-bottom:26px}
 .section-heading>p {margin-top:16px;max-width:none;font-size:15px}
 .steps-grid--4,.usecases {grid-template-columns:1fr;gap:14px}
 .step-visual {height:210px}
 .bento {grid-template-columns:1fr;gap:14px}
 .tile--a,.tile--b,.tile--c,.tile--d,.tile--e,.tile--f,.tile--g {grid-column:auto}
 .tile--a,.tile--g {display:flex}
 .tile {padding:22px;border-radius:24px}
 .tile h3 {font-size:22px}
 .tile-visual {min-height:230px}
 .save-grid {grid-template-columns:1fr}
 .pro-card {padding:30px 24px;border-radius:26px}
 .pro-card h2 {font-size:40px}
 .plan-chips {grid-template-columns:1fr}
 .pro-actions {gap:18px}
 .faq-section {grid-template-columns:1fr;gap:24px;padding-block:60px}
 .faq-contact {margin-top:16px;font-size:14px}.faq-contact br {display:none}.faq-contact a {margin:0 0 0 6px}
 .faq-list summary {font-size:16px;padding:20px 0;gap:12px}
 .faq-list details>p {font-size:15px;padding-right:8px}
 .closing-section {padding-block:48px 60px}
 .closing-section h2 {font-size:clamp(30px,8vw,42px)}
 .closing-section .availability {text-align:center}
 .footer-inner {grid-template-columns:1fr;gap:22px;padding-top:30px}
 .footer-nav {gap:6px 20px}.footer-nav a {font-size:13px;min-height:32px;display:flex;align-items:center}
 .footer-bottom {font-size:12px;gap:12px}
 .legal-hero {padding-block:40px 30px}.page-title {font-size:40px}.lede {font-size:16px}
 .contact-card .btn {font-size:13px;overflow-wrap:anywhere}
 .vendors>div {overflow-wrap:anywhere}
 .legal-doc {font-size:15px}.anchor {width:30px}.sec-head {gap:3px}
 .legal-doc h2 {font-size:21px;gap:9px}.sec-num {font-size:12px}
 .support-shortcuts {grid-template-columns:1fr 1fr}
 .support-layout {padding-block:28px 64px}
 .error-page h1 {font-size:30px}.error-page {padding-block:60px}
}
@media(max-width:374px) {
 :root {--gutter:16px}
 .hero h1 {font-size:40px}
 .demo-controls button {padding-inline:9px;font-size:12px}
 .benefit-strip span {font-size:12px}
 .support-shortcuts {grid-template-columns:1fr}
 .footer-made {display:none}
}

/* ---------- Motion ---------- */
@media(prefers-reduced-motion:no-preference) {
 html {scroll-behavior:smooth}
 .theme-anim body,.theme-anim .site-header,.theme-anim .scan-card,.theme-anim .step-card,.theme-anim .tile,.theme-anim .site-footer {transition:background-color .3s,color .3s,border-color .3s}
 .demo-photo.is-changing .object-dot {animation:marker-in .35s var(--ease-out) both;animation-delay:calc(var(--i, 0) * 30ms)}
}
@keyframes marker-in {from {opacity:0;scale:.6}to {opacity:1;scale:1}}
@keyframes pop {from {opacity:0;transform:translateY(-4px)}to {opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ---------- Without JavaScript ---------- */
html:not(.js) .theme-toggle,html:not(.js) .nav-toggle,html:not(.js) .demo-controls,html:not(.js) .demo-hint,html:not(.js) .marker-toggle,html:not(.js) [data-copy] {display:none}
html:not(.js) .demo-photo {aspect-ratio:auto}
html:not(.js) .demo-photo img {height:auto}
@media(max-width:767px) {
 html:not(.js) .site-header {height:auto;position:relative}
 html:not(.js) .header-inner {flex-wrap:wrap;padding-block:14px}
 html:not(.js) .site-nav {width:100%}
 html:not(.js) .nav-list {position:static;display:flex;flex-wrap:wrap;padding:0;border:0;box-shadow:none;background:none}
 html:not(.js) .nav-list a {font-size:13px;padding:5px 8px;min-height:0}
 html:not(.js) .mobile-store {display:none}
}

/* ---------- In-app mode ----------
   The app opens legal pages in its own sheet, whose header is the only chrome.
   The site's header and footer give way; colours already match the app's. */
.in-app {--header-h:0px}
.in-app .site-header,.in-app .site-footer,.in-app .skip-link,.in-app .legal-hero .eyebrow,.in-app .toc-foot {display:none!important}
.in-app .legal-hero {padding-block:22px 24px}
.in-app .legal-hero .page-title {font-size:32px;margin:0 0 10px}
.in-app .legal-hero .lede {font-size:15.5px;line-height:1.6}
.in-app .legal-hero .meta-row {margin-top:16px}
.in-app body {padding-bottom:env(safe-area-inset-bottom)}

/* ---------- Print ---------- */
@media print {
 .site-header,.site-footer,.toc,.anchor,.theme-toggle,[data-copy],.support-shortcuts {display:none!important}
 body {background:#fff;color:#000}
 .legal-hero {padding:20px 0}.legal-layout {display:block}
 .legal-doc {border:0;padding:0;margin:0;box-shadow:none}
 .container {width:100%}.doc-section {break-inside:avoid}
 .legal-doc a {color:inherit;text-decoration:underline}
}

/* The first support section starts the card; no divider above it. */
.support-doc>.doc-section:first-child {border-top:0;padding-top:8px}
