@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('fonts/space-grotesk-latin.woff2') format('woff2');
}

:root {
    --ink: #0f1424;
    --ink-2: #1a2140;
    --ink-3: #262f57;
    --paper: #ffffff;
    --mist: #f4f5f9;
    --line: #e3e5ee;
    --muted: #5b6278;
    --soft: #9aa3c7;
    --accent: #5b3fd6;
    --accent-dark: #4630b0;
    --accent-soft: #eeeafd;
    --cloud: #0ea5e9;
    --success: #1d7a4f;
    --danger: #b42318;
    --radius: 16px;
    --heading: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
    --body: 'Inter', 'Segoe UI', Arial, sans-serif;
    --container: 72rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--heading);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

img, svg { max-width: 100%; }

:focus-visible {
    outline: 3px solid var(--cloud);
    outline-offset: 2px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0.5rem;
    background: var(--paper);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    z-index: 100;
}

.skip-link:focus { left: 1rem; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.eyebrow {
    display: inline-block;
    font-family: var(--heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.9rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 44rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn svg { width: 1.1rem; height: 1.1rem; }
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--accent); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

.btn-small { padding: 0.45rem 1rem; font-size: 0.9rem; }

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 4.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--ink);
}

.brand__mark { width: 2.3rem; height: 2.3rem; flex: none; }

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }

.brand__name {
    font-family: var(--heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.12em;
}

.brand__tag {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-left: auto;
}

.site-nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.site-nav a:hover, .site-nav a.active { color: var(--accent); }

.site-actions { display: flex; align-items: center; gap: 1rem; }

.language-switch { display: inline-flex; gap: 0.15rem; font-size: 0.8rem; font-weight: 600; }

.language-switch a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
}

.language-switch a.is-active { color: var(--ink); background: var(--mist); }

.nav-toggle {
    display: none;
    margin-left: auto;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.45rem 0.6rem;
    cursor: pointer;
    color: var(--ink);
}

.nav-toggle svg { width: 1.4rem; height: 1.4rem; display: block; }

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(1200px 500px at 85% -10%, rgba(91, 63, 214, 0.45), transparent 60%),
                radial-gradient(900px 500px at 10% 120%, rgba(14, 165, 233, 0.25), transparent 60%),
                var(--ink);
    color: #fff;
    padding: 5.5rem 0 5rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero .eyebrow { color: #b9a9ff; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #b9a9ff, #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #c6cbe2; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.hero__note { margin-top: 1.5rem; color: var(--soft); font-size: 0.9rem; }

.pipeline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 1.75rem;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}

.pipeline__step {
    display: grid;
    grid-template-columns: 2.6rem 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 0.85rem 0;
    position: relative;
}

.pipeline__step + .pipeline__step::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: -0.85rem;
    height: 1.7rem;
    border-left: 2px dashed rgba(185, 169, 255, 0.45);
}

.pipeline__icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(91, 63, 214, 0.35);
    color: #e3dcff;
}

.pipeline__step:last-child .pipeline__icon { background: rgba(14, 165, 233, 0.35); color: #d6f1ff; }

.pipeline__icon svg { width: 1.3rem; height: 1.3rem; }

.pipeline__title { font-family: var(--heading); font-weight: 600; color: #fff; display: block; }
.pipeline__text { font-size: 0.85rem; color: var(--soft); }

/* Sections */

.section { padding: 5.5rem 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .lead, .section--dark p { color: #c6cbe2; }
.section--dark .eyebrow { color: #b9a9ff; }

.section-heading { max-width: 46rem; margin-bottom: 3rem; }
.section-heading--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading--center .lead { margin-left: auto; margin-right: auto; }

.page-hero {
    background: var(--mist);
    border-bottom: 1px solid var(--line);
    padding: 4rem 0 3.5rem;
}

.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }

.breadcrumb { font-size: 0.9rem; margin-bottom: 1rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* Cards */

.card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

a.card { color: inherit; text-decoration: none; }
a.card:hover { border-color: #c9c1f3; box-shadow: 0 20px 40px -28px rgba(15, 20, 36, 0.35); transform: translateY(-2px); }

.card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.card__icon svg { width: 1.5rem; height: 1.5rem; }
.card p { color: var(--muted); }
.card__more { margin-top: auto; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 0.35rem; }
.card__more svg { width: 1rem; height: 1rem; }

/* Steps */

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.card-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; }
.card-grid--5 .card { padding: 1.4rem; }

.steps li {
    counter-increment: step;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 8px;
    padding: 0.2rem 0.5rem;
    display: inline-block;
    margin-bottom: 0.9rem;
}

.steps li p { color: var(--muted); margin: 0; }

.timeline { list-style: none; padding: 0; margin: 0; counter-reset: step; }

.timeline li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 1.25rem;
    padding-bottom: 2.25rem;
    position: relative;
}

.timeline li::before {
    content: counter(step);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--cloud));
}

.timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 1.75rem;
    top: 3.75rem;
    bottom: 0.25rem;
    border-left: 2px dashed var(--line);
}

.timeline p { color: var(--muted); }

/* Lists and chips */

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.75rem; }
.checklist li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.6rem; }
.checklist svg { width: 1.3rem; height: 1.3rem; color: var(--success); margin-top: 0.2rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }

