:root {
    color-scheme: light dark;

    --bg: #f7f2ec;
    --surface: #fffcf8;
    --panel: #f1e8de;
    --tint: #f5dfcc;
    --paid: #ece8e4;
    --ink: #231c16;
    --muted: #5b5046;
    --line: #e2d6c8;
    --line-strong: #7d6d5e;
    --accent: #a13d1a;
    --accent-hover: #86310f;
    --on-accent: #ffffff;
    --sage-bg: #e1ecdf;
    --sage-ink: #2b5735;
    --amber-bg: #f8e9c9;
    --amber-ink: #6e4a00;
    --red-bg: #f8e2df;
    --red-ink: #8f2c25;
    --shadow: 0 1px 2px rgba(70, 45, 20, .06), 0 6px 18px rgba(70, 45, 20, .06);
    --overlay: rgba(28, 18, 10, .55);
    --sell-bg: var(--accent);
    --sell-ink: var(--on-accent);
    --sell-hover-bg: var(--accent-hover);
    --sell-ring: transparent;

    --fs-xs: .75rem;
    --fs-s: .875rem;
    --fs-m: 1rem;
    --fs-l: 1.1875rem;
    --fs-h1: clamp(1.375rem, 1.1rem + 1.1vw, 1.75rem);

    --lh: 1.55;
    --r-s: 8px;
    --r-m: 12px;
    --r-l: 16px;
    --ctl: 2rem;
    --ctl-l: 2.5rem;
    --gutter: 1rem;
    --max: 72rem;
    --measure: 66ch;

    --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;
}

:root[data-theme="light"] { color-scheme: light; }

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #1a1612;
    --surface: #241f1a;
    --panel: #2b241e;
    --tint: #3d2c20;
    --paid: #201d1b;
    --ink: #f2ebe3;
    --muted: #bcb0a3;
    --line: #3a322b;
    --line-strong: #8f8172;
    --accent: #f0976f;
    --accent-hover: #f5ae8e;
    --on-accent: #2a130a;
    --sage-bg: #1f3326;
    --sage-ink: #a8d4b0;
    --amber-bg: #3a2e10;
    --amber-ink: #e8c274;
    --red-bg: #3a1614;
    --red-ink: #f0a09a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .22);
    --overlay: rgba(0, 0, 0, .65);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #1a1612;
        --surface: #241f1a;
        --panel: #2b241e;
        --tint: #3d2c20;
        --paid: #201d1b;
        --ink: #f2ebe3;
        --muted: #bcb0a3;
        --line: #3a322b;
        --line-strong: #8f8172;
        --accent: #f0976f;
        --accent-hover: #f5ae8e;
        --on-accent: #2a130a;
        --sage-bg: #1f3326;
        --sage-ink: #a8d4b0;
        --amber-bg: #3a2e10;
        --amber-ink: #e8c274;
        --red-bg: #3a1614;
        --red-ink: #f0a09a;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .22);
        --overlay: rgba(0, 0, 0, .65);
    }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: var(--fs-m);
    line-height: var(--lh);
    overflow-wrap: break-word;
}

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.25; }
h1 { font-size: var(--fs-h1); letter-spacing: -.01em; }
h2 { font-size: var(--fs-l); }
h3 { font-size: var(--fs-m); line-height: 1.35; }
p, ul, ol, dl, dd, figure, blockquote, pre { margin: 0; }

a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

button, input, select, textarea { margin: 0; font: inherit; color: inherit; }
textarea { resize: vertical; }
::placeholder { color: var(--muted); opacity: 1; }

code, pre, kbd, samp { font-family: var(--mono); font-size: 1em; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
    flex: none;
    width: 1.125em;
    height: 1.125em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
    position: absolute; left: .5rem; top: -4rem; z-index: 200;
    padding: .4rem .8rem; border-radius: var(--r-s);
    background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: .5rem; color: var(--bg); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }


.site-header { position: relative; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: .5rem; min-height: 3.25rem; }
.brand {
    display: inline-flex; align-items: center; gap: .5rem; min-height: var(--ctl-l); margin-right: auto;
    color: var(--ink); font-weight: 700; text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark {
    display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
    border-radius: var(--r-s); background: var(--accent); color: var(--on-accent);
}
.brand-mark .ic { width: 1.125rem; height: 1.125rem; }

.lang-switch { display: flex; align-items: center; gap: .75rem; font-size: var(--fs-s); }
.lang-switch a, .lang-current { display: inline-flex; align-items: center; min-height: var(--ctl); }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--ink); }
.lang-current { color: var(--ink); font-weight: 600; }

