/* Site styles. Inlined into every page by build_site.py (and served as /assets/site.css for the store pages).
   Tokens: light by default, dark from prefers-color-scheme or [data-theme=dark]. Contrast pairs meet WCAG AA. */
:root {
  --bg: #ffffff; --bg-2: #f5f6f8; --bg-3: #eceef2; --panel: #ffffff; --line: #e3e5ea; --line-2: #d3d7de;
  --text: #0d0f14; --text-2: #434b5c; --text-3: #586072;
  --accent: #4338ca; --accent-2: #3730a3; --accent-ink: #ffffff; --accent-soft: #eef0ff;
  --live: #4338ca; --live-ink: #ffffff;
  --ok: #157f3c; --ok-soft: #e7f6ec; --warn: #a15c07; --warn-soft: #fdf3e2; --danger: #b42318;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 32px -12px rgba(16, 24, 40, .18);
  --shadow-lg: 0 30px 80px -30px rgba(16, 24, 40, .35);
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --r: 14px; --r-lg: 22px;
  --scene-sky: #c9d6ea; --scene-ground: #8fa08a; --scene-house: #e8e2d6; --scene-dark: #46505e;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0c10; --bg-2: #111318; --bg-3: #181b22; --panel: #14161c; --line: #252933; --line-2: #333845;
    --text: #eef0f4; --text-2: #b4bac6; --text-3: #9ba2b1;
    --accent: #a5b4fc; --accent-2: #c7d2fe; --accent-ink: #11143a; --accent-soft: #1b1e3a;
    --live: #a5b4fc; --live-ink: #11143a;
    --ok: #4ade80; --ok-soft: #0f2a1a; --warn: #fbbf24; --warn-soft: #2a2108; --danger: #f87171;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .8);
    --scene-sky: #1d2a40; --scene-ground: #26332a; --scene-house: #3a3f4a; --scene-dark: #0f141c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0c10; --bg-2: #111318; --bg-3: #181b22; --panel: #14161c; --line: #252933; --line-2: #333845;
  --text: #eef0f4; --text-2: #b4bac6; --text-3: #9ba2b1;
  --accent: #a5b4fc; --accent-2: #c7d2fe; --accent-ink: #11143a; --accent-soft: #1b1e3a;
  --live: #a5b4fc; --live-ink: #11143a;
  --ok: #4ade80; --ok-soft: #0f2a1a; --warn: #fbbf24; --warn-soft: #2a2108; --danger: #f87171;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --scene-sky: #1d2a40; --scene-ground: #26332a; --scene-house: #3a3f4a; --scene-dark: #0f141c;
  color-scheme: dark;
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--text); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h3 { font-size: 19px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-3); }
.fine { color: var(--text-3); font-size: 14px; line-height: 1.55; }
.fine p { margin: 0 0 6px; }

