/* ═══════════════════════════════════════════════════════════════════════════
   NEXT.ENERGY — DESIGN SYSTEM
   Modern minimalist, editorial, premium energy company aesthetic.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* ── Color palette (deck-locked) ─────────────────────────────────────── */
    --teal: #4A90A4;
    --teal-deep: #2E6B7E;
    --teal-light: #8CBCC9;
    --teal-pale: #E8F1F4;
    --teal-glow: rgba(74, 144, 164, 0.08);
    --dark: #1E2A32;
    --gray: #5A6A76;
    --gray-lite: #9BA8B2;
    --gray-pale: #F0F3F5;
    --white: #FFFFFF;
    --bcd: #BCD8DF;

    /* ── Typography ──────────────────────────────────────────────────────── */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* ── Spacing (8px base scale) ───────────────────────────────────────── */
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 0.75rem;
    --s-4: 1rem;
    --s-5: 1.25rem;
    --s-6: 1.5rem;
    --s-8: 2rem;
    --s-10: 2.5rem;
    --s-12: 3rem;
    --s-16: 4rem;
    --s-20: 5rem;
    --s-24: 6rem;
    --s-32: 8rem;

    /* ── Containers ──────────────────────────────────────────────────────── */
    --max-w: 1280px;
    --max-w-narrow: 880px;

    /* ── Radius & shadows ────────────────────────────────────────────────── */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-soft: 0 1px 3px rgba(30, 42, 50, 0.04), 0 4px 12px rgba(30, 42, 50, 0.04);
    --shadow-card: 0 2px 8px rgba(30, 42, 50, 0.06), 0 12px 32px rgba(30, 42, 50, 0.04);

    /* ── Transitions ─────────────────────────────────────────────────────── */
    --t-fast: 0.2s ease;
    --t-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */
.eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
}

.eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--teal);
    margin-top: var(--s-2);
}

h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: var(--dark);
}

.display-xl {
    font-size: clamp(4rem, 12vw, 11rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.display-lg {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
}

.display-md {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    line-height: 1.1;
}

.display-sm {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.2;
}

.text-teal { color: var(--teal); }
.text-deep { color: var(--teal-deep); }
.text-gray { color: var(--gray); }
.text-light { color: var(--gray-lite); }
.text-italic { font-style: italic; }

p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gray);
}

p.lead {
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--dark);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--s-6);
}

.container-narrow {
    width: 100%;
    max-width: var(--max-w-narrow);
    margin: 0 auto;
    padding: 0 var(--s-6);
}

section {
    padding: var(--s-24) 0;
}

@media (max-width: 768px) {
    section { padding: var(--s-16) 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(74, 144, 164, 0.08);
    transition: background var(--t-fast);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--s-3) var(--s-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 72px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: var(--s-10);
    list-style: none;
}

.nav-menu a {
    font-size: 1rem;
    color: var(--dark);
    transition: color var(--t-fast);
    position: relative;
}

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

.nav-menu a.active {
    color: var(--teal);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--teal);
}

.nav-cta {
    padding: var(--s-3) var(--s-6);
    background: var(--teal);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: background var(--t-fast), transform var(--t-fast);
}

.nav-cta:hover { background: var(--teal-deep); transform: translateY(-1px); }

.nav-toggle { display: none; }

/* Hidden by default on desktop — shown only on mobile via media query below */
.nav-mobile { display: none; }

@media (max-width: 900px) {
    .nav-menu { display: none; }
    .nav-cta { display: none; }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: var(--s-2);
    }
    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--dark);
        transition: var(--t-fast);
    }
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .nav-mobile {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: var(--s-6);
        border-bottom: 1px solid var(--gray-pale);
    }
    .nav-mobile.open { display: block; }
    .nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-4); }
    .nav-mobile a { display: block; padding: var(--s-2) 0; font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-3) var(--s-6);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--t-fast);
    cursor: pointer;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--teal-deep);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 1px solid rgba(74, 144, 164, 0.2);
}

.btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-arrow::after {
    content: '→';
    transition: transform var(--t-fast);
}

.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO COMPONENT (homepage)
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    padding-top: 108px;
    padding-left: var(--s-6);
    padding-right: var(--s-6);
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 480px;
    align-items: center;
    gap: var(--s-12);
    position: relative;
}

