/* ==========================================================================
   Ghanivo.pro — Independent Betway Ghana offer guide
   style.css — design tokens + mobile-first base styles
   Structure:
   01 Tokens
   02 Reset & base
   03 Typography
   04 Utilities (kente rule, eyebrow, wrap)
   05 Header & navigation
   06 Buttons
   07 Hero
   08 Sections & panels
   09 Bonus cards
   10 Comparison table
   11 Steps
   12 FAQ accordion
   13 Forms & success states
   14 Prose (legal pages)
   15 404
   16 Footer
   17 Cookie banner
   18 Motion
   ========================================================================== */

/* 01 — Tokens ------------------------------------------------------------ */
:root {
    --ink-900: #080C11;
    --ink-800: #0C1219;
    --ink-700: #111A23;
    --ink-600: #17222D;
    --line: #223140;
    --line-soft: #1A2632;

    --brass: #D6A93C;
    --brass-bright: #F0C868;
    --forest: #2E8C63;
    --ember: #C4553B;

    --cream: #F3EFE6;
    --muted: #94A5B4;
    --muted-dim: #6B7C8B;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;

    --wrap: 1120px;
    --gutter: 20px;

    --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
    --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.85);
    --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* 02 — Reset & base ------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background-color: var(--ink-900);
    background-image:
        radial-gradient(900px 520px at 78% -8%, rgba(214, 169, 60, 0.10), transparent 62%),
        radial-gradient(760px 480px at 4% 12%, rgba(46, 140, 99, 0.09), transparent 60%);
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--brass-bright);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

:focus-visible {
    outline: 2px solid var(--brass-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--brass);
    color: var(--ink-900);
    padding: 12px 18px;
    font-weight: 700;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    left: 0;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

/* 03 — Typography -------------------------------------------------------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0 0 0.5em;
    color: #FFFDF8;
}

h1 {
    font-size: 2.35rem;
}

h2 {
    font-size: 1.9rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0;
}

p {
    margin: 0 0 1.05em;
}

.lede {
    font-size: 1.05rem;
    color: #DCD6C8;
}

strong {
    color: #FFFDF8;
    font-weight: 700;
}

/* 04 — Utilities --------------------------------------------------------- */
.eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 14px;
}

/* Kente-inspired hairline rule: red / gold / green, used as a section mark */
.kente-rule {
    display: flex;
    gap: 4px;
    width: 74px;
    margin: 0 0 24px;
}

.kente-rule span {
    height: 3px;
    border-radius: 2px;
    flex: 1 1 auto;
}

.kente-rule span:nth-child(1) {
    background: var(--ember);
    flex-grow: 0.6;
}

.kente-rule span:nth-child(2) {
    background: var(--brass);
    flex-grow: 2;
}

.kente-rule span:nth-child(3) {
    background: var(--forest);
    flex-grow: 1;
}

.star-mark {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
}

.text-muted {
    color: var(--muted);
}

/* 05 — Header & navigation ----------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(8, 12, 17, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cream);
    text-decoration: none;
    flex: 0 0 auto;
}

.brand:hover {
    text-decoration: none;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: -0.01em;
}

.brand-name em {
    font-style: normal;
    color: var(--brass);
}

.brand-tag {
    display: none;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-dim);
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--cream);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
}

.nav-toggle .bars {
    display: block;
    position: relative;
    width: 16px;
    height: 2px;
    background: var(--brass);
}

.nav-toggle .bars::before,
.nav-toggle .bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    background: var(--brass);
    transition: transform 0.25s var(--ease);
}

.nav-toggle .bars::before {
    top: -5px;
}

.nav-toggle .bars::after {
    top: 5px;
}

.nav-toggle[aria-expanded="true"] .bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .bars::before {
    transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bars::after {
    transform: translateY(-5px) rotate(-45deg);
}

.site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink-800);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
}

.site-nav.is-open {
    display: block;
}

.nav-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.nav-list li + li {
    border-top: 1px solid var(--line-soft);
}

.nav-link {
    display: block;
    padding: 13px 2px;
    color: var(--cream);
    font-size: 0.98rem;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--brass-bright);
    text-decoration: none;
}

.nav-link[aria-current="page"] {
    color: var(--brass);
}

/* 06 — Buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(140deg, var(--brass-bright), var(--brass));
    color: #1A1406;
    box-shadow: 0 14px 34px -18px rgba(214, 169, 60, 0.9);
}

.btn-primary:hover {
    background: linear-gradient(140deg, #F7D785, var(--brass-bright));
}

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--cream);
}

.btn-ghost:hover {
    border-color: var(--brass);
    color: var(--brass-bright);
}

.btn-block {
    display: flex;
    width: 100%;
}

.nav-cta {
    display: none;
    padding: 11px 20px;
    font-size: 0.88rem;
}

.cta-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 26px 0 20px;
}

.age-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.age-note .pill {
    background: var(--ink-600);
    border: 1px solid var(--line);
    color: var(--brass);
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 700;
}

/* 07 — Hero -------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 54px 0 60px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    gap: 34px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
    margin-bottom: 18px;
}

.hero-title .accent {
    color: var(--brass);
}

.hero-sub {
    font-size: 1.12rem;
    color: #E4DED0;
    margin-bottom: 14px;
}

.hero-lede {
    color: var(--muted);
    max-width: 52ch;
}

.hero-art {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(160deg, var(--ink-700), var(--ink-900));
    box-shadow: var(--shadow);
}

.hero-art img {
    width: 100%;
}

/* compact hero used on inner pages */
.page-hero {
    padding: 44px 0 34px;
    border-bottom: 1px solid var(--line-soft);
}

