/* ============================================================
   AETHER — iGaming Technology Design System
   Obsidian / Signal Cyan / Ember Coral
   ============================================================ */

:root {
    --navy-0: #000019;
    --navy-1: #000324;
    --navy-2: #02052D;
    --navy-3: #03083A;

    --purple: #8B00FF;
    --purple-2: #B026FF;
    --magenta: #D946EF;
    --magenta-hot: #FF00C8;

    --cyan: #00E5FF;
    --cyan-2: #00C6FF;
    --blue: #009DFF;
    --blue-2: #007BFF;

    --red: #FF1744;
    --red-2: #FF2D55;
    --pink: #FF3D81;
    --pink-2: #E91E63;

    --green: #00E676;
    --lime: #39FF14;
    --green-2: #4CAF50;
    --lime-2: #76FF03;

    --orange: #FF9800;
    --gold: #FFB300;
    --yellow: #FFC107;
    --orange-hot: #FF6D00;

    --ink: #FFFFFF;
    --ink-2: #F8FAFC;
    --surface: #FFFFFF;
    --surface-2: #F9FAFB;
    --surface-3: #F1F5F9;
    --surface-hover: #EEF2F7;

    --line: rgba(15, 23, 42, 0.08);
    --line-2: rgba(15, 23, 42, 0.12);
    --line-3: rgba(15, 23, 42, 0.18);

    --cyan-dim: rgba(0, 229, 255, 0.12);
    --cyan-glow: rgba(0, 229, 255, 0.32);
    --blue-dim: rgba(0, 157, 255, 0.14);
    --ember: var(--purple-2);
    --ember-dim: rgba(176, 38, 255, 0.14);
    --ember-glow: rgba(176, 38, 255, 0.38);

    --purple-dim: rgba(139, 0, 255, 0.16);
    --purple-glow: rgba(139, 0, 255, 0.42);
    --magenta-dim: rgba(217, 70, 239, 0.14);
    --red-dim: rgba(255, 23, 68, 0.14);
    --red-glow: rgba(255, 45, 85, 0.36);
    --green-dim: rgba(0, 230, 118, 0.12);
    --green-glow: rgba(57, 255, 20, 0.32);
    --orange-dim: rgba(255, 152, 0, 0.14);
    --orange-glow: rgba(255, 109, 0, 0.36);
    --gold-dim: rgba(255, 179, 0, 0.14);

    --grad-hero: linear-gradient(105deg, #B026FF 0%, #00E5FF 50%, #FFB300 100%);
    --grad-cta: linear-gradient(90deg, #8B00FF, #FF00C8);
    --grad-tech: linear-gradient(90deg, #007BFF, #00E5FF);
    --grad-ok: linear-gradient(90deg, #00C853, #76FF03);
    --grad-hot: linear-gradient(90deg, #FF1744, #E91E63);
    --grad-gold: linear-gradient(90deg, #FF6D00, #FFC107);
    --grad-spectrum: linear-gradient(90deg, #8B00FF, #00E5FF, #39FF14, #FFB300, #FF2D55);

    --text: #0f172a;
    --text-2: #475569;
    --text-3: #64748b;
    --text-inv: #ffffff;

    --ok: var(--green);
    --ok-dim: var(--green-dim);
    --warn: var(--gold);
    --warn-dim: var(--gold-dim);
    --err: var(--red);
    --err-dim: var(--red-dim);

    --font: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-display: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;

    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 22px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 28px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.1);
    --shadow-ember: 0 10px 32px var(--ember-glow);

    --nav-h: 72px;
    --wrap: 1180px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t: 0.2s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; color-scheme: light; }

body {
    background: #F8FAFC;
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

.skip-link {
    position: absolute;
    left: 12px; top: -48px;
    background: var(--ember);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--r-sm);
    z-index: 10000;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

main { min-height: 52vh; }
.wrap {
    width: min(var(--wrap), calc(100% - 40px));
    margin-inline: auto;
}
.wrap-wide {
    width: min(1280px, calc(100% - 40px));
    margin-inline: auto;
}

/* ---------- Typography ---------- */
.display {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.038em;
    line-height: 1.05;
    color: var(--text);
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); letter-spacing: -0.03em; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
}
.eyebrow::before {
    content: "";
    width: 18px; height: 1px;
    background: var(--cyan);
}
.muted { color: var(--text-2); }
.caption { font-size: 12px; color: var(--text-3); letter-spacing: 0.02em; }
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.01em;
    line-height: 1;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    border-radius: var(--r-sm);
    transition: transform var(--t), background var(--t), box-shadow var(--t), border-color var(--t), color var(--t);
    white-space: nowrap;
}
.btn:focus-visible, .nav-link:focus-visible, .mega-link:focus-visible, .filter-chip:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
    background: var(--ember);
    color: #fff;
    padding: 13px 20px;
    box-shadow: var(--shadow-ember);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 12px 36px var(--ember-glow); }

.btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 12px 20px;
    border: 1px solid var(--line-2);
}
.btn-secondary:hover { border-color: var(--cyan); color: #0369a1; background: var(--cyan-dim); }

.btn-ghost {
    background: transparent;
    color: var(--text-2);
    padding: 10px 14px;
}
.btn-ghost:hover { color: var(--text); background: var(--surface-3); }

.btn-cyan {
    background: var(--cyan);
    color: var(--text-inv);
    padding: 13px 20px;
    font-weight: 700;
}
.btn-cyan:hover { background: #62ead2; }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 24px; font-size: 15px; }
.btn:disabled, .btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    box-shadow: none;
}

/* ---------- Badges ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: var(--r-xs);
    line-height: 1;
}
.badge-cyan { background: var(--cyan-dim); color: var(--cyan); border: 1px solid rgba(0, 229, 255, 0.28); }
.badge-blue { background: var(--blue-dim); color: var(--blue); border: 1px solid rgba(0, 157, 255, 0.28); }
.badge-ember { background: var(--ember-dim); color: var(--ember); border: 1px solid rgba(176, 38, 255, 0.32); }
.badge-ok { background: var(--ok-dim); color: var(--ok); border: 1px solid rgba(61, 220, 151, 0.3); }
.badge-warn { background: var(--warn-dim); color: var(--warn); border: 1px solid rgba(245, 193, 74, 0.3); }
.badge-err { background: var(--err-dim); color: var(--err); border: 1px solid rgba(255, 92, 108, 0.3); }
.badge-muted { background: var(--surface-3); color: var(--text-2); border: 1px solid var(--line); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-2);
}
.field input, .field textarea, .field select,
input.input, textarea.input, select.input {
    width: 100%;
    background: var(--ink-2);
    border: 1px solid var(--line-2);
    color: var(--text);
    border-radius: var(--r-sm);
    padding: 12px 14px;
    font-size: 15px;
    outline: none;
    transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field textarea:focus, .field select:focus,
input.input:focus, textarea.input:focus, select.input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-dim);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }

/* ---------- Cards ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.card-pad { padding: 22px; }

/* ---------- NAV ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--line);
}
.site-nav::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 8%, var(--cyan) 32%, var(--blue) 58%, var(--ember) 82%, transparent 100%);
    opacity: 0.7;
}
.nav-inner {
    height: 100%;
    width: min(1280px, calc(100% - 36px));
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-mark {
    width: 32px; height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(145deg, #163044, #0b1520);
    border: 1px solid rgba(0, 229, 255, 0.35);
    position: relative;
}
.brand-mark svg { width: 18px; height: 18px; }
.brand img { height: 34px; width: auto; border-radius: 8px; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.03em;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
}
.nav-item { position: relative; }
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    text-decoration: none;
    border-radius: var(--r-sm);
    transition: color var(--t), background var(--t);
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.is-active {
    color: #6d28d9;
    background: #F5F3FF;
}
.nav-caret {
    width: 8px; height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.7;
}

.mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 560px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 18px;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    z-index: 50;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { display: grid; }
.mega-link {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--r-md);
    text-decoration: none;
    color: inherit;
    transition: background var(--t);
}
.mega-link:hover { background: var(--surface-3); }
.mega-ico {
    width: 36px; height: 36px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--cyan);
}
.mega-ico svg { width: 16px; height: 16px; }
.mega-link strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}
.mega-link span {
    display: block;
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.4;
}

.nav-search {
    margin-left: auto;
    position: relative;
    width: min(280px, 28vw);
}
.nav-search input {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 999px;
    padding: 9px 14px 9px 38px;
    font-size: 13px;
    outline: none;
    transition: border-color var(--t);
}
.nav-search input:focus { border-color: var(--cyan); }
.nav-search input::placeholder { color: var(--text-3); }
.nav-search svg {
    position: absolute;
    left: 13px; top: 50%;
    transform: translateY(-50%);
    width: 14px; height: 14px;
    color: var(--text-3);
    pointer-events: none;
}

.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--line-2);
    background: var(--surface-2);
    border-radius: var(--r-sm);
    color: #0f172a;
    cursor: pointer;
    place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block;
    width: 16px; height: 1.5px;
    background: #fff;
    position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.nav-drawer {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(5, 7, 11, 0.96);
    z-index: 999;
    overflow-y: auto;
    padding: 20px 20px 48px;
}
body.nav-open { overflow: hidden; }
body.nav-open .nav-drawer { display: block; }

.drawer-search { margin-bottom: 20px; }
.drawer-search input {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    color: var(--text);
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
}
.drawer-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 8px;
}
.drawer-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}
.drawer-link small { display: block; font-weight: 400; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* Admin compact nav */
body.is-admin .nav-links,
body.is-admin .nav-search { display: none; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 80px;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 480px at 18% -10%, rgba(0, 229, 255, 0.14), transparent 60%),
        radial-gradient(700px 420px at 92% 10%, rgba(0, 157, 255, 0.12), transparent 55%),
        radial-gradient(600px 360px at 70% 90%, rgba(176, 38, 255, 0.07), transparent 50%),
        var(--ink);
}
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(186, 206, 224, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(186, 206, 224, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(#000 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(#000 40%, transparent 100%);
}
.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.2vw, 62px);
    font-weight: 700;
    letter-spacing: -0.042em;
    line-height: 1.02;
    color: var(--text);
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(105deg, #B026FF 0%, #00E5FF 50%, #FFB300 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead {
    font-size: 17px;
    color: var(--text-2);
    max-width: 34em;
    line-height: 1.65;
    margin: 14px 0 28px;
    overflow-wrap: anywhere;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 480px;
}
.metric {
    padding: 12px 0 0;
    border-top: 1px solid var(--line-2);
}
.metric b {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.metric span { font-size: 12px; color: var(--text-3); }

.hero-stage {
    position: relative;
    min-height: 420px;
}
.stage-panel {
    background: linear-gradient(180deg, rgba(18, 26, 36, 0.92), rgba(12, 18, 25, 0.92));
    border: 1px solid var(--line-2);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.stage-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-r { background: #ff5c6c; }
.dot-y { background: #f5c14a; }
.dot-g { background: #3ddc97; }
.stage-top .path {
    margin-left: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-3);
}
.stage-body { padding: 18px; }
.code-line {
    font-family: var(--font-mono);
    font-size: 12.5px;
    line-height: 1.75;
    color: var(--text-2);
}
.code-line .k { color: var(--blue); }
.code-line .s { color: var(--cyan); }
.code-line .c { color: var(--text-3); }
.code-line .n { color: var(--ember); }

.stage-float {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--r-md);
    padding: 12px 14px;
    box-shadow: var(--shadow-md);
    width: 210px;
}
.stage-float.a { right: -12px; top: 28px; }
.stage-float.b { left: -18px; bottom: 28px; }
.stage-float .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
}
.pulse-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    70% { box-shadow: 0 0 0 8px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; position: relative; }
.section-sm { padding: 56px 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.section-head h2 {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-top: 8px;
}
.section-head p { max-width: 460px; color: var(--text-2); font-size: 15px; }

.strip {
    border-block: 1px solid var(--line);
    background: var(--ink-2);
    padding: 22px 0;
}
.strip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    justify-content: center;
    align-items: center;
}
.strip-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
}
.strip-item i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    display: inline-block;
}

/* ---------- Category / solution tiles ---------- */
.tiles-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.tile {
    display: block;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px 20px;
    transition: transform var(--t), border-color var(--t), background var(--t);
    min-height: 168px;
}
.tile:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 229, 255, 0.35);
    background: var(--surface-2);
}
.tile-ico {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: var(--cyan-dim);
    color: var(--cyan);
    border: 1px solid rgba(0, 229, 255, 0.2);
}
.tile-ico.svg-blue { background: var(--blue-dim); color: var(--blue); border-color: rgba(0, 157, 255, 0.22); }
.tile-ico.svg-ember { background: var(--ember-dim); color: var(--ember); border-color: rgba(176, 38, 255, 0.25); }
.tile h3 { font-size: 16px; margin-bottom: 6px; }
.tile p { font-size: 13px; color: var(--text-3); line-height: 1.5; }
.tile svg { width: 18px; height: 18px; }

/* ---------- Product catalog ---------- */
.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 22px;
}
.filter-chip {
    border: 1px solid var(--line-2);
    background: transparent;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--t);
}
.filter-chip:hover, .filter-chip.is-on {
    color: #0369a1;
    border-color: var(--cyan);
    background: var(--cyan-dim);
}

