/* Shared carbondioxide.now stylesheet — formatted from supplied stylesheet. */
:root {
  color-scheme:light;
  --navy:#05264a;
  --navy2:#001d38;
  --text:#142335;
  --muted:#526272;
  --line:#d8e0e7;
  --paper:#f5f8f9;
  --green:#188027;
  --purple:#71308d;
  --teal:#087e7e;
  --gold:#c48b18;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-synthesis:none;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:88px;
}
body {
  margin:0;
  background:#fff;
  color:var(--text);
  line-height:1.6;
}
a {
  color:inherit;
}
a:focus-visible {
  outline:3px solid #e5a900;
  outline-offset:4px;
}
.wrap {
  width:min(1200px,calc(100% - 44px));
  margin:auto;
}
.skip {
  position:absolute;
  transform:translateY(-150%);
  z-index:10;
  background:white;
  padding:12px 18px;
}
.skip:focus {
  transform:none;
}
.masthead {
  position:sticky;
  top:0;
  z-index:5;
  background:rgba(3,34,65,.97);
  color:white;
  box-shadow:0 3px 18px #001b3026;
}
.masthead-inner {
  min-height:73px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.wordmark {
  font-weight:100;
  letter-spacing:-.025em;
  text-decoration:none;
  font-size:1.35rem;
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:10px;
}
.wordmark .mark {
  font-size:.81rem;
  border:2px solid #82d355;
  border-radius:50%;
  width:47px;
  height:47px;
  display:grid;
  place-items:center;
  color:#a6e66c;
  letter-spacing:-.05em;
}
.wordmark .domain {
  color:#9ee96c;
}
.masthead nav {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.masthead nav a {
  text-decoration:none;
  border:1px solid #ffffff38;
  border-radius:100px;
  padding:7px 13px;
  font-size:.83rem;
  font-weight:700;
}
.masthead nav a span {
  font-weight:500;
  color:#d7e4ef;
  margin-left:3px;
}
.masthead nav a:hover {
  background:#ffffff1c;
}
.hero {
  background:radial-gradient(ellipse at 82% 28%,#0e5b68 0,transparent 43%),linear-gradient(135deg,#062b52,#001b35);
  color:white;
  padding:94px 0 100px;
}
.eyebrow {
  text-transform:uppercase;
  letter-spacing:.19em;
  font-size:.77rem;
  font-weight:800;
  margin:0 0 16px;
  color:#438c55;
}
.hero .eyebrow,.closing .eyebrow {
  color:#b4e178;
}
.hero em {
  font-style:normal;
  color:#b7ed65;
}
.hero-intro {
  font-size:clamp(1.3rem,2.8vw,2rem);
  font-weight:750;
  line-height:1.3;
  margin:0 0 18px;
}
.hero-detail {
  color:#d1e4ec;
  font-size:1.12rem;
  max-width:690px;
  margin:0;
}
.hero-actions {
  display:flex;
  gap:13px;
  flex-wrap:wrap;
  margin-top:34px;
}
.hero-actions a {
  display:inline-flex;
  align-items:center;
  gap:22px;
  border-radius:9px;
  padding:12px 19px;
  text-decoration:none;
  font-weight:800;
}
.primary-link {
  background:#b9e968;
  color:#062448;
}
.secondary-link {
  border:1px solid #ffffff73;
  color:#fff;
}
.overview {
  padding:77px 0 86px;
  background:var(--paper);
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:25px;
  margin-bottom:24px;
}
.section-heading h2 {
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.08;
  letter-spacing:-.045em;
  margin:0;
}
.section-heading>p {
  font-size:.9rem;
  color:var(--muted);
  margin-bottom:4px;
}
.overview-image {
  margin:0;
}
.overview-image img {
  display:block;
  width:100%;
  height:auto;
  border-radius:13px;
  box-shadow:0 20px 55px #09274622;
  background:#fff;
}
.overview-image figcaption {
  font-size:.88rem;
  color:var(--muted);
  margin:14px 2px;
}
.chapter-jump {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:24px;
}
.chapter-jump a {
  display:flex;
  align-items:center;
  gap:12px;
  line-height:1.25;
  text-decoration:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:9px;
  padding:17px 15px;
  font-weight:750;
}
.chapter-jump a span {
  font-size:.78rem;
  color:#078244;
}
.chapter-jump a b {
  margin-left:auto;
  color:#8392a0;
}
.chapter-jump a:hover {
  border-color:#4d9c72;
  transform:translateY(-2px);
}
.chapter {
  padding:92px 0 102px;
  border-top:1px solid var(--line);
}
.chapter:nth-of-type(odd) {
  background:#fbfcfd;
}
.chapter-head {
  max-width:900px;
  margin-bottom:35px;
}
.chapter-number {
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.77rem;
  font-weight:850;
  color:var(--accent);
}
.chapter h2 {
  font-size:clamp(2.35rem,5vw,4.6rem);
  line-height:1.08;
  letter-spacing:-.06em;
  margin:13px 0 16px;
}
.chapter h2 span {
  color:var(--accent);
}
.chapter-head>p {
  font-size:1.16rem;
  color:#425467;
  line-height:1.55;
  max-width:780px;
  margin:0;
}
.green {
  --accent:var(--green);
}
.purple {
  --accent:var(--purple);
}
.teal {
  --accent:var(--teal);
}
.chapter-layout {
  display:grid;
  grid-template-columns:minmax(280px,465px) minmax(0,1fr);
  align-items:start;
  gap:clamp(24px,5vw,70px);
}
.panel-image {
  margin:0;
  position:sticky;
  top:102px;
}
.panel-image img {
  width:100%;
  height:auto;
  display:block;
  border-radius:13px;
  border:1px solid #ccd7e3;
  box-shadow:0 16px 34px #0b28411b;
  background:white;
}
.panel-image figcaption {
  color:var(--muted);
  font-size:.83rem;
  line-height:1.4;
  margin:11px 2px;
}
.readings {
  display:grid;
  gap:17px;
}
.reading {
  border:1px solid var(--line);
  border-left:5px solid var(--accent);
  background:#fff;
  border-radius:11px;
  padding:26px 28px;
  box-shadow:0 4px 15px #001b3508;
}
.reading-tag {
  font-size:.69rem;
  text-transform:uppercase;
  font-weight:850;
  letter-spacing:.13em;
  color:var(--accent);
}
.reading h3 {
  font-size:1.42rem;
  line-height:1.25;
  letter-spacing:-.025em;
  margin:7px 0 12px;
}
.reading p {
  margin:0 0 12px;
  color:#374654;
}
.reading p:last-child {
  margin-bottom:0;
}
.decision {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:23px;
}
.decision>div {
  padding:14px;
  border:1px solid #d5e1d7;
  border-radius:9px;
  display:grid;
  grid-template-columns:34px 1fr;
  column-gap:6px;
  align-items:center;
}
.decision span {
  grid-row:span 2;
  font-size:1.9rem;
  font-weight:800;
}
.decision b {
  font-size:.86rem;
}
.decision small {
  font-size:.75rem;
  line-height:1.3;
}
.yes {
  background:#f2faf0;
  color:#146c24;
}
.no {
  background:#fff4f2;
  color:#ad2d1e;
}
.closing {
  background:linear-gradient(135deg,#062b52,#001c35);
  color:white;
  padding:87px 0 74px;
}
.closing h2 {
  font-size:clamp(2rem,4.8vw,4.3rem);
  line-height:1.15;
  letter-spacing:-.05em;
  max-width:1100px;
  margin:0 0 38px;
}
.closing h2 span {
  color:#d5ee6d;
}
.closing-triad {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  padding-bottom:36px;
}
.closing-triad span {
  border:1px solid #ffffff63;
  border-radius:50px;
  padding:8px 16px;
  font-weight:700;
}
.backtop {
  color:#bcec81;
  text-decoration:underline;
  text-underline-offset:5px;
  font-weight:700;
}
footer {
  background:#001526;
  color:#b1c1cd;
  padding:25px 0;
  font-size:.83rem;
}
.footer-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.footer-inner span:first-child {
  color:white;
  font-weight:800;
}
@media(max-width:820px) {
  .masthead-inner {
    padding:12px 0;
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
  }
  .masthead nav {
    width:100%;
    overflow:auto;
    flex-wrap:nowrap;
    padding-bottom:3px;
  }
  .masthead nav a {
    white-space:nowrap;
  }
  .masthead nav a span {
    display:none;
  }
  .chapter-jump {
    grid-template-columns:1fr;
  }
  .chapter-layout {
    grid-template-columns:1fr;
  }
  .panel-image {
    position:static;
    max-width:530px;
    margin:0 auto 14px;
  }
  .chapter {
    padding:62px 0;
  }
  .hero {
    padding:70px 0;
  }
  .overview {
    padding:56px 0;
  }
  .section-heading {
    align-items:start;
    flex-direction:column;
    gap:5px;
  }
  html {
    scroll-padding-top:132px;
  }
}
@media(max-width:480px) {
  .wrap {
    width:min(100% - 28px,1200px);
  }
  .reading {
    padding:21px 19px;
  }
  .decision {
    grid-template-columns:1fr;
  }
  .footer-inner {
    align-items:start;
    flex-direction:column;
  }
  .hero-detail {
    font-size:1rem;
  }
  .chapter-head>p {
    font-size:1.02rem;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  * {
    transition:none!important;
  }
}




/* ==============================================================
   SITE-WIDE THEME TOKENS
   One design system for every page; no page-specific theme palettes.
   ============================================================== */
:root {
  --page-bg: #f8fafc;
  --card-bg: #ffffff;
  --text: #152a3a;
  --muted: #516676;
  --line: #d4e0e7;
  --paper: #f0f5f8;
  --link: #1764a3;
  --nav-surface: #f0f5f8;
  --nav-ink: #152a3a;
  --nav-link: #116c79;
  --heading-color: #152a3a;
  color-scheme: light;
}

html[data-theme="dark"] {
  --page-bg: #0c141c;
  --card-bg: #13212d;
  --text: #eef4fb;
  --muted: #b3c6d4;
  --line: #304758;
  --paper: #182a37;
  --link: #a8ceff;
  --nav-surface: #13212d;
  --nav-ink: #eef4fb;
  --nav-link: #75dcdb;
  --heading-color: #f0c78e;
  color-scheme: dark;
}

h1 {
  color: var(--heading-color);
  font-size: clamp(3.3rem, 8vw, 7rem);
  font-weight: 200;
  letter-spacing: -.03em;
  line-height: 1.02;
  margin: 17px 0 30px;
  max-width: 1000px;
}

body, main { background: var(--page-bg); color: var(--text); }
.masthead { background: var(--nav-surface); color: var(--nav-ink); }
.wordmark .domain { color: var(--nav-link); }

/* Shared navigation and controls */
.masthead-controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.masthead-controls nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.masthead nav a, .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--nav-ink);
  font: 600 .82rem/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.masthead nav a { background: transparent; border: 1px solid #ffffff47; }
/* Compact icon-only toggle on every page; JS maintains its accessible label. */
.theme-toggle {
  width: 60px;
  min-width: 60px;
  padding: 8px;
  background: #ffffff1f;
  border: 1px solid #a7d978;
  cursor: pointer;
}
.theme-toggle .theme-label { display: none; }
.masthead nav a:hover, .theme-toggle:hover { background: #ffffff29; }
.theme-toggle:focus-visible { outline: 3px solid #e5a900; outline-offset: 3px; }
.theme-icon { width: 1.1em; text-align: center; font-size: 1.1rem; }

/* All pages share component and surface colors. */
.overview { background: var(--paper); }
.chapter, .chapter:nth-of-type(odd) { background: var(--page-bg); color: var(--text); }
.chapter-jump a, .reading, .card, .proof, .molecule, .snippet, .source, .research-note {
  background: var(--card-bg);
  color: var(--text);
  border-color: var(--line);
}
.section-heading > p, .overview-image figcaption, .chapter-head > p,
.panel-image figcaption, .reading p, .chapter-jump a b,
.lead, .hero-note, .small, .muted, .card p, .step p, .source p,
.foot { color: var(--muted); }
.reading, .chapter-jump a, .panel-image img, .decision > div { border-color: var(--line); }

/* The illustrated homepage has a dramatic hero; the plain variant
   is available to any future technical or explanatory page. */
.hero { background: radial-gradient(ellipse at 82% 28%,#0e5b68 0,transparent 43%),linear-gradient(135deg,#062b52,#001b35); }
.hero.plain {
  background: var(--page-bg);
  color: var(--text);
  padding: 88px 0 82px;
  border-bottom: 1px solid var(--line);
}
.hero.plain .eyebrow { color: var(--link); }
.hero.plain .lead { color: var(--text); }
.hero.plain .hero-note { max-width: 740px; font-size: .94rem; }
html[data-theme="light"] .hero:not(.plain) {
  background: radial-gradient(ellipse at 80% 20%,#d3f4ec 0,transparent 43%),linear-gradient(135deg,#eff7f5,#e9f0f7);
  color: #16344c;
}
html[data-theme="light"] .hero:not(.plain) em { color: #188027; }
html[data-theme="light"] .hero:not(.plain) .hero-detail { color: #41586b; }
html[data-theme="light"] .hero:not(.plain) .eyebrow { color: #188027; }
html[data-theme="light"] .closing { background: #e9f1f4; color: #142335; }
html[data-theme="light"] .closing h2 span, html[data-theme="light"] .closing .eyebrow { color: #188027; }
html[data-theme="light"] .closing-triad span { border-color: #839caa; }
html[data-theme="light"] .backtop { color: #0c704c; }

/* Shared links, sections, and layout primitives. */
.shell { width: min(1080px, calc(100% - 44px)); margin-inline: auto; }
.section { border-top: 1px solid var(--line); padding: 76px 0 83px; scroll-margin-top: 105px; }
.section-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 56px; }
.grid { display: grid; gap: 14px; }
.cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 40px; }
.proofs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 30px 0; }
.intro { max-width: 740px; }
.lead { font-size: clamp(18px,2.3vw,23px); line-height: 1.48; max-width: 760px; font-weight: 350; }
.small { font-size: 13px; }
.count, .card-num { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.card-num { color: var(--link); }
.statement { font-size: clamp(30px,4.6vw,58px); line-height: 1.12; letter-spacing: -.055em; font-weight: 220; margin: 12px 0 25px; }
.section h2 { font-size: clamp(31px,4.2vw,52px); font-weight: 250; letter-spacing: -.048em; line-height: 1.12; margin: 14px 0 24px; }
.section h3 { font-size: 22px; font-weight: 420; letter-spacing: -.032em; line-height: 1.25; margin: 5px 0 12px; }
.card, .proof, .molecule, .source { border: 1px solid var(--line); border-radius: 7px; }
.card, .proof { padding: 24px; }
.card { min-height: 190px; }
.card p, .step p { font-size: 14px; }
.card p { margin: 0; }
.proof .formula { font-size: 26px; font-weight: 300; letter-spacing: -.04em; }
.proof a, .source a, .actions a { color: var(--link); }
.proof a, .source a { font-size: 13px; }
.molecule { display: flex; justify-content: center; align-items: center; padding: 30px; min-height: 290px; }
.molecule img, .molecule svg { display: block; max-width: 470px; width: 100%; height: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.actions a, .hero-actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; border-radius: 9px; padding: 12px 18px;
  font-size: .91rem; font-weight: 700; line-height: 1.3; text-decoration: none;
}
.actions a { background: var(--card-bg); border: 1px solid var(--line); }
/* Buttons respond with color and border, never underlining. */
.actions a:hover {
  border-color: var(--link);
  background: var(--paper);
  text-decoration: none;
}
.hero-actions a:hover,
.masthead nav a:hover,
.theme-toggle:hover { text-decoration: none; }
.keyline { border-top: 1px solid var(--line); padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; }
.keyline span:first-child { font-weight: 500; }
.status { font-size: 11px; text-transform: uppercase; white-space: nowrap; letter-spacing: .055em; color: var(--link); }
.pending { color: #b87845; }
.step { padding: 25px 0; border-top: 1px solid var(--line); }
.step small { color: var(--link); }
.source { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 20px 23px; margin: 10px 0; }
.source strong { font-size: 14px; font-weight: 500; }
.source p { font-size: 12px; margin: 2px 0; }
.source a { white-space: nowrap; font-weight: 600; }
.research-note, .callout { border-left: 3px solid var(--link); padding: 19px 24px; margin: 28px 0; }
.research-note { background: var(--card-bg); }
.research-note p, .callout p { margin-bottom: 0; }
.after-checks { margin-top: 16px; }
.next-steps-title { margin-top: 48px !important; }
.section details { border-top: 1px solid var(--line); padding: 17px 0; }
.section details:last-child { border-bottom: 1px solid var(--line); }
.section summary { cursor: pointer; font-weight: 500; }
.section details p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 15px; padding: 28px 0 40px; font-size: 12px; }
footer a { color: var(--nav-link); }

@media (max-width: 820px) {
  .masthead-controls { width: 100%; justify-content: space-between; }
  .masthead-controls nav { flex: 1 1 auto; min-width: 0; overflow-x: auto; flex-wrap: nowrap; }
  .section-grid, .cards { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 740px) {
  .section { padding: 58px 0; }
  .hero.plain { padding: 72px 0; }
  .proofs { grid-template-columns: 1fr; }
  .molecule { min-height: 230px; }
  .foot, .source { flex-direction: column; }
  .source { gap: 4px; }
}

/* Unified hero actions: visible contrast in both page themes. */
html[data-theme="dark"] .hero-actions .primary-link {
  background: #b9e968;
  color: #062448;
  border: 1px solid #b9e968;
}
html[data-theme="dark"] .hero-actions .secondary-link {
  background: transparent;
  color: #f2f9ff;
  border: 1px solid rgba(255, 255, 255, .57);
}
html[data-theme="light"] .hero-actions .primary-link {
  background: #16425b;
  color: #ffffff;
  border: 1px solid #16425b;
}
html[data-theme="light"] .hero-actions .secondary-link {
  background: #ffffff;
  color: #16425b;
  border: 1px solid #839caa;
}
.hero-actions a:hover {
  filter: brightness(.94);
  text-decoration: none;
}
.hero-actions a:focus-visible {
  outline: 3px solid #e5a900;
  outline-offset: 3px;
}
/* Shared, neutral component spacing for book/readings cards. */
.card p + p { margin-top: 14px; }
.section .lead { color: var(--text); }
.section .card h3 { margin-top: 12px; }
.section .card cite { font-style: italic; }

/* RLT-FRO cross-site visual alignment (December 2026).
   Preserve the illustrated carbon reading pages, but share the research
   palette, surface contrast, navigation radius and typography. */
h1,h2,h3 {letter-spacing:-.035em;}
.masthead {border-bottom:1px solid var(--line);box-shadow:none;}
.masthead nav a,.theme-toggle {border-radius:8px;border-color:var(--line);color:var(--nav-ink);}
.masthead nav a:hover,.theme-toggle:hover {background:var(--paper);}
.theme-toggle {background:var(--paper);border:1px solid var(--line);}
.wordmark .mark {border-color:var(--nav-link);color:var(--nav-link);}
.wordmark .domain {color:var(--nav-link);}
html[data-theme="dark"] .hero.plain h1 {color:var(--heading-color);}

/* Cinematic-style bibliographic note above the home hero title. */
.book-reference {
  margin: 0 0 18px;
  max-width: 65ch;
  color: var(--muted);
  font-size: clamp(.86rem, 1.3vw, 1rem);
  font-weight: 450;
  line-height: 1.55;
  letter-spacing: .01em;
}
.hero .book-reference { color: #d1e4ec; }
.hero .book-reference a { color: #e7f4ff; text-decoration-thickness: 1px; }
.hero .book-reference cite { font-style: italic; }
html[data-theme="light"] .hero .book-reference { color: var(--muted); }
html[data-theme="light"] .hero .book-reference a { color: var(--link); }
