/* ============================================================================
   FUN & WIN ApS — "Nordic private capital"
   Parchment · deep emerald · brass. Fraunces (display serif) + Hanken Grotesk
   (UI) + IBM Plex Mono (data). Vanilla CSS, theme-aware, no build step.
   ========================================================================== */

/* ---- Design tokens ----------------------------------------------------- */
:root {
    --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
    --ff-body: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --ff-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

    --maxw: 1200px;
    --gutter: clamp(1.15rem, 4vw, 2.75rem);
    --radius: 18px;
    --radius-sm: 12px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

:root[data-theme="light"] {
    --paper: #f3efe6;
    --paper-2: #fbf9f3;
    --paper-3: #ebe5d7;
    --paper-ink: #12332b;         /* dark blocks on light theme */
    --line: rgba(18, 51, 43, 0.14);
    --line-soft: rgba(18, 51, 43, 0.08);

    --ink: #15251f;
    --ink-2: #515c56;
    --ink-3: #7b847e;

    --accent: #16463b;            /* deep emerald */
    --accent-strong: #12332b;
    --accent-2: #a97d33;          /* brass */
    --accent-2-soft: rgba(169, 125, 51, 0.14);
    --on-accent: #f4efe4;

    --seal-bg: #12332b;
    --seal-ring: rgba(169, 125, 51, 0.55);
    --seal-fg: #f0ece0;

    --shadow-sm: 0 2px 10px -6px rgba(18, 51, 43, 0.35);
    --shadow: 0 22px 50px -34px rgba(18, 51, 43, 0.55);
    --shadow-lg: 0 40px 90px -50px rgba(18, 51, 43, 0.6);

    --hero-glow: radial-gradient(60% 65% at 82% 18%, rgba(169, 125, 51, 0.16), transparent 70%),
                 radial-gradient(50% 60% at 10% 90%, rgba(22, 70, 59, 0.12), transparent 72%);
}

:root[data-theme="dark"] {
    --paper: #0d1512;
    --paper-2: #131e19;
    --paper-3: #0a110d;
    --paper-ink: #0a110d;
    --line: rgba(236, 234, 224, 0.13);
    --line-soft: rgba(236, 234, 224, 0.07);

    --ink: #ecebe0;
    --ink-2: #a8b1a9;
    --ink-3: #79837c;

    --accent: #56a189;            /* lifted emerald for contrast on dark */
    --accent-strong: #3f8b73;
    --accent-2: #d4aa59;          /* brass */
    --accent-2-soft: rgba(212, 170, 89, 0.15);
    --on-accent: #08120e;

    --seal-bg: #0a110d;
    --seal-ring: rgba(212, 170, 89, 0.5);
    --seal-fg: #ecebe0;

    --shadow-sm: 0 2px 12px -6px rgba(0, 0, 0, 0.6);
    --shadow: 0 26px 60px -38px rgba(0, 0, 0, 0.85);
    --shadow-lg: 0 44px 100px -50px rgba(0, 0, 0, 0.9);

    --hero-glow: radial-gradient(60% 65% at 82% 18%, rgba(212, 170, 89, 0.12), transparent 70%),
                 radial-gradient(52% 60% at 8% 92%, rgba(86, 161, 137, 0.12), transparent 72%);
}

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
    font-family: var(--ff-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    font-size: 1.02rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }

::selection { background: var(--accent-2); color: #fff; }

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

.skip-link {
    position: absolute;
    left: -999px;
    top: 0.6rem;
    z-index: 200;
    background: var(--accent);
    color: var(--on-accent);
    padding: 0.6rem 1rem;
    border-radius: 8px;
}
.skip-link:focus { left: 0.8rem; }

/* ---- Layout ------------------------------------------------------------ */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--paper-3); }