.prod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.prod-grid > * { min-width: 0; }
.p-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
    position: relative;
}
.p-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 157, 255, 0.35);
    box-shadow: var(--shadow-md);
}
.p-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--surface-3);
    overflow: hidden;
}
.p-media a { display: block; height: 100%; }
.p-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.p-card:hover .p-media img { transform: scale(1.05); }
.p-media-empty {
    width: 100%; height: 100%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.04em;
    color: var(--text-3);
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 229, 255, 0.16), transparent 50%),
        var(--surface-3);
}
.p-sold {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 11, 0.72);
    display: grid;
    place-items: center;
}
.p-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.p-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
}
.p-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}
.p-desc {
    font-size: 13px;
    color: var(--text-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.p-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.p-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}
.p-price {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1;
}
.p-price small {
    display: block;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-3);
    margin-top: 4px;
    letter-spacing: 0;
}
.p-old {
    font-size: 12px;
    color: var(--text-3);
    text-decoration: line-through;
    margin-right: 6px;
}
.p-actions { display: flex; gap: 8px; }
.p-actions .btn { flex: 1; padding: 11px 10px; }

.cat-block { margin-bottom: 48px; }
.cat-block-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.cat-block-head h3 {
    font-size: 18px;
    font-weight: 700;
}
.cat-block-head span { font-size: 13px; color: var(--text-3); }

