/* === VARIABLES === */
:root {
    --brand-eerie-black:     #1A2421;
    --brand-black-olive:     #212D25;
    --brand-brunswick-green: #274231;
    --brand-spring-rain:     #ACBFA4;
    --brand-celery-satin:    #d0d8be;
    --brand-afwhite:         #EFEFEF;
    --brand-seasalt:         #F7F7F7;
    --brand-feedback-yellow: #D4A237;
    --brand-cafe-noir:       #492D09;
    --brand-bistre:          #362207;
    --brand-text-light:      #f8f9fa;
    --brand-text-dark:       #091A12;

    /* Extended palette for depth */
    --brand-yellow-glow:     rgba(212, 162, 55, 0.15);
    --brand-green-glow:      rgba(172, 191, 164, 0.08);
    --brand-deep-shadow:     rgba(9, 26, 18, 0.6);

    --ui-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    --ui-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    --ui-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
    --ui-shadow-glow: 0 0 40px var(--brand-yellow-glow), 0 0 80px var(--brand-yellow-glow);

    --glass-bg: rgba(39, 66, 49, 0.35);
    --glass-border: rgba(172, 191, 164, 0.12);
    --glass-blur: 16px;

    --nav-height: 72px;

    --font-body: 'Inter', -apple-system, sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--brand-text-dark);
    background-color: var(--brand-eerie-black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

em {
    font-style: italic;
}

/* === NOISE OVERLAY === */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* === UTILITY === */
.section-inner {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 6.5rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.mobile-break { display: none; }
.desktop-break { display: block; }
.persona-accordion-body { display: none; }

.section-header em,
.section-header .section-header-accent {
    color: var(--brand-feedback-yellow);
}

/* === REVEAL ANIMATION === */
.reveal-element {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(8px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes breathe {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(172, 191, 164, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(172, 191, 164, 0); }
}

/* === NAV === */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
}

.site-nav.scrolled {
    background: var(--brand-eerie-black);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(172, 191, 164, 0.06);
}

.nav-logo {
    height: 35px;
    width: auto;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.site-nav.scrolled .nav-logo {
    opacity: 0.9;
}

.site-nav.scrolled .nav-logo:hover {
    opacity: 1;
}

.nav-right {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-request-access {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--brand-text-dark);
    background: var(--brand-feedback-yellow);
    border: 1px solid transparent;
    padding: 0.3rem 1.25rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
    line-height: inherit;
    display: inline-block;
    box-sizing: border-box;
}

.nav-request-access:hover {
    color: var(--brand-text-dark);
    background: #c89630;
}

.nav-sign-in-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--brand-spring-rain);
    cursor: pointer;
    background: none;
    border: 1px solid rgba(172, 191, 164, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.nav-sign-in-link:hover {
    color: var(--brand-text-light);
    border-color: rgba(172, 191, 164, 0.4);
    background: rgba(172, 191, 164, 0.06);
}

.sign-in-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(26, 36, 33, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    width: 300px;
    box-shadow: var(--ui-shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 250ms var(--ease-out-expo), opacity 200ms ease;
    z-index: 1001;
}

.sign-in-dropdown.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sign-in-dropdown input {
    display: block;
    width: 100%;
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.75rem;
    background: rgba(39, 66, 49, 0.5);
    color: var(--brand-text-light);
    border: 1px solid rgba(172, 191, 164, 0.1);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.sign-in-dropdown input::placeholder {
    color: var(--brand-spring-rain);
    opacity: 0.5;
    font-size: 0.8rem;
}

.sign-in-dropdown input:focus {
    border-color: rgba(172, 191, 164, 0.35);
    background: rgba(39, 66, 49, 0.7);
}

.sign-in-dropdown .btn-sign-in {
    display: block;
    width: 100%;
    padding: 0.7rem;
    background: var(--brand-cafe-noir);
    color: var(--brand-text-light);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid var(--brand-cafe-noir);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    letter-spacing: 0.01em;
}

.sign-in-dropdown .btn-sign-in:hover {
    background: var(--brand-bistre);
    border-color: var(--brand-bistre);
}

/* Sign-in dropdown — forgot password flow */
.sign-in-dropdown .d-none { display: none; }

.dropdown-footer {
    margin-top: 0.75rem;
    text-align: center;
}

.dropdown-toggle-link {
    font-size: 0.8rem;
    color: var(--brand-afwhite);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dropdown-toggle-link:hover {
    color: var(--brand-afwhite);
}

.dropdown-underlined-link {
    text-decoration: underline;
}

.dropdown-message {
    font-size: 0.85rem;
    color: var(--brand-spring-rain);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.dropdown-message-muted {
    font-size: 0.8rem;
    color: var(--brand-spring-rain);
    opacity: 0.6;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.dropdown-error {
    font-size: 0.8rem;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.25);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
}

.sign-in-dropdown .btn-reset-send {
    display: block;
    width: 100%;
    padding: 0.7rem;
    background: var(--brand-cafe-noir);
    color: var(--brand-text-light);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid var(--brand-cafe-noir);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    letter-spacing: 0.01em;
}

.sign-in-dropdown .btn-reset-send:hover {
    background: var(--brand-bistre);
    border-color: var(--brand-bistre);
}

.sign-in-dropdown .btn-reset-send:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* === HERO === */
.hero {
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #091A12 80%);
    padding: 0;
    position: relative;
}

.hero-blueprint {
    position: absolute;
    inset: 0;
    background-image: url('./images/house-plan-blueprint.png');
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 1;
    min-height: 0;
}

.hero-left {
    flex: 1 1 55%;
    padding-right: 3rem;
}

.hero-right {
    flex: 1 1 45%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
}

.hero-phone {
    height: 100vh;
    width: auto;
    max-width: none;
    position: relative;
    transform: translateX(-23vw);
    flex-shrink: 0;
    pointer-events: none;
}

.hero-headline {
    font-family: var(--font-body);
    font-size: 8.5rem;
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    opacity: 0;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.hero-headline-white {
    display: block;
    color: #F8F9FA;
}

.hero-headline-green {
    display: block;
    color: #ACBFA4;
}

.hero-subheadline {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(172, 191, 164, 0.75);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 2.25rem;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.hero-cta-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero-cta {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    display: inline-block;
}

.hero-cta-primary {
    background: var(--brand-feedback-yellow);
    color: #091A12;
}

.hero-cta-primary:hover {
    background: #c89630;
    color: #091A12;
}

.hero-cta-secondary {
    background: #274231;
    color: #ACBFA4;
}

.hero-cta-secondary:hover {
    background: #2f4f3b;
    color: #c0d1b9;
}

.hero-animated {
    animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--brand-spring-rain);
    opacity: 0.5;
    animation: pulse 2.5s ease-in-out infinite;
    transition: opacity 0.5s ease;
    font-size: 1.75rem;
    line-height: 1;
    z-index: 1;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

/* === STATS BAR === */
.stats-bar {
    background: #091A12;
    height: 300px;
    display: flex;
    align-items: center;
}

.stats-bar-inner {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 1.5rem;
}

.stat-block {
    text-align: center;
    padding: 2rem 1.25rem 3rem;
    background: rgba(39, 66, 49, 0.25);
    border: 1px solid rgba(172, 191, 164, 0.08);
    border-radius: 16px;
    position: relative;
    transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease;
    flex: 1;
    max-width: 280px;
    width: 280px;
    height: 220px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.stat-block:hover {
    transform: translateY(-4px);
    border-color: rgba(172, 191, 164, 0.18);
}

.stat-block::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-feedback-yellow), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-block:hover::before {
    opacity: 0.6;
}

.stat-number {
    font-family: var(--font-body);
    font-size: clamp(2.75rem, 4.5vw, 3rem);
    font-weight: 600;
    color: var(--brand-feedback-yellow);
    line-height: 1;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 40px rgba(212, 162, 55, 0.2);
}

.stat-descriptor {
    font-weight: 400;
    color: var(--brand-text-light);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0.6rem;
}

.stat-source {
    position: absolute;
    bottom: 32px;
    left: 21px;
    right: 21px;
    font-weight: 300;
    font-size: 0.7rem;
    line-height: 1.6;
    color: var(--brand-spring-rain);
    opacity: 0.5;
    letter-spacing: 0.02em;
}

/* === PROBLEM === */
.problem {
    background-color: var(--brand-seasalt);
    padding: 7rem 0;
    position: relative;
}

.problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(33, 45, 37, 0.03), transparent);
    pointer-events: none;
}

.problem .section-header {
    color: var(--brand-text-dark);
    margin-bottom: 5rem;
}

.problem-subsection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.problem-subsection.visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-subsection:last-child {
    margin-bottom: 0;
}

.problem-subsection.reverse .problem-text {
    order: 2;
}

.problem-subsection.reverse .problem-visual {
    order: 1;
}

.problem-text h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(1.4rem, 2.2vw, 1.625rem);
    color: var(--brand-text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.problem-text p {
    font-weight: 400;
    color: rgba(9, 26, 18, 0.75);
    line-height: 1.75;
    font-size: 0.95rem;
    max-width: 480px;
}

/* Problem decorative visuals */
.problem-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-deco {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--brand-eerie-black), var(--brand-black-olive));
    border-radius: 16px;
    border: 1px solid rgba(172, 191, 164, 0.1);
    box-shadow: var(--ui-shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Map deco — 22k jurisdictions */
.problem-deco-map {
    background: var(--brand-eerie-black);
    padding: 1.5rem;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.map-dots {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    fill: var(--brand-feedback-yellow);
}

.map-dot {
    opacity: 0;
    transform-origin: center;
    transform-box: fill-box;
}

.map-dot.bloomed {
    animation: dotBloom 0.9s var(--ease-out-back) forwards;
}

@keyframes dotBloom {
    0%   { opacity: 0; transform: scale(0.4); }
    60%  { opacity: 1; transform: scale(1.4); }
    80%  { opacity: 0.9; transform: scale(1.1); }
    100% { opacity: var(--dot-resting-opacity); transform: scale(1); }
}

/* Layers deco — code suites */
.problem-deco-layers {
    flex-direction: column;
    gap: 0;
    padding: 2rem;
    align-items: stretch;
    justify-content: center;
    background: linear-gradient(160deg, var(--brand-eerie-black), var(--brand-black-olive));
}

.deco-layer {
    padding: 0.5rem 1.25rem;
    margin: 0.2rem 0;
    background: rgba(39, 66, 49, 0.5);
    border: 1px solid rgba(172, 191, 164, 0.1);
    border-radius: 6px;
    color: var(--brand-spring-rain);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.deco-layer.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.deco-layer:nth-child(1) { margin-left: 0; }
.deco-layer:nth-child(2) { margin-left: 1rem; }
.deco-layer:nth-child(3) { margin-left: 2rem; }
.deco-layer:nth-child(4) { margin-left: 1.5rem; }
.deco-layer:nth-child(5) { margin-left: 0.5rem; }
.deco-layer:nth-child(6) { margin-left: 1.25rem; }

/* Text deco — readability */
.problem-deco-text {
    padding: 2.5rem;
    align-items: flex-start;
    background: linear-gradient(140deg, #1e2e24, var(--brand-black-olive));
}

.deco-text-block {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}

.deco-redacted {
    display: block;
    height: 10px;
    background: rgba(172, 191, 164, 0.12);
    border-radius: 3px;
    width: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out-expo);
}

.deco-redacted.grown {
    transform: scaleX(1);
}

.deco-redacted.short { width: 65%; }
.deco-redacted.medium { width: 82%; }

.deco-highlight {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    color: transparent;
    padding: 0.5rem 0.75rem;
    background: rgba(212, 162, 55, 0.08);
    border-left-style: solid;
    border-left-color: transparent;
    border-left-width: 3px;
    border-radius: 0 6px 6px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    max-width: none;
    opacity: 0;
    transition: none;
}

.deco-highlight.beat-1 {
    opacity: 1;
    border-left-color: var(--brand-feedback-yellow);
    transition: opacity 0.25s ease, border-left-color 0.25s ease;
}

.deco-highlight.beat-2 {
    width: 280px;
    transition: width 0.55s var(--ease-out-expo);
}

.deco-highlight.beat-3 {
    color: var(--brand-feedback-yellow);
    transition: none;
}

/* Journey deco — time disappears */
.problem-deco-journey {
    background: var(--brand-eerie-black);
    padding: 0;
}

.clock-group {
    transform: scale(2);
    transform-origin: 210px 210px;
}

.clock-glow {
    animation: breathe 4s ease-in-out infinite;
}

.clock-minute {
    transform-origin: 210px 210px;
    animation: clockTick 12s linear infinite;
}

@keyframes clockTick {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.friction-path {
    stroke-dashoffset: 0;
    animation: frictionDrift 8s ease-in-out infinite alternate;
}

@keyframes frictionDrift {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 14; }
}

/* === HOW IT WORKS === */
.how-it-works {
    background-color: var(--brand-eerie-black);
    padding: 6.25rem 0;
    position: relative;
}

.how-it-works .section-header {
    color: var(--brand-text-light);
    margin-bottom: 4rem;
}

.steps-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.step-card {
    position: relative;
    width: 397px;
    height: 351px;
    background: var(--brand-brunswick-green);
    border-radius: 10px;
    overflow: hidden;
    border-right: 3px solid transparent;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo), border-color 0.25s ease, box-shadow 0.4s var(--ease-out-expo);
}

.step-card.active {
    opacity: 1;
    transform: translateY(0);
    border-right-color: var(--brand-spring-rain);
}

.step-card:hover {
    border-right-color: var(--brand-spring-rain);
    transform: translateY(-4px);
    box-shadow: var(--ui-shadow-lg);
}

.step-card-content {
    position: absolute;
    top: 105px;
    left: 0;
    right: 0;
    padding: 0 30px;
    z-index: 1;
}

.step-card-watermark {
    position: absolute;
    top: 0;
    right: 12px;
    font-family: var(--font-body);
    font-size: 14rem;
    font-weight: 600;
    color: rgba(239, 239, 239, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    text-align: right;
}

.step-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--brand-afwhite);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.step-body {
    font-weight: 400;
    color: var(--brand-spring-rain);
    line-height: 1.58;
    font-size: 0.95rem;
    max-width: 336px;
}

/* === PERSONAS === */
.personas {
    background: var(--brand-eerie-black);
    padding: 7rem 0;
    position: relative;
}

.personas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(172, 191, 164, 0.12), transparent);
}

.personas .section-header {
    color: var(--brand-text-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.personas-layout {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 3rem;
}

.persona-tabs {
    position: relative;
    padding-left: 2px;
}

.persona-tabs::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(212, 162, 55, 0), var(--brand-feedback-yellow) 50%, rgba(212, 162, 55, 0));
}

.persona-tab {
    border-radius: 0 10px 10px 0;
    background: var(--brand-brunswick-green);
    border: none;
    width: 94%;
    padding: 0.7rem 1.25rem;
    color: var(--brand-spring-rain);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 5px;
    position: relative;
}

.persona-tab:hover {
    background: var(--brand-afwhite);
    color: var(--brand-text-dark);
}

.persona-tab.active {
    background: var(--brand-afwhite);
    border-right: 3px solid var(--brand-spring-rain);
    width: 100%;
    color: var(--brand-text-dark);
    font-weight: 500;
    box-shadow: var(--ui-shadow-md);
}

.persona-description-panel {
    display: flex;
    align-items: flex-start;
    padding: 2.5rem;
    background: var(--brand-brunswick-green);
    border: 1px solid rgba(172, 191, 164, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-height: 200px;
}

.persona-description {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.persona-description.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.persona-description h3 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--brand-afwhite);
    margin-bottom: 1rem;
    line-height: 1;
}

.persona-description p {
    font-weight: 300;
    color: var(--brand-spring-rain);
    line-height: 1.45;
    font-size: 18px;
    max-width: 525px;
}

/* === PERSONAS REDESIGN === */
.pc-tab-row {
    display: flex;
    justify-content: center;
    gap: 0.15rem;
    flex-wrap: nowrap;
    margin-bottom: 3rem;
}

.pc-tab {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--brand-spring-rain);
    background: none;
    border: none;
    padding: 0.45rem 0.7rem;
    cursor: pointer;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.25s ease, background 0.25s ease;
    letter-spacing: 0.01em;
}

.pc-tab:hover {
    color: var(--brand-text-light);
    background: rgba(172, 191, 164, 0.08);
}

.pc-tab-active {
    color: var(--brand-feedback-yellow);
}

.pc-tab-active:hover {
    color: var(--brand-feedback-yellow);
    background: none;
}

.pc-stage {
    position: relative;
    height: 420px;
    max-width: 900px;
    margin: 0 auto;
}

.pc-track {
    /* Desktop: track is transparent, cards use absolute positioning */
    position: static;
    width: 100%;
    height: 100%;
}

.pc-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 556px;
    padding: 2.5rem;
    background: var(--brand-brunswick-green);
    border-radius: 12px;
    box-sizing: border-box;
    transition: transform 0.28s ease-out, opacity 0.28s ease-out;
    will-change: transform, opacity;
}

.pc-card img {
    margin-bottom: 1.25rem;
}

.pc-card h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.35rem;
    color: #F8F9FA;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pc-card p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.925rem;
    color: #ACBFA4;
    line-height: 1.65;
}

/* Active center card */
.pc-card-active {
    transform: translate(-50%, -50%);
    opacity: 1;
    z-index: 3;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* Left peek card */
.pc-card-left {
    transform: translate(calc(-50% - 340px), -50%) scale(0.89);
    opacity: 0.6;
    z-index: 2;
}

/* Right peek card */
.pc-card-right {
    transform: translate(calc(-50% + 340px), -50%) scale(0.89);
    opacity: 0.6;
    z-index: 2;
}

/* Hidden cards */
.pc-card-hidden {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* === AI OBJECTION === */
.ai-objection-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    font-weight: 900;
    color: #6B7B72;
    margin-bottom: 1.75rem;
}

.ai-objection-body {
    background: #FFFFFF;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.ai-objection-zone-1 {
    padding: 80px 0 0;
}

.ai-objection-centered {
    margin: 0 auto;
    text-align: center;
}

.ai-objection-zone-2 {
    padding: 0 0 140px;
}

.ai-objection-columns {
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: 0rem;
    align-items: start;
    position: relative;
}

.ai-objection-left {
    text-align: left;
}

.ai-objection-right {
    position: relative;
}

.mockup-container {
    position: absolute;
    right: -331px;
    top: 30px;
    width: 1050px;
    z-index: 10;
}

.mockup-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: none;
    margin: 0;
}

.ai-objection-headline {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--brand-text-dark);
    margin-bottom: 48px;
}

.ai-objection-headline span {
    color: var(--brand-feedback-yellow);
}

.ai-objection-para {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #757575;
    margin-bottom: 32px;
}

.ai-objection-callout {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    line-height: 26px;
    color: var(--brand-text-dark);
    margin-bottom: 32px;
}

.ai-objection-bar-bottom {
    background: var(--brand-brunswick-green);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.ai-objection-bar-bottom-text {
    font-family: var(--font-body);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--brand-text-light);
}

.ai-objection-bar-bottom-text span {
    color: var(--brand-feedback-yellow);
}

/* === JURISDICTIONS === */
.jurisdictions {
    background: var(--brand-eerie-black);
    padding: 7rem 0;
    position: relative;
}

.jurisdictions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(172, 191, 164, 0.12), transparent);
}

.jurisdictions .section-header {
    color: var(--brand-text-light);
    margin-bottom: 4rem;
}

.coverage-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

.coverage-card {
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.coverage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(172, 191, 164, 0.2);
    box-shadow: var(--ui-shadow-lg);
}

.coverage-card-state {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--brand-feedback-yellow);
    text-transform: uppercase;
    letter-spacing: 0.068em;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.coverage-card ul li {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    font-weight: 400;
    color: var(--brand-celery-satin);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    line-height: 1.5;
    border-bottom: 1px solid rgba(172, 191, 164, 0.05);
}

.coverage-card ul li:last-child {
    border-bottom: none;
}

.coverage-dot {
    flex-shrink: 0;
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--brand-spring-rain);
    border-radius: 50%;
    position: relative;
    top: -1px;
    animation: dotPulse 3s ease-in-out infinite;
}

.expansion-pitch {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    padding-top: 5rem;
}

.expansion-pitch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -290px;
    right: -290px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(172, 191, 164, 0.12), transparent);
}

