﻿/* Entitlements.com.au  —  theme */

/* Anchors carry no underline by default.

   The site's navigation, footer, sidebar, guide cards and cross links are all anchors now -- they were <a> tags
   with an onclick and no href, which meant no keyboard access and no fallback if script failed. Giving them real
   hrefs also handed them the browser's default underline, which no rule anywhere turned off because until then
   nothing on the page was a real link. Set once here; the handful of places that genuinely want an underline
   (.key-points a, .guide-table a, prose links) set it themselves further down and win on order. */
a {
    text-decoration: none;
    color: inherit;
}

:root {
    --gold: #0F7A63;
    --gold-bright: #16A085;
    --gold-light: #58C5AA;
    --gold-text: #0C6B57;
    --gold-tint: rgba(15, 122, 99, 0.10);
    --gold-tint-line: rgba(15, 122, 99, 0.28);
    --champagne: #E4F2ED;
    --primary: #0F7A63;
    --accent: #0F7A63;
    --accent-cyan: #16A085;
    --accent-glow: rgba(15, 122, 99, 0.28);
    --gradient-primary: linear-gradient(115deg, #0B6350 0%, #16A085 52%, #0B6350 100%);
    --ink: #0B1512;
    --bone: #FFFFFF;
    --bg-primary: #F6FAF8;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #EBF2EF;
    --bg-card: rgba(255, 255, 255, 0.84);
    --bg-glass: rgba(246, 250, 248, 0.82);
    --text-primary: #0B1512;
    --text-secondary: #4A5754;
    --text-muted: #8A9A95;
    --border: rgba(11, 21, 18, 0.10);
    --border-hover: rgba(15, 122, 99, 0.48);
    --rule: rgba(11, 21, 18, 0.09);
    --shadow-sm: 0 2px 10px rgba(11, 21, 18, 0.05);
    --shadow-md: 0 24px 56px -32px rgba(11, 21, 18, 0.32);
    --shadow-lg: 0 46px 100px -48px rgba(11, 21, 18, 0.42);
    --phone-screen: #061310;
    --input-bg: #FFFFFF;
    --input-border: rgba(11, 21, 18, 0.14);
    --input-focus-glow: rgba(15, 122, 99, 0.16);
    --success: #17835F;
    --success-bright: #22C39C;
    --error: #C0392B;
    --error-bright: #E74C3C;
    --warning: #B5811F;

    --chart-1: #0F7A63;
    --chart-2: #3E7BFA;
    --chart-3: #C6913C;
    --chart-4: #7C5CD6;
    --chart-5: #D8564B;
    --chart-6: #17B39A;
    --chart-7: #6C8A85;
    --chart-8: #D9A441;

    --on-accent: #FFFFFF;

    --scrim: rgba(9, 26, 22, 0.46);

    --font-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-lg: 26px;
}

[data-theme="dark"] {
    --gold: #2ED3A9;
    --gold-bright: #4AE3BC;
    --gold-light: #8CF0D6;
    --gold-text: #4AE3BC;
    --gold-tint: rgba(46, 211, 169, 0.13);
    --gold-tint-line: rgba(46, 211, 169, 0.32);
    --champagne: #D6F5EB;
    --primary: #2ED3A9;
    --accent: #2ED3A9;
    --accent-cyan: #4AE3BC;
    --accent-glow: rgba(46, 211, 169, 0.30);
    --gradient-primary: linear-gradient(115deg, #17A784 0%, #4AE3BC 52%, #17A784 100%);
    --bg-primary: #070D0B;
    --bg-secondary: #0E1614;
    --bg-tertiary: #16211E;
    --bg-card: rgba(17, 26, 23, 0.72);
    --bg-glass: rgba(7, 13, 11, 0.78);
    --text-primary: #EDF6F2;
    --text-secondary: #A6B8B2;
    --text-muted: #75867F;
    --border: rgba(237, 246, 242, 0.12);
    --border-hover: rgba(46, 211, 169, 0.48);
    --rule: rgba(237, 246, 242, 0.10);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 24px 56px -32px rgba(0, 0, 0, 0.85);
    --shadow-lg: 0 46px 100px -48px rgba(0, 0, 0, 0.95);
    --phone-screen: #040A08;
    --input-bg: #121B18;
    --input-border: rgba(237, 246, 242, 0.16);
    --input-focus-glow: rgba(46, 211, 169, 0.18);
    --ink: #051009;
    --bone: #EDF6F2;
    --success: #35C48D;
    --success-bright: #6FE9C0;
    --error: #E8695C;
    --error-bright: #FF9184;
    --warning: #D9A441;

    --chart-1: #2ED3A9;
    --chart-2: #6FA0FF;
    --chart-3: #E2B46A;
    --chart-4: #A688F0;
    --chart-5: #F08076;
    --chart-6: #4AE3BC;
    --chart-7: #93A9A3;
    --chart-8: #EFC77A;

    --on-accent: #04110D;
    --scrim: rgba(2, 8, 6, 0.68);
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: -0.011em;
    line-height: 1.62;
    background: var(--bg-primary);
    color: var(--text-primary);
    width: 100%;
    min-height: 100%;
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    transition: background 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

::selection {
    background: var(--gold);
    color: #FFFFFF;
}

*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

*::-webkit-scrollbar-track,
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 100px;
}

*::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 100px;
    border: 3px solid var(--bg-primary);
}

    *::-webkit-scrollbar-thumb:hover,
    html::-webkit-scrollbar-thumb:hover,
    body::-webkit-scrollbar-thumb:hover {
        background: var(--gold-light);
    }

*::-webkit-scrollbar-corner,
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
    background: var(--bg-primary);
}

html.signed-out .auth-only,
html.signed-in .guest-only {
    display: none;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

    .row > * {
        box-sizing: border-box;
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
    }

.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    contain: layout paint style;
    background: radial-gradient(90% 60% at 12% -10%, rgba(15, 122, 99, 0.2), transparent 62%), radial-gradient(70% 55% at 92% 8%, rgba(88, 197, 170, 0.16), transparent 64%), radial-gradient(80% 60% at 50% 110%, rgba(88, 197, 170, 0.14), transparent 66%);
}

    .ambient-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
        opacity: 0.07;
        mix-blend-mode: overlay;
    }

[data-theme="dark"] .ambient-bg::after {
    mix-blend-mode: screen;
    opacity: 0.07;
}

.ambient-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: float-orb 26s ease-in-out infinite;
}

[data-theme="dark"] .ambient-orb {
    opacity: 0.15;
}

.orb-1 {
    width: 640px;
    height: 640px;
    background: var(--gold);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 520px;
    height: 520px;
    background: var(--gold-light);
    bottom: -150px;
    left: -100px;
    animation-delay: -9s;
}

.orb-3 {
    width: 460px;
    height: 460px;
    background: var(--champagne);
    top: 34%;
    left: 42%;
    animation-delay: -17s;
}

@keyframes float-orb {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }

    25% {
        transform: translate3d(30px, -30px, 0);
    }

    50% {
        transform: translate3d(-20px, 20px, 0);
    }

    75% {
        transform: translate3d(20px, 30px, 0);
    }
}

@media (max-width: 900px) {
    .ambient-orb {
        animation: none;
        filter: blur(70px);
        will-change: auto;
    }

    .orb-3 {
        display: none;
    }
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 78px;
    padding: 0 clamp(18px, 4vw, 48px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background 0.4s ease, border-color 0.4s ease;
}

    .nav::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        opacity: 0.4;
    }

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    line-height: 0;
    flex: 0 0 auto;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 100%;
    object-fit: contain;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .nav .logo-img {
    content: url("/images/logo_dark.png");
}

.logo:hover .logo-img {
    opacity: 0.72;
}

.nav-links {
    display: flex;
    gap: clamp(18px, 2.2vw, 32px);
    align-items: center;
}

    .nav-links a {
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.88rem;
        letter-spacing: -0.01em;
        text-transform: none;
        transition: color 0.3s ease;
        position: relative;
        cursor: pointer;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0;
            height: 2px;
            border-radius: 2px;
            background: var(--gold);
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--text-primary);
        }

            .nav-links a:hover::after {
                width: 100%;
            }

        .nav-links a.active {
            color: var(--text-primary);
            font-weight: 600;
        }

            .nav-links a.active::after {
                width: 100%;
            }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

    .theme-toggle::before {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        background: var(--gold);
        border-radius: 999px;
        top: 3px;
        left: 3px;
        box-shadow: none;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

[data-theme="dark"] .theme-toggle {
    background: transparent;
}

    [data-theme="dark"] .theme-toggle::before {
        transform: translateX(20px);
    }

.theme-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6px;
    font-size: 12px;
    pointer-events: none;
}

.sun-icon {
    opacity: 0.6;
    font-size: 12px;
}

.moon-icon {
    opacity: 0.3;
    font-size: 12px;
}

[data-theme="dark"] .sun-icon {
    opacity: 0.3;
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

    .mobile-menu-toggle:hover {
        border-color: var(--border-hover);
    }

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 14px;
}

    .hamburger span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

        .hamburger span:nth-child(1) {
            top: 0;
        }

        .hamburger span:nth-child(2) {
            top: 50%;
            transform: translateY(-50%);
        }

        .hamburger span:nth-child(3) {
            bottom: 0;
        }

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85%;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--rule);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 80px 24px 40px;
    pointer-events: none;
}

    .mobile-menu.active {
        transform: translateX(0);
        pointer-events: auto;
    }

.mobile-menu-links {
    list-style: none;
    margin-bottom: 32px;
}

    .mobile-menu-links li {
        margin-bottom: 8px;
    }

    .mobile-menu-links a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px 4px;
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.98rem;
        text-transform: none;
        letter-spacing: -0.01em;
        border-radius: 14px;
        border-bottom: none;
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .mobile-menu-links a:hover,
        .mobile-menu-links a.active {
            background: var(--gold-tint);
            color: var(--text-primary);
        }

        .mobile-menu-links a .menu-icon {
            font-size: 1.2rem;
        }

.mobile-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.mobile-menu-footer {
    padding: 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: left;
}

    .mobile-menu-footer p {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .mobile-menu-footer .btn {
        width: 100%;
    }

#app {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    height: auto !important;
    overflow: visible !important;
}

.page {
    display: none;
    opacity: 0;
    min-height: 100vh;
    padding-top: 78px;
    position: relative;
}

    .page.active {
        display: block;
        opacity: 1;
        will-change: auto;
    }

    .page.entering {
        display: block;
        animation: pageEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        will-change: opacity, transform;
    }

    .page.leaving {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        pointer-events: none;
        animation: pageLeave 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        will-change: opacity, transform;
    }

@keyframes pageEnter {
    0% {
        opacity: 0;
        transform: translate3d(0, 40px, 0) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes pageLeave {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate3d(0, -30px, 0) scale(0.98);
    }
}

.page.entering .dashboard-card,
.page.entering .form-card,
.page.entering .stat-card,
.page.entering .support-info,
.page.entering .support-form {
    opacity: 0;
    animation: cardEnter 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

    .page.entering .dashboard-card:nth-child(1),
    .page.entering .stat-card:nth-child(1),
    .page.entering .support-info {
        animation-delay: 0.1s;
    }

    .page.entering .dashboard-card:nth-child(2),
    .page.entering .stat-card:nth-child(2),
    .page.entering .support-form {
        animation-delay: 0.2s;
    }

    .page.entering .dashboard-card:nth-child(3),
    .page.entering .stat-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .page.entering .stat-card:nth-child(4) {
        animation-delay: 0.4s;
    }

@keyframes cardEnter {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    height: 56px;
    padding: 0 34px;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 20px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    animation: none;
    transform: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

    .btn:hover,
    .btn:focus,
    .btn:active {
        transform: none;
        padding: 0 34px;
        height: 56px;
        letter-spacing: 0.14em;
        font-size: 0.72rem;
        box-shadow: none;
    }

    .btn:focus-visible {
        outline: 1px solid var(--gold);
        outline-offset: 4px;
    }

.btn-primary {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--champagne);
}

    .btn-primary::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: #FFFFFF;
        transform: translateY(101%);
        transition: transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-primary::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 4px;
        z-index: -1;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-primary:hover {
        color: #222222;
        border-color: var(--gold);
    }

        .btn-primary:hover::before {
            transform: translateY(0);
        }

        .btn-primary:hover::after {
            transform: scaleX(1);
        }

    .btn-primary:active::before {
        transform: translateY(0) scale(1.04);
        transition-duration: 0.15s;
    }

[data-theme="dark"] .btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--on-accent);
}

    [data-theme="dark"] .btn-primary::before {
        background: var(--bone);
    }

    [data-theme="dark"] .btn-primary:hover {
        color: var(--on-accent);
        border-color: var(--bone);
    }

.btn-secondary {
    background: transparent;
    border-color: var(--rule);
    color: var(--text-primary);
    backdrop-filter: none;
}

    .btn-secondary::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: #444444;
        transform: translateY(101%);
        transition: transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-secondary:hover {
        color: #FFFFFF;
        border-color: var(--ink);
    }

        .btn-secondary:hover::before {
            transform: translateY(0);
        }

[data-theme="dark"] .btn-secondary:hover {
    color: #FFFFFF;
    border-color: var(--gold);
}

.btn-quiet {
    height: 56px;
    padding: 0 4px;
    border: none;
    overflow: visible;
    color: var(--text-secondary);
    letter-spacing: 0.16em;
}

    .btn-quiet:hover,
    .btn-quiet:focus,
    .btn-quiet:active {
        height: 56px;
        padding: 0 4px;
        letter-spacing: 0.16em;
    }

    .btn-quiet::after {
        content: '→';
        display: inline-block;
        font-size: 0.95rem;
        letter-spacing: 0;
        color: var(--gold);
        transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-quiet:hover {
        color: var(--gold);
    }

        .btn-quiet:hover::after {
            transform: translateX(7px);
        }

.btn-nav {
    height: 42px;
    padding: 12px 24px;
    font-size: 0.64rem;
}

    .btn-nav:hover,
    .btn-nav:focus,
    .btn-nav:active {
        height: 42px;
        padding: 12px 24px;
        font-size: 0.64rem;
    }

.btn-huge {
    width: auto;
    height: 64px;
    padding: 0 42px;
    font-size: 0.74rem;
}

    .btn-huge:hover,
    .btn-huge:focus,
    .btn-huge:active {
        height: 64px;
        padding: 0 42px;
        font-size: 0.74rem;
    }

.btn-small {
    height: 42px;
    padding: 0 22px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
}

    .btn-small:hover,
    .btn-small:focus,
    .btn-small:active {
        height: 42px;
        padding: 0 22px;
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }

/* =====================================================================================================================
   .btn-ghost and .btn-large

   These two are used 19 and 13 times across the site -- every secondary action and every large call to action --
   and neither had a single rule. The markup was renamed at some point and the stylesheet was not: .btn-secondary,
   .btn-quiet and .btn-huge are all still defined below and used exactly nowhere.

   The effect was that "See a real plan first", "Back", "Compare", "See everything we track" and every large CTA
   fell through to bare .btn -- transparent background, transparent border, inherited colour -- so they read as
   floating uppercase text rather than as buttons. Defined here against the same tokens as the rest of the set.
   ===================================================================================================================== */

.btn-ghost {
    background: transparent;
    border-color: var(--rule);
    color: var(--text-primary);
}

    .btn-ghost:hover,
    .btn-ghost:focus {
        border-color: var(--ink);
        background: var(--bg-tertiary);
        color: var(--text-primary);
    }

[data-theme="dark"] .btn-ghost:hover,
[data-theme="dark"] .btn-ghost:focus {
    border-color: var(--gold);
    color: var(--text-primary);
}

/* Size, not colour -- it combines with .btn-primary or .btn-ghost. The hover block repeats the metrics because
   .btn:hover resets height, padding and font-size, exactly as .btn-huge and .btn-small have to. */
.btn-large {
    height: 62px;
    padding: 0 38px;
    font-size: 0.76rem;
}

    .btn-large:hover,
    .btn-large:focus,
    .btn-large:active {
        height: 62px;
        padding: 0 38px;
        font-size: 0.76rem;
    }

@media (max-width: 560px) {
    .btn-large { width: 100%; padding: 0 20px; }
    .btn-large:hover, .btn-large:focus, .btn-large:active { padding: 0 20px; }
}

.form-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 60px 40px;
}

.form-card,
.legal-copy,
.support-info,
.support-form,
.dashboard-card,
.dashboard-sidebar,
.checkout-panel,
.credits-hero,
.stat-card,
.checkout-reassure {
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    backdrop-filter: none;
    box-shadow: var(--shadow-sm);
}

.form-card {
    padding: 48px 40px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--gold-tint);
    border: 1px solid var(--gold-tint-line);
    color: var(--gold-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: none;
}

.form-title,
.dashboard-card-title,
.checkout-panel-title,
.support-info h3,
.support-form h3,
.success-account h3,
.legal-copy h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group-hero {
    margin-bottom: 6px;
    position: relative;
}

.form-input,
textarea.form-input,
select.form-input {
    width: 100%;
    padding: 16px 20px;
    height: 56px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    appearance: none;
}

textarea.form-input {
    height: auto;
    min-height: 120px;
    padding: 20px;
}

/* Hide the placeholder until focus ONLY where a floating label is sitting in the field -- otherwise the two
   overlap and the field reads as garbled. Everywhere else (the questionnaire, the browse search) the placeholder
   IS the hint and hiding it until focus threw away the only guidance on the field. */
.form-group .form-input::placeholder,
.form-group-hero .form-input::placeholder {
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-group .form-input:focus::placeholder,
.form-group-hero .form-input:focus::placeholder {
    opacity: 1;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:hover {
    border-color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--input-focus-glow);
}

.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    transform-origin: left top;
    background: transparent;
    padding: 0 2px;
    border-radius: 4px;
}

textarea ~ .form-label {
    top: 26px;
    transform: translateY(-50%);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
textarea:focus ~ .form-label,
textarea:not(:placeholder-shown) ~ .form-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    color: var(--text-muted);
    font-weight: 600;
    background: var(--input-bg);
    padding: 0 6px;
}

.form-input:focus ~ .form-label {
    color: var(--primary);
}

[data-theme="dark"] .form-input:focus ~ .form-label {
    color: var(--accent);
}

/* An ordinary label above the control, for a form-group whose control is not an input at all -- the star rating
   picker, for one. The floating variant is absolutely positioned and would sit on top of the widget. */
.form-label-static {
    position: static;
    transform: none;
    display: block;
    margin-bottom: 10px;
    pointer-events: auto;
    background: transparent;
    padding: 0;
    color: var(--text-secondary);
    font-weight: 600;
}

.form-input.input-error,
.form-group.has-error .form-input {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(192, 68, 47, 0.18);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-footer {
    text-align: center;
    margin-top: 28px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

    .form-footer a,
.legal-copy a {
        color: var(--gold);
        text-decoration: none;
        font-weight: 600;
        cursor: pointer;
    }

        .form-footer a:hover {
            text-decoration: underline;
        }

.page-header {
    text-align: left;
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(44px, 6vw, 78px) clamp(20px, 4vw, 48px) 34px;
}

.page-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.6rem, 5.4vw, 4.4rem);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 12px;
}

.page-subtitle {
    margin: 14px 0 0;
    max-width: 56ch;
    font-size: 0.98rem;
    color: var(--text-secondary);
}

.lx-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.home-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px 80px;
    padding-top: clamp(28px, 4vw, 44px);
}

.section-spacer {
    margin-top: clamp(64px, 9vw, 118px);
}

.section-header {
    text-align: left;
    margin-bottom: clamp(34px, 4vw, 52px);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    letter-spacing: -0.04em;
    margin: 16px 0 14px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.97rem;
    max-width: 58ch;
}

.lx-sectionmark {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px 7px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-secondary);
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-secondary);
    width: fit-content;
}

    .lx-sectionmark::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--gold);
    }

.lx-hero {
    position: relative;
    padding: clamp(24px, 5vw, 62px) 0 clamp(24px, 5vw, 120px);
    overflow: hidden;
}

.lx-hero-aura {
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 130%;
    z-index: 0;
    pointer-events: none;

    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 88%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 88%);
}

    .lx-hero-aura span {
        position: absolute;
        border-radius: 50%;
        filter: blur(100px);
        opacity: 0.26;
        animation: none;
    }

        .lx-hero-aura span:nth-child(1) {
            width: 42vw;
            height: 42vw;
            left: 4%;
            top: 2%;
            background: var(--gold);
        }

        .lx-hero-aura span:nth-child(2) {
            width: 34vw;
            height: 34vw;
            right: 6%;
            top: 12%;
            background: var(--gold-light);
        }

        .lx-hero-aura span:nth-child(3) {
            width: 30vw;
            height: 30vw;
            right: 28%;
            bottom: 2%;
            background: var(--champagne);
            opacity: 0.22;
        }

.lx-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(30px, 5vw, 72px);
    align-items: center;
}

.lx-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    margin-bottom: 26px;
    padding: 8px 18px 8px 14px;
    border: 1px solid var(--gold-tint-line);
    border-radius: 999px;
    background: var(--gold-tint);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-text);
}

.lx-kicker-rule {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    animation: kickPulse 2.8s ease-in-out infinite;
}

@keyframes kickPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.55;
    }
}

.lx-display {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 5vw, 3.8rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
    margin-bottom: 26px;
}

    .lx-display em {
        font-style: normal;
        color: var(--gold-text);
    }

.lx-lede {
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.72;
    max-width: 52ch;
    margin-bottom: 32px;
}

.lx-hero-copy .lx-lede { margin-bottom: 15px; }

.lx-hero-copy .lx-lede-punch {
    margin-bottom: 30px;
    color: var(--text-primary);
}

    .lx-hero-copy .lx-lede-punch strong { color: var(--gold-text); }

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.lx-assurances {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 0;
}

.lx-assurances li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.76rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
}

    .lx-assurances li::before {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--gold);
        opacity: 0.9;
    }

.lx-step {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    padding: clamp(26px, 3vw, 40px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.4s ease;
}

    .lx-step:hover {
        transform: translateY(-6px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-md);
    }

.lx-step p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
}

.lx-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2vw, 22px);
}

.lx-step-no {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--gold-text);
    background: var(--gold-tint);
    border: 1px solid var(--gold-tint-line);
}

.lx-step h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.28rem;
    letter-spacing: -0.03em;
    margin: 16px 0 10px;
}

.mid-cta {
    margin-top: clamp(34px, 5vw, 56px);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-tint-line);
    background: linear-gradient(135deg, var(--gold-tint) 0%, transparent 70%), var(--bg-secondary);
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
    gap: clamp(16px, 2vw, 26px);
    align-items: stretch;
}

.pricing-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(30px, 3.4vw, 46px) clamp(22px, 2.6vw, 34px);
    text-align: center;
    transform: none;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, border-color 0.3s ease;
}

    .pricing-card:hover {
        transform: translateY(-10px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-lg);
        z-index: 3;
    }

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 15px 7px;
    border-radius: 999px;
    background: var(--gold);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 22px -12px var(--accent-glow);
}

[data-theme="dark"] .popular-badge {
    color: var(--on-accent);
}

.pack-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.pack-tagline {
    color: var(--gold-text);
    font-size: 0.82rem;
    text-transform: none;
    letter-spacing: 0.01em;
    min-height: 22px;
}

    .credits-hero-value,
.stat-value,
.sidebar-credits-value {
        font-family: var(--font-display);
        font-weight: 700;
        color: var(--gold-text);
    }

.pack-per-credit {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.price-amount {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.8rem, 4.4vw, 3.6rem);
    color: var(--text-primary);
    margin: 22px 0 6px;
}

.price-currency {
    font-size: 1rem;
    margin-top: 10px;
    margin-right: 4px;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* "THE REPORT IS YOURS TO KEEP" */

.keep-note {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    margin: 20px 0 4px;
    padding: 15px 16px;
    border-radius: 15px;
    border: 1px solid var(--gold-tint-line);
    background: var(--gold-tint);
    text-align: left;
}

.keep-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--gold-text);
    font-size: 0.95rem;
}

.keep-body strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
}

.keep-body > span {
    display: block;
    margin-top: 5px;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.keep-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.keep-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid var(--gold-tint-line);
    background: var(--bg-secondary);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

    .keep-chip i { color: var(--gold-text); }

.keep-compact {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    margin: 0 0 14px;
    padding: 12px 14px;
    font-size: 0.76rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

    .keep-compact > i {
        margin-top: 2px;
        color: var(--gold-text);
    }

    .keep-compact strong { color: var(--text-primary); }

.pricing-features {
    list-style: none;
    margin: 24px 0 32px;
    text-align: left;
}

    .pricing-features li {
        padding: 12px 0;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--rule);
    }

        .pricing-features li:last-child {
            border-bottom: none;
        }

    .pricing-features i {
        color: var(--gold);
        font-size: 1rem;
    }

.faq-section h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    letter-spacing: -0.04em;
    margin: 34px 0 12px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
    transition: border-color 0.4s ease, background 0.4s ease;
}

    .faq-item.faq-open {
        border-color: var(--border-hover);
    }

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    transition: opacity 0.2s ease;
}

    .faq-trigger:hover {
        opacity: 0.8;
    }

