/* ── Reset & Base ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Theme Variables ─────────────────────────────────────────────────────────── */
:root {
    /* Dark (default) */
    --bg:          #090909;
    --surface:     #111111;
    --card:        #181818;
    --border:      #252525;
    --accent:      #11D631;
    --accent-dim:  #0db828;
    --accent-text: #11D631;  /* bright green for text on dark bg */
    --text:        #ededed;
    --muted:       #888888;
    --danger:      #f13535;

    /* Non-color tokens (never change between themes) */
    --radius: 10px;
    --font:   system-ui, -apple-system, 'Segoe UI', sans-serif;
}

[data-theme="light"] {
    --bg:          #f8fcf8;
    --surface:     #eef8f0;
    --card:        #ffffff;
    --border:      #d6eed8;
    --accent:      #11D631;
    --accent-dim:  #0db828;
    --accent-text: #0c8520;  /* darker green for text on light bg */
    --text:        #111a12;
    --muted:       #607060;
    --danger:      #cc1111;
}

/* ── Smooth theme transition ──────────────────────────────────────────────────── */
body,
.card, .stat-card, .admin-nav, .tag, .btn-secondary,
.admin-content, .login-box, thead th, tbody td, .review-card {
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

/* ── Base ─────────────────────────────────────────────────────────────────────── */
html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ──────────────────────────────────────────────────────────────────── */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--wide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Theme + Lang Controls ───────────────────────────────────────────────────── */
.controls {
    position: fixed;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.45rem;
    z-index: 100;
}

.ctrl-btn {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font);
    line-height: 1;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    padding: 0;
    backdrop-filter: blur(8px);
}

.ctrl-btn:hover {
    border-color: var(--accent);
    color: var(--accent-text);
}

/* Sun/moon icon toggle */
.ctrl-icon { display: flex; align-items: center; justify-content: center; }
.ctrl-icon--moon { display: none; }  /* default: dark mode, show sun */
.ctrl-icon--sun  { display: flex; }

[data-theme="light"] .ctrl-icon--sun  { display: none; }
[data-theme="light"] .ctrl-icon--moon { display: flex; }

/* ── Landing Page ────────────────────────────────────────────────────────────── */
body.landing {
    display: flex;
    flex-direction: column;
}

.hero {
    padding: 5rem 1.5rem 3rem;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text);
}

.tagline {
    margin-top: 0.75rem;
    font-size: 1.1rem;
    color: var(--muted);
}

.accent-dot { color: var(--accent); }

.about {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.bio-content p {
    font-size: 1.3rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.bio-meme {
    display: block;
    max-width: min(420px, 50%);
    border-radius: var(--radius);
    margin: 0.5rem 0 1.5rem;
}

[hidden] { display: none !important; }

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--muted);
    background: var(--card);
}

/* ── Reviews ─────────────────────────────────────────────────────────────────── */
.reviews {
    border-top: 1px solid var(--border);
    padding: 2rem 0 0;
    overflow: hidden;
}

.reviews-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.reviews-inner {
    display: flex;
    gap: 1.25rem;
    padding: 0.25rem 0;
    will-change: transform;
}

.review-card {
    flex-shrink: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.15s;
}

.review-card:hover { border-color: var(--accent); }

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    flex: 1;
    overflow-wrap: break-word;
}

.review-name {
    font-size: 0.8rem;
    color: var(--accent-text);
    font-weight: 600;
}

.contact {
    padding: 3rem 0 5rem;
    border-top: 1px solid var(--border);
}

.contact h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.15s, transform 0.1s;
    text-decoration: none;
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--accent);
    color: #051008;  /* dark text — bright green has insufficient contrast with white */
}

.btn-secondary {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-danger {
    background: transparent;
    color: var(--danger);
    border: 1px solid var(--danger);
}

.btn-danger:hover { background: var(--danger); color: #fff; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
footer {
    margin-top: auto;
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border);
    color: #797979;
}

/* ── Admin Pages ─────────────────────────────────────────────────────────────── */
body.admin { background: var(--bg); }

.admin-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-nav .nav-brand {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-text);
    text-decoration: none;
    margin-right: auto;
}