.chips li {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--mist);
    border: 1px solid var(--line);
}

.section--dark .chips li { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: #e6e8f5; }

.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: start; }

.aside-card {
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    position: sticky;
    top: 6rem;
}

/* Entities */

.entity {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    background: var(--paper);
}

.section--dark .entity { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.entity__country { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.section--dark .entity__country { color: #b9a9ff; }
.entity h3 { margin-top: 0.35rem; }
.entity__line { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; margin-bottom: 0.4rem; }
.entity__line svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.3rem; color: var(--soft); }

/* CTA */

.cta {
    border-radius: 24px;
    padding: 3rem;
    background: linear-gradient(120deg, var(--accent) 0%, #3b2aa8 55%, #0b6fa3 100%);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cta h2 { color: #fff; margin-bottom: 0.35rem; }
.cta p { color: #e3defd; margin: 0; max-width: 38rem; }

/* Forms */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }

.field label, .field legend { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.4rem; }
.field .optional { color: var(--muted); font-weight: 400; }

.field input, .field select, .field textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    padding: 0.75rem 0.9rem;
    border: 1px solid #cfd3e1;
    border-radius: 10px;
    background: #fff;
}

.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91, 63, 214, 0.15); }

.field fieldset { border: 0; padding: 0; margin: 0; }

.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.choice {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #cfd3e1;
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    cursor: pointer;
    font-weight: 500;
}

.choice input { width: auto; accent-color: var(--accent); }

.consent { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.field .consent { display: grid; font-weight: 400; font-size: 0.9rem; margin: 0; }
.field .consent input { width: auto; margin-top: 0.3rem; accent-color: var(--accent); }
.field .choice { display: inline-flex; font-weight: 500; margin: 0; }

.validation-message { color: var(--danger); font-size: 0.85rem; margin-top: 0.3rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.alert-success { background: #e8f5ee; color: var(--success); border: 1px solid #bfe3cf; }
.alert-danger { background: #fdecea; color: var(--danger); border: 1px solid #f5c2bd; }

.success-panel {
    border: 1px solid #bfe3cf;
    background: #f3fbf6;
    border-radius: var(--radius);
    padding: 2.5rem;
}

.success-panel svg { width: 2.5rem; height: 2.5rem; color: var(--success); }

/* Legal */

.prose { max-width: 48rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose h3 { margin-top: 1.5rem; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.25rem; }
.prose dt { color: var(--muted); }
.prose dd { margin: 0; }

/* Admin */

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { color: var(--muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-table .message { white-space: pre-line; max-width: 34rem; }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.badge--done { background: #e8f5ee; color: var(--success); }

.narrow { max-width: 26rem; margin: 0 auto; }

/* Footer */

.site-footer { background: var(--ink); color: #c6cbe2; padding: 4rem 0 2rem; }
.site-footer a { color: #e6e8f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer__title { font-family: var(--heading); color: #fff; font-weight: 600; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; font-size: 0.95rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand__tag { color: var(--soft); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.85rem; color: var(--soft); }

/* Responsive */

@media (max-width: 1100px) {
    .card-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero__grid, .split { grid-template-columns: 1fr; }
    .aside-card { position: static; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }

    .site-header__inner { flex-wrap: wrap; }

    .site-nav, .site-actions { display: none; width: 100%; }

    .site-header.is-open .site-nav,
    .site-header.is-open .site-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        margin: 0;
        padding-bottom: 1.25rem;
    }

    .section { padding: 4rem 0; }
    .hero { padding: 3.5rem 0; }
    .form-grid { grid-template-columns: 1fr; }
    .steps, .card-grid--5 { grid-template-columns: 1fr; }
    .cta { padding: 2rem; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .timeline li { grid-template-columns: 2.75rem 1fr; gap: 1rem; }
    .timeline li::before { width: 2.75rem; height: 2.75rem; font-size: 1rem; }
    .timeline li:not(:last-child)::after { left: 1.375rem; top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, a.card { transition: none; }
    .btn:hover, a.card:hover { transform: none; }
}

/* Admin statistics */

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 2rem;
}

.admin-tabs a, .admin-tabs button {
    padding: 0.7rem 1rem;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    font: inherit;
    cursor: pointer;
    margin-bottom: -1px;
}

.admin-tabs a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.admin-tabs form { margin-left: auto; }

.stats-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }

.period-switch { display: inline-flex; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem; }
.period-switch a { padding: 0.35rem 0.9rem; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.period-switch a.is-active { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 20, 36, 0.12); }

.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; display: flex; flex-direction: column; }
.stat-tile__label { font-size: 0.82rem; color: var(--muted); }
.stat-tile__value { font-family: var(--heading); font-size: 2rem; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }

.stats-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.stats-card__title { font-size: 1.2rem; margin-bottom: 1rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 1.5rem; }
.stats-note { font-size: 0.82rem; color: var(--muted); margin: 0.75rem 0 0; }

.day-chart { position: relative; padding-left: 2.5rem; }
.day-chart__max { position: absolute; left: 0; top: -0.55rem; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.day-chart__plot { height: 180px; display: flex; align-items: flex-end; gap: 2px; border-top: 1px dashed var(--line); border-bottom: 1px solid var(--line); }
.day-chart__slot { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; }
.day-chart__bar { width: 100%; max-width: 28px; margin: 0 auto; background: var(--accent); border-radius: 4px 4px 0 0; }
.day-chart__slot:hover .day-chart__bar { background: var(--accent-dark); }

.day-chart__slot:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: var(--ink);
    color: #fff;
    font-size: 0.78rem;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    pointer-events: none;
    z-index: 2;
}

.day-chart__axis { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-top: 0.35rem; }

.visits-map { height: 380px; border-radius: 12px; background: var(--accent-soft); z-index: 0; }

.ranked-table { width: 100%; font-size: 0.9rem; border-collapse: collapse; }
.ranked-table th { font-weight: 500; font-size: 0.78rem; color: var(--muted); padding-bottom: 0.4rem; text-align: left; }
.ranked-table td { padding: 0.3rem 0; vertical-align: top; }
.ranked-table .num { text-align: right; width: 4.5rem; font-variant-numeric: tabular-nums; }
.ranked-table__label { display: block; overflow-wrap: anywhere; }
.ranked-table__bar { display: block; height: 4px; border-radius: 2px; background: var(--accent); opacity: 0.55; margin-top: 0.25rem; }
.ranked-table__muted { color: var(--muted); }

.journey-pages { font-size: 0.85rem; color: var(--muted); min-width: 16rem; }

.hero--compact { padding: 4.5rem 0 4rem; }
.hero--compact .lead { max-width: 46rem; }

.narrow-wide { max-width: 52rem; }

.faq { display: grid; gap: 0.75rem; }

.faq details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    padding: 0 1.25rem;
}

.faq summary {
    cursor: pointer;
    font-family: var(--heading);
    font-weight: 600;
    padding: 1rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

.chips a { color: inherit; text-decoration: none; }
.chips a:hover { color: var(--accent); }