.faq-question {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.4;
    flex: 1;
    transition: color 0.3s ease;
}

.faq-item.faq-open .faq-question {
    color: var(--gold-text);
    font-style: normal;
}

.faq-icon {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
    transition: background 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.faq-open .faq-icon {
    background: var(--gold);
    border-color: var(--gold);
    transform: rotate(90deg);
}

.faq-icon-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-icon-horizontal {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-icon-vertical {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.faq-item.faq-open .faq-icon-bar {
    background: var(--on-accent);
}

.faq-item.faq-open .faq-icon-vertical {
    height: 0;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.faq-answer {
    padding: 0 24px 26px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 68ch;
}

.checkout-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: minmax(0, 1080px);
    gap: 28px;
    align-items: start;
    justify-content: center;
}

/* TWO THIRDS PAYMENT, ONE THIRD REASSURANCE */

.checkout-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}

.checkout-panel {
    padding: 32px;
    min-width: 0;
}

.checkout-split > .assure {
    margin-top: 0;
    min-width: 0;
}

    .checkout-split > .assure .assure-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

@media (max-width: 900px) {
    .checkout-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .checkout-split > .assure {
        margin-top: 0;
    }

    .checkout-split > .assure .assure-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.checkout-panel-title {
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.checkout-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.checkout-line-info strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

.checkout-line-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.checkout-line-price {
    font-weight: 700;
    white-space: nowrap;
    text-align: right;
}

    .checkout-line-price s {
        display: block;
        font-size: 0.8rem;
        font-weight: 600;
        text-decoration-color: var(--error);
        color: var(--text-muted);
    }

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 12px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

    .checkout-total-row strong {
        font-size: 1.7rem;
        font-weight: 700;
        color: var(--text-primary);
    }

.checkout-reassure {
    list-style: none;
    margin: 0 0 24px;
    padding: 20px 22px;
    text-align: center;
}

    .checkout-reassure li {
        display: flex;
        align-items: flex-start;
        gap: 11px;
        padding: 7px 0;
        color: var(--text-secondary);
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .checkout-reassure i {
        color: var(--gold);
        margin-top: 4px;
        flex-shrink: 0;
    }

.checkout-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0px 0 24px;
}

.paypal-buttons-holder {
    min-height: 52px;
    max-width: 340px;
    margin-inline: auto;
}

.checkout-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    border-radius: 14px;
    padding: 16px 18px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

    .checkout-notice i {
        color: var(--warning);
        margin-top: 2px;
    }

    .checkout-notice code {
        /* 'Space Mono' is not loaded anywhere, so this only ever resolved to the generic default. Use the
           same stack the rest of the site uses for code rather than naming a font we do not ship. */
        font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        font-size: 0.85em;
        color: var(--text-primary);
    }

.checkout-secure {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 20px;
    line-height: 1.5;
}

    .checkout-secure i {
        color: var(--success);
        margin-right: 4px;
    }

.checkout-success {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 24px 80px;
    text-align: center;
}

.checkout-success-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 14px 44px rgba(15, 122, 99, 0.35);
    animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-left: auto;
    margin-right: auto;
}

@keyframes successPop {
    0% {
        transform: scale(0.4);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

    .success-meta span {
        display: block;
        color: var(--text-muted);
        font-size: 0.8rem;
        margin-bottom: 4px;
    }

    .success-meta strong {
        font-weight: 700;
        font-size: 0.98rem;
        word-break: break-word;
    }

.success-account {
    background: var(--gold-tint);
    border: 1px solid var(--success);
    border-radius: 18px;
    padding: 24px;
    text-align: left;
    margin-bottom: 28px;
    border-color: var(--gold-tint-line);
}

.sa-lead {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.sa-cred {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 9px 12px;
    margin-bottom: 7px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

    .sa-cred em {
        flex: 0 0 74px;
        font-style: normal;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        color: var(--text-muted);
    }

    .sa-cred strong {
        min-width: 0;
        font-size: 0.92rem;
        color: var(--text-primary);
        overflow-wrap: anywhere;
    }

.sa-pass {
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
    letter-spacing: 0.04em;
    color: var(--gold-text) !important;
}

.sa-note {
    display: block;
    margin-top: 11px;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

    .sa-note a {
        color: var(--gold-text);
        cursor: pointer;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .success-account h3 {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

        .success-account h3 i {
            color: var(--success);
            margin-right: 6px;
        }

    .success-account p {
        color: var(--text-secondary);
        font-size: 0.93rem;
        line-height: 1.6;
    }

.success-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.dashboard-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding-top: clamp(34px, 5vw, 56px);
}

.dashboard-sidebar {
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 96px;
}

.sidebar-nav {
    list-style: none;
}

    .sidebar-nav li {
        margin-bottom: 8px;
    }

    .sidebar-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 18px;
        border-radius: 14px;
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.94rem;
        text-transform: none;
        letter-spacing: -0.01em;
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease, background 0.3s ease;
        cursor: pointer;
        position: relative;
    }

        .sidebar-nav a:hover {
            background: var(--bg-tertiary);
            color: var(--text-primary);
            box-shadow: inset 3px 0 0 0 #999999;
        }

        .sidebar-nav a.active {
            background: var(--gold);
            color: #FFFFFF;
            box-shadow: 0 12px 26px -14px var(--accent-glow);
            overflow: hidden;
            animation: none;
        }

            .sidebar-nav a.active::before {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
                transition: left 0.5s ease;
            }

            .sidebar-nav a.active:hover::before {
                left: 100%;
            }

            .sidebar-nav a.active:hover {
                transform: none;
                box-shadow: none;
            }

    .sidebar-nav .nav-icon {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    .sidebar-nav a:hover .nav-icon {
        transform: scale(1.15);
    }

.sidebar-credits {
    background: var(--bg-tertiary);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-credits-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sidebar-credits-value {
    font-size: 1.2rem;
}

.dashboard-main {
    min-width: 0;
}

    .dashboard-main:only-child {
        grid-column: 1 / -1;
    }

.dashboard-card {
    padding: 32px;
    margin-bottom: 24px;
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dashboard-card-title {
    font-size: 1.3rem;
}

.dashboard-card,
.stat-card,
.credits-hero,
.support-item {
    transition: border-color 0.4s ease, box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease;
}

    .dashboard-card:hover,
.stat-card:hover,
.credits-hero:hover {
        border-color: var(--border-hover);
        box-shadow: var(--shadow-md);
        transform: none;
    }

/* THE FREE REPORT'S HEADLINE CARDS */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
    padding: 20px;
    text-align: left;
}

.stat-label {
    display: block;
    min-width: 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    line-height: 1.35;
    color: var(--text-muted);
}

.stat-value {
    display: block;
    min-width: 0;
    font-size: clamp(1.35rem, 2.6vw, 1.7rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.credits-hero {
    padding: 40px 32px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

    .credits-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--gold);
        opacity: 0.85;
    }

.credits-hero-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
}

.credits-hero-value {
    font-size: 4rem;
    line-height: 1.1;
    margin: 8px 0 24px;
}

.usage-table {
    width: 100%;
    border-collapse: collapse;
}

    .usage-table th,
    .usage-table td {
        padding: 16px 20px;
        text-align: left;
        border-bottom: 1px solid var(--border);
    }

    .usage-table th {
        font-family: var(--font-sans);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.76rem;
        text-transform: none;
        letter-spacing: 0.02em;
    }

    .usage-table td {
        font-size: 0.95rem;
    }

    .usage-table tr:last-child td {
        border-bottom: none;
    }

    .usage-table tr:hover td {
        background: var(--gold-tint);
    }

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 32px 16px !important;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
}

.status-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.status-error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
}

    .empty-state i {
        font-size: 2.4rem;
        color: var(--text-muted);
        margin-bottom: 16px;
        display: block;
    }

    .empty-state p {
        color: var(--text-secondary);
        margin-bottom: 20px;
    }

.support-info,
.support-form {
    padding: 40px;
}

.support-info {
    margin-bottom: 28px;
}

    .support-info h3,
    .support-form h3 {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }

.support-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.support-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid var(--gold-tint-line);
    background: var(--gold-tint);
    color: var(--gold-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.support-item-text strong {
    display: block;
    margin-bottom: 4px;
}

.support-item-text span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.legal-copy {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px;
}

    .legal-copy h3 {
        font-size: 1.15rem;
        margin: 32px 0 10px;
    }

        .legal-copy h3:first-child {
            margin-top: 0;
        }

    .legal-copy p {
        color: var(--text-secondary);
        line-height: 1.75;
    }

.footer {
    position: relative;
    background: var(--ink);
    border-top: none;
    padding: clamp(50px, 7vw, 86px) clamp(20px, 4vw, 48px) 34px;
    text-align: left;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--gradient-primary);
        opacity: 0.9;
    }

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    justify-content: space-between;
    align-items: start;
    gap: clamp(30px, 5vw, 64px);
    flex-wrap: wrap;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(247, 245, 240, 0.12);
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2.4fr);
}

.footer-logo {
    display: block;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    line-height: 0;
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5rem;
    color: #F7F5F0;
}

    .footer-logo .logo-img {
    height: 44px;
    width: auto;
}

.footer-line {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    max-width: 36ch;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    flex-direction: unset;
    align-items: start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: clamp(22px, 3vw, 40px);
    margin: 0;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

    .footer-links a {
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        font-size: 0.86rem;
        font-weight: 500;
        text-transform: none;
        letter-spacing: 0.01em;
        cursor: pointer;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: #FFFFFF;
        }

.footer-copy {
    max-width: 1240px;
    margin: 26px auto 0;
    color: rgba(247, 245, 240, 0.32);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
}

.buy-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    align-items: center;
    justify-content: center;
    padding: 12px clamp(16px, 4vw, 40px) calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(7, 27, 22, 0.94) 0%, rgba(5, 18, 15, 0.97) 100%);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-top: 1px solid rgba(74, 227, 188, 0.22);
    box-shadow: 0 -18px 50px -30px rgba(0, 0, 0, 0.7);
}

.buy-bar-copy strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.45rem;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.buy-bar-copy span {
    font-size: 0.72rem;
    text-transform: none;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.55);
}

.buy-bar .btn {
    padding: 14px 26px;
    white-space: nowrap;
    flex-shrink: 0;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--scrim);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.loading-spinner {
    font-size: 1.5rem;
    color: var(--gold);
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
}

@keyframes revealIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

html.reveal-ready .reveal:not(.revealed) {
    opacity: 0;
    transform: translateY(24px);
}

html.reveal-ready .reveal.revealed {
    animation: revealIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

html.reveal-ready .reveal-stagger:not(.revealed) > * {
    opacity: 0;
    transform: translateY(20px);
}

html.reveal-ready .reveal-stagger.revealed > * {
    animation: revealIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

    html.reveal-ready .reveal-stagger.revealed > *:nth-child(1) {
        animation-delay: 0.05s;
    }

    html.reveal-ready .reveal-stagger.revealed > *:nth-child(2) {
        animation-delay: 0.14s;
    }

    html.reveal-ready .reveal-stagger.revealed > *:nth-child(3) {
        animation-delay: 0.23s;
    }

    html.reveal-ready .reveal-stagger.revealed > *:nth-child(4) {
        animation-delay: 0.32s;
    }

    html.reveal-ready .reveal-stagger.revealed > *:nth-child(5) {
        animation-delay: 0.41s;
    }

    html.reveal-ready .reveal-stagger.revealed > *:nth-child(6) {
        animation-delay: 0.50s;
    }

@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }

    .lx-hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .lx-process {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .lx-process {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px 24px;
    }
}

@media (max-width: 768px) {
    html {
        overflow-x: clip;
    }

    .nav {
        height: 64px;
        padding: 0 16px;
    }

    .nav-links,
    .btn-nav,
    #theme-toggle-desktop {
        display: none;
    }

    .logo-img {
        height: 34px;
    }

    .mobile-menu-toggle,
    .mobile-menu,
    .mobile-menu-overlay {
        display: block;
    }

    .dashboard-sidebar {
        display: none !important;
        position: static;
    }

    .dashboard-container {
        padding: 20px;
    }

    .dashboard-card {
        padding: 20px;
    }

    .page {
        padding-top: 64px;
    }

    .form-container {
        padding: 40px 20px;
    }

    .form-card {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 34px 20px 24px;
    }

    .home-container {
        padding: 0 20px 116px;
    }

    .lx-display {
        font-size: clamp(2.4rem, 11vw, 2.4rem);
    }

    .hero-cta-row {
        gap: 14px;
        width: 100%;
    }

        .hero-cta-row .btn-huge {
            width: 100%;
        }

    .lx-step {
        padding: 24px 22px;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
    }

    .faq-icon-horizontal {
        width: 10px;
    }

    .faq-icon-vertical {
        height: 10px;
    }

    .legal-copy {
        padding: 32px 24px;
    }

    .checkout-panel {
        padding: 24px;
    }

    .credits-hero-value {
        font-size: 3rem;
    }

    .footer-logo .logo-img {
        height: 42px;
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    .lx-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 0;

        align-items: stretch;
    }

    .lx-hero-copy {
        display: contents;
    }

    .lx-kicker {
        order: 1;
        margin-bottom: 14px;
    }

    .lx-display {
        order: 2;
        margin-bottom: 0;
    }

    .hero-stage {
        order: 3;

        width: 100vw;
        margin: 20px calc(50% - 50vw) 24px;
    }

    .lx-lede {
        order: 4;
        margin: 4px 0 26px;
        max-width: none;
    }

    .hero-cta-row {
        order: 5;
        margin-bottom: 22px;
    }

    .lx-assurances {
        order: 6;
        margin-bottom: 4px;
    }

    .lx-hero .quickcalc {
        width: 100%;
        margin-inline: 0;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .lx-hero .quickcalc-head,
    .lx-hero .quickcalc-body,
    .lx-hero .quickcalc-result {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lx-hero .quickcalc-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

        .lx-hero .quickcalc-body .form-group:last-child {
            grid-column: 1 / -1;
        }

    .lx-hero .quickcalc .input-money { --field-h: 48px; }

    .lx-hero .quickcalc .form-input {
        height: 48px;
        padding: 10px 10px 10px 24px !important;
        font-size: 16px;
        border-radius: 12px;
    }

    .lx-hero .quickcalc .input-money > span {
        left: 10px;
        font-size: 0.85rem;
    }

    .lx-hero .quickcalc .money-slider { height: 24px; }

    .lx-hero .quick-label {
        font-size: 0.66rem;
        letter-spacing: -0.01em;
    }

        .lx-hero .quick-label em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html.reveal-ready .reveal,
    html.reveal-ready .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .page.entering,
    .page.leaving {
        animation-duration: 0.01ms !important;
    }
}

/* CareFigures  —  components */

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.access-pill {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--gold-tint);
    border: 1px solid var(--gold-tint-line);
    color: var(--gold-text);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

html.has-access .access-pill {
    display: inline-flex;
}

html.no-access .access-only {
    display: none !important;
}

/* MONEY AND PERCENT INPUTS */

.input-money,
.input-pct {
    position: relative;
    display: flex;
    align-items: center;
}

.input-money {
    --field-h: 56px;
    flex-wrap: wrap;
}

    .input-money > input[type="text"] { flex: 1 1 100%; }

/* TOUCH DEVICES */

@media (hover: none) {
    .form-input,
    textarea.form-input,
    select.form-input,
    .input-money > input[type="text"] {
        font-size: 16px;
    }
}

/* MONEY SLIDERS */

.money-slider {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    height: 14px;
    margin: -2px 0 0;
    padding: 0px 8px 0px 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

    .money-slider:focus { outline: none; }

@media (hover: none) {
    .money-slider {
        height: 26px;
        margin: 4px 0 0;
    }
}

.money-slider::-webkit-slider-runnable-track {
    height: 2px;
    border-radius: 999px;
    background: var(--input-border);
}

.money-slider::-moz-range-track {
    height: 2px;
    border-radius: 999px;
    background: var(--input-border);
}

.money-slider::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    margin-top: -5px;
    border: 2px solid var(--bg-secondary);
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 1px 4px rgba(11, 21, 18, 0.25);
    opacity: 0.55;
    cursor: grab;
    transition: transform 0.14s ease, box-shadow 0.14s ease;
    appearance: none;
    -webkit-appearance: none;
}

.money-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 2px solid var(--bg-secondary);
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 1px 4px rgba(11, 21, 18, 0.25);
    opacity: 0.55;
    cursor: grab;
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.input-money:hover .money-slider::-webkit-slider-thumb,
.input-money:focus-within .money-slider::-webkit-slider-thumb { opacity: 1; }

.input-money:hover .money-slider::-moz-range-thumb,
.input-money:focus-within .money-slider::-moz-range-thumb { opacity: 1; }

.money-slider:active::-webkit-slider-thumb {
    transform: scale(1.25);
    box-shadow: 0 0 0 5px var(--accent-glow);
    cursor: grabbing;
}

.money-slider:active::-moz-range-thumb {
    transform: scale(1.25);
    box-shadow: 0 0 0 5px var(--accent-glow);
    cursor: grabbing;
}

    .input-money > span {
        position: absolute;
        left: 16px;
        top: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        height: var(--field-h);
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-muted);
        pointer-events: none;
        transition: color 0.4s ease;
    }

    .input-money > input[type="text"] {
        padding-left: 32px !important;
        font-variant-numeric: tabular-nums;
    }

    .input-money:focus-within > span {
        color: var(--gold-text);
    }

    .input-pct > span {
        position: absolute;
        right: 16px;
        z-index: 2;
        font-size: 0.78rem;
        color: var(--text-muted);
        pointer-events: none;
    }

    .input-pct > input {
        padding-right: 74px !important;
        font-variant-numeric: tabular-nums;
    }

/* HOME  —  the gap */

.gap-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 22px;
    align-items: stretch;
}

.gap-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

    .gap-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

    .gap-card h3 {
        margin: 12px 0 18px;
        font-family: var(--font-display);
        font-size: 1.24rem;
        font-weight: 700;
        color: var(--text-primary);
    }

.gap-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gap-bad .gap-tag {
    background: rgba(192, 57, 43, 0.12);
    color: var(--error);
}

.gap-good .gap-tag {
    background: var(--gold-tint);
    color: var(--gold-text);
}

.gap-good {
    border-color: var(--gold-tint-line);
    box-shadow: var(--shadow-md), 0 0 70px -50px var(--accent-glow);
}

.gap-list {
    list-style: none;
    display: grid;
    gap: 11px;
}

    .gap-list li {
        display: flex;
        gap: 11px;
        font-size: 0.86rem;
        line-height: 1.5;
        color: var(--text-secondary);
    }

    .gap-list i {
        margin-top: 3px;
        flex-shrink: 0;
        font-size: 0.78rem;
    }

.gap-bad .gap-list i { color: var(--error); }
.gap-good .gap-list i { color: var(--success); }

.gap-figure {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--rule);
}

    .gap-figure span {
        display: block;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .gap-figure strong {
        display: block;
        margin-top: 6px;
        font-family: var(--font-display);
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.03em;
        color: var(--text-primary);
        font-variant-numeric: tabular-nums;
    }

.gap-good .gap-figure strong { color: var(--gold-text); }

.gap-versus {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gap-versus span {
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        border: 1px solid var(--border);
        background: var(--bg-secondary);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

.gap-note {
    margin-top: 22px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

    .gap-note a {
        color: var(--gold-text);
        cursor: pointer;
        text-decoration: underline;
        text-underline-offset: 3px;
        text-decoration-thickness: 1px;
        text-decoration-color: var(--gold-tint-line);
        transition: text-decoration-color 0.35s ease;
    }

    .gap-note a:hover { text-decoration-color: var(--gold); }

/* HOME  —  the three way comparison */

.compare-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

.compare-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

    .compare-table th,
    .compare-table td {
        padding: 17px 20px;
        text-align: left;
        font-size: 0.86rem;
        border-bottom: 1px solid var(--rule);
    }

    .compare-table thead th {
        font-family: var(--font-display);
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--text-primary);
        vertical-align: bottom;
    }

        .compare-table thead th span {
            display: block;
            margin-top: 4px;
            font-family: var(--font-sans);
            font-size: 0.68rem;
            font-weight: 400;
            color: var(--text-muted);
        }

    .compare-table tbody td:first-child {
        font-weight: 500;
        color: var(--text-primary);
    }

    .compare-table tbody td {
        color: var(--text-secondary);
    }

    .compare-table tbody tr:last-child td { border-bottom: 0; }

.compare-bad { color: var(--error) !important; }

.compare-hero {
    position: relative;
    background: var(--gold-tint);
    color: var(--text-primary) !important;
}

thead .compare-hero { color: var(--gold-text) !important; }
.compare-table tbody .compare-hero strong { color: var(--gold-text); }

/* HOME  —  mid page and closing calls to action */

    .mid-cta p {
        margin-bottom: 18px;
        font-family: var(--font-display);
        font-size: clamp(1.05rem, 2.2vw, 1.35rem);
        font-weight: 600;
        letter-spacing: -0.01em;
        color: var(--text-primary);
    }

.final-cta {
    padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(150deg, var(--bg-tertiary) 0%, var(--bg-secondary) 62%);
    box-shadow: var(--shadow-md);
    text-align: center;
}

    .final-cta h2 {
        font-family: var(--font-display);
        font-size: clamp(1.7rem, 4vw, 2.7rem);
        font-weight: 700;
        letter-spacing: -0.03em;
        color: var(--text-primary);
    }

    .final-cta p {
        max-width: 640px;
        margin: 16px auto 28px;
        font-size: 0.96rem;
        line-height: 1.7;
        color: var(--text-secondary);
    }

.final-cta-sub {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
}

/* HOME  —  deadlines, what is included, trust */

.deadline-grid,
.whatsin-grid {
    display: grid;
    gap: 20px;
}

.deadline-grid { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.whatsin-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.deadline-card {
    padding: 26px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s ease;
}

    .deadline-card:hover {
        transform: translateY(-4px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-md);
    }

    .deadline-card h3 {
        margin: 14px 0 10px;
        font-family: var(--font-display);
        font-size: 1.02rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .deadline-card p {
        font-size: 0.83rem;
        line-height: 1.65;
        color: var(--text-secondary);
    }

    .deadline-card a {
        color: var(--gold-text);
        cursor: pointer;
        text-decoration: underline;
        text-underline-offset: 3px;
        text-decoration-color: var(--gold-tint-line);
        transition: text-decoration-color 0.35s ease;
    }

    .deadline-card a:hover { text-decoration-color: var(--gold); }

.deadline-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--gold-text);
}

.whatsin-col {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

.whatsin-paid {
    border-color: var(--gold-tint-line);
    background: linear-gradient(160deg, var(--gold-tint) 0%, transparent 58%), var(--bg-secondary);
    box-shadow: var(--shadow-md);
}

.whatsin-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rule);
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
}

    .whatsin-head i { color: var(--gold-text); }

.whatsin-list {
    list-style: none;
    display: grid;
    gap: 13px;
}

    .whatsin-list li {
    display: grid;
    gap: 11px;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-secondary);
    grid-template-columns: 18px 1fr;
    align-items: start;
}

    .whatsin-list i {
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.82rem;
    color: var(--gold);
    width: 18px;
    line-height: 1.4;
    text-align: center;
}

    .whatsin-free i {
    color: var(--success);
}

    .whatsin-list strong {
    color: var(--text-primary);
    font-weight: 600;
}

.trust-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 26px;
    padding: clamp(30px, 4vw, 46px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
}

.trust-item i {
    font-size: 1.25rem;
    color: var(--gold-text);
}

.trust-item h4 {
    margin: 13px 0 8px;
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
}

.trust-item p {
    font-size: 0.81rem;
    line-height: 1.62;
    color: var(--text-secondary);
}

.pricing-note {
    margin-top: 22px;
    text-align: center;
    font-size: 0.76rem;
    color: var(--text-muted);
}

.pricing-featured {
    border-color: var(--gold-tint-line);
    box-shadow: var(--shadow-lg), 0 0 90px -54px var(--accent-glow);
}

/* THE CALCULATOR */

.calc-container,
.report-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px 90px;
}

.calc-caretype {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}

.caretype-btn {
    display: grid;
    gap: 5px;
    padding: 20px 18px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease, box-shadow 0.5s ease;
}

    .caretype-btn i {
        font-size: 1.1rem;
        color: var(--text-muted);
        transition: color 0.35s ease;
    }

    .caretype-btn strong {
        font-family: var(--font-display);
        font-size: 0.96rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .caretype-btn span {
        font-size: 0.75rem;
        color: var(--text-muted);
    }

    .caretype-btn:hover {
        transform: translateY(-3px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-sm);
    }

    .caretype-btn.active {
        border-color: var(--gold);
        background: var(--gold-tint);
        box-shadow: 0 0 0 1px var(--gold-tint-line) inset;
    }

        .caretype-btn.active i { color: var(--gold-text); }

.calc-modebar {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule);
}

.calc-modes {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
}

.mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease, box-shadow 0.4s ease;
}

    .mode-btn.active {
        background: var(--bg-secondary);
        color: var(--text-primary);
        box-shadow: var(--shadow-sm);
    }

.calc-modehint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* THE HOOK */

.calc-hook {
    margin-bottom: clamp(20px, 2.6vw, 26px);
    padding: clamp(20px, 3vw, 28px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(192, 57, 43, 0.28);
    background:
        radial-gradient(130% 130% at 0% 0%, rgba(192, 57, 43, 0.11) 0%, transparent 58%),
        var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .calc-hook {
    border-color: rgba(232, 105, 92, 0.26);
    background:
        radial-gradient(130% 130% at 0% 0%, rgba(232, 105, 92, 0.12) 0%, transparent 58%),
        var(--bg-secondary);
}

.ch-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(192, 57, 43, 0.13);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--error);
}

[data-theme="dark"] .ch-eyebrow { background: rgba(232, 105, 92, 0.16); }

.ch-title {
    margin: 13px 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.16;
    color: var(--text-primary);
}

    .ch-title em {
        font-style: normal;
        color: var(--error);
        font-variant-numeric: tabular-nums;
    }

.ch-lede {
    max-width: 720px;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

    .ch-lede strong { color: var(--text-primary); }

.ch-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin: 18px 0 14px;
}

.ch-stat {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 13px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
}

    .ch-stat strong {
        font-family: var(--font-display);
        font-size: 1.15rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--text-primary);
    }

    .ch-stat span {
        font-size: 0.7rem;
        line-height: 1.4;
        color: var(--text-muted);
    }

.ch-close {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

    .ch-close i {
        margin-top: 3px;
        flex-shrink: 0;
        color: var(--gold-text);
    }

    .ch-close strong {
        font-weight: 700;
        color: var(--gold-text);
    }

.hook-slim {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 16px;
    font-size: 0.79rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

    .hook-slim i { color: var(--error); }

    .hook-slim strong {
        color: var(--text-primary);
        font-variant-numeric: tabular-nums;
    }

/* One true thing per step */

.step-reality {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: -18px 0 22px;
    padding: 15px 17px;
    border-radius: 15px;
    border: 1px solid var(--gold-tint-line);
    background: var(--gold-tint);
}

.sr-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--bg-secondary);
    font-size: 0.8rem;
    color: var(--gold-text);
}

.sr-body strong {
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
}

.sr-body span {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Why careful people still get this wrong */

.calc-unfair {
    margin-bottom: 22px;
}

.cu-title {
    margin-bottom: 11px;
    font-family: var(--font-display);
    font-size: 0.97rem;
    font-weight: 700;
    letter-spacing: -0.018em;
    color: var(--text-primary);
}

.cu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 11px;
}

.cu-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 14px;
    border-radius: 15px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

.cu-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 11px;
    background: rgba(192, 57, 43, 0.11);
    font-size: 0.85rem;
    color: var(--error);
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 11px;
}

    .cu-icon i {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

[data-theme="dark"] .cu-icon { background: rgba(232, 105, 92, 0.14); }

.cu-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
}