.empty-state {
    text-align: center;
    padding: 64px 20px;
    color: var(--text-2);
    border: 1px dashed var(--line-2);
    border-radius: var(--r-lg);
}

/* ---------- Split feature ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.feature-list { display: grid; gap: 14px; margin-top: 22px; }
.feature-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
}
.feature-item .n {
    width: 36px; height: 36px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--cyan);
    background: var(--cyan-dim);
    border: 1px solid rgba(0, 229, 255, 0.2);
}
.feature-item h4 { font-size: 14px; margin-bottom: 2px; }
.feature-item p { font-size: 13px; color: var(--text-3); }

.pay-board {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 22px;
}
.pay-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.pay-row:last-child { border-bottom: 0; }
.status-pill {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
}

/* ---------- API ---------- */
.api-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
}
.code-window {
    background: #070b10;
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.code-window pre {
    padding: 18px 20px 22px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--text-2);
}
.endpoint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    font-family: var(--font-mono);
    font-size: 12.5px;
    margin-bottom: 8px;
}
.method {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 4px;
    color: var(--text-inv);
    background: var(--cyan);
}

/* ---------- CTA band ---------- */
.cta-band {
    margin: 20px 0 0;
    background:
        radial-gradient(600px 200px at 20% 0%, rgba(176, 38, 255, 0.16), transparent 60%),
        radial-gradient(500px 180px at 90% 100%, rgba(0, 229, 255, 0.1), transparent 55%),
        var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--r-xl);
    padding: 48px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 8px; }
