/* ==========================================================================
   FilmCloud.tv — Shared stylesheet
   Loaded by: index.html, index2.html, register.html, template.html

   Structure:
     1. Design tokens
     2. Reset + body base
     3. Ambient backdrop
     4. Shared header / logo / footer
     5. Base main / reduced-motion
     6. Page-specific: home
     7. Page-specific: register
     8. Page-specific: template (layout only)
     9. Reusable components (buttons, alerts, badges, form controls, cards,
        tabs, progress, avatars, table, modal, tooltip, spinner, divider,
        empty state, toasts) — unscoped so they can be reused everywhere
    10. Per-page responsive breakpoints
   ========================================================================== */


/* ============================== 1. Design tokens ============================ */
:root {
    --indigo: #6366f1;
    --indigo-bright: #818cf8;
    --indigo-deep: #4f46e5;
    --ink: #0b0b18;
    --ink-2: #11122a;
    --text: #e7e8f5;
    --muted: #9aa0c3;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --card: rgba(255, 255, 255, 0.04);
    --card-2: rgba(255, 255, 255, 0.06);

    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.10);
    --success-border: rgba(52, 211, 153, 0.35);

    --warning: #fbbf24;
    --warning-bg: rgba(251, 191, 36, 0.10);
    --warning-border: rgba(251, 191, 36, 0.35);

    --info: #818cf8;
    --info-bg: rgba(129, 140, 248, 0.10);
    --info-border: rgba(129, 140, 248, 0.35);

    --danger: #f43f5e;
    --danger-bg: rgba(244, 63, 94, 0.10);
    --danger-border: rgba(244, 63, 94, 0.35);
}


/* ============================== 2. Reset + body ============================= */
* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--ink);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* ============================== 3. Ambient backdrop ========================= */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(60% 50% at 15% 10%, rgba(99, 102, 241, 0.35) 0%, transparent 60%),
        radial-gradient(50% 50% at 85% 20%, rgba(129, 140, 248, 0.22) 0%, transparent 60%),
        radial-gradient(55% 60% at 50% 100%, rgba(79, 70, 229, 0.30) 0%, transparent 60%),
        linear-gradient(180deg, #0b0b18 0%, #11122a 100%);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    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: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    z-index: -1;
    pointer-events: none;
}

/* Template page uses a lighter backdrop and drops the grid overlay */
body.page-template::before {
    background:
        radial-gradient(60% 50% at 15% 10%, rgba(99, 102, 241, 0.25) 0%, transparent 60%),
        radial-gradient(50% 50% at 85% 20%, rgba(129, 140, 248, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, #0b0b18 0%, #11122a 100%);
    z-index: -1;
}
body.page-template::after { display: none; }


/* ============================== 4. Header / logo / footer =================== */
header {
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 440 440'><path d='M88.05 0.08C176.02 0.08 263.98 0.08 351.95 0.08C354.35 1.59 363.68 2.22 367.2 3.12C376.68 5.52 386.37 9.8 394.59 15.18C412.26 26.76 426.33 43.68 433.82 63.36C435.48 67.73 437.12 72.59 437.91 77.2C438.46 80.41 438.3 85.35 439.92 88.05C439.92 176.02 439.92 263.98 439.92 351.95C438.3 354.66 438.47 359.59 437.91 362.8C437.11 367.41 435.48 372.27 433.82 376.64C426.31 396.34 412.28 413.22 394.59 424.82C386.38 430.2 376.67 434.48 367.2 436.88C363.68 437.78 354.35 438.42 351.95 439.92C263.98 439.92 176.02 439.92 88.05 439.92C85.65 438.42 76.32 437.77 72.8 436.88C63.32 434.48 53.63 430.19 45.41 424.82C27.72 413.27 13.67 396.31 6.18 376.64C4.52 372.27 2.89 367.41 2.09 362.8C1.53 359.6 1.71 354.65 0.08 351.96C0.08 263.99 0.08 176.01 0.08 88.04C1.71 85.35 1.53 80.4 2.09 77.2C2.89 72.59 4.52 67.73 6.18 63.36C13.66 43.69 27.73 26.74 45.41 15.18C53.64 9.81 63.32 5.52 72.8 3.12C76.32 2.22 85.65 1.59 88.05 0.08ZM300.25 184.99C298.49 179.5 298.16 173.85 295.73 168.49C288.67 152.95 273.79 142.54 257.04 140.25C251.88 139.54 246.83 140.25 241.75 140.99C239.91 141.26 237.63 142.61 235.77 142.1C233.96 141.61 228.06 134.9 225.96 133.29C219.34 128.21 211.64 124.42 203.6 122.21C173.42 113.93 139.6 129.48 127.21 158.41C124.6 164.49 122.81 171.15 122.2 177.78C121.91 180.9 122.47 184.29 121.75 187.32C117.46 189.14 112.41 189.42 107.99 191.27C98.47 195.27 90.25 202.06 84.19 210.4C62.85 239.77 77.11 282.3 110.5 294.73C121.33 298.76 132.87 298 144.25 298C154.92 298 165.58 298 176.25 298C210.75 298 245.25 298 279.75 298C297.43 298 318.82 300.57 335.61 294.81C376.39 280.82 386.79 227.36 355.52 198.23C344.79 188.23 330.37 182.9 315.75 183C310.45 183.04 305.42 184.8 300.25 184.99ZM192.9 170.22C198.56 168.8 209.83 176.95 214.95 179.77C233.46 189.95 252.09 199.98 270.57 210.22C277.1 213.84 289.05 218.34 283.76 228.05C281.23 232.7 268.89 237.64 264.03 240.3C246.16 250.07 228.36 259.92 210.52 269.75C204.21 273.22 193.05 281.95 187.41 272.85C184.4 267.99 186 255.66 186 249.75C186 230.75 186 211.75 186 192.75C186 185.52 183.38 172.62 192.9 170.22Z' fill='%234f46e5' fill-rule='evenodd'/><path d='M300.25 184.99C305.42 184.8 310.45 183.04 315.75 183C330.37 182.9 344.79 188.23 355.52 198.23C386.79 227.36 376.39 280.82 335.61 294.81C318.82 300.57 297.43 298 279.75 298C245.25 298 210.75 298 176.25 298C165.58 298 154.92 298 144.25 298C132.87 298 121.33 298.76 110.5 294.73C77.11 282.3 62.85 239.77 84.19 210.4C90.25 202.06 98.47 195.27 107.99 191.27C112.41 189.42 117.46 189.14 121.75 187.32C122.47 184.29 121.91 180.9 122.2 177.78C122.81 171.15 124.6 164.49 127.21 158.41C139.6 129.48 173.42 113.93 203.6 122.21C211.64 124.42 219.34 128.21 225.96 133.29C228.06 134.9 233.96 141.61 235.77 142.1C237.63 142.61 239.91 141.26 241.75 140.99C246.83 140.25 251.88 139.54 257.04 140.25C273.79 142.54 288.67 152.95 295.73 168.49C298.16 173.85 298.49 179.5 300.25 184.99ZM192.9 170.22C183.38 172.62 186 185.52 186 192.75C186 211.75 186 230.75 186 249.75C186 255.66 184.4 267.99 187.41 272.85C193.05 281.95 204.21 273.22 210.52 269.75C228.36 259.92 246.16 250.07 264.03 240.3C268.89 237.64 281.23 232.7 283.76 228.05C289.05 218.34 277.1 213.84 270.57 210.22C252.09 199.98 233.46 189.95 214.95 179.77C209.83 176.95 198.56 168.8 192.9 170.22Z' fill='%23fefeff' fill-rule='evenodd'/></svg>");
}

.logo-text {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: #fff;
}
.logo-text .tv { color: var(--indigo-bright); }

footer {
    padding: 24px 32px 32px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}
footer a {
    color: var(--muted);
    text-decoration: none;
    margin: 0 10px;
}
footer a:hover { color: var(--text); }


/* ============================== 5. Base main / reduced motion =============== */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 32px 80px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition: none !important;
    }
}


/* ============================== 6. Page: home =============================== */
body.page-home .nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}
body.page-home .nav-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.7);
}