.cu-item span {
    display: block;
    margin-top: 4px;
    font-size: 0.76rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.cu-item a {
    display: inline-block;
    margin-top: 7px;
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--gold-text);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--gold-tint-line);
}

    .cu-item a:hover { text-decoration-color: var(--gold); }

/* THE STEP METER */

/* WHAT THEY HAVE EARNED SO FAR */

.calc-known {
    margin-bottom: 24px;
    padding: clamp(16px, 2.4vw, 22px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(23, 131, 95, 0.28);
    background: linear-gradient(150deg, rgba(23, 131, 95, 0.07) 0%, transparent 60%), var(--bg-secondary);
}

.ck-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

    .ck-title i { color: var(--success); font-size: 0.85em; }

.ck-list {
    display: grid;
    gap: 9px;
    list-style: none;
}

.ck-item {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    opacity: 0.72;
}

    .ck-item i {
        margin-top: 3px;
        font-size: 0.75rem;
        color: var(--success);
    }

.ck-new {
    opacity: 1;
    animation: ckIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ckIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

.ck-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.ck-value {
    display: block;
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.ck-note {
    display: block;
    margin-top: 4px;
    font-size: 0.76rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.ck-foot {
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid var(--rule);
    font-size: 0.74rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* An interrupted visit, offered back */

.calc-resume {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 15px;
    border: 1px solid var(--gold-tint-line);
    background: var(--gold-tint);
}

.cr-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--bg-secondary);
    color: var(--gold-text);
    font-size: 0.85rem;
}

.cr-body {
    flex: 1 1 220px;
    min-width: 0;
    font-size: 0.79rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

    .cr-body strong { display: block; color: var(--text-primary); }
    .cr-body em { font-style: normal; font-weight: 700; color: var(--gold-text); }

.cr-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
    .ck-new { animation: none; }
}

.calc-begin {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: clamp(1.02rem, 2.5vw, 1.28rem);
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1.3;
    color: var(--text-primary);
}

    .calc-begin i {
        flex-shrink: 0;
        font-size: 1.05em;
        color: var(--gold-text);
    }

.calc-steps {
    margin-bottom: clamp(20px, 2.6vw, 28px);
}

.cs-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.cs-count {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.cs-pct {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--gold-text);
}

.cs-meter {
    height: 6px;
    border-radius: 999px;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.cs-meter-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: var(--gradient-primary);
    transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-list {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    padding-bottom: 4px;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

    .cs-list::-webkit-scrollbar { display: none; }

.cs-item button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px 6px 6px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

    .cs-item button:hover {
        border-color: var(--border);
        background: var(--bg-secondary);
        color: var(--text-secondary);
    }

.cs-dot {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-tertiary);
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: background 0.3s ease, color 0.3s ease;
}

.cs-item.cs-done button { color: var(--text-secondary); }

.cs-item.cs-done .cs-dot {
    background: var(--gold-tint);
    color: var(--gold-text);
}

.cs-item.cs-on button {
    border-color: var(--gold-tint-line);
    background: var(--gold-tint);
    color: var(--gold-text);
}

.cs-item.cs-on .cs-dot {
    background: var(--gradient-primary);
    color: var(--on-accent);
}

@media (max-width: 620px) {
    .cs-item:not(.cs-on) .cs-name { display: none; }

    .cs-item:not(.cs-on) button { padding: 6px; }
}

/* Moving between them */

.calc-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: -12px;
}

.calc-nav-note {
    flex: 1 1 auto;
    text-align: center;
    font-size: 0.74rem;
    color: var(--text-muted);
}

.calc-next,
.calc-back {
    flex: 0 0 auto;
}

@media (max-width: 520px) {
    .calc-nav {
        gap: 10px;
    }

    .calc-nav-note { display: none; }

    .calc-next { flex: 1 1 auto; justify-content: center; }
}

/* The last step: their own answers, read back */

.calc-review {
    display: grid;
    gap: 8px;
    margin-bottom: 4px;
}

.cr-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--bg-primary);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}

    .cr-row:hover {
        border-color: var(--gold-tint-line);
        background: var(--gold-tint);
    }

.cr-label {
    min-width: 0;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.cr-value {
    font-size: 0.82rem;
    font-weight: 700;
    text-align: right;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.cr-edit {
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--gold-text);
    opacity: 0;
    transition: opacity 0.25s ease;
}

    .cr-row:hover .cr-edit,
    .cr-row:focus-visible .cr-edit { opacity: 1; }

@media (max-width: 560px) {
    .cr-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 10px;
    }

    .cr-edit {
        grid-column: 1 / -1;
        text-align: left;
        opacity: 1;
    }
}

.calc-sublabel {
    display: block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
}

.calc-block {
    margin-bottom: 34px;
    padding: 28px clamp(20px, 3vw, 32px) 12px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

.calc-step {
    animation: calcStepIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.calc-step .calc-caretype { margin-bottom: 20px; }

.calc-step .calc-modebar {
    margin-bottom: 8px;
    padding-bottom: 0;
    border-bottom: 0;
}

@keyframes calcStepIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .calc-step { animation: none; }
    .cs-meter-fill { transition: none; }
}

.calc-block-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

    .calc-block-title span {
        display: grid;
        place-items: center;
        width: 30px;
        height: 30px;
        flex-shrink: 0;
        border-radius: 9px;
        background: var(--gold-tint);
        color: var(--gold-text);
        font-family: var(--font-sans);
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0;
    }

.calc-block-lede {
    margin: -12px 0 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.calc-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
}

    .calc-label .opt {
        margin-left: 5px;
        font-size: 0.68rem;
        font-weight: 400;
        color: var(--text-muted);
    }

/* FIELD HELP  —  the "?" beside a label */

.fh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    padding: 0;
    flex-shrink: 0;
    vertical-align: -2px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: transparent;
    font-size: 0.53rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: help;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

    .fh-btn:hover,
    .fh-btn[aria-expanded="true"] {
        border-color: var(--gold-tint-line);
        background: var(--gold-tint);
        color: var(--gold-text);
    }

    .fh-btn:focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: 2px;
    }

@media (hover: none) {
    .fh-btn {
        position: relative;
        width: 18px;
        height: 18px;
        font-size: 0.58rem;
    }

        .fh-btn::after {
            content: '';
            position: absolute;
            top: -7px;
            right: -7px;
            bottom: -7px;
            left: -7px;
        }
}

/* The bubble */

.fh-pop {
    position: fixed;
    z-index: 9990;
    display: none;
    width: max-content;
    max-width: min(320px, calc(100vw - 24px));
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border-hover);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}

    .fh-pop.fh-on {
        opacity: 1;
        transform: none;
    }

    .fh-pop.fh-on.fh-has-link { pointer-events: auto; }

.fh-pop,
.fh-pop p,
.fh-pop a {
    font-family: var(--font-sans);
}

.fh-arrow {
    position: absolute;
    top: -6px;
    width: 11px;
    height: 11px;
    margin-left: -5px;
    border-top: 1px solid var(--border-hover);
    border-left: 1px solid var(--border-hover);
    border-radius: 2px 0 0 0;
    background: var(--bg-secondary);
    transform: rotate(45deg);
}

    .fh-above .fh-arrow {
        top: auto;
        bottom: -6px;
        border-top: 0;
        border-left: 0;
        border-right: 1px solid var(--border-hover);
        border-bottom: 1px solid var(--border-hover);
        border-radius: 0 0 2px 0;
    }

.fh-title {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.fh-body {
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.fh-note {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid var(--rule);
    font-size: 0.73rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.fh-link {
    margin-top: 9px;
    font-size: 0.73rem;
}

    .fh-link a {
        color: var(--gold-text);
        cursor: pointer;
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

.fh-pop.fh-over { z-index: 9998; }

@media (prefers-reduced-motion: reduce) {
    .fh-pop { transition: none; transform: none; }
}

.calc-help {
    margin-top: 8px;
    font-size: 0.72rem;
    line-height: 1.55;
    color: var(--text-muted);
}

    .calc-help a {
        color: var(--gold-text);
        cursor: pointer;
        text-decoration: underline;
        text-underline-offset: 2px;
        text-decoration-color: var(--gold-tint-line);
    }

    .calc-help a:hover { text-decoration-color: var(--gold); }

.mix-row {
    margin-bottom: 12px;
}

    .mix-row label {
        display: flex;
        justify-content: space-between;
        margin-bottom: 6px;
        font-size: 0.76rem;
        color: var(--text-secondary);
    }

    .mix-row label span {
        font-weight: 600;
        color: var(--gold-text);
        font-variant-numeric: tabular-nums;
    }

    .mix-row input[type=range] {
        width: 100%;
        height: 4px;
        appearance: none;
        -webkit-appearance: none;
        border-radius: 999px;
        background: var(--bg-tertiary);
        outline: none;
        cursor: pointer;
    }

        .mix-row input[type=range]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 17px;
            height: 17px;
            border-radius: 50%;
            background: var(--gold);
            border: 2px solid var(--bg-secondary);
            box-shadow: 0 2px 8px -2px var(--accent-glow);
            cursor: pointer;
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .mix-row input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.18); }

        .mix-row input[type=range]::-moz-range-thumb {
            width: 17px;
            height: 17px;
            border-radius: 50%;
            background: var(--gold);
            border: 2px solid var(--bg-secondary);
            cursor: pointer;
        }

.calc-submit {
    margin-top: 34px;
    text-align: center;
}

.calc-submit-note {
    margin-top: 14px;
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* THE FREE SUMMARY */

.status-block {
    display: flex;
    gap: 16px;
    padding: 22px 24px;
    margin-bottom: 26px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

    .status-block i {
        font-size: 1.3rem;
        margin-top: 2px;
    }

    .status-block strong {
        display: block;
        font-family: var(--font-display);
        font-size: 1.02rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .status-block p {
        margin-top: 7px;
        font-size: 0.85rem;
        line-height: 1.62;
        color: var(--text-secondary);
    }

.status-good {
    border-color: rgba(23, 131, 95, 0.34);
    background: linear-gradient(120deg, rgba(23, 131, 95, 0.09) 0%, transparent 60%), var(--bg-secondary);
}

    .status-good i { color: var(--success); }

.status-warn {
    border-color: rgba(181, 129, 31, 0.34);
    background: linear-gradient(120deg, rgba(181, 129, 31, 0.09) 0%, transparent 60%), var(--bg-secondary);
}

    .status-warn i { color: var(--warning); }

.stat-sub {
    display: block;
    min-width: 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.stat-value small {
    margin-left: 5px;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text-muted);
}

.stat-primary { border-color: var(--gold-tint-line); }
.stat-primary .stat-value { color: var(--gold-text); }
.stat-good .stat-value { color: var(--success); }
.stat-warn .stat-value { color: var(--warning); }
.stat-accent .stat-value { color: var(--gold-text); }

.summary-h2 {
    margin: 38px 0 16px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.fee-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    border-radius: 15px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    margin-bottom: 10px;
    transition: border-color 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

    .fee-row:hover {
        transform: translateX(3px);
        border-color: var(--border-hover);
    }

.fee-flag i { font-size: 1rem; }
.fee-on .fee-flag i { color: var(--success); }
.fee-off .fee-flag i { color: var(--text-muted); }
.fee-off { opacity: 0.66; }

.fee-body {
    flex: 1;
    min-width: 0;
}

    .fee-body strong {
        display: block;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .fee-body span {
        display: block;
        margin-top: 3px;
        font-size: 0.76rem;
        line-height: 1.5;
        color: var(--text-muted);
    }

.fee-amount {
    flex-shrink: 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--gold-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

    .fee-amount i {
        margin-right: 4px;
        font-size: 0.7rem;
    }

.fee-off .fee-amount { color: var(--text-muted); }

.summary-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 34px;
}

/* THE PAYWALL */

.paywall {
    position: relative;
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gold-tint-line);
    box-shadow: var(--shadow-lg), 0 0 120px -70px var(--accent-glow);
}

.paywall-panel {
    position: relative;
    padding: clamp(28px, 4vw, 44px);
    background: linear-gradient(165deg, var(--gold-tint) 0%, transparent 46%), var(--bg-secondary);
    border-top: 1px solid var(--gold-tint-line);
}

.paywall-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--on-accent);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.paywall-title {
    margin: 18px 0 12px;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3.6vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.14;
    color: var(--text-primary);
}

    .paywall-title em {
        font-style: normal;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }

.paywall-lede {
    max-width: 620px;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* THE LAST ASK  —  exit intent */

.exit-modal {
    position: fixed;
    inset: 0;
    z-index: 9980;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(7, 13, 11, 0.62);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

    .exit-modal.exit-on {
        opacity: 1;
        visibility: visible;
    }

.exit-card {
    position: relative;
    width: min(460px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: clamp(24px, 4vw, 32px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-hover);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    transform: translateY(12px) scale(0.985);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    .exit-modal.exit-on .exit-card { transform: none; }

.exit-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}

    .exit-close:hover { background: var(--bg-tertiary); color: var(--text-primary); }

.exit-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(23, 131, 95, 0.14);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--success);
}

[data-theme="dark"] .exit-eyebrow { background: rgba(53, 196, 141, 0.17); }

.exit-title {
    margin: 13px 0 9px;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--text-primary);
}

.exit-lede {
    margin-bottom: 16px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.exit-fine {
    margin-top: 12px;
    font-size: 0.71rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* The link itself */

.share-box {
    display: flex;
    gap: 9px;
    margin-bottom: 4px;
}

    .share-box .form-input {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 0.8rem;
        font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
    }

    .share-box .btn { flex: 0 0 auto; }

/* A shared report, opened by somebody who has never been here before */

.share-head {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--rule);
}

.share-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--gold-tint);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.share-meta {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

    .share-meta strong { color: var(--text-secondary); }

.share-foot {
    margin-top: 40px;
    padding: clamp(20px, 3vw, 28px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    text-align: center;
}

    .share-foot p {
        margin-bottom: 18px;
        font-size: 0.82rem;
        line-height: 1.65;
        color: var(--text-secondary);
    }

    .share-foot strong { color: var(--text-primary); }

.exit-done {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 18px 0 8px;
    text-align: center;
}

    .exit-done i {
        font-size: 2rem;
        color: var(--success);
    }

    .exit-done p {
        font-size: 0.88rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }

@media (prefers-reduced-motion: reduce) {
    .exit-modal,
    .exit-card { transition: none; }
}

/* THE LOSS, DECOMPOSED */

.paywall-breakdown {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 18px;
}

.pb-item {
    display: grid;
    gap: 3px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(192, 57, 43, 0.26);
    background: rgba(192, 57, 43, 0.06);
}

[data-theme="dark"] .pb-item {
    border-color: rgba(232, 105, 92, 0.26);
    background: rgba(232, 105, 92, 0.08);
}

.pb-value {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3.1vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--error);
    font-variant-numeric: tabular-nums;
}

.pb-label {
    font-size: 0.7rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.pb-total {
    border-color: var(--error);
}

@media (max-width: 560px) {
    .paywall-breakdown { grid-template-columns: minmax(0, 1fr); gap: 8px; }

    .pb-item {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: baseline;
        gap: 10px;
        padding: 11px 14px;
    }
}

.paywall-proof {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--text-muted);
}

    .paywall-proof i {
        margin-top: 3px;
        color: var(--success);
    }

    .paywall-proof a {
        color: var(--gold-text);
        cursor: pointer;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

/* THE TURN */

.paywall-solution {
    margin: 0 0 22px;
    padding: clamp(18px, 2.6vw, 24px);
    border-radius: 17px;
    border: 1px solid var(--gold);
    background:
        radial-gradient(120% 130% at 0% 0%, var(--gold-tint) 0%, transparent 62%),
        var(--bg-secondary);
    box-shadow: 0 0 60px -34px var(--accent-glow), inset 0 0 0 1px var(--gold-tint);
}

.pso-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--gold-tint);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.pso-title {
    margin: 12px 0 9px;
    font-family: var(--font-display);
    font-size: clamp(1.12rem, 2.7vw, 1.42rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
    color: var(--text-primary);
}

    .pso-title em {
        font-style: normal;
        color: var(--gold-text);
        font-variant-numeric: tabular-nums;
    }

.pso-body {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

    .pso-body strong { color: var(--text-primary); }

.pso-figures {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 14px;
}

.pso-fig {
    display: grid;
    gap: 3px;
    padding: 13px 14px;
    border-radius: 13px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
}

.pso-value {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.9vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.pso-label {
    font-size: 0.68rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.pso-fig-loss .pso-value { color: var(--error); }

.pso-fig-cost {
    border-color: var(--gold);
    background: var(--gold-tint);
}

    .pso-fig-cost .pso-value { color: var(--gold-text); }

.pso-fig-ratio .pso-value { color: var(--gold-text); }

.pso-close {
    padding-top: 13px;
    border-top: 1px solid var(--gold-tint-line);
    font-size: clamp(0.88rem, 2.2vw, 1rem);
    line-height: 1.55;
    color: var(--text-secondary);
}

    .pso-close strong { color: var(--text-primary); font-weight: 700; }

/* "Show me exactly what I get" */

.pso-reveal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 15px;
    border: 1px solid var(--gold-tint-line);
    border-radius: 999px;
    background: transparent;
    font-family: inherit;
    font-size: 0.79rem;
    font-weight: 700;
    color: var(--gold-text);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

    .pso-reveal:hover {
        border-color: var(--gold);
        background: var(--gold-tint);
    }

    .pso-reveal i {
        font-size: 0.68rem;
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .pso-reveal[aria-expanded="true"] i { transform: rotate(180deg); }

.paywall-reveal {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

    .paywall-reveal.reveal-open { opacity: 1; }

    .paywall-reveal .paywall-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin: 16px 0 2px;
    }

@media (prefers-reduced-motion: reduce) {
    .paywall-reveal { transition: none; }
    .pso-reveal i { transition: none; }
}

@media (max-width: 560px) {
    .pso-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .pso-fig-ratio { grid-column: 1 / -1; }
}

.paywall-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 11px 24px;
    margin: 26px 0 28px;
}

    .paywall-list li {
        display: flex;
        gap: 11px;
        font-size: 0.85rem;
        line-height: 1.5;
        color: var(--text-secondary);
    }

    .paywall-list i {
        margin-top: 3px;
        flex-shrink: 0;
        font-size: 0.72rem;
        color: var(--gold);
    }

.paywall-anchor {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.pa-item {
    flex: 1;
    min-width: 190px;
    padding: 16px 18px;
    border-radius: 15px;
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
}

    .pa-item span {
        display: block;
        font-size: 0.72rem;
        color: var(--text-muted);
    }

    .pa-item strong {
        display: block;
        margin-top: 5px;
        font-family: var(--font-display);
        font-size: 1.24rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--text-primary);
    }

.pa-strike strong {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--error);
    color: var(--text-muted);
}

.pa-win {
    border-color: var(--gold);
    background: var(--gold-tint);
}

    .pa-win strong { color: var(--gold-text); }

/* THE INLINE BUY PANEL */

.inline-buy {
    margin-top: 22px;
    padding: 20px 20px 18px;
    border: 1px solid var(--gold-tint-line);
    border-radius: 20px;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-md);
}

.inline-buy-label {
    display: block;
    margin-bottom: 12px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tier-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--bg-tertiary);
}

.tier-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 11px 4px 10px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

    .tier-tab:hover {
        background: var(--bg-secondary);
        border-color: var(--border-hover);
        transform: translateY(-1px);
    }

    .tier-tab .tier-term {
        font-size: 0.76rem;
        font-weight: 600;
        color: var(--text-secondary);
        transition: color 0.22s ease;
    }

    .tier-tab .tier-price {
        font-family: var(--font-display);
        font-size: 1.28rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--text-primary);
        transition: color 0.22s ease;
    }

.tier-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--gradient-primary);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--on-accent);
}

.tier-on {
    background: var(--bg-secondary);
    border-color: var(--gold);
    box-shadow: 0 6px 18px -10px var(--accent-glow), inset 0 0 0 1px var(--gold-tint);
}

    .tier-on .tier-term { color: var(--gold-text); }

    .tier-on .tier-price { color: var(--gold-text); }

    .tier-on:hover { border-color: var(--gold); }

/* THE OFFER */

/* "IF THIS IS YOU" */

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 18px;
}

.pain-card {
    padding: 26px 24px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

    .pain-card:hover {
        transform: translateY(-3px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-md);
    }

.pain-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--bg-tertiary);
    font-size: 1.05rem;
    color: var(--text-muted);
    transition: background 0.3s ease, color 0.3s ease;
}

    .pain-card h3 {
        margin-bottom: 9px;
        font-family: var(--font-display);
        font-size: 1.06rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--text-primary);
    }

    .pain-card p {
        font-size: 0.9rem;
        line-height: 1.72;
        color: var(--text-secondary);
    }

.pain-card-answer {
    border-color: var(--gold-tint-line);
    background: linear-gradient(150deg, var(--gold-tint) 0%, transparent 62%), var(--bg-secondary);
}

    .pain-card-answer .pain-icon {
        background: var(--gradient-primary);
        color: var(--on-accent);
    }

    .pain-card-answer h3 { color: var(--gold-text); }

.gapfill {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    margin-top: 22px;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    background: var(--rule);
    overflow: hidden;
}

.gapfill-item {
    padding: 22px 22px 20px;
    background: var(--bg-secondary);
}

    .gapfill-item strong {
        display: block;
        margin-bottom: 7px;
        font-family: var(--font-display);
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: -0.015em;
        color: var(--text-primary);
    }

    .gapfill-item span {
        display: block;
        font-size: 0.85rem;
        line-height: 1.68;
        color: var(--text-secondary);
    }

