/* Inter, the same font as the app (SIL Open Font License, see fonts/Inter-OFL.txt). */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations'), url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #0f1115;
    --surface: #171a21;
    --chip: #1f242d;
    --text: #eef1f6;
    --muted: #a4acba;
    --faint: #727b8b;
    --line: #262b35;
    --line-strong: #646d7d;
    --accent: #b9a3f5;
    --accent-hover: #c9b8f8;
    --accent-soft: #2a2240;
    --accent-ink: #b9a3f5;
    --on-accent: #100d18;
    --ok: #86efac;
    --bad: #fda29b;
    --warn: #fdba74;
    --info: #93c5fd;
    --ok-soft: #16301f;
    --bad-soft: #3a1d1d;
    --green: #86efac;
    --blue: #93c5fd;
    --sky: #7dd3fc;
    --teal: #5eead4;
    --violet: #c4b5fd;
    --pink: #f9a8d4;
    --orange: #fdba74;
    --amber: #fcd34d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Cascadia Code', ui-monospace, 'SF Mono', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
}

[data-theme="light"] {
    --bg: #f9fafb;
    --surface: #ffffff;
    --chip: #f2f4f7;
    --text: #0b1220;
    --muted: #5b6474;
    --faint: #7f8898;
    --line: #e7e9ee;
    --line-strong: #868e9c;
    --accent: #7c5cd6;
    --accent-hover: #6e4fcb;
    --accent-soft: #f1ecfb;
    --accent-ink: #6e4fcb;
    --on-accent: #ffffff;
    --ok: #15803d;
    --bad: #b42318;
    --warn: #c2410c;
    --info: #1d4ed8;
    --ok-soft: #e8f5ec;
    --bad-soft: #fdecea;
    --green: #15803d;
    --blue: #1d4ed8;
    --sky: #0369a1;
    --teal: #0f766e;
    --violet: #6d28d9;
    --pink: #be185d;
    --orange: #c2410c;
    --amber: #8f5706;
    --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px -12px rgba(16, 24, 40, 0.12);
}

:root {
    color-scheme: dark;
    --gutter: 20px;
}

[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, summary, a.btn { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip {
    position: absolute;
    left: 8px;
    top: -80px;
    background: var(--accent);
    color: var(--on-accent);
    padding: 10px 16px;
    border-radius: 6px;
    z-index: 30;
}
.skip:focus { top: 8px; }

.wrap { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--font-sans); line-height: 1.2; margin: 0 0 12px; text-wrap: balance; }
h1, h2 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: 0; }
@media (min-width: 900px) {
    h1 { font-size: 56px; }
    h2 { font-size: 38px; }
}
.soft { color: var(--faint); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); }

header.site { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 64px; }
.brand { font-family: var(--font-mono); font-weight: 600; font-size: 20px; letter-spacing: 0; color: var(--text); text-decoration: none; padding: 10px 0; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand .slash { color: var(--text); }
.brand .r { color: var(--accent); }
nav.main { display: flex; align-items: center; gap: 4px; font-family: var(--font-sans); font-size: 15px; }
nav.main a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); text-decoration: none; border-radius: 10px; }
nav.main a:not(.btn):hover { color: var(--text); background: var(--chip); }
nav.main a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
nav.main a.btn { min-height: 40px; padding: 0 18px; margin: 0 2px 0 8px; font-size: 15px; }
.hdr-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--muted); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; }
.menu-btn:hover { color: var(--text); border-color: var(--accent); }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-btn path { transform-box: fill-box; transform-origin: center; transition: transform 0.2s ease, opacity 0.15s ease; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }
nav.main { order: 3; flex-basis: 100%; flex-wrap: wrap; }
.hdr-tools { order: 2; }
@media (max-width: 719px) {
    .js .menu-btn { display: inline-grid; }
    .js nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 30; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px var(--gutter) 16px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .js nav.main.open { display: flex; }
    .js nav.main a:not(.btn) { min-height: 48px; padding: 0 12px; font-size: 1rem; }
    .js nav.main a.btn { min-height: 48px; margin: 8px 0 0; font-size: 1rem; }
}
@media (min-width: 720px) {
    nav.main { order: 0; flex-basis: auto; margin-left: auto; }
    .hdr-tools { order: 0; margin-left: 8px; }
}