.page-hero h1 {
    font-size: clamp(2.1rem, 8.5vw, 2.9rem);
    margin-bottom: 16px;
}

.page-hero .lede {
    max-width: 62ch;
    color: var(--muted);
}

.breadcrumb {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-dim);
    margin-bottom: 18px;
}

.breadcrumb a {
    color: var(--muted);
}

/* 08 — Sections & panels ------------------------------------------------- */
.section {
    padding: 46px 0;
    border-top: 1px solid var(--line-soft);
}

.section:first-of-type {
    border-top: 0;
}

.section-head {
    max-width: 60ch;
    margin-bottom: 28px;
}

.panel {
    background: linear-gradient(170deg, var(--ink-700), var(--ink-800));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 20px;
}

.panel + .panel {
    margin-top: 16px;
}

.notice {
    border: 1px solid var(--line);
    border-left: 3px solid var(--brass);
    background: rgba(214, 169, 60, 0.06);
    border-radius: var(--radius-sm);
    padding: 18px 18px;
    color: #E4DED0;
    font-size: 0.95rem;
}

.notice p:last-child {
    margin-bottom: 0;
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: #DCD6C8;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 10px;
    height: 2px;
    background: var(--forest);
}

/* 09 — Bonus cards ------------------------------------------------------- */
.bonus-grid {
    display: grid;
    gap: 20px;
}

.bonus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(168deg, #17222D, #0C1219 62%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 20px 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.bonus-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ember), var(--brass) 45%, var(--forest));
}

.bonus-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.bonus-card h3 {
    margin: 0;
    font-size: 1.5rem;
}

.badge {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brass);
    border: 1px solid rgba(214, 169, 60, 0.45);
    background: rgba(214, 169, 60, 0.08);
    border-radius: 999px;
    padding: 6px 11px;
    white-space: nowrap;
}

.badge-casino {
    color: #7FD8AC;
    border-color: rgba(46, 140, 99, 0.5);
    background: rgba(46, 140, 99, 0.1);
}

.offer-amount {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 7.5vw, 2.3rem);
    line-height: 1.08;
    color: #FFFDF8;
    margin: 0 0 14px;
}

.bonus-card p {
    color: var(--muted);
    font-size: 0.97rem;
}

.feature-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding-block: 14px;
}

.feature-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.94rem;
    color: #DCD6C8;
    padding: 5px 0;
}

.feature-list .tick {
    color: var(--forest);
    font-weight: 700;
    line-height: 1.5;
}

.terms-note {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--muted-dim);
    margin-bottom: 20px;
}

.bonus-card .btn {
    margin-top: auto;
}

/* 10 — Comparison table -------------------------------------------------- */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ink-800);
}

.cmp-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.93rem;
}

.cmp-table caption {
    caption-side: bottom;
    text-align: left;
    padding: 12px 16px;
    font-size: 0.8rem;
    color: var(--muted-dim);
}

.cmp-table th,
.cmp-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
}

.cmp-table thead th {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brass);
    background: var(--ink-700);
    white-space: nowrap;
}

.cmp-table tbody th {
    color: var(--cream);
    font-weight: 700;
    width: 30%;
    white-space: nowrap;
}

.cmp-table td {
    color: var(--muted);
}

.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td {
    border-bottom: 0;
}

.scroll-hint {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-dim);
    margin-top: 10px;
}

/* 11 — Steps ------------------------------------------------------------- */
.steps {
    list-style: none;
    counter-reset: step;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 20px 18px 20px 62px;
    background: var(--ink-800);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 18px;
    top: 18px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--brass);
    border: 1px solid rgba(214, 169, 60, 0.4);
    border-radius: 999px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
}

.steps h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 6px;
}

.steps p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

/* 12 — FAQ accordion ----------------------------------------------------- */
.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border: 0;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    padding: 19px 2px;
    cursor: pointer;
    line-height: 1.45;
}

.faq-q:hover {
    color: var(--brass-bright);
}