@media (max-width: 560px) {
    .pain-card { padding: 20px 18px 18px; }

    .pain-icon { width: 38px; height: 38px; margin-bottom: 12px; }

    .gapfill-item { padding: 18px; }
}

.offer-flag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 12px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--gradient-primary);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--on-accent);
    box-shadow: 0 8px 22px -12px var(--accent-glow);
}

    .offer-flag i { font-size: 0.78rem; }

    .offer-flag em {
        padding: 2px 7px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.22);
        font-style: normal;
        font-size: 0.68rem;
    }

.price-was {
    display: block;
    margin-bottom: -2px;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--error);
    color: var(--text-muted);
}

.offer-line {
    margin-top: -4px;
    margin-bottom: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-text);
}

    .offer-line strong { color: var(--gold-text); }

.pricing-offer {
    border-color: var(--gold);
    box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--gold-tint);
}

.tier-deal .tier-price s {
    display: block;
    margin-bottom: -1px;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration-color: var(--error);
    color: var(--text-muted);
}

.tn-deal {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-weight: 600;
    color: var(--gold-text);
}

.tier-note {
    margin: 12px 2px 14px;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

    .tier-note strong { color: var(--text-primary); }

.inline-buy-email {
    margin: 4px 0 14px;
    text-align: left;
}

    .inline-buy-email .calc-label { font-size: 0.78rem; }

    .inline-buy-email .checkout-hint {
        margin-top: 6px;
        font-size: 0.7rem;
        line-height: 1.5;
        color: var(--text-muted);
    }

.inline-buy-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 16px;
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid var(--rule);
    font-size: 0.7rem;
    color: var(--text-muted);
}

    .inline-buy-foot i {
        margin-right: 5px;
        color: var(--gold);
    }

.inline-buy-more {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 11px;
    font-size: 0.74rem;
    color: var(--text-muted);
}

    .inline-buy-more a {
        color: var(--gold-text);
        font-weight: 600;
        cursor: pointer;
        text-decoration: none;
        border-bottom: 1px solid var(--gold-tint-line);
        transition: border-color 0.2s ease;
    }

        .inline-buy-more a:hover { border-bottom-color: var(--gold); }

/* THE VALUE REMINDER */

.value-reminder {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 720px;
    margin: 0 auto 30px;
    padding: 15px 20px;
    border: 1px solid var(--gold-tint-line);
    border-radius: 16px;
    background: var(--gold-tint);
}

/* THE PRICING PAGE INTRO  —  the cost of getting it wrong, beside what you keep */

.pricing-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(16px, 2vw, 22px);
    margin: 0 0 clamp(22px, 3vw, 32px);
}

    .pricing-intro.pi-solo {
        grid-template-columns: minmax(0, 1fr);
    }

    .pricing-intro > * {
        min-width: 0;
        margin: 0;
        max-width: none;
    }

    .pricing-intro > #PricingKeep {
        display: grid;
    }

    .pricing-intro .keep-note {
        height: 100%;
        align-content: center;
        margin: 0;
        padding: clamp(20px, 2.6vw, 28px);
        border-radius: 16px;
    }

@media (max-width: 860px) {
    .pricing-intro {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* The left half: what this decision could take off them */

.vr-loss {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    padding: clamp(20px, 2.6vw, 28px);
    border-color: rgba(192, 57, 43, 0.30);
    background:
        radial-gradient(120% 130% at 0% 0%, rgba(192, 57, 43, 0.13) 0%, transparent 58%),
        var(--bg-secondary);
    overflow: hidden;
}

[data-theme="dark"] .vr-loss {
    border-color: rgba(232, 105, 92, 0.28);
    background:
        radial-gradient(120% 130% at 0% 0%, rgba(232, 105, 92, 0.14) 0%, transparent 58%),
        var(--bg-secondary);
}

.vr-head {
    display: flex;
    align-items: center;
    gap: 11px;
}

.vr-loss .vr-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: rgba(192, 57, 43, 0.13);
    color: var(--error);
    font-size: 0.85rem;
}

[data-theme="dark"] .vr-loss .vr-icon { background: rgba(232, 105, 92, 0.16); }

.vr-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--error);
}

.vr-loss .vr-body {
    display: block;
    font-size: 0.86rem;
}

.vr-loss .vr-figure {
    display: block;
    margin: 0 0 6px;
    font-size: clamp(2.4rem, 6.2vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.vr-loss .vr-figure.vr-figure-pop {
    animation:
        vrFigurePop 0.75s cubic-bezier(0.16, 1, 0.3, 1) both,
        moneyShine 9s ease-in-out infinite;
}

@keyframes vrFigurePop {
    0%   { opacity: 0; transform: translateY(10px) scale(0.94); }
    60%  { opacity: 1; transform: translateY(0) scale(1.015); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.vr-loss .vr-action {
    align-self: flex-start;
    margin-top: 2px;
}

.vr-loss.vr-prompt {
    border-color: var(--border);
    background: var(--bg-tertiary);
}

    .vr-loss.vr-prompt .vr-icon { background: var(--text-muted); color: var(--on-accent); }

    .vr-loss.vr-prompt .vr-eyebrow { display: none; }

@media (max-width: 860px) {
    .vr-loss .vr-figure { font-size: clamp(2.2rem, 11vw, 3rem); }
}

.vr-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gradient-primary);
    font-size: 1rem;
    color: var(--on-accent);
}

.vr-body {
    min-width: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

    .vr-body strong { color: var(--text-primary); }

    .vr-figure {
        margin-right: 6px;
        font-family: var(--font-display);
        font-size: 1.24rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--gold-text);
    }

.vr-action {
    flex: 0 0 auto;
    white-space: nowrap;
}

.vr-prompt {
    border-color: var(--border);
    background: var(--bg-tertiary);
}

    .vr-prompt .vr-icon { background: var(--text-muted); }

    .vr-prompt .vr-figure {
        display: block;
        margin-right: 0;
        margin-bottom: 2px;
        font-size: 0.95rem;
        line-height: 1.4;
        letter-spacing: -0.01em;
        background-image: none;
        -webkit-text-fill-color: currentColor;
        color: var(--text-primary);
        filter: none;
        animation: none;
    }

@media (max-width: 560px) {
    .inline-buy {
        padding: 16px 13px 15px;
        border-radius: 17px;
    }

    .tier-tabs { gap: 5px; }

    .tier-tab { padding: 10px 2px 9px; }

        .tier-tab .tier-term { font-size: 0.68rem; }

        .tier-tab .tier-price { font-size: 1.1rem; }

    .tier-badge {
        padding: 2px 6px;
        font-size: 0.5rem;
        letter-spacing: 0.04em;
    }

    .tier-note { font-size: 0.74rem; }

    .inline-buy-foot { gap: 5px 12px; font-size: 0.66rem; }

    .value-reminder {
        gap: 12px;
        padding: 13px 15px;
        margin-bottom: 22px;
        flex-wrap: wrap;
    }

    .vr-icon { width: 34px; height: 34px; border-radius: 10px; font-size: 0.85rem; }

    .vr-body { font-size: 0.79rem; }

        .vr-body strong:first-child { font-size: 1.1rem; }

    .vr-action { flex: 1 1 100%; }
}

/* "SEND IT TO ME INSTEAD" */

.paywall-email {
    margin-top: 30px;
    padding: clamp(20px, 3vw, 26px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(23, 131, 95, 0.32);
    background: linear-gradient(140deg, rgba(23, 131, 95, 0.10) 0%, rgba(23, 131, 95, 0.02) 55%), var(--bg-primary);
    box-shadow: var(--shadow-sm);
}

.pe-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(23, 131, 95, 0.14);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--success);
}

.pe-title {
    margin: 12px 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.08rem, 2.4vw, 1.28rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--text-primary);
}

.pe-lede {
    margin-bottom: 16px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.pe-form .form-input {
    background: var(--bg-secondary);
}

.pe-form .btn {
    white-space: nowrap;
}

.pe-fine {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 13px;
    font-size: 0.72rem;
    line-height: 1.55;
    color: var(--text-muted);
}

    .pe-fine i {
        margin-top: 2px;
        color: var(--success);
    }

[data-theme="dark"] .paywall-email {
    border-color: rgba(53, 196, 141, 0.3);
    background: linear-gradient(140deg, rgba(53, 196, 141, 0.11) 0%, rgba(53, 196, 141, 0.02) 55%), var(--bg-primary);
}

[data-theme="dark"] .pe-eyebrow { background: rgba(53, 196, 141, 0.17); }

.inline-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .inline-form input {
        flex: 1;
        min-width: 210px;
    }

.paywall-sent {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.85rem;
    color: var(--success);
}

/* THE FULL REPORT */

.report-toolbar {
    position: sticky;
    top: 88px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    padding: 13px 18px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-glass);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow-sm);
}

.report-toolbar-right {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.report-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--success);
}

.report-building {
    padding: 90px 24px;
    text-align: center;
}

    .report-building i {
        font-size: 1.7rem;
        color: var(--gold);
    }

    .report-building h3 {
        margin: 18px 0 8px;
        font-family: var(--font-display);
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .report-building p {
        font-size: 0.85rem;
        color: var(--text-muted);
    }

.rp-cover {
    position: relative;
    padding: clamp(38px, 6vw, 68px) clamp(26px, 5vw, 56px);
    margin-bottom: 44px;
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, #071B16 0%, #0F3A30 55%, #071B16 100%);
    color: #EDF6F2;
    overflow: hidden;
}

    .rp-cover::after {
        content: '';
        position: absolute;
        inset: auto -20% -60% auto;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(46, 211, 169, 0.28) 0%, transparent 66%);
        pointer-events: none;
    }

.rp-cover-mark {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(237, 246, 242, 0.62);
}

.rp-cover-title {
    margin: 20px 0 14px;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 5vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

    .rp-cover-title em {
        font-style: normal;
        color: #4AE3BC;
    }

.rp-cover-for {
    font-size: 0.95rem;
    color: rgba(237, 246, 242, 0.72);
}

.rp-cover-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(237, 246, 242, 0.16);
}

    .rp-cover-meta span {
        display: grid;
        gap: 4px;
        font-size: 0.85rem;
        color: #EDF6F2;
    }

    .rp-cover-meta strong {
        font-size: 0.63rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(237, 246, 242, 0.5);
    }

.rp-section {
    margin-bottom: 54px;
    scroll-margin-top: 90px;
}

.rp-section-head {
    display: flex;
    gap: 18px;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rule);
}

.rp-section-num {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--gold-text);
    padding-top: 5px;
}

.rp-section-head h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.8vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.rp-section-lede {
    margin-top: 8px;
    max-width: 720px;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.rp-h4 {
    margin: 26px 0 14px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.rp-lead-in {
    margin-bottom: 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.rp-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 26px;
    align-items: start;
}

.rp-split-top { margin-top: 26px; }

.rp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.rp-stats-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.rp-stat {
    display: grid;
    gap: 6px;
    padding: 20px;
    border-radius: 17px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

    .rp-stat:hover {
        transform: translateY(-3px);
        border-color: var(--border-hover);
    }

.rp-stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.rp-stat-value {
    font-family: var(--font-display);
    font-size: 1.62rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

    .rp-stat-value small {
        display: block;
        margin-top: 4px;
        font-family: var(--font-sans);
        font-size: 0.66rem;
        font-weight: 400;
        letter-spacing: 0;
        color: var(--text-muted);
    }

.rp-stat-sub {
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.rp-stat-primary { border-color: var(--gold-tint-line); background: linear-gradient(145deg, var(--gold-tint) 0%, transparent 62%), var(--bg-secondary); }
.rp-stat-primary .rp-stat-value { color: var(--gold-text); }
.rp-stat-good .rp-stat-value { color: var(--success); }
.rp-stat-warn .rp-stat-value { color: var(--warning); }
.rp-stat-accent .rp-stat-value { color: var(--gold-text); }

.rp-callout {
    padding: 19px 22px;
    border-radius: 16px;
    border: 1px solid var(--border);
    border-left-width: 3px;
    background: var(--bg-tertiary);
    margin-bottom: 22px;
}

    .rp-callout strong {
        display: block;
        font-family: var(--font-display);
        font-size: 0.97rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .rp-callout p {
        margin-top: 7px;
        font-size: 0.85rem;
        line-height: 1.65;
        color: var(--text-secondary);
    }

.rp-callout-good { border-left-color: var(--success); }
.rp-callout-key { border-left-color: var(--gold); }

.rp-scroll {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.rp-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
}

.rp-scroll .rp-table { border-radius: 0; }

    .rp-table th,
    .rp-table td {
        padding: 12px 15px;
        text-align: left;
        font-size: 0.82rem;
        border-bottom: 1px solid var(--rule);
        white-space: nowrap;
    }

    .rp-table thead th {
        background: var(--bg-tertiary);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .rp-table td { color: var(--text-secondary); }
    .rp-table td:first-child { color: var(--text-primary); white-space: normal; }

    .rp-table tbody tr:last-child td { border-bottom: 0; }

    .rp-table tbody tr:hover td { background: var(--gold-tint); }

.rp-table-tight th,
.rp-table-tight td { padding: 9px 13px; }

.rp-num {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}

.rp-strong { font-weight: 700; color: var(--text-primary) !important; }
.rp-pos { color: var(--success) !important; }
.rp-neg { color: var(--error) !important; }

.rp-table .rp-total td,
.rp-table .rp-total th {
    background: var(--bg-tertiary);
    font-weight: 700;
    color: var(--text-primary);
    border-top: 1px solid var(--border);
}

.rp-table .rp-sub td {
    font-weight: 600;
    color: var(--text-primary);
}

.rp-table .rp-lead td {
    background: var(--gold-tint);
    font-weight: 600;
}

    .rp-table .rp-lead td:first-child { box-shadow: inset 3px 0 0 var(--gold); }

.rp-rank {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-muted) !important;
}

.rp-lead .rp-rank { color: var(--gold-text) !important; }

.rp-tag {
    display: inline-block;
    margin-left: 7px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--gold-tint);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.rp-flag {
    display: block;
    margin-top: 3px;
    font-size: 0.68rem;
    color: var(--warning);
}

.rp-hint {
    display: block;
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--text-muted);
    white-space: normal;
}

.rp-chart {
    margin: 22px 0;
    padding: 16px 14px 12px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    min-width: 0;
    overflow: hidden;
}

.rp-chart-canvas {
    width: 100%;
    min-height: 240px;
    min-width: 220px;
}

.rp-chart figcaption {
    margin-top: 10px;
    padding: 0 6px;
    font-size: 0.73rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.rp-notes {
    margin-top: 22px;
    padding: 20px 22px;
    border-radius: 16px;
    background: var(--bg-tertiary);
}

    .rp-notes p {
        font-size: 0.83rem;
        line-height: 1.7;
        color: var(--text-secondary);
    }

        .rp-notes p + p { margin-top: 12px; }

    .rp-notes strong { color: var(--text-primary); }

.rp-observations {
    display: grid;
    gap: 14px;
}

.rp-obs {
    padding: 21px 24px;
    border-radius: 17px;
    border: 1px solid var(--border);
    border-left-width: 3px;
    background: var(--bg-secondary);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

    .rp-obs:hover {
        transform: translateX(4px);
        box-shadow: var(--shadow-sm);
    }

    .rp-obs h4 {
        font-family: var(--font-display);
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: -0.01em;
        color: var(--text-primary);
    }

    .rp-obs p {
        margin-top: 8px;
        font-size: 0.85rem;
        line-height: 1.68;
        color: var(--text-secondary);
    }

.rp-obs-headline {
    border-left-color: var(--gold);
    background: linear-gradient(120deg, var(--gold-tint) 0%, transparent 55%), var(--bg-secondary);
}

    .rp-obs-headline h4 { font-size: 1.14rem; }

.rp-obs-good { border-left-color: var(--success); }
.rp-obs-watch { border-left-color: var(--chart-2); }
.rp-obs-key { border-left-color: var(--gold); }
.rp-obs-note { border-left-color: var(--text-muted); }

.rp-questions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.rp-qgroup {
    padding: 22px 24px;
    border-radius: 17px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

    .rp-qgroup h4 {
        margin-bottom: 14px;
        padding-bottom: 11px;
        border-bottom: 1px solid var(--rule);
        font-family: var(--font-display);
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--gold-text);
    }

    .rp-qgroup ul {
        list-style: none;
        display: grid;
        gap: 11px;
    }

    .rp-qgroup li {
        position: relative;
        padding-left: 20px;
        font-size: 0.83rem;
        line-height: 1.55;
        color: var(--text-secondary);
    }

        .rp-qgroup li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 8px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            border: 1px solid var(--gold);
        }

.rp-compare-card {
    padding: 24px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

    .rp-compare-card h4 {
        font-family: var(--font-display);
        font-size: 1.02rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .rp-compare-card p {
        font-size: 0.83rem;
        line-height: 1.65;
        color: var(--text-secondary);
    }

.rp-compare-figure {
    margin: 12px 0 12px !important;
    font-family: var(--font-display);
    font-size: 1.85rem !important;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--gold-text) !important;
}

    .rp-compare-figure small {
        display: block;
        margin-top: 3px;
        font-family: var(--font-sans);
        font-size: 0.68rem;
        font-weight: 400;
        letter-spacing: 0;
        color: var(--text-muted);
    }

.rp-disclaimer {
    padding: 26px 28px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
}

    .rp-disclaimer h3 {
        margin-bottom: 14px;
        font-family: var(--font-display);
        font-size: 1.02rem;
        font-weight: 700;
        color: var(--text-primary);
    }

    .rp-disclaimer p {
        font-size: 0.8rem;
        line-height: 1.72;
        color: var(--text-secondary);
    }

        .rp-disclaimer p + p { margin-top: 12px; }

    .rp-disclaimer strong { color: var(--text-primary); }

.rp-fineprint {
    font-size: 0.72rem !important;
    color: var(--text-muted) !important;
}

/* PRICING AND ACCESS */

.access-live {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 22px;
    margin-bottom: 28px;
    border-radius: 17px;
    border: 1px solid rgba(23, 131, 95, 0.34);
    background: linear-gradient(120deg, rgba(23, 131, 95, 0.09) 0%, transparent 60%), var(--bg-secondary);
}

    .access-live > i {
        font-size: 1.3rem;
        color: var(--success);
    }

    .access-live > div { flex: 1; min-width: 220px; }

    .access-live strong {
        display: block;
        font-size: 0.96rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .access-live span {
        display: block;
        margin-top: 4px;
        font-size: 0.8rem;
        color: var(--text-secondary);
    }

    .access-live em {
        font-style: normal;
        font-weight: 600;
        color: var(--gold-text);
    }

.value-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 16px;
    margin: clamp(36px, 5vw, 60px) 0;
}

.value-item {
    padding: 24px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    text-align: center;
}

    .value-item strong {
        display: block;
        font-family: var(--font-display);
        font-size: 1.55rem;
        font-weight: 700;
        letter-spacing: -0.03em;
        color: var(--text-primary);
    }

    .value-item span {
        display: block;
        margin-top: 8px;
        font-size: 0.78rem;
        line-height: 1.55;
        color: var(--text-muted);
    }

.value-item-win {
    border-color: var(--gold);
    background: var(--gold-tint);
}

    .value-item-win strong { color: var(--gold-text); font-size: 2rem; }

.pricing-faq { margin-top: clamp(40px, 6vw, 70px); }

.saved-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.saved-card {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.5s ease;
}

    .saved-card:hover {
        transform: translateY(-4px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-md);
    }

    .saved-card header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 14px;
    }

    .saved-card h3 {
        font-family: var(--font-display);
        font-size: 1.02rem;
        font-weight: 600;
        color: var(--text-primary);
    }

.saved-ref {
    flex-shrink: 0;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.saved-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

    .saved-meta dt {
        font-size: 0.63rem;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .saved-meta dd {
        margin-top: 3px;
        font-size: 0.8rem;
        color: var(--text-primary);
    }

.saved-best {
    display: flex;
    gap: 9px;
    margin-bottom: 16px;
    padding: 10px 13px;
    border-radius: 12px;
    background: var(--gold-tint);
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

    .saved-best i { color: var(--gold-text); margin-top: 2px; }

.saved-actions {
    display: flex;
    gap: 9px;
}

/* GUIDES */

.guides-cluster { margin-bottom: 48px; }

.guides-cluster-title {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--gold-text);
}

.guides-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 18px;
}

.guide-card {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s ease;
}

    .guide-card:hover {
        transform: translateY(-5px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-md);
    }

.guide-card-img {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--gold-tint) 0%, var(--bg-tertiary) 100%);
    overflow: hidden;
}

    .guide-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .guide-card:hover .guide-card-img img { transform: scale(1.05); }

.guide-card-noimg::after {
    content: '\f02d';

    /* 'Font Awesome 6 Free' is not a family this site loads -- the only faces declared are Pro, Brands,
       Duotone, Sharp and the two legacy aliases. Naming a family nothing declares means the glyph never
       renders at all. */
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    color: var(--gold-text);
    opacity: 0.35;
}

.guide-card-body { padding: 20px 22px 22px; }

    .guide-card-body h3 {
        font-family: var(--font-display);
        font-size: 1.03rem;
        font-weight: 600;
        letter-spacing: -0.01em;
        color: var(--text-primary);
    }

    .guide-card-body p {
        margin: 9px 0 14px;
        font-size: 0.81rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }

.guide-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-text);
}

    .guide-card-meta i { transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }

    .guide-card:hover .guide-card-meta i { transform: translateX(4px); }

/* AN INFORMATION PAGE */

.guide {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px 90px;
}

.guide-hero {
    margin-bottom: 30px;
    padding-top: 0;
}

/* The article hero image. Full width of the reading column, 16:9 to match the file so nothing is cropped, and
   given its own aspect-ratio box so the text below does not jump when a lazy image arrives. */
.guide-hero-img {
    margin: 0 0 26px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--gold-tint);
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border);
}

    .guide-hero-img picture { display: block; width: 100%; height: 100%; }

    .guide-hero-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

@media (max-width: 560px) {
    .guide-hero-img { border-radius: 14px; margin-bottom: 20px; }
}

.guide-lede {
    margin-top: 16px;
    font-size: clamp(1rem, 2.1vw, 1.15rem);
    line-height: 1.65;
    color: var(--text-secondary);
}

.guide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--rule);
    font-size: 0.72rem;
    color: var(--text-muted);
}

    .guide-meta i { margin-right: 6px; color: var(--gold-text); }