/* ---------- header */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font: 700 19px var(--display); letter-spacing: -.02em; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #7c3aed); display: grid; place-items: center; }
.logo-mark svg { width: 15px; height: 15px; }
.nav-links { display: flex; gap: 4px; margin-left: 10px; }
.nav-links a, .nav-login { color: var(--text-2); text-decoration: none; font-size: 15px; padding: 8px 11px; border-radius: 10px; }
.nav-links a:hover, .nav-login:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--bg-2); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.theme-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.theme-btn:hover { color: var(--text); background: var(--bg-2); }
.theme-btn svg { width: 18px; height: 18px; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu-panel { position: absolute; right: 0; top: 48px; width: min(300px, calc(100vw - 32px)); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; display: grid; }
.nav-menu-panel a { padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; }
.nav-menu-panel a:hover { background: var(--bg-2); }
@media (max-width: 920px) { .nav-links, .nav-login { display: none; } .nav-menu { display: block; } }
@media (max-width: 420px) { .nav-actions .btn.primary { display: none; } }

/* ---------- buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: 600 15px var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { color: var(--text); border-color: var(--text-3); transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-ink); }
.btn.lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); color: var(--text-2); font-size: 14px; text-decoration: none; }
a.chip:hover { color: var(--text); border-color: var(--text-3); }
button.chip { font: 500 14px var(--body); cursor: pointer; min-height: 40px; }
button.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- sections */
.band { padding: clamp(64px, 9vw, 112px) 0; }
.band.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.band.tight { padding: 48px 0; }
.band + .band:not(.alt) { padding-top: 0; }
.band.alt + .band { padding-top: clamp(64px, 9vw, 112px); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lede { margin-inline: auto; }
.eyebrow { display: inline-block; font: 600 13px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.h2 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 16px; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-2); max-width: 62ch; line-height: 1.55; }
.page-top { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: radial-gradient(1000px 300px at 20% -20%, var(--accent-soft), transparent 70%); }
.page-h1 { font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -.04em; line-height: 1.04; max-width: 20ch; margin-bottom: 18px; }
.page-top .lede { margin-bottom: 0; }
.page-meta { margin-top: 18px; color: var(--text-3); font-size: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.notice { display: inline-block; border: 1px solid var(--warn); color: var(--warn); background: var(--warn-soft); border-radius: 10px; padding: 6px 12px; font-size: 14px; margin-bottom: 18px; }
.crumbs { border-bottom: 1px solid var(--line); background: var(--bg); }
.crumbs ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; margin: 22px 0; max-width: 70ch; }
.callout p:last-child { margin: 0; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose .table-wrap { margin: 22px 0; }
.grid-2, .split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid-2, .split, .grid-3 { grid-template-columns: 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.panel h3 { margin-top: 4px; }
.panel p:last-child { margin-bottom: 0; }

/* ---------- lists, cards */
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23157f3c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.xs { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.xs li { position: relative; padding-left: 30px; }
.xs li::before { content: "\2013"; position: absolute; left: 6px; top: 0; color: var(--text-3); font-weight: 700; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.feat { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; color: var(--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
a.feat:hover { border-color: var(--line-2); transform: translateY(-2px); color: var(--text); }
.feat p { color: var(--text-2); font-size: 15.5px; }
.feat ul { color: var(--text-2); font-size: 15px; padding-left: 1.1em; margin: 0; }
.ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 24px; font-weight: 400; color: var(--text-3); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 40px 20px 0; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: s; }
.step { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; position: relative; }
.step::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--text); color: var(--bg); font: 700 16px var(--display); margin-bottom: 18px; }
.step p { color: var(--text-2); margin: 0; font-size: 15.5px; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands span { display: inline-flex; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); color: var(--text-2); font-size: 14px; }
.count-line { color: var(--text-3); font-size: 14px; margin-top: 16px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cat { display: block; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; color: var(--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
a.cat:hover { border-color: var(--line-2); transform: translateY(-2px); color: var(--text); }
.cat h3 { font-size: 17px; margin-bottom: 6px; }
.cat p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.cnt { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.cta-band { border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); background: var(--text); color: var(--bg); }
.cta-band h2 { color: var(--bg); font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; }
.cta-band p { color: color-mix(in srgb, var(--bg) 78%, var(--text)); max-width: 60ch; }
.cta-band .btn { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, var(--text)); }
.cta-band .btn.primary { background: var(--bg); color: var(--text); border-color: var(--bg); }
.final { text-align: center; display: grid; justify-items: center; gap: 18px; }
.final .lede { margin: 0 auto; }

/* ---------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); background: var(--bg-2); font-weight: 600; white-space: nowrap; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { font-weight: 600; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tr.hl td, .table tr.hl th { background: var(--accent-soft); }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--danger); font-weight: 600; }
.tag-l { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.tag-local { background: var(--ok-soft); color: var(--ok); }
.tag-cloud { background: var(--warn-soft); color: var(--warn); }
.tag-mixed { background: var(--accent-soft); color: var(--accent); }

/* ---------- hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 760px; background: radial-gradient(600px 320px at 30% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), radial-gradient(520px 300px at 75% 20%, color-mix(in srgb, #7c3aed 14%, transparent), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(42px, 7vw, 80px); letter-spacing: -.05em; line-height: 1.0; margin-bottom: 22px; }
.hero h1 span { color: var(--text-3); }
.hero .lede { margin: 0 auto 30px; font-size: clamp(18px, 2vw, 21px); }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--text-2); font-size: 14.5px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; }
.hero-visual { margin-top: clamp(40px, 6vw, 72px); position: relative; }
.hero-phone { position: absolute; right: -8px; bottom: -36px; width: 230px; }
@media (max-width: 900px) { .hero-phone { display: none; } }

/* ---------- app mockups (decorative, built in HTML and CSS) */
.mock { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; line-height: 1.4; color: var(--text); text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.mock-bar b { margin-left: 10px; font-weight: 600; font-size: 12.5px; color: var(--text-2); }
.mock-app { display: grid; grid-template-columns: 190px 1fr; min-height: 420px; }
.mock-side { border-right: 1px solid var(--line); padding: 16px 12px; display: grid; align-content: start; gap: 2px; background: var(--bg-2); }
.mock-side span { padding: 8px 10px; border-radius: 8px; color: var(--text-2); display: flex; align-items: center; gap: 9px; }
.mock-side span.on { background: var(--panel); color: var(--text); font-weight: 600; box-shadow: var(--shadow); }
.mock-side span::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--line-2); }
.mock-side span.on::before { background: var(--accent); }
.mock-main { padding: 20px; display: grid; gap: 14px; align-content: start; }
.mock-h { display: flex; justify-content: space-between; align-items: center; }
.mock-h b { font: 700 20px var(--display); letter-spacing: -.02em; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--bg-3); color: var(--text-2); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.acc { background: var(--accent-soft); color: var(--accent); }
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mgrid.cols-2 { grid-template-columns: 1fr 1fr; }
.mgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mtile { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--panel); display: grid; gap: 6px; }
.mtile small { color: var(--text-3); font-size: 11.5px; }
.mtile b { font: 700 19px var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mtile.on { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.mtile .tgl { justify-self: start; width: 30px; height: 18px; border-radius: 99px; background: var(--line-2); position: relative; }
.mtile .tgl::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.mtile.on .tgl { background: var(--accent); }
.mtile.on .tgl::after { left: 14px; }
.cam { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--scene-sky); }
.cam svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cam .cam-l { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 7px; border-radius: 6px; }
.cam .rec { position: absolute; right: 8px; top: 8px; font-size: 10.5px; font-weight: 700; color: #fff; background: rgba(180, 35, 24, .9); padding: 2px 7px; border-radius: 6px; letter-spacing: .04em; }
.det { position: absolute; border: 2px solid #facc15; border-radius: 4px; }
.det::after { content: attr(data-l); position: absolute; left: 2px; bottom: 2px; background: #facc15; color: #1a1400; font-size: 10.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; white-space: nowrap; }
.tl { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; }
.tl-row { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; font-size: 12px; color: var(--text-2); }
.tl-track { position: relative; height: 22px; border-radius: 6px; background: color-mix(in srgb, var(--ok) 18%, var(--bg-2)); overflow: hidden; }
.tl-ev { position: absolute; top: 3px; bottom: 3px; border-radius: 3px; }
.tl-ev.p { background: var(--accent); } .tl-ev.c { background: #f59e0b; } .tl-ev.a { background: #10b981; }
.tl-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--danger); }
.tl-axis { display: grid; grid-template-columns: 84px repeat(6, 1fr); font-size: 11px; color: var(--text-3); }
.tl-key { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--text-2); }
.tl-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.ev-list { display: grid; gap: 8px; }
.ev { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.ev .th { aspect-ratio: 4 / 3; border-radius: 6px; background: var(--scene-dark); }
.ev b { display: block; font-size: 12.5px; }
.ev small { color: var(--text-3); font-size: 11.5px; }
.arm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.arm span { text-align: center; padding: 10px 4px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; font-size: 12.5px; color: var(--text-2); }
.arm span.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.sens { display: grid; gap: 6px; }
.sens div { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; }
.toast { display: flex; gap: 10px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 11px 13px; box-shadow: var(--shadow-lg); font-size: 12.5px; }
.toast i { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-style: normal; font-weight: 700; }
.toast small { color: var(--text-3); display: block; }
.phone { background: var(--text); border-radius: 34px; padding: 9px; box-shadow: var(--shadow-lg); }
.screen { background: var(--bg); border-radius: 26px; padding: 16px 12px; display: grid; gap: 10px; font-size: 12px; }
.screen .mock-h b { font-size: 16px; }
@media (max-width: 760px) {
  .mock-app { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mgrid { grid-template-columns: 1fr 1fr; }
  .mgrid.cols-3 { grid-template-columns: 1fr 1fr; }
  .mock-hide-sm { display: none; }
}

/* ---------- feature rows (text + visual) */
.row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.row.flip > :first-child { order: 2; }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; } .row.flip > :first-child { order: 0; } }
.row .h2 { font-size: clamp(28px, 3.6vw, 42px); }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.kv div { border-top: 2px solid var(--text); padding-top: 10px; }
.kv b { display: block; font: 700 26px var(--display); letter-spacing: -.03em; }
.kv span { color: var(--text-2); font-size: 14px; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr 1fr; } }

/* ---------- works-with grid and compatibility list */
.wfilter { display: grid; gap: 14px; margin-bottom: 22px; }
.wsearch { width: 100%; max-width: 460px; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: 16px var(--body); }
.wsearch:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.wcats { display: flex; flex-wrap: wrap; gap: 8px; }
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.wtile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .15s ease; }
.wtile small { font-weight: 400; color: var(--text-3); font-size: 12.5px; }
.wtile:hover { border-color: var(--accent); color: var(--text); }
.wgrid.is-collapsed .wtile:not([data-pop]) { display: none; }
.wtile[hidden], .crow[hidden] { display: none !important; }
.wmore { margin-top: 18px; }
.wempty { color: var(--text-3); margin-top: 12px; }
.cfilters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.cfilters select { min-height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: 15px var(--body); padding: 0 12px; }
.ccount { color: var(--text-3); font-size: 14px; }

/* ---------- pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.plan.feature { border: 2px solid var(--accent); }
.plan h3 { font-size: 22px; margin: 0; }
.badge { position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 99px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 0; }
.price b { font: 700 48px var(--display); letter-spacing: -.04em; }
.price span { color: var(--text-2); }
.price-alt { color: var(--text-2); font-size: 15px; margin: 0 0 8px; }
.tag { color: var(--text-2); margin: 0 0 12px; }
.plan .checks { margin: 8px 0 22px; font-size: 15.5px; }
.plan-buy { margin-top: auto; display: grid; gap: 10px; }
.plan-buy .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--text-2); max-width: 70ch; margin: 22px auto 0; font-size: 15px; }
.seal { display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 4vw, 48px); align-items: center; }
.ring { width: 150px; height: 150px; border-radius: 50%; border: 2px dashed var(--accent); display: grid; place-items: center; text-align: center; }
.ring b { display: block; font: 700 46px var(--display); letter-spacing: -.04em; line-height: 1; }
.ring small { color: var(--text-2); font-size: 13px; }
@media (max-width: 640px) { .seal { grid-template-columns: 1fr; } }

/* savings calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.subs { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.sub { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.sub:last-child { border-bottom: 0; }
.sub input { width: 20px; height: 20px; accent-color: var(--accent); }
.sub .n { font-weight: 600; }
.sub .r { color: var(--text-3); font-size: 13.5px; }
.sub .p { font-family: var(--mono); font-size: 14px; color: var(--text-2); }
.result { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); padding: 26px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.big { font: 700 52px var(--display); letter-spacing: -.04em; line-height: 1; }
.big small { font-size: 18px; color: var(--text-2); font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.cmp { display: grid; gap: 10px; }
.cmp-row { display: grid; grid-template-columns: 96px 1fr 70px; gap: 10px; align-items: center; font-size: 14px; }
.cmp-row .v { text-align: right; font-family: var(--mono); }
.track { height: 10px; border-radius: 99px; background: var(--bg-3); overflow: hidden; }
.fill { height: 100%; border-radius: 99px; }

/* ---------- guides */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 980px) { .article-wrap { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.article { max-width: 72ch; font-size: 18px; line-height: 1.7; }
.article h2 { font-size: clamp(24px, 2.6vw, 31px); margin-top: 1.8em; }
.article h3 { font-size: 20px; margin-top: 1.5em; }
.article li { margin-bottom: .45em; }
.article .table-wrap { margin: 24px 0; font-size: 15px; }
.article .table { font-size: 15px; line-height: 1.5; }
.toc { position: sticky; top: 90px; border-left: 1px solid var(--line); padding-left: 18px; font-size: 14px; }
.toc p { font-weight: 600; margin-bottom: 8px; color: var(--text); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.gcard { display: flex; flex-direction: column; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; color: var(--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.gcard:hover { border-color: var(--line-2); transform: translateY(-2px); color: var(--text); }
.gcard h3 { font-size: 19px; margin: 0; }
.gcard p { color: var(--text-2); font-size: 15px; margin: 0; }
.gcard .cnt { margin: 0; }
.gcard .more { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 600; font-size: 14.5px; }
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 0 0 8px; }
.facts div { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: var(--panel); }
.facts dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 600; margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; }
.facts dd small { display: block; font-weight: 400; color: var(--text-2); font-size: 14px; margin-top: 4px; }
.linklist { display: grid; gap: 8px; padding: 0; list-style: none; }
.linklist a { font-weight: 600; }

/* ---------- footer */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 40px; font-size: 14.5px; color: var(--text-2); }
.foot-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 980px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }
.foot-h { font-weight: 600; color: var(--text); margin-bottom: 12px; font-size: 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--text-2); text-decoration: none; }
.site-foot a:hover { color: var(--text); text-decoration: underline; }
.foot-note { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; color: var(--text-3); font-size: 13px; }
.foot-note p { margin: 0 0 6px; }

/* legacy store pages (store_templates) */
.nav:not(.site-nav) .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
header.nav { border-bottom: 1px solid var(--line); }

/* ---------- motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .btn:hover, a.feat:hover, a.cat:hover, .gcard:hover { transform: none; }
}
@media print { .site-head, .site-foot, .ha-launch { display: none !important; } }
.row .mock-app { grid-template-columns: 1fr; min-height: 0; }
.row .mock-side { display: none; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr 1fr; } .facts div { padding: 12px; } .mgrid .cam .rec { display: none; } }
@media (max-width: 480px) { .mgrid .det::after { display: none; } .det::after { font-size: 9px; padding: 0 4px; } }
