/*
 * SustainLedger light theme (2026-11-11 prototype, opt-in via $theme_light = true).
 * Cool white paper, ink navy text, one deep "ledger green", hairline ledger rules,
 * and a highlighter yellow reserved for marking real figures.
 */

body.theme-light {
    --paper: #fafbfc;
    --ink: #15253b;
    --ink-2: #3b4a5e;
    --ink-3: #5e6b7d;
    --ledger: #1e6b52;
    --ledger-dark: #17573f;
    --rule: #dce3ea;
    --sage: #eef4f0;
    --highlight: #f5cf4a;

    /* Re-point the shared tokens used across site.css */
    --text-primary: var(--ink);
    --text-secondary: var(--ink-2);
    --text-muted: var(--ink-3);
    --accent: var(--ledger);
    --accent-hover: var(--ledger-dark);
    --accent-muted: rgba(30, 107, 82, 0.1);
    --accent-glow: transparent;
    --bg-dark: var(--paper);
    --bg-darker: #ffffff;
    --bg-card: #ffffff;
    --bg-card-border: var(--rule);
    --gradient-card: #ffffff;
    --gradient-section: var(--paper);
    --shadow-card: 0 1px 2px rgba(21, 37, 59, 0.05);
    --shadow-glow: none;
    --sky: #1d6fa5;
    --violet: #5b4bb7;
    --amber: #9a6400;
    --teal: #0f766e;
    --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: var(--font-sans);

    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-feature-settings: "tnum" 1;
}

body.theme-light h1, body.theme-light h2, body.theme-light h3 {
    color: var(--ink);
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
}
body.theme-light a { color: var(--ledger); }
body.theme-light a:hover { color: var(--ledger-dark); }
body.theme-light :focus-visible { outline: 3px solid rgba(30, 107, 82, 0.45); outline-offset: 2px; }

