/* Shared by the organiser landing page: /organisateurs.html and its twin /en/organisateurs.html.
   A static page outside the app (like about.html). It opens NO access to the app: every call to
   action links to /organizer, which is signed-in only (SIGNED_IN_ONLY in src/lib/routeAccess.ts — added by branch
   fix/publier-requires-login, commit 6983830da, which must be merged before this page ships).

   COLOURS mirror src/app.css (light :root block, dark block) — keep them in sync by hand; this
   file cannot import the app's CSS. Pin hues come from backend/data/taxonomy.json theme colours
   (Music, Performing arts, Arts, Family kids), the same source as theme-tokens.generated.css.
   THEME: /theme-init.js pins data-theme from the app's saved choice ('wayuto.theme'), exactly as
   in the app: unset → light, 'dark' → dark, 'auto' → OS preference.
   FONTS are the app's self-hosted files in /fonts (no Google Fonts). */

@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2');
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
        U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
        U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
        U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/hanken-grotesk-latin.woff2') format('woff2');
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
        U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
        U+FFFD;
}
@font-face {
    font-family: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/hanken-grotesk-latin-ext.woff2') format('woff2');
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
        U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
        U+2C60-2C7F, U+A720-A7FF;
}

:root {
    color-scheme: light;
    --bg: #f7f8fb;
    --surface: #ffffff;
    --surface-2: #f3f3f5;
    --border: #e9eaee;
    --border-strong: #e2e4e9;
    --text: #16171a;
    --text-2: #5a5d64; /* app --muted-strong: body copy needs AA contrast */
    --text-3: #80838b; /* app --text-2 */
    --accent: #2d6bff;
    --accent-press: #1a52d6;
    --accent-soft: #eaf1ff;
    --accent-ink: #2d6bff;
    --on-accent: #ffffff;
    --shadow: 0 10px 30px rgba(15, 20, 40, 0.14);
    --brand-1: #f0952d;
    --brand-2: #e8457b;
    --brand-3: #a45cff;
    --font-body:
        'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display:
        'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial,
        sans-serif;
    --radius: 14px;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        --bg: #0f131b;
        --surface: #1e2027;
        --surface-2: #24262d;
        --border: #2c2f38;
        --border-strong: #363a44;
        --text: #f2f3f5;
        --text-2: #c2c5cb;
        --text-3: #9a9da6;
        --accent: #4f8cff;
        --accent-press: #2d6bff;
        --accent-soft: #1b2330;
        --accent-ink: #9db8f5;
        --on-accent: #ffffff;
        --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    }
}
:root[data-theme='dark'] {
    color-scheme: dark;
    --bg: #0f131b;
    --surface: #1e2027;
    --surface-2: #24262d;
    --border: #2c2f38;
    --border-strong: #363a44;
    --text: #f2f3f5;
    --text-2: #c2c5cb;
    --text-3: #9a9da6;
    --accent: #4f8cff;
    --accent-press: #2d6bff;
    --accent-soft: #1b2330;
    --accent-ink: #9db8f5;
    --on-accent: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 1.0625rem/1.6 var(--font-body);
    -webkit-font-smoothing: antialiased;
}
a {
    color: var(--accent-ink);
}
a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 8px;
}
.skip {
    position: absolute;
    left: -9999px;
}
.skip:focus {
    left: 16px;
    top: 12px;
    z-index: 10;
    background: var(--surface);
    padding: 8px 12px;
}

.wrap {
    max-width: 1080px;
    margin-inline: auto;
    padding-inline: 20px;
}

/* Header */
.site-head {
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.site-head .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 14px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    min-width: 0;
}
/* Same logo as the app's nav bar (BrandMark.svelte + .brand-word in +layout.svelte): the 12d pin
   clipped from the violet → magenta → amber swirl around a white beacon, and the wordmark shaded
   with the same palette. Artwork authored on a 100×100 stage, scaled to the box. Theme-invariant. */