.admin-nav a {
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--card);
    color: var(--text);
    text-decoration: none;
}

/* Theme button inside admin nav */
.admin-nav .ctrl-btn {
    margin-left: 0.25rem;
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
}

.nav-user-menu {
    position: relative;
    margin-left: 0.25rem;
}

.nav-avatar-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 50%;
}

.nav-avatar-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.nav-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
    flex-shrink: 0;
    transition: border-color 0.15s;
}

.nav-avatar-btn:hover .nav-avatar {
    border-color: var(--accent);
}

.nav-avatar--initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #051008;  /* dark text on bright green */
    font-size: 0.75rem;
    font-weight: 700;
    user-select: none;
}

.nav-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 150px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    z-index: 200;
    overflow: hidden;
}

.nav-dropdown.open {
    display: block;
}

.nav-dropdown-name {
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.nav-dropdown-item {
    display: block;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    color: var(--text);
    text-decoration: none;
    transition: background 0.12s;
}

.nav-dropdown-item:hover {
    background: var(--card);
    color: var(--text);
    text-decoration: none;
}

.nav-dropdown-item--active {
    color: var(--accent);
}

.nav-dropdown-item--active:hover {
    color: var(--accent);
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0;
}

.admin-content {
    padding: 2rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
}

/* ── Cards ───────────────────────────────────────────────────────────────────── */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 1rem;
}

/* ── Stat Cards ──────────────────────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text);
}

.stat-value.accent { color: var(--accent-text); }

/* ── Bar Chart ───────────────────────────────────────────────────────────────── */
.bar-chart { display: flex; flex-direction: column; gap: 0.6rem; }

