/* Light layer: white is the main color, dark green second, brass third.
   Loaded last on every page so it overrides the dark headers and heroes. */
:root { --gold-text: #8C6A12; }
body::before { background: var(--white, #fff); }

/* Header */
header, header.site { background: #FFFFFF !important; border-bottom: 1px solid var(--line) !important; }
header .logo, header .brand, header.site .logo { color: var(--ink) !important; }
header .nav a, header nav a:not(.btn) { color: var(--muted) !important; }
header .nav a:hover, header nav a:not(.btn):hover { color: var(--ink) !important; }
header summary { color: var(--muted); }

/* Heroes and page heads */
.hero, .page-head { background: #FFFFFF !important; color: var(--text) !important; border-bottom: 1px solid var(--line); }
.hero h1, .page-head h1, .hero h2, .page-head h2 { color: var(--ink) !important; }
.hero h1 .y, .hero h1 .accent, .page-head h1 .y { color: var(--gold-text) !important; }
.hero .kicker, .page-head .kicker { color: var(--gold-text) !important; }
.hero .sub, .hero p, .hero li, .hero dd, .hero dt, .page-head p, .page-head li { color: var(--muted); }
.hero .sub.sub-2, .hero b, .hero strong, .page-head b, .page-head strong { color: var(--ink) !important; }
.hero .link, .hero .hero-walk .link, .hero a:not(.btn), .page-head a:not(.btn) { color: var(--ink) !important; }
.hero-note, .hero-proof, .video-caption, .hero .cap, .hero figcaption { color: var(--muted) !important; }
.crumb, .crumbs { color: var(--muted) !important; }
.crumb a, .crumbs a { color: var(--muted) !important; }
.crumb a:hover, .crumbs a:hover { color: var(--ink) !important; }
.hero-cta .btn-line, .hero .btn-line, .page-head .btn-line { color: var(--ink) !important; box-shadow: inset 0 0 0 2px var(--ink) !important; background: transparent; }
.hero-cta .btn-line:hover, .hero .btn-line:hover { background: rgba(14,42,32,.06) !important; }

/* Screens and video cards sitting in a white hero */
.hero .screen, .hero-screen .screen, .page-head .screen { border-color: var(--line) !important; box-shadow: 0 18px 48px rgba(14,42,32,.14) !important; }
.hero .video-trigger { box-shadow: 0 18px 48px rgba(14,42,32,.18); }
.tour-link { color: var(--ink) !important; }

/* Homepage hero: plain white, no dark gradient */
.home .hero { background: #FFFFFF !important; }
.home .hero-proof b { color: var(--ink) !important; }

/* Keep text inside dark screen headers light */
.hero .screen-top, .hero .screen-top b, .hero .screen-top span, .page-head .screen-top b { color: var(--logo-white, #F3F5F2) !important; }
.hero .screen-top .env, .hero .screen-top span:not(.export) { color: var(--steel-light) !important; }
.hero .screen-top .export { color: var(--ink) !important; }
.home .hero .sub { color: var(--muted) !important; }
.hero .clock-num { color: var(--gold-text) !important; }

/* Brass stays a third color: soften full-width brass bands */
.cta { background: #F6ECD7 !important; }
.hero .status-box h2, .hero .status-box h2 * { color: var(--logo-white, #F3F5F2) !important; }

/* Brass lives on green only. On white, the accent is a muted green. */
:root { --yellow: #3F7356; --gold-text: #3F7356; }
.results, .network, footer, .site-footer, footer.site, .video, .screen-top, .status-box, .proof-card,
.sticky-cta, .sample-top, .facts h2, .home .cta, .video-label, .video-play, .video-close { --yellow: #D9A43B; }

/* Buttons on white: solid dark green, white text */
.btn-yellow { background: var(--ink) !important; color: #FFFFFF !important; }
.btn-yellow:hover { background: var(--ink-2) !important; }
.results .btn-yellow, .network .btn-yellow, footer .btn-yellow, .home .cta .btn-yellow { background: #D9A43B !important; color: var(--ink) !important; }

/* Hero accent and small labels on white */
.hero h1 .accent, .hero h1 .y, .page-head h1 .y { color: #3F7356 !important; }
.hero .kicker, .page-head .kicker, .hero .clock-num { color: #3F7356 !important; }
.run-grid li::before { color: var(--ink) !important; }
.tour-play { background: var(--ink) !important; color: #FFFFFF !important; }
.link, .coverage a, .cta-alt a { text-decoration-color: #9DBFAE !important; }
.results .link, footer .link { text-decoration-color: #D9A43B !important; }

/* Closing bands: neutral on inner pages, dark green with brass on the homepage */
.cta { background: #F3F2EC !important; }
.home .cta { background: var(--ink) !important; color: #C6D1CA; }
.home .cta h2 { color: #FFFFFF !important; }
.home .cta p { color: #C6D1CA; }
.home .cta .btn-ink { background: #D9A43B !important; color: var(--ink) !important; }
.home .cta .btn-line { color: #FFFFFF !important; box-shadow: inset 0 0 0 2px #C6D1CA !important; }

/* Sentence-case headlines on every page; tighter on phones */
.hero h1, .page-head h1 { text-transform: none !important; letter-spacing: -0.005em; line-height: 1 !important; }
@media (max-width: 640px) { .hero h1, .page-head h1 { font-size: clamp(34px, 10vw, 42px) !important; line-height: 1.04 !important; } }
