/* ===================================
   PhonoFlow - Shared Stylesheet
   Aesthetic: Precision Instrument
   ================================== */

/* Self-hosted fonts (avoids CSP violation + external DNS lookup) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- LIGHT THEME (default) --- */
:root {
    --pf-midnight: #FFFFFF;
    --pf-slate: #F4F6FF;
    --pf-coral: #1E3A8A;
    --pf-gold: #334E9E;
    --pf-text: #0B0F14;
    --pf-text-secondary: #475569;
    --pf-mint: #1B7A55;
    --pf-border: #D4DAF0;
    --pf-input-bg: rgba(0, 0, 0, 0.04);
    --pf-nav-bg: rgba(244, 246, 255, 0.96);
    --pf-hero-gradient-start: #F0F0F2;
    --pf-hero-gradient-end: #FFFFFF;
    --pf-accent-bg: rgba(30, 58, 138, 0.06);
    --pf-hero-bg: #1E3A8A;
    --pf-hero-bg2: #162d70;
    --pf-card-shadow: 0 2px 16px rgba(30, 58, 138, 0.07);
    --pf-card-shadow-hover: 0 14px 40px rgba(30, 58, 138, 0.18);
}

/* --- DARK THEME --- */
[data-theme="dark"] {
    --pf-midnight: #1C1C1E;
    --pf-slate: #2C2C2E;
    --pf-coral: #2F5BFF;
    --pf-gold: #5A8AFF;
    --pf-text: #F0F0F0;
    --pf-text-secondary: #A0A0A0;
    --pf-mint: #2D9F7A;
    --pf-border: #3A3A3C;
    --pf-input-bg: rgba(0, 0, 0, 0.3);
    --pf-nav-bg: rgba(28, 28, 30, 0.96);
    --pf-hero-gradient-start: #2C2C2E;
    --pf-hero-gradient-end: #1C1C1E;
    --pf-accent-bg: rgba(47, 91, 255, 0.12);
    --pf-hero-bg: #0F1E5E;
    --pf-hero-bg2: #0b1848;
    --pf-card-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
    --pf-card-shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--pf-midnight);
    color: var(--pf-text);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    line-height: 1.12;
}

h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}

/* --- NAVIGATION --- */
nav {
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}

nav.nav-scrolled,
nav.nav-solid {
    background: var(--pf-nav-bg);
    border-bottom-color: var(--pf-border);
    backdrop-filter: blur(14px);
}

/* White nav text on hero (navy) background — only when truly transparent */
body.hero-page nav:not(.nav-scrolled):not(.nav-solid) .logo { color: rgba(255,255,255,0.95); }
body.hero-page nav:not(.nav-scrolled):not(.nav-solid) .logo span { color: rgba(255,255,255,0.55); }
body.hero-page nav:not(.nav-scrolled):not(.nav-solid) .nav-links a { color: rgba(255,255,255,0.8); }
body.hero-page nav:not(.nav-scrolled):not(.nav-solid) .nav-links a:hover,
body.hero-page nav:not(.nav-scrolled):not(.nav-solid) .nav-links a.active { color: #fff; opacity: 1; }
body.hero-page nav:not(.nav-scrolled):not(.nav-solid) .theme-toggle {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
}
body.hero-page nav:not(.nav-scrolled):not(.nav-solid) .nav-hamburger { color: rgba(255,255,255,0.9); }

.logo {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--pf-coral);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.logo span {
    color: var(--pf-text);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--pf-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.75;
    transition: all 0.2s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--pf-gold);
}

.nav-links a.active {
    color: var(--pf-gold);
    opacity: 1;
}

/* --- THEME TOGGLE --- */
.theme-toggle {
    background: var(--pf-slate);
    border: 1px solid var(--pf-border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--pf-text);
    transition: background 0.3s, border-color 0.3s, transform 0.2s, color 0.3s;
    flex-shrink: 0;
    padding: 0;
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--pf-coral);
}

/* --- SIGN IN NAV BUTTON --- */
.btn-signin {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--pf-coral);
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    opacity: 1 !important;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-signin:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
    color: #fff !important;
}

body.hero-page nav:not(.nav-scrolled):not(.nav-solid) .btn-signin {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff !important;
}