.guide-image {
    margin: 0 0 34px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--gold-tint) 0%, var(--bg-tertiary) 100%);
    aspect-ratio: 16 / 8;
}

    .guide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.key-points {
    padding: 26px 28px;
    margin-bottom: 36px;
    border-radius: 20px;
    border: 1px solid var(--gold-tint-line);
    background: linear-gradient(155deg, var(--gold-tint) 0%, transparent 62%), var(--bg-secondary);
}

    .key-points h2 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
        font-family: var(--font-display);
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--gold-text);
    }

    .key-points ul {
        list-style: none;
        display: grid;
        gap: 11px;
    }

    .key-points li {
        position: relative;
        padding-left: 21px;
        font-size: 0.88rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }

        .key-points li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 8px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--gold);
        }

    .key-points strong { color: var(--text-primary); }

    .key-points a { color: var(--gold-text); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.legal-meta {
    margin-bottom: 26px;
    padding: 14px 16px;
    border-radius: 13px;
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

    .legal-meta strong { color: var(--text-primary); }

.prose h2 {
    margin: 40px 0 16px;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.7vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.prose h3 {
    margin: 30px 0 12px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.prose p {
    margin-bottom: 17px;
    font-size: 0.96rem;
    line-height: 1.78;
    color: var(--text-secondary);
}

.prose ul,
.prose ol {
    margin: 0 0 20px 20px;
    display: grid;
    gap: 10px;
}

.prose li {
    font-size: 0.94rem;
    line-height: 1.72;
    color: var(--text-secondary);
}

.prose strong { color: var(--text-primary); font-weight: 600; }
.prose em { color: var(--text-primary); }

.prose a {
    color: var(--gold-text);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--gold-tint-line);
    transition: text-decoration-color 0.35s ease, color 0.35s ease;
}

    .prose a:hover {
        color: var(--gold-bright);
        text-decoration-color: var(--gold);
    }

.formula {
    padding: 18px 22px;
    margin-bottom: 20px !important;
    border-radius: 14px;
    border-left: 3px solid var(--gold);
    background: var(--bg-tertiary);
    font-family: 'Consolas', 'SF Mono', ui-monospace, monospace;
    font-size: 0.85rem !important;
    line-height: 1.9 !important;
    color: var(--text-primary) !important;
}

.figure-callout {
    padding: 18px 22px;
    margin-bottom: 20px !important;
    border-radius: 14px;
    background: var(--gold-tint);
    border: 1px solid var(--gold-tint-line);
    font-size: 1.02rem !important;
    color: var(--text-primary) !important;
}

    .figure-callout strong { color: var(--gold-text); }

.guide-table {
    width: 100%;
    margin: 8px 0 26px;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

    .guide-table th,
    .guide-table td {
        padding: 11px 15px;
        text-align: left;
        font-size: 0.83rem;
        border-bottom: 1px solid var(--rule);
    }

    .guide-table thead th {
        background: var(--bg-tertiary);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .guide-table td { color: var(--text-secondary); }
    .guide-table td:first-child { color: var(--text-primary); }
    .guide-table tbody tr:last-child td { border-bottom: 0; }
    .guide-table tbody tr:hover td { background: var(--gold-tint); }

    .guide-table .guide-total td {
        background: var(--bg-tertiary);
        font-weight: 700;
        color: var(--text-primary);
    }

    .guide-table a { color: var(--gold-text); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

.guide-cta {
    margin-top: 44px;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-tint-line);
    background: linear-gradient(140deg, var(--gold-tint) 0%, transparent 62%), var(--bg-secondary);
    text-align: center;
}

    .guide-cta h3 {
        font-family: var(--font-display);
        font-size: 1.3rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--text-primary);
    }

    .guide-cta p {
        margin: 11px auto 22px;
        max-width: 520px;
        font-size: 0.87rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }

.guide-next {
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--rule);
}

    .guide-next h4 {
        margin-bottom: 14px;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

/* Read next, as cards */

.guide-next .guides-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 620px) {
    .guide-next .guides-cards { grid-template-columns: minmax(0, 1fr); }
}

/* THE STICKY BUY BAR */

.buy-bar.buy-bar-show {
    display: flex;
    animation: buyBarIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes buyBarIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.buy-bar-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.35s ease, color 0.35s ease;
}

    .buy-bar-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #FFFFFF;
    }

/* FOOTER COLUMNS */

.footer-col h4 {
    margin-bottom: 13px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.footer-col a {
    display: block;
    margin-bottom: 9px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

    .footer-col a:hover {
    color: #FFFFFF;
    transform: translateX(3px);
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .gap-grid { grid-template-columns: 1fr; }

    .gap-versus { padding: 4px 0; }

    .rp-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .calc-container,
    .report-container,
    .guide { padding-left: 18px; padding-right: 18px; }

    .report-toolbar {
        position: static;
        flex-direction: column;
        align-items: stretch;
    }

    .report-toolbar-right .btn { flex: 1; justify-content: center; }

    .paywall-list { grid-template-columns: 1fr; }

    .rp-cover-meta { gap: 18px; }

    .guide-table { font-size: 0.78rem; }
}

/* PRINT  —  the report, and nothing else */

@media print {
    .nav,
    .mobile-menu,
    .mobile-menu-overlay,
    .footer,
    .buy-bar,
    .ambient-bg,
    .report-toolbar,
    .summary-actions,
    .paywall,
    .loading-overlay { display: none !important; }

    body { background: #FFFFFF !important; }

    .page { display: none !important; }

    .page.active {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .report-container { max-width: 100%; padding: 0; }

    .rp-section {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .rp-cover {
        page-break-after: always;
        break-after: page;
    }

    .rp-chart,
    .rp-scroll,
    .rp-obs { page-break-inside: avoid; break-inside: avoid; }

    .rp-scroll { overflow: visible; }

    .rp-table th,
    .rp-table td { white-space: normal; }

    a { text-decoration: none !important; color: inherit !important; }
}

/* CareFigures  —  corrections */

/* FOOTER */

.footer-brand {
    display: block;
}

.footer-col {
    min-width: 0;
}

.footer-copy p {
    margin-bottom: 8px;
    line-height: 1.7;
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.42);
}

    .footer-copy p strong {
        color: rgba(255, 255, 255, 0.62);
    }

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        flex-direction: unset;
        gap: 26px;
    }
}

/* VERTICAL RHYTHM */

.calc-container,
.report-container,
.guide {
    padding-top: clamp(34px, 5vw, 58px);
}

.calc-container > .page-header,
.report-container .page-header,
.home-container > .page-header,
.dashboard-main > .page-header,
.guide > .page-header {
    max-width: none;
    margin: 0;
    padding: 0 0 clamp(24px, 3vw, 36px);
}

.guide-hero .page-title {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    line-height: 1.06;
}

.page-header .lx-sectionmark,
.guide-hero .lx-sectionmark,
.section-header .lx-sectionmark {
    display: block;
    margin-bottom: 14px;
}

.section-header .section-title {
    margin-top: 0;
}

.section-header .section-subtitle {
    margin-top: 16px;
}

.prose > .guide-table + h2,
.prose > .formula + h2,
.prose > .figure-callout + h2,
.prose > ul + h2,
.prose > ol + h2 {
    margin-top: 44px;
}

.prose > h2 + h3 {
    margin-top: 18px;
}

.prose > p + h3 {
    margin-top: 28px;
}

.summary-fees {
    margin-top: 8px;
}

.stats-grid + .summary-fees {
    margin-top: 34px;
}

/* NAVIGATION */

@media (max-width: 768px) {
    #theme-toggle-desktop {
        display: block;
    }

    .nav-actions {
        gap: 10px;
    }

    .access-pill {
        padding: 6px 10px;
        font-size: 0.68rem;
    }
}

@media (max-width: 380px) {
    .access-pill {
        display: none !important;
    }
}

/* THE MEMBER DASHBOARD */

#MemberHome {
    display: none;
}

html.has-access.signed-in #MemberHome {
    display: block;
}

html.has-access.signed-in .funnel-only {
    display: none !important;
}

.dash-hero {
    position: relative;
    padding: clamp(32px, 5vw, 54px) clamp(24px, 4vw, 48px);
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, #071B16 0%, #0F3A30 58%, #071B16 100%);
    color: #EDF6F2;
    overflow: hidden;
}

    .dash-hero::after {
        content: '';
        position: absolute;
        inset: auto -14% -70% auto;
        width: 460px;
        height: 460px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(46, 211, 169, 0.26) 0%, transparent 66%);
        pointer-events: none;
    }

.dash-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.dash-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4AE3BC;
}

.dash-title {
    margin: 14px 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.032em;
    line-height: 1.1;
}

.dash-sub {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(237, 246, 242, 0.72);
    max-width: 46ch;
}

.dash-meter {
    min-width: 210px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(237, 246, 242, 0.18);
    background: rgba(7, 19, 16, 0.5);
    backdrop-filter: blur(10px);
}

.dash-meter-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(237, 246, 242, 0.5);
}

.dash-meter-value {
    display: block;
    margin: 7px 0 4px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #4AE3BC;
}

.dash-meter-sub {
    display: block;
    font-size: 0.72rem;
    color: rgba(237, 246, 242, 0.6);
}

.dash-meter-track {
    margin-top: 13px;
    height: 4px;
    border-radius: 999px;
    background: rgba(237, 246, 242, 0.16);
    overflow: hidden;
}

.dash-meter-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #17A784, #4AE3BC);
    width: 0;
    transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.dash-card {
    display: block;
    width: 100%;
    text-align: left;
    padding: 26px 24px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s ease;
}

    .dash-card:hover {
        transform: translateY(-5px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-md);
    }

.dash-card-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--gold-tint);
    color: var(--gold-text);
    font-size: 1.05rem;
}

.dash-card h3 {
    margin: 16px 0 7px;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-primary);
}

.dash-card p {
    font-size: 0.83rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.dash-card-go {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-text);
}

    .dash-card-go i {
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }

.dash-card:hover .dash-card-go i {
    transform: translateX(4px);
}

.dash-section {
    margin-bottom: 34px;
}

.dash-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}

    .dash-section-head h2 {
        font-family: var(--font-display);
        font-size: 1.12rem;
        font-weight: 700;
        letter-spacing: -0.015em;
        color: var(--text-primary);
    }

    .dash-section-head a {
        font-size: 0.78rem;
        font-weight: 500;
        color: var(--gold-text);
        cursor: pointer;
    }

.dash-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.dash-fact {
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
}

    .dash-fact span {
        display: block;
        font-size: 0.68rem;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .dash-fact strong {
        display: block;
        margin-top: 7px;
        font-family: var(--font-display);
        font-size: 1.3rem;
        font-weight: 700;
        letter-spacing: -0.025em;
        color: var(--text-primary);
        font-variant-numeric: tabular-nums;
    }

    .dash-fact em {
        display: block;
        margin-top: 4px;
        font-style: normal;
        font-size: 0.72rem;
        color: var(--text-muted);
    }

/* PRICING, WHEN THEY ALREADY HAVE ACCESS */

html.has-access .buy-only {
    display: none !important;
}

/* CHART CONTAINERS */

.rp-split > div {
    min-width: 0;
}

.rp-chart-failed {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Small containers that only needed sane defaults. */

.guides-grid {
    display: block;
}

.report-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.summary-status {
    display: block;
}

/* CareFigures  —  corrections, second pass */

/* THE GAP SECTION VERDICT */

.gap-verdict {
    display: block;
    margin-top: 26px;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold);
    background: linear-gradient(150deg, var(--gold-tint) 0%, transparent 62%), var(--bg-secondary);
    box-shadow: var(--shadow-md), 0 0 110px -60px var(--accent-glow);
    text-align: center;
}

.gap-verdict-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.gap-verdict-value {
    display: block;
    margin: 12px 0 14px;
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 5.6rem);
    font-weight: 700;
    line-height: 0.94;
    font-variant-numeric: tabular-nums;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gap-verdict-sub {
    display: block;
    max-width: 60ch;
    margin: 0 auto;
    font-size: 0.94rem;
    line-height: 1.68;
    color: var(--text-secondary);
}

    .gap-verdict-sub strong { color: var(--text-primary); }

.gap-verdict-multiple {
    display: block;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed var(--gold-tint-line);
    font-size: 1rem;
    color: var(--text-secondary);
}

    .gap-verdict-multiple strong {
        font-family: var(--font-display);
        font-size: 1.3rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--gold-text);
    }

/* THE ACCOUNT BUTTON */

.nav-user {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, color 0.35s ease, background 0.35s ease;
}

    .nav-user:hover {
        transform: translateY(-2px);
        border-color: var(--border-hover);
        color: var(--gold-text);
    }

    .nav-user:focus-visible {
        outline: 1px solid var(--gold);
        outline-offset: 3px;
    }

.nav-user-in {
    border-color: var(--gold-tint-line);
    background: var(--gold-tint);
    color: var(--gold-text);
}

.nav-user-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--success);
    border: 2px solid var(--bg-primary);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.signed-in .nav-user-dot {
    opacity: 1;
    transform: scale(1);
}

/* CHECKOUT */

#CheckoutDone,
#CheckoutPay {
    grid-column: 1 / -1;
    min-width: 0;
}

    .checkout-success .page-header {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .checkout-success .page-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

/* THE STICKY BUY BAR */

html.has-access .buy-bar,
html.has-access .buy-bar.buy-bar-show {
    display: none !important;
}

@media (max-width: 768px) {
    .buy-bar {
        display: none;
    }

    .buy-bar.buy-bar-show {
        display: flex;
    }

    html.has-access .buy-bar,
    html.has-access .buy-bar.buy-bar-show {
        display: none !important;
    }
}

/* THE MEMBER HOME, WITH THE ACCOUNT RAIL */

#MemberHome .dashboard-container {
    padding-left: clamp(20px, 4vw, 40px);
    padding-right: clamp(20px, 4vw, 40px);
}

#MemberHome .dash-hero {
    margin-top: 0;
}

@media (max-width: 768px) {
    #MemberHome .dashboard-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .dash-hero-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .dash-meter {
        min-width: 0;
    }

    .nav-user {
        width: 38px;
        height: 38px;
    }
}

/* CareFigures  —  proof, preview, guarantee, sample */

/* THE COUNTED STRIP */

.proof-strip-wrap {
    margin-top: clamp(28px, 4vw, 44px);
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--rule);
    overflow: hidden;
}

.proof-item {
    padding: 20px 22px;
    background: var(--bg-secondary);
    text-align: center;
}

    .proof-item strong {
        display: block;
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: -0.03em;
        color: var(--gold-text);
        font-variant-numeric: tabular-nums;
    }

    .proof-item span {
        display: block;
        margin-top: 6px;
        font-size: 0.74rem;
        line-height: 1.45;
        color: var(--text-muted);
    }

/* THE REDACTED PREVIEW */