.faq-icon {
    flex: 0 0 auto;
    position: relative;
    width: 16px;
    height: 16px;
    margin-top: 5px;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: var(--brass);
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.faq-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.faq-q[aria-expanded="true"] .faq-icon::after {
    transform: scaleY(0);
    opacity: 0;
}

.faq-a {
    padding: 0 2px 20px;
    color: var(--muted);
    font-size: 0.96rem;
    max-width: 72ch;
}

.faq-a[hidden] {
    display: none;
}

.faq-a p:last-child {
    margin-bottom: 0;
}

/* 13 — Forms & success states -------------------------------------------- */
.form-card {
    background: linear-gradient(170deg, var(--ink-700), var(--ink-800));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 20px;
}

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--ink-900);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 14px 15px;
    transition: border-color 0.2s var(--ease);
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--muted-dim);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--brass);
    outline: none;
    box-shadow: 0 0 0 3px rgba(214, 169, 60, 0.16);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
    border-color: var(--ember);
}

.field-error {
    display: block;
    min-height: 1px;
    margin-top: 7px;
    font-size: 0.83rem;
    color: #E98A70;
}

.form-note {
    font-size: 0.82rem;
    color: var(--muted-dim);
    margin: 14px 0 0;
}

.form-success {
    text-align: center;
    padding: 34px 18px;
}

.form-success .success-mark {
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(46, 140, 99, 0.14);
    border: 1px solid rgba(46, 140, 99, 0.5);
    color: #7FD8AC;
    font-size: 1.4rem;
    font-weight: 700;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--muted);
    max-width: 46ch;
    margin-inline: auto;
}

.form-success[hidden] {
    display: none;
}

/* 14 — Prose (legal pages) ----------------------------------------------- */
.prose {
    max-width: 72ch;
}

.prose h2 {
    font-size: 1.55rem;
    margin-top: 42px;
}

.prose h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 28px;
    margin-bottom: 8px;
}

.prose p,
.prose li {
    color: var(--muted);
}

.prose ul,
.prose ol {
    padding-left: 20px;
    margin: 0 0 1.1em;
}

.prose li {
    margin-bottom: 8px;
}

.prose a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.updated {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-dim);
}

/* 15 — 404 --------------------------------------------------------------- */
.error-page {
    padding: 76px 0 84px;
    text-align: center;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 26vw, 9rem);
    line-height: 0.9;
    color: var(--brass);
    margin: 0 0 8px;
}

.error-page h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
}

.error-page p {
    color: var(--muted);
    max-width: 44ch;
    margin-inline: auto;
}

.error-page .kente-rule {
    margin-inline: auto;
}

.error-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
}

/* 16 — Footer ------------------------------------------------------------ */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: var(--ink-800);
    padding: 44px 0 30px;
}

.footer-top {
    display: grid;
    gap: 28px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line-soft);
}

.footer-brand .brand {
    margin-bottom: 14px;
}

.footer-brand p {
    color: var(--muted-dim);
    font-size: 0.9rem;
    max-width: 40ch;
}

.footer-nav h2 {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 14px;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-nav a {
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-nav a:hover {
    color: var(--brass-bright);
    text-decoration: none;
}

.footer-legal {
    padding-top: 26px;
    display: grid;
    gap: 18px;
}

.footer-legal p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--muted-dim);
    margin: 0;
}

.footer-age {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream);
}

.footer-age .pill {
    background: var(--ember);
    color: #FFF6F2;
    border-radius: 999px;
    padding: 4px 11px;
    font-weight: 700;
}

.copyright {
    border-top: 1px solid var(--line-soft);
    margin-top: 22px;
    padding-top: 20px;
    font-size: 0.8rem;
    color: var(--muted-dim);
}

/* 17 — Cookie banner ----------------------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 80;
    background: var(--ink-700);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9);
    padding: 18px;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner p {
    font-size: 0.88rem;
    color: #DCD6C8;
    margin: 0 0 14px;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-actions .btn {
    flex: 1 1 130px;
    padding: 12px 18px;
    font-size: 0.88rem;
}

.cookie-options {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
    display: grid;
    gap: 12px;
}

.cookie-options[hidden] {
    display: none;
}

.cookie-option {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 0.86rem;
    color: var(--muted);
}

.cookie-option input {
    margin-top: 4px;
    accent-color: var(--brass);
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.cookie-option strong {
    display: block;
    font-size: 0.9rem;
}

/* 18 — Motion ------------------------------------------------------------ */
/* Content is visible by default; JS "arms" the reveal so no-JS users lose nothing. */
.reveal.is-armed {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }

    .reveal,
    .reveal.is-armed {
        opacity: 1;
        transform: none;
    }
}

/* Visually hidden text for screen readers (link destination hints, etc.) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