/* ---- Typography -------------------------------------------------------- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-2);
    font-weight: 500;
}
.kicker::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--accent-2);
    opacity: 0.8;
}
.kicker--alt { color: var(--ink-2); }
.kicker--alt::before { background: var(--ink-3); }

.display {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(2.55rem, 6.4vw, 5.1rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    font-optical-sizing: auto;
}
.display .line { display: block; }
.display .line-2 { color: var(--accent); font-style: italic; }

.h2 {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
}
.lead {
    font-size: clamp(1.08rem, 1.6vw, 1.28rem);
    line-height: 1.6;
    color: var(--ink-2);
}
h3 { font-family: var(--ff-body); font-weight: 600; letter-spacing: -0.01em; }

em, .ital { font-family: var(--ff-display); font-style: italic; }

.section-head { max-width: 60ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head .kicker { margin-bottom: 1rem; }
.section-head .lead { margin-top: 1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: 0.96rem;
    padding: 0.82rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease),
                color 0.25s var(--ease), box-shadow 0.25s var(--ease),
                border-color 0.25s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
:root[data-theme="dark"] .btn--primary { color: #08120e; }

.btn--ink { background: var(--paper-ink); color: #f0ece0; }
.btn--ink:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}
.text-link svg { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.text-link:hover { border-color: var(--accent); }
.text-link:hover svg { transform: translateX(4px); }

.lnk { color: var(--accent); border-bottom: 1px solid var(--line); transition: border-color 0.2s; }
.lnk:hover { border-color: var(--accent); }

/* ---- Navigation -------------------------------------------------------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--paper) 82%, transparent);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow 0.3s var(--ease);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    height: 76px;
}
.logo { display: inline-flex; align-items: center; gap: 0.72rem; }
.logo-seal { width: 44px; height: 44px; flex-shrink: 0; }
.logo-seal svg { width: 100%; height: 100%; }
.logo-word {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 1.24rem;
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--ink);
}
.logo-amp { color: var(--accent-2); font-style: italic; padding-inline: 0.05em; }
.logo-word small {
    display: block;
    font-family: var(--ff-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 400;
    margin-top: 0.32rem;
}

.nav-links { display: flex; align-items: center; gap: 0.3rem; }
.nav-links > li > a:not(.btn) {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-2);
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav-links > li > a:not(.btn):hover { color: var(--ink); background: var(--line-soft); }
.nav-links > li > a.active { color: var(--accent); }
:root[data-theme="dark"] .nav-links > li > a.active { color: var(--accent-2); }

.nav-actions { display: flex; align-items: center; gap: 0.55rem; }
.lang-switch {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}
.lang-switch a {
    padding: 0.4rem 0.62rem;
    color: var(--ink-3);
    transition: background 0.2s, color 0.2s;
}
.lang-switch a.active { background: var(--accent); color: var(--on-accent); }
:root[data-theme="dark"] .lang-switch a.active { color: #08120e; }
.lang-switch a:not(.active):hover { color: var(--ink); }

.icon-btn {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-2);
    transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.nav-cta { }
.nav-cta-m { display: none; }
.burger { display: none; }

/* ---- Hero -------------------------------------------------------------- */
.hero {
    position: relative;
    padding-top: clamp(3rem, 7vw, 6rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    background-image: var(--hero-glow);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.hero-kicker { margin-bottom: 1.5rem; }
.hero .display { margin-bottom: 1.6rem; }
.hero-lead { max-width: 46ch; margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding-top: clamp(2rem, 4vw, 2.6rem);
    border-top: 1px solid var(--line);
}
.hero-stat-n {
    font-family: var(--ff-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.01em;
}
:root[data-theme="dark"] .hero-stat-n { color: var(--accent-2); }
.hero-stat-l {
    margin-top: 0.55rem;
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
}

/* Hero visual — an emblem of long-term compounding ownership */
.hero-visual { display: grid; place-items: center; }
.emblem {
    position: relative;
    width: min(100%, 400px);
    aspect-ratio: 1 / 1;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(160deg, var(--paper-2), color-mix(in srgb, var(--paper-2) 70%, var(--paper-3)));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    place-items: center;
}
.emblem::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(75% 75% at 50% 45%, #000, transparent 78%);
    opacity: 0.7;
}
.emblem svg { width: 74%; height: 74%; position: relative; }
.emblem-cap {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: var(--ff-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-3);
}

/* ---- Marquee ----------------------------------------------------------- */
.marquee {
    border-block: 1px solid var(--line);
    background: var(--paper-2);
    overflow: hidden;
    padding-block: 1rem;
}
.marquee-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    width: max-content;
    animation: marquee 40s linear infinite;
    font-family: var(--ff-display);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--ink-2);
}
.marquee-track span { padding-inline: 0.4rem; }
.marquee .dot { color: var(--accent-2); font-style: normal; padding-inline: 0.7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- Split (mandate) --------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.split .h2 { margin-top: 1rem; }
.mandate-body { max-width: 56ch; color: var(--ink); font-size: 1.12rem; }
.mandate-points { margin-top: 2.2rem; display: grid; gap: 1.6rem; }
.mandate-point { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.mandate-point-no {
    font-family: var(--ff-mono);
    font-size: 0.8rem;
    color: var(--accent-2);
    padding-top: 0.25rem;
    letter-spacing: 0.05em;
}
.mandate-point h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.mandate-point p { color: var(--ink-2); font-size: 0.98rem; }

/* ---- Focus grid -------------------------------------------------------- */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}
.focus-card {
    position: relative;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.9rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
    overflow: hidden;
}
.focus-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.focus-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.focus-card:hover::after { transform: scaleX(1); }
.focus-no {
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    color: var(--ink-3);
    letter-spacing: 0.1em;
}
.focus-icon {
    width: 52px;
    height: 52px;
    margin: 1.1rem 0 1.3rem;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--accent-2-soft);
    color: var(--accent);
}
:root[data-theme="dark"] .focus-icon { color: var(--accent-2); }
.focus-icon svg { width: 26px; height: 26px; }
.focus-card h3 { font-size: 1.3rem; font-family: var(--ff-display); font-weight: 500; margin-bottom: 0.55rem; }
.focus-card > p { color: var(--ink-2); font-size: 0.98rem; }
.focus-tag {
    margin-top: 1.3rem;
    display: inline-block;
    font-family: var(--ff-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-2);
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
}

/* ---- Approach ---------------------------------------------------------- */
.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    counter-reset: step;
}
.app-step { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--line); }
.app-step .app-no {
    font-family: var(--ff-display);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--accent-2);
    margin-bottom: 0.9rem;
}
.app-step h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.app-step p { color: var(--ink-2); font-size: 0.96rem; }