.expansion-pitch h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 2.5rem;
    color: var(--brand-text-light);
    margin-bottom: 1.5rem;
}

.expansion-pitch p {
    font-weight: 400;
    color: var(--brand-spring-rain);
    line-height: 26px;
    margin-bottom: 1rem;
    font-size: 16px;
}

.expansion-pitch strong {
    color: var(--brand-text-light);
    font-weight: 600;
}

.expansion-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--brand-feedback-yellow);
    font-weight: 500;
    font-size: 0.875rem;
    transition: gap 0.3s ease;
    border-bottom: 1px solid rgba(212, 162, 55, 0.3);
    padding-bottom: 2px;
}

.expansion-link:hover {
    gap: 0.75rem;
    border-bottom-color: var(--brand-feedback-yellow);
}

/* === FOR THE NERDS === */
.for-the-nerds {
    background: var(--brand-seasalt);
    position: relative;
    overflow: visible;
}

.nerds-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    min-height: 600px;
}

.nerds-left {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    overflow: visible;
    padding-top: 80px;
}

.nerds-screenshot-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    overflow: visible;
}

.nerds-screenshot {
    width: 500px;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: -120px;
}

.nerds-right {
    padding: 100px 80px 100px 60px;
    display: flex;
    align-items: center;
}

.nerds-content {
    max-width: 520px;
}

