/* Players Engine — coming-soon landing page.
 * Ported 1:1 from design/design_handoff_landing/PlayersEngine Landing.html
 * (the `centered` hero layout — the design also ships `split` and `editorial`
 *  variants in dev tweaks; we only ship the chosen one).
 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #02091d;
    --fg: #f9fafb;
    --surface: #111827;
    --surface-raised: #1f2937;
    --cyan: #00f3ff;
    --primary: hsl(211, 100%, 78%);
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 243, 255, 0.15);
}

html {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Titillium Web', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    overflow-x: hidden;
}

/* ── Ambient background ───────────────────────────────────────────── */
.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(1400px 700px at 15% -15%, rgba(0, 243, 255, 0.10), transparent 55%),
        radial-gradient(1000px 600px at 90% 10%, rgba(99, 102, 241, 0.14), transparent 55%),
        radial-gradient(900px 500px at 50% 110%, rgba(34, 211, 238, 0.06), transparent 55%),
        linear-gradient(180deg, #02091d 0%, #03102a 40%, #020814 100%);
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
}

/* ── Scanline ─────────────────────────────────────────────────────── */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    height: 1px;
    flex-shrink: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 243, 255, 0.35) 20%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(0, 243, 255, 0.35) 80%,
        transparent);
}

/* ── Header ───────────────────────────────────────────────────────── */
.pe-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 48px);
    height: 64px;
    border-bottom: 1px solid var(--border);
    background: rgba(6, 13, 34, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: background 0.3s, border-bottom-color 0.3s;
}
.pe-header.scrolled {
    background: rgba(2, 9, 29, 0.95);
    border-bottom-color: var(--border-glow);
}
.pe-header-left { display: flex; align-items: center; gap: 12px; }
.pe-logo-header {
    height: 26px;
    width: auto;
    opacity: 0.5;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.15));
    transition: opacity 0.3s, filter 0.3s;
}
.pe-logo-header:hover {
    opacity: 0.8;
    filter: drop-shadow(0 0 18px rgba(0, 243, 255, 0.4));
}

.pe-header-nav { display: flex; align-items: center; gap: 6px; }
.pe-nav-link {
    font-family: 'Titillium Web', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}
.pe-nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.pe-btn-beta {
    font-family: 'Titillium Web', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #020814;
    background: var(--cyan);
    border: none;
    cursor: pointer;
    padding: 9px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.25);
}
.pe-btn-beta:hover {
    background: #33f6ff;
    box-shadow: 0 0 32px rgba(0, 243, 255, 0.45);
    transform: translateY(-1px);
}

/* ── Sections ─────────────────────────────────────────────────────── */
.section {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 64px);
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 64px;
}
.hero-inner { width: 100%; }
.hero-centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    height: clamp(64px, 8vw, 110px);
    width: auto;
    filter: drop-shadow(0 0 40px rgba(0, 243, 255, 0.25)) drop-shadow(0 0 80px rgba(0, 243, 255, 0.1));
    margin-bottom: 28px;
    animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 40px rgba(0, 243, 255, 0.25)) drop-shadow(0 0 80px rgba(0, 243, 255, 0.1));
    }
    50% {
        transform: translateY(-6px);
        filter: drop-shadow(0 0 50px rgba(0, 243, 255, 0.35)) drop-shadow(0 0 100px rgba(0, 243, 255, 0.15));
    }
}

.coming-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 5px 16px 5px 11px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 100px;
    background: rgba(0, 243, 255, 0.06);
}
.coming-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    animation: dotPulse 2s infinite;
}
.coming-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--cyan);
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(36px, 4.5vw, 72px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}
.hero-title .accent {
    background: linear-gradient(135deg, var(--cyan), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.42);
    max-width: 480px;
    margin-bottom: 32px;
}
.hero-centered .hero-sub { margin-left: auto; margin-right: auto; }