.hero {
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.3);
    color: var(--indigo-bright);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
}

body.page-home h1 {
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin: 0 0 24px;
    color: #fff;
}
body.page-home h1 .accent {
    background: linear-gradient(135deg, var(--indigo-bright) 0%, var(--indigo) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.page-home .sub {
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.55;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 40px;
}

.launch-note {
    max-width: 560px;
    margin: 0 auto 56px;
    padding: 20px 24px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

.launch-label {
    display: block;
    color: var(--indigo-bright);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    margin: 0 0 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 10px 24px -10px rgba(99, 102, 241, 0.7);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px -10px rgba(99, 102, 241, 0.9);
}
.cta:active { transform: translateY(0); }
.cta svg { transition: transform 0.15s ease; }
.cta:hover svg { transform: translateX(2px); }

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}

.feature {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: left;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover {
    border-color: rgba(129, 140, 248, 0.35);
    transform: translateY(-2px);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99,102,241,0.20), rgba(79,70,229,0.20));
    border: 1px solid rgba(129, 140, 248, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--indigo-bright);
    margin-bottom: 14px;
}

.feature h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #fff;
    letter-spacing: -0.01em;
}
.feature p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}


/* ============================== 7. Page: register =========================== */
body.page-register .card {
    width: 100%;
    max-width: 480px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: var(--success);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

body.page-register h1 {
    font-size: clamp(28px, 4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 10px;
    color: #fff;
}

body.page-register .sub {
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 32px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.back-link:hover {
    color: var(--text);
    border-color: rgba(129, 140, 248, 0.35);
}

body.page-register form { display: flex; flex-direction: column; gap: 16px; }

body.page-register .row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.page-register .field { display: flex; flex-direction: column; gap: 6px; }

body.page-register label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.01em;
}

body.page-register input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
body.page-register input::placeholder { color: var(--muted); }
body.page-register input:hover { border-color: rgba(255, 255, 255, 0.15); }
body.page-register input:focus {
    border-color: var(--indigo-bright);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.18);
    background: rgba(255, 255, 255, 0.05);
}
body.page-register input.invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}

/* Textarea matches the input styling (used on contact.html) */
body.page-register textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.5;
    padding: 12px 14px;
    outline: none;
    resize: vertical;
    min-height: 140px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
body.page-register textarea::placeholder { color: var(--muted); }
body.page-register textarea:hover { border-color: rgba(255, 255, 255, 0.15); }
body.page-register textarea:focus {
    border-color: var(--indigo-bright);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.18);
    background: rgba(255, 255, 255, 0.05);
}
body.page-register textarea.invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}

.field-error {
    font-size: 12px;
    color: var(--danger);
    min-height: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}
.field-error svg { flex-shrink: 0; }

button.submit {
    background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
    border: 0;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    padding: 14px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.6);
    margin-top: 8px;
}
button.submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -8px rgba(99, 102, 241, 0.8);
}
button.submit:active { transform: translateY(0); }

.fine-print {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    line-height: 1.5;
    margin: 4px 0 0;
}
.fine-print a { color: var(--indigo-bright); text-decoration: none; }
.fine-print a:hover { text-decoration: underline; }

.success-state {
    display: none;
    text-align: center;
    padding: 24px 0 8px;
}
.success-state.show { display: block; }
body.page-register form.hidden { display: none; }

.success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
}
.success-state h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}
.success-state p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}


/* ============================== 7b. Page: legal (long-form prose) =========== */
body.page-legal main {
    display: block;
    padding: 40px 32px 80px;
}

.legal-doc {
    max-width: 720px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 48px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.legal-doc .doc-meta {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 500;
}

.legal-doc h1 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 12px;
    color: #fff;
}

.legal-doc .lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 32px;
}

.legal-doc h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 32px 0 10px;
}

.legal-doc h2:first-of-type { margin-top: 0; }

.legal-doc p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    margin: 0 0 14px;
}

.legal-doc ul, .legal-doc ol {
    margin: 0 0 14px;
    padding-left: 22px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
}
.legal-doc li { margin-bottom: 6px; }
.legal-doc li::marker { color: var(--indigo-bright); }

.legal-doc a {
    color: var(--indigo-bright);
    text-decoration: underline;
    text-decoration-color: rgba(129,140,248,0.4);
}
.legal-doc a:hover { text-decoration-color: var(--indigo-bright); }

.legal-doc strong { color: #fff; font-weight: 600; }

.legal-doc .rule {
    height: 1px;
    background: var(--line);
    margin: 32px 0;
    border: 0;
}


/* ============================== 7d. Page: videos (browse) ================== */
body.page-videos main {
    display: block;
    padding: 0 0 80px;
}

body.page-videos .featured {
    position: relative;
    min-height: 380px;
    margin: 0 0 56px;
    padding: 48px 40px;
    background: linear-gradient(135deg, var(--from, #1e3a8a) 0%, var(--to, #0f172a) 100%);
    border-radius: 0 0 20px 20px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
body.page-videos .featured::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(11,11,24,0.85) 0%, rgba(11,11,24,0.15) 55%, transparent 100%),
        radial-gradient(60% 80% at 100% 0%, rgba(255,255,255,0.10) 0%, transparent 60%);
    pointer-events: none;
}
body.page-videos .featured-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}
body.page-videos .featured-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
body.page-videos .featured h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.05;
}
body.page-videos .featured-desc {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 22px;
    max-width: 540px;
}
body.page-videos .featured-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

body.page-videos .video-row {
    margin-bottom: 40px;
}
body.page-videos .row-title {
    padding: 0 32px;
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
}
body.page-videos .video-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 4px 32px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
}
body.page-videos .video-scroll::-webkit-scrollbar { height: 8px; }
body.page-videos .video-scroll::-webkit-scrollbar-track { background: transparent; }
body.page-videos .video-scroll::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 4px;
}
body.page-videos .video-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

body.page-videos .video-card {
    flex-shrink: 0;
    width: 240px;
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform 0.15s ease;
    text-decoration: none;
    color: inherit;
}
body.page-videos .video-card:hover { transform: translateY(-3px); }

body.page-videos .video-poster {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background-image: var(--poster, linear-gradient(135deg, var(--from, #4f46e5), var(--to, #1e1b4b)));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    box-shadow: 0 4px 16px -8px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
/* When a real thumbnail is applied, hide the HTML text overlay (posters have
   their own baked-in title/cast) and skip the built-in vignette + highlight.
   Text stays in the DOM but visually hidden for screen readers. */
body.page-videos .video-card.has-poster .video-poster::before,
body.page-videos .video-card.has-poster .video-poster::after {
    display: none;
}
body.page-videos .video-card.has-poster .video-title,
body.page-videos .video-card.has-poster .video-meta {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
body.page-videos .video-poster::before {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 65%;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    pointer-events: none;
}
body.page-videos .video-poster::after {
    content: '';
    position: absolute;
    top: -30%; right: -30%;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 60%);
    pointer-events: none;
}
body.page-videos .video-card:hover .video-poster {
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 10px 28px -8px rgba(0,0,0,0.7);
}
body.page-videos .video-title {
    position: relative;
    z-index: 1;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 3px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
body.page-videos .video-meta {
    position: relative;
    z-index: 1;
    font-size: 11px;
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

body.page-videos .signup-banner {
    margin: 8px 32px 56px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(79,70,229,0.10));
    border: 1px solid rgba(129,140,248,0.35);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
body.page-videos .signup-banner h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}
body.page-videos .signup-banner p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

body.page-videos .filmmaker-cta {
    margin: 24px 32px 40px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(76,29,149,0.35) 0%, rgba(30,27,75,0.35) 100%);
    border: 1px solid rgba(129,140,248,0.30);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
body.page-videos .filmmaker-cta::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(129,140,248,0.20), transparent 70%);
    pointer-events: none;
}
body.page-videos .filmmaker-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 260px;
    position: relative;
    z-index: 1;
}
body.page-videos .filmmaker-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(79,70,229,0.25));
    border: 1px solid rgba(129,140,248,0.40);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--indigo-bright);
    flex-shrink: 0;
}
body.page-videos .filmmaker-cta h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}
body.page-videos .filmmaker-cta p {
    margin: 0;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.55;
    max-width: 520px;
}

