/* ============================================================
   HOLDSPOT hub — DESIGN v3 "LUSION GRADE" (2026-09-14).
   Total rebuild, owner reference: lusion.co.
   ------------------------------------------------------------
   PRINCIPLES (rules.txt + arrange.txt):
   - Typography IS the design: oversized display, tight leading,
     hairlines instead of boxes. No card chrome — text floats.
   - Canvas: near-black, images full-bleed and dimmed under type.
   - Geometry: 12px modulus (all spacing = n*12), container 1200px,
     asymmetry ONLY on 1/3-2/3 ratios (arrange.txt golden rule).
   - Motion: vanilla engine (hub.js) — reveals, parallax, count-ups,
     marquee, custom cursor. Respect reduced-motion.
   - Contrast >= 4.5:1, focus visible, one style for everything.
   ============================================================ */

body.hub {
    --bg: #0a0c10;
    --ink: #f2f4f8;
    --dim: #939bad;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .16);
    --accent: #7d9bff;
    --liq: #ffc94d; --val: #b39dff; --eng: #4de0b3;
    --success: #3ddc84; --danger: #ff5d6c; --warning: #ffc94d;

    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    /* compat aliases: legacy pages (world/donate scoped styles) reference
       the old token names — keep them mapped to the v3 palette */
    --fg: var(--ink); --secondary: var(--dim);
    --surface: #10131a; --surface-hover: #161b25;
    --border: rgba(255, 255, 255, .16); --radius: 0;
    --info: #5bc8ff;

    /* 12px modulus */
    --u: 12px;

    background: var(--bg); color: var(--ink);
    font-family: var(--font-body); font-size: .95rem;
    line-height: 1.55; margin: 0;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    min-height: 100svh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }
body > .footer { margin-top: 48px; flex: 0 0 auto; }

::selection { background: var(--accent); color: #0a0c10; }

/* ---------- skeleton ---------- */
.container { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.container-wide { max-width: 1440px; }

.sec { padding-block: 88px; position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }
@media (max-width: 760px) { .sec { padding-block: 56px; } }

/* section header pattern: mono index + huge title */
.sec-index {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: .7rem; letter-spacing: .3em;
    color: var(--dim); text-transform: uppercase; margin: 0 0 24px;
}
.sec-index b { color: var(--accent); font-weight: 500; }
.sec-title {
    font-family: var(--font-head); font-weight: 700; letter-spacing: -.03em;
    line-height: .98; margin: 0 0 36px;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    text-wrap: balance;
}
.sec-title .ghost {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .35);
}
.sec-lead {
    color: var(--dim); font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 100%; margin: 24px 0 0; text-align: left;
}

a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
    position: absolute; left: -9999px; top: 0; z-index: 300;
    background: var(--ink); color: var(--bg); padding: 12px 24px; font-weight: 700;
}
.skip:focus { left: 0; }

code, .mono { font-family: var(--font-mono); font-size: .85em; }

/* ---------- nav: floating wordmark + word links, hairline ---------- */
.topnav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    transition: background .3s ease, border-color .3s ease;
    border-bottom: 1px solid transparent;
}
.topnav.scrolled {
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
}
/* When the mobile menu is open, drop the header blur: backdrop-filter makes
   the header the containing block for the fixed menu overlay and traps it. */
