@font-face {
    font-family: "Figtree";
    src: url("/media/figtree-latin-variable.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #202428;
    --ink-soft: #3c4249;
    --muted: #5f666e;
    --line: #e4e2dc;
    --bg: #f6f5f2;
    --surface: #fff;
    --tint: #f1f0ec;
    --accent: #c2410c;
    --accent-dark: #9a3412;
    --accent-soft: #fff0e6;
    --accent-line: #f2b48f;
    --ok: #2f9e63;
    --radius: 18px;
    --wrap: 1120px;
    --gutter: clamp(16px, 4vw, 32px);
    --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --shadow-bar: 0 1px 2px rgb(32 36 40 / .05), 0 10px 28px -14px rgb(32 36 40 / .18);
    --shadow-pop: 0 2px 4px rgb(32 36 40 / .05), 0 24px 56px -20px rgb(32 36 40 / .28);
    color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
sup { font-size: .7em; line-height: 0; }

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

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink); color: #fff;
    border-radius: 10px;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Boutons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, transform .15s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #383e45; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-light { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: #c9c6be; }
.btn-lg { padding: 14px 26px; font-size: 1.0625rem; border-radius: 14px; }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 12px;
    z-index: 50;
    width: min(100% - 2 * var(--gutter), var(--wrap));
    margin: 12px auto 0;
}

.nav-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 72px;
    padding: 8px 14px 8px 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-bar);
}

.brand { display: block; flex: none; line-height: 0; }
/* Le mot-symbole est plus lourd vers le bas (hampes en haut seulement) : on remonte l'image pour centrer optiquement les minuscules. */
.brand img { height: 34px; width: auto; transform: translateY(-2px); }

.main-nav { margin-left: 28px; }
.main-nav ul { display: flex; gap: 2px; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 13px;
    border: 0;
    border-radius: 10px;
    background: none;
    font: inherit;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}
.nav-link:hover,
.nav-link[aria-expanded="true"] { background: var(--tint); color: var(--ink); }
.nav-link[aria-current] { color: var(--ink); font-weight: 600; }
.nav-link .icon { transition: transform .2s; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.link-login {
    padding: 8px 12px;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--ink);
    text-underline-offset: 4px;
}
.link-login:hover { text-decoration-thickness: 2px; }

/* Sélecteur de langue */
.lang { position: relative; }
.lang summary {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    list-style: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--tint); color: var(--ink); }
.lang-list {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 5;
    min-width: 168px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-pop);
}
.lang-list a, .lang-list span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: .9375rem;
    text-decoration: none;
}
.lang-list a:hover { background: var(--tint); }
.lang-list a[aria-current] { font-weight: 600; }
.lang-list span[aria-disabled] { color: #8b9198; cursor: not-allowed; }
.lang-list small { font-size: .75rem; align-self: center; }

.burger {
    display: none;
    place-items: center;
    width: 44px; height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: none;
    color: var(--ink);
    cursor: pointer;
}
.burger:hover { background: var(--tint); }
.burger-close, .burger[aria-expanded="true"] .burger-open { display: none; }
.burger[aria-expanded="true"] .burger-close { display: block; }

/* ---------- Mega menu ---------- */

.mega {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: calc(100% + 8px);
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-pop);
}
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }

@media (min-width: 1000px) {
    .mega:not([hidden]) { display: block; animation: mega-in .18s ease-out; }
}
@keyframes mega-in {
    from { opacity: 0; transform: translateY(-6px); }
}

.mega-main { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.mega-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 372px;
    padding: 22px 22px 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    text-decoration: none;
    transition: border-color .15s, box-shadow .2s;
}
.mega-card:hover { border-color: #cbc8bf; box-shadow: 0 10px 28px -16px rgb(32 36 40 / .35); }

.mega-icon {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
}
.mega-title { font-size: 1.0625rem; font-weight: 650; line-height: 1.3; }
.mega-desc { margin-top: 8px; max-width: 24ch; font-size: .875rem; line-height: 1.5; color: var(--muted); }

.mega-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    padding: 4px 6px 0;
}
.mega-secondary { display: flex; flex-wrap: wrap; gap: 2px; }
.mega-secondary a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: .875rem;
    color: var(--muted);
    text-decoration: none;
}
.mega-secondary a:hover { background: var(--tint); color: var(--ink); }
.mega-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
}
.mega-all .icon { transition: transform .2s; }
.mega-all:hover .icon { transform: translateX(3px); }