.preview {
    margin-top: 34px;
    padding: clamp(24px, 3.5vw, 34px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

.preview-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.preview-title {
    margin: 12px 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.022em;
    color: var(--text-primary);
}

.preview-lede {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

    .preview-lede strong { color: var(--text-primary); }

.preview-chart {
    margin-top: 22px;
}

.pv-row {
    display: grid;
    grid-template-columns: minmax(96px, 150px) 1fr minmax(84px, auto);
    align-items: center;
    gap: 14px;
    padding: 7px 0;
}

.pv-label {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    overflow: hidden;
}

    .pv-label i {
        flex-shrink: 0;
        font-size: 0.62rem;
        color: var(--gold-text);
        opacity: 0.75;
    }

.pv-redact {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.6rem;
    letter-spacing: -0.06em;
    line-height: 1;
    color: var(--text-muted);
    opacity: 0.34;
    user-select: none;
}

.pv-track {
    position: relative;
    display: block;
    height: 22px;
    border-radius: 7px;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.pv-bar {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 7px;
    background: var(--chart-7);
    opacity: 0.5;
    transition: width 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.pv-bar-low {
    background: var(--gradient-primary);
    opacity: 1;
}

.pv-bar-high {
    background: var(--error);
    opacity: 0.72;
}

.pv-value {
    text-align: right;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pv-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--rule);
    font-size: 0.73rem;
    color: var(--text-muted);
}

.pv-key {
    display: inline-block;
    width: 22px;
    height: 8px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
}

.pv-key-low { background: var(--gradient-primary); }
.pv-key-high { background: var(--error); opacity: 0.72; }

.pv-legend-gap {
    margin-left: auto;
    font-weight: 700;
    color: var(--gold-text);
    font-variant-numeric: tabular-nums;
    font-size: 20px;
}

.preview-caveat {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 13px;
    border-left: 3px solid var(--gold);
    background: var(--bg-tertiary);
    font-size: 0.79rem;
    line-height: 1.62;
    color: var(--text-secondary);
}

/* THE COUNTDOWN */

.paywall-clock {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 22px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--gold-tint-line);
    background: var(--bg-secondary);
}

.pc-days {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: var(--gradient-primary);
    color: var(--on-accent);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

    .pc-days em {
        display: block;
        margin-top: -1px;
        line-height: 1;
        font-family: var(--font-sans);
        font-style: normal;
        font-size: 0.56rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        opacity: 0.85;
    }

.pc-body strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pc-body span {
    display: block;
    margin-top: 5px;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

/* THE GUARANTEE */

.guarantee {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 16px;
    padding: 15px 17px;
    border-radius: 14px;
    border: 1px solid rgba(23, 131, 95, 0.30);
    background: rgba(23, 131, 95, 0.06);
}

    .guarantee > i {
        flex-shrink: 0;
        margin-top: 2px;
        font-size: 1rem;
        color: var(--success);
    }

    .guarantee span {
        font-size: 0.81rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }

    .guarantee strong { color: var(--text-primary); }

    .guarantee a {
        color: var(--gold-text);
        cursor: pointer;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

.guarantee-wide {
    max-width: 780px;
    margin: 26px auto 0;
    justify-content: flex-start;
}

/* REVIEWS */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 18px;
}

.review-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

    .review-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    .review-card h3 {
        margin: 12px 0 8px;
        font-family: var(--font-display);
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .review-card p {
        flex: 1;
        font-size: 0.86rem;
        line-height: 1.68;
        color: var(--text-secondary);
    }

    .review-card footer {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 18px;
        padding-top: 14px;
        border-top: 1px solid var(--rule);
    }

.review-rating i {
    font-size: 0.78rem;
    color: var(--gold);
}

.review-rating .star-off { color: var(--rule); }

.review-who {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.review-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.review-invite {
    margin-top: 40px;
    padding: 26px;
    border-radius: 20px;
    border: 1px dashed var(--gold-tint-line);
    background: var(--bg-tertiary);
    text-align: left;
}

    .review-invite h3 {
        font-family: var(--font-display);
        font-size: 1.08rem;
        font-weight: 700;
        color: var(--text-primary);
    }

    .review-invite > p {
        margin: 8px 0 18px;
        font-size: 0.83rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }

.review-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}

.star {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--rule);
    font-size: 1.15rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

    .star:hover {
        transform: scale(1.14);
        background: var(--gold-tint);
    }

.star.star-on { color: var(--gold); }

.review-stars-label {
    margin-left: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.review-thanks {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

    .review-thanks i {
        font-size: 1.3rem;
        color: var(--success);
    }

    .review-thanks strong {
        display: block;
        font-size: 0.98rem;
        color: var(--text-primary);
    }

    .review-thanks span {
        display: block;
        margin-top: 5px;
        font-size: 0.82rem;
        color: var(--text-secondary);
    }

/* THE SAMPLE REPORT */

.sample-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    padding: 17px 20px;
    border-radius: 17px;
    border: 1px solid var(--gold-tint-line);
    background: linear-gradient(120deg, var(--gold-tint) 0%, transparent 62%), var(--bg-secondary);
}

    .sample-banner > i {
        font-size: 1.2rem;
        color: var(--gold-text);
    }

    .sample-banner > div { flex: 1; min-width: 240px; }

    .sample-banner strong {
        display: block;
        font-size: 0.95rem;
        color: var(--text-primary);
    }

    .sample-banner span {
        display: block;
        margin-top: 5px;
        font-size: 0.81rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }

.sample-sheet {
    position: relative;
}

    .sample-sheet::before {
        content: 'SAMPLE';
        position: absolute;
        inset: 0;
        z-index: 3;
        display: grid;
        place-items: center;
        font-family: var(--font-display);
        font-size: clamp(4rem, 17vw, 12rem);
        font-weight: 700;
        letter-spacing: 0.1em;
        color: var(--gold);
        opacity: 0.055;
        transform: rotate(-24deg);
        pointer-events: none;
        user-select: none;
    }

/* THE LOCKED HALF */

.sample-locked {
    position: relative;
    margin-top: 10px;
    max-height: clamp(640px, 80vh, 920px);
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.sample-locked-body {
    filter: blur(7px) saturate(0.85);
    opacity: 0.62;
    pointer-events: none;
    user-select: none;
    margin-top: -12px;
}

.rp-chart-ghost {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6%;
    width: 100%;
    padding: 18px 12%;
    border-radius: 14px;
    background: var(--bg-tertiary);
}

    .rp-chart-ghost span {
        flex: 1;
        border-radius: 6px 6px 0 0;
        background: var(--gold);
        opacity: 0.5;
    }

        .rp-chart-ghost span:nth-child(1) { height: 46%; }
        .rp-chart-ghost span:nth-child(2) { height: 74%; }
        .rp-chart-ghost span:nth-child(3) { height: 58%; }
        .rp-chart-ghost span:nth-child(4) { height: 88%; opacity: 0.75; }
        .rp-chart-ghost span:nth-child(5) { height: 36%; }
        .rp-chart-ghost span:nth-child(6) { height: 64%; }

.sample-locked-veil {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(to bottom,
                var(--bg-primary) 0%,
                rgba(0, 0, 0, 0) 20%,
                rgba(0, 0, 0, 0) 62%,
                var(--bg-primary) 97%);
}

.sample-locked-card {
    width: 100%;
    max-width: 560px;
    padding: clamp(26px, 4vw, 40px);
    border: 1px solid var(--gold-tint-line);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--gold-tint) 0%, transparent 60%), var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.sample-locked-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: var(--gradient-primary);
    font-size: 1.25rem;
    color: var(--on-accent);
}

    .sample-locked-card h3 {
        font-family: var(--font-display);
        font-size: clamp(1.25rem, 3vw, 1.7rem);
        font-weight: 700;
        letter-spacing: -0.025em;
        color: var(--text-primary);
    }

    .sample-locked-card p {
        max-width: 46ch;
        margin: 0 auto;
        font-size: 0.86rem;
        line-height: 1.7;
        color: var(--text-secondary);
    }

.sample-locked-list {
    display: grid;
    gap: 7px;
    margin: 20px 0;
    padding: 16px 14px;
    border-radius: 14px;
    background: var(--bg-tertiary);
    text-align: left;
    list-style: none;
}

    .sample-locked-list li {
        display: grid;
        grid-template-columns: 30px 1fr;
        align-items: center;
        font-size: 0.85rem;
        color: var(--text-secondary);
    }

        .sample-locked-list li span {
            font-family: var(--font-display);
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            color: var(--gold-text);
        }

.sample-locked-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

@media (max-width: 560px) {
    .sample-locked-body { filter: blur(5px) saturate(0.85); }

    .sample-locked { max-height: clamp(560px, 88vh, 760px); }

    .sample-locked-veil { padding: 24px 12px; }

    .sample-locked-actions .btn { width: 100%; }
}

/* RESPONSIVE */

@media (max-width: 620px) {
    .pv-row {
        grid-template-columns: 60px 1fr minmax(72px, auto);
        gap: 9px;
    }

    .pv-redact { font-size: 0.5rem; }

    .pv-value { font-size: 0.75rem; }

    .paywall-clock {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
    }

    .proof-item { padding: 16px 14px; }

    .proof-item strong { font-size: 1.25rem; }
}

.preview-head {
    display: block;
}

.rp-table-rank td:nth-child(2) {
    min-width: 240px;
    white-space: normal;
}

/* IS THAT ROOM PRICE NORMAL? */

.bench {
    margin: 4px 0 22px;
    padding: 20px 22px;
    border-radius: 17px;
    border: 1px solid var(--border);
    border-left-width: 3px;
    background: var(--bg-tertiary);
}

.bench-at { border-left-color: var(--success); }
.bench-below,
.bench-well-below { border-left-color: var(--success); }
.bench-above { border-left-color: var(--warning); }
.bench-well-above { border-left-color: var(--error); }

.bench-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.bench-verdict {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

    .bench-verdict strong { color: var(--text-primary); }

.bench-conf {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    white-space: nowrap;
}

.bench-scale {
    margin-bottom: 16px;
}

.bench-track {
    position: relative;
    display: block;
    height: 10px;
    border-radius: 999px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    margin: 26px 0 8px;
}

.bench-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: var(--gradient-primary);
    opacity: 0.28;
    transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.bench-median,
.bench-you {
    position: absolute;
    top: 50%;
    width: 2px;
    height: 20px;
    transform: translate(-50%, -50%);
}

.bench-median {
    background: var(--text-muted);
    opacity: 0.5;
}

.bench-you {
    background: var(--gold);
    height: 26px;
    box-shadow: 0 0 0 3px var(--bg-tertiary);
    transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

    .bench-median em,
    .bench-you em {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-style: normal;
        font-size: 0.6rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .bench-median em {
        top: -17px;
        color: var(--text-muted);
    }

    .bench-you em {
        bottom: -18px;
        font-weight: 700;
        color: var(--gold-text);
    }

.bench-ends {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.bench-note {
    font-size: 0.81rem;
    line-height: 1.62;
    color: var(--text-secondary);
}

    .bench-note strong { color: var(--text-primary); }

.bench-source {
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid var(--rule);
    font-size: 0.68rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* CareFigures  —  toasts, dialogs and the loading scrim */

/* TOASTS */

.toast-notification {
    position: fixed;
    top: 92px;
    right: clamp(14px, 3vw, 30px);
    z-index: 10000;

    display: flex;
    align-items: flex-start;
    gap: 13px;

    max-width: min(400px, calc(100vw - 28px));
    padding: 15px 18px 15px 16px;

    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: 16px;
    background: var(--bg-glass);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;

    font-size: 0.86rem;
    line-height: 1.5;
    text-align: left;
    color: var(--text-primary);

    opacity: 0;
    transform: translateX(24px) scale(0.97);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

    .toast-notification.toast-show {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    .toast-notification i {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 26px;
        height: 26px;
        margin: -1px 0 0;
        border-radius: 9px;
        font-size: 0.78rem;
        background: var(--gold-tint);
        color: var(--gold-text);
    }

    .toast-notification::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        height: 2px;
        width: 100%;
        background: var(--gold);
        opacity: 0.5;
        transform-origin: left center;
        animation: toastTimer 4s linear forwards;
    }

@keyframes toastTimer {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

.toast-notification.toast-success {
    border-left-color: var(--success);
}

    .toast-notification.toast-success i {
        background: rgba(23, 131, 95, 0.13);
        color: var(--success);
    }

    .toast-notification.toast-success::after { background: var(--success); }

.toast-notification.toast-error {
    border-left-color: var(--error);
}

    .toast-notification.toast-error i {
        background: rgba(192, 57, 43, 0.13);
        color: var(--error);
    }

    .toast-notification.toast-error::after { background: var(--error); }

.toast-notification.toast-warning {
    border-left-color: var(--warning);
}

    .toast-notification.toast-warning i {
        background: rgba(181, 129, 31, 0.14);
        color: var(--warning);
    }

    .toast-notification.toast-warning::after { background: var(--warning); }

.toast-notification.toast-info {
    border-left-color: var(--gold);
}

    .toast-notification.toast-info i {
        background: var(--gold-tint);
        color: var(--gold-text);
    }

    .toast-notification.toast-info::after { background: var(--gold); }

[data-theme="dark"] .toast-notification.toast-success i { background: rgba(53, 196, 141, 0.16); }
[data-theme="dark"] .toast-notification.toast-error i { background: rgba(232, 105, 92, 0.16); }
[data-theme="dark"] .toast-notification.toast-warning i { background: rgba(217, 164, 65, 0.16); }

@media (max-width: 620px) {
    .toast-notification {
        top: 76px;
        left: 12px;
        right: 12px;
        max-width: none;
        transform: translateY(-16px) scale(0.98);
    }

        .toast-notification.toast-show {
            transform: translateY(0) scale(1);
        }
}

@media (prefers-reduced-motion: reduce) {
    .toast-notification { transition-duration: 0.01ms; }
    .toast-notification::after { animation: none; opacity: 0.35; }
}

/* DIALOGS */

.dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    background: var(--scrim);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    opacity: 0;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

    .dialog-overlay.dialog-show { opacity: 1; }

.dialog {
    width: 100%;
    max-width: 460px;
    padding: clamp(26px, 4vw, 34px);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg);

    transform: translateY(18px) scale(0.97);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.dialog-overlay.dialog-show .dialog {
    transform: translateY(0) scale(1);
}

.dialog-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 15px;
    background: var(--gold-tint);
    color: var(--gold-text);
    font-size: 1.1rem;
}

.dialog-danger .dialog-icon {
    background: rgba(192, 57, 43, 0.12);
    color: var(--error);
}

[data-theme="dark"] .dialog-danger .dialog-icon { background: rgba(232, 105, 92, 0.16); }

.dialog-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.dialog-message {
    margin-top: 9px;
    font-size: 0.88rem;
    line-height: 1.62;
    color: var(--text-secondary);
}

.dialog-input {
    margin-top: 20px;
}

    .dialog-input::placeholder {
        opacity: 1;
    }

    .dialog-input.input-error {
        border-color: var(--error);
        box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
    }

.dialog-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 26px;
}

    .dialog-actions .btn {
        min-width: 116px;
        justify-content: center;
    }

.dialog-danger .dialog-actions .btn-primary {
    background: var(--error);
    border-color: var(--error);
    color: #FFFFFF;
}

    .dialog-danger .dialog-actions .btn-primary:hover {
        color: var(--ink);
    }

@media (max-width: 480px) {
    .dialog-actions {
        flex-direction: column-reverse;
    }

        .dialog-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .dialog-overlay,
    .dialog { transition-duration: 0.01ms; }
}

/* THE LOADING SCRIM */

/* CareFigures  —  the hero estimate, the money numbers, and the remaining fixes */

/* BIG MONEY NUMBERS */

.money-shine,
.qc-gap-value,
.gap-verdict-value,
.paywall-title em,
.dash-meter-value,
.buy-bar-copy strong {
    background-image:
        linear-gradient(100deg,
            rgba(255, 255, 255, 0) 38%,
            rgba(255, 255, 255, 0.50) 47%,
            rgba(255, 255, 255, 0.82) 50%,
            rgba(255, 255, 255, 0.50) 53%,
            rgba(255, 255, 255, 0) 62%),
        linear-gradient(115deg,
            var(--gold) 0%,
            var(--gold-bright) 52%,
            var(--gold) 100%);
    background-size: 220% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: 210% 0, 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 2px 14px var(--accent-glow));
    animation: moneyShine 9s ease-in-out infinite;
}

@keyframes moneyShine {
    0% { background-position: 210% 0, 0 0; }
    52% { background-position: -110% 0, 0 0; }
    100% { background-position: -110% 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    .money-shine,
    .qc-gap-value,
    .gap-verdict-value,
    .paywall-title em,
    .dash-meter-value,
    .buy-bar-copy strong {
        animation: none;
        background-position: -110% 0, 0 0;
    }
}

.dash-meter-value,
.buy-bar-copy strong {
    filter: drop-shadow(0 2px 16px rgba(46, 211, 169, 0.34));
}

/* THE ONE FIGURE THAT IS NOT GOOD NEWS */

.money-shine-loss,
.qc-gap-value,
.gap-verdict-value,
.paywall-title.pt-loss em {
    background-image:
        linear-gradient(100deg,
            rgba(255, 255, 255, 0) 38%,
            rgba(255, 255, 255, 0.50) 47%,
            rgba(255, 255, 255, 0.82) 50%,
            rgba(255, 255, 255, 0.50) 53%,
            rgba(255, 255, 255, 0) 62%),
        linear-gradient(115deg,
            var(--error) 0%,
            var(--error-bright) 52%,
            var(--error) 100%);
    filter: drop-shadow(0 2px 14px rgba(192, 57, 43, 0.38));
}

[data-theme="dark"] .money-shine-loss,
[data-theme="dark"] .qc-gap-value,
[data-theme="dark"] .gap-verdict-value,
[data-theme="dark"] .paywall-title.pt-loss em {
    filter: drop-shadow(0 2px 16px rgba(232, 105, 92, 0.34));
}

/* SCENARIOS */

.sc-primer {
    margin-bottom: clamp(28px, 4vw, 44px);
    padding: clamp(20px, 3vw, 30px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

.scp-title {
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-size: clamp(1.08rem, 2.6vw, 1.3rem);
    font-weight: 700;
    letter-spacing: -0.022em;
    color: var(--text-primary);
}

.scp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: clamp(16px, 2.4vw, 26px);
}

.scp-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
}

.scp-num {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--gold-tint);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-text);
}

.scp-item strong {
    display: block;
    margin-bottom: 7px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
}

.scp-item p {
    margin-bottom: 9px;
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

    .scp-item p strong { display: inline; margin: 0; font-size: inherit; }

.scp-foot {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--rule);
    font-size: 0.78rem;
    color: var(--text-muted);
}

    .scp-foot strong { color: var(--text-secondary); }

.scenario-block { margin-bottom: clamp(30px, 4vw, 48px); }

.sc-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.6vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.022em;
    color: var(--text-primary);
}

.sc-loss .sc-head i { color: var(--error); }
.sc-gain .sc-head i { color: var(--success); }

.sc-lede {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.sc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.sc-card {
    display: flex;
    flex-direction: column;
    padding: clamp(18px, 2.4vw, 24px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

.sc-loss .sc-card { border-color: rgba(192, 57, 43, 0.24); }
.sc-gain .sc-card { border-color: rgba(23, 131, 95, 0.26); }

[data-theme="dark"] .sc-loss .sc-card { border-color: rgba(232, 105, 92, 0.24); }
[data-theme="dark"] .sc-gain .sc-card { border-color: rgba(53, 196, 141, 0.26); }

.sc-name {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 1.3;
    color: var(--text-primary);
}

.sc-who {
    margin-top: 6px;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.sc-figure {
    margin: 16px 0 12px;
    padding: 14px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.sc-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4.4vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}

.sc-unit {
    display: block;
    margin-top: 5px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.sc-driver {
    flex: 1 1 auto;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.sc-split {
    margin-bottom: 4px;
    padding: 12px 14px;
    border-radius: 13px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

.sc-end {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

    .sc-end + .sc-end { border-top: 1px solid var(--rule); }

.sc-end-label {
    display: block;
    font-size: 0.76rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--text-primary);
}

.sc-end-note {
    display: block;
    margin-top: 2px;
    font-size: 0.7rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.sc-end strong {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.sc-worst strong { color: var(--error); }
.sc-best strong { color: var(--success); }

.sc-split-note {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid var(--rule);
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-muted);
}

    .sc-split-note strong { color: var(--text-primary); }

.sc-inputs {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid var(--rule);
    font-size: 0.72rem;
    color: var(--text-muted);
}

    .sc-inputs i { margin-top: 2px; color: var(--success); }

.scenario-cta {
    margin-top: 12px;
    padding: clamp(26px, 4vw, 40px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-tint-line);
    background: var(--gold-tint);
    text-align: center;
}

    .scenario-cta h2 {
        margin-bottom: 10px;
        font-family: var(--font-display);
        font-size: clamp(1.2rem, 3vw, 1.6rem);
        font-weight: 700;
        letter-spacing: -0.025em;
        color: var(--text-primary);
    }

    .scenario-cta p {
        max-width: 560px;
        margin: 0 auto 20px;
        font-size: 0.88rem;
        line-height: 1.65;
        color: var(--text-secondary);
    }

/* WHEN THE FIGURE IS A GAIN */

.money-shine-gain,
.qc-gap.is-gain .qc-gap-value,
.paywall-title.pt-gain em {
    background-image:
        linear-gradient(100deg,
            rgba(255, 255, 255, 0) 38%,
            rgba(255, 255, 255, 0.50) 47%,
            rgba(255, 255, 255, 0.82) 50%,
            rgba(255, 255, 255, 0.50) 53%,
            rgba(255, 255, 255, 0) 62%),
        linear-gradient(115deg,
            var(--success) 0%,
            var(--success-bright) 52%,
            var(--success) 100%);
    filter: drop-shadow(0 2px 14px rgba(23, 131, 95, 0.34));
}

[data-theme="dark"] .money-shine-gain,
[data-theme="dark"] .qc-gap.is-gain .qc-gap-value,
[data-theme="dark"] .paywall-title.pt-gain em {
    filter: drop-shadow(0 2px 16px rgba(53, 196, 141, 0.34));
}

.qc-gap.is-gain {
    border-color: rgba(23, 131, 95, 0.42);
    background: linear-gradient(150deg, rgba(23, 131, 95, 0.10) 0%, transparent 72%), var(--bg-secondary);
    box-shadow: 0 0 50px -30px rgba(23, 131, 95, 0.55);
}

[data-theme="dark"] .qc-gap.is-gain {
    border-color: rgba(53, 196, 141, 0.4);
    background: linear-gradient(150deg, rgba(53, 196, 141, 0.12) 0%, transparent 72%), var(--bg-secondary);
}

.qc-gap.is-gain .qc-gap-label { color: var(--success); }

.paywall-breakdown.is-gain .pb-item {
    border-color: rgba(23, 131, 95, 0.26);
    background: rgba(23, 131, 95, 0.06);
}

[data-theme="dark"] .paywall-breakdown.is-gain .pb-item {
    border-color: rgba(53, 196, 141, 0.26);
    background: rgba(53, 196, 141, 0.08);
}

.paywall-breakdown.is-gain .pb-value { color: var(--success); }
.paywall-breakdown.is-gain .pb-total { border-color: var(--success); }

/* THE HERO ESTIMATE */

.hero-stage {
    display: flex;
    align-items: center;
    min-width: 0;
}

.quickcalc {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
}

    .quickcalc::before {
        content: '';
        position: absolute;
        inset: 0 0 auto 0;
        height: 3px;
        background: var(--gradient-primary);
    }

    .quickcalc:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg), 0 0 90px -46px var(--accent-glow);
        border-color: var(--border-hover);
    }

.quickcalc-head {
    padding: 20px 24px 0;
}

.quickcalc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.quickcalc-title {
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.quickcalc-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 15px 24px 0;
}

.quick-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-primary);
}

    .quick-label em {
        display: block;
        font-style: normal;
        font-size: 0.62rem;
        font-weight: 400;
        color: var(--text-muted);
    }

.quickcalc .input-money { --field-h: 48px; }

.quickcalc .form-input {
    height: 48px;
    padding: 10px 12px 10px 24px !important;
    font-size: 0.88rem;
    border-radius: 11px;
}

.quickcalc .input-money > span {
    left: 11px;
    font-size: 0.82rem;
}

.quickcalc-result {
    margin-top: 14px;
    padding: 15px 24px 20px;
    border-top: 1px solid var(--rule);
    background: linear-gradient(180deg, var(--gold-tint) 0%, transparent 62%);
}

.qc-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.76rem;
    color: var(--text-secondary);
}

    .qc-status.qc-good { color: var(--success); }
    .qc-status.qc-warn { color: var(--warning); }
    .qc-status strong { color: var(--text-primary); }

.qc-calc {
    margin: 10px 0 3px;
    border-top: 1px solid var(--rule);
}

.qc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid var(--rule);
}

.qc-row-label {
    font-size: 0.76rem;
    line-height: 1.25;
    color: var(--text-secondary);
}

    .qc-row-label em {
        display: inline;
        font-style: normal;
        font-size: 0.62rem;
        color: var(--text-muted);
    }

    .qc-row-label em::before {
        content: ' · ';
        opacity: 0.6;
    }

.qc-row-value {
    flex-shrink: 0;
    font-size: 0.79rem;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.qc-row-locked .qc-row-value {
    color: var(--gold-text);
    letter-spacing: 0.03em;
}

    .qc-row-locked .qc-row-value i {
        margin-right: 2px;
        font-size: 0.6rem;
    }

.qc-figure {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 10px;
    flex-wrap: wrap;
    row-gap: 2px;
}

.qc-figure-label,
.qc-figure-unit {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.qc-figure-value {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.6vw, 2.05rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.qc-gap {
    display: block;
    margin: 14px 0 12px;
    padding: 14px 16px;
    border-radius: 13px;
    border: 1px solid rgba(192, 57, 43, 0.42);
    background: linear-gradient(150deg, rgba(192, 57, 43, 0.10) 0%, transparent 72%), var(--bg-secondary);
    box-shadow: 0 0 50px -30px rgba(192, 57, 43, 0.6);
    text-align: center;
}

[data-theme="dark"] .qc-gap {
    border-color: rgba(232, 105, 92, 0.4);
    background: linear-gradient(150deg, rgba(232, 105, 92, 0.12) 0%, transparent 72%), var(--bg-secondary);
}

.qc-gap-label {
    display: block;
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--error);
}

.qc-gap-value {
    display: block;
    margin: 4px 0 6px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5.2vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.qc-gap-sub {
    display: inline;
    font-size: 0.74rem;
    line-height: 1.42;
    color: var(--text-secondary);
}

    .qc-gap-sub strong { color: var(--text-primary); }

.qc-gap-multiple {
    display: inline;
    font-size: 0.74rem;
    color: var(--text-secondary);
}

    .qc-gap-multiple strong {
        color: var(--gold-text);
        font-weight: 700;
    }

.quickcalc .btn {
    height: 48px;
    padding: 0 22px;
    font-size: 0.74rem;
}

.qc-fineprint {
    margin-top: 9px;
    font-size: 0.66rem;
    line-height: 1.4;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 1080px) {
    .quickcalc-body {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .quick-label em { display: none; }
}

@media (max-width: 560px) {
    .quickcalc-head,
    .quickcalc-body,
    .quickcalc-result { padding-left: 16px; padding-right: 16px; }

    .quickcalc-body { grid-template-columns: 1fr 1fr; }

    .quickcalc-body .form-group:last-child { grid-column: 1 / -1; }

    .qc-row-label em { display: none; }
}

/* WHAT IS IN THE REPORT */

.whatsin-list li > span {
    display: block;
    min-width: 0;
}

/* SELECT DROPDOWNS */

select.form-input {
    padding-right: 44px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%238A9A95' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 17px center;
    background-size: 12px 8px;
    transition: background-position 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] select.form-input {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2375867F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

    select.form-input:hover,
    select.form-input:focus {
        background-position: right 15px center;
    }

    select.form-input option {
        background: var(--bg-secondary);
        color: var(--text-primary);
    }

/* THE STICKY BUY BAR */

.buy-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 3vw, 32px);
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.buy-bar-copy {
    text-align: right;
}

@media (max-width: 720px) {
    .buy-bar-inner {
        justify-content: space-between;
        gap: 12px;
    }

    .buy-bar-copy {
        text-align: left;
    }
}

/* THE CHECKOUT ASSURANCE PANEL */

.assure {
    margin-top: 22px;
    padding: clamp(24px, 3.5vw, 32px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

.assure-title {
    margin-bottom: 20px;
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.018em;
    color: var(--text-primary);
}

.assure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.assure-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: start;
    gap: 13px;
}

    .assure-item strong {
        display: block;
        font-size: 0.85rem;
        font-weight: 600;
        line-height: 1.35;
        color: var(--text-primary);
    }

    .assure-item span {
        display: block;
        margin-top: 4px;
        font-size: 0.77rem;
        line-height: 1.55;
        color: var(--text-secondary);
    }

    .assure-item sup {
        color: var(--gold-text);
        font-size: 0.7em;
    }

.assure-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--gold-tint);
    color: var(--gold-text);
    font-size: 0.85rem;
    padding: 8px 0px 0px 12px;
}

.assure-hero {
    grid-column: 1 / -1;
    padding: 16px 18px;
    border-radius: 15px;
    border: 1px solid rgba(23, 131, 95, 0.3);
    background: rgba(23, 131, 95, 0.06);
    grid-template-columns: 40px 1fr;
}

    .assure-hero .assure-icon {
        width: 40px;
        height: 40px;
        background: rgba(23, 131, 95, 0.14);
        color: var(--success);
        font-size: 1rem;
    }

    .assure-hero strong { font-size: 0.94rem; }

[data-theme="dark"] .assure-hero { background: rgba(53, 196, 141, 0.08); }
[data-theme="dark"] .assure-hero .assure-icon { background: rgba(53, 196, 141, 0.16); }

.assure-fine {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
    font-size: 0.71rem;
    line-height: 1.6;
    color: var(--text-muted);
}

    .assure-fine strong { color: var(--text-secondary); }

    .assure-fine sup { color: var(--gold-text); }

/* THE GAP  —  the pointer down to the verdict */

.gap-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 22px 0 -4px;
    pointer-events: none;
}

.gap-arrow-line {
    display: block;
    width: 2px;
    height: 0px;
    border-radius: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    opacity: 0.55;
}

.gap-arrow-head {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-top: -28px;
    border-radius: 50%;
    border: 1px solid var(--gold-tint-line);
    background: var(--bg-secondary);
    color: var(--gold-text);
    font-size: 0.82rem;
    box-shadow: 0 6px 20px -10px var(--accent-glow);
    animation: gapNudge 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes gapNudge {
    0%, 62%, 100% { transform: translateY(0); }
    76% { transform: translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
    .gap-arrow-head { animation: none; }
}

@media (max-width: 900px) {
    .gap-arrow {
        margin: 16px 0 -2px;
    }

    .gap-arrow-line {
        height: 24px;
    }
}

/* THE BUY BAR ON A PHONE */

@media (max-width: 768px) and (orientation: portrait) {
    .buy-bar {
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    }

    .buy-bar-inner {
        gap: 12px;
    }

    .buy-bar-copy strong {
        font-size: 0.95rem;
        line-height: 1.15;
    }

    .buy-bar-copy span {
        display: none;
    }

    .buy-bar .btn {
        padding: 10px 16px;
        height: auto;
        font-size: 0.66rem;
        letter-spacing: 0.08em;
    }

    .buy-bar-close {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
}

/* THE REPORT AGENT */

/* The button */

.agent-open {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 9px 20px 9px 10px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: var(--bg-secondary);
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--gold-text);
    cursor: pointer;
    box-shadow: 0 4px 16px -8px var(--accent-glow);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .agent-open:hover {
        border-color: var(--gold-bright);
        box-shadow: 0 6px 20px -8px var(--accent-glow);
    }

.ao-orb {
    position: relative;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--on-accent);
    font-size: 0.86rem;
}

.ao-orb::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    border: 2px solid var(--gold);
    animation: aoPulse 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    pointer-events: none;
}

@keyframes aoPulse {
    0%   { opacity: 0.75; transform: scale(1); }
    70%  { opacity: 0;    transform: scale(1.8); }
    100% { opacity: 0;    transform: scale(1.8); }
}

.ao-glow { display: none; }

/* The overlay */

.agent-overlay {
    --agent-veil: rgba(246, 250, 248, 0.58);
    --agent-chrome: rgba(246, 250, 248, 0.72);
    --agent-surface: rgba(255, 255, 255, 0.86);

    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9995;
    background: transparent;
    overflow: hidden;
    overscroll-behavior: contain;
}

[data-theme="dark"] .agent-overlay {
    --agent-veil: rgba(7, 13, 11, 0.58);
    --agent-chrome: rgba(7, 13, 11, 0.74);
    --agent-surface: rgba(22, 33, 30, 0.78);
}

    .agent-overlay.agent-on {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

.agent-scrim {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--agent-veil);
    -webkit-backdrop-filter: blur(26px) saturate(150%);
    backdrop-filter: blur(26px) saturate(150%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .agent-overlay { --agent-veil: rgba(246, 250, 248, 0.95); }
    [data-theme="dark"] .agent-overlay { --agent-veil: rgba(7, 13, 11, 0.95); }
}

.agent-glass {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 860px;
    height: 100%;
    overflow: hidden;
    animation: agentPanel 0.28s ease both;
}

@keyframes agentPanel {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Head */

.agent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-shrink: 0;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 18px 16px;
    border-bottom: 1px solid var(--rule);
    background: var(--agent-chrome);
}

.agent-id {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.agent-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 13px;
    background: var(--gradient-primary);
    color: var(--on-accent);
    font-size: 0.95rem;
}

.agent-head h2 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.agent-head p {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.agent-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.agent-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--agent-surface);
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease;
}

    .agent-new:hover {
        border-color: var(--gold);
        color: var(--gold-text);
    }

.agent-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--agent-surface);
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

    .agent-close:hover {
        background: var(--bg-tertiary);
        color: var(--text-primary);
    }

/* The conversation */

.agent-scroll {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.agent-log {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 18px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agent-turn {
    display: flex;
    max-width: 100%;
}

.agent-user { justify-content: flex-end; }

.agent-bubble {
    max-width: 86%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.87rem;
    line-height: 1.62;
}

    .agent-bubble p + p { margin-top: 9px; }

/* What the model is allowed to format */

.agent-bubble strong {
    font-weight: 700;
    color: var(--text-primary);
}

.agent-bubble em { font-style: italic; }

.agent-bubble code {
    padding: 1px 5px;
    border-radius: 5px;
    background: var(--gold-tint);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
    color: var(--gold-text);
}

.agent-lede {
    font-weight: 700;
    color: var(--text-primary);
}

.agent-list {
    margin: 9px 0 0;
    padding-left: 18px;
    list-style: none;
}

    .agent-bubble p + .agent-list { margin-top: 9px; }
    .agent-list:first-child { margin-top: 0; }

    .agent-list li {
        position: relative;
        margin-top: 5px;
    }

        .agent-list li:first-child { margin-top: 0; }

    ul.agent-list li::before {
        content: '';
        position: absolute;
        top: 0.62em;
        left: -13px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--gold-text);
    }

    ol.agent-list {
        counter-reset: agentitem;
    }

        ol.agent-list li { counter-increment: agentitem; }

        ol.agent-list li::before {
            content: counter(agentitem) '.';
            position: absolute;
            left: -18px;
            font-weight: 700;
            font-size: 0.86em;
            color: var(--gold-text);
        }

.agent-model .agent-bubble {
    border: 1px solid var(--border);
    border-bottom-left-radius: 6px;
    background: var(--agent-surface);
    color: var(--text-secondary);
}

.agent-user .agent-bubble {
    border-bottom-right-radius: 6px;
    background: var(--gradient-primary);
    color: var(--on-accent);
}

.agent-error .agent-bubble {
    border-color: rgba(192, 57, 43, 0.34);
    background: rgba(192, 57, 43, 0.07);
    color: var(--error);
}

.agent-dots {
    display: inline-flex;
    gap: 5px;
    padding: 3px 0;
}

    .agent-dots i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--gold-text);
        opacity: 0.35;
        animation: agentDot 1.25s ease-in-out infinite;
    }

    .agent-dots i:nth-child(2) { animation-delay: 0.16s; }
    .agent-dots i:nth-child(3) { animation-delay: 0.32s; }

@keyframes agentDot {
    0%, 60%, 100% { opacity: 0.3; }
    30%           { opacity: 1; }
}

/* Each word arriving */

.agent-word {
    display: inline-block;
    animation: agentWord 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes agentWord {
    from {
        opacity: 0;
        filter: blur(6px);
        transform: translateY(0.34em) scale(0.97);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: none;
    }
}

/* Suggestions, input, disclaimer */

.agent-starters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 86%;
    margin-top: 10px;
}

.agent-chip {
    padding: 7px 13px;
    border: 1px solid var(--gold-tint-line);
    border-radius: 999px;
    background: transparent;
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--gold-text);
    cursor: pointer;
    transition: background 0.25s ease;
}

    .agent-chip:hover { background: var(--gold-tint); }

.agent-bar {
    display: flex;
    gap: 9px;
    flex-shrink: 0;
    padding: 12px 18px 10px;
    border-top: 1px solid var(--rule);
    background: var(--agent-chrome);
}

.agent-consent {
    flex-shrink: 0;
    padding: 0 18px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--agent-chrome);
    font-size: 0.66rem;
    line-height: 1.5;
    text-align: center;
    color: var(--text-muted);
}

.ac-link {
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

    .ac-link:hover,
    .ac-link[aria-expanded="true"] { color: var(--gold-text); }

.agent-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    padding: 0 18px;
    border: 1px solid var(--input-border);
    border-radius: 999px;
    background: var(--agent-surface);
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.25s ease;
}

    .agent-input:focus { border-color: var(--gold); }

.agent-send {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--on-accent);
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

    .agent-send:disabled { opacity: 0.45; cursor: default; }

body.agent-open { }

@media (max-width: 620px) {
    .agent-bubble { max-width: 92%; }

    .agent-head { padding-left: 14px; padding-right: 14px; }

    .agent-new {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

        .agent-new span { display: none; }

    .agent-log { padding: 14px 14px 36px; }
    .agent-starters { max-width: 92%; }
    .agent-followup { width: 92%; }
    .agent-bar,
    .agent-consent { padding-left: 14px; padding-right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .ao-orb::after { animation: none; opacity: 0; }
    .agent-glass { animation: none; }
    .agent-dots i { animation: none; }

    .agent-word { animation-name: agentWordStill; }
}

@keyframes agentWordStill {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Type */

.agent-overlay,
.agent-overlay p,
.agent-overlay span,
.agent-overlay input,
.agent-overlay button,
.agent-overlay textarea {
    font-family: var(--font-sans);
}

.agent-overlay h2 { font-family: var(--font-display); }

/* The chat fades out under the input */

.agent-scroll::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 54px;
    background: linear-gradient(to top, var(--agent-chrome) 26%, transparent);
    pointer-events: none;
}

/* Under the answer */

.agent-model {
    flex-direction: column;
    align-items: flex-start;
}

.agent-followup {
    width: 86%;
    margin-top: 8px;
}

.af-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.af-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px 6px 11px;
    border: 1px dashed var(--gold-tint-line);
    border-radius: 999px;
    background: transparent;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-text);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

    .af-toggle:hover {
        background: var(--gold-tint);
        border-color: var(--gold);
    }

    .af-toggle i {
        font-size: 0.64rem;
        transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    }

.af-open .af-toggle {
    border-style: solid;
    background: var(--gold-tint);
}

    .af-open .af-toggle i { transform: rotate(180deg); }

.af-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 6px 4px;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

    .af-note:hover,
    .af-note[aria-expanded="true"] { color: var(--gold-text); }

    .af-note i { font-size: 0.74rem; }

    .af-note span { text-decoration: underline; text-underline-offset: 3px; text-decoration-style: dotted; }

.af-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.26s ease,
                transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.af-open .af-body {
    opacity: 1;
    transform: none;
}

.af-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 9px;
}

    .af-inner .agent-chip {
        font-size: 0.72rem;
        padding: 6px 12px;
    }

@media (prefers-reduced-motion: reduce) {
    .af-body,
    .af-toggle i { transition: none; }
}


/* =====================================================================================================================
   =====================================================================================================================

   ENTITLEMENTS.COM.AU  —  COMPONENTS

   Everything below is new to this site. It reuses the tokens declared at the top of this file — the palette, the
   radii, the shadows and both themes — so nothing here needs a dark mode block of its own unless it introduces a
   colour, and where it does the override sits immediately beneath it rather than in a separate section.

   The order is the order of the funnel: home, the questionnaire, the result, the paywall, the plan, browse, and
   the account pages.

   =====================================================================================================================
   ===================================================================================================================== */


/* ---------------------------------------------------------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------------------------------------------------------- */

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 760px; }

.section { padding: 72px 22px; }
.section-alt { background: var(--bg-tertiary); }

/* A section is full bleed so `.section-alt` can tint the whole strip edge to edge, but its CONTENT has to stop
   somewhere. Nothing constrained it, and every grid inside is `repeat(auto-fit, minmax(300px, 1fr))` measured
   against the raw viewport — so on a wide desktop the home page fanned out to eight or ten columns and ran to
   both edges of the screen. Constraining the children rather than the section keeps the tint full width.

   This sits ABOVE .section-head deliberately: same specificity, so the 780px below still wins for that one. */
.section > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

.section-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }

.section-eyebrow {
    display: inline-block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    font-weight: 600; color: var(--gold-text); margin-bottom: 12px;
}

.section-title { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.16; margin: 0 0 14px; }
.section-lede { font-size: 17px; line-height: 1.65; color: var(--text-secondary); margin: 0; }
.section-cta { text-align: center; margin-top: 42px; }

.page-head { max-width: 820px; margin: 40px auto 34px; }
.page-title { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 12px; }
.page-lede { font-size: 17px; line-height: 1.65; color: var(--text-secondary); margin: 0; }

.prose { max-width: 720px; line-height: 1.72; }
.prose h2 { font-family: var(--font-display); font-size: 22px; margin: 34px 0 12px; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose-lede { color: var(--text-muted); font-size: 14px; }


/* ---------------------------------------------------------------------------------------------------------------------
   HERO
   --------------------------------------------------------------------------------------------------------------------- */

.hero { padding: 68px 0 40px; position: relative; }
.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; padding: 0 22px; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
    background: var(--gold-tint); border: 1px solid var(--gold-tint-line);
    font-size: 12.5px; font-weight: 600; color: var(--gold-text); margin-bottom: 22px;
}

.hero-title {
    font-family: var(--font-display); font-size: clamp(32px, 5.6vw, 60px); line-height: 1.06;
    letter-spacing: -0.02em; margin: 0 0 22px;
}
.hero-em { color: var(--gold-text); }

.hero-lede { font-size: 18px; line-height: 1.68; color: var(--text-secondary); max-width: 720px; margin: 0 auto 18px; }
.hero-lede-strong { color: var(--text-primary); }

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 30px 0 16px; }
.hero-fine { font-size: 13.5px; color: var(--text-muted); max-width: 640px; margin: 0 auto; line-height: 1.6; }

.hero-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: 900px; margin: 46px auto 0;
    background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.hero-stat { background: var(--bg-secondary); padding: 18px 12px; text-align: center; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 22px; color: var(--gold-text); }
.hero-stat span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.hero-stat.wide strong { font-size: 15px; }

@media (max-width: 720px) { .hero-strip { grid-template-columns: repeat(2, 1fr); } }


/* ---------------------------------------------------------------------------------------------------------------------
   THE THREE TIERS
   --------------------------------------------------------------------------------------------------------------------- */

.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.tier-card {
    background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 18px; padding: 26px;
    box-shadow: var(--shadow-sm); position: relative;
}
.tier-card h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 6px; }
.tier-who { font-size: 13px; color: var(--gold-text); font-weight: 600; margin: 0 0 14px; }
.tier-what { font-size: 14.5px; line-height: 1.62; color: var(--text-secondary); margin: 0 0 14px; }
.tier-trap { font-size: 14px; line-height: 1.6; color: var(--text-primary); margin: 0; padding-top: 14px; border-top: 1px solid var(--rule); }

.tier-count { float: right; text-align: right; margin-left: 14px; }
.tier-count strong { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--gold); }
.tier-count span { font-size: 11px; color: var(--text-muted); }

.tier-note {
    margin-top: 24px; padding: 20px 22px; border-radius: 16px;
    background: var(--gold-tint); border: 1px solid var(--gold-tint-line);
}
.tier-note p { margin: 0; font-size: 15px; line-height: 1.66; }


/* ---------------------------------------------------------------------------------------------------------------------
   COMMONLY MISSED, HOW IT WORKS, PLAN FEATURES, HONESTY
   --------------------------------------------------------------------------------------------------------------------- */

.missed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.missed-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.missed-card h3 { font-family: var(--font-display); font-size: 17px; margin: 0 0 4px; }
.missed-amount { font-size: 14px; font-weight: 700; color: var(--gold-text); margin: 0 0 10px; }
.missed-card p { font-size: 14.5px; line-height: 1.62; color: var(--text-secondary); margin: 0; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.step-card { position: relative; padding: 26px 22px 22px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 16px; }
.step-num {
    position: absolute; top: -14px; left: 22px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--gradient-primary); color: var(--on-accent); display: grid; place-items: center;
    font-weight: 700; font-size: 14px;
}
.step-card h3 { font-family: var(--font-display); font-size: 17px; margin: 6px 0 8px; }
.step-card p { font-size: 14.5px; line-height: 1.62; color: var(--text-secondary); margin: 0; }

.plan-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.pf { display: flex; gap: 14px; padding: 16px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 14px; }
.pf i { font-size: 18px; color: var(--gold); margin-top: 3px; }
.pf h4 { font-size: 15px; margin: 0 0 4px; }
.pf p { font-size: 13.5px; line-height: 1.58; color: var(--text-secondary); margin: 0; }

.section-honesty { background: var(--bg-secondary); }
.honesty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.honesty-card { padding: 22px; border: 1px dashed var(--border); border-radius: 16px; }
.honesty-card h3 { font-size: 16px; margin: 0 0 10px; display: flex; gap: 9px; align-items: center; }
.honesty-card h3 i { color: var(--error); font-size: 14px; }
.honesty-card p { font-size: 14.5px; line-height: 1.62; color: var(--text-secondary); margin: 0; }


/* ---------------------------------------------------------------------------------------------------------------------
   THE QUESTIONNAIRE
   --------------------------------------------------------------------------------------------------------------------- */

#page-check .container { padding-top: 34px; padding-bottom: 60px; }

.hook { margin-bottom: 30px; }
.hook-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.hook-title { font-family: var(--font-display); font-size: clamp(24px, 3.6vw, 36px); line-height: 1.16; margin: 0 0 16px; }
.hook-lede { font-size: 16.5px; line-height: 1.7; color: var(--text-secondary); margin: 0 0 12px; }
.hook-fine { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); margin: 0 0 20px; }

.hook-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 22px; }
.hook-stat { background: var(--bg-secondary); padding: 14px 8px; text-align: center; }
.hook-stat strong { display: block; font-family: var(--font-display); font-size: 19px; color: var(--gold-text); }
.hook-stat span { font-size: 11.5px; color: var(--text-muted); }

.hook-asym { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.asym { padding: 16px 18px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 14px; }
.asym h3 { font-size: 14.5px; margin: 0 0 6px; }
.asym p { font-size: 13.5px; line-height: 1.58; color: var(--text-secondary); margin: 0 0 8px; }
.asym a { font-size: 13px; font-weight: 600; color: var(--gold-text); cursor: pointer; }

.check-hook-slim .hook, .hook-slim {
    display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px;
    background: var(--gold-tint); border: 1px solid var(--gold-tint-line); font-size: 13.5px; margin-bottom: 22px;
}
.hook-slim i { color: var(--gold-text); }

@media (max-width: 640px) { .hook-stats { grid-template-columns: repeat(2, 1fr); } }

.resume-card { margin-bottom: 24px; padding: 18px; border-radius: 14px; background: var(--bg-secondary);
    border: 1px solid var(--gold-tint-line); }
.resume-inner { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.resume-inner i { font-size: 22px; color: var(--gold); }
.resume-inner h3 { margin: 0 0 2px; font-size: 16px; }
.resume-inner p { margin: 0; font-size: 13.5px; color: var(--text-secondary); }
.resume-actions { margin-left: auto; display: flex; gap: 8px; }

.check-meter { margin-bottom: 16px; }
.meter-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.meter-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.meter-live { font-size: 13.5px; color: var(--gold-text); }
.meter-live strong { font-weight: 700; }
.meter-live-quiet { color: var(--text-muted); }
.meter-track { height: 6px; border-radius: 999px; background: var(--bg-tertiary); overflow: hidden; }
.meter-fill { height: 100%; background: var(--gradient-primary); transition: width 0.35s ease; }

.check-steps { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 14px; margin-bottom: 8px; }
.step-chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; white-space: nowrap;
    border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text-secondary);
    font-size: 12.5px; font-weight: 600; cursor: pointer; flex-shrink: 0;
}
.step-chip.current { background: var(--gradient-primary); border-color: transparent; color: var(--on-accent); }
.step-chip.done { border-color: var(--gold-tint-line); color: var(--gold-text); }
.step-chip.locked { opacity: 0.45; cursor: default; }
.step-chip i { font-size: 12px; }

.check-body {
    background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 20px;
    padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.check-title { font-family: var(--font-display); font-size: 25px; margin: 0 0 8px; }
.check-blurb { font-size: 15px; line-height: 1.62; color: var(--text-secondary); margin: 0 0 26px; }

.q { position: relative; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.q:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.q-label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 12px; padding-right: 34px; line-height: 1.4; }
.q-req { font-size: 11px; font-weight: 600; color: var(--gold-text); text-transform: uppercase; letter-spacing: 0.08em; }

.q-help-btn {
    position: absolute; top: 0; right: 0; width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--bg-primary); color: var(--text-muted); cursor: pointer;
}
.q-help-btn:hover { color: var(--gold-text); border-color: var(--gold-tint-line); }
.q-help {
    display: none; font-size: 13.5px; line-height: 1.62; color: var(--text-secondary);
    background: var(--bg-tertiary); border-radius: 12px; padding: 13px 15px; margin-bottom: 14px;
}
.q-help.open { display: block; }

.q-choices { display: flex; flex-wrap: wrap; gap: 9px; }
.q-choice {
    display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 12px; cursor: pointer;
    border: 1.5px solid var(--input-border); background: var(--input-bg); font-size: 14.5px; transition: all 0.15s;
}
.q-choice:hover { border-color: var(--border-hover); }
.q-choice.on { border-color: var(--gold); background: var(--gold-tint); font-weight: 600; }
.q-choice input { accent-color: var(--gold); }
.q-yesno .q-choice { min-width: 96px; justify-content: center; }

.q-money, .q-number { display: flex; align-items: center; gap: 10px; }
.q-prefix { font-size: 17px; font-weight: 600; color: var(--text-muted); }
.q-unit { font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.q-money .form-input, .q-number .form-input { max-width: 220px; }
.q-short { max-width: 140px; }
.q-hint { font-size: 12.5px; color: var(--text-muted); margin: 6px 0 0; }
.q-error { font-size: 13px; color: var(--error); margin: 8px 0 0; min-height: 0; }

.check-reality {
    margin-top: 18px;
}
.reality {
    display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px;
    background: var(--gold-tint); border: 1px solid var(--gold-tint-line);
}
.reality i { color: var(--gold-text); margin-top: 3px; }
.reality p { margin: 0; font-size: 14px; line-height: 1.62; }

.check-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.check-privacy { margin-top: 24px; font-size: 13px; color: var(--text-muted); text-align: center; line-height: 1.6; }
.check-privacy i { color: var(--gold-text); }


/* ---------------------------------------------------------------------------------------------------------------------
   THE FREE RESULT
   --------------------------------------------------------------------------------------------------------------------- */

.result-head { text-align: center; max-width: 800px; margin: 40px auto 44px; }
.result-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.result-title { font-family: var(--font-display); font-size: clamp(26px, 4vw, 42px); line-height: 1.14; margin: 0 0 26px; }
.result-title strong { color: var(--gold-text); }

.result-figures { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.result-fig {
    background: var(--bg-secondary); border: 1px solid var(--gold-tint-line); border-radius: 18px;
    padding: 22px 30px; min-width: 220px; box-shadow: var(--shadow-sm);
}
.fig-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 38px; line-height: 1; color: var(--gold-text); }
.fig-label { display: block; font-size: 13.5px; font-weight: 600; margin-top: 8px; }
.fig-note { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }

.result-sep, .result-conservative { font-size: 14px; line-height: 1.65; color: var(--text-secondary); max-width: 620px; margin: 0 auto 10px; }

.result-split, .result-cats, .result-named, .result-chain, .result-effort { max-width: 820px; margin: 0 auto 34px; }
.result-split h2, .result-cats h2, .result-named h2, .result-chain h2 { font-family: var(--font-display); font-size: 21px; margin: 0 0 14px; }

.split-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.split-card { flex: 1; min-width: 130px; background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: 14px; padding: 18px; text-align: center; }
.split-n { display: block; font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--gold-text); line-height: 1; }
.split-l { display: block; font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.split-note { font-size: 13.5px; color: var(--text-muted); margin: 12px 0 0; }

.cat-grid { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.cat-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: var(--bg-secondary);
    border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.cat-row:last-child { border-bottom: 0; }
.cat-row i { color: var(--gold); width: 20px; text-align: center; }
.cat-name { flex: 1; }
.cat-count { color: var(--text-muted); font-size: 13px; }
.cat-value { font-weight: 700; color: var(--gold-text); min-width: 90px; text-align: right; }

.result-named-lede { font-size: 14.5px; color: var(--text-secondary); margin: 0 0 16px; line-height: 1.62; }
.named-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin-bottom: 10px;
    background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 14px; }
.named-main { flex: 1; }
.named-main h3 { font-size: 16px; margin: 0 0 3px; }
.named-level { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.named-amount { font-weight: 700; color: var(--gold-text); font-size: 14.5px; text-align: right; }

.named-locked { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 14px;
    border: 1.5px dashed var(--gold-tint-line); background: var(--gold-tint); font-size: 15px; }
.named-locked i { color: var(--gold-text); }

.result-chain { padding: 22px 24px; border-radius: 16px; background: var(--bg-secondary); border: 1px solid var(--gold-tint-line); }
.result-chain p { font-size: 14.5px; line-height: 1.65; margin: 0 0 10px; }
.chain-note { color: var(--text-muted); font-size: 13.5px; }

.result-effort p { font-size: 15px; margin: 0; }
.result-effort i { color: var(--gold); }

.result-none .result-lede { font-size: 16px; line-height: 1.68; color: var(--text-secondary); margin: 0 auto 16px; max-width: 660px; }
.result-free-list { text-align: left; max-width: 620px; margin: 0 auto 18px; line-height: 1.7; }
.result-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }


/* ---------------------------------------------------------------------------------------------------------------------
   THE PAYWALL
   --------------------------------------------------------------------------------------------------------------------- */

.paywall {
    max-width: 860px; margin: 0 auto 50px; padding: 34px 32px; border-radius: 22px;
    background: var(--bg-secondary); border: 1.5px solid var(--gold-tint-line); box-shadow: var(--shadow-md);
}
.paywall-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.paywall-title { font-family: var(--font-display); font-size: clamp(21px, 3vw, 29px); line-height: 1.2; margin: 0 0 24px; }

.paywall-have, .paywall-need { margin-bottom: 20px; }
.paywall-have h3, .paywall-need h3 { font-size: 15px; margin: 0 0 10px; }
.paywall-have ul, .paywall-need ul { margin: 0; padding-left: 20px; }
.paywall-have li, .paywall-need li { font-size: 14.5px; line-height: 1.7; }
.paywall-have { opacity: 0.7; }
.paywall-need li::marker { color: var(--gold); }

.paywall-ratio { padding: 20px 22px; border-radius: 16px; background: var(--gold-tint);
    border: 1px solid var(--gold-tint-line); margin-bottom: 22px; }
.paywall-ratio p { margin: 0 0 6px; font-size: 16px; }
.ratio-line { font-size: 17px !important; line-height: 1.5; }
.paywall-ratio-small p { font-size: 14.5px; line-height: 1.66; }

.paywall-echo { margin-bottom: 24px; }
.paywall-echo > span { font-size: 12.5px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.echo-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.echo-chip { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--bg-tertiary);
    border: 1px solid var(--border); color: var(--text-secondary); }

.paywall-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.paywall-lead { padding-top: 20px; border-top: 1px solid var(--rule); }
.paywall-lead p { font-size: 14px; margin: 0 0 10px; color: var(--text-secondary); }
.paywall-fine { font-size: 12.5px; color: var(--text-muted); margin: 16px 0 0; line-height: 1.6; }

.inline-form { display: flex; gap: 9px; flex-wrap: wrap; }
.inline-form .form-input { flex: 1; min-width: 220px; }


/* ---------------------------------------------------------------------------------------------------------------------
   THE PAID PLAN
   --------------------------------------------------------------------------------------------------------------------- */

.plan { max-width: 900px; margin: 0 auto; }

.plan-cover { text-align: center; padding: 34px 0 40px; border-bottom: 1px solid var(--rule); margin-bottom: 40px; }
.plan-eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 600; color: var(--gold-text); margin-bottom: 12px; }
.plan-title { font-family: var(--font-display); font-size: clamp(24px, 3.6vw, 38px); line-height: 1.14; margin: 0 0 24px; }
.plan-headline { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.plan-figure { background: var(--gold-tint); border: 1px solid var(--gold-tint-line); border-radius: 16px; padding: 18px 26px; }
.plan-figure strong { display: block; font-family: var(--font-display); font-size: 32px; color: var(--gold-text); line-height: 1; }
.plan-figure span { font-size: 13px; color: var(--text-secondary); }
.plan-decomposed, .plan-effort { font-size: 15px; line-height: 1.65; color: var(--text-secondary); max-width: 620px; margin: 0 auto 8px; }
.plan-ref { font-size: 12.5px; color: var(--text-muted); margin-top: 16px; }

.plan-chains, .plan-documents, .plan-deadlines, .plan-sources, .plan-disclaimer, .plan-later, .sample-close {
    margin-bottom: 44px;
}
.plan h2 { font-family: var(--font-display); font-size: 23px; margin: 0 0 14px; }
.plan h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 8px; }

.chain { padding: 20px 22px; border-radius: 16px; background: var(--gold-tint); border: 1px solid var(--gold-tint-line); margin-bottom: 14px; }
.chain p { font-size: 14.5px; margin: 0 0 10px; }
.chain ul { margin: 0; padding-left: 20px; }
.chain li { font-size: 14px; line-height: 1.7; }
.chain-value { color: var(--gold-text); font-weight: 600; }

.doc-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.doc-list li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-secondary);
    border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.doc-list li:last-child { border-bottom: 0; }
.doc-list label { display: flex; gap: 11px; align-items: center; flex: 1; cursor: pointer; }
.doc-check { width: 18px; height: 18px; accent-color: var(--gold); }
.doc-for { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

.plan-stage { margin-bottom: 48px; }
.stage-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.stage-head i { font-size: 20px; color: var(--gold); }
.stage-head h2 { margin: 0; }
.stage-meta { font-size: 13px; color: var(--text-muted); margin-left: auto; }
.stage-blurb { font-size: 14.5px; line-height: 1.62; color: var(--text-secondary); margin: 0 0 22px; }

.plan-item {
    background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 18px;
    padding: 24px 26px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.item-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; margin-bottom: 6px; }
.item-head h3 { margin: 0; flex: 1; }
.item-amount { font-weight: 700; color: var(--gold-text); font-size: 15px; text-align: right; white-space: nowrap; }
.item-agency { font-size: 13px; color: var(--text-muted); margin: 0 0 14px; }
.item-agency i { margin-right: 5px; }
.item-summary { font-size: 15px; line-height: 1.68; margin: 0 0 16px; }
.item-why { font-size: 14px; line-height: 1.6; padding: 12px 14px; border-radius: 12px; background: var(--gold-tint); margin: 0 0 16px; }

.item-block { margin-bottom: 16px; }
.item-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin: 0 0 8px; }
.item-block ul, .item-block ol { margin: 0; padding-left: 20px; }
.item-block li { font-size: 14.5px; line-height: 1.68; margin-bottom: 5px; }
.item-steps li::marker { font-weight: 700; color: var(--gold-text); }
.item-watch li::marker { color: var(--warning); }

.item-link { margin: 18px 0; }
.item-timing, .item-backdate { font-size: 14px; line-height: 1.6; margin: 0 0 8px; }
.item-foot { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 14px; margin-top: 16px; border-top: 1px solid var(--rule); }
.item-flag { font-size: 12px; color: var(--warning); }
.item-flag.verified { color: var(--success); }
.item-checked { font-size: 12px; color: var(--text-muted); }

.plan-item[data-status="Claimed"], .plan-item[data-status="Received"] { border-color: var(--success); }
.plan-item[data-status="NotApplicable"] { opacity: 0.55; }

.item-progress { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--rule); }
.item-progress > span { font-size: 12px; color: var(--text-muted); margin-right: 4px; }
.prog-btn { font-size: 12px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--bg-primary); color: var(--text-secondary); cursor: pointer; }
.prog-btn:hover { border-color: var(--border-hover); }
.prog-btn.on { background: var(--gradient-primary); border-color: transparent; color: var(--on-accent); font-weight: 600; }