.nerds-header {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-text-dark);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.nerds-body {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #757575;
    margin-bottom: 1.5rem;
}

.nerds-header-accent {
    color: var(--brand-feedback-yellow);
}

.nerds-closing {
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-text-dark);
    margin-top: 2.5rem;
    margin-bottom: 0;
    line-height: 1.3;
}

/* === CLOSING CTA === */
.closing-cta {
    background: var(--brand-brunswick-green);
    padding: 7rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.closing-cta-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(212, 162, 55, 0.06), transparent 65%);
    pointer-events: none;
    animation: breathe 10s ease-in-out infinite;
}

.closing-cta .section-header {
    color: var(--brand-text-light);
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.closing-cta-body {
    font-weight: 400;
    color: var(--brand-spring-rain);
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto 3rem;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.closing-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 2.5rem;
    background: var(--brand-feedback-yellow);
    color: var(--brand-text-dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
}

.closing-cta-secondary {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--brand-spring-rain);
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

/* === FOOTER === */
.site-footer {
    background-color: var(--brand-eerie-black);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(172, 191, 164, 0.06);
}

.footer-copy,
.footer-email,
.footer-tagline {
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--brand-spring-rain);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.footer-tagline {
    font-weight: 400;
    font-size: 1.15rem;
    color: var(--brand-afwhite);
    opacity: 1;
}

.footer-email:hover {
    opacity: 0.8;
}

/* === SIDE NAV === */
.side-nav {
    position: fixed;
    top: 25%;
    transform: translateY(-50%) translateX(-16px);
    opacity: 0;
    z-index: 900;
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
    pointer-events: none;
}

.side-nav.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.side-nav-inner {
    position: relative;
    padding-left: 2px;
}

.side-nav-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(172, 191, 164, 0.3), transparent);
}