.brand-mark {
    --sz: 34px;
    position: relative;
    display: inline-block;
    width: var(--sz);
    height: var(--sz);
    flex: none;
}
.brand-mark .stage {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%) scale(0.34);
    transform-origin: center;
}
.brand-mark .mark {
    position: absolute;
    inset: 0;
    background: conic-gradient(from 170deg at 50% 39%, #8e5cff, #e0409a, #f2a11e, #e0409a, #8e5cff);
    clip-path: path('M40 18 H60 A18 18 0 0 1 78 36 V42 A18 18 0 0 1 60 60 H57 L42 88 V60 H40 A18 18 0 0 1 22 42 V36 A18 18 0 0 1 40 18 Z');
}
.brand-mark .beacon {
    position: absolute;
    left: 43px;
    top: 32px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
}
.brand b {
    font: 800 1.35rem/1 var(--font-display);
    letter-spacing: -0.01em;
    background: linear-gradient(95deg, #8e5cff 0%, #e0409a 48%, #f2a11e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* « Wayuto » and « Organisateurs » share ONE text baseline; the pair is centred on the mark. */
.brand-text {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
}
.brand .brand-sub {
    font-size: 0.8rem;
    color: var(--text-3);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.head-links {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
}
.head-links a {
    font-weight: 600;
    text-decoration: none;
}
.head-links .lang {
    color: var(--text-3);
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: 600 1rem/1.2 var(--font-body);
    padding: 15px 22px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    text-align: center;
    transition:
        background-color 0.15s ease,
        transform 0.15s ease;
}
.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
}
.btn-primary:hover {
    background: var(--accent-press);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    background: var(--surface-2);
}
@media (prefers-reduced-motion: no-preference) {
    .btn:active {
        transform: translateY(1px);
    }
}

/* Hero */
.hero {
    padding-block: 56px 40px;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    margin: 0 0 14px;
}
h1 {
    font: 800 clamp(2.2rem, 5vw, 3.6rem) / 1.04 var(--font-display);
    letter-spacing: -0.025em;
    margin: 0 0 20px;
    text-wrap: balance;
}
h1 em {
    font-style: normal;
    background: linear-gradient(95deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lede {
    font-size: 1.15rem;
    color: var(--text-2);
    max-width: 34em;
    margin: 0 0 28px;
}
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.cta-hint {
    font-size: 0.875rem;
    color: var(--text-3);
    margin: 14px 0 0;
}

/* Map panel (illustration) */
.map-panel {
    margin: 0;
    max-width: 100%;
    display: grid;
    gap: 10px;
}
.map-panel img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: var(--surface-2);
}
.map-panel figcaption {
    font-size: 0.82rem;
    color: var(--text-3);
}

/* Sections */
section.band {
    padding-block: 56px;
    border-top: 1px solid var(--border);
}
h2 {
    font: 700 clamp(1.6rem, 3vw, 2.15rem) / 1.15 var(--font-display);
    letter-spacing: -0.015em;
    margin: 0 0 10px;
    text-wrap: balance;
}
.section-lede {
    color: var(--text-2);
    max-width: 40em;
    margin: 0 0 32px;
}

/* Benefits: a two-column list, not cards */
.benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.benefits li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}
.benefits .ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-soft);
    display: grid;
    place-items: center;
    color: var(--accent-ink);
}
.benefits .ico svg {
    width: 20px;
    height: 20px;
}
.benefits h3 {
    font: 700 1.1rem/1.3 var(--font-display);
    margin: 2px 0 4px;
}
.benefits p {
    margin: 0;
    color: var(--text-2);
    font-size: 0.98rem;
}

/* Three ways: three peers of equal weight */
.ways {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.way {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    display: grid;
    gap: 12px;
    align-content: start;
    min-width: 0;
}
.way .label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
}
.way h3 {
    font: 700 1.25rem/1.2 var(--font-display);
    margin: 0;
    overflow-wrap: anywhere;
}
.way p {
    margin: 0;
    color: var(--text-2);
    font-size: 0.97rem;
}
.way ul {
    margin: 0;
    padding-left: 1.1em;
    color: var(--text-2);
    font-size: 0.95rem;
    display: grid;
    gap: 4px;
}
.handle {
    font:
        600 0.95rem/1 ui-monospace,
        'SF Mono',
        Menlo,
        monospace;
    background: var(--surface-2);
    padding: 3px 7px;
    border-radius: 6px;
    color: var(--text);
}
.way .fine {
    font-size: 0.86rem;
    color: var(--text-3);
}
.review-note {
    margin: 22px 0 0;
    font-size: 0.95rem;
    color: var(--text-2);
    max-width: 46em;
}

/* Already there */
.already {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}
.already .section-lede {
    margin-bottom: 0;
}
.sources {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.sources li {
    font-size: 0.88rem;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-2);
}
.claim-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    display: grid;
    gap: 10px;
}
.claim-box h3 {
    font: 700 1.15rem/1.3 var(--font-display);
    margin: 0;
}
.claim-box p {
    margin: 0;
    color: var(--text-2);
    font-size: 0.97rem;
}

/* FAQ */
.faq {
    display: grid;
    gap: 10px;
    max-width: 760px;
}
.faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 18px;
}
.faq summary {
    cursor: pointer;
    font-weight: 700;
    padding-block: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: '+';
    color: var(--text-3);
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1;
}
.faq details[open] summary::after {
    content: '–';
}
.faq details p {
    margin: 0 0 16px;
    color: var(--text-2);
}

/* Closing CTA */
.closing {
    padding-block: 64px;
    border-top: 1px solid var(--border);
}
.closing .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.closing h2 {
    margin: 0;
    max-width: 18em;
}

/* Footer: same content and look as the legal pages' footer.foot (legal.css). */
footer.foot {
    border-top: 1px solid var(--border);
    padding-block: 26px 40px;
    color: var(--text-3);
    font-size: 0.85rem;
    text-align: center;
}
footer.foot a {
    color: var(--accent-ink);
}

@media (max-width: 860px) {
    .hero-grid,
    .already {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .ways,
    .benefits {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 480px) {
    .wrap {
        padding-inline: 16px;
    }
    .brand .brand-sub {
        display: none;
    }
    .hero {
        padding-block: 36px 28px;
    }
    section.band {
        padding-block: 40px;
    }
    .btn {
        width: 100%;
    }
    .way {
        padding: 20px;
    }
}