.topnav:has(.nav-toggle:checked) {
    background: transparent; border-bottom-color: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.nav-in {
    max-width: 1440px; margin-inline: auto; padding: 12px 24px;
    display: flex; align-items: center; gap: 24px;
}
.brand {
    font-family: 'Space Grotesk', sans-serif; /* the hero display font */
    font-weight: 700; font-size: 1.05rem;
    letter-spacing: .1em; color: var(--ink); text-decoration: none;
}
.brand b { color: var(--accent); }
.nav-toggle { display: none; }
.nav-burger {
    display: none; order: 3; margin-left: auto; cursor: pointer;
    width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 0;
    color: var(--ink); text-align: center; line-height: 42px; background: transparent;
    font-size: 1rem;
}
.menu { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.menu a {
    font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
    letter-spacing: .25em; text-transform: uppercase;
    color: var(--dim); text-decoration: none; padding: 4px 0; position: relative;
}
.menu a::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: var(--accent); transition: width .25s ease;
}
.menu a:hover, .menu a.on { color: var(--ink); }
.menu a:hover::after, .menu a.on::after { width: 100%; }
.langsel { position: relative; }
.langsel summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: .68rem; letter-spacing: .25em;
    text-transform: uppercase; color: var(--dim); padding: 4px 0; background: transparent; border: 0;
}
.langsel summary::-webkit-details-marker { display: none; }
.langsel summary:hover { color: var(--ink); }
.langsel .chev { font-size: 8px; }
.langsel[open] .chev { transform: rotate(180deg); }
.lang-pop {
    position: absolute; right: 0; top: calc(100% + 12px); min-width: 168px;
    background: #10131a; border: 1px solid var(--line-strong); padding: 6px; z-index: 210;
}
.lang-pop a {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    text-decoration: none; color: var(--ink); font-size: .8rem; font-family: var(--font-body);
    letter-spacing: 0; text-transform: none;
}
.lang-pop a i { width: 14px; text-align: center; color: var(--dim); font-size: 11px; }
.lang-pop a:hover { background: rgba(255, 255, 255, .05); }

/* ---------- hero: canvas + giant type over the dimmed map ---------- */
.hero {
    position: relative; min-height: 100svh;
    display: grid; place-items: center;
    overflow: hidden; background: var(--bg);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(.38) saturate(.85);
}
.hero::after {   /* vignette so the type always wins */
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        radial-gradient(90% 70% at 50% 42%, transparent 0%, rgba(10, 12, 16, .78) 100%),
        linear-gradient(180deg, rgba(10, 12, 16, .55) 0%, transparent 30%, rgba(10, 12, 16, .85) 100%);
}
.hero-core {
    position: relative; z-index: 2; text-align: center;
    padding: 110px 24px 72px; max-width: 1104px;
}
@media (max-height: 880px) {
    .hero-core { padding: 84px 24px 48px; }
    .hero-sub { margin: 24px auto 32px; }
}
.hero-tag {
    font-family: var(--font-mono); font-size: .7rem; letter-spacing: .4em;
    text-transform: uppercase; color: var(--accent); margin: 0 0 24px;
}
.display {
    font-family: var(--font-head); font-weight: 700;
    /* capped by viewport height too, so the hero always fits one screen */
    font-size: min(clamp(3rem, 9.5vw, 7.5rem), 13svh);
    line-height: .92; letter-spacing: -.035em; margin: 0;
    text-transform: uppercase;
}
.display .ghost {
    color: transparent; -webkit-text-stroke: 1.5px rgba(242, 244, 248, .85);
}
.hero-sub {
    color: var(--dim); font-size: clamp(.95rem, 1.6vw, 1.15rem);
    max-width: 58ch; margin: 36px auto 48px;
}
.hero-sub b { color: var(--ink); font-weight: 600; }
/* the punchline stands on its own single line, below the intro */
.hero-sub-b { color: var(--ink); font-weight: 600; max-width: none; margin: -28px auto 48px; }
.hero-sub-b b { color: var(--ink); font-weight: 600; }
.cta-row {
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    justify-content: center;
}
.cta-row .cta-note { font-size: 1rem; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- marquee ticker ---------- */
.marquee {
    border-block: 1px solid var(--line); overflow: hidden; white-space: nowrap;
    padding: 12px 0; background: var(--bg);
}
.marquee-track {
    display: inline-flex; gap: 64px; padding-right: 64px;
    animation: marquee 28s linear infinite;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
}
.marquee-track i { color: var(--accent); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- stats: giant numbers, hairline columns ---------- */
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
}
.stat {
    padding: 48px 24px; text-align: center;
    border-right: 1px solid var(--line);
}
.stat:nth-child(4n) { border-right: 0; }
.stat:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
.stat b {
    display: block; font-family: var(--font-head); font-weight: 700;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1; letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}
.stat span {
    display: block; margin-top: 12px;
    font-family: var(--font-mono); font-size: .62rem; font-weight: 500;
    letter-spacing: .3em; text-transform: uppercase; color: var(--dim);
}
.stat.t-liq b { color: var(--liq); } .stat.t-val b { color: var(--val); } .stat.t-eng b { color: var(--eng); }
.stats-note {
    margin: 24px 0 0; text-align: right;
    font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em;
    text-transform: uppercase; color: var(--dim);
}
.stats-note i { color: var(--success); margin-right: 8px; }
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat { border-bottom: 1px solid var(--line) !important; border-right: 1px solid var(--line); }
    .stat:nth-child(2n) { border-right: 0; }
    .stat:nth-last-child(-n+2) { border-bottom: 0 !important; }
}