.cta-band p { color: var(--text-2); max-width: 520px; }

/* ---------- Product detail ---------- */
.pd {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    padding: 48px 0 72px;
    align-items: start;
}
.pd-media {
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-2);
    aspect-ratio: 4 / 3;
}
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 {
    font-size: clamp(28px, 3.5vw, 40px);
    margin: 12px 0 16px;
    line-height: 1.1;
}
.pd-desc {
    color: var(--text-2);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 18px 20px;
    margin-bottom: 22px;
    white-space: pre-wrap;
}
.buy-box {
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    padding: 22px;
}
.buy-price {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text);
}
.buy-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-3);
}

/* ---------- Checkout / redeem ---------- */
.narrow {
    width: min(560px, calc(100% - 32px));
    margin: 48px auto 80px;
}
.panel {
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--r-xl);
    padding: 28px;
    box-shadow: var(--shadow-md);
}
.panel h1, .panel h2 {
    font-size: 26px;
    margin-bottom: 8px;
    text-align: center;
}
.order-sum {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 16px;
    margin: 20px 0 24px;
}
.qr-box {
    text-align: center;
    margin-top: 18px;
    padding: 20px;
    border: 1px dashed rgba(0, 229, 255, 0.4);
    border-radius: var(--r-md);
    background: var(--ink-2);
}
.qr-box img { margin: 12px auto; max-width: 240px; border-radius: 10px; }
.copia-cola {
    background: #05070b;
    border: 1px solid var(--line-2);
    border-radius: var(--r-sm);
    padding: 12px;
    word-break: break-all;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-2);
    margin-top: 12px;
}
.alerta-importante {
    background: #fff1f2;
    border: 1px solid rgba(255, 92, 108, 0.4);
    color: #9f1239;
    padding: 20px;
    border-radius: var(--r-md);
    text-align: center;
    margin-top: 16px;
}
.alerta-importante h3 { color: var(--err); margin-bottom: 8px; font-size: 16px; }
.numero-pedido-destaque {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.08em;
    margin: 10px 0;
    padding: 8px 16px;
    display: inline-block;
    border: 1px dashed rgba(255, 92, 108, 0.5);
    border-radius: var(--r-sm);
}
.spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(0, 229, 255, 0.25);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-left: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.item-entregue {
    background: var(--ink-2);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: var(--r-md);
    padding: 18px;
    margin-top: 20px;
}
.codigo-secreto {
    background: #05070b;
    color: var(--cyan);
    font-family: var(--font-mono);
    padding: 14px;
    border-radius: var(--r-sm);
    word-break: break-all;
    margin-top: 10px;
    border: 1px dashed rgba(0, 229, 255, 0.4);
    white-space: pre-wrap;
}
.redeem-row { display: flex; gap: 10px; }
.redeem-row input { flex: 1; }