body.page-videos .auth-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Section switcher (used on videos-logged-in.html: Watch Films / Manage Films).
   Segmented-control style — active tab in indigo, inactive is gray/muted. */
body.page-videos .section-nav-wrap {
    padding: 4px 32px 20px;
}
body.page-videos .section-nav {
    display: inline-flex;
    padding: 4px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    gap: 2px;
}
body.page-videos .section-nav-item {
    padding: 8px 16px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}
body.page-videos .section-nav-item:hover { color: var(--text); }
body.page-videos .section-nav-item.active {
    background: var(--indigo);
    color: #fff;
}

@media (max-width: 720px) {
    body.page-videos header { padding: 18px 20px; }
    body.page-videos .featured {
        min-height: 300px;
        padding: 32px 20px;
        margin-bottom: 40px;
    }
    body.page-videos .row-title { padding: 0 20px; }
    body.page-videos .video-scroll { padding: 4px 20px 16px; }
    body.page-videos .video-card { width: 200px; }
    body.page-videos .signup-banner {
        margin: 8px 20px 40px;
        padding: 24px 20px;
    }
    body.page-videos .filmmaker-cta {
        margin: 24px 20px 40px;
        padding: 24px 20px;
    }
    body.page-videos .section-nav-wrap { padding: 4px 20px 16px; }
    body.page-videos .auth-nav .btn { padding: 6px 12px; font-size: 13px; }
}


/* ============================== 7e. Page: videos (v2 editorial layout) ==== */
/* Applied ALONGSIDE .page-videos so .video-card / .video-poster still work.
   Adds: left sidebar, cinematic hero, editorial section headers, card grids. */

body.page-videos-v2 {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 100vh;
    background: #08080f;
}
body.page-videos-v2::before,
body.page-videos-v2::after { display: none; }

/* --- Sidebar --- */
body.page-videos-v2 .v2-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 28px 20px 20px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    background: rgba(11, 11, 24, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2;
}
body.page-videos-v2 .v2-sidebar .logo { margin-bottom: 28px; padding: 0 4px; }
body.page-videos-v2 .v2-sidebar .logo-mark { width: 36px; height: 36px; }
body.page-videos-v2 .v2-sidebar .logo-text { font-size: 18px; }

body.page-videos-v2 .v2-nav-section { margin-bottom: 16px; }
body.page-videos-v2 .v2-nav-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 12px;
    margin: 0 0 6px;
}
body.page-videos-v2 .v2-nav a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease, background 0.15s ease;
}
body.page-videos-v2 .v2-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
body.page-videos-v2 .v2-nav a.active {
    color: #fff;
    background: rgba(99,102,241,0.16);
}

body.page-videos-v2 .v2-sidebar-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
}
body.page-videos-v2 .v2-account-name {
    flex: 1;
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- Main --- */
body.page-videos-v2 main {
    display: block;
    padding: 0;
    min-width: 0;
}
/* Footer spans full width below both sidebar + main (grid override). */
body.page-videos-v2 footer {
    grid-column: 1 / -1;
}

/* --- Cinematic hero --- */
body.page-videos-v2 .v2-hero {
    position: relative;
    min-height: 620px;
    background-image: var(--poster);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a2a;
    display: flex;
    align-items: flex-end;
    padding: 56px 56px 72px;
    overflow: hidden;
}
body.page-videos-v2 .v2-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8,8,15,0.92) 0%, rgba(8,8,15,0.55) 45%, rgba(8,8,15,0.15) 100%),
        linear-gradient(180deg, rgba(8,8,15,0.15) 0%, transparent 40%, rgba(8,8,15,0.45) 100%);
    pointer-events: none;
}
body.page-videos-v2 .v2-hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 180px;
    background: linear-gradient(180deg, transparent 0%, #08080f 100%);
    pointer-events: none;
}
body.page-videos-v2 .v2-hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}
body.page-videos-v2 .v2-hero-eyebrow {
    display: inline-block;
    padding: 5px 11px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
body.page-videos-v2 .v2-hero h1 {
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 0.96;
    margin: 0 0 16px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
body.page-videos-v2 .v2-hero-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0 0 18px;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
body.page-videos-v2 .v2-hero-meta span:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    margin-left: 12px;
    vertical-align: middle;
}
body.page-videos-v2 .v2-hero-desc {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255,255,255,0.86);
    margin: 0 0 28px;
    max-width: 540px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
body.page-videos-v2 .v2-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- Content sections --- */
body.page-videos-v2 .v2-section {
    padding: 40px 48px 24px;
}
body.page-videos-v2 .v2-section-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 22px;
}
body.page-videos-v2 .v2-section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--indigo-bright);
}
body.page-videos-v2 .v2-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-videos-v2 .v2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px 14px;
}
body.page-videos-v2 .v2-grid .video-card { width: 100%; }

/* --- Continue Watching (larger cards + progress bar) --- */
body.page-videos-v2 .v2-continue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px 18px;
}
body.page-videos-v2 .v2-continue-item .video-card { width: 100%; }
body.page-videos-v2 .v2-progress {
    height: 3px;
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 12px;
}
body.page-videos-v2 .v2-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--indigo-bright), var(--indigo));
    border-radius: 2px;
    width: var(--progress, 50%);
}
body.page-videos-v2 .v2-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}
body.page-videos-v2 .v2-progress-meta .remaining {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Override filmmaker-cta side margins in v2 (sidebar handles left space) */
body.page-videos-v2 .filmmaker-cta {
    margin: 32px 48px 56px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    body.page-videos-v2 {
        grid-template-columns: 1fr;
    }
    body.page-videos-v2 .v2-sidebar {
        position: static;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 16px 20px;
        gap: 4px;
    }
    body.page-videos-v2 .v2-nav-section { margin-bottom: 4px; }
    body.page-videos-v2 .v2-nav-label { display: none; }
    body.page-videos-v2 .v2-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    body.page-videos-v2 .v2-nav a { padding: 6px 12px; font-size: 13px; }
    body.page-videos-v2 .v2-sidebar-footer {
        margin: 8px 0 0;
        padding-top: 12px;
    }
    body.page-videos-v2 .v2-hero {
        min-height: 460px;
        padding: 32px 24px 48px;
    }
    body.page-videos-v2 .v2-section { padding: 28px 24px 16px; }
    body.page-videos-v2 .filmmaker-cta { margin: 24px 24px 40px; }
}


/* ============================== 7f. Page: videos (v3 streaming-hub) ======= */
/* Applied alongside .page-videos so .video-card / .video-poster still work.
   Netflix + Disney+ + Hulu + Vimeo + YouTube DNA:
     - YouTube-style top bar with search
     - Hulu-style filter chips
     - Netflix-style cinematic hero with mute button
     - Netflix "Top 10" numbered outlined-number row
     - Netflix-style progress overlay on Continue Watching
     - Disney+-style Featured Collection card
     - Vimeo-style creator cards with avatars
     - YouTube-style grid feed
*/

body.page-videos-v3 {
    background: #0a0a12;
    min-height: 100vh;
}
body.page-videos-v3::before,
body.page-videos-v3::after { display: none; }

/* --- Top nav --- */
body.page-videos-v3 .v3-topnav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 32px;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
body.page-videos-v3 .v3-topnav .logo { flex-shrink: 0; }
body.page-videos-v3 .v3-topnav .logo-mark { width: 32px; height: 32px; }
body.page-videos-v3 .v3-topnav .logo-text { font-size: 18px; }

body.page-videos-v3 .v3-search {
    flex: 1;
    max-width: 560px;
    margin: 0 auto 0 24px;
    position: relative;
}
body.page-videos-v3 .v3-search input {
    width: 100%;
    padding: 9px 14px 9px 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}
body.page-videos-v3 .v3-search input::placeholder { color: var(--muted); }
body.page-videos-v3 .v3-search input:focus {
    border-color: var(--indigo-bright);
    background: rgba(255, 255, 255, 0.09);
}
body.page-videos-v3 .v3-search .icon-search {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

body.page-videos-v3 .v3-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;  /* Push to right — needed when the search bar is absent. */
}

/* --- User menu dropdown (avatar in the top-right of v3 logged-in) --- */
body.page-videos-v3 .v3-user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}
body.page-videos-v3 .v3-user-btn {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.15s ease;
}
body.page-videos-v3 .v3-user-btn:hover,
body.page-videos-v3 .v3-user-menu.open .v3-user-btn {
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.35);
}
body.page-videos-v3 .v3-user-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.55);
}
body.page-videos-v3 .v3-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #16161f;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 14px 36px -14px rgba(0, 0, 0, 0.7);
    z-index: 30;
    display: none;
}
body.page-videos-v3 .v3-user-menu.open .v3-dropdown { display: block; }