button.theme {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    cursor: pointer;
}
button.theme:hover { color: var(--text); border-color: var(--accent); }
button.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* The icon shows the theme you will switch to. */
[data-theme="dark"] button.theme .i-moon, [data-theme="light"] button.theme .i-sun { display: none; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--on-accent);
    cursor: pointer;
}
.btn:hover { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; }
.btn.ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn.ghost:hover { color: var(--text); background: var(--accent-soft); border-color: var(--accent); }
.btn.lg { min-height: 48px; padding: 0 24px; font-size: 16px; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); font-size: 13px; line-height: 1.4; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--chip); font-size: 13px; line-height: 1.4; color: var(--muted); }
.chip.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }

code, pre, kbd { font-family: var(--font-mono); }
code { background: var(--chip); padding: 1px 6px; border-radius: 4px; font-size: 0.875em; overflow-wrap: anywhere; }
pre { background: var(--chip); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; overflow-x: auto; margin: 0 0 16px; font-size: 0.875rem; line-height: 1.55; }
pre code { background: none; padding: 0; font-size: inherit; overflow-wrap: normal; }
kbd { border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; font-size: 0.8125em; background: var(--surface); color: var(--text); white-space: nowrap; }

/* Text sections */
.prose > * { max-width: 66ch; }
.prose > .wide, .prose > table, .prose > .table-scroll { max-width: 100%; }

/* FAQ */
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; min-height: 56px; padding: 10px 40px 10px 0; cursor: pointer; font-family: var(--font-sans); font-weight: 600; font-size: 0.9375rem; line-height: 1.35; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.5rem; font-weight: 400; line-height: 1; }
details[open] > summary::after { content: '\2212'; }
summary:hover { color: var(--accent); }
summary:focus-visible { outline-offset: -2px; }
details > p:last-child { margin-bottom: 16px; }


/* Docs and legal pages */
table { border-collapse: collapse; width: 100%; margin: 0 0 20px; font-size: 0.9375rem; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
.table-scroll { overflow-x: auto; margin-bottom: 20px; }
.table-scroll table { margin: 0; }
.page { padding: 32px var(--gutter) 64px; overflow-wrap: break-word; }
.page.wrap { max-width: calc(66ch + 2 * var(--gutter)); }
.page > * { max-width: none; }
.toc.auto { display: none; }
.page h1 { margin-bottom: 18px; }
.page .lead { font-size: 18px; line-height: 1.55; color: var(--muted); margin: 0 0 28px; }
.page h2 { margin-top: 44px; padding-top: 4px; }
.page h3 { margin-top: 26px; }
.page ul, .page ol { padding-left: 1.5em; margin: 0 0 1em; }
.page li { margin-bottom: 8px; }
.page li::marker { color: var(--muted); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px; margin-bottom: 28px; font-size: 0.9375rem; }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.toc li { margin: 0; }
.toc a { display: flex; align-items: center; min-height: 44px; }


/* Docs and legal pages on wide screens: a sticky contents list on the left, the text in a centred column */
@media (min-width: 1100px) {
    .js .page.toc-page.wrap { display: grid; grid-template-columns: 240px minmax(0, 66ch); column-gap: 72px; justify-content: center; max-width: 1180px; align-content: start; }
    .js .page.toc-page > * { grid-column: 2; min-width: 0; }
    .js .page.toc-page > .toc { grid-column: 1; grid-row: 1 / span 80; position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; background: none; border: 0; border-left: 1px solid var(--line-strong); border-radius: 0; padding: 4px 0 4px 18px; margin: 6px 0 0; display: block; }
    .js .page.toc-page > .toc ul { display: block; }
    .js .page.toc-page > .toc a { min-height: 36px; }
    .toc li { margin-bottom: 2px; }
}
@media (max-height: 520px) { .js .page.toc-page > .toc { position: static; max-height: none; } }

/* Copy button for text blocks */
.copy-wrap { position: relative; }
button.copy { display: block; margin: 0 0 8px auto; min-height: 44px; padding: 0 16px; font-family: var(--font-sans); font-size: 0.875rem; color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; }
button.copy:hover { color: var(--text); border-color: var(--accent); }
.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; }