/* ---- Portfolio --------------------------------------------------------- */
.port-note {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    max-width: 74ch;
    margin-bottom: 2.4rem;
    padding: 1rem 1.2rem;
    background: var(--accent-2-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: var(--ink-2);
}
.port-note svg { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }

.port-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.port-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.port-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.port-thumb {
    position: relative;
    aspect-ratio: 16 / 8;
    background: var(--paper-ink);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.port-thumb svg { width: 100%; height: 100%; }
.port-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    font-family: var(--ff-mono);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f0ece0;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(240, 236, 224, 0.25);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}
.port-body { padding: 1.6rem 1.7rem 1.8rem; }
.port-cat {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 0.6rem;
}
.port-body h3 { font-family: var(--ff-display); font-weight: 500; font-size: 1.4rem; margin-bottom: 0.55rem; }
.port-body p { color: var(--ink-2); font-size: 0.98rem; }
.port-scope {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    color: var(--ink-3);
}

/* ---- Why / principles -------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
.why-item { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.why-check {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    margin-bottom: 1.1rem;
}
:root[data-theme="dark"] .why-check { color: #08120e; }
.why-check svg { width: 20px; height: 20px; }
.why-item h3 { font-size: 1.15rem; font-family: var(--ff-display); font-weight: 500; margin-bottom: 0.45rem; }
.why-item p { color: var(--ink-2); font-size: 0.95rem; }

/* ---- Figures band ------------------------------------------------------ */
.band { background: var(--paper-ink); color: #ece7db; padding-block: clamp(3rem, 6vw, 4.5rem); }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.band-item { text-align: center; }
.band-n {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1;
    color: #e5c684;
    letter-spacing: -0.01em;
}
.band-l {
    margin-top: 0.7rem;
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(236, 231, 219, 0.72);
}

/* ---- FAQ --------------------------------------------------------------- */
.faq-wrap { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    padding: 1.45rem 0.2rem;
    font-family: var(--ff-display);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 500;
    color: var(--ink);
}
.faq-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--accent-2);
    transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-icon svg { width: 17px; height: 17px; }
.faq-item[data-open="true"] .faq-icon { transform: rotate(45deg); background: var(--accent-2-soft); }
.faq-a { height: 0; overflow: hidden; transition: height 0.34s var(--ease); }
.faq-a-inner { padding: 0 0 1.5rem; color: var(--ink-2); max-width: 68ch; }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band {
    position: relative;
    text-align: center;
    background: var(--paper-ink);
    color: #f0ece0;
    border-radius: clamp(20px, 3vw, 30px);
    padding: clamp(2.8rem, 6vw, 4.8rem) clamp(1.5rem, 5vw, 4rem);
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 120% at 50% -10%, rgba(212, 170, 89, 0.22), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band .h2 { color: #f6f2e8; margin-bottom: 0.9rem; }
.cta-band p { color: rgba(236, 231, 219, 0.78); max-width: 54ch; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2rem; }
.cta-band .btn--ghost { color: #f0ece0; border-color: rgba(240, 236, 224, 0.3); }
.cta-band .btn--ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ---- Page head --------------------------------------------------------- */
.page-head {
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
    background-image: var(--hero-glow);
}
.page-head .kicker { margin-bottom: 1.1rem; }
.page-head h1 {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.03;
    letter-spacing: -0.02em;
    max-width: 20ch;
}
.page-head .lead { margin-top: 1.3rem; }

/* ---- Activities page --------------------------------------------------- */
.act-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    padding-block: clamp(2.2rem, 4vw, 3.4rem);
    border-top: 1px solid var(--line);
}
.act-row:nth-child(even) .act-visual { order: -1; }
.act-num {
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    color: var(--accent-2);
    letter-spacing: 0.12em;
    margin-bottom: 0.9rem;
}
.act-row h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.9rem; }
.act-row > div > p { color: var(--ink-2); max-width: 52ch; }
.act-points { margin-top: 1.5rem; display: grid; gap: 0.8rem; }
.act-points li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink); font-size: 0.98rem; }
.act-points svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }
:root[data-theme="dark"] .act-points svg { color: var(--accent-2); }
.act-visual {
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.act-visual svg { width: 100%; height: 100%; }

.notice {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: 1.3rem 1.5rem;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent-2);
    border-radius: var(--radius-sm);
    background: var(--paper-2);
    color: var(--ink-2);
    font-size: 0.94rem;
    max-width: 90ch;
}
.notice svg { width: 22px; height: 22px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }

/* ---- Criteria grid ----------------------------------------------------- */
.crit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.crit-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.1rem;
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
}
.crit-num {
    font-family: var(--ff-display);
    font-size: 1.6rem;
    color: var(--accent-2);
    line-height: 1;
}
.crit-item h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.crit-item p { color: var(--ink-2); font-size: 0.95rem; }

/* ---- About page -------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.about-story p { color: var(--ink); margin-bottom: 1.15rem; font-size: 1.05rem; }
.about-story p:first-of-type { font-size: 1.15rem; }

.fact-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.9rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 96px;
}
.fact-card .kicker { margin-bottom: 1.3rem; }
.fact-list { display: grid; gap: 0; }
.fact-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line-soft);
    font-size: 0.92rem;
}
.fact-row:first-child { border-top: none; }
.fact-row dt { color: var(--ink-3); font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; padding-top: 2px; }
.fact-row dd { color: var(--ink); font-weight: 500; }
.fact-row dd a { color: var(--accent); border-bottom: 1px solid var(--line); }

.gov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 1rem; }
.gov-item { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.gov-item h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.gov-item p { color: var(--ink-2); font-size: 0.94rem; }
.gov-ico { width: 30px; height: 30px; color: var(--accent-2); margin-bottom: 0.9rem; }
.gov-ico svg { width: 100%; height: 100%; }

.verify-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding: clamp(1.6rem, 3vw, 2.4rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
}
.verify-card h3 { font-family: var(--ff-display); font-weight: 500; font-size: 1.4rem; margin-bottom: 0.5rem; }
.verify-card p { color: var(--ink-2); max-width: 60ch; }

.verify-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}
:root[data-theme="dark"] .verify-pill { color: #08120e; }
.verify-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.verify-pill svg { width: 18px; height: 18px; }

/* ---- Contact ----------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: clamp(1.6rem, 4vw, 3rem);
    align-items: start;
}
.form-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.6rem, 3.5vw, 2.6rem);
    box-shadow: var(--shadow-sm);
}
.form-card > h2 { font-family: var(--ff-display); font-weight: 500; font-size: 1.6rem; margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field label { font-size: 0.86rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--ink); }
.req { color: var(--accent-2); font-weight: 500; font-size: 0.78rem; }
.field input, .field select, .field textarea {
    font: inherit;
    font-size: 0.96rem;
    padding: 0.8rem 0.95rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-2-soft);
}
.field input.invalid, .field textarea.invalid { border-color: #c0492f; }
.field-err {
    display: none;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #c0492f;
}
.field.has-error .field-err { display: block; }

.consent { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0.4rem 0 1.1rem; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.form-privacy { font-size: 0.86rem; color: var(--ink-3); margin-bottom: 1.4rem; }
.form-privacy a { color: var(--accent); border-bottom: 1px solid var(--line); }
.form-demo-note { margin-top: 1rem; font-size: 0.8rem; color: var(--ink-3); text-align: center; }
.form-success {
    display: none;
    margin-bottom: 1.3rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    background: var(--accent-2-soft);
    border: 1px solid var(--accent-2);
    color: var(--ink);
    font-size: 0.92rem;
}
.form-success.show { display: block; }

.contact-aside { display: grid; gap: 1.1rem; }
.info-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.6rem;
}
.info-card h4 {
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
    margin-bottom: 0.6rem;
}
.info-card address { font-style: normal; color: var(--ink); line-height: 1.7; }
.info-card .info-meta { color: var(--ink); }
.info-card .info-meta a { color: var(--accent); border-bottom: 1px solid var(--line); }

/* ---- Legal pages ------------------------------------------------------- */
.legal { max-width: 800px; }
.legal-updated {
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 1.3rem;
}
.legal-intro { font-size: 1.12rem; color: var(--ink); margin-bottom: 2.4rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal-section { margin-bottom: 2rem; }
.legal-section h3 {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
}
.legal-section h3 .n { font-family: var(--ff-mono); font-size: 0.85rem; color: var(--accent-2); font-weight: 400; }
.legal-section p { color: var(--ink-2); }

/* ---- 404 --------------------------------------------------------------- */
.nf { text-align: center; padding-block: clamp(4rem, 12vw, 9rem); }
.nf-code { font-family: var(--ff-display); font-size: clamp(5rem, 18vw, 11rem); line-height: 1; color: var(--accent); letter-spacing: -0.03em; }
:root[data-theme="dark"] .nf-code { color: var(--accent-2); }
.nf h1 { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 1rem 0 0.8rem; }
.nf p { color: var(--ink-2); max-width: 46ch; margin: 0 auto 2rem; }

/* ---- Cookie notice ----------------------------------------------------- */
.cookie {
    position: fixed;
    left: clamp(0.8rem, 3vw, 1.6rem);
    bottom: clamp(0.8rem, 3vw, 1.6rem);
    z-index: 150;
    max-width: 430px;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.1rem 1.2rem;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.cookie.show { transform: translateY(0); opacity: 1; }
.cookie-ico { color: var(--accent-2); flex-shrink: 0; }
.cookie-ico svg { width: 26px; height: 26px; }
.cookie-body strong { display: block; font-size: 0.95rem; margin-bottom: 0.25rem; }
.cookie-body p { font-size: 0.83rem; color: var(--ink-2); line-height: 1.5; }
.cookie-body a { color: var(--accent); border-bottom: 1px solid var(--line); }
.cookie .btn { align-self: center; flex-shrink: 0; }

/* ---- Footer ------------------------------------------------------------ */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2.6rem;
    border-bottom: 1px solid var(--line);
}
.footer-brand .logo { margin-bottom: 1.1rem; }
.footer-tagline { color: var(--ink-2); font-size: 0.94rem; max-width: 38ch; margin-bottom: 1.3rem; }
.footer-id { font-size: 0.85rem; color: var(--ink-2); line-height: 1.85; }
.footer-id strong { color: var(--ink); }
.footer-id a { color: var(--accent); }
.footer-col h5 {
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
    margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a { color: var(--ink-2); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }

.footer-compliance {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--line);
}
.footer-compliance .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}
:root[data-theme="dark"] .footer-compliance .badge { color: var(--accent-2); }
.footer-compliance .badge svg { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: var(--accent-2-soft); }
.footer-compliance p { font-size: 0.85rem; color: var(--ink-2); max-width: 90ch; }