body.page-videos-v3 .v3-dropdown-header {
    padding: 10px 12px 10px;
    margin-bottom: 4px;
}
body.page-videos-v3 .v3-dropdown-user-name {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    margin: 0;
    line-height: 1.3;
}
body.page-videos-v3 .v3-dropdown-user-email {
    color: var(--muted);
    font-size: 11px;
    margin: 3px 0 0;
    line-height: 1.3;
}
body.page-videos-v3 .v3-dropdown-item {
    display: block;
    padding: 9px 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.12s ease, color 0.12s ease;
}
body.page-videos-v3 .v3-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
body.page-videos-v3 .v3-dropdown-divider {
    height: 1px;
    background: var(--line);
    margin: 4px 6px;
}
body.page-videos-v3 .v3-dropdown-item.danger { color: var(--danger); }
body.page-videos-v3 .v3-dropdown-item.danger:hover {
    background: rgba(244, 63, 94, 0.08);
    color: var(--danger);
}
body.page-videos-v3 .v3-icon-btn {
    background: transparent;
    border: 0;
    color: var(--muted);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, background 0.15s ease;
}
body.page-videos-v3 .v3-icon-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

/* --- Filter chips --- */
body.page-videos-v3 .v3-chips-wrap {
    position: sticky;
    top: 60px;
    z-index: 10;
    padding: 12px 32px;
    background: rgba(10, 10, 18, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
}
body.page-videos-v3 .v3-chips-wrap::-webkit-scrollbar { display: none; }
body.page-videos-v3 .v3-chips {
    display: inline-flex;
    gap: 8px;
    white-space: nowrap;
}
body.page-videos-v3 .v3-chip {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
body.page-videos-v3 .v3-chip:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.20);
}
body.page-videos-v3 .v3-chip.active {
    background: #fff;
    color: #0b0b18;
    border-color: #fff;
    font-weight: 600;
}

/* --- Cinematic hero (autoplay-preview aesthetic) --- */
body.page-videos-v3 .v3-hero {
    position: relative;
    aspect-ratio: 21 / 9;
    min-height: 480px;
    max-height: 720px;
    background-image: var(--poster);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a2a;
    display: flex;
    align-items: flex-end;
    padding: 40px 56px 56px;
    overflow: hidden;
}
body.page-videos-v3 .v3-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10,10,18,0.90) 0%, rgba(10,10,18,0.5) 45%, transparent 75%),
        linear-gradient(180deg, transparent 0%, transparent 55%, rgba(10,10,18,0.75) 100%);
    pointer-events: none;
}
body.page-videos-v3 .v3-hero-content {
    position: relative;
    z-index: 1;
    max-width: 540px;
}
body.page-videos-v3 .v3-hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
body.page-videos-v3 .v3-hero h1 {
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 0.98;
    margin: 0 0 12px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
body.page-videos-v3 .v3-hero-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin: 0 0 14px;
}
body.page-videos-v3 .v3-hero-meta span:not(:last-child)::after {
    content: '·';
    margin-left: 10px;
    color: rgba(255,255,255,0.5);
}
body.page-videos-v3 .v3-hero-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
    margin: 0 0 22px;
    max-width: 500px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
body.page-videos-v3 .v3-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
body.page-videos-v3 .v3-hero-play {
    background: #fff;
    color: #0a0a12;
    border: 0;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease;
}
body.page-videos-v3 .v3-hero-play:hover { background: rgba(255,255,255,0.86); }
body.page-videos-v3 .v3-hero-secondary {
    background: rgba(109, 109, 110, 0.7);
    color: #fff;
    border: 0;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.15s ease;
}
body.page-videos-v3 .v3-hero-secondary:hover { background: rgba(109, 109, 110, 0.9); }
body.page-videos-v3 .v3-mute-btn {
    position: absolute;
    right: 32px;
    bottom: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255,255,255,0.30);
    color: rgba(255,255,255,0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.15s ease, color 0.15s ease;
}
body.page-videos-v3 .v3-mute-btn:hover { background: rgba(0,0,0,0.7); color: #fff; }

/* Welcome intro (v3 logged-out) */
body.page-videos-v3 .v3-welcome {
    padding: 32px 32px 8px;
    max-width: 900px;
}
body.page-videos-v3 .v3-welcome h2 {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    line-height: 1.15;
}
body.page-videos-v3 .v3-welcome p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 12px;
    max-width: 620px;
}
body.page-videos-v3 .v3-welcome p strong { color: var(--text); font-weight: 600; }
body.page-videos-v3 .v3-welcome .v3-welcome-cta {
    color: var(--indigo-bright);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
body.page-videos-v3 .v3-welcome .v3-welcome-cta:hover { text-decoration: underline; }

/* --- Sections --- */
body.page-videos-v3 .v3-section { padding: 32px 32px 8px; }
body.page-videos-v3 .v3-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
body.page-videos-v3 .v3-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.015em;
    margin: 0;
}
body.page-videos-v3 .v3-section-link {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}
body.page-videos-v3 .v3-section-link:hover { color: var(--text); }

body.page-videos-v3 .v3-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 4px 0 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
}
body.page-videos-v3 .v3-scroll::-webkit-scrollbar { height: 8px; }
body.page-videos-v3 .v3-scroll::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 4px;
}

/* --- Netflix-style Top 10 with giant outline numbers --- */
body.page-videos-v3 .v3-top10 {
    display: flex;
    align-items: end;
    flex-shrink: 0;
    scroll-snap-align: start;
    position: relative;
}
body.page-videos-v3 .v3-top10-rank {
    font-size: 220px;
    font-weight: 900;
    line-height: 0.75;
    color: rgba(129, 140, 248, 0.06);
    -webkit-text-stroke: 3px rgba(129, 140, 248, 0.55);
    letter-spacing: -0.08em;
    margin-right: -46px;
    margin-bottom: -6px;
    position: relative;
    z-index: 0;
    user-select: none;
    font-family: 'Inter', sans-serif;
    align-self: end;
}
body.page-videos-v3 .v3-top10 .video-card {
    width: 240px;
    z-index: 1;
    position: relative;
    flex-shrink: 0;
}

/* --- Continue Watching (progress bar overlaid on poster) --- */
body.page-videos-v3 .v3-continue {
    flex-shrink: 0;
    scroll-snap-align: start;
    position: relative;
    width: 280px;
}
body.page-videos-v3 .v3-continue .video-card { width: 100%; }
body.page-videos-v3 .v3-progress-overlay {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 3px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 2px;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}
body.page-videos-v3 .v3-progress-fill {
    height: 100%;
    background: #ef4444;
    width: var(--progress, 50%);
}
body.page-videos-v3 .v3-continue-meta {
    margin-top: 10px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}
body.page-videos-v3 .v3-continue-title {
    color: #fff;
    font-weight: 600;
    margin: 0;
}
body.page-videos-v3 .v3-continue-remain {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    white-space: nowrap;
}