/* ---------- split: 4-column canvas — image centered in the columns it
   spans (c2/c1), stretched to the full row height, cropping the sides ---------- */
.split {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; align-items: stretch;
}
.split .c1 { grid-column: span 1; }
.split .c2 { grid-column: span 2; }
.split .c3 { grid-column: span 3; }
.split + .split { margin-top: 64px; }
.split-copy { padding-bottom: 12px; }
.split-copy .sec-title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 36px; }
.split-copy .lead { color: var(--dim); margin: 0 0 24px; }

/* media cell: rounded shot stretched to the full row height, image fills it */
.split-media { position: relative; display: flex; justify-content: center; align-items: stretch; }
.split-media .shot {
    margin: 0; overflow: hidden; width: 100%; height: 100%;
    border-radius: 28px; background: #0e1016;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .45), 0 6px 18px rgba(0, 0, 0, .35);
}
.split-media .shot img {
    width: 100%; height: 100%; min-height: 0;
    object-fit: cover; object-position: center center;
    filter: saturate(.92);
    transition: filter .4s ease, transform .6s ease;
}
.split-media .shot:hover img { filter: saturate(1.05); transform: scale(1.02); }
.split-media .shot figcaption { display: none; }

/* standalone shots (outside .split-media keep natural size, rounded + shadow) */
.shot { margin: 0; position: relative; overflow: hidden; }
.shot img {
    max-width: 100%; height: auto; /* guard: an image may never exceed its column */
    filter: saturate(.92);
    transition: filter .4s ease, transform .6s ease;
}
.shot.half { width: 50%; } /* oversized screenshots rendered at half column width */
.shot:hover img { filter: saturate(1.05); transform: scale(1.02); }
.shot figcaption {
    position: absolute; left: 0; bottom: 0; z-index: 2;
    font-family: var(--font-mono); font-size: .62rem; letter-spacing: .3em;
    text-transform: uppercase; color: var(--ink);
    background: rgba(10, 12, 16, .72); padding: 8px 16px;
}

/* feature list: no hairlines, big icons, justified copy */
.feat { list-style: none; margin: 24px 0 0; padding: 0; }
.feat li { padding: 14px 0; display: grid; gap: 4px; }
.feat li b {
    font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
    letter-spacing: .25em; text-transform: uppercase; color: var(--accent);
}
.feat span { color: var(--dim); font-size: .9rem; text-align: left; }