/* Wide tables become stacked rows on a phone (labels are added by site.js) */
@media (max-width: 639px) {
    .js .table-scroll table, .js .table-scroll tbody, .js .table-scroll tr, .js .table-scroll td { display: block; }
    .js .table-scroll thead { position: absolute; left: -9999px; }
    .js .table-scroll tr { padding: 12px 0; border-bottom: 1px solid var(--line-strong); }
    .js .table-scroll td { border: 0; padding: 3px 0; }
    .js .table-scroll td:first-child { font-weight: 600; padding-top: 0; }
    .js .table-scroll td:first-child::before { display: none; }
    .js .table-scroll td::before { content: attr(data-label); display: block; font-size: 0.8125rem; color: var(--muted); }
    .table-scroll { overflow: visible; }
}
@media (min-width: 640px) { .table-scroll table { min-width: 560px; } }

footer.site { border-top: 1px solid var(--line); background: var(--bg); padding: 24px 0 28px; font-size: 0.9375rem; color: var(--muted); }
footer.site .wrap { display: grid; gap: 8px; }
footer.site p { margin: 0; }
footer.site ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 12px; margin: 0 -6px; padding: 0; }
footer.site a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }

/* Narrow phones (320px) */
@media (max-width: 359px) {
    :root { --gutter: 16px; }
    .brand { font-size: 1.0625rem; }
}

@media (min-width: 600px) {
    .toc ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
}