.auth-card h1 { font-size: 26px; }
.auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-2);
    cursor: pointer;
    user-select: none;
}
.auth-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--cyan);
    flex-shrink: 0;
}
.auth-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 13px;
}
.auth-foot a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }

.account-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 16px;
}
.account-span { grid-column: 1 / -1; }
.account-dl { margin: 0; }
.account-dl > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.account-dl dt { color: var(--text-3); }
.account-dl dd { color: var(--text); font-weight: 600; text-align: right; word-break: break-word; }

@media (max-width: 860px) {
    .account-layout { grid-template-columns: 1fr; }
}

.page-msg {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-2);
}
.page-msg h2 { margin-bottom: 10px; }

/* ---------- Legal ---------- */
.legal {
    width: min(760px, calc(100% - 32px));
    margin: 48px auto 80px;
}
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--text-2); margin-bottom: 12px; }
.legal ul { padding-left: 18px; list-style: disc; }

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(800px 280px at 10% 0%, rgba(0, 229, 255, 0.06), transparent 50%),
        var(--ink-2);
    padding: 64px 0 28px;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 32px;
}
.foot-brand p {
    color: var(--text-3);
    font-size: 14px;
    margin-top: 12px;
    max-width: 280px;
    line-height: 1.6;
}
.foot-social { display: flex; gap: 8px; margin-top: 18px; }
.foot-social a {
    width: 36px; height: 36px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    color: var(--text-2);
    text-decoration: none;
    transition: var(--t);
}
.foot-social a:hover { color: var(--cyan); border-color: var(--cyan); }
.foot-col h4 {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 14px;
    font-weight: 700;
}
.foot-col a {
    display: block;
    color: var(--text-2);
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: color var(--t);
}
.foot-col a:hover { color: #0369a1; }
.foot-bottom {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-3);
}
.foot-bottom strong { color: var(--text-2); font-weight: 600; }