.plan-item-locked { border-style: dashed; background: var(--bg-tertiary); box-shadow: none; padding: 18px 22px; }
.plan-item-locked h3 { font-size: 16px; color: var(--text-secondary); }
.plan-item-locked i { color: var(--text-muted); margin-right: 7px; font-size: 13px; }

.deadline-table, .data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.deadline-table th, .data-table th { text-align: left; font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--text-muted); padding: 10px 12px; border-bottom: 1px solid var(--border); }
.deadline-table td, .data-table td { padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.55; }

.date-list { padding-left: 20px; }
.date-list li { font-size: 14.5px; line-height: 1.7; margin-bottom: 8px; }

.source-list { padding-left: 20px; columns: 2; column-gap: 30px; }
.source-list li { font-size: 13.5px; line-height: 1.6; margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 640px) { .source-list { columns: 1; } }

.plan-disclaimer { padding: 24px 26px; border-radius: 16px; background: var(--bg-tertiary); border: 1px solid var(--border); }
.plan-disclaimer p { font-size: 13.5px; line-height: 1.68; color: var(--text-secondary); margin: 0 0 12px; }
.plan-disclaimer p:last-child { margin-bottom: 0; }

.plan-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 40px 0 60px;
    padding-top: 30px; border-top: 1px solid var(--rule); }

