/* az marketing site and docs. Same colour tokens as the app (web/src/styles.css); light by default,
   dark by the OS setting or by the toggle (html[data-theme]). System font stack: no web fonts, so
   Cyrillic (Mongolian Ү and Ө) always renders. */
:root {
  color-scheme: light;
  --bg: #f7f8f8;
  --surface: #fff;
  --surface-muted: #f0f2f2;
  --border: #dfe3e3;
  --border-strong: #c3caca;
  --fg: #14201f;
  --fg-muted: #4d5b5a;
  --fg-subtle: #5f6d6c;
  --accent: #0f766e;
  --accent-hover: #0b5f58;
  --accent-fg: #fff;
  --accent-soft: #d8f0ec;
  --success: #067647;
  --warning: #a15c07;
  --code-bg: #eef1f1;
  --shadow: 0 10px 30px rgb(16 24 24 / 0.1);
  --grid: rgb(16 24 24 / 0.05);
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0d1413;
  --surface: #131c1b;
  --surface-muted: #1a2524;
  --border: #263534;
  --border-strong: #3a4d4b;
  --fg: #e8eeee;
  --fg-muted: #a9b7b6;
  --fg-subtle: #94a3a2;
  --accent: #2dd4bf;
  --accent-hover: #5eead4;
  --accent-fg: #052e2a;
  --accent-soft: #123b37;
  --success: #47cd89;
  --warning: #fdb022;
  --code-bg: #0a100f;
  --shadow: 0 10px 30px rgb(0 0 0 / 0.5);
  --grid: rgb(255 255 255 / 0.05);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #0d1413;
    --surface: #131c1b;
    --surface-muted: #1a2524;
    --border: #263534;
    --border-strong: #3a4d4b;
    --fg: #e8eeee;
    --fg-muted: #a9b7b6;
    --fg-subtle: #94a3a2;
    --accent: #2dd4bf;
    --accent-hover: #5eead4;
    --accent-fg: #052e2a;
    --accent-soft: #123b37;
    --success: #47cd89;
    --warning: #fdb022;
    --code-bg: #0a100f;
    --shadow: 0 10px 30px rgb(0 0 0 / 0.5);
    --grid: rgb(255 255 255 / 0.05);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
code, kbd, pre { font-family: var(--mono); }
code { background: var(--code-bg); border: 1px solid var(--border); border-radius: 4px; padding: 0.1em 0.35em; font-size: 0.9em; overflow-wrap: anywhere; }
pre { background: var(--code-bg); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-size: 0.85rem; line-height: 1.55; margin: 1rem 0; }
pre code { background: none; border: 0; padding: 0; font-size: inherit; overflow-wrap: normal; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--accent); color: var(--accent-fg); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 750; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.03em; }
.brand:hover { color: var(--fg); }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav a { color: var(--fg-muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current] { color: var(--fg); background: var(--surface-muted); }
.bar-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn, .lang { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); cursor: pointer; font: inherit; font-size: 0.9rem; text-decoration: none; }
.icon-btn:hover, .lang:hover { background: var(--surface-muted); color: var(--fg); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--fg); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--surface-muted); color: var(--fg); }
.btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-fg); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 0.92rem; }