/* --- Disney+-style Featured Collection --- */
body.page-videos-v3 .v3-collection {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 2fr;
    gap: 28px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(124, 58, 237, 0.10));
    border: 1px solid rgba(129, 140, 248, 0.30);
    border-radius: 16px;
    align-items: center;
    margin-top: 8px;
}
body.page-videos-v3 .v3-collection-info { min-width: 0; }
body.page-videos-v3 .v3-collection-eyebrow {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 12px;
}
body.page-videos-v3 .v3-collection h3 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.025em;
    margin: 0 0 10px;
    line-height: 1.1;
}
body.page-videos-v3 .v3-collection p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 18px;
    max-width: 340px;
}
body.page-videos-v3 .v3-collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    min-width: 0;
}
body.page-videos-v3 .v3-collection-grid .video-card { width: 100%; }

/* --- Vimeo-style creator cards --- */
body.page-videos-v3 .v3-creator {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: 240px;
}
body.page-videos-v3 .v3-creator .video-card { width: 100%; }
body.page-videos-v3 .v3-creator-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
body.page-videos-v3 .v3-creator-info .avatar {
    width: 24px;
    height: 24px;
    font-size: 9px;
    border-width: 1px;
    flex-shrink: 0;
}
body.page-videos-v3 .v3-creator-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
body.page-videos-v3 .v3-creator-title {
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.page-videos-v3 .v3-creator-name {
    color: var(--muted);
    font-size: 11px;
    margin: 2px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- YouTube-style grid feed --- */
body.page-videos-v3 .v3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px 14px;
    padding-bottom: 20px;
}
body.page-videos-v3 .v3-grid .video-card { width: 100%; }
body.page-videos-v3 .v3-grid-item .v3-grid-meta {
    margin-top: 8px;
    font-size: 13px;
}
body.page-videos-v3 .v3-grid-item .v3-grid-title {
    color: #fff;
    font-weight: 600;
    margin: 0 0 2px;
    line-height: 1.3;
}
body.page-videos-v3 .v3-grid-item .v3-grid-sub {
    color: var(--muted);
    font-size: 12px;
    margin: 0;
}

/* Filmmaker CTA sizing for v3 */
body.page-videos-v3 .filmmaker-cta { margin: 24px 32px 48px; }

/* --- Responsive --- */
@media (max-width: 900px) {
    body.page-videos-v3 .v3-topnav { padding: 10px 20px; gap: 12px; }
    body.page-videos-v3 .v3-search { margin-left: 12px; }
    body.page-videos-v3 .v3-chips-wrap { padding: 10px 20px; top: 56px; }
    body.page-videos-v3 .v3-hero {
        aspect-ratio: auto;
        min-height: 420px;
        padding: 24px 20px 36px;
    }
    body.page-videos-v3 .v3-mute-btn { right: 20px; bottom: 20px; }
    body.page-videos-v3 .v3-section { padding: 24px 20px 8px; }
    body.page-videos-v3 .v3-welcome { padding: 24px 20px 8px; }
    body.page-videos-v3 .v3-top10-rank {
        font-size: 160px;
        margin-right: -34px;
    }
    body.page-videos-v3 .v3-top10 .video-card { width: 200px; }
    body.page-videos-v3 .v3-continue { width: 240px; }
    body.page-videos-v3 .v3-collection {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }
    body.page-videos-v3 .v3-collection-grid { grid-template-columns: repeat(2, 1fr); }
    body.page-videos-v3 .filmmaker-cta { margin: 24px 20px 40px; }
}


/* ============================== 7g. Page: video info (detail page) ======== */
/* Film detail page. Sits on top of page-videos + page-videos-v3 for shared
   card/topnav styles. Adds cinematic hero + two-column info layout below. */

/* Backlink strip below topnav */
body.page-video-info .vinfo-backlink-wrap {
    padding: 18px 32px 0;
}
body.page-video-info .vinfo-backlink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
body.page-video-info .vinfo-backlink:hover {
    color: var(--text);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.22);
}

/* Cinematic hero */
body.page-video-info .vinfo-hero {
    position: relative;
    min-height: 560px;
    margin-top: 16px;
    background-image: var(--poster);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a2a;
    display: flex;
    align-items: flex-end;
    padding: 48px 56px 56px;
    overflow: hidden;
}
body.page-video-info .vinfo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10,10,18,0.94) 0%, rgba(10,10,18,0.3) 42%, transparent 78%),
        linear-gradient(180deg, transparent 0%, transparent 55%, rgba(10,10,18,0.8) 100%);
    pointer-events: none;
}
body.page-video-info .vinfo-hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 160px;
    background: linear-gradient(180deg, transparent 0%, #0a0a12 100%);
    pointer-events: none;
}
body.page-video-info .vinfo-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}
body.page-video-info .vinfo-hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
body.page-video-info .vinfo-hero h1 {
    font-size: clamp(44px, 6vw, 84px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 0.94;
    margin: 0 0 16px;
    text-shadow: 0 6px 30px rgba(0,0,0,0.5);
}
body.page-video-info .vinfo-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin: 0 0 14px;
}
body.page-video-info .vinfo-hero-meta span:not(:last-child)::after {
    content: '·';
    margin-left: 12px;
    color: rgba(255,255,255,0.4);
}
body.page-video-info .vinfo-hero-laurels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}
body.page-video-info .vinfo-laurel {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 999px;
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
body.page-video-info .vinfo-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
body.page-video-info .vinfo-play-btn {
    background: #fff;
    color: #0a0a12;
    border: 0;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.4);
}
body.page-video-info .vinfo-play-btn:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }
body.page-video-info .vinfo-icon-btn {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
body.page-video-info .vinfo-icon-btn:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
}

/* Two-column body layout */
body.page-video-info .vinfo-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 48px;
    padding: 40px 48px 56px;
    max-width: 1400px;
    margin: 0 auto;
}
body.page-video-info .vinfo-main { min-width: 0; }
body.page-video-info .vinfo-side { min-width: 0; }

/* Description */
body.page-video-info .vinfo-description p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    margin: 0 0 16px;
    max-width: 66ch;
}
body.page-video-info .vinfo-description p:last-child { margin-bottom: 0; }

/* Section subhead used within main */
body.page-video-info .vinfo-subhead {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--indigo-bright);
    margin: 40px 0 14px;
}

/* Cast row */
body.page-video-info .vinfo-cast {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px 20px;
}
body.page-video-info .vinfo-cast-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
body.page-video-info .vinfo-cast-item .avatar {
    width: 44px;
    height: 44px;
    font-size: 14px;
    flex-shrink: 0;
}
body.page-video-info .vinfo-cast-text { min-width: 0; overflow: hidden; }
body.page-video-info .vinfo-cast-name {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.page-video-info .vinfo-cast-role {
    color: var(--muted);
    font-size: 12px;
    margin: 2px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Details definition list */
body.page-video-info .vinfo-details {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px 20px;
    margin: 0;
}
body.page-video-info .vinfo-details dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
body.page-video-info .vinfo-details dd {
    color: var(--text);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Filmmaker card (sidebar) */
body.page-video-info .vinfo-filmmaker-card {
    padding: 24px;
    background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(79,70,229,0.06));
    border: 1px solid rgba(129,140,248,0.30);
    border-radius: 14px;
    margin-bottom: 20px;
}
body.page-video-info .vinfo-filmmaker-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
body.page-video-info .vinfo-filmmaker-header .avatar {
    width: 52px;
    height: 52px;
    font-size: 17px;
    flex-shrink: 0;
}
body.page-video-info .vinfo-filmmaker-role {
    font-size: 11px;
    color: var(--indigo-bright);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    margin: 0 0 2px;
}
body.page-video-info .vinfo-filmmaker-name {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.2;
}
body.page-video-info .vinfo-filmmaker-bio {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 16px;
}
body.page-video-info .vinfo-filmmaker-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.page-video-info .vinfo-filmmaker-link {
    color: var(--indigo-bright);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}
body.page-video-info .vinfo-filmmaker-link:hover { text-decoration: underline; }

/* Quick facts card (sidebar) */
body.page-video-info .vinfo-quick-facts {
    padding: 20px 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 20px;
}
body.page-video-info .vinfo-quick-facts h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 12px;
}
body.page-video-info .vinfo-facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.page-video-info .vinfo-facts-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--text);
    align-items: baseline;
}
body.page-video-info .vinfo-facts-list li .fact-label {
    color: var(--muted);
    font-weight: 500;
    flex-shrink: 0;
}
body.page-video-info .vinfo-facts-list li .fact-value {
    text-align: right;
    color: var(--text);
    font-weight: 500;
}