.site-nav ul, .site-nav-mobile ul { margin: 0; padding: 0; list-style: none; }
.site-nav ul { display: flex; gap: .25rem; }
.nav-link {
    display: inline-flex; align-items: center; gap: .4rem; min-height: var(--ctl);
    padding: 0 .7rem; border-radius: 999px; white-space: nowrap;
    color: var(--ink); font-size: var(--fs-s); font-weight: 500; text-decoration: none;
}
.nav-link:hover { background: var(--panel); color: var(--ink); }
.nav-link[aria-current="page"] { background: var(--tint); font-weight: 700; }

.nav-cta {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 2.25rem; padding: 0 .8rem;
    border-radius: 999px; background: var(--sell-bg); color: var(--sell-ink); box-shadow: inset 0 0 0 1px var(--sell-ring);
    font-size: var(--fs-s); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { background: var(--sell-hover-bg); color: var(--sell-ink); }
.nav-cta .ic { width: 1rem; height: 1rem; }
.nav-cta .auth-badge { border-color: currentColor; color: inherit; opacity: .85; }
.nav-cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--sell-bg); }
.nav-cta-item { margin-left: .5rem; }
.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;
}

.site-nav, .header-inner > .lang-switch { display: none; }
.nav-menu > summary { list-style: none; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-toggle {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 2.25rem; padding: 0 .8rem;
    border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
    color: var(--ink); font-size: var(--fs-s); font-weight: 600; cursor: pointer; user-select: none;
}
.nav-toggle:hover { border-color: var(--ink); }
.nav-menu[open] > .nav-toggle { background: var(--tint); border-color: var(--tint); }
.nav-menu[open] .ic-open, .nav-menu:not([open]) .ic-close { display: none; }
.nav-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    padding: .5rem var(--gutter) .75rem;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.site-nav-mobile ul { display: grid; gap: .125rem; }
.site-nav-mobile .nav-link { display: flex; min-height: 2.75rem; padding: 0 .75rem; border-radius: var(--r-m); font-size: var(--fs-m); white-space: normal; }
.nav-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; padding: .375rem .75rem 0; border-top: 1px solid var(--line); }
.theme-toggle {
    display: inline-grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; padding: 0;
    border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle .ic { width: 1.125rem; height: 1.125rem; }
.theme-toggle .ic-sun, .theme-toggle[aria-pressed="true"] .ic-moon { display: none; }
.theme-toggle[aria-pressed="true"] .ic-sun { display: block; }
.header-inner > .theme-toggle { display: none; }
.theme-toggle[hidden] { display: none !important; }
.auth-badge {
    display: inline-flex; align-items: center; gap: .25rem;
    padding: 0 .45rem; border: 1px solid var(--line-strong); border-radius: 999px;
    color: var(--muted); font-size: var(--fs-xs); font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.auth-badge .ic { width: .75rem; height: .75rem; }


.site-main { display: block; padding-top: .75rem; padding-bottom: 2.5rem; }

.page-head { display: flex; flex-direction: column; gap: .375rem; max-width: var(--measure); margin-bottom: 1.25rem; }
.page-head .lead { color: var(--muted); }

.section { margin-top: 2.5rem; }
.section-head {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
    gap: .25rem 1rem; margin-bottom: .875rem;
}
.section-sub { margin-top: .125rem; color: var(--muted); font-size: var(--fs-s); }
.more-link { font-size: var(--fs-s); font-weight: 600; white-space: nowrap; text-decoration: none; }
.more-link:hover { text-decoration: underline; }


.hero {
    display: grid;
    grid-template-areas: "title" "example" "actions" "privacy" "goal";
    gap: .625rem;
}
.hero-title { grid-area: title; line-height: 1.2; }

.hero-example {
    grid-area: example;
    display: flex; flex-direction: column; gap: .375rem;
    padding: .625rem .75rem .75rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
    box-shadow: var(--shadow);
}
.hero-example-a { line-height: 1.5; }
.hero-example-label {
    color: var(--muted); font-size: var(--fs-xs); font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
}
.hero-example-q { padding: .4rem .65rem; border-radius: var(--r-m); background: var(--tint); font-weight: 600; line-height: 1.45; }
.hero-example-source {
    display: flex; align-items: flex-start; gap: .5rem; align-self: flex-start;
    padding: .3rem .65rem; border-radius: var(--r-m);
    background: var(--sage-bg); color: var(--sage-ink); font-size: var(--fs-s); line-height: 1.4;
}
.hero-example-source .ic { margin-top: .1rem; }
.hero-example-source cite { display: flex; flex-direction: column; font-style: normal; }
.hero-example-source strong { font-weight: 700; }

.hero-actions { grid-area: actions; display: flex; flex-direction: column; align-items: stretch; gap: .375rem; }
.hero-goal-block { grid-area: goal; max-width: var(--measure); }
.hero-privacy { grid-area: privacy; display: flex; flex-direction: column; }
.hero-safe { display: flex; align-items: center; gap: .5rem; color: var(--sage-ink); font-size: var(--fs-s); font-weight: 600; }

.disclosure > summary {
    display: inline-flex; align-items: center; min-height: var(--ctl);
    color: var(--accent); font-weight: 600; cursor: pointer; list-style: none;
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary:hover { color: var(--accent-hover); text-decoration: underline; }
.disclosure[open] > summary { color: var(--ink); }
.disclosure-body {
    display: flex; flex-direction: column; gap: .375rem; margin-top: .25rem;
    padding: .75rem .875rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m);
    color: var(--muted); font-size: var(--fs-s);
}


.hero-cta, .cta-button {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: var(--ctl-l); padding: .4rem 1.25rem;
    border: 1px solid transparent; border-radius: 999px;
    background: var(--accent); color: var(--on-accent);
    font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer;
}
.hero-cta:hover, .cta-button:hover { background: var(--accent-hover); color: var(--on-accent); }

.cta-button.is-muted {
    min-height: var(--ctl); padding: .3rem 1rem;
    background: transparent; border-color: var(--line); color: var(--muted);
    font-size: var(--fs-s); font-weight: 500;
}
.cta-button.is-muted:hover { background: var(--panel); border-color: var(--line-strong); color: var(--ink); }


.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; min-height: var(--ctl);
    padding: 0 .9rem; border: 1px solid var(--accent); border-radius: 999px;
    background: transparent; color: var(--accent); font-size: var(--fs-s); font-weight: 600; cursor: pointer;
}
.btn-secondary:hover { background: var(--accent); color: var(--on-accent); }

.soon-form { display: flex; margin: 0; }
.soon-form .cta-button { flex: 1 1 auto; }

.cta-link { font-weight: 600; }
button.cta-link { padding: 0; border: 0; background: none; color: var(--accent); font-weight: 600; cursor: pointer; }
button.cta-link:hover { text-decoration: underline; }


.anchors { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.anchor {
    display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .125rem .75rem; padding: .875rem 1rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
}
.anchor p { color: var(--muted); }
.anchor-icon {
    grid-row: span 2; display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
    border-radius: var(--r-m); background: var(--sage-bg); color: var(--sage-ink);
}
.anchor-icon .ic { width: 1.25rem; height: 1.25rem; }

.anonymity-block {
    display: grid; gap: .25rem; margin-top: .75rem; padding: .875rem 1rem;
    background: var(--panel); border-radius: var(--r-l);
}
.anonymity-headline { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.anonymity-headline .ic { color: var(--sage-ink); }
.coverage, .gapfill { color: var(--muted); font-size: var(--fs-s); }

.teasers { display: grid; gap: .625rem; margin: 0; padding: 0; list-style: none; }
.teaser {
    display: flex; align-items: center; gap: .875rem; height: 100%; padding: .75rem 1rem;
    background: var(--panel); border-radius: var(--r-l); color: var(--ink); text-decoration: none;
}
.teaser:hover { background: var(--tint); color: var(--ink); }
.teaser-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
.teaser-title { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; font-weight: 700; }
.teaser-body { color: var(--muted); font-size: var(--fs-s); }
.teaser-arrow {
    display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; margin-left: auto;
    border-radius: 50%; background: var(--surface); color: var(--accent);
}

.why-list { display: grid; gap: .75rem 2.5rem; margin: 0; padding: 0; list-style: none; }
.why-item {
    display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: .125rem .75rem;
    padding-top: .75rem; border-top: 1px solid var(--line);
}
.why-item .ic { grid-row: span 2; width: 1.25rem; height: 1.25rem; margin-top: .1rem; color: var(--sage-ink); }
.why-item p { color: var(--muted); }


.content-card {
    position: relative;
    display: flex; flex-direction: column; gap: .375rem; padding: .875rem 1rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
}
.content-card:hover { border-color: var(--line-strong); }
.card-top { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .75rem; }
.card-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.card-date { margin-left: auto; color: var(--muted); font-size: var(--fs-s); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-title { font-size: var(--fs-m); line-height: 1.35; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-title a:hover { color: var(--ink); text-decoration: underline; }
.card-text { max-width: var(--measure); color: var(--muted); }
.card-meta { color: var(--muted); font-size: var(--fs-s); }
.card-meta a { position: relative; z-index: 1; }

.tier-badge, .stage-badge, .origin-badge, .country-badge, .lang-badge {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: 0 .55rem; border: 1px solid transparent; border-radius: 999px;
    font-size: var(--fs-s); font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.tier-badge { background: var(--panel); color: var(--muted); }
.tier-badge.tier-documented { background: var(--sage-bg); color: var(--sage-ink); }
.tier-badge.tier-reported { background: var(--amber-bg); color: var(--amber-ink); }
.tier-badge.tier-hearsay { background: var(--red-bg); color: var(--red-ink); }
.stage-badge, .origin-badge { background: var(--panel); color: var(--ink); }
.stage-badge::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }
.stage-badge.stage-in-force, .stage-badge.stage-adopted { background: var(--sage-bg); color: var(--sage-ink); }
.stage-badge.stage-draft-law, .stage-badge.stage-pending { background: var(--amber-bg); color: var(--amber-ink); }
.country-badge, .lang-badge {
    border-color: var(--line-strong); color: var(--ink);
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.lang-badge { color: var(--muted); }

.news-carousel-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 84%);
    gap: .75rem; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) .5rem;
    list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    scrollbar-width: thin;
}
.news-carousel-item { display: flex; scroll-snap-align: start; }
.news-carousel-item .content-card { flex: 1; min-width: 0; }
.news-carousel .card-text {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.news-carousel .card-meta { margin-top: auto; padding-top: .125rem; }

.feed-layout { display: grid; gap: 1rem; }
.feed { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.feed-empty { color: var(--muted); }

.feed-filters {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: .625rem .75rem;
    padding: .75rem .875rem; background: var(--panel); border-radius: var(--r-l);
}
.feed-filters fieldset { flex: 1 1 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
.filter-legend, .filter-label {
    display: block; margin-bottom: .25rem; padding: 0;
    color: var(--muted); font-size: var(--fs-s); font-weight: 600;
}
.seg { display: flex; flex-wrap: wrap; gap: .3rem; }
.seg label { position: relative; }
.seg input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.seg span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; min-height: var(--ctl);
    padding: 0 .55rem; border: 1px solid var(--line-strong); border-radius: 999px;
    background: var(--surface); font-size: var(--fs-s); font-weight: 500; letter-spacing: .02em; cursor: pointer;
}
.seg label:hover span { border-color: var(--ink); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.filter-field { flex: 1 1 10rem; min-width: 0; }
.filter-field input {
    width: 100%; min-height: var(--ctl); padding: .15rem .6rem;
    border: 1px solid var(--line-strong); border-radius: var(--r-s); background: var(--surface);
    -webkit-appearance: none; appearance: none;
}
.feed-main[aria-busy="true"] { opacity: .55; transition: opacity .15s ease; }

.feed-pager { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.feed-pager a {
    display: inline-flex; align-items: center; min-height: var(--ctl); padding: 0 .9rem;
    border: 1px solid var(--line-strong); border-radius: 999px;
    color: var(--ink); font-size: var(--fs-s); font-weight: 600; text-decoration: none;
}
.feed-pager a:hover { border-color: var(--ink); background: var(--surface); color: var(--ink); }

.gossip-disclaimer {
    max-width: var(--measure); padding: .5rem .75rem; border-radius: var(--r-m);
    background: var(--amber-bg); color: var(--amber-ink); font-size: var(--fs-s);
}


.prose > * { max-width: var(--measure); }
.prose > * + * { margin-top: .75rem; }
.prose > h2 { margin-top: 2rem; }
.prose > h2 + * { margin-top: .5rem; }
.prose > .services-grid, .prose > .qa-index { max-width: none; }
.prose .lead { color: var(--muted); }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.25rem; }
.prose li + li { margin-top: .25rem; }
.prose code {
    padding: .05rem .35rem; border: 1px solid var(--line); border-radius: var(--r-s);
    background: var(--surface); font-size: var(--fs-s);
}
.stub p { color: var(--muted); }

.content-detail .card-top { margin-bottom: -.25rem; }
.what-law, .translations, .qa-pending {
    padding: .875rem 1rem; background: var(--panel); border-radius: var(--r-l);
}
.prose > .what-law, .prose > .translations, .prose > .qa-pending { margin-top: 1.5rem; }
.what-law h2, .translations h2, .qa-pending h2 { font-size: var(--fs-m); }
.what-law ul, .translations ul, .qa-pending ul { margin-top: .375rem; padding-left: 1.25rem; }
.what-law li + li, .translations li + li, .qa-pending li + li { margin-top: .25rem; }
.qa-pending { background: var(--amber-bg); }
.lang-tag {
    margin-left: .3rem; padding: 0 .35rem; border: 1px solid var(--line-strong); border-radius: var(--r-s);
    color: var(--muted); font-size: var(--fs-xs); text-transform: uppercase;
}
.qa-answer { display: flex; flex-direction: column; gap: .75rem; }
.qa-answer ul { padding-left: 1.25rem; }
.qa-answer li + li { margin-top: .25rem; }
.qa-watermark { padding-top: .75rem; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-s); }

.qa-index { display: grid; gap: 1.25rem; }
.qa-topic h2 { margin-bottom: .5rem; font-size: var(--fs-m); }
.qa-list {
    margin: 0; padding: 0; list-style: none; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
}
.qa-list li { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; padding: .625rem 1rem; }
.qa-list li + li { border-top: 1px solid var(--line); }
.qa-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.qa-list a:hover { color: var(--accent); text-decoration: underline; }


.easy-prompt {
    display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
    padding: .75rem; background: var(--panel); border-radius: var(--r-l);
}
.easy-prompt pre {
    align-self: stretch; padding: .75rem .875rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m);
    font-size: var(--fs-s); line-height: 1.5; white-space: pre-wrap; word-break: break-word;
}
.copy-button {
    display: inline-flex; align-items: center; justify-content: center; min-height: var(--ctl); padding: 0 1rem;
    border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent);
    font-size: var(--fs-s); font-weight: 600; cursor: pointer;
}
.copy-button:hover { background: var(--accent-hover); }

.steps { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-left: 2.25rem; }
.steps li::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: .05rem;
    display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%;
    background: var(--tint); color: var(--accent); font-size: var(--fs-s); font-weight: 700;
}

.mcp-manual { padding: .25rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.mcp-manual > summary {
    display: flex; align-items: center; gap: .6rem; min-height: var(--ctl-l);
    font-weight: 600; cursor: pointer; list-style: none;
}
.mcp-manual > summary::-webkit-details-marker { display: none; }
.mcp-manual > summary::before {
    content: ""; flex: none; width: .45rem; height: .45rem;
    border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg); transition: transform .15s ease;
}
.mcp-manual[open] > summary::before { transform: rotate(45deg); }
.mcp-manual > summary:hover { color: var(--accent); }
.mcp-manual[open] { padding-bottom: 1rem; }
.mcp-manual > * + * { margin-top: .625rem; }
.connect-cards { display: grid; gap: .375rem; padding: 0; list-style: none; }
.connect-cards li { padding: .5rem .75rem; background: var(--panel); border-radius: var(--r-m); font-size: var(--fs-s); }
.checked-note { color: var(--muted); font-size: var(--fs-s); }
.mcp-limits { padding: .75rem 1rem; background: var(--panel); border-left: 3px solid var(--accent); border-radius: var(--r-s); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.flow li { display: flex; align-items: center; gap: .5rem; }
.flow li + li::before { content: "→"; color: var(--muted); }
.flow-step { padding: .3rem .75rem; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--surface); font-size: var(--fs-s); font-weight: 600; }
.flow-step.is-base { border-color: var(--accent); }
.mcp-manual > summary h2 { font-size: var(--fs-m); }
.ai-profile .ai-item { color: var(--muted); }


.services-grid { display: grid; gap: .75rem; }
.service-card {
    display: flex; flex-direction: column; gap: .375rem; padding: .875rem 1rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
}
.service-card h2 { font-size: var(--fs-m); line-height: 1.35; }
.service-card p { color: var(--muted); font-size: var(--fs-s); }
.service-card form { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .375rem; }
.service-card .cta-button { flex: 0 1 auto; min-height: var(--ctl); padding: .25rem 1rem; font-size: var(--fs-s); }

.field,
.service-card input[type="text"],
.waitlist-form input[type="text"],
.add-service textarea, .add-service input[type="text"],
.need-form textarea, .need-form input[type="text"] {
    width: 100%; padding: .35rem .6rem;
    border: 1px solid var(--line-strong); border-radius: var(--r-s);
    background: var(--surface); color: var(--ink); line-height: 1.4;
}
.service-card input[type="text"] { flex: 1 1 10rem; width: auto; min-width: 0; }
.add-service textarea, .need-form textarea { min-height: 4.5rem; }

.honest-screen {
    display: flex; flex-direction: column; gap: .625rem; padding: 1rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
}
.honest-lead { color: var(--muted); }
.waitlist-form, .add-service form { display: grid; gap: .5rem; max-width: 32rem; }
.waitlist-form label, .add-service label, .modal label { display: grid; gap: .2rem; color: var(--muted); font-size: var(--fs-s); }
.waitlist-form .cta-button, .add-service .cta-button { justify-self: start; }
.waitlist-why { color: var(--muted); font-size: var(--fs-s); }
.prose > .add-service { margin-top: 2rem; }
.add-service > * + * { margin-top: .5rem; }
.service-thanks { font-weight: 600; }

.need-form { display: grid; gap: .375rem; max-width: 32rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.need-label { font-weight: 600; color: var(--ink); }
.need-contact { margin-top: .25rem; color: var(--muted); font-size: var(--fs-s); }
.need-note { color: var(--muted); font-size: var(--fs-s); }
.need-form .cta-button { justify-self: start; margin-top: .25rem; }


.modal-overlay {
    position: fixed; inset: 0; z-index: 100; padding: 1rem;
    align-items: center; justify-content: center; background: var(--overlay);
}
.modal-overlay:not([hidden]) { display: flex; }
.modal {
    position: relative; width: 100%; max-width: 28rem; max-height: calc(100vh - 2rem); overflow-y: auto;
    padding: 1.125rem 1.25rem 1rem;
    background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-l);
    box-shadow: 0 12px 40px rgba(20, 12, 6, .3);
}
.modal-title { padding-right: 2rem; font-size: var(--fs-l); }
.modal p { margin-top: .375rem; color: var(--muted); }
.modal .need-form { margin-top: .75rem; }
.modal .need-note { margin-top: 0; }
.modal-more { font-size: var(--fs-s); }
.modal-close {
    position: absolute; top: .5rem; right: .5rem;
    display: grid; place-items: center; width: var(--ctl); height: var(--ctl);
    padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer;
}
.modal-close:hover { background: var(--panel); color: var(--ink); }
.modal-close .ic { width: 1.25rem; height: 1.25rem; }


.cta-slot { padding-bottom: 2rem; }
.cta-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--panel); }
.cta-free { display: flex; flex-direction: column; gap: .75rem; padding: 1rem; }
.cta-line { display: flex; align-items: center; gap: .5rem; color: var(--sage-ink); font-size: var(--fs-s); font-weight: 600; }
.cta-buttons { display: flex; flex-direction: column; align-items: stretch; gap: .5rem; }
.cta-boundary {
    display: flex; align-items: flex-start; gap: .5rem; padding: .875rem 1rem .5rem;
    border-top: 2px dashed var(--line-strong); background: var(--paid);
    color: var(--muted); font-size: var(--fs-s); font-weight: 600;
}
.cta-boundary .ic { margin-top: .1rem; }
.cta-auth { display: flex; flex-direction: column; gap: .75rem; padding: 0 1rem 1rem; background: var(--paid); }
.cta-auth-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.cta-auth-title { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: var(--fs-l); }
.offers { display: grid; gap: .625rem; margin: 0; padding: 0; list-style: none; }
.offer {
    display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); grid-template-areas: "icon text" "icon action";
    align-content: start; gap: .625rem .875rem; padding: .875rem 1rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow);
}
.offer-icon {
    grid-area: icon; display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
    border-radius: var(--r-m); background: var(--tint); color: var(--accent);
}
.offer-icon .ic { width: 1.375rem; height: 1.375rem; }
.offer-text { grid-area: text; display: flex; flex-direction: column; gap: .125rem; }
.offer-text p { color: var(--muted); font-size: var(--fs-s); }
.offer .soon-form { grid-area: action; justify-self: start; }
.cta-button.is-offer { background: var(--sell-bg); color: var(--sell-ink); box-shadow: inset 0 0 0 1px var(--sell-ring); }
.cta-button.is-offer:hover { background: var(--sell-hover-bg); color: var(--sell-ink); }


