/* ============================================================ */
/* Jarnac marketing site - shared stylesheet                    */
/* ============================================================ */

:root {
    --brand-bg: #0a1a2d;
    --brand-card: #0d2540;
    --brand-border: #1b61a9;
    --brand-accent: #3b8fd6;
    --brand-soft: #6ab4ea;
    --danger: #e85a4f;
    --danger-soft: #ff8a7e;
    --ink: #f2f6fb;
    --ink-muted: #a8bfd6;
    --rule: rgba(27, 97, 169, 0.35);
    --nav-h: 64px;
}

/* ---------- Fonts ---------- */
@font-face {
    font-family: "Afacad";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Afacad-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Afacad";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/Afacad-Bold.ttf") format("truetype");
}
@font-face {
    font-family: "Chango";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Chango-Regular.ttf") format("truetype");
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #050d1a 0%, #0a1a2d 100%);
    color: var(--ink);
    font-family: "Afacad", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

/* ============================================================ */
/* Top navigation                                                */
/* ============================================================ */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-h);
    background: rgba(5, 13, 26, 0.82);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--rule);
}

.site-nav .nav-inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav .brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
}

.site-nav .brand-mark img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.site-nav .brand-mark .wordmark {
    font-family: "Chango", "Afacad", sans-serif;
    font-size: 18px;
    letter-spacing: 0.08em;
    color: var(--ink);
}

.site-nav .primary-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 24px;
}

.site-nav .primary-links a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--ink-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-nav .primary-links a:hover,
.site-nav .primary-links a.is-active {
    background: rgba(27, 97, 169, 0.22);
    color: var(--ink);
}

/* Legal dropdown */
.site-nav details.legal-menu {
    position: relative;
}

.site-nav details.legal-menu > summary {
    list-style: none;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--ink-muted);
    font-weight: 600;
    font-size: 15px;
}

.site-nav details.legal-menu > summary::-webkit-details-marker { display: none; }
.site-nav details.legal-menu > summary::after {
    content: "▾";
    margin-left: 6px;
    font-size: 11px;
    opacity: 0.7;
}

.site-nav details.legal-menu[open] > summary,
.site-nav details.legal-menu > summary:hover {
    background: rgba(27, 97, 169, 0.22);
    color: var(--ink);
}

.site-nav details.legal-menu > .menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: var(--brand-card);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.site-nav details.legal-menu > .menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.site-nav details.legal-menu > .menu a:hover {
    background: rgba(27, 97, 169, 0.28);
}

/* Language toggle (top-right flag pair) */
.site-nav .lang-toggle {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: rgba(27, 97, 169, 0.16);
    border: 1px solid var(--rule);
    border-radius: 999px;
}

.site-nav .lang-toggle a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 28px;
    border-radius: 999px;
    text-decoration: none;
    opacity: 0.55;
    transition: opacity 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.site-nav .lang-toggle a:hover { opacity: 0.9; }

.site-nav .lang-toggle a.is-active {
    opacity: 1;
    background: rgba(106, 180, 234, 0.18);
    box-shadow: inset 0 0 0 1px rgba(106, 180, 234, 0.45);
}

