/* Public landing page (standalone). Typeface: Plus Jakarta Sans. */
:root {
    --ink: #0c2a21;
    --ink-soft: #3d564d;
    --muted: #64786f;
    --line: #dbe5e0;
    --paper: #ffffff;
    --wash: #f2f7f4;
    --forest: #0c2a21;
    --forest-2: #143a2e;
    --green: #0a7f58;
    --green-dark: #086646;
    --mint: #3ddc97;
    --mint-soft: #dff6ea;
    --wine: #8f1d40;
    --radius: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper);
    -webkit-font-smoothing: antialiased; accent-color: var(--green);
}
::selection { background: #bdeed6; color: var(--ink); }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(12, 42, 33, 0.96); color: #fff; }
.site-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 9px 13px; border-radius: 8px; color: #cfe3d9; font-weight: 500; font-size: 0.9375rem; text-decoration: none; transition: background 0.15s ease, color 0.15s ease; }
.site-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.site-nav .nav-cta { margin-left: 10px; background: var(--mint); color: var(--ink); font-weight: 700; }
.site-nav .nav-cta:hover { background: #63e6ad; color: var(--ink); }
.nav-toggle { display: none; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
    border: 2px solid transparent; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: #63e6ad; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-line { border-color: #b9c9c1; color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { background: var(--forest); color: #fff; padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.hero-lead { margin-top: 22px; font-size: 1.1875rem; color: #c4dbd0; max-width: 46ch; text-wrap: pretty; }
.hero-live { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 1.0625rem; color: #e6f3ec; max-width: 46ch; min-height: 3.2em; }
.hero-live strong { color: var(--mint); font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Map ---------- */
.map-figure { position: relative; }
.map-svg { width: 100%; height: auto; display: block; max-height: 620px; }
.map-svg path { fill: #1b4537; stroke: var(--forest); stroke-width: 1; transition: fill 0.2s ease; }
.map-svg path.has-data { cursor: pointer; }
.map-svg path.has-data:hover, .map-svg path.has-data:focus-visible { stroke: #fff; stroke-width: 2; outline: none; }
.map-svg path.is-selected { stroke: #fff; stroke-width: 2.5; }
.map-svg path.is-dimmed { opacity: 0.45; }
.map-legend { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; color: #b3cfc2; font-size: 0.8125rem; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.map-scale { display: inline-flex; border-radius: 3px; overflow: hidden; }
.map-scale i { border-radius: 0; }
.map-hint { margin-top: 6px; color: #9fbfb0; font-size: 0.8125rem; }
.map-tip {
    position: absolute; z-index: 5; pointer-events: none; min-width: 190px; padding: 12px 14px; border-radius: 10px;
    background: #fff; color: var(--ink); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); font-size: 0.875rem; transform: translate(-50%, calc(-100% - 14px));
}
.map-tip strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.map-tip span { display: block; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--wash { background: var(--wash); }
.section h2 { font-size: clamp(1.875rem, 3.2vw, 2.625rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; max-width: 20ch; text-wrap: balance; }
.section-lead { margin-top: 14px; max-width: 60ch; color: var(--ink-soft); font-size: 1.0625rem; text-wrap: pretty; }

.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.filters label { display: flex; flex-direction: column; gap: 5px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); }
.select { min-width: 180px; min-height: 46px; padding: 0 14px; border: 1.5px solid #b9c9c1; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-weight: 500; }
.select:hover { border-color: var(--ink-soft); }
.select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--mint-soft); }
.results-status { margin-top: 20px; color: var(--ink-soft); min-height: 1.6em; }

/* Headline figures: one strip, not four cards. */
.figures { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--forest); color: #fff; border-radius: 18px; overflow: hidden; }
.figures > div { padding: 28px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.figures > div:first-child { border-left: 0; }
.figures dt { color: #b3cfc2; font-size: 0.9375rem; font-weight: 500; }
.figures dd { margin-top: 8px; font-size: clamp(1.75rem, 2.6vw, 2.375rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.figures dd.is-negative { color: #ffb4c6; }
.figures small { display: block; margin-top: 6px; color: #9fbfb0; font-size: 0.8125rem; font-weight: 400; letter-spacing: 0; }

/* Charts */
.charts { margin-top: 24px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.chart { grid-column: span 6; background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 1px 2px rgba(12, 42, 33, 0.06), 0 10px 30px rgba(12, 42, 33, 0.06); }
.chart--wide { grid-column: span 7; }
.chart--narrow { grid-column: span 5; }
.chart h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
.chart-sub { margin-top: 4px; color: var(--muted); font-size: 0.875rem; }
.chart-body { margin-top: 22px; }
.chart-empty { color: var(--muted); padding: 24px 0; }

.columns { display: flex; align-items: flex-end; gap: 10px; height: 220px; border-bottom: 2px solid var(--ink); padding-top: 26px; }
.column { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.column b { font-size: 0.875rem; font-weight: 700; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.column i { display: block; width: min(100%, 64px); border-radius: 8px 8px 0 0; background: var(--green); min-height: 4px; transition: height 0.7s var(--ease); }
.column-labels { display: flex; gap: 10px; margin-top: 8px; }
.column-labels span { flex: 1; min-width: 0; text-align: center; color: var(--muted); font-size: 0.8125rem; }

.hbars { display: grid; gap: 16px; }
.hbar-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-weight: 600; }
.hbar-head span:last-child { font-variant-numeric: tabular-nums; }
.hbar-head small { font-weight: 400; color: var(--muted); }
.hbar-track { margin-top: 7px; height: 14px; border-radius: 7px; background: #e8efeb; overflow: hidden; }
.hbar-fill { height: 100%; border-radius: 7px; background: var(--green); width: 0; transition: width 0.8s var(--ease); }
.hbar-fill.is-soft { background: #8fcfb3; }
.hbar-fill.is-wine { background: var(--wine); }
.hbars--compact { gap: 12px; }
.hbars--compact .hbar-track { height: 10px; }

.before-after-value { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.before-after-value strong { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.before-after-value span { flex: 1; min-width: 180px; color: var(--ink-soft); font-size: 0.9375rem; }

.stack { display: flex; height: 22px; border-radius: 11px; overflow: hidden; background: #e8efeb; }
.stack span { display: block; height: 100%; }
.key { display: grid; gap: 8px; margin-top: 16px; }
.key div { display: flex; justify-content: space-between; gap: 12px; }
.key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; }
.key b { font-variant-numeric: tabular-nums; }

.more-figures { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.more-figures > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid #cfdcd5; }
.more-figures dt { color: var(--ink-soft); }
.more-figures dd { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.more-figures dd.is-missing { font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.footnote { margin-top: 18px; color: var(--muted); font-size: 0.875rem; max-width: 90ch; }

/* ---------- How it is measured ---------- */
.measure-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.measure { padding-top: 22px; border-top: 3px solid var(--ink); }
.measure h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.measure p { margin-top: 10px; color: var(--ink-soft); }
.measure .formula { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--wash); color: var(--ink); font-weight: 700; }
.measure .formula span { display: block; margin-top: 4px; font-weight: 400; color: var(--ink-soft); font-size: 0.9375rem; }

/* ---------- Process (a real sequence) ---------- */
.section--forest { background: var(--forest); color: #fff; }
.section--forest .section-lead { color: #c4dbd0; }
.timeline { margin-top: 48px; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
.timeline li { counter-increment: step; position: relative; padding: 0 20px 0 0; }
.timeline li::before {
    content: counter(step); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--mint); color: var(--ink); font-weight: 800; font-size: 1.125rem; position: relative; z-index: 1;
}
.timeline li::after { content: ''; position: absolute; left: 44px; right: 0; top: 21px; height: 2px; background: rgba(255, 255, 255, 0.25); }
.timeline li:last-child::after { display: none; }
.timeline strong { display: block; margin-top: 18px; font-size: 1.125rem; font-weight: 700; }
.timeline span { display: block; margin-top: 6px; color: #c4dbd0; font-size: 0.9375rem; }

/* ---------- Call to action ---------- */
.cta { background: var(--mint-soft); border-radius: 24px; padding: 56px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.cta h2 { max-width: 18ch; }
.cta p { margin-top: 12px; color: var(--ink-soft); max-width: 50ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { width: 100%; }
.cta-note { color: var(--ink-soft); font-size: 0.9375rem; text-align: center; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.9375rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); }

@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .map-svg { max-height: 460px; }
    .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .figures > div:nth-child(3) { border-left: 0; }
    .figures > div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
    .chart, .chart--wide, .chart--narrow { grid-column: 1 / -1; }
    .more-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .measure-grid { grid-template-columns: 1fr; gap: 32px; }
    .timeline { grid-template-columns: 1fr; gap: 26px; }
    .timeline li { padding: 0 0 0 62px; min-height: 44px; }
    .timeline li::before { position: absolute; left: 0; top: 0; }
    .timeline li::after { left: 21px; right: auto; top: 44px; bottom: -26px; width: 2px; height: auto; }
    .timeline strong { margin-top: 0; }
    .cta { grid-template-columns: 1fr; padding: 40px 28px; }
    .section { padding: 72px 0; }
}

@media (max-width: 820px) {
    .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 10px; background: none; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: var(--forest); border-top: 1px solid rgba(255, 255, 255, 0.12); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px 10px; font-size: 1rem; }
    .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 600px) {
    .wrap, .site-header-inner { padding: 0 18px; }
    .hero { padding: 36px 0 48px; }
    .hero-actions .btn { width: 100%; }
    .figures { grid-template-columns: 1fr; }
    .figures > div { border-left: 0; padding: 22px; }
    .figures > div:nth-child(n + 2) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
    .chart { padding: 22px 18px; }
    .columns { gap: 6px; height: 190px; }
    .column-labels { gap: 6px; }
    .more-figures { grid-template-columns: 1fr; }
    .filters, .filters label, .select { width: 100%; }
    .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- About, mobile app and platform sections ---------- */
.page-hero { padding: 72px 0 80px; }
.page-hero h1 { max-width: 20ch; }
.page-hero .hero-lead { max-width: 62ch; }
.site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); }

.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.two-col--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.prose p { color: var(--ink-soft); font-size: 1.0625rem; max-width: 62ch; }
.prose p + p, .prose ul { margin-top: 16px; }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { padding-left: 20px; border-left: 3px solid var(--green); color: var(--ink-soft); max-width: 62ch; }
.checklist strong { color: var(--ink); }

.measure-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.measure-link { margin-top: 14px; font-weight: 700; }
.on-dark .measure { border-top-color: var(--mint); }
.on-dark .measure p { color: #c4dbd0; }

.app-points { list-style: none; display: grid; gap: 0; }
.app-points li { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.app-points li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.app-points strong { display: block; font-size: 1.0625rem; font-weight: 700; }
.app-points span { display: block; margin-top: 2px; color: #c4dbd0; }
.app-points--light li { border-color: var(--line); }
.app-points--light li:last-child { border-color: var(--line); }
.app-points--light span { color: var(--ink-soft); }
.cta--plain { background: #fff; box-shadow: 0 1px 2px rgba(12, 42, 33, 0.06), 0 10px 30px rgba(12, 42, 33, 0.06); }

@media (max-width: 1000px) {
    .two-col, .two-col--even { grid-template-columns: 1fr; gap: 28px; }
    .measure-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-hero { padding: 48px 0 56px; }
}
@media (max-width: 600px) {
    .measure-grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Sign in / Sign up, always visible ---------- */
.site-nav { margin-left: auto; }
.nav-auth { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.nav-auth a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; transition: background 0.15s ease, border-color 0.15s ease; }
.nav-signin { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.5); }
.nav-signin:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-signup { color: var(--ink); background: var(--mint); border: 1.5px solid var(--mint); }
.nav-signup:hover { color: var(--ink); background: #63e6ad; border-color: #63e6ad; }

/* ---------- Section titles and intro paragraphs span the full width ---------- */
.section h2, .section-lead, .page-hero h1, .page-hero .hero-lead { max-width: none; }
.cta h2, .cta p { max-width: none; }

/* ---------- Square corners on every box, card, button and field ---------- */
*, *::before, *::after { border-radius: 0 !important; }
.timeline li::before { border-radius: 50% !important; }   /* step numbers stay round */

@media (max-width: 1100px) and (min-width: 821px) {
    .site-nav a { padding: 9px 8px; font-size: 0.875rem; }
    .nav-auth a { padding: 0 12px; }
}
@media (max-width: 820px) {
    .brand { margin-right: auto; }
    .nav-auth { order: 2; margin-left: 0; gap: 6px; }
    .nav-toggle { order: 3; }
    .nav-auth a { min-height: 40px; padding: 0 12px; font-size: 0.875rem; }
    .nav-toggle { padding: 0 12px; }
    .site-header-inner { gap: 8px; }
}
@media (max-width: 380px) {
    .nav-auth a { padding: 0 9px; font-size: 0.8125rem; }
    .brand { font-size: 1.125rem; }
}

/* ---------- Slightly smaller type, justified body text ---------- */
html { font-size: 93.75%; }            /* 15px base: every rem-sized element scales down together */
body { font-size: 1rem; }
main p, main li, .timeline span, .app-points span, .measure .formula span, .footnote, .chart-sub {
    text-align: justify; text-wrap: wrap; hyphens: auto; -webkit-hyphens: auto;
}
.cta-note, .map-hint, .chart-empty { text-align: left; }
.cta-actions .cta-note { text-align: center; }

/* ---------- Banner photos, app preview, partner logo ---------- */
.hero.banner-host { background: var(--forest); }
.hero[data-banner-dots] { padding-bottom: 88px; }
/* The map sits on its own dark panel so it stays clear over every photo. */
.map-figure { background: rgba(12, 42, 33, 0.72); padding: 18px 18px 14px; }
.map-svg path { fill: #24574a; stroke: #0c2a21; }

.phone { justify-self: center; width: 300px; height: 600px; padding: 10px; background: #06140f; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.phone iframe { width: 100%; height: 100%; border: 0; display: block; background: #f1f8f4; }
.app-points--grid { margin-top: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.app-points--grid li:nth-last-child(2) { border-bottom: 1px solid var(--line); }

.footer-logo { height: 60px; width: auto; }
.footer-inner { align-items: center; }

@media (max-width: 1000px) {
    .phone { width: 280px; height: 560px; }
    .app-points--grid { grid-template-columns: 1fr; }
    .app-points--grid li:nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 600px) { .footer-logo { height: 44px; } }

/* ---------- Lighter banner; the map is the picture on the right ---------- */
.hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; }
.hero h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); text-shadow: 0 2px 18px rgba(6, 20, 15, 0.45); }
.hero-lead, .hero-live { text-shadow: 0 1px 10px rgba(6, 20, 15, 0.5); }
.hero[data-banner-dots] { padding-top: 40px; }

.map-figure { background: none; padding: 0; margin-right: -24px; }
.map-svg { max-height: 700px; filter: drop-shadow(0 18px 34px rgba(6, 20, 15, 0.5)); }
.map-svg path { fill: #ffffff; fill-opacity: 0.94; stroke: #12352a; stroke-width: 0.8; }
.map-svg path.has-data { fill-opacity: 1; }
.map-svg path.has-data:hover, .map-svg path.has-data:focus-visible { stroke: #0c2a21; stroke-width: 2.4; }
.map-svg path.is-selected { stroke: var(--wine); stroke-width: 3; }
.map-svg path.is-dimmed { opacity: 0.6; }
.map-legend, .map-hint { color: #fff; text-shadow: 0 1px 8px rgba(6, 20, 15, 0.85); font-weight: 500; }
.map-legend { justify-content: flex-end; }
.map-hint { text-align: right; }
.map-legend i { box-shadow: 0 0 0 1px rgba(6, 20, 15, 0.35); }

/* Text-only banners (About, mobile app) keep an even, lighter wash. */
.page-hero { --banner-shade: linear-gradient(90deg, rgba(12, 42, 33, 0.84) 0%, rgba(12, 42, 33, 0.62) 55%, rgba(12, 42, 33, 0.3) 100%); }

@media (max-width: 1000px) {
    .hero { --banner-shade: rgba(12, 42, 33, 0.7); }
    .map-figure { margin-right: 0; }
    .map-svg { max-height: 520px; }
    .map-legend { justify-content: flex-start; }
    .map-hint { text-align: left; }
}

/* Corrections: the wide two-column hero applies on desktop only; hero text is not justified. */
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.hero .hero-lead, .hero .hero-live { text-align: left; hyphens: manual; }
.map-svg { max-height: 580px; }
@media (max-width: 1000px) { .map-svg { max-height: 460px; } }
@media (max-width: 600px) { .map-svg { max-height: 380px; } }

/* Cards are narrow: no mid-word hyphen breaks, and room for longer headings. */
.measure p { hyphens: manual; -webkit-hyphens: manual; }
.measure h3 { text-wrap: balance; }

/* ---------- Partner logo above the header; slightly smaller map ---------- */
.partner-bar { background: #fff; border-bottom: 1px solid var(--line); }
.partner-bar .wrap { display: flex; align-items: center; height: 60px; }
.partner-bar img { height: 48px; width: auto; display: block; }
.map-svg { max-height: 500px; }
@media (max-width: 1000px) { .map-svg { max-height: 420px; } }
@media (max-width: 600px) { .partner-bar .wrap { height: 50px; } .partner-bar img { height: 38px; } .map-svg { max-height: 360px; } }

/* ---------- Share row and Contact page ---------- */
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; color: #e6f3ec; font-weight: 500; text-shadow: 0 1px 10px rgba(6, 20, 15, 0.5); }
.share-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid rgba(255, 255, 255, 0.5); background: rgba(12, 42, 33, 0.45); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-shadow: none; }
.share-btn:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff; }

.people { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.person { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); align-items: start; }
.person img, .person-initials { width: 96px; height: 96px; object-fit: cover; display: block; }
.person-initials { display: flex; align-items: center; justify-content: center; background: var(--mint-soft); color: var(--green-dark); font-size: 1.75rem; font-weight: 800; }
.person h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; }
.person-role { color: var(--green-dark); font-weight: 600; text-align: left !important; }
.person-bio { margin-top: 8px; color: var(--ink-soft); }
.person-covers { margin-top: 6px; color: var(--muted); font-size: 0.875rem; text-align: left !important; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .person { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; } .person img, .person-initials { width: 72px; height: 72px; } }

.explainer-video { display: block; width: 100%; max-width: 960px; margin: 36px auto 0; aspect-ratio: 16 / 9; background: #0c2a21; box-shadow: 0 10px 30px rgba(12, 42, 33, 0.12); }

/* Video cover and sound prompt */
.video-box { position: relative; max-width: 960px; margin: 36px auto 0; }
.video-box .explainer-video { margin: 0; max-width: none; object-fit: cover; }
.video-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; border: 0; cursor: pointer; background: rgba(12, 42, 33, 0.45); color: #fff; font: inherit; }
.video-cover:hover { background: rgba(12, 42, 33, 0.35); }
.video-play { width: 88px; height: 88px; border-radius: 50% !important; background: #3ddc97; position: relative; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.video-play::after { content: ''; position: absolute; left: 36px; top: 26px; border-style: solid; border-width: 18px 0 18px 28px; border-color: transparent transparent transparent #0c2a21; }
.video-cover-text { font-size: 1.375rem; font-weight: 800; text-shadow: 0 2px 14px rgba(6, 20, 15, 0.7); text-align: center; }
.video-cover-text small { display: block; margin-top: 4px; font-size: 0.9375rem; font-weight: 500; }
.video-sound { position: absolute; top: 14px; right: 14px; min-height: 42px; padding: 0 16px; border: 0; background: #3ddc97; color: #0c2a21; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.video-sound.is-on { background: rgba(12, 42, 33, 0.8); color: #fff; }