.footer-disclaimer { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.footer-disclaimer p { font-size: 0.8rem; color: var(--ink-3); max-width: 100ch; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.6rem 0 2.2rem;
    font-size: 0.82rem;
    color: var(--ink-3);
}
.footer-bottom a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.footer-bottom a:hover { color: var(--accent); }

/* ---- Reveal animations ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    * { scroll-behavior: auto !important; }
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 340px; margin-inline: auto; }
    .split { grid-template-columns: 1fr; gap: 1.5rem; }
    .app-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .band-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .gov-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .fact-card { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .act-row { grid-template-columns: 1fr; }
    .act-row .act-visual { order: -1; max-width: 460px; }
}

@media (max-width: 720px) {
    .nav-links {
        position: fixed;
        inset: 76px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 1rem var(--gutter) 1.6rem;
        box-shadow: var(--shadow);
        transform: translateY(-130%);
        transition: transform 0.4s var(--ease);
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links > li > a:not(.btn) { padding: 0.85rem 0.6rem; font-size: 1.05rem; }
    .nav-cta { display: none; }
    .nav-cta-m { display: inline-flex; justify-content: center; margin-top: 0.6rem; }
    .burger { display: inline-grid; }
    .logo-word small { display: none; }

    .focus-grid, .port-grid, .crit-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; gap: 1.4rem; }
    .app-grid, .why-grid, .band-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .verify-card { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; justify-content: center; }
    .cookie { flex-direction: column; left: 0.7rem; right: 0.7rem; max-width: none; }
    .cookie .btn { align-self: stretch; justify-content: center; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
    .display { font-size: clamp(2.1rem, 10.5vw, 2.55rem); }
    .page-head h1 { font-size: clamp(2rem, 9.5vw, 2.5rem); }
    .hero-kicker, .page-head .kicker {
        display: flex;
        flex-wrap: wrap;
        letter-spacing: 0.09em;
        font-size: 0.64rem;
        line-height: 1.5;
    }
    .hero-kicker::before, .page-head .kicker::before { width: 16px; }
}