.sample-frame { max-width: 900px; margin: 0 auto; }
.sample-banner { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; margin-bottom: 30px;
    background: var(--gold-tint); border: 1px solid var(--gold-tint-line); }
.sample-banner i { font-size: 20px; color: var(--gold-text); margin-top: 2px; }
.sample-banner strong { display: block; margin-bottom: 4px; }
.sample-banner span { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.sample-close { padding: 26px 28px; border-radius: 18px; background: var(--bg-secondary); border: 1.5px solid var(--gold-tint-line); }
.sample-close p { font-size: 15px; line-height: 1.68; margin: 0 0 12px; }


/* ---------------------------------------------------------------------------------------------------------------------
   BROWSE
   --------------------------------------------------------------------------------------------------------------------- */

.browse-controls { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.browse-controls .form-input { flex: 1; min-width: 190px; }
.browse-count { font-size: 13.5px; color: var(--text-muted); margin: 0 0 20px; }

/* Collapsible category drawers. 174 rows in one column is a page nobody reaches the bottom of, so each category
   is a <details> that opens on click -- native, so it is keyboard operable and announced correctly without any
   script, and it still works if the script fails. */
.browse-countbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.browse-group { margin-bottom: 12px; border: 1px solid var(--border); border-radius: 14px;
    background: var(--bg-secondary); overflow: hidden; }

.browse-group > summary {
    /* <summary> is not bold by default the way a heading is, so without this the category names rendered in
       Sora 400 beside every other panel heading on the site at 600. 600 matches .faq-q, which is the same
       thing: a clickable disclosure header. */
    font-family: var(--font-display); font-weight: 600; font-size: 18px; display: flex; gap: 12px; align-items: center;
    margin: 0; padding: 16px 18px; cursor: pointer; list-style: none; user-select: none;
    transition: background 0.25s ease;
}

/* Safari and Chrome draw their own marker; the chevron below is the one that animates. */
.browse-group > summary::-webkit-details-marker { display: none; }
.browse-group > summary::marker { content: ''; }

.browse-group > summary:hover { background: var(--bg-tertiary); }
.browse-group > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.browse-group > summary > i:first-child { color: var(--gold); font-size: 16px; }
.browse-group-name { flex: 1; min-width: 0; }

.browse-group-count { font-size: 12px; font-weight: 600; color: var(--text-muted); background: var(--bg-tertiary);
    padding: 3px 9px; border-radius: 999px; }

.browse-chevron { font-size: 13px; color: var(--text-muted); transition: transform 0.3s ease; }
.browse-group[open] > summary .browse-chevron { transform: rotate(180deg); }
.browse-group[open] > summary { border-bottom: 1px solid var(--border); }

.browse-group-body { padding: 14px 14px 6px; }

.browse-row { display: flex; gap: 18px; padding: 15px 18px; margin-bottom: 8px; background: var(--bg-secondary);
    border: 1px solid var(--border); border-radius: 14px; flex-wrap: wrap; }
.browse-main { flex: 1; min-width: 240px; }
.browse-main h3 { font-size: 15.5px; margin: 0 0 4px; }
.browse-main p { font-size: 13.5px; line-height: 1.58; color: var(--text-secondary); margin: 0; }
.browse-meta { text-align: right; min-width: 170px; }
.browse-amount { display: block; font-weight: 700; color: var(--gold-text); font-size: 14px; margin-bottom: 6px; }
.browse-tags { display: inline-flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--bg-tertiary); color: var(--text-muted); }
.tag-federal { background: var(--gold-tint); color: var(--gold-text); }
.tag-state { background: rgba(62, 123, 250, 0.12); color: #3E7BFA; }
.tag-local { background: rgba(198, 145, 60, 0.14); color: #A97A28; }
.tag-ind { background: rgba(181, 129, 31, 0.14); color: var(--warning); }
.tag-auto { background: rgba(23, 131, 95, 0.14); color: var(--success); }

.browse-cta { text-align: center; padding: 36px 24px; margin: 40px 0 60px; border-radius: 20px;
    background: var(--bg-secondary); border: 1.5px solid var(--gold-tint-line); }
.browse-cta h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 8px; }
.browse-cta p { font-size: 15px; color: var(--text-secondary); margin: 0 0 20px; }


/* ---------------------------------------------------------------------------------------------------------------------
   PASSES, CHECKOUT, ACCOUNT
   --------------------------------------------------------------------------------------------------------------------- */

.pass-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: start; }

/* There is one pass. auto-fit would stretch a single card the full width of the container, which reads as a
   layout accident rather than a price. Cap and centre it while keeping the grid for any future second pass. */
.pass-grid:has(> .pass-card:only-child) { grid-template-columns: minmax(0, 520px); justify-content: center; }
.pass-card { position: relative; padding: 28px 24px; border-radius: 20px; background: var(--bg-secondary);
    border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.pass-card.featured { border-color: var(--gold); box-shadow: var(--shadow-md); }
.pass-badge { position: absolute; top: -12px; left: 24px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--gradient-primary); color: var(--on-accent); }
.pass-suggested { position: absolute; top: -12px; right: 24px; font-size: 11px; font-weight: 700; padding: 5px 12px;
    border-radius: 999px; background: var(--bg-tertiary); border: 1px solid var(--gold-tint-line); color: var(--gold-text); }
.pass-name { font-family: var(--font-display); font-size: 20px; margin: 8px 0 4px; }
.pass-tag { font-size: 13.5px; color: var(--text-muted); margin: 0 0 16px; }
.pass-price { margin-bottom: 16px; }
.pass-was { text-decoration: line-through; color: var(--text-muted); font-size: 17px; margin-right: 8px; }
.pass-now { font-family: var(--font-display); font-weight: 700; font-size: 38px; color: var(--gold-text); }
.pass-term { font-size: 13.5px; color: var(--text-muted); margin-left: 6px; }
.pass-why { font-size: 14px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.pass-features { list-style: none; padding: 0; margin: 0 0 20px; }
.pass-features li { font-size: 14px; line-height: 1.55; margin-bottom: 9px; display: flex; gap: 9px; }
.pass-features i { color: var(--gold); font-size: 12px; margin-top: 4px; }

.keep-block { margin: 34px 0; padding: 26px 28px; border-radius: 18px; background: var(--gold-tint); border: 1px solid var(--gold-tint-line); }
.keep-inner h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 8px; }
.keep-inner p { font-size: 14.5px; line-height: 1.65; margin: 0 0 14px; }
.keep-chips { display: flex; gap: 9px; flex-wrap: wrap; }
.keep-chip { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--bg-secondary); border: 1px solid var(--border); }

.compare-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 36px 0; }
.compare-item { padding: 20px; border-radius: 16px; background: var(--bg-secondary); border: 1px solid var(--border); text-align: center; }
.compare-item.compare-ours { border-color: var(--gold); }
.compare-label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.compare-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--gold-text); margin-bottom: 10px; }
.compare-item p { font-size: 13.5px; line-height: 1.58; color: var(--text-secondary); margin: 0; }

.checkout-summary { margin-bottom: 26px; }
.checkout-line { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px;
    border-radius: 16px; background: var(--bg-secondary); border: 1px solid var(--gold-tint-line); }
.checkout-line h2 { font-family: var(--font-display); font-size: 20px; margin: 0 0 4px; }
.checkout-line p { font-size: 13.5px; color: var(--text-muted); margin: 0; }
.checkout-price { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--gold-text); }
.checkout-context { font-size: 14px; color: var(--text-secondary); margin: 12px 0 0; }
.checkout-change { font-size: 13.5px; margin: 10px 0 0; }
.checkout-change a { cursor: pointer; color: var(--gold-text); }
.checkout-fine { font-size: 12.5px; color: var(--text-muted); text-align: center; margin-top: 22px; line-height: 1.6; }
.paypal-buttons { min-height: 120px; margin: 20px 0; }
.paypal-loading, .paypal-fallback { text-align: center; color: var(--text-muted); font-size: 14px; padding: 24px; }

.success-card { text-align: center; padding: 40px 26px; border-radius: 20px; background: var(--bg-secondary); border: 1px solid var(--gold-tint-line); }
.success-card i { font-size: 44px; color: var(--success); margin-bottom: 16px; }
.success-card h2 { font-family: var(--font-display); font-size: 26px; margin: 0 0 12px; }
.success-card p { font-size: 15px; line-height: 1.65; margin: 0 0 14px; }

.sidebar-layout { display: grid; grid-template-columns: 240px 1fr; gap: 34px; align-items: start; margin: 30px 0 60px; }
@media (max-width: 860px) { .sidebar-layout { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: 96px; padding: 20px; border-radius: 16px; background: var(--bg-secondary); border: 1px solid var(--border); }
.sidebar-hi { display: block; font-size: 11.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.sidebar-user { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--rule); }
.sidebar-nav { display: flex; flex-direction: column; gap: 3px; margin-bottom: 16px; }
.sidebar-nav a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px;
    font-size: 14px; color: var(--text-secondary); cursor: pointer; }
.sidebar-nav a:hover { background: var(--bg-tertiary); }
.sidebar-nav a.on { background: var(--gold-tint); color: var(--gold-text); font-weight: 600; }
.sidebar-nav i { width: 16px; text-align: center; }

.card { padding: 24px; border-radius: 16px; background: var(--bg-secondary); border: 1px solid var(--border); margin-bottom: 22px; }
.card-title { font-family: var(--font-display); font-size: 18px; margin: 0 0 16px; }

.access-card { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: 16px;
    background: var(--bg-secondary); border: 1px solid var(--border); margin-bottom: 26px; flex-wrap: wrap; }
.access-card.on { border-color: var(--success); }
.access-card i { font-size: 26px; color: var(--text-muted); }
.access-card.on i { color: var(--success); }
.access-card h2 { font-family: var(--font-display); font-size: 20px; margin: 0 0 4px; }
.access-card p { font-size: 14px; color: var(--text-secondary); margin: 0; }
.access-card .btn { margin-left: auto; }

.saved-list { display: flex; flex-direction: column; gap: 12px; }
.saved-card { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 14px;
    background: var(--bg-secondary); border: 1px solid var(--border); flex-wrap: wrap; }
.saved-main { flex: 1; min-width: 220px; }
.saved-main h3 { font-size: 16px; margin: 0 0 4px; }
.saved-meta { font-size: 12.5px; color: var(--text-muted); margin: 0 0 6px; }
.saved-figures { font-size: 14px; margin: 0; }
.saved-actions { display: flex; gap: 8px; }
.saved-note { font-size: 13px; color: var(--text-muted); margin-top: 16px; }

.auth-card { max-width: 460px; margin: 50px auto; padding: 32px 30px; border-radius: 20px;
    background: var(--bg-secondary); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.auth-card .page-title { font-size: 26px; margin-bottom: 8px; }
.auth-card .page-lede { font-size: 14.5px; margin-bottom: 24px; }
.auth-alt { text-align: center; font-size: 13.5px; margin-top: 18px; }
.auth-alt a { color: var(--gold-text); text-decoration: none; cursor: pointer; }

.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.form-hint { font-size: 12.5px; color: var(--text-muted); margin: 6px 0 0; line-height: 1.55; }
.form-check label { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }

.pill { font-size: 11.5px; padding: 3px 10px; border-radius: 999px; background: var(--bg-tertiary); color: var(--text-muted); }
.pill.on { background: rgba(23, 131, 95, 0.14); color: var(--success); }

.empty-state { text-align: center; padding: 60px 24px; }
.empty-state i { font-size: 40px; color: var(--text-muted); margin-bottom: 16px; }
.empty-state h2 { font-family: var(--font-display); font-size: 22px; margin: 0 0 10px; }
.empty-state p { font-size: 15px; color: var(--text-secondary); margin: 0 0 20px; }

.support-first { padding: 22px 24px; border-radius: 16px; background: var(--gold-tint); border: 1px solid var(--gold-tint-line); margin-bottom: 26px; }
.support-first h3 { font-size: 16px; margin: 0 0 10px; }
.support-first p { font-size: 14.5px; line-height: 1.65; margin: 0 0 12px; }
.support-first ul { margin: 0; padding-left: 20px; }
.support-first li { font-size: 14px; line-height: 1.7; }

.member-home { padding: 40px 0 60px; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 40px; }
.member-card { text-align: left; padding: 22px; border-radius: 16px; background: var(--bg-secondary);
    border: 1px solid var(--border); cursor: pointer; transition: all 0.15s; }
.member-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.member-card i { font-size: 22px; color: var(--gold); margin-bottom: 12px; display: block; }
.member-card h3 { font-size: 16px; margin: 0 0 6px; }
.member-card p { font-size: 13.5px; line-height: 1.58; color: var(--text-secondary); margin: 0; }
.member-dates h2 { font-family: var(--font-display); font-size: 20px; margin: 0 0 14px; }
.date-row { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.date-row strong { min-width: 110px; }
.date-in { font-size: 12.5px; color: var(--gold-text); min-width: 90px; }
.date-what { font-size: 13.5px; color: var(--text-secondary); flex: 1; min-width: 220px; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.review-card { padding: 22px; border-radius: 16px; background: var(--bg-secondary); border: 1px solid var(--border); }
.review-stars { color: var(--gold); margin-bottom: 10px; font-size: 13px; }
.review-card h3 { font-size: 16px; margin: 0 0 8px; }
.review-card p { font-size: 14.5px; line-height: 1.65; margin: 0 0 12px; }
.review-card footer { font-size: 12.5px; color: var(--text-muted); }

.guides-index { margin: 20px 0 60px; }
.guide-cluster { margin-bottom: 40px; }
.guide-cluster h2 { font-family: var(--font-display); font-size: 21px; margin: 0 0 16px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.guide-card { border-radius: 16px; overflow: hidden; background: var(--bg-secondary); border: 1px solid var(--border);
    cursor: pointer; transition: all 0.18s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.guide-img { aspect-ratio: 16/9; background-size: cover; background-position: center; background-color: var(--bg-tertiary); }
.guide-img-blank { background: var(--gold-tint); }
.guide-body { padding: 18px; }
.guide-body h3 { font-size: 16px; margin: 0 0 7px; line-height: 1.35; }
.guide-body p { font-size: 13.5px; line-height: 1.58; color: var(--text-secondary); margin: 0 0 10px; }
.guide-min { font-size: 12px; color: var(--text-muted); }

/* The FAQ is a stack of cards, and its contents have to sit inside them.

   Two designs were half merged here. An earlier block further up still gives .faq-item a border, a radius, a
   background and a shadow -- a card. This block was written for the other design, a borderless list separated by
   hairlines, where `padding: 18px 0` with no horizontal padding is exactly right. Both applied at once, so every
   question and answer ran flush into the left and right edges of its own card.

   The card wins, because it matches every other panel on the site. So the horizontal padding is put back, and the
   stray border-bottom below is dropped -- it painted the bottom edge of the card in a different colour from the
   other three sides. */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 24px; background: none; border: 0; text-align: left; font-size: 16px; font-weight: 600;
    color: var(--text-primary); cursor: pointer; font-family: inherit; }
.faq-q i { font-size: 13px; color: var(--text-muted); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 24px 20px; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 14.5px; line-height: 1.72; color: var(--text-secondary); margin: 0; }

@media (max-width: 560px) {
    .faq-q { padding: 17px 18px; }
    .faq-a { padding: 0 18px 17px; }
}

.share-banner { display: flex; gap: 12px; padding: 16px 20px; border-radius: 14px; margin: 30px 0;
    background: var(--gold-tint); border: 1px solid var(--gold-tint-line); }
.share-banner p { margin: 0; font-size: 14px; line-height: 1.6; }
.share-footer { text-align: center; padding: 40px 24px; margin: 40px 0 60px; border-radius: 20px;
    background: var(--bg-secondary); border: 1.5px solid var(--gold-tint-line); }
.share-footer h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 8px; }
.share-box { display: flex; gap: 9px; margin: 18px 0; }
.share-box .form-input { flex: 1; }

.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--bg-glass);
    backdrop-filter: blur(14px); border-top: 1px solid var(--gold-tint-line); box-shadow: 0 -8px 30px rgba(0,0,0,0.08); }
.buy-bar-inner { max-width: 1180px; margin: 0 auto; padding: 12px 22px; display: flex; align-items: center; gap: 16px; }
.buy-bar-text { flex: 1; font-size: 14.5px; }
.buy-bar-actions { display: flex; gap: 8px; align-items: center; }
.buy-bar-close { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border);
    background: transparent; color: var(--text-muted); cursor: pointer; }
@media (max-width: 620px) { .buy-bar-text { font-size: 13px; } }

.toast-host { position: fixed; top: 84px; right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 9px; }
.toast { display: flex; gap: 11px; align-items: center; padding: 13px 17px; border-radius: 12px; max-width: 340px;
    background: var(--bg-secondary); border: 1px solid var(--border); box-shadow: var(--shadow-md);
    font-size: 14px; opacity: 0; transform: translateX(20px); transition: all 0.25s; }
.toast.in { opacity: 1; transform: none; }
.toast-success i { color: var(--success); }
.toast-error i { color: var(--error); }
.toast-info i { color: var(--gold); }

.footer-verified { font-size: 12.5px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }

/* The footer link columns. .footer-inner is a two column grid -- brand, then this -- and this had no rule at all,
   so its four .footer-col children stacked into one tall column and the footer ran for a screen and a half. */
.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: clamp(20px, 3vw, 40px);
}

.footer-blurb {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
    max-width: 34ch;
}

/* The disclaimer block under the rule. Small, quiet, and readable -- it is the part that says we are not the
   government, so it has to be legible rather than decorative. */
.footer-legal {
    max-width: 1240px;
    margin: 26px auto 0;
    display: grid;
    gap: 10px;
}

    .footer-legal p {
        margin: 0;
        font-size: 0.78rem;
        line-height: 1.65;
        color: rgba(255, 255, 255, 0.46);
        max-width: 92ch;
    }

    .footer-legal strong { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 760px) {
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Signed-in and access-gated visibility, driven by the classes on <html>. */
html.signed-out .auth-only { display: none !important; }
html.signed-in .guest-only { display: none !important; }
html.no-access .access-only { display: none !important; }
html.has-access .funnel-only { display: none !important; }


/* ---------------------------------------------------------------------------------------------------------------------
   PRINT

   A plan is worked through with a pen by a large share of the people who need it most, so the printed version is
   the plan and nothing else — no navigation, no paywall, no buy bar, and no locked rows.
   --------------------------------------------------------------------------------------------------------------------- */

@media print {
    .nav, .footer, .buy-bar, .plan-actions, .ambient-bg, .mobile-menu, .mobile-menu-overlay,
    .exit-modal, .agent-panel, .toast-host, .paywall, .item-progress, .plan-item-locked { display: none !important; }

    body { background: #fff; color: #000; }
    .plan { max-width: none; }
    .plan-item { break-inside: avoid; border: 1px solid #ccc; box-shadow: none; page-break-inside: avoid; }
    .plan-stage { page-break-before: auto; }
    .plan-cover { page-break-after: avoid; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; word-break: break-all; }
}


/* ---------------------------------------------------------------------------------------------------------------------
   THE PLAN AGENT

   A panel over the plan rather than a replacement for it. The page stays visible and readable underneath on
   purpose: the answer is about the thing behind the panel, and hiding it makes the answer harder to follow.
   --------------------------------------------------------------------------------------------------------------------- */

/* z-index 9996, not 200.

   The nav is 1000 and the toasts and overlays are 9990 and up, so at 200 this dialog rendered UNDERNEATH the
   navigation bar. Its close button is absolutely positioned, and with .agent-panel the nearest positioned
   ancestor it landed at the top right of the VIEWPORT -- directly behind the fixed nav, which swallowed the
   click. The panel could be opened and not closed. */
.agent-panel {
    position: fixed; inset: 0; z-index: 9996; display: none;
    background: var(--scrim); backdrop-filter: blur(3px);
    align-items: flex-end; justify-content: center;
}
.agent-panel.open { display: flex; }
body.agent-open { overflow: hidden; }

/* Positioned, so the close button anchors to the dialog rather than to the viewport. */
.agent-inner {
    position: relative;
    width: 100%; max-width: 720px; max-height: 86vh; display: flex; flex-direction: column;
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lg); padding: 22px 24px 18px;
}
@media (min-width: 720px) {
    .agent-panel { align-items: center; }
    .agent-inner { border-radius: 22px; max-height: 82vh; }
}

.agent-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    margin-bottom: 14px; padding-right: 38px; }

/* The close control sits inside the dialog, is big enough to hit on a phone, and reads against the panel rather
   than against whatever happens to be behind it. */
.agent-panel .exit-close {
    top: 16px; right: 16px; width: 36px; height: 36px;
    border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text-secondary); z-index: 2;
}

.agent-panel .exit-close:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.agent-panel .exit-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.agent-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.agent-title { font-family: var(--font-display); font-size: 19px; margin: 6px 0 0; }

.agent-thread { flex: 1; overflow-y: auto; padding: 4px 2px 8px; display: flex; flex-direction: column; gap: 12px; }
.agent-msg { max-width: 92%; padding: 13px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.66; }
.agent-msg p { margin: 0 0 9px; }
.agent-msg p:last-child { margin-bottom: 0; }
.agent-msg ul { margin: 0 0 9px; padding-left: 20px; }
.agent-msg li { margin-bottom: 4px; }
.agent-user { align-self: flex-end; background: var(--gradient-primary); color: var(--on-accent); border-bottom-right-radius: 5px; }
.agent-model { align-self: flex-start; background: var(--bg-tertiary); border-bottom-left-radius: 5px; }

.agent-dots { display: inline-flex; gap: 4px; }
.agent-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: agentdot 1.1s infinite; }
.agent-dots i:nth-child(2) { animation-delay: 0.15s; }
.agent-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes agentdot { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }

.agent-suggest { display: flex; gap: 7px; flex-wrap: wrap; padding: 10px 0; }
.agent-chip { font-size: 12.5px; padding: 7px 13px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--gold-tint-line); background: var(--gold-tint); color: var(--gold-text); }
.agent-chip:hover { background: var(--bg-secondary); }

.agent-form { display: flex; gap: 9px; padding-top: 10px; border-top: 1px solid var(--rule); }
.agent-form .form-input { flex: 1; }
.agent-fine { font-size: 11.5px; color: var(--text-muted); margin: 10px 0 0; line-height: 1.55; text-align: center; }

.exit-modal { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center;
    background: var(--scrim); backdrop-filter: blur(3px); padding: 20px; }
.exit-modal.open { display: flex; }
.exit-card { position: relative; width: 100%; max-width: 520px; padding: 32px 30px; border-radius: 20px;
    background: var(--bg-secondary); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.exit-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer; }
.exit-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.exit-title { font-family: var(--font-display); font-size: 22px; margin: 0 0 12px; }
.exit-lede { font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 18px; }
.exit-fine { font-size: 12.5px; color: var(--text-muted); margin: 14px 0 0; line-height: 1.6; }

.success-account { padding: 18px 20px; margin: 16px 0; border-radius: 14px;
    background: var(--gold-tint); border: 1px solid var(--gold-tint-line); text-align: left; }
.success-pass { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.04em; }
.success-access { font-size: 14px; color: var(--text-secondary); }

.rating-picker { display: flex; gap: 4px; }
.rating-star { background: none; border: 0; padding: 4px; cursor: pointer; font-size: 22px; color: var(--border); }
.rating-star.on { color: var(--gold); }

.guide-img { position: relative; overflow: hidden; }
.guide-img picture { display: block; width: 100%; height: 100%; }
.guide-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