/* --- HAMBURGER --- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--pf-text);
    transition: color 0.2s;
    flex-shrink: 0;
}

.nav-hamburger:hover { color: var(--pf-coral); }

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- REUSABLE COMPONENTS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.btn {
    display: inline-block;
    padding: 16px 34px;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, background 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.1px;
}

.btn-primary {
    background: var(--pf-coral);
    color: #FFFFFF;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(30, 58, 138, 0.35);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 14px 32px rgba(47, 91, 255, 0.35);
}

.btn-secondary {
    background: var(--pf-gold);
    color: #FFFFFF;
}

.btn-outline {
    border: 2px solid var(--pf-coral);
    background: transparent;
    color: var(--pf-coral);
}

.btn-outline:hover {
    background: var(--pf-coral);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-white {
    background: #FFFFFF;
    color: var(--pf-hero-bg);
    font-weight: 800;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.btn-mint {
    background: var(--pf-mint);
    color: #FFFFFF;
}

.btn-mint:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(27, 122, 85, 0.35);
}

.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: 2.8rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.12;
}

.section-title span {
    color: var(--pf-coral);
}

/* --- CARDS --- */
.card {
    background: var(--pf-slate);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--pf-border);
    box-shadow: var(--pf-card-shadow);
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--pf-gold);
    box-shadow: var(--pf-card-shadow-hover);
}

/* --- HERO SECTION --- */
.hero {
    padding: 160px 5% 130px;
    text-align: center;
    background: linear-gradient(160deg, var(--pf-hero-bg) 0%, var(--pf-hero-bg2) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4.4rem;
    font-weight: 400;
    line-height: 1.08;
    margin-bottom: 28px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.hero h1 em {
    font-style: italic;
    color: rgba(255,255,255,0.75);
}

.hero p {
    font-size: 1.2rem;
    max-width: 680px;
    margin: 0 auto 48px;
    color: rgba(255,255,255,0.72);
    position: relative;
    z-index: 2;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* --- WAVEFORM --- */
.hero-waveform {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 200%;
    pointer-events: none;
    opacity: 0.12;
    animation: waveScroll 16s linear infinite;
}

@keyframes waveScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-waveform svg {
    display: block;
    width: 100%;
    height: 72px;
}

.hero-waveform path {
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
}

.section-waveform {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    opacity: 0.25;
}

.section-waveform svg {
    display: block;
    width: 100%;
    height: 24px;
}

.section-waveform path {
    stroke: var(--pf-coral);
    stroke-width: 1.5;
    fill: none;
}

/* --- STAT BAR --- */
.stat-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 36px 5%;
    background: var(--pf-slate);
    border-bottom: 1px solid var(--pf-border);
    flex-wrap: wrap;
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 56px;
}

.stat-number {
    font-family: 'Instrument Serif', serif;
    font-size: 2.2rem;
    color: var(--pf-coral);
    line-height: 1;
    font-weight: 400;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pf-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 5px;
}

.stat-sep {
    font-size: 1.8rem;
    color: var(--pf-border);
    align-self: center;
    line-height: 1;
}

/* --- TIMELINE --- */
.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 27px;
    left: calc(12.5% + 22px);
    right: calc(12.5% + 22px);
    height: 2px;
    background: linear-gradient(to right, var(--pf-coral), var(--pf-mint));
    z-index: 0;
    border-radius: 2px;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.step-dot {
    width: 54px;
    height: 54px;
    background: var(--pf-coral);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    margin-bottom: 22px;
    box-shadow: 0 0 0 6px var(--pf-midnight);
    transition: transform 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
}

.timeline-step:hover .step-dot {
    transform: scale(1.12);
    box-shadow: 0 0 0 8px var(--pf-midnight), 0 0 0 10px rgba(30,58,138,0.3);
}

.timeline-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--pf-text);
}

.timeline-step p {
    font-size: 0.88rem;
    color: var(--pf-text-secondary);
    line-height: 1.55;
}

/* --- BENEFIT ROWS --- */
.benefit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 90px 0;
    border-bottom: 1px solid var(--pf-border);
}

.benefit-row:last-child { border-bottom: none; }
.benefit-row.reverse { direction: rtl; }
.benefit-row.reverse > * { direction: ltr; }

.benefit-visual {
    background: var(--pf-slate);
    border-radius: 16px;
    border: 1px solid var(--pf-border);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 48px;
    transition: border-color 0.3s;
}

.benefit-row:hover .benefit-visual {
    border-color: var(--pf-gold);
}

.benefit-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pf-mint);
    margin-bottom: 14px;
}