.hero-mark {
    position: relative;
    background: var(--teal-pale);
    height: calc(100vh - 80px);
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--s-12);
    overflow: hidden;
}

.hero-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin-bottom: var(--s-8);
}

.hero-bars span {
    display: block;
    width: 8px;
    background: var(--teal-light);
    border-radius: 2px;
    animation: barPulse 3s ease-in-out infinite;
}

.hero-bars span:nth-child(1) { height: 24px; animation-delay: 0s; }
.hero-bars span:nth-child(2) { height: 48px; animation-delay: 0.1s; }
.hero-bars span:nth-child(3) { height: 72px; animation-delay: 0.2s; }
.hero-bars span:nth-child(4) { height: 96px; animation-delay: 0.3s; }
.hero-bars span:nth-child(5) { height: 72px; animation-delay: 0.4s; }
.hero-bars span:nth-child(6) { height: 48px; animation-delay: 0.5s; }
.hero-bars span:nth-child(7) { height: 24px; animation-delay: 0.6s; }

@keyframes barPulse {
    0%, 100% { opacity: 0.5; transform: scaleY(0.95); }
    50% { opacity: 1; transform: scaleY(1); }
}

.hero-mark-card {
    background: var(--white);
    padding: var(--s-10) var(--s-8);
    text-align: center;
    border-top: 3px solid var(--teal);
    border-bottom: 3px solid var(--teal);
    min-width: 280px;
}

.hero-mark-card h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--teal);
    line-height: 1.05;
    margin-bottom: var(--s-4);
}

.hero-mark-card .div {
    width: 60px;
    height: 2px;
    background: var(--teal);
    margin: var(--s-4) auto;
}

.hero-mark-card .est {
    font-size: 0.75rem;
    color: var(--teal);
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: var(--s-2);
}

.hero-mark-card .chain {
    font-size: 0.6875rem;
    color: var(--gray);
    letter-spacing: 0.1em;
}

.hero-content { padding: var(--s-8) 0; }

.hero-content .eyebrow { margin-bottom: var(--s-6); }

.hero-content h1 {
    margin-bottom: var(--s-6);
}

.hero-subhead {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: var(--s-2);
}

.hero-subhead .accent { color: var(--teal); }

.hero-tag {
    font-size: 1rem;
    color: var(--gray);
    font-style: italic;
    margin-top: var(--s-6);
    margin-bottom: var(--s-10);
    max-width: 480px;
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    border-top: 2px solid var(--teal);
    padding-top: var(--s-4);
    max-width: 320px;
    font-size: 0.875rem;
    color: var(--gray);
}

.hero-meta span:last-child { color: var(--gray-lite); }

@media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; padding-top: 108px; min-height: auto; }
    .hero-mark { height: 480px; margin-right: 0; margin-top: var(--s-8); }
    .hero-mark-card { padding: var(--s-8) var(--s-6); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STAT BAND (problem stats, R&D metrics)
   ═══════════════════════════════════════════════════════════════════════════ */
.stat-strip {
    background: var(--teal-pale);
    border-bottom: 2px solid var(--teal);
    padding: var(--s-5) 0;
}

.stat-strip-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--s-6);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-8);
    align-items: center;
}

.stat-strip-item .num {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--teal);
    letter-spacing: -0.01em;
    display: block;
}

.stat-strip-item .label {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 2px;
}

@media (max-width: 768px) {
    .stat-strip-grid { grid-template-columns: 1fr; gap: var(--s-3); text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SPLIT SECTIONS (problem, solution, etc)
   ═══════════════════════════════════════════════════════════════════════════ */
.split {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--s-16);
    align-items: start;
}

.split-aside {
    background: var(--teal);
    color: var(--white);
    padding: var(--s-12) var(--s-8);
    border-radius: var(--radius-lg);
    position: sticky;
    top: 108px;
}

.split-aside h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--s-6);
    line-height: 1.05;
}

.split-aside .insight-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--bcd);
    text-transform: uppercase;
    margin-top: var(--s-12);
    margin-bottom: var(--s-3);
}

.split-aside .insight {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--white);
    line-height: 1.4;
    border-top: 2px solid var(--bcd);
    padding-top: var(--s-3);
}