/* ---------- pillars: editorial index rows (no cards) ---------- */
.rows { border-top: 1px solid var(--line-strong); }
.row {
    display: grid; grid-template-columns: 96px 1fr 2fr; gap: 24px;
    padding: 36px 0; border-bottom: 1px solid var(--line);
    align-items: baseline; text-decoration: none; color: var(--ink);
    transition: padding-left .3s ease;
}
.row:hover { padding-left: 24px; }
.row .n {
    align-self: stretch; display: flex; align-items: center;
    justify-self: start; color: var(--accent); padding: 12px 0;
}
.row .n i { font-size: clamp(3rem, 4vw, 5rem); line-height: 1; }
.row h3 {
    font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem);
    letter-spacing: -.02em; margin: 0; line-height: 1.05;
}
.row h3 i { color: var(--accent); font-size: .7em; margin-left: 12px; }
.row p { color: var(--dim); font-size: .95rem; margin: 0; max-width: 52ch; }
@media (max-width: 760px) {
    .row { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- pills: glass statement cards ---------- */
.pills3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0 56px; }
.pill3, .steps .step {
    background: rgba(255, 255, 255, .045);
    border: 1px solid var(--line);
    border-radius: 24px; padding: 32px;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}
.pill3 h3 {
    font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
    letter-spacing: -.02em; margin: 0 0 12px;
}
.pill3 h3 i {
    color: var(--accent); font-size: 2rem; display: block; margin: 0 0 16px;
    filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 45%, transparent));
}
.pill3 p { color: var(--dim); font-size: .92rem; margin: 0; text-align: left; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { border-top: 0; }
.step-n {
    font-family: var(--font-mono); font-size: .7rem; letter-spacing: .3em;
    color: var(--accent); display: block; margin-bottom: 12px;
}
.step b { display: block; font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 6px; }
.step span:last-child { color: var(--dim); font-size: .9rem; display: block; text-align: left; }
.seo-copy { color: var(--dim); font-size: .92rem; max-width: 100%; margin: 32px 0 0; text-align: left; }

/* ---------- CTA: the giant closer ---------- */
.cta-band { text-align: center; padding-block: 32px; position: relative; }
.cta-band .display { font-size: clamp(2.6rem, 8vw, 6.4rem); }
.cta-band .lead { color: var(--dim); margin: 24px auto 48px; max-width: 46ch; text-align: center; }
.cta-band .cta-note {
    display: block; margin-top: 24px; font-family: var(--font-mono); font-size: .68rem;
    letter-spacing: .3em; text-transform: uppercase; color: var(--dim);
}

/* ---------- buttons: sharp rectangles, one style ---------- */
.cta, .btn-send {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--accent); color: #0a0c10; text-decoration: none;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 12px 48px; border: 0; cursor: pointer; border-radius: 0;
    transition: background .2s ease, letter-spacing .3s ease;
}
.cta:hover, .btn-send:hover { background: var(--ink); letter-spacing: .14em; }
.cta i, .btn-send i { font-size: 12px; }
.cta-note { color: var(--dim); font-size: .8rem; }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 12px;
    background: transparent; color: var(--ink); border: 1px solid var(--line-strong);
    padding: 12px 48px; font-family: var(--font-head); font-weight: 700;
    font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
    text-decoration: none; border-radius: 0; transition: border-color .2s ease, color .2s ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- page head ---------- */
.page-head { padding-block: 140px 8px; position: relative; }
.page-head .sec-title { font-size: clamp(2.6rem, 7vw, 5.4rem); }

