/* ═══════════════════════════════════════════════════════════════
   VOICES by Tratok
   Base: Tratok Design System v2.0 tokens (Tratok.info/styles/main.css)
   Tone: calm, trustworthy, human. Teal = trust, amber = caution.
   ═══════════════════════════════════════════════════════════════ */

:root {
    --ember: #E85D3A;
    --teal: #2ECDA7;
    --teal-glow: #5BFFCF;
    --teal-deep: #1A9B7A;
    --amber: #F5A623;
    --amber-glow: #FFD076;
    --violet: #A78BFA;
    --info: #60A5FA;
    --danger: #F87171;
    --success: #34D399;

    --void: #0B0E17;
    --abyss: #111827;
    --slate: #1E293B;
    --surface: #243044;

    --white: #FFFFFF;
    --snow: #F1F5F9;
    --text: #CBD5E1;
    --mist: #94A3B8;
    --ghost: #64748B;

    --glass: rgba(255, 255, 255, 0.04);
    --glass-2: rgba(255, 255, 255, 0.07);
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.16);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-full: 999px;

    --font-head: 'Sora', 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

    --wrap: 1320px;
    --narrow: 780px;
    --gutter: 16px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--void);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-glow); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--white); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); font-weight: 700; }
h3, .h3 { font-size: 1.22rem; font-weight: 700; }
h4, .h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.2em; padding-left: unset; }
code { font-family: var(--font-mono); font-size: 0.86em; }
strong { color: var(--snow); }
.small { font-size: 0.88rem; }
.muted { color: var(--mist); }
.warn-text { color: var(--amber); }
.center { text-align: center; margin-top: 28px; }
.center-text { text-align: center; }
.mt { margin-top: 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -9999px; top: 8px; background: var(--teal); color: var(--void); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { inset-inline-start: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow, .narrow { max-width: var(--narrow); }
.measure { max-width: var(--narrow); }
.wrap-any { word-break: break-all; }

/* ─── Safety strip ─── */
.safety-strip { background: linear-gradient(90deg, rgba(46,205,167,0.14), rgba(245,166,35,0.10)); border-bottom: 1px solid var(--line); font-size: 0.86rem; color: var(--snow); }
.safety-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-top: 8px; padding-bottom: 8px; }
.safety-strip a { color: var(--teal-glow); font-weight: 600; white-space: nowrap; padding: 3px 0; }
.safety-icon { color: var(--teal); flex-shrink: 0; }

/* ─── Header ───
   Wide screens: one row (brand · links · tools). The compact menu (hamburger)
   takes over below 1260px, or earlier when voices.js finds that the links do not
   fit on one line in the chosen language (.site-header.is-compact). */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,14,23,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; min-height: 68px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); flex-shrink: 0; order: 1; }
.brand img { border-radius: 8px; }
.brand-text { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--white); }
.brand-by { font-size: 0.8rem; color: var(--mist); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 2px; order: 2; margin-inline-start: auto; min-width: 0; }
.nav-link { color: var(--text); text-decoration: none; padding: 8px 11px; border-radius: var(--radius-full); font-weight: 500; font-size: 0.94rem; white-space: nowrap; }
.nav-link:hover { color: var(--white); background: var(--glass-2); }
.nav-link.is-active { color: var(--white); background: var(--glass-2); }
.nav-form { margin: 0; display: inline; }
.as-link { background: none; border: 0; font: inherit; cursor: pointer; }
.nav-cta { margin-inline-start: 8px; white-space: nowrap; }
.nav-extra { display: none; }
.header-tools { display: flex; align-items: center; gap: 8px; order: 3; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 44px; height: 44px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--snow); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Compact menu: the same rules twice, once by width and once by class (see voices.js). */
@media (max-width: 1260px) {
    .header-tools { margin-inline-start: auto; }
    .nav-toggle { display: flex; }
    .site-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--gutter) 18px; background: var(--abyss); border-bottom: 1px solid var(--line-strong); box-shadow: 0 18px 40px rgba(0,0,0,0.45); max-height: calc(100vh - 110px); overflow-y: auto; display: none; }
    .site-nav.is-open { display: flex; }
    .nav-link { padding: 13px 14px; border-radius: 10px; font-size: 1rem; }
    .nav-form .nav-link { width: 100%; text-align: start; }
    .nav-cta { margin: 10px 0 0; padding: 13px 22px; font-size: 1rem; }
    .nav-extra { display: block; }
    .nav-case { margin-top: 8px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 16px; }
    .user-menu { display: none; }
}
.is-compact .header-tools { margin-inline-start: auto; }
.is-compact .nav-toggle { display: flex; }
.is-compact .site-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--gutter) 18px; background: var(--abyss); border-bottom: 1px solid var(--line-strong); box-shadow: 0 18px 40px rgba(0,0,0,0.45); max-height: calc(100vh - 110px); overflow-y: auto; display: none; }
.is-compact .site-nav.is-open { display: flex; }
.is-compact .nav-link { padding: 13px 14px; border-radius: 10px; font-size: 1rem; }
.is-compact .nav-form .nav-link { width: 100%; text-align: start; }
.is-compact .nav-cta { margin: 10px 0 0; padding: 13px 22px; font-size: 1rem; }
.is-compact .nav-extra { display: block; }
.is-compact .nav-case { margin-top: 8px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 16px; }
.is-compact .user-menu { display: none; }