.split-aside .signature {
    font-size: 0.8125rem;
    color: var(--bcd);
    font-style: italic;
    margin-top: var(--s-6);
    padding-top: var(--s-4);
    border-top: 1px solid rgba(188, 216, 223, 0.3);
}

@media (max-width: 1024px) {
    .split { grid-template-columns: 1fr; gap: var(--s-10); }
    .split-aside { position: static; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STATS GRID (large metric numbers)
   ═══════════════════════════════════════════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-8);
    margin-top: var(--s-12);
}

.stat-card {
    border-top: 2px solid var(--teal);
    padding-top: var(--s-6);
}

.stat-card .stat-num {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
    letter-spacing: 0.1em;
    margin-bottom: var(--s-3);
}

.stat-card .stat-value {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: var(--s-3);
}

.stat-card .stat-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: var(--s-2);
}

.stat-card .stat-desc {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.5;
    margin-top: var(--s-3);
    padding-top: var(--s-3);
    border-top: 1px solid var(--gray-pale);
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr; gap: var(--s-10); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMMITMENT BAR (full-width teal band)
   ═══════════════════════════════════════════════════════════════════════════ */
.commit-bar {
    background: var(--teal);
    color: var(--white);
    padding: var(--s-12) 0;
    margin-top: var(--s-16);
}

.commit-bar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--s-6);
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--s-10);
    align-items: center;
}

.commit-bar .label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--bcd);
    text-transform: uppercase;
    border-bottom: 2px solid var(--bcd);
    padding-bottom: var(--s-2);
    width: max-content;
}

.commit-bar .text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    line-height: 1.35;
    color: var(--white);
    font-weight: 500;
}

@media (max-width: 768px) {
    .commit-bar-inner { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   OUR ANSWER GRID (homepage)
   ═══════════════════════════════════════════════════════════════════════════ */
.our-answer-grid {
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: var(--s-10);
    align-items: start;
    margin-top: var(--s-6);
}

@media (max-width: 900px) {
    .our-answer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-8);
    }
}

@media (max-width: 640px) {
    .our-answer-grid {
        grid-template-columns: 1fr;
        gap: var(--s-8);
    }
}


.spec-card {
    background: var(--teal-pale);
    border-top: 3px solid var(--teal);
    padding: var(--s-8);
}

.spec-card .eyebrow { margin-bottom: var(--s-6); }

.spec-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--s-6);
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--teal-light);
}

.spec-row:last-child { border-bottom: none; }

.spec-row .key {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--teal-deep);
    text-transform: uppercase;
    align-self: center;
}

.spec-row .val {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark);
}

/* ═══════════════════════════════════════════════════════════════════════════
   STEP CARDS (How It Works)
   ═══════════════════════════════════════════════════════════════════════════ */
.steps {
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--s-6);
    padding: var(--s-6) 0;
    border-bottom: 1px solid var(--gray-pale);
}

.step-num {
    width: 64px;
    height: 64px;
    background: var(--teal);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.step-body h3 {
    font-size: 1.25rem;
    margin-bottom: var(--s-2);
    padding-bottom: var(--s-2);
    border-bottom: 2px solid var(--teal);
    width: max-content;
    color: var(--dark);
}

.step-body p {
    color: var(--gray);
    margin-top: var(--s-2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TIER CARDS (rebate examples)
   ═══════════════════════════════════════════════════════════════════════════ */
.tier-card-stack {
    background: var(--teal-pale);
    padding: var(--s-8);
    border-top: 3px solid var(--teal);
}

.tier-card-stack .head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--s-6);
    padding-bottom: var(--s-4);
    border-bottom: 1px solid var(--teal-light);
}

.tier-card-stack .head .eyebrow::after { display: none; }

.tier-card-stack .head .based {
    font-size: 0.875rem;
    color: var(--gray);
    font-style: italic;
}

.tier {
    background: var(--white);
    padding: var(--s-5) var(--s-6);
    margin-bottom: var(--s-3);
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: var(--s-8);
    align-items: center;
}

.tier:last-child { margin-bottom: 0; }

.tier .name {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--teal);
}

.tier .hold {
    font-size: 0.8125rem;
    color: var(--gray);
    margin-top: 2px;
}

.tier .col {
    text-align: right;
}