.site-nav .lang-toggle .flag-chip {
    display: inline-block;
    width: 24px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav .lang-toggle .flag-chip.fr {
    background:
        linear-gradient(#002654, #002654) left / 33.34% 100% no-repeat,
        linear-gradient(#ffffff, #ffffff) center / 33.34% 100% no-repeat,
        linear-gradient(#ed2939, #ed2939) right / 33.34% 100% no-repeat;
}

.site-nav .lang-toggle .flag-chip.en {
    background:
        linear-gradient(to bottom, transparent 42%, #c8102e 42%, #c8102e 58%, transparent 58%),
        linear-gradient(to right, transparent 42%, #c8102e 42%, #c8102e 58%, transparent 58%),
        linear-gradient(to bottom, transparent 34%, #ffffff 34%, #ffffff 66%, transparent 66%),
        linear-gradient(to right, transparent 34%, #ffffff 34%, #ffffff 66%, transparent 66%),
        linear-gradient(45deg, transparent 46%, #ffffff 46%, #ffffff 54%, transparent 54%),
        linear-gradient(-45deg, transparent 46%, #ffffff 46%, #ffffff 54%, transparent 54%),
        #012169;
    overflow: hidden;
}

/* Mobile drawer (CSS-only via <details>) */
.site-nav details.mobile-menu {
    display: none;
    margin-left: 8px;
}

.site-nav details.mobile-menu > summary {
    list-style: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--rule);
    color: var(--ink);
    font-size: 20px;
}

.site-nav details.mobile-menu > summary::-webkit-details-marker { display: none; }

.site-nav details.mobile-menu > .drawer {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--brand-card);
    border-bottom: 1px solid var(--rule);
    padding: 12px 24px 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.site-nav details.mobile-menu > .drawer a {
    display: block;
    padding: 12px 6px;
    border-bottom: 1px solid var(--rule);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.site-nav details.mobile-menu > .drawer a:last-child { border-bottom: none; }

.site-nav details.mobile-menu > .drawer .group-label {
    margin-top: 12px;
    padding: 4px 6px;
    color: var(--ink-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================================ */
/* Page wrapper                                                  */
/* (used by legal pages + a few marketing pages for narrow flow) */
/* ============================================================ */

.page {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.brand {
    text-align: center;
    margin-bottom: 8px;
}

.brand a {
    color: var(--brand-soft);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

h1 {
    text-align: center;
    font-size: 38px;
    line-height: 1.2;
    margin: 16px 0 8px;
    font-weight: 800;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ffffff 0%, #8ec3ef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.updated {
    text-align: center;
    color: var(--ink-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.lang-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.lang-nav a {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid var(--brand-border);
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    background: rgba(27, 97, 169, 0.12);
    transition: background 0.15s ease, transform 0.15s ease;
}

.lang-nav a:hover {
    background: rgba(27, 97, 169, 0.32);
    transform: translateY(-1px);
}

/* ============================================================ */
/* Locale section (bilingual blocks)                             */
/* ============================================================ */

section.locale {
    background: var(--brand-card);
    border: 1px solid var(--rule);
    border-radius: 20px;
    padding: 40px 44px;
    margin-bottom: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    scroll-margin-top: calc(var(--nav-h) + 16px);
}

section.locale h2 {
    font-size: 26px;
    margin: 0 0 8px;
    color: var(--ink);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

section.locale h2 .flag {
    display: inline-block;
    width: 28px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

section.locale h2 .flag.fr {
    background:
        linear-gradient(#002654, #002654) left / 33.34% 100% no-repeat,
        linear-gradient(#ffffff, #ffffff) center / 33.34% 100% no-repeat,
        linear-gradient(#ed2939, #ed2939) right / 33.34% 100% no-repeat;
}

section.locale h2 .flag.en {
    background:
        linear-gradient(to bottom, transparent 42%, #c8102e 42%, #c8102e 58%, transparent 58%),
        linear-gradient(to right, transparent 42%, #c8102e 42%, #c8102e 58%, transparent 58%),
        linear-gradient(to bottom, transparent 34%, #ffffff 34%, #ffffff 66%, transparent 66%),
        linear-gradient(to right, transparent 34%, #ffffff 34%, #ffffff 66%, transparent 66%),
        linear-gradient(45deg, transparent 46%, #ffffff 46%, #ffffff 54%, transparent 54%),
        linear-gradient(-45deg, transparent 46%, #ffffff 46%, #ffffff 54%, transparent 54%),
        #012169;
    overflow: hidden;
}

section.locale > p.lead {
    color: var(--ink-muted);
    font-size: 15px;
    margin: 0 0 28px;
}

section.locale h3 {
    font-size: 18px;
    margin: 28px 0 10px;
    color: var(--brand-soft);
    font-weight: 700;
    letter-spacing: 0.01em;
}

section.locale h3:first-of-type {
    margin-top: 8px;
}

section.locale p,
section.locale ul {
    margin: 0 0 14px;
    color: var(--ink);
}

section.locale ul {
    padding-left: 22px;
}

section.locale li {
    margin-bottom: 6px;
}

section.locale strong {
    color: #ffffff;
    font-weight: 700;
}

section.locale a {
    color: var(--brand-soft);
}

section.locale a:hover {
    color: #ffffff;
}

/* ============================================================ */
/* Reusable rich-content components                              */
/* ============================================================ */

.contact-card {
    background: rgba(27, 97, 169, 0.12);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 16px 0 4px;
    font-size: 15px;
}

.request-card {
    background: linear-gradient(135deg, rgba(232, 90, 79, 0.12) 0%, rgba(27, 97, 169, 0.12) 100%);
    border: 1px solid rgba(232, 90, 79, 0.35);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 8px 0 22px;
}

.request-card .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #e85a4f 0%, #c43d35 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(232, 90, 79, 0.32);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(232, 90, 79, 0.44);
    color: #ffffff;
}

.btn-ghost {
    background: rgba(27, 97, 169, 0.18);
    color: var(--ink);
    border-color: var(--brand-border);
}

.btn-ghost:hover {
    background: rgba(27, 97, 169, 0.34);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-cta {
    background: linear-gradient(135deg, #3b8fd6 0%, #1b61a9 100%);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(59, 143, 214, 0.34);
    padding: 14px 26px;
    font-size: 16px;
}

.btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(59, 143, 214, 0.5);
    color: #ffffff;
}

.step-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 8px 0 18px;
}

.step-list li {
    counter-increment: step;
    position: relative;
    padding: 10px 0 10px 44px;
    border-bottom: 1px solid var(--rule);
}

.step-list li:last-child { border-bottom: none; }

.step-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(27, 97, 169, 0.28);
    border: 1px solid var(--brand-border);
    color: var(--brand-soft);
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

table.data {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0 20px;
    font-size: 15px;
}

table.data th,
table.data td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--rule);
    vertical-align: top;
}

table.data th {
    color: var(--brand-soft);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(27, 97, 169, 0.15);
}

table.data tr:last-child td { border-bottom: none; }

.pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pill.delete {
    background: rgba(232, 90, 79, 0.2);
    color: var(--danger-soft);
    border: 1px solid rgba(232, 90, 79, 0.4);
}

.pill.keep {
    background: rgba(106, 180, 234, 0.16);
    color: var(--brand-soft);
    border: 1px solid rgba(106, 180, 234, 0.4);
}

.notice {
    background: rgba(27, 97, 169, 0.12);
    border-left: 3px solid var(--brand-accent);
    border-radius: 8px;
    padding: 14px 18px;
    margin: 18px 0;
    font-size: 15px;
    color: var(--ink-muted);
}

.notice strong { color: #ffffff; }

/* Small inline footer used inside .page (legal pages had this).
   Kept for backward compat; the new global site-footer below
   subsumes its role. */
.page > footer {
    text-align: center;
    color: var(--ink-muted);
    font-size: 14px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
}

.page > footer a { color: var(--brand-soft); }

/* ============================================================ */
/* Marketing components                                          */
/* ============================================================ */

.wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 24px 96px;
    text-align: center;
    border-bottom: 1px solid var(--rule);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(59, 143, 214, 0.28), transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(27, 97, 169, 0.18), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
}

.hero-logo {
    width: 132px;
    height: 132px;
    margin: 0 auto 18px;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.hero h1.display {
    font-family: "Chango", "Afacad", sans-serif;
    font-size: 72px;
    line-height: 1;
    letter-spacing: 0.02em;
    margin: 0 0 14px;
    background: linear-gradient(135deg, #ffffff 0%, #8ec3ef 60%, #6ab4ea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .tagline {
    font-size: 22px;
    color: var(--brand-soft);
    margin: 0 0 8px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero .pitch {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 620px;
    margin: 8px auto 28px;
}

.cta-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.hero .credit {
    margin-top: 22px;
    color: var(--ink-muted);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 72px auto;
    max-width: 1200px;
    padding: 0 24px;
}

.feature-card {
    background: var(--brand-card);
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(106, 180, 234, 0.45);
}

.feature-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59, 143, 214, 0.35), rgba(27, 97, 169, 0.55));
    border: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin: 0 0 8px;
    color: var(--ink);
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 15px;
}

/* Screenshot strip */
.shot-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 72px;
}

.shot-strip figure {
    margin: 0;
    background: var(--brand-card);
    border: 1px solid var(--rule);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.shot-strip img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

.shot-strip figcaption {
    padding: 12px 16px 16px;
    color: var(--ink-muted);
    font-size: 14px;
}

/* CTA strip */
.cta-strip {
    background: linear-gradient(135deg, rgba(27, 97, 169, 0.32) 0%, rgba(59, 143, 214, 0.18) 100%);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 56px 24px;
    text-align: center;
}

.cta-strip h2 {
    font-family: "Chango", "Afacad", sans-serif;
    font-size: 32px;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}

.cta-strip p {
    color: var(--ink-muted);
    margin: 0 0 22px;
}

/* Wide locale section (marketing pages) - anchor target like section.locale */
section.locale-wide {
    scroll-margin-top: calc(var(--nav-h) + 16px);
}

/* Section title (used in gameplay/download/about wide pages) */
.section-title {
    text-align: center;
    font-family: "Chango", "Afacad", sans-serif;
    font-size: 40px;
    line-height: 1.1;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #8ec3ef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--ink-muted);
    margin: 0 0 36px;
    font-size: 17px;
}

/* ============================================================ */
/* FAQ                                                           */
/* ============================================================ */

.faq {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    position: relative;
    background: var(--brand-card);
    border: 1px solid var(--rule);
    border-radius: 16px;
    padding: 0 24px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(106, 180, 234, 0.45);
    transform: translateY(-1px);
}

.faq-item[open] {
    border-color: rgba(106, 180, 234, 0.55);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
    background:
        linear-gradient(135deg, rgba(59, 143, 214, 0.10) 0%, rgba(27, 97, 169, 0.04) 100%),
        var(--brand-card);
}

/* Accent rail on the open item */
.faq-item[open]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #6ab4ea, #1b61a9);
}

.faq-item > summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 0;
    font-family: "Afacad", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    transition: color 0.18s ease;
}

.faq-item > summary:hover { color: #bfe0ff; }
.faq-item > summary::-webkit-details-marker { display: none; }

/* Circular +/× toggle */
.faq-item > summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 143, 214, 0.30), rgba(27, 97, 169, 0.50));
    border: 1px solid var(--rule);
    color: var(--ink);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease;
}

.faq-item[open] > summary::after {
    transform: rotate(135deg);
    background: linear-gradient(135deg, rgba(106, 180, 234, 0.55), rgba(27, 97, 169, 0.70));
}

.faq-item > p {
    margin: 0;
    padding: 4px 0 22px;
    color: var(--ink-muted);
    font-size: 16px;
    line-height: 1.65;
    animation: faqReveal 0.28s ease both;
}

.faq-item a {
    color: #8ec3ef;
    text-decoration: none;
    border-bottom: 1px solid rgba(142, 195, 239, 0.4);
    transition: border-color 0.18s ease;
}

.faq-item a:hover { border-bottom-color: #8ec3ef; }

@keyframes faqReveal {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-item > summary::after { transition: none; }
    .faq-item > p { animation: none; }
}

/* ============================================================ */
/* Site footer                                                   */
/* ============================================================ */

.site-footer {
    background: rgba(5, 13, 26, 0.7);
    border-top: 1px solid var(--rule);
    margin-top: 80px;
    padding: 48px 24px 32px;
    color: var(--ink-muted);
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
}

.site-footer .col h4 {
    color: var(--ink);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 14px;
    font-weight: 700;
}

.site-footer .col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .col li { margin-bottom: 8px; }

.site-footer .col a {
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 15px;
}

.site-footer .col a:hover { color: var(--brand-soft); }

.site-footer .col.about p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
}

.site-footer .col.about .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--ink);
    text-decoration: none;
}

.site-footer .col.about .footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.site-footer .col.about .footer-brand .wordmark {
    font-family: "Chango", "Afacad", sans-serif;
    font-size: 18px;
    letter-spacing: 0.08em;
}

.site-footer .copyright {
    max-width: 1200px;
    margin: 28px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
    color: var(--ink-muted);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================================ */
/* Responsive                                                    */
/* ============================================================ */

@media (max-width: 900px) {
    .feature-grid,
    .shot-strip { grid-template-columns: 1fr; }
    .site-footer .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .site-nav .primary-links,
    .site-nav details.legal-menu { display: none; }
    .site-nav details.mobile-menu { display: block; }
    .site-nav .lang-toggle a { width: 32px; height: 24px; }
    .site-nav .lang-toggle .flag-chip { width: 20px; height: 14px; }

    .page { padding: 32px 16px 56px; }

    h1 { font-size: 30px; }

    section.locale {
        padding: 28px 22px;
        border-radius: 16px;
    }

    section.locale h2 { font-size: 22px; }

    table.data th,
    table.data td {
        font-size: 14px;
        padding: 8px 10px;
    }

    .hero { padding: 56px 20px 64px; }
    .hero h1.display { font-size: 48px; }
    .hero .tagline { font-size: 18px; }
    .hero .pitch { font-size: 16px; }
    .hero-logo { width: 96px; height: 96px; border-radius: 22px; }

    .section-title { font-size: 30px; }

    .feature-grid,
    .shot-strip { margin: 48px auto; padding: 0 16px; }

    .site-footer .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .site-footer .copyright { flex-direction: column; align-items: flex-start; gap: 4px; }
}