/* ── Email form ───────────────────────────────────────────────────── */
.email-form {
    display: flex;
    max-width: 440px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.email-form:focus-within {
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 0 0 28px rgba(0, 243, 255, 0.08);
}
.hero-centered .email-form { margin-left: auto; margin-right: auto; }
.email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 13px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #fff;
    outline: none;
    min-width: 0;
}
.email-input::placeholder { color: rgba(255, 255, 255, 0.25); }
.email-submit {
    font-family: 'Titillium Web', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #020814;
    background: var(--cyan);
    border: none;
    cursor: pointer;
    padding: 13px 22px;
    white-space: nowrap;
    transition: background 0.25s;
}
.email-submit:hover { background: #33f6ff; }
.email-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.email-note {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.18);
    margin-top: 10px;
}
.email-error {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #f87171;
    margin-top: 10px;
    min-height: 14px;
}
.email-success {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.email-success-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #34d399;
}
.hero-centered .email-success { justify-content: center; }
.cta-section .email-success { justify-content: center; }

/* ── Preview frame ────────────────────────────────────────────────── */
.preview-container {
    position: relative;
    margin-top: 48px;
    max-width: 640px;
    width: 100%;
}
.preview-glow {
    position: absolute;
    width: 90%;
    height: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(0, 243, 255, 0.08) 0%, rgba(99, 102, 241, 0.05) 40%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}
.preview-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--surface);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 243, 255, 0.04);
}
.preview-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: blur(3px) brightness(0.85);
}
.preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 9, 29, 0.4);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--cyan);
    text-transform: uppercase;
}

/* ── Feature cards ────────────────────────────────────────────────── */
.features-section { padding-top: 80px; padding-bottom: 80px; }
.features-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.features-heading {
    font-size: clamp(24px, 2.5vw, 40px);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 48px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-card {
    padding: 28px 24px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    border-color: var(--border-glow);
    background: rgba(0, 243, 255, 0.03);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 243, 255, 0.04);
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 243, 255, 0.06);
    border: 1px solid rgba(0, 243, 255, 0.15);
    color: var(--cyan);
    margin-bottom: 18px;
}
.feature-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 10px;
}
.feature-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.35);
}

/* ── Divider ──────────────────────────────────────────────────────── */
.divider {
    height: 1px;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.06) 30%,
        rgba(0, 243, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.06) 70%,
        transparent);
}

/* ── CTA section ──────────────────────────────────────────────────── */
.cta-section {
    padding-top: 80px;
    padding-bottom: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cta-heading {
    font-size: clamp(22px, 2.2vw, 36px);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.1;
}
.cta-sub {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 28px;
    max-width: 400px;
}
.cta-section .email-form { margin: 0 auto; }
.cta-section .email-note { text-align: center; }

/* ── Footer ───────────────────────────────────────────────────────── */
.pe-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border);
    padding: 40px clamp(20px, 4vw, 64px) 28px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand img { height: 28px; width: auto; opacity: 0.7; }
.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
    max-width: 240px;
    line-height: 1.5;
}
.footer-links-group { display: flex; gap: 48px; }
.footer-col-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--cyan); }
.footer-socials { display: flex; gap: 12px; margin-top: 4px; }
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.social-btn:hover {
    border-color: var(--border-glow);
    color: var(--cyan);
    background: rgba(0, 243, 255, 0.06);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.15);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover { color: var(--cyan); }

/* ── Beta-request modal ──────────────────────────────────────────── */
.beta-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: modalIn 0.18s ease-out;
}
.beta-modal[hidden] { display: none; }
.beta-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 9, 29, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.beta-modal-card {
    position: relative;
    width: min(440px, 100%);
    background: linear-gradient(180deg, #0a1225 0%, #060d22 100%);
    border: 1px solid rgba(0, 243, 255, 0.18);
    border-radius: 18px;
    padding: 36px 32px 28px;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(0, 243, 255, 0.06);
    text-align: center;
}
.beta-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.35);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.beta-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.beta-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px 5px 11px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 100px;
    background: rgba(0, 243, 255, 0.06);
}
.beta-modal-title {
    margin: 0 0 10px;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.15;
}
.beta-modal-sub {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.38);
    margin: 0 0 22px;
}
.beta-modal .email-form { margin: 0 auto; }
.beta-modal .email-note { text-align: center; }

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 560px) {
    .beta-modal-card { padding: 30px 22px 24px; }
}

/* ── 404 ──────────────────────────────────────────────────────────── */
.notfound {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px;
    padding: 24px;
}
.notfound h1 {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}
.notfound p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.42);
    max-width: 360px;
}