/* Share buttons row (sidebar) */
body.page-video-info .vinfo-share {
    display: flex;
    gap: 8px;
}
body.page-video-info .vinfo-share button {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 10px 8px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
body.page-video-info .vinfo-share button:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.22);
}

/* Related section (uses v3-grid). Override its top padding since it comes
   inside <main> which already has its own layout. */
body.page-video-info .vinfo-related {
    padding: 0 48px 48px;
    max-width: 1400px;
    margin: 0 auto;
}
body.page-video-info .vinfo-related .v3-section-title {
    margin: 0 0 18px;
}

/* Responsive */
@media (max-width: 960px) {
    body.page-video-info .vinfo-hero {
        min-height: 480px;
        padding: 32px 24px 40px;
    }
    body.page-video-info .vinfo-body {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 32px 20px 40px;
    }
    body.page-video-info .vinfo-related {
        padding: 0 20px 40px;
    }
    body.page-video-info .vinfo-details {
        grid-template-columns: 110px 1fr;
    }
    body.page-video-info .vinfo-backlink-wrap {
        padding: 14px 20px 0;
    }
}


/* ============================== 7h. Page: about ============================ */
body.page-about main {
    display: block;
    padding: 0 0 40px;
}

body.page-about .about-hero {
    padding: 80px 32px 40px;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}
body.page-about .about-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.3);
    color: var(--indigo-bright);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
    text-transform: uppercase;
}
body.page-about .about-hero h1 {
    font-size: clamp(36px, 5.2vw, 60px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.04;
    margin: 0 0 22px;
    color: #fff;
}
body.page-about .about-hero h1 .accent {
    background: linear-gradient(135deg, var(--indigo-bright) 0%, var(--indigo) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
body.page-about .about-hero .about-lead {
    font-size: clamp(16px, 1.7vw, 19px);
    line-height: 1.6;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
}

body.page-about .about-block {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 32px;
}
body.page-about .about-block.wide { max-width: 1040px; }

body.page-about .about-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--indigo-bright);
    margin: 0 0 10px;
}
body.page-about .about-block h2 {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.15;
}
body.page-about .about-block p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 14px;
    max-width: 66ch;
}
body.page-about .about-block p.muted { color: var(--muted); }
body.page-about .about-block p:last-child { margin-bottom: 0; }
body.page-about .about-block .features { margin-top: 24px; max-width: none; }

/* Pull-quote for the mission callout */
body.page-about .about-quote {
    max-width: 900px;
    margin: 24px auto;
    padding: 40px 40px;
    background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(79,70,229,0.06));
    border: 1px solid rgba(129,140,248,0.35);
    border-radius: 16px;
    text-align: center;
}
body.page-about .about-quote p {
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.35;
    margin: 0;
    max-width: none;
}

/* Numbered stats/values row */
body.page-about .about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin: 24px auto 0;
    max-width: 1040px;
}
body.page-about .about-stat {
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
}
body.page-about .about-stat-number {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0 0 6px;
}
body.page-about .about-stat-label {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

/* CTA row at the bottom */
body.page-about .about-cta {
    text-align: center;
    padding: 56px 32px 32px;
    max-width: 780px;
    margin: 32px auto 0;
}
body.page-about .about-cta h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.15;
}
body.page-about .about-cta p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 24px;
}
body.page-about .about-cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    body.page-about .about-hero { padding: 56px 20px 32px; }
    body.page-about .about-block { padding: 32px 20px; }
    body.page-about .about-quote { padding: 28px 24px; margin-left: 20px; margin-right: 20px; }
    body.page-about .about-cta { padding: 40px 20px 24px; }
}


/* ============================== 8. Page: template (layout) ================== */
body.page-template header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: rgba(11, 11, 24, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10;
}
body.page-template .logo-mark { width: 36px; height: 36px; }
body.page-template .logo-text { font-size: 18px; }

body.page-template main {
    display: block;
    padding: 32px 40px 80px;
    min-width: 0;
}

.header-badge {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
}

aside {
    padding: 32px 20px 32px 32px;
    border-right: 1px solid var(--line);
    position: sticky;
    top: 85px;
    align-self: start;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
}
aside h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin: 0 0 12px;
    font-weight: 600;
}
aside nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 24px; }
aside a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s ease, background 0.15s ease;
}
aside a:hover { color: var(--text); background: var(--card); }
aside a.active { color: #fff; background: var(--card-2); }

.intro { margin-bottom: 48px; }
.intro h1 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 8px;
    color: #fff;
}
.intro p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 640px;
}

section.component {
    margin-bottom: 56px;
    scroll-margin-top: 100px;
}
section.component > h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    color: #fff;
}
section.component > p.desc {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 20px;
    line-height: 1.55;
}

.example {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}
.example .preview {
    padding: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-start;
}
.example .preview.stack { flex-direction: column; align-items: stretch; }
.example .preview.center { justify-content: center; align-items: center; }

.example .code {
    position: relative;
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid var(--line);
}
.example .code pre {
    margin: 0;
    padding: 18px 20px;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.6;
    color: #cdd1e9;
    overflow-x: auto;
    white-space: pre;
}
.example .copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--card-2);
    border: 1px solid var(--line-strong);
    color: var(--muted);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.example .copy-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.25);
}
.example .copy-btn.copied {
    color: var(--success);
    border-color: var(--success-border);
}

.type-sample h1.demo { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px; color: #fff; }
.type-sample h2.demo { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; color: #fff; }
.type-sample h3.demo { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 12px; color: #fff; }
.type-sample p.demo { font-size: 15px; line-height: 1.6; color: var(--text); margin: 0 0 12px; max-width: 60ch; }
.type-sample p.demo.muted { color: var(--muted); }
.type-sample a.demo { color: var(--indigo-bright); text-decoration: underline; text-decoration-color: rgba(129,140,248,0.4); }
.type-sample code.demo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    padding: 2px 6px;
    background: var(--card-2);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--indigo-bright);
}

body.page-template .icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    width: 100%;
}
body.page-template .icon-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 12px;
    background: var(--card-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    text-align: center;
    color: var(--text);
    transition: border-color 0.15s ease, color 0.15s ease;
}
body.page-template .icon-tile:hover {
    border-color: rgba(129, 140, 248, 0.35);
    color: var(--indigo-bright);
}
body.page-template .icon-tile code {
    font-size: 11px;
    color: var(--muted);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    word-break: break-all;
    background: none;
    border: none;
    padding: 0;
}


/* ============================== 9. Reusable components ====================== */

/* --- Layout: container + 12-column grid ---
   Breakpoints: md >= 768px, lg >= 1024px
   Usage:
     <div class="container"><!-- centered, side margin on desktop --></div>
     <div class="row">
         <div class="col-12 col-md-6">…</div>
         <div class="col-12 col-md-6">…</div>
     </div>
*/
.container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}
.container.narrow { max-width: 720px; }
.container.wide   { max-width: 1400px; }

.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

/* Any col-* class defaults to full-width on mobile (12 of 12).
   Explicit .col-N below overrides this at all widths. */
[class*="col-"] { grid-column: span 12; }

.col       { grid-column: span 12; }
.col-1     { grid-column: span 1; }
.col-2     { grid-column: span 2; }
.col-3     { grid-column: span 3; }
.col-4     { grid-column: span 4; }
.col-5     { grid-column: span 5; }
.col-6     { grid-column: span 6; }
.col-7     { grid-column: span 7; }
.col-8     { grid-column: span 8; }
.col-9     { grid-column: span 9; }
.col-10    { grid-column: span 10; }
.col-11    { grid-column: span 11; }
.col-12    { grid-column: span 12; }

