/* Externalized from deploy/lp/index.html (Block C) */
*, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --deep-teal: #0F4C5C;
            --deep-teal-light: rgba(15, 76, 92, 0.08);
            --deep-teal-medium: rgba(15, 76, 92, 0.15);
            --deep-teal-hover: #0B3A47;
            --warm-ivory: #F6F2EC;
            --sage: #A9C7B8;
            --sage-light: rgba(169, 199, 184, 0.25);
            --slate: #2E3A43;
            --terracotta: #d9775e;
            --terracotta-hover: #c96a52;
            --white: #FFFFFF;
            --text-body: #4A5560;
            --border: rgba(15, 76, 92, 0.1);
            --shadow-sm: 0 2px 8px rgba(15, 76, 92, 0.06);
            --shadow-md: 0 4px 24px rgba(15, 76, 92, 0.1);
            --shadow-lg: 0 8px 40px rgba(15, 76, 92, 0.14);
            --primary: #0F4C5C;
            --primary-light: rgba(15, 76, 92, 0.15);
            --secondary: rgba(15, 76, 92, 0.08);
            --text-medium: #6B7580;
        }

        html { scroll-behavior: smooth; }
        section[id], [id="quiz"] { scroll-margin-top: 80px; }

        [style*="Fraunces"],
        .nav-logo .logo-harbor,
        .hero-content h1,
        .hero-card h3,
        .section-title,
        .comp-card .comp-value,
        .fact-card h4,
        .step-num,
        .step-card h3,
        .why-card h3,
        .cta-section h2 {
            font-variation-settings: 'WONK' 0;
        }

        body {
            font-family: 'DM Sans', system-ui, sans-serif;
            color: var(--slate);
            line-height: 1.6;
            overflow-x: hidden;
            background: var(--warm-ivory);
            -webkit-font-smoothing: antialiased;
        }

        .container {
            max-width: 1120px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===================== NAVBAR ===================== */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(246, 242, 236, 0.95);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            transition: box-shadow 0.3s ease;
        }

        .navbar.scrolled {
            box-shadow: var(--shadow-sm);
        }

        .navbar .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 68px;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 0;
            text-decoration: none;
        }

        .nav-logo .logo-harbor {
            font-family: 'Fraunces', Georgia, serif;
            font-weight: 600;
            font-size: 1.35rem;
            color: var(--deep-teal);
            letter-spacing: -0.01em;
        }

        .nav-logo .logo-pipe {
            font-family: 'DM Sans', system-ui, sans-serif;
            font-weight: 300;
            font-size: 1.35rem;
            color: var(--sage);
            margin: 0 7px;
        }

        .nav-logo .logo-surrogacy {
            font-family: 'DM Sans', system-ui, sans-serif;
            font-weight: 400;
            font-size: 1.35rem;
            color: var(--slate);
            letter-spacing: 0.01em;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 28px;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-body);
            font-size: 0.9rem;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--deep-teal);
        }

        .nav-cta {
            background: var(--deep-teal);
            color: var(--white) !important;
            padding: 10px 22px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.88rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .nav-cta:hover {
            background: var(--deep-teal-hover);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(15, 76, 92, 0.3);
        }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.4rem;
            color: var(--deep-teal);
            cursor: pointer;
        }

        /* ===================== HERO ===================== */
        .hero {
            padding: 140px 0 80px;
            background: var(--warm-ivory);
            position: relative;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 45%;
            height: 100%;
            background: linear-gradient(135deg, rgba(169, 199, 184, 0.12) 0%, rgba(15, 76, 92, 0.04) 100%);
            border-radius: 0 0 0 120px;
        }

        .hero .container {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-content .hero-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--sage-light);
            color: var(--deep-teal);
            padding: 6px 16px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            margin-bottom: 20px;
        }

        .hero-content h1 {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 2.8rem;
            font-weight: 600;
            line-height: 1.15;
            color: var(--deep-teal);
            margin-bottom: 20px;
            letter-spacing: -0.02em;
        }

        .hero-content p {
            font-size: 1.05rem;
            color: var(--text-body);
            line-height: 1.75;
            margin-bottom: 32px;
            max-width: 480px;
            font-weight: 400;
        }

        .hero-buttons {
            display: flex;
            gap: 14px;
            margin-bottom: 32px;
            flex-wrap: wrap;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--deep-teal);
            color: var(--white);
            padding: 14px 28px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn-primary:hover {
            background: var(--deep-teal-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(15, 76, 92, 0.3);
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: transparent;
            color: var(--deep-teal);
            padding: 14px 28px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            border: 2px solid var(--deep-teal);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-secondary:hover {
            background: var(--deep-teal);
            color: var(--white);
            transform: translateY(-2px);
        }

        .hero-reassurance {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
        }

        .hero-reassurance span {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 1rem;
            color: var(--text-body);
            font-weight: 400;
        }

        .hero-reassurance .check {
            width: 22px;
            height: 22px;
            min-width: 22px;
            background: var(--sage);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .hero-reassurance .check::after {
            content: '';
            width: 6px;
            height: 10px;
            border: solid var(--white);
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
            margin-top: -2px;
        }

        .hero-right {
            position: relative;
        }

        .hero-card {
            background: var(--white);
            border-radius: 12px;
            padding: 36px 32px;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border);
        }

        .hero-card h3 {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--deep-teal);
            margin-bottom: 6px;
        }

        .hero-card .card-sub {
            font-size: 0.88rem;
            color: var(--text-body);
            margin-bottom: 24px;
            line-height: 1.6;
        }

        .hero-card .quiz-list {
            list-style: none;
            margin-bottom: 24px;
        }

        .hero-card .quiz-list li {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid var(--border);
            font-size: 0.9rem;
            color: var(--slate);
        }

        .hero-card .quiz-list li:last-child {
            border-bottom: none;
        }

        .hero-card .quiz-list .q-icon {
            width: 32px;
            height: 32px;
            min-width: 32px;
            background: var(--sage-light);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--deep-teal);
            font-size: 0.75rem;
            font-weight: 700;
        }

        .hero-card .btn-primary {
            width: 100%;
            justify-content: center;
            padding: 14px;
        }

        .hero-card .card-footer {
            text-align: center;
            margin-top: 12px;
            font-size: 0.9rem;
            color: var(--text-body);
        }

        /* ===================== TRUST STRIP ===================== */
        .trust-strip {
            padding: 40px 0;
            background: var(--white);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .trust-strip .container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
        }

        .trust-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.88rem;
            font-weight: 500;
            color: var(--slate);
        }

        .trust-item .t-icon {
            width: 36px;
            height: 36px;
            background: var(--deep-teal-light);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--deep-teal);
            font-size: 0.85rem;
        }

        /* ===================== REAL NUMBERS ===================== */
        .real-numbers {
            padding: 10px 0;
            background: var(--warm-ivory);
        }

        .section-label {
            font-size: 0.9rem;
            color: var(--deep-teal);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-bottom: 10px;
        }

        .section-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 2rem;
            font-weight: 600;
            color: var(--deep-teal);
            line-height: 1.25;
            margin-bottom: 16px;
            letter-spacing: -0.01em;
        }

        .section-subtitle {
            font-size: 0.95rem;
            color: var(--text-body);
            max-width: 560px;
            line-height: 1.7;
            font-weight: 400;
        }

        .real-numbers .section-header {
            margin-bottom: 36px;
        }

        .real-numbers .section-header .section-subtitle {
            margin-bottom: 12px;
        }

        .real-numbers .cards-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
        }

        .comp-card {
            background: var(--white);
            border-radius: 12px;
            padding: 28px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            margin-bottom: 16px;
        }

        .comp-card .comp-label {
            font-size: 0.78rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--text-body);
            margin-bottom: 6px;
        }

        .comp-card .comp-value {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--deep-teal);
            margin-bottom: 8px;
        }

        .comp-card .comp-note {
            font-size: 0.85rem;
            color: var(--text-body);
            line-height: 1.6;
        }

        .comp-warning {
            background: rgba(217, 119, 94, 0.08);
            border-left: 3px solid var(--terracotta);
            padding: 16px 20px;
            border-radius: 0 8px 8px 0;
            margin-top: 20px;
        }

        .comp-warning p {
            font-size: 0.88rem;
            color: var(--slate);
            line-height: 1.6;
        }

        .comp-warning strong {
            color: var(--deep-teal);
        }

        .real-numbers-right {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .fact-card {
            background: var(--white);
            border-radius: 12px;
            padding: 24px;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

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

        .fact-card h4 {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--deep-teal);
            margin-bottom: 6px;
        }

        .fact-card p {
            font-size: 0.88rem;
            color: var(--text-body);
            line-height: 1.6;
        }

        /* ===================== HOW IT WORKS ===================== */
        .how-it-works {
            padding: 56px 0;
            background: var(--white);
        }

        .how-it-works .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .how-it-works .section-subtitle {
            margin: 0 auto;
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            position: relative;
        }

        .steps-grid::before {
            content: '';
            position: absolute;
            top: 36px;
            left: 12%;
            right: 12%;
            height: 2px;
            background: repeating-linear-gradient(
                90deg,
                var(--sage) 0px,
                var(--sage) 8px,
                transparent 8px,
                transparent 16px
            );
        }

        .step-card {
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .step-num {
            width: 72px;
            height: 72px;
            background: var(--warm-ivory);
            border: 2px solid var(--sage);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--deep-teal);
            transition: all 0.3s ease;
        }

        .step-card:hover .step-num {
            background: var(--deep-teal);
            color: var(--white);
            border-color: var(--deep-teal);
        }

        .step-card h3 {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1rem;
            font-weight: 600;
            color: var(--slate);
            margin-bottom: 8px;
        }

        .step-card p {
            font-size: 0.85rem;
            color: var(--text-body);
            line-height: 1.6;
            max-width: 220px;
            margin: 0 auto;
        }

        /* ===================== WHY REALTALK ===================== */
        .why-realtalk {
            padding: 56px 0;
            background: var(--deep-teal);
            color: var(--white);
        }

        .why-realtalk .section-label {
            color: var(--sage);
        }

        .why-realtalk .section-title {
            color: var(--white);
        }

        .why-realtalk .section-subtitle {
            color: rgba(255, 255, 255, 0.7);
        }

        .why-realtalk .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .why-realtalk .section-subtitle {
            margin: 0 auto;
        }

        .why-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .why-card {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 28px;
            transition: all 0.3s ease;
        }

        .why-card:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-3px);
        }

        .why-card .w-icon {
            width: 44px;
            height: 44px;
            background: rgba(169, 199, 184, 0.2);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
            color: var(--deep-teal);
        }
        .why-card .w-icon svg {
            width: 22px;
            height: 22px;
        }

        .why-card h3 {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--white);
            margin-bottom: 8px;
        }

        .why-card p {
            font-size: 0.88rem;
            color: rgba(255, 255, 255, 0.65);
            line-height: 1.6;
        }

        /* ===================== REAL TALK SECTION ===================== */
        .real-talk {
            padding: 56px 0;
            background: var(--warm-ivory);
        }

        .real-talk .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
        }

        .real-talk-left .section-subtitle {
            margin-bottom: 24px;
        }

        .honesty-list {
            list-style: none;
        }

        .honesty-list li {
            display: flex;
            gap: 14px;
            margin-bottom: 20px;
            align-items: flex-start;
        }

        .honesty-list .h-marker {
            min-width: 24px;
            height: 24px;
            background: var(--sage-light);
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--deep-teal);
            font-size: 0.7rem;
            font-weight: 700;
            margin-top: 2px;
        }

        .honesty-list .h-text h4 {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--slate);
            margin-bottom: 2px;
        }

        .honesty-list .h-text p {
            font-size: 0.85rem;
            color: var(--text-body);
            line-height: 1.6;
        }

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

        .faq-item {
            background: var(--white);
            border-radius: 10px;
            border: 1px solid var(--border);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            box-shadow: var(--shadow-sm);
        }

        .faq-question {
            padding: 18px 20px;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--slate);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
            font-family: inherit;
            transition: color 0.3s ease;
        }

        .faq-question:hover {
            color: var(--deep-teal);
        }

        .faq-question .faq-toggle {
            font-size: 1.2rem;
            color: var(--sage);
            transition: transform 0.3s ease;
            font-weight: 300;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
        }

        .faq-answer.open {
            max-height: 200px;
        }

        .faq-answer-inner {
            padding: 0 20px 18px;
            font-size: 0.88rem;
            color: var(--text-body);
            line-height: 1.7;
        }

        .faq-item.active .faq-toggle {
            transform: rotate(45deg);
        }

        /* ===================== CTA SECTION ===================== */
        .cta-section {
            padding: 56px 0;
            background: linear-gradient(135deg, var(--deep-teal) 0%, #0B3A47 100%);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -60%;
            left: -10%;
            width: 50%;
            height: 200%;
            background: radial-gradient(ellipse, rgba(169, 199, 184, 0.08) 0%, transparent 70%);
        }

        .cta-section .container {
            position: relative;
            z-index: 1;
        }

        .cta-section h2 {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 2.2rem;
            font-weight: 600;
            color: var(--white);
            margin-bottom: 16px;
            letter-spacing: -0.01em;
        }

        .cta-section p {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 500px;
            margin: 0 auto 32px;
            line-height: 1.7;
        }

        .cta-section .btn-primary {
            padding: 16px 36px;
            font-size: 1rem;
        }

        .cta-section .cta-note {
            margin-top: 16px;
            font-size: 0.82rem;
            color: rgba(255, 255, 255, 0.5);
        }

        /* ===================== FOOTER ===================== */
        .footer {
            padding: 48px 0 24px;
            background: var(--warm-ivory);
            color: var(--text-body);
        }

        .footer-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-bottom: 32px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            margin-bottom: 24px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer .nav-logo .logo-harbor {
            color: var(--deep-teal);
        }

        .footer .nav-logo .logo-surrogacy {
            color: var(--slate);
        }

        .footer-links {
            display: flex;
            gap: 28px;
            list-style: none;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: var(--slate);
            text-decoration: none;
            font-size: 0.85rem;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--deep-teal);
        }

        .footer-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
        }

        .footer-bottom p {
            font-size: 0.8rem;
            color: var(--slate);
        }

        .footer-disclaimer {
            font-size: 0.78rem;
            color: var(--slate);
            max-width: 600px;
            line-height: 1.5;
        }

        /* ===================== RESPONSIVE ===================== */
        @media (max-width: 1024px) {
            .hero .container {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .hero::before { display: none; }

            .hero-content h1 { font-size: 2.3rem; }

            .hero-right { max-width: 480px; }

            .real-numbers .cards-row,
            .real-talk .container {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 32px;
            }

            .steps-grid::before { display: none; }

            .why-grid {
                grid-template-columns: 1fr;
                max-width: 500px;
                margin: 0 auto;
            }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-toggle { display: block; }

            .nav-links.active {
                display: flex;
                position: fixed;
                top: 68px;
                left: 0;
                right: 0;
                background: var(--warm-ivory);
                flex-direction: column;
                padding: 24px;
                gap: 16px;
                box-shadow: var(--shadow-lg);
                border-top: 1px solid var(--border);
            }

            .hero { padding: 90px 0 40px; }
            .hero-content h1 { font-size: 2rem; }
            .hero-reassurance { flex-direction: column; gap: 10px; }

            .section-title { font-size: 1.65rem; }

            .trust-strip .container {
                flex-direction: column;
                gap: 16px;
            }

            .results-grid-responsive { grid-template-columns: 1fr !important; }

            .steps-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .step-card {
                display: grid;
                grid-template-columns: 56px 1fr;
                grid-template-rows: auto auto;
                text-align: left;
                gap: 0 16px;
                align-items: start;
            }

            .step-num {
                width: 52px;
                height: 52px;
                font-size: 1.15rem;
                margin: 0;
                grid-row: 1 / 3;
                align-self: center;
            }

            .step-card h3 {
                font-size: 1.05rem;
                margin-bottom: 4px;
                align-self: end;
            }

            .step-card p {
                font-size: 0.9rem;
                max-width: none;
                margin: 0;
                align-self: start;
            }

            .cta-section h2 { font-size: 1.8rem; }

            .footer-top { flex-direction: column; text-align: center; }
            .footer-links { justify-content: center; }
            .footer-bottom { flex-direction: column; text-align: center; }
        }

        @media (max-width: 480px) {
            .hero-content h1 { font-size: 1.7rem; }
            .hero-buttons { flex-direction: column; }
            .hero-buttons .btn-primary,
            .hero-buttons .btn-secondary { width: 100%; justify-content: center; }
        }

        /* ===================== QUIZ MODAL ===================== */
        .quiz-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            z-index: 2000;
            background: rgba(46, 58, 67, 0.5);
            backdrop-filter: blur(4px);
            align-items: center;
            justify-content: center;
            padding: 24px;
            animation: overlayIn 0.25s ease;
        }
        .quiz-overlay.open { display: flex; }

        @keyframes overlayIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .qm-card {
            background: var(--white);
            border-radius: 16px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-lg);
            max-width: 720px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            display: flex;
            flex-direction: column;
            animation: cardIn 0.3s ease;
        }

        @keyframes cardIn {
            from { opacity: 0; transform: translateY(20px) scale(0.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .qm-header {
            padding: 28px 48px 0;
        }
        .qm-header-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
        }
        .qm-brand {
            font-size: 0.95rem;
            color: var(--text-body);
            font-weight: 500;
        }
        .qm-brand span {
            font-family: 'Fraunces', Georgia, serif;
            color: var(--deep-teal);
            font-weight: 600;
            font-size: 1.1rem;
            font-variation-settings: 'WONK' 0;
        }
        .qm-step-label {
            font-size: 0.85rem;
            color: var(--deep-teal);
            font-weight: 600;
        }
        .qm-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-body);
            cursor: pointer;
            padding: 4px 8px;
            line-height: 1;
            margin-left: 12px;
        }
        .qm-close:hover { color: var(--slate); }
        .qm-progress-bg {
            height: 5px;
            background: var(--deep-teal-light);
            border-radius: 4px;
            overflow: hidden;
        }
        .qm-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--sage), var(--deep-teal));
            border-radius: 4px;
            transition: width 0.4s ease;
            width: 0%;
        }

        .qm-body { padding: 40px 48px 36px; }

        .qm-screen {
            display: none;
            animation: qmFadeIn 0.3s ease;
        }
        .qm-screen.active { display: block; }

        @keyframes qmFadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .qm-question {
            font-family: 'Fraunces', Georgia, serif;
            font-variation-settings: 'WONK' 0;
            font-size: 2rem;
            font-weight: 600;
            color: var(--deep-teal);
            margin-bottom: 18px;
            line-height: 1.3;
        }

        .qm-helper {
            font-size: 0.95rem;
            color: var(--text-body);
            margin-bottom: 24px;
            line-height: 1.6;
        }

        .qm-why {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.78rem;
            color: var(--sage);
            cursor: pointer;
            margin-bottom: 18px;
            background: none;
            border: none;
            font-family: inherit;
            padding: 0;
            transition: color 0.2s ease;
        }
        .qm-why:hover { color: var(--deep-teal); }
        .qm-why svg {
            width: 14px;
            height: 14px;
            transition: transform 0.2s ease;
        }
        .qm-why.open svg { transform: rotate(180deg); }
        .qm-why-text {
            font-size: 0.82rem;
            color: var(--text-body);
            line-height: 1.6;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, margin 0.3s ease;
            margin-bottom: 0;
        }
        .qm-why-text.open {
            max-height: 80px;
            margin-bottom: 16px;
        }

        .qm-options {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .qm-opt {
            display: flex;
            align-items: center;
            gap: 14px;
            width: 100%;
            padding: 18px 24px;
            background: var(--warm-ivory);
            border: 1px solid var(--border);
            border-radius: 10px;
            font-family: inherit;
            font-size: 1.1rem;
            color: var(--slate);
            text-align: left;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .qm-opt:hover {
            border-color: var(--sage);
            background: var(--sage-light);
        }
        .qm-opt.selected {
            border-color: var(--deep-teal);
            background: var(--deep-teal-light);
        }
        .qm-dot {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 2px solid rgba(15, 76, 92, 0.25);
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: border-color 0.2s ease;
        }
        .qm-opt.selected .qm-dot {
            border-color: var(--deep-teal);
        }
        .qm-opt.selected .qm-dot::after {
            content: '';
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--deep-teal);
        }


        .qm-input-group { margin-bottom: 14px; }
        .qm-input-group label {
            display: block;
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--text-body);
            margin-bottom: 6px;
        }
        .qm-input {
            width: 100%;
            padding: 13px 16px;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-family: inherit;
            font-size: 0.9rem;
            color: var(--slate);
            background: var(--warm-ivory);
            transition: border-color 0.2s ease;
            outline: none;
        }
        .qm-input:focus {
            border-color: var(--deep-teal);
        }
        .qm-input::placeholder { color: rgba(74, 85, 96, 0.4); }
        select.qm-input {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%234A5560' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center;
            padding-right: 36px;
        }
        .qm-input-row {
            display: flex;
            gap: 10px;
        }
        .qm-input-row .qm-input-group { flex: 1; }

        .qm-btn-next {
            display: block;
            width: 100%;
            padding: 14px;
            background: var(--deep-teal);
            color: var(--white);
            border: none;
            border-radius: 6px;
            font-family: inherit;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            margin-top: 20px;
            transition: all 0.2s ease;
        }
        .qm-btn-next:hover {
            background: var(--deep-teal-hover);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(15, 76, 92, 0.3);
        }

        .qm-btn-back {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 6px 0;
            background: none;
            border: none;
            font-family: inherit;
            font-size: 0.83rem;
            color: var(--text-body);
            cursor: pointer;
            margin-top: 10px;
        }
        .qm-btn-back:hover { color: var(--deep-teal); }

        .qm-sub {
            font-size: 0.88rem;
            color: var(--text-body);
            line-height: 1.65;
            margin-bottom: 8px;
        }

        .qm-encourage {
            text-align: center;
            padding: 12px 0 4px;
        }
        .qm-encourage-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: var(--sage-light);
            border: 2px solid var(--sage);
            margin-bottom: 18px;
            font-size: 1.4rem;
        }

        .qm-privacy-note {
            text-align: center;
            font-size: 0.78rem;
            color: rgba(74, 85, 96, 0.5);
            margin-top: 12px;
        }

        .qm-state-caution {
            background: rgba(217, 151, 94, 0.12);
            border: 1px solid rgba(217, 151, 94, 0.35);
            border-radius: 12px;
            padding: 16px 18px;
            margin-top: 14px;
            text-align: left;
        }
        .qm-state-caution-icon {
            color: #a66f1f;
            margin-bottom: 8px;
        }
        .qm-state-caution-text {
            font-size: 0.88rem;
            color: var(--text-body);
            line-height: 1.6;
            margin: 0 0 14px;
        }
        .qm-state-caution-btn {
            display: inline-block;
            background: var(--deep-teal);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 10px 22px;
            font-size: 0.92rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }
        .qm-state-caution-btn:hover {
            background: var(--deep-teal-hover);
        }

        .qm-error {
            font-size: 0.78rem;
            color: #c0392b;
            margin-top: 4px;
            display: none;
        }
        .qm-error.visible { display: block; }

        /* ===================== PERSONALIZATION CARDS ===================== */
        .qm-pq-label {
            font-size: 0.78rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--primary);
            margin-bottom: 12px;
        }
        .qm-pq-options {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 16px;
        }
        .qm-pq-card {
            display: flex;
            align-items: center;
            gap: 14px;
            width: 100%;
            padding: 18px 20px;
            border-radius: 12px;
            border: 2px solid #eee;
            background: #fff;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: left;
            font-family: inherit;
        }
        .qm-pq-card:hover {
            border-color: var(--primary-light);
            background: var(--secondary);
            transform: translateY(-1px);
        }
        .qm-pq-card.selected {
            border-color: var(--primary);
            background: var(--secondary);
            box-shadow: 0 0 0 1px var(--primary);
        }
        .qm-pq-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            border-radius: 10px;
            background: var(--secondary);
            color: var(--primary);
            font-size: 1.05rem;
        }
        .qm-pq-card.selected .qm-pq-icon {
            background: var(--primary);
            color: #fff;
        }
        .qm-pq-title {
            font-size: 1.08rem;
            font-weight: 600;
            color: var(--slate);
            line-height: 1.35;
        }
        .qm-pq-desc {
            font-size: 0.82rem;
            color: #777;
            margin-top: 2px;
            line-height: 1.3;
        }
        .qm-pq-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            flex-wrap: wrap;
            gap: 8px;
        }
        .qm-pq-next:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        .qm-pq-skip {
            width: 100%;
            text-align: center;
            font-size: 0.82rem;
            color: var(--text-medium);
            text-decoration: underline;
            margin-top: 4px;
        }
        .qm-pq-skip:hover {
            color: var(--primary);
        }
        .qm-loading-spinner {
            width: 48px;
            height: 48px;
            border: 4px solid var(--secondary);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: qmSpin 0.8s linear infinite;
            margin: 0 auto;
        }
        @keyframes qmSpin {
            to { transform: rotate(360deg); }
        }

        @media (max-width: 600px) {
            .quiz-overlay { padding: 0; align-items: center; justify-content: center; }
            .qm-card { border-radius: 0; max-height: 100vh; height: auto; margin: auto; }
            .qm-body { padding: 32px 24px 28px; }
            .qm-question { font-size: 1.55rem; }
            .qm-header { padding: 20px 24px 0; }
            .qm-brand { font-size: 0.88rem; }
            .qm-brand span { font-size: 1rem; }
            .qm-step-label { font-size: 0.82rem; }
            .qm-opt { padding: 16px 20px; font-size: 1.05rem; }
            .qm-input-row { flex-direction: column; gap: 0; }
        }

        /* ===================== COOKIE CONSENT ===================== */
        /* ===================== STICKY MOBILE CTA ===================== */
        .mobile-cta-bar {
            display: none;
        }
        @media (max-width: 768px) {
            .mobile-cta-bar {
                display: block;
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                z-index: 1500;
                background: var(--warm-ivory);
                border-top: 1px solid var(--border);
                box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
                padding: 12px 16px;
                padding-bottom: calc(12px + env(safe-area-inset-bottom));
                transition: transform 0.25s ease;
            }
            .mobile-cta-bar.hidden {
                transform: translateY(100%);
            }
            .mobile-cta-bar-btn {
                display: block;
                width: 100%;
                padding: 14px 20px;
                background: var(--deep-teal);
                color: #fff;
                border: none;
                border-radius: 10px;
                font-family: inherit;
                font-size: 1rem;
                font-weight: 700;
                cursor: pointer;
                text-align: center;
                text-decoration: none;
            }
        }

        /* ===================== STATE COMP CALCULATOR ===================== */
        .state-calc {
            margin-top: 32px;
            background: var(--white);
            border-radius: 12px;
            padding: 28px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
        }
        .state-calc-header {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--deep-teal);
            margin-bottom: 4px;
        }
        .state-calc-sub {
            font-size: 0.88rem;
            color: var(--text-body);
            margin-bottom: 16px;
        }
        .state-calc-select {
            width: 100%;
            padding: 12px 16px;
            border-radius: 8px;
            border: 1px solid var(--border);
            font-family: 'DM Sans', system-ui, sans-serif;
            font-size: 0.95rem;
            color: var(--slate);
            background: var(--warm-ivory);
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%234A5560' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
        }
        .state-calc-select:focus {
            outline: none;
            border-color: var(--sage);
            box-shadow: 0 0 0 3px var(--sage-light);
        }
        .state-calc-result {
            display: none;
            margin-top: 20px;
        }
        .state-calc-result.visible { display: block; }
        .state-calc-state-name {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--deep-teal);
            margin-bottom: 14px;
        }
        .state-calc-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 14px;
        }
        .state-calc-box {
            background: var(--warm-ivory);
            border-radius: 8px;
            padding: 16px;
            border: 1px solid var(--border);
            text-align: center;
        }
        .state-calc-box-label {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--text-body);
            margin-bottom: 4px;
        }
        .state-calc-box-value {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--deep-teal);
        }
        .state-calc-total {
            background: var(--deep-teal-light);
            border-radius: 8px;
            padding: 16px;
            text-align: center;
            margin-bottom: 14px;
        }
        .state-calc-total-label {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--deep-teal);
            margin-bottom: 4px;
        }
        .state-calc-total-value {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.6rem;
            font-weight: 600;
            color: var(--deep-teal);
        }
        .state-calc-total-note {
            font-size: 0.78rem;
            color: var(--text-body);
            margin-top: 4px;
        }
        .state-calc-badge {
            display: inline-block;
            background: var(--sage-light);
            color: var(--deep-teal);
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 20px;
            margin-bottom: 12px;
        }
        .state-calc-not-viable {
            background: rgba(217, 119, 94, 0.08);
            border-left: 3px solid var(--terracotta);
            padding: 16px 20px;
            border-radius: 0 8px 8px 0;
        }
        .state-calc-not-viable p {
            font-size: 0.88rem;
            color: var(--slate);
            line-height: 1.6;
        }
        .state-calc-disclaimer {
            font-size: 0.78rem;
            color: var(--text-body);
            line-height: 1.5;
            margin-top: 4px;
        }
        @media (max-width: 768px) {
            .state-calc-grid { grid-template-columns: 1fr; }
        }

        /* Brand v3.0: Deep Teal carries CTAs; terracotta is accent-only. Overrides for markup rendered by the state calculator script. */
        .state-calc-result a[onclick] { background: var(--deep-teal) !important; }
        .state-calc-result a[onclick]:hover { background: var(--deep-teal-hover) !important; }
        .state-calc-not-viable strong { color: var(--deep-teal) !important; }