/* ---------- Toast ---------- */
#notification-toast {
    position: fixed;
    bottom: 20px; left: 16px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    padding: 12px 16px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateX(-160%);
    transition: transform 0.5s var(--ease);
    max-width: 280px;
}
#notification-toast.show { transform: translateX(0); }
.notif-img {
    width: 38px; height: 38px;
    background: var(--cyan-dim);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--cyan);
}
.notif-user { font-size: 12px; font-weight: 700; color: var(--text); }
.notif-prod { font-size: 11px; color: var(--cyan); margin-top: 2px; }

/* ---------- Admin ---------- */
.admin-shell { width: min(1180px, calc(100% - 32px)); margin: 32px auto 64px; }
.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.admin-top h2 { font-size: 24px; }
.dash-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
.dash-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
}
.dash-card h3 {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    font-weight: 700;
    margin-bottom: 8px;
}
.dash-card .valor {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text);
}
.admin-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}
.menu-btn {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 18px 14px;
    text-decoration: none;
    border-radius: var(--r-md);
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    transition: var(--t);
}
.menu-btn:hover { border-color: var(--cyan); color: #0369a1; }
.table-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow-x: auto;
}
table.data { width: 100%; border-collapse: collapse; }
table.data th {
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}
table.data td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--text-2);
    vertical-align: middle;
}
table.data tr:hover td { background: rgba(255, 255, 255, 0.015); }
.login-wrap {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
}
.login-box { width: min(420px, 100%); }
.alerta { padding: 12px 14px; border-radius: var(--r-sm); margin-bottom: 16px; font-weight: 600; font-size: 14px; text-align: center; }
.alerta-sucesso { background: var(--ok-dim); border: 1px solid rgba(61, 220, 151, 0.35); color: var(--ok); }
.alerta-erro { background: var(--err-dim); border: 1px solid rgba(255, 92, 108, 0.35); color: var(--err); }
.grid-2 { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.form-box h3 { font-size: 18px; }
.grid-admin { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.form-box, .lista-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
}
.img-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.btn-acao { padding: 6px 10px; border-radius: 6px; text-decoration: none; font-size: 12px; font-weight: 700; margin-right: 4px; display: inline-block; }
.btn-edit { color: var(--blue); border: 1px solid rgba(0, 157, 255, 0.35); }
.btn-del { color: var(--err); border: 1px solid rgba(255, 92, 108, 0.35); }

/* ---------- Page hero (inner) ---------- */
.page-hero {
    padding: 56px 0 28px;
    position: relative;
}
.page-hero h1 {
    font-size: clamp(32px, 4.5vw, 52px);
    margin: 10px 0 14px;
    max-width: 800px;
}
.page-hero p { color: var(--text-2); max-width: 560px; font-size: 17px; }

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 20px;
}
.step b {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ember);
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hero-layout, .split, .api-grid { grid-template-columns: 1fr; }
    .hero-stage { min-height: 0; max-width: 560px; }
    .stage-float.a, .stage-float.b { position: static; width: auto; margin-top: 12px; }
    .tiles-4, .prod-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .dash-grid, .admin-menu { grid-template-columns: 1fr 1fr; }
    .pd { grid-template-columns: 1fr; }
    .grid-2, .grid-admin { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .nav-links, .nav-search { display: none; }
    .nav-toggle { display: grid; margin-left: auto; }
    body.is-admin .nav-toggle { display: none; }
    .hero { padding: 40px 0 48px; }
    .section { padding: 56px 0; }
    .cta-band { padding: 32px 22px; }
}