/* Medium breakpoint (>= 768px) — overrides base cols above this width */
@media (min-width: 768px) {
    .col-md-1  { grid-column: span 1; }
    .col-md-2  { grid-column: span 2; }
    .col-md-3  { grid-column: span 3; }
    .col-md-4  { grid-column: span 4; }
    .col-md-5  { grid-column: span 5; }
    .col-md-6  { grid-column: span 6; }
    .col-md-7  { grid-column: span 7; }
    .col-md-8  { grid-column: span 8; }
    .col-md-9  { grid-column: span 9; }
    .col-md-10 { grid-column: span 10; }
    .col-md-11 { grid-column: span 11; }
    .col-md-12 { grid-column: span 12; }
}

/* Large breakpoint (>= 1024px) */
@media (min-width: 1024px) {
    .col-lg-1  { grid-column: span 1; }
    .col-lg-2  { grid-column: span 2; }
    .col-lg-3  { grid-column: span 3; }
    .col-lg-4  { grid-column: span 4; }
    .col-lg-5  { grid-column: span 5; }
    .col-lg-6  { grid-column: span 6; }
    .col-lg-7  { grid-column: span 7; }
    .col-lg-8  { grid-column: span 8; }
    .col-lg-9  { grid-column: span 9; }
    .col-lg-10 { grid-column: span 10; }
    .col-lg-11 { grid-column: span 11; }
    .col-lg-12 { grid-column: span 12; }
}

/* Template page-only helper for visualizing grid cells in the docs */
body.page-template .grid-demo {
    background: var(--card-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 16px;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}


/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn.primary {
    background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.6);
}
.btn.primary:hover { box-shadow: 0 12px 28px -8px rgba(99, 102, 241, 0.85); }
.btn.secondary {
    background: var(--card-2);
    color: var(--text);
    border-color: var(--line-strong);
}
.btn.secondary:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.25); }
.btn.ghost {
    background: transparent;
    color: var(--text);
    border-color: transparent;
}
.btn.ghost:hover { background: var(--card); }
.btn.danger {
    background: var(--danger);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(244, 63, 94, 0.6);
}
.btn.danger:hover { background: #e11d48; }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn.lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* --- Alerts / notifications --- */
.alert {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
}
.alert .alert-icon { flex-shrink: 0; margin-top: 1px; }
.alert .alert-body { flex: 1; min-width: 0; }
.alert .alert-title { font-weight: 600; margin: 0 0 2px; color: #fff; font-size: 14px; }
.alert .alert-message { margin: 0; color: var(--muted); }
.alert .alert-close {
    background: transparent;
    border: 0;
    color: currentColor;
    opacity: 0.6;
    cursor: pointer;
    padding: 2px;
    margin: -2px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.alert .alert-close:hover { opacity: 1; }
.alert.success { background: var(--success-bg); border-color: var(--success-border); color: var(--success); }
.alert.warning { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning); }
.alert.info    { background: var(--info-bg);    border-color: var(--info-border);    color: var(--info); }
.alert.error   { background: var(--danger-bg);  border-color: var(--danger-border);  color: var(--danger); }

/* Links inside alerts inherit the alert's palette color */
.alert a {
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.35);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.15s ease;
}
.alert a:hover { text-decoration-color: currentColor; }
.alert.success a { color: var(--success); }
.alert.warning a { color: var(--warning); }
.alert.info    a { color: var(--info); }
.alert.error   a { color: var(--danger); }

/* --- Badges (component-library variants) --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid;
}
.badge.neutral { background: var(--card-2); border-color: var(--line-strong); color: var(--text); }
.badge.brand   { background: rgba(99,102,241,0.12); border-color: rgba(129,140,248,0.35); color: var(--indigo-bright); }
.badge.success { background: var(--success-bg); border-color: var(--success-border); color: var(--success); }
.badge.warning { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning); }
.badge.danger  { background: var(--danger-bg);  border-color: var(--danger-border);  color: var(--danger); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* --- Form controls --- */
.form-field { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 360px; }
.form-field label { font-size: 13px; font-weight: 500; color: var(--text); }

.input, .textarea, .select {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    padding: 10px 12px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    width: 100%;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:hover, .textarea:hover, .select:hover { border-color: rgba(255,255,255,0.15); }
.input:focus, .textarea:focus, .select:focus {
    border-color: var(--indigo-bright);
    box-shadow: 0 0 0 3px rgba(129,140,248,0.18);
    background: rgba(255,255,255,0.05);
}
.input.invalid, .textarea.invalid, .select.invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}
.input.invalid:focus, .textarea.invalid:focus, .select.invalid:focus {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.25);
}
.textarea { resize: vertical; min-height: 90px; font-family: inherit; }
.select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%239aa0c3' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.check-row {
    display: inline-flex; align-items: center; gap: 10px;
    cursor: pointer; font-size: 14px; color: var(--text); user-select: none;
}
.check-row input[type="checkbox"], .check-row input[type="radio"] {
    appearance: none;
    width: 18px; height: 18px;
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
}
.check-row input[type="checkbox"] { border-radius: 5px; }
.check-row input[type="radio"]    { border-radius: 50%; }
.check-row input[type="checkbox"]:hover,
.check-row input[type="radio"]:hover { border-color: var(--indigo-bright); }
.check-row input[type="checkbox"]:checked {
    background: var(--indigo);
    border-color: var(--indigo);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'><path d='M1 5l3.5 3.5L11 1.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}
.check-row input[type="radio"]:checked {
    background: radial-gradient(circle, var(--indigo) 40%, transparent 45%), rgba(255,255,255,0.03);
    border-color: var(--indigo);
}

.toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: var(--text);
}
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .track {
    width: 40px; height: 22px;
    background: var(--card-2);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    position: relative;
    transition: background 0.2s, border-color 0.2s;
}
.toggle .thumb {
    position: absolute; top: 2px; left: 2px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.toggle input:checked + .track { background: var(--indigo); border-color: var(--indigo); }
.toggle input:checked + .track .thumb { transform: translateX(18px); }

/* --- Card (demo/callout style used by template's Cards section) --- */
.card-demo {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    width: 260px;
    transition: border-color 0.15s, transform 0.15s;
}
.card-demo:hover { border-color: rgba(129,140,248,0.35); transform: translateY(-2px); }
.card-demo .icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, rgba(99,102,241,0.20), rgba(79,70,229,0.20));
    border: 1px solid rgba(129,140,248,0.35);
    display: flex; align-items: center; justify-content: center;
    color: var(--indigo-bright);
    margin-bottom: 14px;
}
.card-demo h3 { font-size: 15px; font-weight: 600; margin: 0 0 4px; color: #fff; }
.card-demo p  { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

/* --- Tabs --- */
.tabs { width: 100%; }
.tabs .tablist {
    display: inline-flex;
    padding: 4px;
    gap: 2px;
    background: var(--card-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 16px;
}
.tabs .tablist button {
    background: transparent;
    border: 0;
    color: var(--muted);
    padding: 6px 14px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}
.tabs .tablist button:hover { color: var(--text); }
.tabs .tablist button.active { background: var(--indigo); color: #fff; }
.tabs .tabpanel { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* --- Progress --- */
.progress {
    width: 100%;
    max-width: 360px;
    height: 8px;
    background: var(--card-2);
    border-radius: 999px;
    overflow: hidden;
}
.progress .bar {
    height: 100%;
    background: linear-gradient(90deg, var(--indigo) 0%, var(--indigo-bright) 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

/* --- Avatars --- */
.avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--ink-2);
    flex-shrink: 0;
}
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.lg { width: 56px; height: 56px; font-size: 18px; }
.avatar-group { display: inline-flex; }
.avatar-group .avatar + .avatar { margin-left: -12px; }

/* --- Data table --- */
.table-wrap {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--card);
}
table.data {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
table.data th, table.data td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
table.data th {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    background: rgba(255,255,255,0.02);
}
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: rgba(255,255,255,0.02); }
table.data td { color: var(--text); }

/* --- Modal --- */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
    background: var(--ink-2);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: 28px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.modal h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #fff; }
.modal p  { margin: 0 0 20px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* --- Tooltip --- */
.tooltip-host {
    position: relative;
    display: inline-block;
}
.tooltip-host .tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1f2038;
    border: 1px solid var(--line-strong);
    color: var(--text);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s, transform 0.15s;
    z-index: 5;
}
.tooltip-host:hover .tooltip,
.tooltip-host:focus-within .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Spinner --- */
.spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    border-top-color: var(--indigo-bright);
    animation: spin 0.8s linear infinite;
    display: inline-block;
}
.spinner.lg { width: 36px; height: 36px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Divider --- */
.divider {
    height: 1px;
    background: var(--line);
    margin: 12px 0;
    width: 100%;
}
.divider.labelled {
    display: flex;
    align-items: center;
    gap: 12px;
    height: auto;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.divider.labelled::before, .divider.labelled::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* --- Empty state --- */
.empty {
    text-align: center;
    padding: 40px 20px;
    width: 100%;
}
.empty .empty-icon {
    width: 56px; height: 56px;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: var(--card-2);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
}
.empty h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: #fff; }
.empty p  { margin: 0 0 16px; font-size: 14px; color: var(--muted); }

/* --- Toasts --- */
#toastRegion {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}
#toastRegion .alert {
    background: var(--ink-2);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.6);
    animation: toastIn 0.25s ease-out;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}


/* ============================== 10. Responsive breakpoints ================== */

/* --- Home (index.html, index2.html) --- */
@media (max-width: 720px) {
    body.page-home header { padding: 20px 20px; }
    body.page-home main   { padding: 16px 20px 64px; }
    body.page-home footer { padding: 16px 20px 24px; }

    body.page-home .nav-pill span:not(.dot) { display: none; }
    body.page-home .nav-pill { padding: 8px; }

    body.page-home .features { grid-template-columns: 1fr; }
}

/* --- Register --- */
@media (max-width: 560px) {
    body.page-register header { padding: 20px 20px; }
    body.page-register main   { padding: 16px 20px 64px; }
    body.page-register footer { padding: 16px 20px 24px; }
    body.page-register .card  { padding: 28px 24px; border-radius: 18px; }
    body.page-register .back-link span { display: none; }
    body.page-register .back-link      { padding: 8px 10px; }
}

/* --- Legal --- */
@media (max-width: 720px) {
    body.page-legal header { padding: 20px 20px; }
    body.page-legal main   { padding: 24px 20px 64px; }
    body.page-legal footer { padding: 16px 20px 24px; }
    body.page-legal .legal-doc { padding: 28px 24px; border-radius: 16px; }
    body.page-legal .back-link span { display: none; }
    body.page-legal .back-link      { padding: 8px 10px; }
}

/* --- Template --- */
@media (max-width: 900px) {
    body.page-template .layout { grid-template-columns: 1fr; }
    body.page-template aside {
        position: static;
        max-height: none;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 16px 20px;
    }
    body.page-template aside nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
        margin-bottom: 0;
    }
    body.page-template aside h4 { display: none; }
    body.page-template main   { padding: 24px 20px 64px; }
    body.page-template header { padding: 18px 20px; }
}


/* ============================== 11. Icons ===================================
   All previously-inline SVGs live here. Monochrome icons use mask-image so
   they inherit currentColor from their parent (matching the old
   stroke="currentColor" behaviour). Multi-color icons (.icon-storm-cloud)
   use background-image with colors baked in.

   Usage:
     <span class="icon icon-arrow-right" style="width:16px;height:16px" aria-hidden="true"></span>
   ========================================================================== */

.icon {
    display: inline-block;
    background-color: currentColor;
    flex-shrink: 0;
    vertical-align: middle;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
}

.icon-arrow-right {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>");
}

.icon-arrow-left {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m15 18-6-6 6-6'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m15 18-6-6 6-6'/></svg>");
}

.icon-check {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
}

.icon-check-circle {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/><path d='m9 11 3 3L22 4'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/><path d='m9 11 3 3L22 4'/></svg>");
}

.icon-alert-triangle {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/><path d='M12 9v4M12 17h.01'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/><path d='M12 9v4M12 17h.01'/></svg>");
}

.icon-info-circle {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M12 16v-4M12 8h.01'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M12 16v-4M12 8h.01'/></svg>");
}

.icon-x-circle {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='m15 9-6 6M9 9l6 6'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='m15 9-6 6M9 9l6 6'/></svg>");
}

.icon-x {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M18 6 6 18M6 6l12 12'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M18 6 6 18M6 6l12 12'/></svg>");
}

.icon-alert-circle {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='8' x2='12' y2='12'/><line x1='12' y1='16' x2='12.01' y2='16'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='8' x2='12' y2='12'/><line x1='12' y1='16' x2='12.01' y2='16'/></svg>");
}

.icon-window-columns {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2'/><path d='M3 9h18M9 21V9'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2'/><path d='M3 9h18M9 21V9'/></svg>");
}

.icon-dollar {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2v20M17 5H9.5a3.5 3.5 0 1 0 0 7h5a3.5 3.5 0 1 1 0 7H6'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2v20M17 5H9.5a3.5 3.5 0 1 0 0 7h5a3.5 3.5 0 1 1 0 7H6'/></svg>");
}

.icon-lightning {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 2 3 14h7l-1 8 10-12h-7l1-8z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 2 3 14h7l-1 8 10-12h-7l1-8z'/></svg>");
}

.icon-globe {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/></svg>");
}

.icon-clapper {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='10' width='18' height='11' rx='1'/><path d='M3 10 L4 4 L20 1 L19 7 Z'/><line x1='7' y1='3' x2='6' y2='9'/><line x1='12' y1='2' x2='11' y2='9'/><line x1='17' y1='2' x2='16' y2='8'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='10' width='18' height='11' rx='1'/><path d='M3 10 L4 4 L20 1 L19 7 Z'/><line x1='7' y1='3' x2='6' y2='9'/><line x1='12' y1='2' x2='11' y2='9'/><line x1='17' y1='2' x2='16' y2='8'/></svg>");
}

.icon-scissors {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='6' cy='6' r='3'/><circle cx='6' cy='18' r='3'/><line x1='20' y1='4' x2='8.12' y2='15.88'/><line x1='14.47' y1='14.48' x2='20' y2='20'/><line x1='8.12' y1='8.12' x2='12' y2='12'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='6' cy='6' r='3'/><circle cx='6' cy='18' r='3'/><line x1='20' y1='4' x2='8.12' y2='15.88'/><line x1='14.47' y1='14.48' x2='20' y2='20'/><line x1='8.12' y1='8.12' x2='12' y2='12'/></svg>");
}

.icon-refresh {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/><path d='M21 3v5h-5'/><path d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/><path d='M8 16H3v5'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/><path d='M21 3v5h-5'/><path d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/><path d='M8 16H3v5'/></svg>");
}

.icon-search {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.35-4.35'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.35-4.35'/></svg>");
}

.icon-bell {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/><path d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/><path d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/></svg>");
}

.icon-play {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='2' stroke-linejoin='round'><polygon points='6 4 20 12 6 20 6 4'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='2' stroke-linejoin='round'><polygon points='6 4 20 12 6 20 6 4'/></svg>");
}

.icon-play-next {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'><polygon points='4 4 15 12 4 20 4 4'/><rect x='17' y='4' width='3' height='16' rx='1'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'><polygon points='4 4 15 12 4 20 4 4'/><rect x='17' y='4' width='3' height='16' rx='1'/></svg>");
}

.icon-plus {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 5v14M5 12h14'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 5v14M5 12h14'/></svg>");
}

.icon-volume {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/><line x1='23' y1='9' x2='17' y2='15'/><line x1='17' y1='9' x2='23' y2='15'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/><line x1='23' y1='9' x2='17' y2='15'/><line x1='17' y1='9' x2='23' y2='15'/></svg>");
}

/* Multi-color icon: gradient baked in, uses background-image instead of mask */
.icon-storm-cloud {
    background-color: transparent;
    -webkit-mask-image: none;
            mask-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><defs><linearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%23818cf8'/><stop offset='100%25' stop-color='%236366f1'/></linearGradient></defs><path d='M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9' stroke='url(%23g)'/><polyline points='13 11 9 17 15 17 11 23' stroke='url(%23g)'/></svg>");
}