/* Header dropdowns: language and account. */
.hdr-menu { position: relative; }
.hdr-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: var(--radius-full); border: 1px solid var(--line-strong); color: var(--snow); font-size: 0.84rem; font-weight: 600; user-select: none; }
.hdr-menu > summary::-webkit-details-marker { display: none; }
.hdr-menu > summary:hover, .hdr-menu[open] > summary { background: var(--glass-2); }
.hdr-menu ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 210px; max-height: 70vh; overflow-y: auto; background: var(--abyss); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,0.5); display: grid; gap: 2px; }
.hdr-menu a, .hdr-menu button { display: block; width: 100%; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font: 500 0.93rem var(--font-body); background: none; border: 0; text-align: start; cursor: pointer; }
.hdr-menu a:hover, .hdr-menu a.is-active, .hdr-menu button:hover { background: var(--glass-2); color: var(--white); }
.hdr-menu form { margin: 0; }
.user-menu > summary { padding: 4px 10px 4px 4px; }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #06231C; font: 800 0.9rem/1 var(--font-head); }
.chev { color: var(--mist); transition: transform 0.2s var(--ease); }
.hdr-menu[open] .chev { transform: rotate(180deg); }
.menu-who { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; display: grid; gap: 1px; max-width: 260px; }
.menu-who strong { font-size: 0.93rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-who span { font-size: 0.8rem; color: var(--mist); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-sep { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: var(--radius-full); border: 1px solid transparent; font: 600 0.98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform 0.15s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #06231C; box-shadow: 0 6px 22px rgba(46,205,167,0.22); }
.btn-primary:hover { background: var(--teal-glow); color: #06231C; }
.btn-ghost { background: var(--glass); color: var(--snow); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--glass-2); color: var(--white); border-color: rgba(255,255,255,0.28); }
.btn-danger { background: rgba(248,113,113,0.12); color: #FCA5A5; border-color: rgba(248,113,113,0.4); }
.btn-danger:hover { background: rgba(248,113,113,0.2); color: #FECACA; }
.btn-tratok { background: linear-gradient(135deg, #E85D3A, #F5A623); color: #1A0D05; }
.btn-tratok:hover { filter: brightness(1.08); color: #1A0D05; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--teal); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.link-btn.danger { color: var(--danger); font-size: 0.88rem; margin-inline-start: 4px; padding: 6px 4px; }
/* Buttons sit at their natural width in desktop forms; they fill the width on phones. */
.form > .btn, .form > button.btn { justify-self: start; }
.form > .btn-block { justify-self: stretch; }
.field + .form-actions, textarea + .form-actions { margin-top: 14px; }

/* ─── Alerts, badges, tags ─── */
.flashes { margin-top: 18px; display: grid; gap: 10px; }
.alert { border-radius: var(--radius); padding: 13px 16px; border: 1px solid var(--line); background: var(--glass); color: var(--snow); margin-bottom: 16px; }
.alert p:last-child, .alert ul:last-child { margin-bottom: 0; }
.alert ul { margin: 6px 0 0; }
.alert-error { background: rgba(248,113,113,0.1); border-color: rgba(248,113,113,0.35); }
.alert-success { background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.35); }
.alert-info { background: rgba(96,165,250,0.1); border-color: rgba(96,165,250,0.32); }
.alert-warn { background: rgba(245,166,35,0.1); border-color: rgba(245,166,35,0.38); }
.alert a { color: var(--amber-glow); font-weight: 600; }
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.01em; border: 1px solid transparent; white-space: nowrap; vertical-align: middle; }
.badge-ok { background: rgba(52,211,153,0.14); color: #6EE7B7; border-color: rgba(52,211,153,0.35); }
.badge-warn { background: rgba(245,166,35,0.14); color: var(--amber-glow); border-color: rgba(245,166,35,0.4); }
.badge-info { background: rgba(96,165,250,0.14); color: #93C5FD; border-color: rgba(96,165,250,0.35); }
.badge-muted { background: var(--glass-2); color: var(--mist); border-color: var(--line); }
.badge-conf-confirmed { background: rgba(52,211,153,0.14); color: #6EE7B7; border-color: rgba(52,211,153,0.35); }
.badge-conf-reported { background: rgba(96,165,250,0.14); color: #93C5FD; border-color: rgba(96,165,250,0.35); }
.badge-conf-community { background: rgba(167,139,250,0.14); color: #C4B5FD; border-color: rgba(167,139,250,0.35); }
.tag { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; background: var(--glass-2); color: var(--snow); border: 1px solid var(--line); text-decoration: none; }
a.tag:hover { border-color: var(--line-strong); color: var(--white); }
.tag-legal { color: #FCD34D; border-color: rgba(252,211,77,0.35); }
.tag-police { color: #93C5FD; border-color: rgba(147,197,253,0.35); }
.tag-regulator { color: #6EE7B7; border-color: rgba(110,231,183,0.35); }
.tag-bitmart { color: #FDA4AF; border-color: rgba(253,164,175,0.35); }
.tag-community { color: #C4B5FD; border-color: rgba(196,181,253,0.35); }
.tag-pin, .tag-members { color: var(--amber-glow); border-color: rgba(245,166,35,0.35); }

/* ─── Cards and sections ─── */
.card { background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.025)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.section { padding: 72px 0; }
.section.tight { padding: 32px 0 64px; }
.section.alt { background: var(--abyss); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.eyebrow a { color: inherit; text-decoration: none; }
.lede { font-size: 1.15rem; color: var(--text); max-width: 64ch; }
.narrow-l { max-width: 60ch; }
.big { font-size: 1.12rem; }
.note { margin-top: 28px; padding: 14px 18px; border-left: 3px solid var(--teal); background: var(--glass); border-radius: 0 var(--radius) var(--radius) 0; color: var(--snow); }
.page-head { padding: 52px 0 12px; }
.page-head h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
.page-head .ref { font-family: var(--font-mono); font-size: 0.6em; color: var(--mist); font-weight: 600; letter-spacing: 0; vertical-align: middle; margin-inline-start: 6px; }
.stack { display: grid; gap: 20px; }
.empty { text-align: center; padding: 36px 24px; }

/* ─── Hero ─── */
.hero { position: relative; padding: 88px 0 76px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(ellipse at 20% 30%, rgba(46,205,167,0.16), transparent 55%), radial-gradient(ellipse at 85% 10%, rgba(245,166,35,0.12), transparent 50%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 56px; align-items: center; }
.hero h1 { max-width: 16ch; }
.hero-panel { position: relative; padding: 26px; background: linear-gradient(180deg, rgba(36,48,68,0.72), rgba(17,24,39,0.72)); border-color: var(--line-strong); box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.hero-panel::before { content: ''; position: absolute; inset: -1px -1px auto; height: 3px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, var(--teal), var(--amber-glow)); }
.hero-panel h2 { margin-bottom: 6px; }
.hero-panel .ticks { gap: 12px; margin: 14px 0 16px; font-size: 0.95rem; color: var(--snow); }
.hero-panel .foot { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.panel-updates { list-style: none; padding: 0; margin: 14px 0 16px; display: grid; gap: 10px; }
.panel-updates a { display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); text-decoration: none; color: var(--white); font-weight: 600; }
.panel-updates a:hover { border-color: rgba(46,205,167,0.45); color: var(--white); }
@media (max-width: 1080px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-panel { display: none; }
}
.accent { background: linear-gradient(90deg, var(--teal), var(--amber-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 1.2rem; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--snow); font-weight: 500; }
.hero-points li::before { content: '✓'; color: var(--teal); font-weight: 800; margin-right: 8px; }

/* ─── Stats ─── */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--abyss); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.stat { display: flex; flex-direction: column; }
.stat-n { font-family: var(--font-head); font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; color: var(--white); }
.stat-l { color: var(--mist); font-size: 0.92rem; }

/* ─── Values, steps, promises, themes ─── */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.value h3 { color: var(--teal); }
.value p { margin: 0; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.steps h3 { font-size: 1.06rem; margin-bottom: 6px; }
.steps p { font-size: 0.94rem; margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(46,205,167,0.14); color: var(--teal); font-weight: 800; font-family: var(--font-head); margin-bottom: 12px; }
.promise-grid, .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.promise.never { border-color: rgba(248,113,113,0.3); }
.promise.always { border-color: rgba(46,205,167,0.3); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; background: rgba(46,205,167,0.16); color: var(--teal); margin-top: 3px; }
.ticks.cross li::before { content: '✕'; background: rgba(248,113,113,0.16); color: var(--danger); }
.checklist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-block: 12px; padding-inline: 46px 16px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); }
.checklist li::before { content: ''; position: absolute; inset-inline-start: 16px; top: 16px; width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--teal); }
/* Statements of what we do (not a to-do list): a filled tick instead of an empty box. */
.checklist.done li::before { content: '✓'; top: 14px; width: 20px; height: 20px; border: 0; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; background: rgba(46,205,167,0.16); color: var(--teal); }
.scam-box { margin-top: 8px; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 28px; }
.theme-card { text-decoration: none; color: var(--text); transition: border-color 0.2s, transform 0.2s var(--ease); }
.theme-card:hover { border-color: rgba(46,205,167,0.45); transform: translateY(-2px); color: var(--text); }
.theme-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.theme-card p { margin: 0; font-size: 0.93rem; color: var(--mist); }
.theme-card h3 { line-height: 1.3; }
.theme-cta { display: flex; flex-direction: column; justify-content: center; gap: 10px; border-color: rgba(46,205,167,0.4); background: linear-gradient(135deg, rgba(46,205,167,0.14), rgba(46,205,167,0.03)); }
.theme-cta h3 { color: var(--teal-glow); margin: 0; }
.theme-cta .arrow { font-size: 1.4rem; color: var(--teal); line-height: 1; transition: transform 0.2s var(--ease); }
.theme-cta:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .theme-cta .arrow { transform: scaleX(-1); }
[dir="rtl"] .theme-cta:hover .arrow { transform: scaleX(-1) translateX(4px); }
.closing { text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(46,205,167,0.12), transparent 60%); }

/* ─── FAQ ─── */
.faq { display: grid; gap: 10px; margin-top: 20px; }
.faq details { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--white); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--teal); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 16px; }

/* ─── Updates ─── */
.update-list { display: grid; gap: 16px; }
.update-list.compact { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 24px; }
.update-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: border-color 0.2s, transform 0.2s var(--ease); }
.update-card:hover { border-color: rgba(46,205,167,0.45); color: var(--text); transform: translateY(-2px); }
.update-card h3 { margin: 12px 0 0; font-size: 1.1rem; }
.update-card .excerpt { margin: 8px 0 0; color: var(--mist); font-size: 0.94rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.update-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--mist); font-size: 0.86rem; }
.update h2 { margin: 12px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.chip { padding: 7px 14px; border-radius: var(--radius-full); border: 1px solid var(--line); background: var(--glass); color: var(--text); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.chip:hover { border-color: var(--line-strong); color: var(--white); }
.chip.is-active { background: rgba(46,205,167,0.14); border-color: rgba(46,205,167,0.5); color: var(--teal-glow); }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 1em; }
.prose h3 { margin-top: 1.2em; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }

/* ─── Timeline ─── */
.legend { margin-bottom: 22px; }
.legend-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; font-size: 0.93rem; }
.timeline { --tl-col: 128px; list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: calc(var(--tl-col) + 14px); top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--teal), rgba(46,205,167,0.08)); }
.tl-year { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--white); padding: 18px 0 10px; width: var(--tl-col); text-align: right; }
.tl-item { display: grid; grid-template-columns: var(--tl-col) 1fr; gap: 30px; margin-bottom: 18px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: calc(var(--tl-col) + 8px); top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--void); border: 3px solid var(--teal); }
.tl-date { text-align: right; padding-top: 16px; font-size: 0.88rem; color: var(--mist); font-weight: 600; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tl-body h2 { margin-bottom: 8px; }
.sources { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 0.88rem; }
.src-type { display: inline-block; min-width: 92px; color: var(--mist); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.sources a { word-break: break-word; }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 14px; }
.exp-n { display: block; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: var(--amber-glow); line-height: 1.1; margin-bottom: 8px; }
.exp p { margin: 0; }
.cta-row { margin-top: 26px; }
.reply-box { border-color: rgba(96,165,250,0.3); }

/* ─── Where to complain ─── */
.region-h { margin: 34px 0 14px; }
.channel-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.channel { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.channel h3 { margin: 6px 0 2px; }
.channel p { margin: 0 0 6px; }
.channel .btn { margin-top: auto; }
.url-line { margin: 4px 0 0 !important; font-family: var(--font-mono); font-size: 0.78rem; }
.letter { font-family: var(--font-mono); font-size: 0.86rem; line-height: 1.55; min-height: 420px; color: var(--snow); }
.cta-card { border-color: rgba(46,205,167,0.35); }
.complaint-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.complaint-list li { padding: 12px 14px; background: var(--glass); border: 1px solid var(--line); border-radius: 12px; }
.complaint-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; justify-content: space-between; }
.complaint-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.complaint-actions form { display: flex; gap: 8px; align-items: center; margin: 0; }
.complaint-actions select { width: auto; padding: 6px 34px 6px 10px; font-size: 0.88rem; }
details.add-complaint summary { cursor: pointer; list-style: none; width: fit-content; }
details.add-complaint summary::-webkit-details-marker { display: none; }
details.add-complaint[open] summary { margin-bottom: 16px; background: var(--glass-2); }

/* ─── Notice watcher ─── */
.diff { font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.55; background: rgba(11,14,23,0.6); border: 1px solid var(--line); border-radius: 10px; padding: 12px; overflow-x: auto; }
.diff > div { white-space: pre-wrap; word-break: break-word; padding: 1px 6px; border-radius: 4px; }
.diff-add { background: rgba(52,211,153,0.14); color: #A7F3D0; }
.diff-del { background: rgba(248,113,113,0.14); color: #FECACA; text-decoration: line-through; text-decoration-color: rgba(254,202,202,0.5); }
.diff-same { color: var(--mist); }
.diff-gap { color: var(--ghost); text-align: center; }
.notice-text { margin-top: 12px; font-size: 0.92rem; color: var(--text); word-break: break-word; }
details.card > summary { cursor: pointer; }
.kpi .kpi-small { font-size: 1rem; }

/* ─── Community ─── */
.topic-list, .posts, .mod-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.topic { padding: 14px 18px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); }
.topic.is-pinned { border-color: rgba(245,166,35,0.35); }
.topic-title { display: block; font-family: var(--font-head); font-weight: 700; color: var(--white); text-decoration: none; font-size: 1.05rem; margin-bottom: 6px; }
.topic-title:hover { color: var(--teal-glow); }
.topic-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.topic-h { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.cat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cat-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); }
.cat-item > div { display: grid; gap: 2px; }
.cat-item strong { font-family: var(--font-head); font-weight: 700; color: var(--white); }
.chip-n { display: inline-block; min-width: 20px; padding: 0 6px; margin-inline-start: 4px; border-radius: 999px; background: var(--glass-2); font-size: 0.78rem; text-align: center; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.rules { padding-inline-start: 1.2em; margin: 0 0 12px; display: grid; gap: 8px; }
.alert-warn-card { border-color: rgba(245,166,35,0.35); }
.post { display: grid; gap: 10px; }
.post-staff { border-color: rgba(46,205,167,0.4); background: linear-gradient(180deg, rgba(46,205,167,0.07), rgba(255,255,255,0.02)); }
.post-held { border-style: dashed; border-color: rgba(96,165,250,0.45); }
.post-hidden, .post-deleted { opacity: 0.8; }
.post-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-head a { text-decoration: none; }
.post-author { color: var(--white); margin-inline-end: 6px; }
.post-by { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.avatar-sm { width: 30px; height: 30px; font-size: 0.85rem; background: linear-gradient(135deg, #334155, #1E293B); color: var(--snow); border: 1px solid var(--line-strong); object-fit: cover; }
.post-staff .avatar-sm { border-color: rgba(46,205,167,0.5); }
.post-body { color: var(--snow); word-break: break-word; }
.post-removed { font-style: italic; margin: 0; }
.post-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.post-actions form { margin: 0; display: inline-flex; gap: 6px; align-items: center; }
.post-actions a { text-decoration: none; }
.mod-tools { display: inline-flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 4px 10px; border-radius: 8px; background: rgba(245,166,35,0.07); }
.inline-form input { width: 150px; padding: 5px 8px; font-size: 0.85rem; }
details.report summary { cursor: pointer; color: var(--mist); list-style: none; padding: 6px 2px; }
details.report summary::-webkit-details-marker { display: none; }
details.report[open] { flex-basis: 100%; }
.report-form { margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.mod-excerpt { color: var(--snow); margin: 8px 0 12px; word-break: break-word; }
.card-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ─── Forms ─── */
.auth { padding: 48px 0 72px; }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 340px); gap: 28px; justify-content: center; align-items: start; }
.auth-wrap.single { grid-template-columns: minmax(0, 480px); }
.auth-card { padding: 30px; }
.auth-card > .center-text { margin: 18px 0 0; }
.auth-aside { padding: 24px 4px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--mist); font-size: 0.85rem; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; color: var(--snow); font-size: 0.95rem; }
.field small { color: var(--mist); font-size: 0.84rem; }
.req { color: var(--amber); }
.opt { color: var(--mist); font-style: normal; font-weight: 400; }
.hint { color: var(--mist); font-size: 0.93rem; margin: -4px 0 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=search], input[type=file], select, textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--white); background: rgba(11,14,23,0.7); border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px; transition: border-color 0.2s, box-shadow 0.2s;
}
input[type=file] { padding: 8px; color: var(--mist); font-size: 0.92rem; cursor: pointer; }
input[type=file]::file-selector-button { font: 600 0.88rem var(--font-body); color: var(--snow); background: var(--glass-2); border: 1px solid var(--line-strong); border-radius: var(--radius-full); padding: 7px 14px; margin-inline-end: 12px; cursor: pointer; transition: background 0.2s; }
input[type=file]:hover::file-selector-button { background: rgba(255,255,255,0.12); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-inline-end: 48px; }
.pw-toggle { position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--mist); border-radius: 8px; cursor: pointer; }
.pw-toggle:hover, .pw-toggle[aria-pressed="true"] { color: var(--teal); }
input::placeholder, textarea::placeholder { color: var(--ghost); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,205,167,0.18); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
select option { background: var(--abyss); color: var(--white); }
textarea { resize: vertical; min-height: 90px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding-block: 3px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); flex-shrink: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.narrow-field { max-width: 320px; }
.code-input { font-family: var(--font-mono); font-size: 1.5rem !important; letter-spacing: 0.3em; text-align: center; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form-actions form { margin: 0; }

/* Claim form */
.claim-form { gap: 20px; }
.fs { margin: 0; display: grid; gap: 14px; min-width: 0; }
.fs legend { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.15rem; padding: 0; float: left; width: 100%; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.fs legend + * { clear: both; }
.fs-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(46,205,167,0.14); color: var(--teal); font-size: 0.95rem; }
.claim-nav { display: none; }
.claim-nav ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.claim-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--mist); text-decoration: none; font-weight: 500; font-size: 0.93rem; line-height: 1.3; transition: background 0.2s, color 0.2s; }
.claim-nav a:hover { background: var(--glass); color: var(--white); }
.claim-nav a.is-current { background: var(--glass-2); color: var(--white); }
.claim-nav .fs-n { flex-shrink: 0; width: 26px; height: 26px; font-size: 0.8rem; }
.fs-n { transition: background 0.2s, color 0.2s; }
.claim-nav a.is-done .fs-n, .fs.is-done .fs-n { background: var(--teal); color: #06231C; }
@media (min-width: 1100px) {
    .claim-layout, .claim-head { max-width: calc(var(--narrow) + 260px); }
    .claim-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
    .claim-nav { display: block; position: sticky; top: 92px; }
    .claim-head { padding-inline-start: calc(260px + var(--gutter)); }
}
.rows { display: grid; gap: 10px; }
.asset-grid { display: grid; grid-template-columns: 0.9fr 0.9fr 1fr 1.5fr; gap: 10px; }
.row-head { font-size: 0.82rem; color: var(--mist); font-weight: 600; }
.tx-grid { display: grid; grid-template-columns: 220px 1fr; gap: 10px; }
.tx-grid input { font-family: var(--font-mono); font-size: 0.9rem; }
.tx-result { grid-column: 1 / -1; margin: -2px 0 6px; font-size: 0.88rem; }
.file-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.file-list li { padding: 10px 14px; background: var(--glass); border: 1px solid var(--line); border-radius: 10px; word-break: break-word; }
.sticky-actions { position: sticky; bottom: 12px; z-index: 5; justify-content: flex-end; padding: 12px; background: rgba(24,32,48,0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: 0 12px 36px rgba(0,0,0,0.45); }
/* ─── Dashboard ─── */
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.dash-main, .dash-side { display: grid; gap: 20px; min-width: 0; }
.status-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.status-top .badge { font-size: 0.9rem; padding: 6px 14px; }
.status-desc { margin: 14px 0 18px; color: var(--snow); }
.tracker { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.tracker li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 0.86rem; color: var(--ghost); position: relative; }
.tracker li::before { content: ''; position: absolute; top: 8px; left: -50%; width: 100%; height: 2px; background: var(--line-strong); z-index: 0; }
.tracker li:first-child::before { display: none; }
.tracker .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--slate); border: 2px solid var(--line-strong); position: relative; z-index: 1; }
.tracker li.done { color: var(--text); }
.tracker li.done .dot { background: var(--teal); border-color: var(--teal); }
.tracker li.done::before, .tracker li.current::before { background: var(--teal); }
.tracker li.current { color: var(--white); font-weight: 700; }
.tracker li.current .dot { background: var(--void); border: 4px solid var(--teal); box-shadow: 0 0 0 5px rgba(46,205,167,0.18); }
.table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.table th { text-align: start; font-size: 0.8rem; color: var(--mist); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 8px 10px; border-bottom: 1px solid var(--line-strong); }
.table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.facts { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 16px 0 0; }
.facts dt { color: var(--mist); font-size: 0.9rem; }
.facts dd { margin: 0; color: var(--snow); }
.tx-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tx-list li { padding: 12px 14px; background: var(--glass); border: 1px solid var(--line); border-radius: 10px; word-break: break-word; }
.hash { color: var(--snow); }
.events { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; max-height: 560px; overflow-y: auto; }
.ev { padding: 12px 14px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); }
.ev-staff { border-color: rgba(46,205,167,0.35); background: rgba(46,205,167,0.06); }
.ev-internal { border-style: dashed; border-color: rgba(245,166,35,0.45); background: rgba(245,166,35,0.05); }
.ev-meta { font-size: 0.82rem; color: var(--mist); margin-bottom: 4px; }
.ev-meta strong { color: var(--snow); }
.ev-body { color: var(--snow); white-space: normal; word-break: break-word; }
.ev-status { margin: 4px 0; }
.events.compact .ev { padding: 10px 12px; font-size: 0.9rem; }
.side-updates { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
.side-updates li { display: grid; gap: 2px; }
.side-updates a { font-weight: 600; text-decoration: none; }
.start-card h2 { margin-bottom: 8px; }
.danger-zone { border-color: rgba(248,113,113,0.3); }
.story { margin-top: 16px; padding: 14px 16px; background: var(--glass); border-radius: 10px; color: var(--snow); white-space: normal; word-break: break-word; }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; margin-bottom: 10px; }
.card-head h2 { margin: 0; }
.card-head form { margin: 0; }

/* ─── Admin ─── */
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.admin-tabs a { padding: 8px 16px; border-radius: var(--radius-full); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 500; }
.admin-tabs a.is-active { background: rgba(46,205,167,0.14); border-color: rgba(46,205,167,0.5); color: var(--teal-glow); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); color: var(--mist); font-size: 0.85rem; text-decoration: none; }
.kpi span { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--white); }
a.kpi:hover, .kpi.is-active { border-color: rgba(46,205,167,0.5); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.filter-bar select { width: auto; min-width: 200px; }
.filter-bar input { flex: 1; min-width: 200px; }

/* ─── Footer ─── */
.site-footer { border-top: 1px solid var(--line); background: var(--abyss); padding: 48px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.footer-grid a { display: block; width: fit-content; color: var(--text); text-decoration: none; padding: 5px 0; font-size: 0.94rem; }
.footer-grid a:hover { color: var(--white); }
.brand-foot { margin-bottom: 12px; }
.brand-foot .brand-name { font-size: 1.1rem; }
.foot-about { max-width: 42ch; }
.foot-h { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mist); margin-bottom: 10px; }
.foot-legal { margin-top: 32px; padding-top: 18px; position: relative; }
.foot-legal p { margin: 0 0 6px; }
/* Divider lines that line up with the text, not the page gutter. */
.foot-langs::before, .foot-legal::before { content: ''; position: absolute; top: 0; inset-inline: var(--gutter); height: 1px; background: var(--line); }

/* ─── Responsive ─── */
@media (max-width: 1080px) {
    .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .dash-grid { grid-template-columns: 1fr; }
    .auth-wrap { grid-template-columns: minmax(0, 520px); }
    .values, .update-list.compact, .exp-grid, .channel-list { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .section { padding: 52px 0; }
    .section.tight { padding: 24px 0 52px; }
    .page-head { padding: 36px 0 8px; }
    .safety-icon { display: none; }
    .safety-strip { font-size: 0.8rem; line-height: 1.45; }
    .safety-strip .wrap { display: block; padding-top: 7px; padding-bottom: 7px; }
    .hero { padding: 40px 0 44px; }
    .lede, .hero .lede { font-size: 1.04rem; }
    .big { font-size: 1.02rem; }
    .hero .lede { margin-bottom: 24px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-points { flex-direction: column; gap: 8px; margin-top: 22px; }
    .steps { grid-template-columns: 1fr; gap: 12px; }
    .steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px; }
    .step-n { margin-bottom: 0; }
    .form > .btn, .form > button.btn { justify-self: stretch; }
    .sticky-actions { bottom: 8px; padding: 10px; }
    .hdr-menu > summary { min-height: 44px; }
    .promise-grid, .two-col, .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .asset-grid { grid-template-columns: 1fr 1fr; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11,14,23,0.4); }
    .row-head { display: none; }
    .asset-grid.row-item > label:nth-child(n+3) { grid-column: 1 / -1; }
    .asset-grid label, .tx-grid label { display: grid; gap: 4px; }
    .asset-grid .sr, .tx-grid .sr { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font-size: 0.82rem; font-weight: 600; color: var(--mist); }
    .tx-grid { grid-template-columns: 1fr; }
    .facts { grid-template-columns: 1fr; gap: 2px; }
    .facts dd { margin-bottom: 10px; }
    .tracker { grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 0.78rem; }
    .timeline::before { left: 7px; }
    .tl-year { width: auto; text-align: left; padding-left: 28px; }
    .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; }
    .tl-item::before { left: 0; top: 4px; }
    .tl-date { text-align: left; padding-top: 0; }
    .table thead { display: none; }
    .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
    .table tr { padding: 10px 0; border-bottom: 1px solid var(--line-strong); }
    .table td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
    .table td::before { content: attr(data-label); color: var(--mist); font-size: 0.82rem; text-align: left; }
    .table .num { text-align: right; }
    .sticky-actions { justify-content: stretch; }
    .sticky-actions .btn { flex: 1; }
    .auth-card, .card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ─── Language list (footer) ─── */
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 24px; padding-top: 16px; position: relative; }
.foot-langs a { color: var(--mist); text-decoration: none; }
.foot-langs a:hover, .foot-langs a.is-active { color: var(--white); }
.post-translation { border-inline-start: 3px solid rgba(46,205,167,0.45); padding-inline-start: 12px; }
.tr-note { margin: 0; }
.translate-btn { color: var(--teal); }

/* Scripts the Latin fonts do not cover. */
html[lang="ar"] { --font-body: 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif; --font-head: 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }
html[lang="hi"] { --font-body: 'Noto Sans Devanagari', 'Nirmala UI', sans-serif; --font-head: 'Noto Sans Devanagari', 'Nirmala UI', sans-serif; }
html[lang="th"] { --font-body: 'Noto Sans Thai', 'Leelawadee UI', sans-serif; --font-head: 'Noto Sans Thai', 'Leelawadee UI', sans-serif; }
html[lang="zh"] { --font-body: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; --font-head: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }
html[lang="ja"] { --font-body: 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', 'Noto Sans JP', sans-serif; --font-head: 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', 'Noto Sans JP', sans-serif; }
html[lang="ko"] { --font-body: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; --font-head: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; }
html:not([lang="en"]) h1, html:not([lang="en"]) h2, html:not([lang="en"]) h3 { letter-spacing: normal; }
html[lang="ar"] .eyebrow, html[lang="hi"] .eyebrow, html[lang="th"] .eyebrow, html[lang="zh"] .eyebrow, html[lang="ja"] .eyebrow, html[lang="ko"] .eyebrow { letter-spacing: 0; text-transform: none; }

/* ─── Right-to-left (Arabic) ─── */
[dir="rtl"] .note { border-left: 0; border-right: 3px solid var(--teal); border-radius: var(--radius) 0 0 var(--radius); }
[dir="rtl"] select { background-position: 18px 50%, 13px 50%; padding-right: 13px; padding-left: 36px; }
[dir="rtl"] .timeline::before { left: auto; right: calc(var(--tl-col) + 14px); }
[dir="rtl"] .tl-year, [dir="rtl"] .tl-date { text-align: left; }
[dir="rtl"] .tl-item::before { left: auto; right: calc(var(--tl-col) + 8px); }
[dir="rtl"] .hero-points li::before { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .diff, [dir="rtl"] code, [dir="rtl"] .hash, [dir="rtl"] .letter { direction: ltr; text-align: left; }
[dir="rtl"] .tracker li::before { left: auto; right: -50%; }
[dir="rtl"] .menu-who span { text-align: right; }
@media (max-width: 720px) {
    [dir="rtl"] .timeline::before { right: 7px; }
    [dir="rtl"] .tl-year { padding-left: 0; padding-right: 28px; text-align: right; }
    [dir="rtl"] .tl-item { padding-left: 0; padding-right: 28px; }
    [dir="rtl"] .tl-item::before { right: 0; }
    [dir="rtl"] .tl-date { text-align: right; }
    [dir="rtl"] .table td { text-align: left; }
    [dir="rtl"] .table td::before { text-align: right; }
}