.side-nav-item {
    display: block;
    border-radius: 0 8px 8px 0;
    background: var(--brand-brunswick-green);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    padding: 0.5rem 0.85rem;
    color: var(--brand-spring-rain);
    opacity: 0.65;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    text-align: left;
    white-space: nowrap;
    margin-bottom: 4px;
    width: 130px;
    letter-spacing: 0.016em;
}

.side-nav-item:hover {
    opacity: 0.7;
}

.side-nav-item.active {
    background: var(--brand-brunswick-green);
    border-right: 2px solid var(--brand-spring-rain);
    opacity: 1;
    font-weight: 500;
    width: 140px;
    color: var(--brand-afwhite);
}

/* === RESPONSIVE === */
@media (max-width: 1199px) {
    .hero-content {
        padding: 0 2rem;
    }

    .hero-left {
        padding-right: 2rem;
    }

    .personas-layout {
        grid-template-columns: 40% 60%;
    }

    .step-card-watermark {
        font-size: clamp(6rem, 12vw, 10rem);
    }

    .problem-deco {
        max-width: 360px;
    }
}

@media (max-width: 767px) {
    :root {
        --nav-height: 64px;
    }

    .noise-overlay {
        display: none;
    }

    .side-nav {
        display: none;
    }

    .site-nav {
        display: none;
    }

    .nav-right,
    .nav-sign-in-link,
    .nav-request-access,
    .sign-in-dropdown {
        display: none;
    }

    .hero {
        height: auto;
        max-height: none;
        min-height: auto;
        padding-top: calc(var(--nav-height) + 2rem);
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        padding: 0 1.5rem;
    }

    .hero-left {
        text-align: center;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero-headline {
        font-size: clamp(3.5rem, 14vw, 5.5rem);
    }

    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.5rem;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-cta {
        font-size: 0.875rem;
        padding: 0.65rem 1.5rem;
    }

    .hero-right {
        justify-content: center;
        width: 100%;
    }

    .hero-phone {
        transform: none;
        height: auto;
        width: 300%;
        max-width: none;
        margin: -60px auto 0;
        display: block;
    }

    .scroll-indicator {
        display: none;
    }

    .stats-bar {
        height: auto;
        padding: 2rem 0;
    }

    .stats-bar-inner {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0 1rem;
    }

    .stat-block {
        flex: 1 1 calc(50% - 0.5rem);
        max-width: none;
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-descriptor {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .stat-source {
        bottom: 15px;
    }

    .problem {
        padding: 3.5rem 0;
    }

    .problem .section-header {
        margin-bottom: 3.5rem;
    }

    .problem-subsection {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .problem-subsection.reverse .problem-text {
        order: 1;
    }

    .problem-subsection.reverse .problem-visual {
        order: 2;
    }

    .problem-visual {
        order: 2;
    }

    .problem-text {
        order: 1;
    }

    .problem-deco {
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        width: 100%;
        max-width: 500px;
        height: auto;
        min-height: 280px;
    }

    .step-card-watermark {
        font-size: 8rem;
        right: 0.5rem;
    }

    .personas {
        padding: 5rem 0;
        min-height: 600px;
    }

    .personas-layout {
        grid-template-columns: 1fr;
    }

    .persona-description-panel {
        display: none;
    }

    .persona-tabs {
        padding-left: 0;
    }

    .persona-tabs::before {
        display: none;
    }

    .persona-tab {
        border-radius: 10px 10px 0 0;
        width: 100%;
        margin-bottom: 0;
        background: var(--brand-brunswick-green);
        color: var(--brand-spring-rain);
    }

    .persona-tab:hover {
        background: var(--brand-brunswick-green);
        color: var(--brand-spring-rain);
    }

    .persona-tab.active {
        background: var(--brand-brunswick-green);
        color: var(--brand-spring-rain);
        border-right: none;
        border-radius: 10px 10px 0 0;
        width: 100%;
        font-weight: 500;
    }

    .persona-tab:not(.active) {
        border-radius: 10px;
        margin-bottom: 5px;
    }

    .persona-accordion-body {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: var(--brand-afwhite);
        color: var(--brand-text-dark);
        font-size: 18px;
        line-height: 1.45;
        font-weight: 300;
        padding: 0 1.5rem;
        border-radius: 0 0 10px 10px;
        margin-bottom: 5px;
        transition: max-height 0.35s ease-out, opacity 0.35s ease-out, padding 0.35s ease-out;
    }

    .persona-accordion-body.active {
        max-height: 500px;
        opacity: 1;
        padding: 1.25rem 1.5rem 1.5rem;
        margin-bottom: 10px;
    }

    /* Personas redesign — mobile */
    #section-personas .section-inner {
        padding: 0;
    }

    .pc-tab-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .pc-tab {
        font-size: 0.875rem;
        padding: 0.4rem 0.75rem;
        white-space: nowrap;
    }

    .pc-stage {
        position: relative;
        height: auto;
        min-height: 420px;
        overflow: hidden;
        width: 100%;
    }

    .pc-track {
        display: flex;
        flex-direction: row;
        will-change: transform;
        transition: transform 300ms ease-out;
        align-items: stretch;
    }

    .pc-card {
        position: relative;
        top: auto;
        left: auto;
        flex-shrink: 0;
        transform: none;
        opacity: 1;
        box-shadow: none;
        min-height: 380px;
        box-sizing: border-box;
        /* width set dynamically by JS */
    }

    .pc-card-active,
    .pc-card-left,
    .pc-card-right,
    .pc-card-hidden {
        transform: none;
        opacity: 1;
        z-index: auto;
        box-shadow: none;
        pointer-events: auto;
    }

    .pc-card-active {
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    }

    .ai-objection-bar-bottom {
        height: 100px;
    }

    .ai-objection-body {
        padding: 0;
        padding-bottom: 40px;
    }

    .ai-objection-zone-1 {
        padding: 3.5rem 0 0;
    }

    .ai-objection-zone-2 {
        padding-bottom: 0;
    }

    .ai-objection-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mockup-container {
        position: relative;
        width: 125%;
        margin-left: -95%;
        margin-top: -3.5rem;
        margin-bottom: 10px;
        z-index: 10;
    }

    .ai-objection-centered {
        text-align: center;
    }

    .ai-objection-left {
        text-align: left;
    }

    .ai-objection-headline {
        font-size: 2rem;
        margin-bottom: 3.5rem;
    }

    .ai-objection-bar-bottom-text {
        font-size: 1.25rem;
    }

    .coverage-cards {
        grid-template-columns: 1fr;
    }

    .section-inner {
        padding: 0 1.25rem;
    }

    .how-it-works {
        padding: 3.5rem 0 0;
    }

    .step-card-content {
        top: 50px;
    }

    .jurisdictions {
        padding: 3.5rem 0;
    }

    .closing-cta {
        padding: 5rem 0;
    }

    .expansion-pitch {
        padding-top: 3.5rem;
    }

    .expansion-pitch h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .nerds-header {
        font-size: 2rem;
        text-align: center;
    }

    .mobile-break { display: block; }
    .desktop-break { display: none; }

    .section-header {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .nerds-columns {
        grid-template-columns: 1fr;
    }

    .nerds-left {
        justify-content: center;
        align-items: center;
        padding-top: 0;
        order: 2;
    }

    .nerds-screenshot-container {
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .nerds-screenshot {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        margin-bottom: 0;
        height: 400px;
        object-fit: cover;
        object-position: top;
        border-radius: 12px 12px 0 0;
    }

    .nerds-right {
        padding: 3rem 1.25rem;
        order: 1;
    }

    .nerds-closing {
        text-align: center;
    }

    .nerds-content {
        margin: 0 auto;
    }

    .site-footer {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0;
        text-align: center;
    }

    .footer-tagline {
        width: 100%;
        order: 1;
        margin-bottom: 0.5rem;
    }

    .footer-email {
        order: 2;
    }

    .footer-email::after {
        content: '|';
        margin: 0 0.5rem;
        opacity: 0.4;
    }

    .footer-copy {
        order: 3;
    }
}

/* === MOBILE NAV (≤767px only) === */
.mobile-nav,
.mobile-nav-overlay,
.mobile-left-drawer,
.mobile-right-drawer { display: none; }

@media (max-width: 767px) {
    /* Scroll-margin so section targets clear the fixed mobile nav */
    [id^="section-"] { scroll-margin-top: 70px; }

    /* --- Mobile Nav Bar --- */
    .mobile-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 60px;
        background: var(--brand-eerie-black);
        z-index: 2000;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
        border-bottom: 1px solid rgba(172, 191, 164, 0.06);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }

    .mobile-nav.visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .mobile-nav-btn svg { color: var(--brand-afwhite); }

    #mobileNavMenuBtn span {
        display: block;
        background-color: white;
        width: 24px;
        height: 3px;
        border-radius: 3px;
        margin: 3px 0;
        flex-shrink: 0;
    }

    .mobile-nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
    }

    .mobile-nav-logo img {
        height: 28px;
        width: auto;
    }

    /* --- Overlay --- */
    .mobile-nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 2500;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease-in-out;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    /* --- Drawer Close Buttons --- */
    .mobile-drawer-close {
        position: absolute;
        top: 1.25rem;
        background: none;
        border: none;
        color: var(--brand-spring-rain);
        font-size: 1.75rem;
        line-height: 1;
        cursor: pointer;
        padding: 0.25rem 0.5rem;
        z-index: 1;
        opacity: 0.7;
        transition: opacity 0.2s ease;
    }

    .mobile-drawer-close:hover {
        opacity: 1;
    }

    .mobile-drawer-close-right {
        right: 1rem;
    }

    .mobile-drawer-close-left {
        left: 1rem;
    }

    .mobile-drawer-header-label {
        font-family: var(--font-body);
        font-size: 1.25rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--brand-text-light);
        margin: 0;
        padding: 0 1rem 1.5rem 1rem;
        display: flex;
        align-items: center;
    }

    .mobile-right-drawer .mobile-drawer-header-label {
        justify-content: flex-end;
    }

    .mobile-drawer-footer-icon {
        display: flex;
        justify-content: center;
        padding: 2rem 0 1.5rem;
        margin-top: auto;
    }

    .mobile-drawer-p-icon {
        width: 40px;
        height: 40px;
        opacity: 0.6;
    }

    /* --- Left Drawer (Section Navigator) --- */
    .mobile-left-drawer {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        left: -85%;
        width: 85%;
        max-width: 100%;
        max-width: 300px;
        background: var(--brand-eerie-black);
        z-index: 3000;
        transition: left 0.3s ease-in-out;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }

    .mobile-left-drawer.open { left: 0; padding-right: 10px; }

    .mobile-drawer-inner {
        padding: 1.25rem 0 2rem;
        position: relative;
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    .mobile-drawer-inner::before {
        content: '';
        position: absolute;
        left: 0;
        top: 3.5rem;
        bottom: 2rem;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(172, 191, 164, 0.3), transparent);
    }

    .mobile-drawer-item {
        display: block;
        border-radius: 0 8px 8px 0;
        background-color: var(--brand-black-olive);
        border: none;
        border-right: 4px solid transparent;
        padding: 12px 10px 12px 20px;
        color: var(--brand-celery-satin);
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 400;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: left;
        white-space: nowrap;
        margin-bottom: 6px;
        width: 95%;
        position: relative;
    }

    .mobile-drawer-item:hover {
        opacity: 0.85;
    }

    .mobile-drawer-item.active {
        background-color: var(--brand-afwhite);
        color: var(--brand-text-dark);
        border-right: 4px solid var(--brand-spring-rain);
        width: 100%;
        font-weight: 400;
    }

    /* --- Right Drawer (Sign In) --- */
    .mobile-right-drawer {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        right: -320px;
        width: 320px;
        max-width: 100%;
        background: var(--brand-eerie-black);
        z-index: 3000;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }

    .mobile-right-drawer.open { right: 0; }

    .mobile-right-drawer .d-none { display: none !important; }

    .mobile-drawer-content {
        padding: 1.25rem 1.5rem 2rem;
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    .mobile-drawer-request-access {
        display: block;
        width: 100%;
        padding: 0.75rem;
        background: var(--brand-feedback-yellow);
        color: var(--brand-text-dark);
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 0.9rem;
        border-radius: 8px;
        text-align: center;
        transition: background 0.2s ease;
        letter-spacing: 0.01em;
    }

    .mobile-drawer-request-access:hover { background: #c89630; }

    .mobile-drawer-divider {
        border-top: 1px solid rgba(172, 191, 164, 0.12);
        margin: 1.5rem 0;
    }

    .mobile-drawer-heading {
        font-family: var(--font-body);
        font-weight: 500;
        font-size: 1.25rem;
        color: var(--brand-afwhite);
        margin-bottom: 1rem;
        text-align: center;
    }

    .mobile-right-drawer input {
        display: block;
        width: 100%;
        padding: 0.7rem 0.85rem;
        margin-bottom: 0.75rem;
        background: rgba(39, 66, 49, 0.5);
        color: var(--brand-text-light);
        border: 1px solid rgba(172, 191, 164, 0.1);
        border-radius: 8px;
        font-family: var(--font-body);
        font-size: 0.875rem;
        outline: none;
        transition: border-color 0.25s ease, background 0.25s ease;
    }

    .mobile-right-drawer input::placeholder {
        color: var(--brand-spring-rain);
        opacity: 0.5;
        font-size: 0.8rem;
    }

    .mobile-right-drawer input:focus {
        border-color: rgba(172, 191, 164, 0.35);
        background: rgba(39, 66, 49, 0.7);
    }

    .mobile-drawer-btn-primary {
        display: block;
        width: 100%;
        padding: 0.7rem;
        background: var(--brand-cafe-noir);
        color: var(--brand-text-light);
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 0.875rem;
        border: 1px solid var(--brand-cafe-noir);
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease;
        letter-spacing: 0.01em;
    }

    .mobile-drawer-btn-primary:hover {
        background: var(--brand-bistre);
        border-color: var(--brand-bistre);
    }

    .mobile-drawer-btn-primary:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

    .mobile-drawer-footer {
        margin-top: 0.75rem;
        text-align: center;
    }

    .mobile-drawer-toggle-link {
        font-size: 0.8rem;
        color: var(--brand-afwhite);
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .mobile-drawer-underlined-link { text-decoration: underline; }

    .mobile-drawer-message {
        font-size: 0.85rem;
        color: var(--brand-spring-rain);
        line-height: 1.5;
        margin-bottom: 1rem;
        text-align: center;
    }

    .mobile-drawer-message-muted {
        font-size: 0.8rem;
        color: var(--brand-spring-rain);
        opacity: 0.6;
        line-height: 1.4;
        margin-top: 0.5rem;
    }

    .mobile-drawer-error {
        font-size: 0.8rem;
        color: #e74c3c;
        background: rgba(231, 76, 60, 0.1);
        border: 1px solid rgba(231, 76, 60, 0.25);
        border-radius: 6px;
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
    }
}