.bar-row {
    display: grid;
    grid-template-columns: 90px 1fr 60px;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.bar-label { color: var(--muted); }

.bar-track {
    background: var(--border);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.bar-fill.sticker  { background: #64c8ff; }
.bar-fill.qr_code  { background: var(--accent); }
.bar-fill.direct   { background: #6ecf7e; }
.bar-fill.other    { background: #f5a030; }

.bar-count { color: var(--muted); text-align: right; }

/* ── Tables ──────────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

thead th {
    padding: 0.65rem 1rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

tbody td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(17,214,49,0.04); }

.mono { font-family: 'Courier New', monospace; font-size: 0.82rem; }

/* ── Badges ──────────────────────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-sticker { background: rgba(100,200,255,0.12); color: #64c8ff; }
.badge-qr      { background: rgba(17,214,49,0.15);   color: #11D631; }
.badge-direct  { background: rgba(110,207,126,0.15); color: #6ecf7e; }
.badge-other   { background: rgba(245,160,48,0.12);  color: #f5a030; }
.badge-paper   { background: rgba(17,214,49,0.15);   color: #11D631; }
.badge-click   { background: rgba(17,214,49,0.15);   color: #11D631; }
.badge-spam    { background: rgba(241,53,53,0.12);   color: #f13535; }

/* ── Forms ───────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row .form-group { flex: 1; min-width: 180px; }

/* ── QR Preview ──────────────────────────────────────────────────────────────── */
.qr-preview-box {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.qr-image-wrap {
    background: #fff;
    border-radius: var(--radius);
    padding: 1rem;
    display: inline-block;
    flex-shrink: 0;
}

.qr-image-wrap img { display: block; width: 200px; height: 200px; }

.qr-info { flex: 1; min-width: 220px; }
.qr-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.qr-url {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    word-break: break-all;
    margin-bottom: 1rem;
}

.qr-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ── Alert ───────────────────────────────────────────────────────────────────── */
.alert {
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(17,214,49,0.1);
    border: 1px solid rgba(17,214,49,0.3);
    color: var(--accent-text);
}

.alert-error {
    background: rgba(241,53,53,0.1);
    border: 1px solid rgba(241,53,53,0.3);
    color: var(--danger);
}

/* ── Login page ──────────────────────────────────────────────────────────────── */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 360px;
}

.login-box h1 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.login-box p  { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.75rem; }

/* ── Section separators & empty states ──────────────────────────────────────── */
.section-title {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.empty-state {
    padding: 2.5rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

/* ── Modal ───────────────────────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.modal-overlay[hidden] { display: none !important; }

.modal-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    width: 100%;
    max-width: 460px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.modal-header h2 { font-size: 1.05rem; font-weight: 700; }

.modal-close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: var(--font);
}

.modal-close:hover { color: var(--text); background: var(--surface); }

.modal-desc {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.slot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
}

/* ── Layout B (A/B variant: Discovery hero) ──────────────────────────────────── */
.hero-b {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
}

.hero-b-inner {
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-b-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-text);
    font-weight: 700;
}

.hero-b-heading {
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--text);
}

.hero-b-sub {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 400px;
}

.hero-b-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    max-width: 340px;
    margin-top: 0.5rem;
}

.btn-b {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.05rem 1.75rem;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s, box-shadow 0.3s;
}

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

.btn-b-ig {
    background: var(--accent);
    color: #051008;
    animation: b-glow 2.8s ease-in-out infinite;
}

@keyframes b-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(17, 214, 49, 0.5); }
    50%       { box-shadow: 0 0 0 12px rgba(17, 214, 49, 0); }
}

.btn-b-email {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-b-email:hover { border-color: var(--accent); }

.hero-b-scroll {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--muted);
    opacity: 0.6;
    animation: b-float 2.4s ease-in-out infinite;
}

@keyframes b-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

.contact-b-bottom {
    padding: 2.5rem 0 4rem;
    border-top: 1px solid var(--border);
}

.contact-b-repeat-label {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

/* ── A/B Dashboard ───────────────────────────────────────────────────────────── */
.badge-variant-a { background: rgba(100,200,255,0.12); color: #64c8ff; }
.badge-variant-b { background: rgba(245,160,48,0.12);  color: #f5a030; }

.ab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ab-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
    transition: border-color 0.15s;
}

.ab-card.ab-winning { border-color: var(--accent); }

.ab-card-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 0.2rem;
}

.ab-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.ab-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.87rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--border);
}

.ab-stat-row:last-of-type { border-bottom: none; }

.ab-stat-key { color: var(--muted); }
.ab-stat-val { font-weight: 600; }
.ab-stat-val.accent { color: var(--accent-text); }

.ab-winner-tag {
    display: inline-block;
    margin-top: 0.85rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(17,214,49,0.15);
    color: var(--accent-text);
}

/* ── Print styles ────────────────────────────────────────────────────────────── */
@media print {
    body { background: #fff !important; color: #000 !important; }
    .no-print { display: none !important; }
}

/* ── Mobile ──────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    /* Landing */
    .hero { padding: 3.5rem 1.25rem 2rem; }
    .about { padding: 2rem 0; }
    .contact { padding: 2rem 0 3.5rem; }
    .contact h2 { font-size: 1.5rem; }
    .bio-content p { font-size: 1.2rem; }
    .bio-meme { max-width: 80%; }
    .contact-buttons { flex-direction: column; }
    .contact-buttons .btn { width: 100%; justify-content: center; }

    /* Admin nav */
    .admin-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }
    .admin-nav .nav-brand { width: 100%; margin-right: 0; }
    .admin-content { padding: 1.25rem 1rem; }
    .page-title { font-size: 1.2rem; margin-bottom: 1.25rem; }

    /* Bar chart */
    .bar-row {
        grid-template-columns: 70px 1fr 44px;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    /* Stat cards */
    .stat-value { font-size: 1.75rem; }

    /* Login */
    .login-box { padding: 1.75rem 1.25rem; }

    /* Layout B */
    .hero-b { padding: 4rem 1.25rem 3rem; }
    .hero-b-heading { font-size: clamp(2.4rem, 12vw, 5rem); }
    .hero-b-sub { font-size: 1rem; }
    .hero-b-actions { max-width: 100%; }

    /* A/B dashboard */
    .ab-grid { grid-template-columns: 1fr; }
}