.tier .col-label {
    font-size: 0.6875rem;
    color: var(--gray-lite);
    letter-spacing: 0.05em;
}

.tier .col-value {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
}

.tier .col-value.rebate { color: var(--teal); font-size: 1.5rem; }

.tier-note {
    margin-top: var(--s-6);
    padding-top: var(--s-4);
    border-top: 1px solid var(--teal-light);
    font-size: 0.875rem;
    font-style: italic;
    font-weight: 500;
    color: var(--teal);
}

@media (max-width: 768px) {
    .tier { grid-template-columns: 1fr; gap: var(--s-3); }
    .tier .col { text-align: left; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIFETIME MATH TABLE
   ═══════════════════════════════════════════════════════════════════════════ */
.math-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
    margin-top: var(--s-12);
}

.math-col {
    background: var(--gray-pale);
    border-radius: var(--radius);
    overflow: hidden;
}

.math-col .head {
    padding: var(--s-6);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.math-col:nth-child(1) .head { background: var(--teal-light); }
.math-col:nth-child(2) .head { background: var(--teal); }
.math-col:nth-child(3) .head { background: var(--teal-deep); }

.math-row {
    padding: var(--s-5) var(--s-6);
    border-bottom: 1px solid #DDE5E9;
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
}

.math-row:last-child { border-bottom: none; }

.math-row .label {
    font-size: 0.75rem;
    color: var(--gray);
}

.math-row .value {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-align: right;
}

.math-rebate {
    padding: var(--s-5) var(--s-6);
    color: var(--white);
    text-align: right;
}

.math-col:nth-child(1) .math-rebate { background: var(--teal-light); }
.math-col:nth-child(2) .math-rebate { background: var(--teal); }
.math-col:nth-child(3) .math-rebate { background: var(--teal-deep); }

.math-rebate .label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--bcd);
    text-transform: uppercase;
    text-align: left;
    margin-bottom: var(--s-2);
}

.math-rebate .value {
    font-family: var(--font-body);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   DEMAND MODEL SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.demand {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-12);
    margin-top: var(--s-12);
}

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

.demand-table th {
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--gray-lite);
    text-transform: uppercase;
    padding: var(--s-3) 0;
    border-bottom: 2px solid var(--teal);
}

.demand-table th:last-child { text-align: right; }

.demand-table td {
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--gray-pale);
}

.demand-table td:first-child { font-family: var(--font-display); font-weight: 600; color: var(--dark); }
.demand-table td:nth-child(2) { color: var(--gray); }
.demand-table td:last-child { font-family: var(--font-body); font-weight: 600; color: var(--teal); text-align: right; }

.demand-total {
    background: var(--teal);
    color: var(--white);
    padding: var(--s-6);
    margin-top: var(--s-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demand-total .left .label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--bcd);
    text-transform: uppercase;
}

.demand-total .left .sub {
    font-size: 0.875rem;
    color: var(--bcd);
    font-style: italic;
    margin-top: 2px;
}

.demand-total .num {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.demand-formula {
    font-size: 0.75rem;
    color: var(--gray-lite);
    font-style: italic;
    margin-top: var(--s-3);
}

.tier-projection-card {
    background: var(--teal-pale);
    padding: var(--s-6);
    border-top: 3px solid var(--teal);
}

.tier-projection-card .based {
    font-size: 0.8125rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: var(--s-5);
    padding-bottom: var(--s-3);
    border-bottom: 2px solid var(--teal);
}

.adoption-row {
    background: var(--white);
    padding: var(--s-4) var(--s-5);
    margin-bottom: var(--s-2);
    border-left: 4px solid;
    display: grid;
    grid-template-columns: 110px 1fr 1fr 1fr;
    gap: var(--s-3);
    align-items: center;
}

.adoption-row:last-child { margin-bottom: 0; }

.adoption-row .pct {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
}

.adoption-row .pct-sub {
    font-size: 0.625rem;
    color: var(--gray-lite);
    margin-top: 1px;
}

.adoption-row .col {
    display: flex;
    flex-direction: column;
}

.adoption-row .col .label {
    font-size: 0.625rem;
    color: var(--gray-lite);
}

.adoption-row .col .value {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1px;
}

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

@media (max-width: 600px) {
    .adoption-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MILESTONE CARDS (Market Validation)
   ═══════════════════════════════════════════════════════════════════════════ */
.milestones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
    margin-top: var(--s-10);
}

.milestone {
    background: var(--gray-pale);
    padding: var(--s-8);
    border-top: 4px solid;
    text-align: left;
    transition: transform var(--t-base);
}

.milestone:hover { transform: translateY(-4px); }

.milestone:nth-child(1) { border-color: var(--teal-light); }
.milestone:nth-child(2) { border-color: var(--teal); }
.milestone:nth-child(3) { border-color: var(--teal-deep); }

.milestone .label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--s-3);
}