/* ---------- app page: dark alternating sections + feature chips ---------- */
.sec-dark { background: color-mix(in srgb, var(--bg) 72%, #000); }
.chip {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; flex: 0 0 48px;
    border: 1px solid var(--line-strong); color: var(--accent);
    font-size: 1.15rem; border-radius: 14px;
    background: rgba(255, 255, 255, .045);
}
.chip.t-liq { color: var(--liq); }
.chip.t-val { color: var(--val); }
.chip.t-eng { color: var(--eng); }
.chip.t-danger { color: var(--danger); }
.feat li:has(.chip) { grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
.feat li:has(.chip) > span:last-child { display: grid; gap: 4px; }

/* ---------- about: timeline dates sit on the title's first line ---------- */
.pg-about .row { align-items: start; }
.pg-about .row .n { align-self: start; padding-top: 10px; }
.pg-about .row p { max-width: none; } /* description fills the whole column, to the right edge */

/* app: secțiunile în oglindă (poza în stânga) — textul se lipește de marginea dreaptă */
.split.rev .split-copy { text-align: right; }
.split.rev .split-copy .sec-index { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.split.rev .feat li { text-align: right; }
.split.rev .feat li b, .split.rev .feat li span { text-align: right; } /* overrides the old justify */
.split.rev .feat li:has(.chip) { grid-template-columns: 1fr auto; column-gap: 14px; }
.split.rev .feat li:has(.chip) > span.chip { order: 2; justify-self: end; }

/* ---------- blog: glass cards ---------- */
.post-list { display: grid; gap: 24px; }
.post-row {
    display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start;
    padding: 36px 40px; border: 1px solid var(--line); border-radius: 24px;
    background: rgba(255, 255, 255, .045);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
    text-decoration: none; color: var(--ink);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.post-row:hover {
    transform: translateY(-4px); border-color: var(--line-strong);
    box-shadow: 0 24px 56px rgba(0, 0, 0, .4);
}
.post-row .meta {
    font-family: var(--font-mono); font-size: .62rem; letter-spacing: .25em;
    text-transform: uppercase; color: var(--dim); line-height: 2;
    display: flex; flex-wrap: wrap; gap: 4px 24px;
}
.post-row .meta i { margin-right: 8px; color: var(--accent); }
.post-row h3 {
    font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em;
    font-size: clamp(1.4rem, 3vw, 2.2rem); margin: 0 0 8px; line-height: 1.05;
}
.post-row h3 a { color: inherit; text-decoration: none; }
.post-row h3 a:hover { color: var(--accent); }
.post-row .dek { color: var(--dim); font-size: .95rem; margin: 0; max-width: 100%; text-align: left; }
.post-row .more {
    display: inline-flex; align-items: center; gap: 12px; justify-self: start;
    background: var(--accent); color: #0a0c10; text-decoration: none;
    font-family: var(--font-head); font-weight: 700; font-size: .9rem;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 10px 32px; border-radius: 0; white-space: nowrap;
    transition: background .2s ease, letter-spacing .3s ease;
}
.post-row .more:hover { background: var(--ink); letter-spacing: .14em; }

.post-body { max-width: none; }
.post-body p { margin: 0 0 24px; color: #c7ccda; font-size: 1.02rem; line-height: 1.75; }
.post-body h2 {
    font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em;
    font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 60px 0 24px;
    text-transform: uppercase; line-height: 1;
}
.post-body ul { padding-left: 24px; margin: 0 0 24px; }
.post-body li { margin-bottom: 12px; color: #c7ccda; }
.post-body b { color: var(--ink); }

.like-btn {
    display: inline-flex; align-items: center; gap: 16px;
    background: transparent; color: var(--ink); border: 1px solid var(--line-strong);
    border-radius: 0; padding: 12px 36px; font: inherit; font-weight: 700;
    font-size: .85rem; cursor: pointer; letter-spacing: .05em;
    transition: border-color .2s ease, background .2s ease;
}
.like-btn i { color: var(--danger); }
.like-btn:hover:not(:disabled) { border-color: var(--danger); }
.like-btn.liked { background: color-mix(in srgb, var(--danger) 15%, transparent); border-color: var(--danger); }
.like-btn:disabled { cursor: default; opacity: .8; }

.comments { border-top: 1px solid var(--line-strong); margin-top: 24px; }
.comment { padding: 24px 0; border-bottom: 1px solid var(--line); }
.c-head { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.c-head b { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.c-head b i { margin-right: 8px; }
.c-head time { color: var(--dim); font-size: .7rem; font-family: var(--font-mono); }
.comment p { margin: 8px 0 0; color: #c7ccda; font-size: .95rem; }
.empty-note { color: var(--dim); font-size: .9rem; }

/* ---------- forms: line-based, no boxes ---------- */
.form { display: grid; gap: 24px; max-width: none; margin-top: 32px; }
.field { display: grid; gap: 8px; }
.field label {
    font-family: var(--font-mono); font-size: .62rem; font-weight: 500;
    letter-spacing: .3em; text-transform: uppercase; color: var(--dim);
}
.field input, .field textarea {
    background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
    color: var(--ink); font: inherit; font-size: 1rem; padding: 12px 0; border-radius: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible {
    outline: 0; border-bottom-color: var(--accent);
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { color: var(--dim); font-size: .75rem; font-family: var(--font-mono); letter-spacing: .1em; }

/* ---------- forum: editorial, same language ---------- */
.forum-grid { border-top: 1px solid var(--line-strong); }
.forum-cat {
    display: grid; grid-template-columns: 72px 1fr auto; gap: 24px; align-items: end;
    padding: 36px 0; border-bottom: 1px solid var(--line);
    text-decoration: none; color: var(--ink); transition: padding-left .3s ease;
}
.forum-cat:hover { padding-left: 24px; }
.forum-cat .chip {
    font-family: var(--font-mono); font-size: 1.2rem; color: var(--accent); text-align: center;
}
.forum-cat .chip.t-acc { color: var(--accent); }
.forum-cat .chip.t-liq { color: var(--liq); }
.forum-cat .chip.t-val { color: var(--val); }
.forum-cat .chip.t-eng { color: var(--eng); }
.forum-cat .chip.t-danger { color: var(--danger); }
.forum-cat .chip i { display: block; }
.forum-cat h3 {
    font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.8rem);
    letter-spacing: -.02em; margin: 0 0 4px; line-height: 1.1;
}
.forum-cat p { color: var(--dim); font-size: .9rem; margin: 0 0 8px; }
.forum-cat .fmeta {
    font-family: var(--font-mono); font-size: .62rem; letter-spacing: .25em;
    text-transform: uppercase; color: var(--dim);
}
.thread-row {
    display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline;
    padding: 24px 0; border-bottom: 1px solid var(--line);
    text-decoration: none; color: var(--ink); transition: padding-left .3s ease;
}
.thread-row:hover { padding-left: 24px; }
.thread-row h3 {
    font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
    letter-spacing: -.01em; margin: 0 0 4px;
}
.thread-row:hover h3 { color: var(--accent); }
.thread-row .tmeta { color: var(--dim); font-size: .72rem; font-family: var(--font-mono); }
.thread-row .tstat {
    font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em;
    text-transform: uppercase; color: var(--dim); text-align: right; line-height: 1.8;
}
.thread-row .tstat i { margin-right: 6px; }

.forum-post { padding: 24px 0; border-bottom: 1px solid var(--line); }
.forum-post.op { border-bottom-color: var(--line-strong); }
.forum-post .p-head {
    display: flex; flex-wrap: wrap; gap: 8px 36px; align-items: baseline; margin-bottom: 12px;
    font-family: var(--font-mono); font-size: .62rem; letter-spacing: .25em;
    text-transform: uppercase; color: var(--dim);
}
.forum-post .p-head b { color: var(--accent); font-weight: 500; }
.forum-post .p-body { font-size: 1rem; color: #c7ccda; overflow-wrap: break-word; }
.forum-cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 48px; }
.pager { display: flex; gap: 6px; margin-top: 48px; }
.pager a {
    min-width: 44px; height: 44px; display: grid; place-items: center;
    border: 1px solid var(--line-strong); color: var(--dim);
    text-decoration: none; font-family: var(--font-mono); font-size: .75rem;
}
.pager a:hover { color: var(--ink); border-color: var(--ink); }
.pager a.on { border-color: var(--accent); color: var(--accent); }
.locked-note { color: var(--warning); font-size: .9rem; font-family: var(--font-mono); letter-spacing: .1em; }

/* ---------- prose (terms / privacy): reading width, centered, justified ---------- */
.prose { max-width: 880px; margin-inline: auto; }
.prose p { text-align: left; }
.prose h2 {
    font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em;
    font-size: 1.5rem; margin: 48px 0 12px; text-transform: uppercase;
}
.prose p { margin: 0 0 12px; color: #c7ccda; }
.prose ul { padding-left: 24px; margin: 0 0 12px; color: #c7ccda; }
.prose li { margin-bottom: 8px; }
.prose .note {
    border-left: 2px solid var(--accent); padding: 12px 24px;
    color: var(--dim); font-size: .9rem; margin-top: 48px;
}

/* ---------- footer: compact, hairline, even spacing ---------- */
.footer { border-top: 1px solid var(--line-strong); margin-top: 64px; padding-block: 40px 32px; }
.foot-in {
    display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
}
.copy { color: var(--dim); font-size: .78rem; font-family: var(--font-mono); letter-spacing: .05em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 36px; }
.foot-links a {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--dim); text-decoration: none; font-size: .78rem;
    font-family: var(--font-mono); letter-spacing: .15em; text-transform: uppercase;
}
.foot-links a i { font-size: 13px; }
.foot-links a:hover { color: var(--ink); }
.foot-links a .ic-discord { color: #5865f2; }
.foot-links a .ic-whatsapp { color: #25d366; }

/* ---------- grain overlay (visual cue) ---------- */
.grain {
    position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- motion: reveal engine hooks ---------- */
/* Hidden state only when JS is available (html.js set by boot.js) —
   without JS the page stays fully visible. */
html.js [data-reveal] {
    opacity: 0; transform: translateY(48px);
    transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--d, 0s);
}
html.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hero-media img, .marquee-track { animation: none; }
    * { transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .split, .split.rev { grid-template-columns: 1fr; gap: 24px; }
    .split .c1, .split .c2, .split .c3 { grid-column: auto; }
    /* mobile: copy first, image ALWAYS last, capped to a readable band */
    .split .split-media { order: 2; }
    .split-media .shot img { height: 260px; width: 100%; object-fit: cover; object-position: top center; }
    .pills3, .steps { grid-template-columns: 1fr; gap: 36px; }
    .post-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 860px) {
    .nav-burger { display: block; }
    .menu {
        display: none; position: fixed; inset: 0;
        flex-direction: column; justify-content: center; align-items: center; gap: 36px;
        background: #0a0c10; z-index: 150; height: 100dvh;
    }
    .menu a { font-size: 1rem; }
    .nav-toggle:checked ~ .menu { display: flex; }
    .langsel { position: absolute; top: 24px; right: 84px; z-index: 160; }
    .topnav:has(.nav-toggle:checked) { background: transparent; }
}
/* lock the page scroll while the mobile menu overlay is open */
body:has(.nav-toggle:checked) { overflow: hidden; }
@media (max-width: 560px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat { padding: 24px 12px; }
    .cta { padding: 12px 36px; width: 100%; justify-content: center; }
    .cta-band .cta { width: max-content; max-width: calc(100% - 48px); margin-inline: auto; display: flex; }
    .cta-band .cta-note { display: block; padding-inline: 24px; }
    .page-head { padding-block: 144px 48px; }
    /* footer: two balanced link columns — 4 left, 3 right, evenly spread */
    .foot-in { flex-direction: column; text-align: center; gap: 24px; }
    .foot-links {
        display: grid; grid-auto-flow: column;
        grid-template-rows: repeat(3, auto); grid-template-columns: 1fr 1fr;
        width: 100%; gap: 18px 48px;
    }
    .foot-links a { justify-content: center; }
}

/* ---------- shared helpers (v3) ---------- */
.sec-head { margin-bottom: 48px; }
.lead { color: var(--dim); font-size: clamp(1rem, 1.6vw, 1.2rem); margin: 0; text-align: left; }

/* ---------- donate / support: same template, big icons, plain BTC ---------- */
.pg-card {
    background: rgba(255, 255, 255, .045); border: 1px solid var(--line); border-radius: 24px;
    padding: 36px 40px; margin-bottom: 24px;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}
.pg-card h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; margin: 0 0 12px; }
.pg-card p { margin: 0 0 12px; color: var(--dim); text-align: left; }
.pg-card p:last-child { margin-bottom: 0; }
.pg-ico {
    color: var(--accent); font-size: 2rem; display: block; margin: 0 0 16px;
    filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 45%, transparent));
}
.pg-btc {
    font-family: var(--font-mono); font-size: 1.05rem; color: var(--ink);
    background: none; border: 0; padding: 0; margin: 8px 0;
    word-break: break-all; user-select: all; cursor: text; text-align: left;
}
.pg-small { font-size: .9rem; }
.pg-meter { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 999px; height: 12px; overflow: hidden; margin: 32px 0 8px; }
.pg-meter span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.pg-meter-note { color: var(--dim); font-size: .85rem; margin: 0; }
/* forum: admin tag next to the name */
.forum-post .adm, .lead .adm {
    font-family: var(--font-mono); font-size: .58rem; letter-spacing: .25em;
    color: var(--accent); border: 1px solid var(--accent); padding: 2px 8px;
    vertical-align: middle; margin-left: 8px;
}

/* ================= mosaic layout system (8-column) =================
   New page-layout grammar, first used by the App page. Sits beside the
   old .split system without touching it: .mos is an 8-column grid,
   blocks span m2..m6, vertical rhythm via push offsets, media framed
   by fixed aspect ratios, feature copy carried by .mcard cards.      */

.mos {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 56px 32px;
    align-items: start;
}
.m2 { grid-column: span 2; }
.m3 { grid-column: span 3; }
.m4 { grid-column: span 4; }
.m5 { grid-column: span 5; }
.m8 { grid-column: span 8; }

/* vertical offsets so no two sections repeat the same silhouette */
.push-1 { margin-top: 72px; }
.push-2 { margin-top: 128px; }

/* framed media: fixed aspect, never oversized */
.mos .media {
    border-radius: 24px; overflow: hidden;
    background: #0e1016;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .45), 0 6px 18px rgba(0, 0, 0, .35);
}
.mos .media img {
    display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    filter: saturate(.92);
    transition: filter .4s ease, transform .6s ease;
}
.mos .media:hover img { filter: saturate(1.05); transform: scale(1.02); }
/* top-anchored media: the frame stretches to the height of the text
   column next to it (bottom edge pinned), the image fills it anchored at
   the top — on bigger screens it grows upward, nothing else moves */
.media.banner { aspect-ratio: auto; height: 300px; align-self: auto; }
.media.banner img { width: 100% !important; height: 300px !important; object-fit: cover; object-position: center; }
.media.nat { aspect-ratio: auto; align-self: stretch; }
.media.nat img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.media.a11 { aspect-ratio: 1 / 1; }
.media.a43 { aspect-ratio: 4 / 3; }
.media.a34 { aspect-ratio: 3 / 4; }
.media.a169 { aspect-ratio: 16 / 9; }

/* feature cards replace the old bullet list */
.mrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mstack { display: grid; gap: 24px; align-content: start; }
.mcard {
    border: 1px solid var(--line-strong); border-radius: 18px;
    padding: 22px 24px; background: rgba(255, 255, 255, .03);
}
.sec-dark .mcard { background: rgba(0, 0, 0, .22); }
.mcard .chip { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; font-size: 1rem; margin-bottom: 16px; }
.mcard b {
    display: block; font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
    letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.mcard p { margin: 0; color: var(--dim); font-size: .9rem; text-align: left; }
.mcard.t-acc { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.mcard.t-acc .chip { color: var(--accent); }
.mcard.t-liq { border-color: color-mix(in srgb, var(--liq) 45%, transparent); }
.mcard.t-val { border-color: color-mix(in srgb, var(--val) 45%, transparent); }
.mcard.t-eng { border-color: color-mix(in srgb, var(--eng) 45%, transparent); }
.mcard.t-danger { border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.mcard.t-danger .chip { color: var(--danger); }
.mcard.t-liq .chip { color: var(--liq); }
.mcard.t-val .chip { color: var(--val); }
.mcard.t-eng .chip { color: var(--eng); }

.mos .copy { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; }
.mos .copy .lead { color: var(--dim); margin: 0 0 24px; }
.mos .copy .sec-title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 36px; }

@media (max-width: 1080px) {
    .mos { gap: 40px 24px; }
    .push-1 { margin-top: 40px; }
    .push-2 { margin-top: 56px; }
    .mcard p { text-align: left; }
}

@media (max-width: 860px) {
    .mos { grid-template-columns: 1fr; gap: 28px; }
    .m2, .m3, .m4, .m5, .m8 { grid-column: auto; }
    .push-1, .push-2 { margin-top: 0; }
    /* text first, then a normal-sized image — never a towering one */
    .mos .media { order: 2; }
    .media.a11, .media.a43, .media.a34, .media.a169 { aspect-ratio: auto; }
    .mos .media img { height: 240px; }
    /* mobile: no text column to stretch against — fall back to a 1:1 window */
    .media.nat { align-self: auto; aspect-ratio: 1 / 1; }
    .media.nat img { height: 100% !important; object-position: bottom center; }

    .media.a34 img { height: 300px; }
    .mrow { grid-template-columns: 1fr; gap: 16px; }
    .mcard { padding: 18px 20px; }
}

/* transparent screenshots: no card backdrop, no shadow (owner 2026-09-16) */
.mos .media.no-shadow { box-shadow: none; background: transparent; }
.mos .media.no-shadow img { object-fit: contain; }