/* Illustrations (maquettes d'interface) */
.art {
    position: absolute;
    left: 22px; right: -40px; bottom: -34px;
    height: 184px;
    font-size: 11px;
    line-height: 1.3;
    color: var(--ink);
    pointer-events: none;
}
.art-sheet {
    position: absolute;
    inset: 0;
    padding: 12px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 20px -12px rgb(32 36 40 / .35);
}
.art-sheet-back { padding: 0; background: #f0efea; box-shadow: none; transform: translate(16px, -16px); }
.art-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; }
.art ul { margin: 0; }

.art-chips { display: flex; gap: 6px; margin-bottom: 8px; }
.art-chips i {
    display: grid; place-items: center;
    width: 28px; height: 24px;
    font-style: normal;
    border: 1px solid var(--line);
    border-radius: 7px;
}
.art-chips i.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.art-rows li {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 5px; padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.art-rows em, .art-lines em { margin-left: auto; font-style: normal; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.dot.wait { background: #e8a317; }

.art-menu .art-sheet:not(.art-sheet-back) { padding: 0; }
.art-menu img { width: 100%; height: 58px; object-fit: cover; }
.art-menu .art-head { margin: 8px 12px 2px; }
.art-lines li { display: flex; padding: 3px 12px; }
.art-lines em { font-weight: 600; color: var(--ink); }
.art-qr {
    position: absolute; right: 12px; bottom: 14px;
    width: 40px; height: 40px; padding: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
}
.art-qr span {
    display: block; width: 100%; height: 100%;
    background:
        linear-gradient(var(--ink) 0 0) 0 0 / 10px 10px no-repeat,
        linear-gradient(var(--ink) 0 0) 100% 0 / 10px 10px no-repeat,
        linear-gradient(var(--ink) 0 0) 0 100% / 10px 10px no-repeat,
        repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 6px 6px;
}

.art-browser { padding: 0; }
.art-bar { display: flex; align-items: center; gap: 4px; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.art-bar i { width: 6px; height: 6px; border-radius: 50%; background: #d8d5cd; }
.art-bar span { flex: 1; margin-left: 8px; padding: 2px 8px; background: var(--tint); border-radius: 6px; color: var(--muted); }
.art-hero { position: relative; height: calc(100% - 28px); }
.art-hero img { width: 100%; height: 100%; object-fit: cover; }
.art-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgb(0 0 0 / .55)); }
.art-hero b { position: absolute; left: 12px; bottom: 34px; z-index: 1; color: #fff; font-size: 15px; }
.art-badge {
    position: absolute; left: -10px;
    display: grid; place-items: center;
    width: 32px; height: 32px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 15px; font-weight: 700;
    box-shadow: 0 4px 10px -4px rgb(32 36 40 / .45);
}
.art-badge-g { top: 56px; background: #fff; color: #4285f4; }
.art-badge-i { top: 96px; background: linear-gradient(45deg, #f9a03f, #e1306c 60%, #833ab4); color: #fff; }

.art-score { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.art-score b { font-size: 26px; line-height: 1; }
.stars { color: #e8a317; letter-spacing: 1px; font-size: 13px; }
.art-score em { font-style: normal; color: var(--muted); }
.art-review { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.art-review p { font-size: 11px; }
.av { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; }
.av2 { background: #e8eef6; color: #35507a; }

/* ---------- Menu mobile ---------- */

.mobile-menu {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: calc(100% + 8px);
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-pop);
}
.mobile-link,
.mobile-features summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 14px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
}
.mobile-features summary::-webkit-details-marker { display: none; }
.mobile-features[open] summary .icon { transform: rotate(180deg); }
.mobile-link:hover, .mobile-features summary:hover { background: var(--tint); }
.mobile-link[aria-current] { background: var(--tint); }
.mobile-features ul { display: grid; gap: 2px; padding: 0 6px 10px; }
.mobile-features li a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink-soft);
}
.mobile-features li a:hover { background: var(--tint); color: var(--ink); }
.mobile-actions { display: grid; gap: 8px; margin-top: 8px; padding: 14px 4px 4px; border-top: 1px solid var(--line); }
.mobile-actions .btn { padding: 14px 18px; font-size: 1rem; }

@media (max-width: 999px) {
    .brand img { height: 30px; }
    .main-nav, .lang, .link-login, .mega { display: none !important; }
    .burger { display: grid; }
    .nav-bar { padding-left: 18px; }
    .mobile-menu:not([hidden]) { display: block; }
}
@media (max-width: 639px) {
    .nav-actions > .btn { display: none; }
}

/* ---------- Contenu ---------- */

main { padding-bottom: 8px; }

.pricing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(48px, 8vw, 88px) var(--gutter) 40px;
    text-align: center;
}
h1 {
    max-width: 17ch;
    font-size: clamp(2.125rem, 1.3rem + 3.4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.028em;
    text-wrap: balance;
}
.lead {
    max-width: 58ch;
    margin-top: 18px;
    font-size: clamp(1rem, .95rem + .3vw, 1.1875rem);
    color: var(--muted);
    text-wrap: pretty;
}

.billing-toggle { margin-top: 32px; }
.billing-toggle fieldset {
    display: inline-flex;
    gap: 2px;
    min-width: 0;
    margin: 0;
    padding: 4px;
    background: #e9e7e1;
    border: 0;
    border-radius: 999px;
}
.billing-toggle label {
    padding: 9px 20px;
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: background-color .15s, color .15s;
}
.billing-toggle label:hover { color: var(--ink); }
.billing-toggle input:checked + label { background: var(--ink); color: #fff; box-shadow: 0 2px 6px rgb(32 36 40 / .25); }
.billing-toggle input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.saving-pill {
    justify-content: center;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 6px 14px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--accent-dark);
}

.billing-scope:has(#billing-monthly:checked) .yearly-only,
.billing-scope:not(:has(#billing-monthly:checked)) .monthly-only { display: none; }

.plans, .compare, .faq { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; padding-top: 14px; }

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 28px 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
}
.plan-popular { border: 2px solid var(--accent); padding: 29px 27px 31px; box-shadow: 0 24px 48px -28px rgb(194 65 12 / .55); }
.plan-flag {
    position: absolute;
    top: -14px; left: 24px;
    padding: 4px 14px;
    background: var(--accent);
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 600;
    color: #fff;
}
.plan h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; }
.plan-tagline { min-height: 3.1em; margin-top: 6px; color: var(--muted); text-wrap: balance; }

.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; font-variant-numeric: tabular-nums; }
.currency { align-self: flex-start; margin-top: .55em; font-size: 1rem; font-weight: 600; color: var(--muted); }
.amount { font-size: 3.5rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; animation: price-in .25s ease-out; }
.per { color: var(--muted); }
@keyframes price-in { from { opacity: 0; transform: translateY(4px); } }

.plan-billing { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.plan-saving { min-height: 1.5em; margin-top: 2px; font-size: .875rem; font-weight: 600; color: var(--accent-dark); }
.plan-saving-upsell { font-weight: 500; color: var(--muted); }

.plan .btn { margin-top: 22px; width: 100%; padding: 13px 18px; }

.plan-includes { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 600; }
.plan-features { display: grid; gap: 12px; margin-top: 16px; }
.plan-features li { display: flex; gap: 10px; font-size: .9375rem; line-height: 1.45; }
.plan-features .icon { flex: none; margin-top: 1px; color: var(--accent); stroke-width: 2.25; }

.plans-note.plans-note-tax { margin-top: 4px; }
.plans-note { margin-top: 20px; font-size: .8125rem; text-align: center; color: var(--muted); }

/* Comparatif */
.compare { margin-top: clamp(64px, 9vw, 104px); }
h2 { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.compare h2 { margin-bottom: 28px; text-align: center; }

.table-wrap { position: relative; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.table-wrap:focus-visible { outline-offset: 3px; border-radius: 22px; }
table { width: 100%; min-width: 680px; table-layout: fixed; border-collapse: collapse; }
th, td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: center; font-size: .9375rem; }
tbody:last-child tr:last-child > * { border-bottom: 0; }
thead th { padding-block: 20px; font-size: 1rem; font-weight: 700; }
tbody th[scope="row"] { font-weight: 400; text-align: left; }
thead th:first-child { width: 40%; }
.group-row th { padding-block: 12px; background: #faf9f6; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: left; color: var(--muted); }
.col-popular { background: #fff8f3; }
.group-row .col-popular { background: #faf9f6; }
.cell-yes { display: inline-flex; color: var(--accent); }
.cell-yes .icon { stroke-width: 2.25; }
.cell-no { color: #b8b4aa; }
td { color: var(--ink-soft); }

/* FAQ */
.faq {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: clamp(24px, 5vw, 64px);
    margin-top: clamp(64px, 9vw, 104px);
}
.faq-intro p { margin-top: 12px; color: var(--muted); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq details + details { margin-top: 10px; }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); text-wrap: pretty; }

/* Appel final */
.closing {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100% - 2 * var(--gutter), var(--wrap));
    margin: clamp(64px, 9vw, 104px) auto 0;
    padding: clamp(40px, 7vw, 72px) var(--gutter);
    background: var(--ink);
    border-radius: 28px;
    color: #fff;
    text-align: center;
}
.closing p { margin-top: 12px; max-width: 46ch; color: #c9ced3; }
.closing .btn { margin-top: 28px; background: #fff; color: var(--ink); }
.closing .btn:hover { background: #ecebe6; }

.soon { display: flex; flex-direction: column; align-items: center; padding: clamp(72px, 14vw, 160px) var(--gutter); text-align: center; }
.soon .btn { margin-top: 28px; }

/* ---------- Pied de page ---------- */

.site-footer {
    width: min(100% - 2 * var(--gutter), var(--wrap));
    margin: clamp(40px, 6vw, 72px) auto var(--gutter);
    padding: clamp(28px, 4vw, 44px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
}
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 38px; width: auto; }
.footer-brand p { max-width: 34ch; margin-top: 16px; font-size: .9375rem; color: var(--muted); }
.footer-title { margin-bottom: 12px; font-size: .875rem; font-weight: 700; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { font-size: .9375rem; color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.swiss { display: inline-flex; align-items: center; gap: 8px; }
.swiss::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: linear-gradient(#fff, #fff) center / 8px 2px no-repeat, linear-gradient(#fff, #fff) center / 2px 8px no-repeat, #d52b1e; }

/* ---------- Responsive ---------- */

@media (max-width: 1099px) {
    .plan { padding-inline: 22px; }
    .plan-popular { padding-inline: 21px; }
    .amount { font-size: 3rem; }
}

@media (max-width: 899px) {
    .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 28px; }
    .plan-tagline { min-height: 0; }
    .faq { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Home ---------- */

.home-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: clamp(32px, 6vw, 72px);
    width: min(100% - 2 * var(--gutter), var(--wrap));
    margin-inline: auto;
    padding-block: clamp(40px, 7vw, 88px) 8px;
}
.home-hero h1 { max-width: 17ch; font-size: clamp(2.25rem, 1.3rem + 3.2vw, 3.625rem); text-align: left; }
.home-hero .lead { margin-top: 22px; max-width: 52ch; }

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .9375rem; color: var(--ink-soft); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--accent); stroke-width: 2.25; }

.home-hero-visual { position: relative; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-pop); }

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 14px 32px -14px rgb(32 36 40 / .4);
    font-size: .8125rem;
    line-height: 1.3;
}
.float-card b { display: block; font-weight: 650; }
.float-card small { display: block; font-size: .75rem; color: var(--muted); }
.fc-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-dark); }
.fc-closure { top: 9%; left: -6%; }
.fc-resa { right: -5%; top: 46%; }
.fc-avis { left: 6%; bottom: -5%; padding-left: 14px; }
.fc-avis .stars { font-size: 14px; }

.home-section {
    width: min(100% - 2 * var(--gutter), var(--wrap));
    margin: clamp(72px, 10vw, 128px) auto 0;
}
.section-head { max-width: 680px; margin: 0 auto clamp(24px, 4vw, 40px); text-align: center; }
.section-head p { margin-top: 12px; color: var(--muted); text-wrap: pretty; }

/* Douleur -> solution */
.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(28px, 6vw, 80px);
    padding-block: clamp(28px, 4vw, 48px);
}
.story-reverse .story-copy { order: 2; }
.pain {
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 3px solid var(--accent-line);
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--muted);
    text-wrap: pretty;
}
.pain span {
    display: block;
    margin-bottom: 4px;
    font-size: .75rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--accent-dark);
}
.story h3 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.story-text { margin-top: 14px; color: var(--ink-soft); text-wrap: pretty; }
.ticks { display: grid; gap: 11px; margin-top: 22px; }
.ticks li { display: flex; gap: 10px; line-height: 1.45; }
.ticks .icon { flex: none; margin-top: 2px; color: var(--accent); stroke-width: 2.25; }
.plan-tag {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 8px;
    background: var(--tint);
    border-radius: 999px;
    font-size: .75rem;
    font-style: normal;
    font-weight: 600;
    color: var(--ink-soft);
    white-space: nowrap;
}

.story-visual {
    --s: 1.35;
    position: relative;
    height: clamp(300px, 34vw, 380px);
    overflow: hidden;
    background: radial-gradient(120% 100% at 0% 0%, #fff 0%, var(--tint) 100%);
    border: 1px solid var(--line);
    border-radius: 28px;
}
.story-visual .art {
    left: 9%; right: auto; top: 14%; bottom: auto;
    width: 300px; height: 340px;
    transform: scale(var(--s));
    transform-origin: 0 0;
}

.art-field { margin-bottom: 8px; padding: 7px 9px; border: 1px solid var(--ink); border-radius: 8px; font-size: 12px; font-weight: 600; }
.art-status li { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; padding: 6px 8px; background: #f6faf7; border: 1px solid #d8eadf; border-radius: 8px; }
.art-status li::before { content: "✓"; display: grid; place-items: center; width: 14px; height: 14px; background: var(--ok); border-radius: 50%; color: #fff; font-size: 9px; font-weight: 700; }
.art-sms {
    position: absolute;
    right: 14px; bottom: 6px;
    width: 176px;
    padding: 10px 12px;
    background: var(--ink);
    border-radius: 12px 12px 4px 12px;
    color: #fff;
    box-shadow: 0 12px 24px -12px rgb(32 36 40 / .6);
}
.art-sms p { margin-bottom: 8px; }
.art-sms div { display: flex; gap: 6px; }
.art-sms span { flex: 1; padding: 4px 0; border: 1px solid rgb(255 255 255 / .35); border-radius: 6px; text-align: center; }
.art-sms span.ok { background: #fff; border-color: #fff; color: var(--ink); font-weight: 600; }

/* Etapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { padding: 28px 26px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.step-num { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px; background: var(--ink); border-radius: 50%; color: #fff; font-weight: 700; }
.steps h3 { font-size: 1.1875rem; font-weight: 700; }
.steps p { margin-top: 8px; color: var(--muted); text-wrap: pretty; }
.progress { margin-top: 18px; }
.progress span { display: block; height: 8px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.progress span::after { content: ""; display: block; width: var(--value); height: 100%; background: var(--accent); border-radius: 999px; }
.progress small { display: block; margin-top: 8px; font-size: .8125rem; font-weight: 600; color: var(--ink-soft); }

/* Tarifs (aperçu) */
.mini-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-plan { padding: 26px 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.mini-plan-popular { border: 2px solid var(--accent); padding: 25px 25px 27px; }
.mini-plan h3 { font-size: 1.25rem; font-weight: 700; }
.mini-tagline { min-height: 3em; margin-top: 4px; font-size: .9375rem; color: var(--muted); text-wrap: balance; }
.mini-price { margin-top: 18px; font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mini-price span { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.mini-price small { font-size: .9375rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.mini-note { margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.mini-link { margin-top: 24px; text-align: center; }

@media (max-width: 999px) {
    .fc-closure { left: -2%; }
    .fc-resa { right: -2%; }
}

@media (max-width: 899px) {
    .home-hero { grid-template-columns: 1fr; }
    .home-hero-visual { margin-inline: 12px; }
    .fc-closure { left: -12px; top: 6%; }
    .fc-resa { right: -12px; top: auto; bottom: 22%; }
    .fc-avis { display: none; }
    .story, .story-reverse { grid-template-columns: 1fr; }
    .story-reverse .story-copy { order: 0; }
    .story-visual { --s: 1.15; height: 300px; }
    .steps, .mini-plans { grid-template-columns: 1fr; }
    .mini-tagline { min-height: 0; }
}

@media (max-width: 480px) {
    .story-visual { --s: .95; height: 270px; }
    .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- Pages fonctionnalités ---------- */

.breadcrumb { margin-bottom: 22px; font-size: .875rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #b8b4aa; }
.breadcrumb a { text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.feature-hero h1 { max-width: 20ch; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.25rem); }
.feature-visual { height: clamp(320px, 36vw, 420px); }
.plan-included { display: flex; align-items: center; gap: 8px; margin-top: 24px; font-size: .9375rem; color: var(--ink-soft); }
.plan-included .icon { color: var(--accent); stroke-width: 2.25; }
.plan-included a { font-weight: 600; text-underline-offset: 3px; }

.pain-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain-cards li {
    padding: 24px 24px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent-line);
    border-radius: 18px;
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--ink-soft);
    text-wrap: pretty;
}

.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.solutions article { padding: 28px 28px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.solutions h3 { font-size: 1.1875rem; font-weight: 700; }
.solutions p { margin-top: 8px; color: var(--muted); text-wrap: pretty; }

.points-card { padding: clamp(28px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: 26px; }
.points-card h2 { margin-bottom: 24px; }
.ticks-cols { margin-top: 0; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.points-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.points-note a { font-weight: 600; color: var(--ink); text-underline-offset: 3px; }

.related-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-cards a {
    display: block;
    height: 100%;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    text-decoration: none;
    transition: border-color .15s, box-shadow .2s;
}
.related-cards a:hover { border-color: #cbc8bf; box-shadow: 0 10px 28px -16px rgb(32 36 40 / .35); }
.related-cards .mega-icon { margin-bottom: 14px; }
.related-cards h3 { font-size: 1.0625rem; font-weight: 650; }
.related-cards p { margin-top: 6px; font-size: .9375rem; color: var(--muted); }

.hub-section { margin-top: 0; }

/* Illustrations supplémentaires */
.art-mail { padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.art-mail b { display: block; font-size: 12px; }
.art-mail p { margin: 4px 0 8px; color: var(--muted); }
.art-btn { display: inline-block; padding: 4px 10px; background: var(--ink); border-radius: 6px; color: #fff; font-weight: 600; }
.art-meta { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); }
.art-full { padding: 1px 8px; background: var(--accent-soft); border-radius: 999px; color: var(--accent-dark); font-weight: 600; }
.art-label { margin-bottom: 6px; font-weight: 600; color: var(--muted); }
.art-freed { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 6px 8px; background: #f6faf7; border: 1px solid #d8eadf; border-radius: 8px; font-weight: 600; }
.art-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.art-tiles span { padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.art-tiles b { display: block; font-size: 18px; line-height: 1.1; color: var(--ink); }
.art-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding: 0 4px; }
.art-bars i { flex: 1; height: var(--h); background: var(--accent-line); border-radius: 4px 4px 0 0; }
.art-bars i:nth-child(6) { background: var(--accent); }

@media (max-width: 899px) {
    .feature-visual { height: 300px; }
    .pain-cards, .solutions, .related-cards { grid-template-columns: 1fr; }
    .ticks-cols { grid-template-columns: 1fr; }
    .hub-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .hub-main { grid-template-columns: 1fr; }
}

/* Carte large (statistiques & dashboard) et modules complémentaires */
.mega-wide {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    min-height: 112px;
    height: auto;
    margin-top: 12px;
    padding: 20px 22px;
}
.mega-wide .mega-icon { flex: none; margin-bottom: 0; }
.mega-wide-text { display: block; max-width: 44ch; }
.mega-wide .mega-desc { display: block; margin-top: 4px; max-width: none; }
.mega-wide .art { left: auto; right: 40px; bottom: -78px; width: 320px; height: 170px; }
.mega-wide .art-sheet-back { transform: translate(-14px, -12px); }

.module-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.module-cards a, .module-soon {
    display: block;
    height: 100%;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    text-decoration: none;
}
.module-cards a { transition: border-color .15s, box-shadow .2s; }
.module-cards a:hover { border-color: #cbc8bf; box-shadow: 0 10px 28px -16px rgb(32 36 40 / .35); }
.module-cards .mega-icon { margin-bottom: 14px; }
.module-cards h3 { font-size: 1.0625rem; font-weight: 650; }
.module-cards p { margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.module-soon .mega-icon { opacity: .7; }
.module-soon h3 { color: var(--ink-soft); }

.mega-foot { justify-content: flex-end; }

@media (max-width: 999px) {
    .module-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
    .hub-section .mega-wide { flex-direction: column; align-items: flex-start; min-height: 220px; }
    .hub-section .mega-wide .art { right: -30px; left: 22px; width: auto; bottom: -70px; }
}
@media (max-width: 560px) {
    .module-cards { grid-template-columns: 1fr; }
}

/* ---------- Info-bulles du comparatif ---------- */

.row-label { vertical-align: middle; }
.info-btn { display: none; }
.info-pop { margin-top: 6px; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.info-pop p, .info-pop dl { margin: 0; }
.info-pop a { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.info-pop dt { margin-top: 8px; font-weight: 700; color: var(--ink); }
.info-pop dt:first-child { margin-top: 0; }
.info-pop dd { margin: 0; }

@supports selector(:popover-open) {
    .js-info .info-btn {
        display: inline-grid;
        place-items: center;
        width: 22px; height: 22px;
        margin-left: 8px;
        padding: 0;
        vertical-align: middle;
        background: none;
        border: 0;
        border-radius: 50%;
        color: #8b9198;
        cursor: pointer;
        transition: color .15s, background-color .15s;
    }
    .js-info .info-btn:hover,
    .js-info .info-btn[aria-expanded="true"] { background: var(--tint); color: var(--ink); }

    .js-info .info-pop:not(:popover-open) { display: none; }
    .info-pop:popover-open {
        position: fixed;
        inset: auto;
        margin: 0;
        width: min(320px, calc(100vw - 24px));
        padding: 16px 18px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: var(--shadow-pop);
        color: var(--ink-soft);
        font-size: .875rem;
        animation: mega-in .14s ease-out;
    }
}

/* ---------- Pré-réservation ---------- */

.preorder-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--ink-soft);
}
.preorder-note .icon { color: var(--accent); stroke-width: 2.25; flex: none; }

.signup { width: min(100% - 2 * var(--gutter), 760px); margin: clamp(32px, 6vw, 72px) auto 0; }
.signup-head { text-align: center; }
.signup-head h1 { max-width: 20ch; margin-inline: auto; font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
.signup-head .lead { margin-inline: auto; }
.signup-head strong { color: var(--ink); }

.signup-form { display: grid; gap: 20px; margin-top: 36px; }
.form-alert { padding: 14px 18px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 14px; font-weight: 600; color: var(--accent-dark); }

.form-step {
    min-width: 0;
    margin: 0;
    padding: clamp(22px, 4vw, 32px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
}
.form-step > legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 0; font-size: 1.1875rem; font-weight: 700; }
.form-step > legend + * { clear: both; }
.form-step .step-num { width: 32px; height: 32px; margin: 0; font-size: .9375rem; }

.form-step .billing-toggle { margin: 0 0 16px; }
.plan-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-choice { display: block; cursor: pointer; }
.plan-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pc-body {
    display: grid;
    gap: 4px;
    height: 100%;
    padding: 18px;
    border: 2px solid var(--line);
    border-radius: 16px;
    transition: border-color .15s, background-color .15s;
}
.plan-choice:hover .pc-body { border-color: #cbc8bf; }
.plan-choice input:checked + .pc-body { border-color: var(--accent); background: #fff8f3; }
.plan-choice input:focus-visible + .pc-body { outline: 2px solid var(--accent); outline-offset: 2px; }
.pc-name { font-size: 1.125rem; font-weight: 700; }
.pc-tagline { font-size: .875rem; color: var(--muted); }
.pc-price { margin-top: 8px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pc-price small { font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid #cfccc4;
    border-radius: 12px;
    font: inherit;
    color: var(--ink);
}
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field.has-error input, .field.has-error select { border-color: var(--accent); background: #fffaf6; }
.field-error { margin-top: 6px; font-size: .8125rem; font-weight: 600; color: var(--accent-dark); }

.form-submit { display: grid; gap: 16px; justify-items: center; padding-bottom: 8px; text-align: center; }
.consent { justify-self: stretch; text-align: left; }
.consent label { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: .9375rem; font-weight: 400; color: var(--ink-soft); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.form-submit .btn { white-space: normal; text-align: center; }
.secure-note { font-size: .8125rem; color: var(--muted); }

.thanks { display: flex; flex-direction: column; align-items: center; width: min(100% - 2 * var(--gutter), 640px); margin: clamp(48px, 9vw, 112px) auto 0; text-align: center; }
.thanks-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; background: var(--accent); border-radius: 50%; color: #fff; }
.thanks-icon .icon { stroke-width: 2.5; }
.thanks h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
.thanks-card { margin-top: 28px; padding: 18px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.thanks-steps { display: grid; gap: 14px; margin: 32px 0; text-align: left; }
.thanks-steps li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.thanks-steps .step-num { flex: none; margin: 0; }
.thanks-steps h2 { font-size: 1.0625rem; letter-spacing: 0; }
.thanks-steps p { margin-top: 2px; color: var(--muted); }

.stats { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 48px auto 0; }
.stats h1 { max-width: none; font-size: 2rem; }
.stats h2 { margin: 36px 0 14px; font-size: 1.25rem; }
.stats table { min-width: 560px; table-layout: auto; }
.stats th, .stats td { text-align: left; font-size: .875rem; }

@media (max-width: 720px) {
    .plan-choices, .form-grid { grid-template-columns: 1fr; }
}

.phone-field { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }
.phone-field select { padding: 10px 6px 10px 10px; }

/* ---------- Pages légales ---------- */

.legal { width: min(100% - 2 * var(--gutter), 720px); margin: clamp(40px, 7vw, 88px) auto 0; }
.legal h1 { max-width: none; font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); }
.legal-updated { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.legal h2 { margin: 40px 0 12px; font-size: 1.375rem; letter-spacing: -.01em; }
.legal h3 { margin: 22px 0 8px; font-size: 1.0625rem; font-weight: 700; }
.legal p, .legal li { color: var(--ink-soft); text-wrap: pretty; }
.legal p { margin-top: 12px; }
.legal ul { margin-top: 10px; padding-left: 22px; list-style: disc; }
.legal li { margin-top: 6px; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal .todo { padding: 1px 6px; background: #fff3bf; border-radius: 4px; color: #6b4e00; font-weight: 600; }

.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.autosave-note { text-align: center; font-size: .875rem; color: var(--muted); text-wrap: balance; }
.stats-help { margin: -6px 0 12px; font-size: .875rem; color: var(--muted); }
.stats h1 + .stats-help { margin-top: 10px; }

.diag { display: grid; gap: 8px; margin: 20px 0 24px; }
.diag li { display: flex; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.diag-mark { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-weight: 700; font-size: .8125rem; }
.diag-ok .diag-mark { background: var(--ok); }
.diag-ko { border-color: var(--accent-line); background: #fffaf6; }
.diag-ko .diag-mark { background: var(--accent); }
.diag p { margin-top: 2px; font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
.error-log { margin: 0 0 24px; padding: 14px 16px; overflow-x: auto; background: #202428; border-radius: 14px; color: #e6e6e2; font-size: .8125rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