@media (min-width: 720px) { .page { padding-top: 48px; padding-bottom: 80px; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Short landscape phones: do not let the header take a seventh of the screen */
@media (max-height: 520px) {
    header.site { position: static; }
    html { scroll-padding-top: 12px; }
    h1 { font-size: 1.75rem; margin-bottom: 8px; }
}
pre[data-copy] { white-space: pre-wrap; overflow-wrap: anywhere; }

h2 { margin-bottom: 16px; }
.page h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.page h3 { font-size: 17px; }

::selection { background: var(--accent-soft); color: var(--text); }

/* Footer */
footer.site { font-size: 0.9375rem; }

.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

section { padding: 56px 0; }
@media (min-width: 900px) { :root { --gutter: 40px; } section { padding: 80px 0; } }
section > .wrap > h2 { text-align: center; max-width: 24em; margin: 0 auto 36px; }
.section-lead { text-align: center; color: var(--muted); max-width: 40em; margin: -16px auto 32px; }
.section-note { text-align: center; color: var(--muted); font-size: 15px; max-width: 46em; margin: 28px auto 0; }
.section-note code { white-space: nowrap; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta.center { justify-content: center; margin-top: 28px; }

.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) {
    .hero { padding: 88px 0 72px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }
}
.hero .pill { margin: 0; }
.hero .pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.hero h1 { margin: 22px 0 20px; }
.hero-sub { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 34em; margin: 0 0 32px; }
@media (min-width: 900px) { .hero-sub { font-size: 19px; } }
.hero-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

.hero-card { margin: 0; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.card-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.card-bar .dots { display: flex; gap: 7px; margin-right: 6px; }
.card-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.card-facts { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; padding: 16px 22px 4px; }
.card-facts div { min-width: 0; }
.card-facts dt { font-size: 12px; color: var(--muted); }
.card-facts dd { margin: 0; font-size: 14px; font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.views { display: none; flex-wrap: wrap; gap: 6px; padding: 12px 22px 0; }
.js .views { display: flex; }
.views button { border: 0; font-family: var(--font-sans); min-height: 30px; cursor: pointer; }
.views button:hover { color: var(--text); }
.views button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.card-doc { margin: 12px 22px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; line-height: 1.65; }
.card-doc p { margin: 0; }
.hero-card[data-view="voice"] .v-agent, .hero-card[data-view="voice"] .v-diff,
.hero-card[data-view="agent"] .v-voice, .hero-card[data-view="agent"] .v-diff,
.hero-card[data-view="diff"] .v-voice, .hero-card[data-view="diff"] .v-agent { display: none; }
.js .card-doc { display: grid; position: relative; }
.js .card-doc p { grid-area: 1 / 1; }
.js .hero-card[data-view] .card-doc p { display: block; visibility: hidden; }
.js .hero-card .card-doc p.v-diff { position: absolute; top: 16px; left: 18px; right: 18px; }
.js .hero-card[data-view="diff"] .card-doc p.v-diff { position: static; }
.v-diff { font-size: 13.5px; line-height: 1.5; }
.js .hero-card[data-view="voice"] p.v-voice, .js .hero-card[data-view="agent"] p.v-agent, .js .hero-card[data-view="diff"] p.v-diff { visibility: visible; }
del { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--muted); }
ins { text-decoration: none; background: var(--accent-soft); color: var(--text); border-radius: 4px; }
.card-why { margin: 14px 22px 0; padding: 10px 14px; background: var(--chip); border-radius: 10px; font-size: 13px; color: var(--muted); }
.card-why b { color: var(--text); font-weight: 600; }
.card-act { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px 20px; }
.card-act .btn { cursor: default; }
.card-act .btn:hover { background: var(--accent); border-color: var(--accent); }
.card-act .btn.ghost:hover { background: var(--surface); border-color: var(--line-strong); }

.tiles { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 720px) and (max-width: 1099px) { .tiles.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiles.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }
.numbered { counter-reset: n; }
.numbered > li { counter-increment: n; }
.numbered > li::before { content: counter(n); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }

.plans { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0 0 28px; padding: 0; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; }
.plan.pick { border: 2px solid var(--accent); padding: 23px; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-head .pill { margin: -6px 0; }
.plan h3 { margin: 0; }
.plan .price { margin: 10px 0 14px; font-size: 32px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
.plan .price small { font-size: 15px; letter-spacing: 0; color: var(--muted); }
.plan .quota { margin: 0 0 4px; font-weight: 600; }
.plan .keep, .plan .voice { margin: 0 0 4px; font-size: 15px; color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan .voice { margin-bottom: 20px; }
.notes { color: var(--muted); font-size: 15px; max-width: 66ch; margin: 0 auto; padding-left: 1.2em; }
.notes li { margin-bottom: 6px; }

.statement { font-size: 19px; line-height: 1.55; color: var(--text); max-width: 1000px; margin: 0 auto 48px; padding: 28px 32px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.trust { display: grid; gap: 0 64px; grid-template-columns: minmax(0, 1fr); max-width: 1000px; margin: 0 auto; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust p { margin: 0; padding: 18px 0 22px; border-top: 1px solid var(--line); color: var(--muted); }

.faq { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; } }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { font-size: 16px; padding-right: 34px; }
.faq summary::after { right: 0; font-size: 1.75rem; }
.faq details > p:last-child { color: var(--muted); max-width: 62ch; }

.final-cta { background: var(--surface); border-top: 1px solid var(--line); }
.final-cta h2 { margin-bottom: 0; }
.final-cta .cta.center { margin-top: 0; }

/* Benchmark tables (homepage #compare and /benchmark/) */
.bench, .plans-table { font-size: 0.9375rem; }
.bench th[scope="row"], .plans-table th[scope="row"] { color: var(--text); font-weight: 600; font-size: inherit; min-width: 9em; }
.bench td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bench tr.us th, .bench tr.us td, .bench td.us, .plans-table tr.us th, .plans-table tr.us td { color: var(--accent); font-weight: 600; }
.bench tr.ref th, .bench tr.ref td { color: var(--muted); font-weight: 400; }
.plans-table td { min-width: 9em; }
.plans-table td.src a { display: inline-block; margin: 0 10px 4px 0; font-size: 13px; }
#compare .table-scroll { max-width: 960px; margin: 0 auto 20px; }
.bench-notes { max-width: 46em; margin: 0 auto; }
.bench-notes p { color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); }
#compare .fine { max-width: 46em; margin-left: auto; margin-right: auto; text-align: center; }
.bench-sub { text-align: center; margin: 48px 0 8px; }
.bench-page.page.wrap { max-width: calc(1200px + 2 * var(--gutter)); }
.bench-page > p, .bench-page > ul, .bench-page > h2, .bench-page > h1 { max-width: 66ch; }

/* Tables, v2: comparison table as a three-column grid; every table stacks into cards on a phone */
#compare .table-scroll { overflow: visible; }
.bench.compact { min-width: 0; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.bench.compact td { white-space: normal; }
.bench.compact thead td:first-child, .bench.compact th[scope="row"] { width: 30%; }
.bench.compact th, .bench.compact td { padding: 14px 16px; }
.bench.compact thead th { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.bench.compact thead th:nth-child(2) { color: var(--accent); background: var(--accent-soft); border-radius: var(--radius) var(--radius) 0 0; }
.bench.compact td.us { background: var(--accent-soft); color: var(--accent-ink); }
.bench.compact tbody tr:last-child td.us { border-radius: 0 0 var(--radius) var(--radius); border-bottom: 0; }
.bench.compact th[scope="row"] { padding-left: 0; }
.table-scroll .bench:not(.compact) th[scope="row"] { position: sticky; left: 0; background: var(--bg); z-index: 1; }
.table-scroll .bench:not(.compact) thead th { vertical-align: bottom; font-size: 12.5px; line-height: 1.35; min-width: 6.5em; }
.table-scroll .bench:not(.compact) td { text-align: right; padding-left: 12px; }
.table-scroll .bench:not(.compact) thead th:not(:first-child) { text-align: right; padding-left: 12px; }
.bench tr.us th[scope="row"] { background: var(--bg); }
.table-scroll .bench:not(.compact) tr.us td, .table-scroll .bench:not(.compact) tr.us th { background: var(--accent-soft); }

@media (max-width: 639px) {
    .js .table-scroll table { min-width: 0; }
    .js .table-scroll th[scope="row"] { display: block; position: static; width: auto; padding: 0 0 8px; font-size: 1rem; background: none; border: 0; text-align: left; }
    .js .table-scroll tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 16px 14px; margin: 0 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
    .js .table-scroll tr > th[scope="row"] { grid-column: 1 / -1; }
    .js .table-scroll td { display: block; padding: 0; border: 0; text-align: left !important; white-space: normal; min-width: 0; font-size: 0.9375rem; }
    .js .table-scroll td:first-child { font-weight: inherit; }
    .js .table-scroll td::before { content: attr(data-label); display: block; font-size: 0.75rem; line-height: 1.3; color: var(--muted); margin-bottom: 2px; font-weight: 400; }
    .js .table-scroll td:empty { display: none; }
    .js .table-scroll tr.us { border-color: var(--accent); background: var(--accent-soft); }
    .js .table-scroll tr.us td::before { color: var(--accent-ink); opacity: .8; }
    .js .table-scroll .bench.compact td.us { background: var(--accent-soft); color: var(--accent-ink); border-radius: 8px; padding: 10px; }
    .js .table-scroll .bench.compact td:not(.us) { padding: 10px 0; }
    .js .table-scroll .plans-table td.src, .js .table-scroll .plans-table td:nth-child(4), .js .table-scroll .plans-table td:nth-child(5) { grid-column: 1 / -1; }
}
/* Text on the soft accent background uses the darker accent ink for contrast */
.table-scroll tr.us th, .table-scroll tr.us td, .bench.compact thead th:nth-child(2) { color: var(--accent-ink); }
.table-scroll tr.us a { color: var(--accent-ink); }