.milestone:nth-child(1) .label { color: var(--teal-light); }
.milestone:nth-child(2) .label { color: var(--teal); }
.milestone:nth-child(3) .label { color: var(--teal-deep); }

.milestone .price {
    font-family: var(--font-body);
    font-size: clamp(2.75rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin-bottom: var(--s-4);
    letter-spacing: -0.02em;
}

.milestone .multiplier {
    font-family: var(--font-body);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--s-1);
}

.milestone:nth-child(1) .multiplier { color: var(--teal-light); }
.milestone:nth-child(2) .multiplier { color: var(--teal); }
.milestone:nth-child(3) .multiplier { color: var(--teal-deep); }

.milestone .from {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: var(--s-4);
}

.milestone .desc {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--gray);
    padding-top: var(--s-4);
    border-top: 2px solid;
}

.milestone:nth-child(1) .desc { border-color: var(--teal-light); }
.milestone:nth-child(2) .desc { border-color: var(--teal); }
.milestone:nth-child(3) .desc { border-color: var(--teal-deep); }

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

/* ═══════════════════════════════════════════════════════════════════════════
   PHASE CARDS (Roadmap)
   ═══════════════════════════════════════════════════════════════════════════ */
.phases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-3);
    margin-top: var(--s-12);
}

.phase {
    background: var(--gray-pale);
    overflow: hidden;
}

.phase-head {
    padding: var(--s-6);
    color: var(--white);
}

.phase:nth-child(1) .phase-head { background: var(--teal-light); }
.phase:nth-child(2) .phase-head { background: var(--teal); }
.phase:nth-child(3) .phase-head { background: var(--teal-deep); }
.phase:nth-child(4) .phase-head { background: #1F4D5C; }

.phase-num {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--white);
    opacity: 0.8;
}

.phase-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-top: var(--s-2);
}

.phase-body {
    padding: var(--s-6);
}

.phase-body p {
    font-size: 0.9375rem;
    color: var(--gray);
    margin-bottom: var(--s-2);
    line-height: 1.5;
}

.phase-body p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
    .phases { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .phases { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEADERSHIP / CHAIRMAN PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.leader {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-12);
    margin-top: var(--s-10);
    align-items: start;
}

.leader-aside {
    display: flex;
    flex-direction: column;
}

.leader-aside .leader-name-block { margin-top: 0; }
.leader-aside .thesis { margin-top: var(--s-8); }

.leader-name-block {
    border-left: 3px solid var(--teal);
    padding-left: var(--s-6);
    margin-top: 0;
}

.leader-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--s-2);
}

.leader-title {
    font-size: 0.9375rem;
    color: var(--teal);
    margin-bottom: var(--s-1);
}

.leader-bio {
    margin-top: var(--s-5);
    font-size: 0.9375rem;
    color: var(--gray);
    font-style: italic;
    line-height: 1.6;
}

.thesis {
    background: var(--teal);
    color: var(--white);
    padding: var(--s-10) var(--s-10);
    margin-top: 0;
    border-top: 3px solid var(--teal-deep);
}

.thesis .label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--bcd);
    text-transform: uppercase;
    margin-bottom: var(--s-5);
}

.thesis blockquote {
    font-family: var(--font-display);
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--white);
    font-style: italic;
}

.leader-points {
    background: transparent;
    padding: var(--s-2) 0 0 0;
    border-top: 2px solid var(--teal);
}

.leader-point {
    padding: var(--s-6) 0;
    border-bottom: 1px solid var(--teal-light);
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: var(--s-4);
    align-items: start;
}

.leader-point:last-child { border-bottom: none; }

.leader-point .num {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--teal);
    letter-spacing: 0.05em;
    padding-top: 4px;
}