/* Navigation */
body.theme-light .top-nav {
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--rule);
}
body.theme-light .nav-logo { color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
body.theme-light .nav-link, body.theme-light .nav-link.nav-cta { color: var(--ink-2); }
body.theme-light .nav-link:hover, body.theme-light .nav-link.active { color: var(--ink); }
body.theme-light .nav-link::after { background: var(--ledger); }
body.theme-light .nav-button { background: var(--ledger); color: #ffffff; }
body.theme-light .nav-button:hover { background: var(--ledger-dark); color: #ffffff; }

/* Buttons */
body.theme-light .btn { border-radius: 6px; box-shadow: none; font-weight: 600; }
body.theme-light .btn-primary { background: var(--ledger); border-color: var(--ledger); color: #ffffff; }
body.theme-light .btn-primary:hover { background: var(--ledger-dark); color: #ffffff; }
body.theme-light .btn-secondary { background: #ffffff; border: 1px solid var(--rule); color: var(--ink); }
body.theme-light .btn-secondary:hover { border-color: var(--ink-3); color: var(--ink); }

/* Footer */
body.theme-light .site-footer { background: #ffffff; border-top: 1px solid var(--rule); color: var(--ink-3); }
body.theme-light .site-footer a { color: var(--ink-2); }
body.theme-light .site-footer a:hover { color: var(--ledger); }

/* -------------------------------------------------------------------------
   Home page (lh-*)
   ------------------------------------------------------------------------- */
.lh-wrap { margin: 0 auto; max-width: 1140px; padding: 0 1.5rem; }

.lh-hero { padding: 4.5rem 0 3.5rem; }
.lh-hero .lh-wrap { align-items: center; display: grid; gap: 3.5rem; grid-template-columns: 1fr 1.05fr; }
.lh-hero h1 { font-size: clamp(2.1rem, 3.6vw, 3.05rem); font-weight: 600; line-height: 1.12; margin: 0 0 1.25rem; max-width: 16ch; }
.lh-lede { color: var(--ink-2); font-size: 1.15rem; line-height: 1.6; margin: 0 0 2rem; max-width: 34rem; }
.lh-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; }
.lh-actions .btn { padding: 0.85rem 1.35rem; }
.lh-note { color: var(--ink-3); font-size: 0.92rem; margin: 1rem 0 0; }

.lh-photo { margin: 0; position: relative; }
.lh-photo img { aspect-ratio: 4 / 3; border-radius: 10px; display: block; object-fit: cover; width: 100%; }
.lh-figure {
    background: #ffffff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    bottom: -1.6rem;
    box-shadow: 0 12px 28px rgba(21, 37, 59, 0.14);
    left: -1.6rem;
    min-width: 15.5rem;
    padding: 1rem 1.15rem 0.9rem;
    position: absolute;
}
.lh-figure dt { color: var(--ink-3); font-size: 0.86rem; margin-bottom: 0.25rem; }
.lh-figure dd { color: var(--ink); font-size: 1.9rem; font-weight: 600; margin: 0; }
.lh-figure dd mark {
    background: linear-gradient(transparent 52%, var(--highlight) 52%, var(--highlight) 92%, transparent 92%);
    color: inherit;
    padding: 0 0.15em;
}
.lh-figure .lh-figure-from { color: var(--ink-3); font-size: 0.78rem; margin: 0.35rem 0 0; }

.lh-facts { border-bottom: 1px solid var(--rule); border-top: 1px solid var(--rule); background: #ffffff; }
.lh-facts ul { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0 auto; max-width: 1140px; padding: 0 1.5rem; }
.lh-facts li { color: var(--ink-2); padding: 1.4rem 1.5rem 1.4rem 0; }
.lh-facts li + li { border-left: 1px solid var(--rule); padding-left: 1.5rem; }
.lh-facts strong { color: var(--ink); display: block; margin-bottom: 0.2rem; }

.lh-section { padding: 5rem 0; }
.lh-section h2 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); font-weight: 600; margin: 0 0 0.75rem; }
.lh-intro { color: var(--ink-2); font-size: 1.08rem; margin: 0 0 3rem; max-width: 40rem; }

.lh-service { align-items: center; display: grid; gap: 3.5rem; grid-template-columns: 1fr 1fr; }
.lh-service + .lh-service { border-top: 1px solid var(--rule); margin-top: 3.5rem; padding-top: 3.5rem; }
.lh-service.is-flipped .lh-service-photo { order: 2; }
.lh-service-photo img { aspect-ratio: 3 / 2; border-radius: 10px; display: block; object-fit: cover; width: 100%; }
.lh-service.is-paused .lh-service-photo img { filter: saturate(0.55); }
.lh-status { color: var(--ledger); font-size: 0.95rem; font-weight: 600; margin: 0 0 0.5rem; }
.lh-status.is-paused { color: var(--ink-3); }
.lh-service h3 { font-size: 1.5rem; font-weight: 600; margin: 0 0 0.8rem; }
.lh-service p { color: var(--ink-2); line-height: 1.65; margin: 0 0 1rem; max-width: 34rem; }
.lh-service .lh-price { color: var(--ink); font-weight: 600; }
.lh-service ul { color: var(--ink-2); margin: 0 0 1.4rem 1.1rem; }
.lh-service li { margin-bottom: 0.35rem; }

.lh-steps-band { background: var(--sage); }
.lh-steps { counter-reset: step; display: grid; gap: 2.5rem; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.lh-steps li { border-top: 2px solid var(--ledger); counter-increment: step; padding-top: 1.1rem; }
.lh-steps li::before { color: var(--ledger); content: "Step " counter(step); display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 0.4rem; }
.lh-steps h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 0.45rem; }
.lh-steps p { color: var(--ink-2); margin: 0; }

.lh-person { align-items: start; display: grid; gap: 3rem; grid-template-columns: 1fr 1.4fr; }
.lh-person img { aspect-ratio: 16 / 10; border-radius: 10px; display: block; object-fit: cover; width: 100%; }
.lh-person p { color: var(--ink-2); line-height: 1.7; margin: 0 0 1rem; max-width: 38rem; }

.lh-close { background: var(--ink); color: #e8eef5; }
.lh-close .lh-wrap { align-items: center; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; padding-bottom: 3.5rem; padding-top: 3.5rem; }
.lh-close h2 { color: #ffffff; font-size: 1.6rem; font-weight: 600; margin: 0 0 0.4rem; }
.lh-close p { color: #c9d4e0; margin: 0; max-width: 36rem; }
.lh-close .btn-primary { background: #ffffff; border-color: #ffffff; color: var(--ink); }
.lh-close .btn-primary:hover { background: var(--sage); color: var(--ink); }
.lh-close .lh-link { color: #ffffff; font-weight: 600; margin-left: 1.25rem; }

@media (max-width: 900px) {
    .lh-hero { padding: 2.5rem 0 3rem; }
    .lh-hero .lh-wrap, .lh-service, .lh-person { gap: 2rem; grid-template-columns: 1fr; }
    .lh-service.is-flipped .lh-service-photo { order: 0; }
    .lh-figure { bottom: -1.2rem; left: 0.8rem; min-width: 0; }
    .lh-facts ul, .lh-steps { grid-template-columns: 1fr; }
    .lh-facts li + li { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
    .lh-section { padding: 3.5rem 0; }
    .lh-close .lh-link { display: inline-block; margin: 0.75rem 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    body.theme-light * { transition: none !important; }
}

/* Fixes after first screenshot */
body.theme-light .lh-close h2 { color: #ffffff; }
body.theme-light .lh-close .lh-link { color: #ffffff; }
.lh-hero h1 { max-width: 19ch; font-size: clamp(2rem, 3.3vw, 2.8rem); }

/* Round 2 (Don): a touch less white; dark graded header with contrasting links. */
body.theme-light {
    --paper: #eef1f4;
    background: var(--paper);
}
body.theme-light .top-nav {
    background: linear-gradient(90deg, #3a4452 0%, #1f2731 55%, #0e141b 100%);
    border-bottom: 1px solid #0b1016;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 2px 10px rgba(14, 20, 27, 0.18);
}
body.theme-light .nav-logo { color: #ffffff; }
body.theme-light .nav-logo:hover { color: #cfe9dd; }
body.theme-light .nav-link, body.theme-light .nav-link.nav-cta { color: rgba(255, 255, 255, 0.78); }
body.theme-light .nav-link:hover, body.theme-light .nav-link:focus-visible,
body.theme-light .nav-link.active { color: #ffffff; }
body.theme-light .nav-link::after { background: #7fd1ae; }
body.theme-light .nav-button { background: #2a8a68; color: #ffffff; }
body.theme-light .nav-button:hover { background: #23785a; color: #ffffff; }
body.theme-light .nav-link:focus-visible, body.theme-light .nav-button:focus-visible { outline-color: #7fd1ae; }

/* White surfaces now read as cards against the grey page */
body.theme-light .lh-facts { background: #f8f9fb; }
body.theme-light .lh-steps-band { background: #e3ebe6; }

/* Footer: dark band to bookend the header */
body.theme-light .site-footer {
    background: linear-gradient(90deg, #3a4452 0%, #1f2731 55%, #0e141b 100%);
    border-top: 0;
    color: #aeb8c4;
}
body.theme-light .site-footer a { color: #e3e9ef; }
body.theme-light .site-footer a:hover { color: #7fd1ae; }
body.theme-light .lh-close { background: #15253b; border-bottom: 1px solid #0e141b; }
body.theme-light main { margin-bottom: 0; padding-bottom: 0; }
body.theme-light .site-footer { margin-top: 0; }
body.theme-light .site-footer .footer-meta { color: #9aa6b2; }

/* =========================================================================
   Site-wide roll-out (2026-11-11): shared components on the light theme.
   ========================================================================= */
body.theme-light {
    /* Legacy aliases used by inline styles on older pages (defined on :root in
       site.css, so they must be re-pointed here to follow the light theme). */
    --color-bg-dark: var(--paper);
    --color-text-light: var(--ink);
    --color-accent-green: var(--ledger);
    --color-accent-blue: var(--ledger);
    --color-card-border: var(--rule);
    --color-card-bg: #ffffff;
    --color-chart-blue: var(--ink);
    --color-success: var(--ledger);
    --cta-bg: var(--ink);
}

/* Page heading area (the shared hero on inner pages) */
body.theme-light .hero,
body.theme-light section.hero {
    background: linear-gradient(180deg, #e6ebf0 0%, var(--paper) 100%);
    border-bottom: 1px solid var(--rule);
}
body.theme-light .hero-statement-primary,
body.theme-light section.hero .hero-statement-primary { color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
body.theme-light .hero-statement-highlight,
body.theme-light section.hero .hero-statement-highlight { color: var(--ink-3); font-weight: 500; }
body.theme-light .hero-statement-secondary { color: var(--ink-3); }
body.theme-light .hero-statement-blurb, body.theme-light .hero-intro { color: var(--ink-2); }
body.theme-light .hero-actions-note { color: var(--ink-3); }
/* No drawn illustrations on the light theme: pages use a photo ($hero_compact_image) instead. */
body.theme-light .hero-diagram:not(.hero-diagram--banner) { display: none; }
body.theme-light .hero-diagram--banner { background: none; border: 0; box-shadow: none; padding: 0; }
body.theme-light .hero-banner-img {
    aspect-ratio: 3 / 2;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(21, 37, 59, 0.14);
    display: block;
    object-fit: cover;
    width: 100%;
}

/* Section headings and intros */
body.theme-light .section-heading { color: var(--ink); font-weight: 600; }
body.theme-light .section-intro { color: var(--ink-2); }
body.theme-light .panel--sky .section-heading,
body.theme-light .panel--violet .section-heading { color: var(--ink); }
body.theme-light .panel--sky { background: #e9f1f8; border-color: #c9dbea; border-left-color: var(--sky); }
body.theme-light .panel--violet { background: #ffffff; border-color: var(--rule); border-left-color: var(--ledger); }

/* Cards: white on the grey page, quiet top accent */
body.theme-light .card { background: #ffffff; border: 1px solid var(--rule); box-shadow: var(--shadow-card); }
body.theme-light .card:hover { border-color: #c7d1db; box-shadow: 0 4px 14px rgba(21, 37, 59, 0.08); }
body.theme-light .card--sky, body.theme-light .card--violet, body.theme-light .card--amber,
body.theme-light .card--teal, body.theme-light .card--green { background: #ffffff; }
body.theme-light .card h3 { color: var(--ink); }
body.theme-light .card p { color: var(--ink-2); }
body.theme-light .info-box { background: #ffffff; border: 1px solid var(--rule); color: var(--ink-2); }
body.theme-light .audience, body.theme-light .compare, body.theme-light .faq-home { color: var(--ink-2); }

/* FAQs */
body.theme-light .faq-item { background: #ffffff; border-color: var(--rule); }
body.theme-light .faq-question { color: var(--ink); }
body.theme-light .faq-answer { color: var(--ink-2); }

/* Closing call-to-action band */
body.theme-light .cta-band { background: none; box-shadow: none; }
body.theme-light .cta-band-inner,
body.theme-light .cta-band > div:first-child {
    background: var(--ink);
    border-radius: 12px;
    box-shadow: none;
}
body.theme-light .cta-band-headline { color: #ffffff; }
body.theme-light .cta-band-text { color: #c9d4e0; }
body.theme-light .btn-cta-primary { background: #ffffff; border-color: #ffffff; color: var(--ink); }
body.theme-light .btn-cta-primary:hover { background: var(--sage); color: var(--ink); }
body.theme-light .btn-cta-secondary { background: transparent; border: 1px solid rgba(255, 255, 255, 0.55); color: #ffffff; }
body.theme-light .btn-cta-secondary:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; }

/* "Paused" notice on CRP pages */
body.theme-light .crp-paused-banner { background: #fff4d6; border-bottom: 1px solid #f0dca0; color: #5c4300; }

/* Legal pages and footer legal links */
body.theme-light .legal-heading, body.theme-light .legal-h2 { color: var(--ink); }
body.theme-light .legal-text, body.theme-light .legal-content { color: var(--ink-2); }
body.theme-light .legal-text a, body.theme-light .footer-legal a, body.theme-light .footer-legal-inline a { color: var(--ledger); }

/* Forms (upload, checkout and others) */
body.theme-light .form-input, body.theme-light input[type="text"], body.theme-light input[type="email"],
body.theme-light input[type="number"], body.theme-light input[type="date"], body.theme-light select, body.theme-light textarea {
    background: #ffffff;
    border: 1px solid #c3ccd6;
    color: var(--ink);
}
body.theme-light .form-input:focus, body.theme-light input:focus, body.theme-light select:focus, body.theme-light textarea:focus {
    border-color: var(--ledger);
    box-shadow: 0 0 0 3px rgba(30, 107, 82, 0.15);
    outline: none;
}
body.theme-light .upload-tab, body.theme-light .upload-panel { background: #ffffff; border-color: var(--rule); color: var(--ink-2); }
body.theme-light .upload-tab:hover, body.theme-light .upload-tab-active, body.theme-light .upload-panel-title { color: var(--ledger); }
body.theme-light .alert-error { background: #fdecec; border-color: #f2b8b8; color: #8a1c1c; }
/* Older pages: grey-blue inline boxes become light panels */
body.theme-light [style*="rgba(31, 58, 95"] { background: #f3f6f9 !important; border-color: var(--rule) !important; }
body.theme-light .landing-cta { background: #ffffff; border: 1px solid var(--rule); }
.guide-note { background: #fff8e1; border: 1px solid #f0dca0; border-left: 4px solid #d9a400; border-radius: 6px; margin: 0 0 2rem; padding: 1rem 1.2rem; }
.guide-note p { color: var(--ink-2, #3b4a5e); margin: 0; }
/* Figure card over inner-page hero photos (same as the home page) */
body.theme-light .hero-diagram--banner { position: relative; }
body.theme-light .hero-figure { bottom: -1.3rem; left: -1.3rem; min-width: 14rem; text-align: left; }
body.theme-light .hero-figure dd { font-size: 1.6rem; }
@media (max-width: 900px) { body.theme-light .hero-figure { bottom: -1rem; left: 0.75rem; } }
/* Fixes: hero photo fills its frame; closing band coloured as a whole */
body.theme-light .hero-compact.hero-has-aside .hero-banner-img { aspect-ratio: 3 / 2; object-fit: cover; }
body.theme-light .cta-band {
    background: var(--ink);
    border-radius: 12px;
    box-shadow: none;
}
body.theme-light .cta-band-inner,
body.theme-light .cta-band > div:first-child { background: none; border-radius: 0; }
body.theme-light .cta-band-headline { text-shadow: none; }
/* Inner-page headings: calmer size, subtitle on its own line, photo keeps 3:2 */
body.theme-light .hero-compact .hero-statement-primary,
body.theme-light section.hero.hero-compact .hero-statement-primary {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    line-height: 1.12;
}
body.theme-light .hero-compact .hero-statement-highlight,
body.theme-light section.hero.hero-compact .hero-statement-highlight {
    display: block;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.35;
    margin-top: 0.6rem;
}
body.theme-light .hero-compact.hero-has-aside .hero-diagram--banner { align-items: center; align-self: center; }
body.theme-light .hero-compact.hero-has-aside .hero-banner-img { height: auto; max-height: 360px; }
body.theme-light .hero-compact .hero-intro { font-size: 1.05rem; line-height: 1.6; margin-top: 1rem; }
body.theme-light .service-status { text-transform: none; letter-spacing: 0; font-size: 0.85rem; }

/* =========================================================================
   Payment practices tool on the light theme. Same colour meanings as before
   (green done, sky information, amber check, coral needed, violet highlight),
   darkened so text reads on light backgrounds.
   ========================================================================= */
body.theme-light #pp-tool {
    --pp-border: var(--rule);
    --pp-panel: #ffffff;
    --pp-panel-strong: #ffffff;
    --pp-amber: #b7791f;
    --pp-amber-bg: #fff7e0;
    --pp-amber-border: #ecd08a;
    --pp-red: #b42318;
    --pp-sky: #1d6fa5;
    --pp-sky-bg: #e8f2fa;
    --pp-sky-border: #b9d6ec;
    --pp-violet: #5b4bb7;
    --pp-violet-bg: #f1eefb;
    --pp-violet-border: #cfc6f0;
    --pp-coral: #c2410c;
    --pp-coral-bg: #fdefe9;
    --pp-coral-border: #f1c1ac;
}
body.theme-light #pp-tool .pp-step { background: #ffffff; border-color: var(--rule); box-shadow: 0 1px 3px rgba(21, 37, 59, 0.06); }
body.theme-light #pp-tool .pp-step-header { border-bottom-color: var(--rule); }
body.theme-light .pp-step-footer { background: #f6f8fa; border-top-color: var(--rule); }
body.theme-light .pp-file-choice, body.theme-light .pp-optional-file,
body.theme-light .pp-period-card, body.theme-light .pp-choice-card,
body.theme-light .pp-summary-tile, body.theme-light .pp-headline-tile,
body.theme-light .pp-download-card .pp-what-tool,
body.theme-light #pp-tool .pp-licence-panel:not(.is-active) .pp-licence-section,
body.theme-light #pp-tool details { background: #ffffff; }
/* The privacy pill is a <details> too: no white box behind its rounded ends. */
body.theme-light #pp-tool details.pp-privacy-details { background: none; border: 0; border-radius: 0; box-shadow: none; }
body.theme-light .pp-file-choice { background: #f8fbf9; border-color: #9fc7b5; }
body.theme-light #pp-step-map tr { background: transparent; }
body.theme-light #pp-tool :where(input[type="date"], input[type="number"], input[type="text"], input[type="email"], select) {
    background: #ffffff;
    border: 1px solid #c3ccd6;
    color: var(--ink);
}
body.theme-light #pp-tool select:disabled { background: #f3f5f7; color: var(--ink-3); }

/* Amber: callouts, problems, confirmations */
body.theme-light .pp-warning, body.theme-light .pp-confirm-card, body.theme-light .pp-issues-card,
body.theme-light .pp-problems, body.theme-light .pp-confirm-item p, body.theme-light .pp-problem-link { color: #5c4300; }
body.theme-light .pp-confirm-card h3, body.theme-light .pp-problems strong { color: #7a5600; }
body.theme-light .pp-problem-link:hover, body.theme-light .pp-problem-link:focus-visible { color: #3d2c00; }
body.theme-light .pp-match-badge.is-check, body.theme-light .pp-status-badge.is-action { color: #7a5600; }

/* Sky, violet, coral text */
body.theme-light .pp-help summary, body.theme-light #pp-tool details.pp-help summary,
body.theme-light .pp-match-badge.is-chosen, body.theme-light .pp-keep-work strong { color: #17567f; }
body.theme-light .pp-date-order legend, body.theme-light .pp-info-card.is-group h3,
body.theme-light .pp-coming-soon h3,
body.theme-light #pp-tool .pp-preview-table tr.is-heading-row td,
body.theme-light #pp-tool .pp-preview-table tr.is-heading-row th { color: #44379a; }
body.theme-light .pp-match-badge.is-missing, body.theme-light .pp-info-card.is-leave-out h3,
body.theme-light .pp-start-again.is-armed { color: #9a3412; }
body.theme-light .pp-file-problem { color: #7c2d12; }
body.theme-light .pp-status-badge.is-fail { color: #9f1d1d; background: #fdecec; border-color: #f2b8b8; }
body.theme-light .pp-status-badge.is-neutral { color: var(--ink-2); background: #eef1f4; border-color: var(--rule); }

/* Green: confirmations, licence, results banner */
body.theme-light .pp-file-confirmation { background: #eaf5ef; border-color: #a9d2bf; }
body.theme-light .pp-period-banner { background: #eaf5ef; border-color: #a9d2bf; color: var(--ink); }
body.theme-light .pp-licence-adds { background: #eaf5ef; border-color: #a9d2bf; }
body.theme-light .pp-privacy-badge { background: #eaf5ef; border-color: #a9d2bf; color: var(--ink); }
body.theme-light .pp-privacy-panel { background: #ffffff; border-color: var(--rule); color: var(--ink-2); box-shadow: 0 14px 34px rgba(21, 37, 59, 0.16); }
body.theme-light .pp-privacy-panel h3, body.theme-light .pp-privacy-panel strong { color: var(--ink); }

/* Step markers and buttons */
body.theme-light .pp-start-again { border-color: #c3ccd6; color: var(--ink-2); }
body.theme-light .pp-start-again:hover { border-color: var(--ink-3); color: var(--ink); }
body.theme-light #pp-tool .btn-primary:disabled,
body.theme-light #pp-tool .btn-primary[disabled] { background: #ffffff; border: 1px solid #b9c3cd; color: var(--ink-3); opacity: 1; }
body.theme-light #pp-tool thead th { color: var(--ink-3); }
body.theme-light .pp-action-reason { color: var(--ink-3); }
body.theme-light #pp-step-suppliers { --pp-step-accent: #0f766e; }
body.theme-light .pp-summary-tiles > div:nth-child(5n+5), body.theme-light .pp-headline-tiles > div:nth-child(5n+5) { border-top-color: #0f766e; }

/* =========================================================================
   Spacing pass (2026-11-11, Don: "review all spacing")
   One rhythm for inner pages: 3.5rem heading area, 2rem to its button,
   3.5rem between sections.
   ========================================================================= */
body.theme-light section.hero.hero-compact { padding: 3.5rem 1.5rem 3.25rem; }
body.theme-light .hero-compact .hero-actions-wrap { justify-content: flex-start; margin-top: 2.25rem; }
body.theme-light .hero-compact .hero-actions-block { text-align: left; }
body.theme-light .hero-compact .hero-actions { justify-content: flex-start; }
body.theme-light .hero-compact .hero-grid { align-items: center; }
body.theme-light main > .container { padding-top: 3rem; padding-bottom: 1rem; }
body.theme-light .audience, body.theme-light .features, body.theme-light .faq-home,
body.theme-light .compare { margin: 0 0 3.5rem; }
body.theme-light .info-box { margin: 0 0 2rem; }
body.theme-light .cta-band { margin: 1rem auto 3.5rem; }

/* About: photo centred below the text */
body.theme-light .hero-image-below .hero-grid { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
body.theme-light .hero-image-below .hero-statement { max-width: 44rem; }
body.theme-light .hero-image-below .hero-diagram--banner { display: flex !important; justify-content: center; margin-top: 2rem; width: 100%; }
body.theme-light .hero-image-below .hero-banner-img { aspect-ratio: 21 / 9; max-height: none; max-width: 900px; width: 100%; }

/* Tool: consistent variety inside the white step card */
body.theme-light .pp-step-header { background: color-mix(in srgb, var(--pp-step-accent, var(--ledger)) 9%, #ffffff); }
body.theme-light .pp-results-card,
body.theme-light .pp-download-card,
body.theme-light .pp-licence-panel,
body.theme-light .pp-next-steps { background: #f5f7f9; border-color: var(--rule); }
body.theme-light .pp-results-card .pp-headline-tile,
body.theme-light .pp-results-card .pp-summary-tile,
body.theme-light .pp-licence-panel .pp-licence-section { background: #ffffff; }
body.theme-light #pp-tool thead th { background: #eef2f5; }
body.theme-light #pp-suppliers-table tbody tr:nth-child(even) td,
body.theme-light .pp-portal-table tbody tr:nth-child(even) td,
body.theme-light .pp-portal-table tbody tr:nth-child(even) th,
body.theme-light #pp-issues-table tbody tr:nth-child(even) td { background: #f8fafb; }
body.theme-light .pp-portal-table tbody td, body.theme-light .pp-portal-table tbody th { background: #ffffff; }
body.theme-light .pp-summary-tiles .pp-summary-tile { background: #f8fafb; }
body.theme-light .hero-image-below .hero-intro, body.theme-light .hero-image-below .hero-statement-blurb { margin-left: auto; margin-right: auto; text-align: center; }
body.theme-light #pp-tool .pp-licence-panel.is-active { background: #eaf5ef; border-color: #a9d2bf; }
/* Lists inside text sections line up with the paragraphs */
body.theme-light .audience ul, body.theme-light .audience ol { margin: 0.4rem 0 1rem; padding-left: 1.35rem; }
body.theme-light .audience li { color: var(--ink-2); font-size: inherit; margin-bottom: 0.3rem; }
body.theme-light .audience p { color: var(--ink-2); }
body.theme-light .audience p, body.theme-light .audience li { font-size: 1rem; line-height: 1.65; }

/* Guide pages: simple data tables and closing note */
.guide-table-wrap { overflow-x: auto; margin: 1rem 0 1.25rem; }
.guide-table { border-collapse: collapse; width: 100%; background: #fff; font-size: .97rem; }
.guide-table th, .guide-table td { border: 1px solid #d9e0e6; padding: .6rem .8rem; text-align: left; vertical-align: top; }
.guide-table thead th { background: #eef3f1; color: var(--ink, #14233a); font-weight: 600; }
.guide-table td:last-child { font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .guide-table--figures td:last-child { white-space: nowrap; } }
.guide .audience p { margin: 0 0 .85rem; }
.guide .audience p:last-child { margin-bottom: 0; }
.guide .btn { text-decoration: none; }
.guide-note-small { color: var(--ink-2, #3b4a5e); font-size: .9rem; margin: 2rem 0 0; }

/* =========================================================================
   Home 2026-11-20: both products side by side straight under the headline.
   ========================================================================= */
.lh-hero--products { padding: 2.25rem 0 3rem; }
.lh-hero--products .lh-wrap { display: block; }
.lh-hero-head { margin: 0 0 1.5rem; max-width: 62rem; }
.lh-hero--products h1 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin: 0 0 0.7rem; max-width: none; }
.lh-hero--products .lh-lede { font-size: 1.1rem; margin: 0; max-width: 46rem; }
.lh-products { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.lh-product {
    background: #ffffff;
    border: 1px solid var(--rule);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(21, 37, 59, 0.05), 0 6px 20px rgba(21, 37, 59, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.lh-product-photo { aspect-ratio: 16 / 3; display: block; object-fit: cover; width: 100%; }
.lh-product-body { display: flex; flex: 1; flex-direction: column; padding: 1.15rem 1.5rem 1.4rem; }
.lh-product .lh-product-for { color: var(--ledger); font-size: 0.95rem; font-weight: 600; margin: 0 0 0.3rem; }
.lh-product h2 { font-size: 1.45rem; font-weight: 600; line-height: 1.2; margin: 0 0 0.55rem; }
.lh-product p { color: var(--ink-2); line-height: 1.55; margin: 0 0 0.7rem; }
.lh-product .lh-product-due { background: var(--sage); border-left: 3px solid var(--ledger); color: var(--ink); font-size: 0.95rem; padding: 0.5rem 0.75rem; }
.lh-product .lh-product-price { color: var(--ink); font-weight: 600; margin-top: auto; }
.lh-product-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.lh-product-more { color: var(--ledger); font-weight: 600; }
.lh-which { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; }
.lh-which h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 0.6rem; }
.lh-which p, .lh-which li { color: var(--ink-2); line-height: 1.65; }
.lh-which ul { margin: 0 0 1rem 1.1rem; }
@media (max-width: 900px) {
    .lh-hero--products { padding: 2rem 0 2.5rem; }
    .lh-products, .lh-which { grid-template-columns: 1fr; }
    .lh-product-photo { aspect-ratio: 16 / 3.5; }
    .lh-product-body { padding: 1.2rem 1.2rem 1.4rem; }
}
body.theme-light #pp-tool .pp-outcome { background: var(--sage); border-left-color: var(--ledger); }
body.theme-light #pp-tool .pp-outcome a { color: var(--ledger); }

/* Tool pages: a little less space under the title band (Don, 20 Nov). */
body.theme-light section.hero.hero-tool { padding-bottom: 2.25rem; }
body.theme-light .pp-unlock-bar { background: var(--ledger); }
body.theme-light #pp-tool .pp-licence-panel:not(.is-active) .pp-buy-main { border-color: var(--ledger); }
body.theme-light .pp-buy-main h3, body.theme-light .pp-coming-soon.pp-buy-main h3 { color: var(--ink); }
body.theme-light .pp-buy-main .pp-buy-price { color: var(--ledger); }
body.theme-light .crp-tool .crp-buy { background: #ffffff; border-color: var(--ledger); }
body.theme-light .crp-tool .crp-key-box { background: #ffffff; }

/* Hero offer (redesigned 2026-11-26): price on the left, three short points on the right, hairline card.
   Lines are kept short on purpose so nothing wraps awkwardly at desktop widths. */
body.theme-light .hero-offer {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    background: #ffffff;
    border: 1px solid var(--rule);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(21, 37, 59, 0.04);
    margin: 1.25rem 0 0;
    max-width: 34rem;
    padding: 1rem 1.25rem;
    text-align: left;
}
body.theme-light .hero-offer-price {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    padding-right: 1.4rem;
    border-right: 1px solid var(--rule);
}
body.theme-light .hero-offer-amount {
    color: var(--ink);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.05;
    font-feature-settings: "tnum";
}
body.theme-light .hero-offer-per { color: var(--ink-3); font-size: 0.85rem; line-height: 1.4; margin-top: 0.3rem; white-space: nowrap; }
body.theme-light .hero-offer-points { list-style: none; margin: 0; padding: 0; }
body.theme-light .hero-offer-points li {
    position: relative;
    color: var(--ink-2);
    font-size: 0.95rem;
    line-height: 1.4;
    padding-left: 1.55rem;
    margin: 0.2rem 0;
}
body.theme-light .hero-offer-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 1.05em;
    height: 1.05em;
    border-radius: 50%;
    background: var(--sage) no-repeat center / 0.7em url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.2 2.2 4.8-5' fill='none' stroke='%231e6b52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (max-width: 560px) {
    body.theme-light .hero-offer { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    body.theme-light .hero-offer-price { flex-direction: row; align-items: baseline; gap: 0.6rem; border-right: 0; padding-right: 0;
        border-bottom: 1px solid var(--rule); padding-bottom: 0.7rem; width: 100%; }
    body.theme-light .hero-offer-per { max-width: none; margin-top: 0; }
}

/* Calm pass 2026-11-22 (DESIGN.md): one accent colour, no rainbow card tops, text left-aligned.
   The tool's own step colours (sky/violet/amber/teal) are separate and unaffected. */
body.theme-light .card--sky, body.theme-light .card--green, body.theme-light .card--violet,
body.theme-light .card--amber, body.theme-light .card--teal { background: #ffffff; border-top: 1px solid var(--rule); }
body.theme-light .features .card, body.theme-light .features .card h3, body.theme-light .features .card p { text-align: left; }
body.theme-light .card--sky, body.theme-light .card--green, body.theme-light .card--violet,
body.theme-light .card--amber, body.theme-light .card--teal { --card-accent: var(--ledger); }

/* Section panels: white with a green left rule; amber only for deadlines and warnings. */
body.theme-light .panel--sky, body.theme-light .panel--green, body.theme-light .panel--violet,
body.theme-light .panel--edge-teal { background: #ffffff; border: 1px solid var(--rule); border-left: 4px solid var(--ledger); }
body.theme-light .panel--amber { background: #fcf6ea; border: 1px solid #efdfbf; border-left: 4px solid var(--amber); }

/* One box deep: a section that holds its own cards or columns isn't drawn as a box itself. */
body.theme-light .audience:has(> .compare-grid), body.theme-light .audience:has(> .card-grid) {
    background: none; border: 0; box-shadow: none; padding-left: 0; padding-right: 0;
}
body.theme-light .audience > .card-grid { margin-top: var(--space-lg); }
body.theme-light .compare-col { background: #ffffff; border-color: var(--rule); }
body.theme-light .compare-col--paid { border-color: var(--ledger); }

/* Questions: a thin accent edge on each answer card. */
body.theme-light .faq-home .faq-item { border-left: 3px solid var(--ledger); }
#products { scroll-margin-top: 90px; }

/* In-page nudge on guide pages: "do this for your own company" with a no-commitment example link */
.guide-cta { background: var(--sage); border: 1px solid #cfe0d6; border-left: 4px solid var(--ledger); border-radius: 6px; margin: 1.5rem 0 2rem; padding: 1rem 1.2rem; }
.guide-cta p { color: var(--ink); margin: 0 0 .6rem; }
.guide-cta p:last-child { margin-bottom: 0; }
.guide-cta-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.guide-cta-links a { font-weight: 700; }

/* Hero button lines up with the left-aligned hero text on tablet and desktop (it floated centred). */
@media (min-width: 768px) {
    body.theme-light .hero-compact .hero-actions-block { align-items: flex-start; }
}

/* Phone menu: wrap onto a second line instead of a hidden sideways scroll that cut off "Carbon reduction plans". */
@media (max-width: 860px) {
    .nav-links { flex-wrap: wrap; overflow-x: visible; gap: 0.35rem 1.1rem; }
}

/* Buttons (Don's pick 2026-11-22, option C): rounded pill with a soft green shadow.
   Links that take you somewhere also get an arrow in a circle; form buttons in the tools don't. */
body.theme-light .btn { border-radius: 999px; }
body.theme-light .btn-primary, body.theme-light .btn-cta-primary {
    align-items: center; display: inline-flex; font-weight: 700; gap: 0.7rem;
    box-shadow: 0 3px 10px rgba(30, 107, 82, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
body.theme-light .btn-primary:hover, body.theme-light .btn-cta-primary:hover {
    box-shadow: 0 5px 14px rgba(30, 107, 82, 0.34); transform: translateY(-1px);
}
body.theme-light .btn-primary:active, body.theme-light .btn-cta-primary:active { box-shadow: 0 1px 4px rgba(30, 107, 82, 0.3); transform: none; }
body.theme-light .btn-primary:disabled, body.theme-light .btn-primary[disabled] { box-shadow: none; transform: none; }
body.theme-light .btn-cta-primary { box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25); }
body.theme-light a.btn-primary, body.theme-light a.btn-cta-primary { padding-right: 1.1rem; }
body.theme-light a.btn-primary::after, body.theme-light a.btn-cta-primary::after {
    align-items: center; border-radius: 50%; content: "\2192"; display: inline-flex; flex: none;
    font-weight: 600; height: 1.7rem; justify-content: center; width: 1.7rem;
    background: rgba(255, 255, 255, 0.18);
}
body.theme-light a.btn-cta-primary::after, body.theme-light .lh-close a.btn-primary::after { background: var(--sage); color: var(--ledger); }
@media (prefers-reduced-motion: reduce) {
    body.theme-light .btn-primary:hover, body.theme-light .btn-cta-primary:hover { transform: none; }
}

/* Long URLs and email addresses in guides wrap instead of pushing the page sideways on phones. */
body.theme-light .guide a { overflow-wrap: anywhere; }

/* Product dropdowns in the top menu (2026-11-22) */
.nav-menu { position: relative; }
.nav-menu > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; list-style: none; position: relative; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-caret { border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; display: inline-block;
    height: 0.4rem; margin-top: -0.2rem; transform: rotate(45deg); transition: transform 0.15s ease; width: 0.4rem; }
.nav-menu[open] .nav-caret { margin-top: 0.15rem; transform: rotate(-135deg); }
.nav-menu-panel {
    background: #ffffff; border: 1px solid var(--rule, #dce3ea); border-radius: 10px;
    box-shadow: 0 10px 30px rgba(14, 20, 27, 0.22); display: flex; flex-direction: column;
    left: 0; min-width: 16rem; padding: 0.4rem; position: absolute; top: calc(100% + 0.5rem); z-index: 1100;
}
.nav-menu-item { border-radius: 6px; color: var(--ink, #15253b); font-size: 0.93rem; padding: 0.5rem 0.75rem; text-decoration: none; white-space: nowrap; }
body.theme-light .nav-menu-item { color: var(--ink); }
.nav-menu-item:hover, .nav-menu-item:focus-visible { background: var(--sage, #eef4f0); color: var(--ink, #15253b); }
.nav-menu-item[aria-current="page"] { box-shadow: inset 3px 0 0 var(--ledger, #1e6b52); font-weight: 600; }
body.theme-light .nav-menu-item--tool { color: var(--ledger); font-weight: 700; }
.nav-menu-label { border-top: 1px solid var(--rule, #dce3ea); color: var(--ink-3, #5e6b7d); font-size: 0.78rem;
    font-weight: 600; margin: 0.35rem 0.25rem 0; padding: 0.55rem 0.5rem 0.2rem; }
@media (max-width: 860px) {
    .nav-menu { position: static; }
    .nav-menu-panel { left: 1rem; right: 1rem; min-width: 0; top: auto; margin-top: 0.5rem; }
    .nav-menu-item { white-space: normal; }
}

/* "What you'll need" line under the hero price box, and start buttons inside page sections. */
body.theme-light .hero-ready { max-width: 34rem; margin: 0.85rem 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-3); }
body.theme-light .hero-ready a { color: var(--ledger, #1e6b52); font-weight: 600; white-space: nowrap; }
body.theme-light .section-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 1.5rem 0 0; }
body.theme-light .section-cta span { color: var(--ink-3); font-size: 0.95rem; }
@media (max-width: 560px) { body.theme-light .hero-ready { text-align: center; margin-left: auto; margin-right: auto; } }
/* "Email yourself the link": phones and tablets only */
body.theme-light .hero-later { display: none; }
@media (max-width: 599px), (hover: none) and (pointer: coarse) {
  body.theme-light .hero-later { display: block; max-width: 34rem; margin: 0.6rem 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-3); }
  body.theme-light .hero-later a { color: var(--ledger, #1e6b52); font-weight: 600; text-decoration: underline; }
}
@media (max-width: 560px) { body.theme-light .hero-later { text-align: center; margin-left: auto; margin-right: auto; } }

/* Hero video preview: the demo's own frame, a round play button and the running time, like any
   video site. Clicking swaps it for the player in place (assets/demo.js). */
body.theme-light .hero-video { flex-direction: column; align-items: stretch; width: 100%; }
.video-thumb { position: relative; display: block; overflow: hidden; border-radius: 10px; border: 1px solid var(--rule, #dce3ea);
    background: #0f1b2b; box-shadow: 0 10px 26px rgba(21, 37, 59, 0.14); }
.video-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(15, 27, 43, 0.12); transition: background 0.15s; }
.video-thumb:hover::after { background: rgba(15, 27, 43, 0.04); }
.video-thumb-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
    border-radius: 50%; background: var(--ledger, #1e6b52); display: grid; place-items: center;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.55), 0 6px 20px rgba(0, 0, 0, 0.3); transition: transform 0.15s; }
.video-thumb-play svg { width: 34px; height: 34px; margin-left: 4px; fill: #fff; }
.video-thumb:hover .video-thumb-play, .video-thumb:focus-visible .video-thumb-play { transform: scale(1.07); }
.video-thumb:focus-visible { outline: 3px solid var(--ledger, #1e6b52); outline-offset: 3px; }
.video-thumb-time { position: absolute; z-index: 1; right: 10px; bottom: 10px; padding: 2px 7px; border-radius: 4px;
    background: rgba(0, 0, 0, 0.78); color: #fff; font-size: 0.8rem; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; }
.video-thumb-caption { margin: 0.75rem 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-3, #5b6b7e); }
.video-thumb-caption strong { color: var(--ink, #15253b); margin-right: 0.25rem; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 10px; background: #0f1b2b; }
/* Phones: the preview comes after the start button and price, not before them. */
@media (max-width: 599px) {
    section.hero.hero-has-video .hero-inner { display: flex; flex-direction: column; }
    section.hero.hero-has-video .hero-grid { display: contents; }
    section.hero.hero-has-video .hero-statement { order: 1; }
    section.hero.hero-has-video .hero-actions-wrap { order: 2; }
    section.hero.hero-has-video .hero-diagram.hero-video { display: flex; order: 3; margin-top: 1.75rem; }
    .video-thumb-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
    .video-thumb-caption { text-align: center; }
}

/* Hero: quiet link for people who searched to learn what PPN 006 is (2026-11-30). */
.hero-guide-link { color: var(--ledger, #1e6b52); font-size: 0.95rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; align-self: center; }
/* Phones: one-row menu so the heading, button and price show on arrival (2026-11-30). The logo links home. */
@media (max-width: 599px) {
    .top-nav { padding: 0.4rem 0; }
    .top-nav .nav-container { gap: 0.15rem; }
    .top-nav .nav-logo { font-size: 1.05rem; }
    .top-nav .nav-links { gap: 0; flex-wrap: nowrap; margin-left: -0.5rem; max-width: calc(100% + 0.5rem); overflow-x: auto; scrollbar-width: none; }
    .top-nav .nav-links::-webkit-scrollbar { display: none; }
    .top-nav .nav-links > a.nav-link[href="/"] { display: none; }
    .top-nav .nav-link { font-size: 0.8rem; padding: 0.3rem 0.5rem; white-space: nowrap; }
    .hero-guide-link { font-size: 0.9rem; text-align: center; }
    body.theme-light section.hero.hero-compact { padding-top: 1.75rem; }
    body.theme-light .hero-compact .hero-actions-wrap { margin-top: 1.5rem; }
}