/* Hero */
.hero { position: relative; padding: 72px 0 56px; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero > * { position: relative; }
.eyebrow { display: inline-block; padding: 5px 12px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 0.85rem; color: var(--fg-muted); background: var(--surface); margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); margin: 0 auto 18px; max-width: 18ch; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { color: var(--fg-muted); font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 60ch; margin: 0 auto 30px; }
.demo { max-width: 640px; margin: 0 auto; text-align: start; }
.demo-form { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); }
.demo-form input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--fg); font: inherit; padding: 8px 12px; border-radius: 8px; }
.demo-form input:focus-visible { outline-offset: 0; }
.demo-note { color: var(--fg-subtle); font-size: 0.88rem; margin: 10px 4px 0; text-align: center; }
.demo-result { margin-top: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.demo-result[hidden] { display: none; }
.demo-result .short { font-family: var(--mono); font-weight: 700; color: var(--accent); font-size: 1.05rem; overflow-wrap: anywhere; }
.demo-result .dest { color: var(--fg-subtle); font-size: 0.85rem; overflow-wrap: anywhere; }
.demo-result .info { flex: 1; min-width: 0; }
.demo-error { color: #b42318; font-size: 0.9rem; margin: 8px 4px 0; }
:root[data-theme='dark'] .demo-error { color: #f97066; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin: 8px 0 24px; overflow: hidden; }
.facts > div { padding: 18px 20px; border-inline-end: 1px solid var(--border); }
.facts > div:last-child { border-inline-end: 0; }
.facts strong { display: block; font-size: 1.05rem; }
.facts span { color: var(--fg-muted); font-size: 0.9rem; }

/* Sections */
section.block { padding: 72px 0; }
.sec-head { max-width: 62ch; margin-bottom: 36px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--accent); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin: 6px 0 12px; }
.sec-head p { color: var(--fg-muted); font-size: 1.08rem; margin: 0; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature > * { min-width: 0; }
.feature.flip .copy { order: 2; }
.feature h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 6px 0 12px; }
.feature p { color: var(--fg-muted); margin: 0 0 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-inline-start: 28px; color: var(--fg); }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.ticks li::after { content: ''; position: absolute; inset-inline-start: 5px; top: calc(0.35em + 4px); width: 6px; height: 3px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.more { display: inline-block; margin-top: 16px; font-weight: 600; }
.mock { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; overflow: hidden; }
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.rows { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); font-size: 0.9rem; }
.row .k { font-family: var(--mono); font-weight: 650; color: var(--accent); }
.row .u { color: var(--fg-subtle); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.chip { font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; white-space: nowrap; }
.chip.warn { background: color-mix(in srgb, var(--warning) 18%, transparent); color: var(--warning); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.bars i { flex: 1; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 40%, transparent)); border-radius: 4px 4px 0 0; min-height: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.stat { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--bg); }
.stat b { display: block; font-size: 1.3rem; letter-spacing: -0.02em; }
.stat span { color: var(--fg-subtle); font-size: 0.8rem; }
.qr-art { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.qr-art svg { width: 150px; height: 150px; background: #fff; border-radius: 12px; padding: 10px; border: 1px solid var(--border); }
.dns { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.dns th, .dns td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.dns td:nth-child(n+2) { font-family: var(--mono); overflow-wrap: anywhere; }

/* Cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--fg-muted); font-size: 0.97rem; }
.card .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.card .ico svg { width: 20px; height: 20px; }

/* Pricing */
.cycle { display: inline-flex; padding: 4px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); margin-bottom: 28px; }
.cycle button { border: 0; background: none; color: var(--fg-muted); font: inherit; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; }
.cycle button[aria-pressed='true'] { background: var(--accent); color: var(--accent-fg); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.plan.pop { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan h3 { margin: 0; font-size: 1.15rem; }
.plan .tag { font-size: 0.78rem; color: var(--accent); font-weight: 700; }
.price { font-size: 2rem; font-weight: 750; letter-spacing: -0.03em; margin: 14px 0 2px; }
.price small { font-size: 0.9rem; font-weight: 500; color: var(--fg-muted); letter-spacing: 0; }
.plan .sub { color: var(--fg-subtle); font-size: 0.85rem; min-height: 1.4em; margin: 0 0 16px; }
.plan .ticks { margin: 0 0 22px; font-size: 0.93rem; flex: 1; }
.plan .btn { width: 100%; }
.fineprint { color: var(--fg-subtle); font-size: 0.88rem; margin-top: 18px; }
.cmp-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.92rem; }
.cmp caption { text-align: start; padding: 14px 16px; font-weight: 700; }
.cmp th, .cmp td { text-align: start; padding: 10px 16px; border-top: 1px solid var(--border); }
.cmp thead th { background: var(--surface-muted); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 16px; color: var(--fg-muted); }

/* Final CTA + footer */
.cta-band { text-align: center; padding: 56px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); background-image: radial-gradient(ellipse at 50% 0, var(--accent-soft), transparent 70%); }
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 10px; }
.cta-band p { color: var(--fg-muted); margin: 0 auto; max-width: 52ch; }
.site-footer { border-top: 1px solid var(--border); margin-top: 72px; padding: 48px 0 32px; background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-subtle); margin: 0 0 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--fg-muted); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); text-decoration: underline; }
.foot-grid p { color: var(--fg-muted); font-size: 0.93rem; max-width: 32ch; margin: 12px 0 0; }
.foot-contact { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.95rem; }
.copy-line { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--fg-subtle); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Docs */
.docs { display: grid; grid-template-columns: 270px minmax(0, 1fr) 210px; gap: 40px; padding: 32px 0 0; align-items: start; }
.docs-nav { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; padding-inline-end: 8px; font-size: 0.93rem; }
.docs-nav h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--fg-subtle); margin: 22px 0 6px; }
.docs-nav h2:first-child { margin-top: 0; }
.docs-nav ul { list-style: none; margin: 0; padding: 0; }
.docs-nav a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--fg-muted); text-decoration: none; }
.docs-nav a:hover { background: var(--surface-muted); color: var(--fg); }
.docs-nav a[aria-current='page'] { background: var(--accent-soft); color: var(--accent); font-weight: 650; }
.docs-nav .m { font-family: var(--mono); font-size: 0.68rem; font-weight: 700; margin-inline-end: 6px; color: var(--fg-subtle); }
.docs-search { width: 100%; height: 40px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--fg); font: inherit; padding: 0 12px; margin-bottom: 14px; }
.docs-nav-toggle { display: none; }
.article { min-width: 0; max-width: 780px; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 8px; letter-spacing: -0.03em; }
.article .summary { color: var(--fg-muted); font-size: 1.12rem; margin: 0 0 28px; }
.article h2 { font-size: 1.5rem; margin: 2.2em 0 0.5em; padding-top: 0.4em; scroll-margin-top: 84px; }
.article h3 { font-size: 1.15rem; margin: 1.6em 0 0.4em; scroll-margin-top: 84px; }
.article p, .article li { color: var(--fg); }
.article ul, .article ol { padding-inline-start: 1.4em; }
.article li { margin: 4px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.93rem; display: block; overflow-x: auto; }
.article th, .article td { text-align: start; padding: 8px 12px; border: 1px solid var(--border); vertical-align: top; }
.article th { background: var(--surface-muted); }
.callout { border: 1px solid var(--border); border-inline-start: 4px solid var(--accent); background: var(--surface); border-radius: 10px; padding: 12px 16px; margin: 1.2rem 0; }
.callout p { margin: 0; }
.callout.warn { border-inline-start-color: var(--warning); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); }
.pager a { display: block; border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; text-decoration: none; background: var(--surface); }
.pager a:hover { border-color: var(--accent); }
.pager small { display: block; color: var(--fg-subtle); }
.pager .next { margin-inline-start: auto; text-align: end; }
.toc { position: sticky; top: 84px; font-size: 0.88rem; }
.toc h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--fg-subtle); margin: 0 0 8px; }
.toc ul { list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid var(--border); }
.toc a { display: block; padding: 4px 12px; color: var(--fg-muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.crumbs { font-size: 0.88rem; color: var(--fg-subtle); margin-bottom: 14px; }
.crumbs a { color: var(--fg-subtle); }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 1.4rem 0; }
.cards-2 a.card { text-decoration: none; color: var(--fg); display: block; }
.cards-2 a.card:hover { border-color: var(--accent); }

/* API reference */
.op { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); margin: 18px 0; padding: 16px 18px; }
.op h3 { margin: 0 0 6px; font-size: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.op .path { font-family: var(--mono); font-size: 0.9rem; overflow-wrap: anywhere; }
.method { font-family: var(--mono); font-size: 0.72rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--surface-muted); border: 1px solid var(--border-strong); }
.method.GET { color: var(--success); }
.method.POST { color: var(--accent); }
.method.DELETE { color: #b42318; }
:root[data-theme='dark'] .method.DELETE { color: #f97066; }
.method.PATCH, .method.PUT { color: var(--warning); }
.op .desc { color: var(--fg-muted); margin: 0 0 8px; }
.op .meta { color: var(--fg-subtle); font-size: 0.85rem; margin: 0; }
.op details { margin-top: 10px; }
.op summary { cursor: pointer; font-weight: 600; font-size: 0.92rem; }
.op table { font-size: 0.86rem; }
.req { color: #b42318; font-weight: 700; }
:root[data-theme='dark'] .req { color: #f97066; }
.copy-btn { position: absolute; top: 8px; inset-inline-end: 8px; }
.pre-wrap { position: relative; }
.pre-wrap pre { margin: 1rem 0; }

@media (max-width: 1080px) {
  .docs { grid-template-columns: 250px minmax(0, 1fr); }
  .toc { display: none; }
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; inset-inline: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 16px; margin: 0; }
  .nav.open a { padding: 12px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .copy { order: 0; }
  .grid3 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(2) { border-inline-end: 0; }
  .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr; gap: 16px; }
  .docs-nav { position: static; max-height: none; display: none; border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: var(--surface); }
  .docs-nav.open { display: block; }
  .docs-nav-toggle { display: inline-flex; width: 100%; justify-content: space-between; }
  .cards-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .demo-form { flex-direction: column; }
  .demo-form .btn { width: 100%; }
  .bar-end .btn-login { display: none; }
  .qr-art { grid-template-columns: 1fr; justify-items: start; }
  .foot-grid { grid-template-columns: 1fr; }
  section.block { padding: 48px 0; }
}

/* Utilities (no inline styles: the site CSP is style-src 'self') */
.bars .h28{height:28%}
.bars .h40{height:40%}
.bars .h34{height:34%}
.bars .h52{height:52%}
.bars .h46{height:46%}
.bars .h70{height:70%}
.bars .h62{height:62%}
.bars .h84{height:84%}
.bars .h76{height:76%}
.bars .h96{height:96%}
.bars .h88{height:88%}
.bars .h100{height:100%}
.mb { margin-bottom: 12px; }
.mt { margin-top: 12px; }
.row.hl { margin-top: 12px; background: var(--accent-soft); }
.center { text-align: center; }
.chip.inl { display: inline-block; }
.demo-note.start { text-align: start; }
.grid2 { grid-template-columns: repeat(2, 1fr); }
section.block.nopad { padding-bottom: 0; }
@media (max-width: 860px) { .grid3.grid2 { grid-template-columns: 1fr; } }

.search-results { margin: -4px 0 14px; }
.search-results ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.search-results a { display: block; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--fg); }
.search-results a:hover, .search-results a:focus-visible { border-color: var(--accent); }
.search-results small { display: block; color: var(--fg-subtle); font-size: 0.8rem; overflow-wrap: anywhere; }
.search-results p { color: var(--fg-muted); margin: 6px 4px; }
.mock-center { max-width: 520px; margin: 28px auto 0; }
.grid3.grid2 .card .more { margin-top: 12px; }