.leader-point h4 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--s-2);
    letter-spacing: 0.01em;
}

.leader-point p {
    font-size: 0.9375rem;
    color: var(--gray);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .leader { grid-template-columns: 1fr; gap: var(--s-8); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════════════ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
    margin-top: var(--s-12);
}

.contact-card {
    background: var(--white);
    border-left: 4px solid var(--teal);
    padding: var(--s-8);
    box-shadow: var(--shadow-soft);
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.contact-card .label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: var(--s-3);
}

.contact-card .value {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--s-3);
    word-break: break-word;
}

.contact-card .desc {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .contact-cards { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
footer {
    background: var(--dark);
    color: var(--gray-lite);
    padding: var(--s-16) 0 var(--s-8);
    margin-top: var(--s-24);
}

.footer-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--s-6);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--s-12);
    margin-bottom: var(--s-12);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--s-3);
}

.footer-logo-img {
    height: 48px;
    width: auto;
    display: block;
    margin-bottom: var(--s-3);
    /* Invert to white so it shows on dark footer background */
    filter: invert(1) brightness(2);
}

.footer-brand-tag {
    font-size: 0.875rem;
    color: var(--gray-lite);
    line-height: 1.5;
    max-width: 320px;
}

footer h5 {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: var(--s-4);
}

footer ul { list-style: none; }

footer ul li {
    font-size: 0.875rem;
    margin-bottom: var(--s-2);
}

footer ul a {
    color: var(--gray-lite);
    transition: color var(--t-fast);
}

footer ul a:hover { color: var(--teal-light); }

.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--s-6) var(--s-6) 0;
    border-top: 1px solid rgba(155, 168, 178, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--gray-lite);
}

.footer-disclaimer {
    max-width: var(--max-w);
    margin: var(--s-8) auto 0;
    padding: var(--s-6) var(--s-6) 0;
    border-top: 1px solid rgba(155, 168, 178, 0.15);
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--gray-lite);
    font-style: italic;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
    .footer-bottom { flex-direction: column; gap: var(--s-3); align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--t-slow), transform var(--t-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE HERO (non-homepage)
   ═══════════════════════════════════════════════════════════════════════════ */
.page-hero {
    padding: 180px 0 var(--s-16);
    background: linear-gradient(180deg, var(--teal-pale) 0%, var(--white) 100%);
}

.page-hero .eyebrow { margin-bottom: var(--s-6); }

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    max-width: 900px;
    margin-bottom: var(--s-5);
}

.page-hero .lead {
    max-width: 720px;
    color: var(--gray);
    font-size: 1.125rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DISCLAIMERS
   ═══════════════════════════════════════════════════════════════════════════ */
.disclaimer {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--gray-lite);
    font-style: italic;
    margin-top: var(--s-6);
    padding: var(--s-4);
    background: var(--gray-pale);
    border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANCHOR BAR (closing message in sections)
   ═══════════════════════════════════════════════════════════════════════════ */
.anchor-bar {
    background: var(--teal);
    color: var(--white);
    padding: var(--s-6) var(--s-8);
    margin-top: var(--s-8);
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-style: italic;
    line-height: 1.45;
    font-weight: 500;
}

.anchor-bar.deep { background: var(--teal-deep); }

/* ═══════════════════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════════════════════════════════════════════ */
.lang-switcher {
    position: relative;
    margin-right: var(--s-3);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid rgba(74, 144, 164, 0.25);
    border-radius: var(--radius);
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
    line-height: 1;
}

.lang-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.lang-arrow {
    transition: transform var(--t-fast);
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-switcher.open .lang-btn {
    border-color: var(--teal);
    color: var(--teal);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--white);
    border: 1px solid rgba(74, 144, 164, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(74, 144, 164, 0.12);
    list-style: none;
    margin: 0;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
    z-index: 1000;
}

.lang-switcher.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li {
    list-style: none;
}

.lang-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast);
}

.lang-menu button:hover {
    background: var(--teal-pale);
    color: var(--teal-deep);
}

.lang-menu button.active {
    background: var(--teal);
    color: var(--white);
}

@media (max-width: 900px) {
    .lang-switcher {
        margin-right: var(--s-2);
    }
    .lang-btn {
        padding: 6px 10px;
        font-size: 0.875rem;
    }
}