/* ── Animations ───────────────────────────────────────────────────── */
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7); }
    50% { box-shadow: 0 0 0 6px rgba(0, 243, 255, 0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease-out forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }

/* ── Mobile basics ────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { flex-direction: column; }
    .footer-links-group { flex-direction: column; gap: 24px; }
}
@media (max-width: 560px) {
    .features-grid { grid-template-columns: 1fr; }
    .pe-header-nav .pe-nav-link { display: none; }
    .email-form { flex-direction: column; }
    .email-submit { padding: 14px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── Cookie banner ────────────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 150;
    border: 1px solid rgba(0, 243, 255, 0.18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(10, 18, 37, 0.96) 0%, rgba(6, 13, 34, 0.96) 100%);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 243, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: cookieIn 0.25s ease-out;
    max-width: 720px;
    margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
}
.cookie-banner-copy { flex: 1; min-width: 0; }
.cookie-banner-title {
    margin: 0 0 4px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}
.cookie-banner-body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
}
.cookie-banner-body a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.cookie-btn {
    font-family: 'Titillium Web', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 9px 18px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cookie-btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.12);
}
.cookie-btn-secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}
.cookie-btn-primary {
    background: var(--cyan);
    color: #020814;
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.25);
}
.cookie-btn-primary:hover {
    background: #33f6ff;
    box-shadow: 0 0 24px rgba(0, 243, 255, 0.4);
}
@keyframes cookieIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px; }
    .cookie-banner-actions { justify-content: stretch; }
    .cookie-btn { flex: 1; }
}

/* ── Legal pages (privacy / terms / cookies) ─────────────────────── */
.legal {
    position: relative;
    z-index: 5;
    max-width: 760px;
    margin: 0 auto;
    padding: 120px clamp(20px, 4vw, 48px) 80px;
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}
.legal-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 12px;
}
.legal-title {
    font-family: 'Titillium Web', sans-serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 12px;
}
.legal-updated {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 40px;
}
.legal section { margin-bottom: 32px; }
.legal h2 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 14px;
}
.legal p {
    font-size: 14px;
    margin: 0 0 14px;
}
.legal ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}
.legal ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 14px;
}
.legal ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--cyan);
    opacity: 0.5;
}
.legal strong { color: #fff; font-weight: 600; }
.legal code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    background: rgba(0, 243, 255, 0.06);
    border: 1px solid rgba(0, 243, 255, 0.12);
    color: rgba(0, 243, 255, 0.85);
    padding: 1px 6px;
    border-radius: 4px;
}
.legal-link {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-link:hover { color: #33f6ff; }
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 13px;
}
.legal-table th, .legal-table td {
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}
.legal-table th {
    background: rgba(0, 243, 255, 0.03);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(0, 243, 255, 0.7);
}

/* ── Action pages (unsubscribe / unsubscribed) ───────────────────── */
.action-page {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 40px;
}
.action-page-logo img {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.2));
    opacity: 0.85;
}
.action-card {
    width: min(480px, 100%);
    background: linear-gradient(180deg, rgba(10, 18, 37, 0.96) 0%, rgba(6, 13, 34, 0.96) 100%);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 18px;
    padding: 36px 32px 30px;
    text-align: center;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 243, 255, 0.05);
}
.action-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cyan);
    margin: 0 0 16px;
}
.action-eyebrow-success { color: #34d399; }
.action-title {
    font-family: 'Titillium Web', sans-serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 16px;
}
.action-body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 12px;
}
.action-body-muted { color: rgba(255, 255, 255, 0.35); font-size: 12px; }
.action-btn,
.action-btn-destructive {
    display: inline-block;
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: 10px;
    border: 1px solid;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    margin-top: 14px;
}
.action-btn {
    background: rgba(0, 243, 255, 0.08);
    border-color: rgba(0, 243, 255, 0.45);
    color: #a5f3fc;
}
.action-btn:hover {
    background: rgba(0, 243, 255, 0.14);
    border-color: rgba(0, 243, 255, 0.65);
}
.action-btn-destructive {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.45);
    color: #fda4af;
}
.action-btn-destructive:hover {
    background: rgba(244, 63, 94, 0.14);
    border-color: rgba(244, 63, 94, 0.65);
}
.action-btn-destructive:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.action-fineprint {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 10px;
}

/* ── Reduced motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-logo { animation: none; }
    .coming-dot { animation: none; }
}