.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-s); }
.footer-inner { display: grid; gap: .375rem; padding-top: 1.25rem; padding-bottom: 1.5rem; }
.footer-anon { display: flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 600; }
.footer-anon .ic { color: var(--sage-ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: var(--ctl); color: var(--ink); }
.footer-links a:hover { color: var(--accent); }
.footer-side { display: grid; gap: .125rem; }


@media (max-width: 39.99rem) {
    .cta-slot .wrap { padding: 0; }
    .cta-card { border-width: 1px 0; border-radius: 0; }
}

@media (min-width: 40rem) {
    :root { --gutter: 1.5rem; }
    .hero-actions, .cta-buttons { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
    .soon-form .cta-button { flex: 0 1 auto; }
    .news-carousel-track { grid-auto-columns: minmax(16rem, 46%); }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 48rem) {
    .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .anchors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .anchor { grid-template-columns: minmax(0, 1fr); align-content: start; }
    .anchor-icon { grid-row: auto; margin-bottom: .25rem; }
    .teasers, .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .anonymity-block { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); column-gap: 2rem; align-items: start; }
    .anonymity-headline { grid-row: span 2; }
}

@media (min-width: 60rem) {
    .site-main { padding-top: 2rem; padding-bottom: 3.5rem; }
    .hero-title { line-height: 1.25; }
    .section { margin-top: 3rem; }
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        grid-template-rows: auto auto auto 1fr;
        grid-template-areas: "title example" "actions example" "goal example" "privacy example";
        column-gap: 3rem; row-gap: 1.125rem; align-items: start;
    }
    .hero-example { padding: 1rem 1.125rem 1.125rem; gap: .625rem; }
    .hero-safe { display: none; }
    .hero-privacy { margin-top: -.875rem; }
    .news-carousel-track {
        grid-auto-flow: row; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); grid-auto-columns: auto;
        margin: 0; padding: 0; overflow: visible; scroll-snap-type: none;
    }
    .news-carousel-item:first-child { grid-row: span 2; }
    .news-carousel-item:first-child .card-title { font-size: var(--fs-l); }
    .news-carousel-item:first-child .card-text { -webkit-line-clamp: 10; line-clamp: 10; }
    .news-carousel-item:not(:first-child) .card-text { -webkit-line-clamp: 2; line-clamp: 2; }
    .feed-layout { grid-template-columns: 16rem minmax(0, 1fr); gap: 2rem; align-items: start; }
    .feed-filters { position: sticky; top: 1rem; flex-direction: column; align-items: stretch; }
    .feed-filters fieldset, .filter-field { flex: none; }
    .feed-filters .btn-secondary { align-self: flex-start; }
    .qa-index { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .cta-free { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1.125rem 1.5rem; }
    .cta-boundary { padding: 1rem 1.5rem .5rem; }
    .cta-auth { padding: 0 1.5rem 1.25rem; }
    .footer-inner { grid-template-columns: minmax(0, 1fr) auto; column-gap: 3rem; align-items: start; }
    .footer-side { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
}

@media (min-width: 64rem) {
    .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 70rem) {
    .header-inner { min-height: 3.5rem; gap: 1rem; }
    .site-nav, .header-inner > .lang-switch { display: flex; }
    .nav-menu, .nav-cta-phone { display: none; }
    .header-inner > .theme-toggle { display: inline-grid; }
    .site-nav ul { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