@media (max-width: 640px) {
    :root { --nav-h: 64px; }
    .wrap, .wrap-wide { width: calc(100% - 28px); }
    .hero h1 { font-size: 34px; }
    .hero-metrics { grid-template-columns: 1fr; }
    .tiles-4, .prod-grid, .steps, .dash-grid, .admin-menu, .foot-grid {
        grid-template-columns: 1fr;
    }
    .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .p-title { font-size: 13px; min-height: 2.6em; }
    .p-price { font-size: 16px; }
    .p-actions { flex-direction: column; }
    .p-desc { display: none; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .foot-bottom { flex-direction: column; text-align: center; }
    .brand-name { max-width: 140px; font-size: 14px; }
    .narrow, .legal { width: calc(100% - 24px); margin-top: 28px; }
    .panel { padding: 20px 16px; }
    .nav-cta .btn-primary { padding: 10px 12px; font-size: 12px; }
    .redeem-row { flex-direction: column; }
    .redeem-row .btn { width: 100%; }
}

@media (max-width: 400px) {
    .prod-grid { grid-template-columns: 1fr; }
}

@media (max-width: 320px) {
    .wrap, .wrap-wide { width: calc(100% - 16px); }
    .brand-name { display: none; }
}

/* ---------- Meus produtos (conta) ---------- */
.page-account .mp-wrap { overflow: hidden; }
.page-account .mp-title {
    font-size: 18px;
    margin: 0 0 16px;
}
.page-account .mp-hero {
    background: #F8FAFC;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 20px 22px;
    margin-bottom: 20px;
}
.page-account .mp-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: #047857;
    margin: 0 0 8px;
}
.page-account .mp-hero h3 {
    font-size: 22px;
    margin: 0 0 8px;
    color: var(--text);
}
.page-account .mp-hero p {
    margin: 0;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.55;
    max-width: 640px;
}
.page-account .mp-thanks {
    margin-top: 10px !important;
    font-weight: 600;
    color: var(--text) !important;
}
.page-account .mp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
.page-account .mp-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.page-account .mp-card.theme-purple { border-top: 3px solid #8B00FF; }
.page-account .mp-card.theme-cyan { border-top: 3px solid #00C6FF; }
.page-account .mp-card.theme-red { border-top: 3px solid #FF1744; }
.page-account .mp-card.theme-green { border-top: 3px solid #00C853; }
.page-account .mp-card.theme-orange { border-top: 3px solid #FF6D00; }
.page-account .mp-card-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-width: 0;
}
.page-account .mp-emoji {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}
.page-account .mp-card h3 {
    margin: 0;
    font-size: 16px;
    color: var(--text);
    word-break: break-word;
}
.page-account .mp-mod {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-3);
}
.page-account .mp-flags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #047857;
}
.page-account .mp-flags li::before { content: "✓ "; }
.page-account .mp-flags .is-wait { color: #b45309; }
.page-account .mp-flags .is-wait::before { content: "● "; }
.page-account .mp-flags .is-off { color: #b91c1c; }
.page-account .mp-flags .is-off::before { content: "✕ "; }
.page-account .mp-note {
    margin: 0;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.45;
}
.page-account .mp-dl {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-top: 4px;
}
.page-account .mp-ver {
    margin: 0;
    font-size: 12px;
    color: var(--text-3);
}

@media (max-width: 640px) {
    .page-account .mp-hero { padding: 16px; }
    .page-account .mp-hero h3 { font-size: 18px; }
    .page-account .mp-grid { grid-template-columns: 1fr; }
    .page-account .mp-dl { min-height: 44px; }
}