.benefit-row h2 {
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.benefit-row p {
    font-size: 1rem;
    color: var(--pf-text-secondary);
    line-height: 1.75;
}

/* --- BLOCKQUOTE / SOCIAL PROOF --- */
.quote-section {
    padding: 90px 5%;
    background: linear-gradient(160deg, var(--pf-hero-bg) 0%, var(--pf-hero-bg2) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section blockquote {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 1.9rem;
    color: #fff;
    max-width: 820px;
    margin: 0 auto 28px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.quote-section blockquote::before {
    content: '\201C';
    font-size: 8rem;
    position: absolute;
    top: -30px;
    left: -40px;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    font-style: normal;
}

.quote-attribution {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

/* --- CTA SECTION --- */
.cta-section {
    padding: 110px 5%;
    background: linear-gradient(160deg, var(--pf-hero-bg) 0%, var(--pf-hero-bg2) 100%);
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.68);
    font-size: 1.1rem;
    margin-bottom: 44px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* --- FEATURE ICON CARDS --- */
.icon-card {
    padding: 36px 32px;
    background: var(--pf-midnight);
    border-radius: 12px;
    border: 1px solid var(--pf-border);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.icon-card:hover {
    transform: translateY(-6px);
    border-color: var(--pf-gold);
    box-shadow: var(--pf-card-shadow-hover);
}

.icon-card .icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    stroke: var(--pf-mint);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pf-text);
    margin-bottom: 10px;
}

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

/* --- GRID LAYOUTS --- */
.grid {
    display: grid;
    gap: 28px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

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

/* --- SCROLL REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* --- FOOTER --- */
footer {
    padding: 64px 5% 40px;
    border-top: 1px solid var(--pf-border);
    transition: border-color 0.3s;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 48px;
}

.footer-brand .logo {
    font-size: 20px;
    display: inline-block;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--pf-text-secondary);
    max-width: 320px;
    line-height: 1.65;
}

.footer-links {
    display: flex;
    gap: 60px;
    justify-content: flex-end;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pf-text-secondary);
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    color: var(--pf-text);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 11px;
    opacity: 0.65;
    transition: opacity 0.2s, color 0.2s;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--pf-coral);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid var(--pf-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--pf-text-secondary);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .benefit-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .benefit-row.reverse { direction: ltr; }

    .timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .timeline::before { display: none; }
}

@media (max-width: 768px) {
    nav {
        height: 60px;
        padding: 0 5%;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--pf-nav-bg);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--pf-border);
        padding: 8px 5% 16px;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    nav.nav-open .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 12px 4px;
        font-size: 15px;
        border-bottom: 1px solid var(--pf-border);
        color: var(--pf-text) !important;
        opacity: 0.85;
    }

    .nav-links a:last-of-type {
        border-bottom: none;
    }

    .nav-links .btn-signin {
        color: #fff !important;
        border-bottom: none;
        justify-content: center;
        padding: 12px 16px;
        font-size: 15px;
        margin: 8px 0 0;
        border-radius: 8px;
        opacity: 1;
    }

    /* On hero pages (transparent nav), give the open hamburger dropdown
       the same navy background as the hero so white ghost button stays readable */
    body.hero-page nav:not(.nav-scrolled):not(.nav-solid).nav-open .nav-links {
        background: var(--pf-hero-bg);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom-color: rgba(255,255,255,0.1);
    }

    body.hero-page nav:not(.nav-scrolled):not(.nav-solid).nav-open .nav-links a {
        color: rgba(255,255,255,0.82) !important;
        border-bottom-color: rgba(255,255,255,0.12);
    }

    body.hero-page nav:not(.nav-scrolled):not(.nav-solid).nav-open .nav-links a:hover {
        color: #fff !important;
    }

    body.hero-page nav:not(.nav-scrolled):not(.nav-solid).nav-open .nav-links .theme-toggle {
        background: rgba(255,255,255,0.12);
        border-color: rgba(255,255,255,0.25);
        color: #fff;
    }

    .nav-links .theme-toggle {
        position: static;
        width: 32px;
        height: 32px;
        align-self: flex-start;
        margin-top: 10px;
    }

    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1rem; }
    .section-title { font-size: 2.1rem; }
    .benefit-row h2 { font-size: 1.9rem; }

    .timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stat-bar { gap: 20px; }
    .stat-item { padding: 0 24px; }
    .stat-sep { display: none; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .quote-section blockquote { font-size: 1.35rem; }
    .cta-section h2 { font-size: 2.2rem; }
}
