:root {
  --bg: #f6f2e8;
  --bg-soft: #fbfaf6;
  --paper: #ffffff;
  --ink: #0b2f21;
  --muted: #5a6c61;
  --line: rgba(11, 47, 33, 0.14);
  --green: #0a3a29;
  --green-2: #1e6043;
  --sage: #dbe5d3;
  --earth: #b6a67a;
  --cream: #eee6d5;
  --shadow: 0 26px 78px rgba(11, 47, 33, 0.1);
  --radius: 30px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.62;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(920px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 232, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
}

.brand-main {
  font-family: var(--serif);
  font-size: 39px;
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.04em;
}

.brand-line {
  width: 1px;
  height: 42px;
  background: var(--line);
}

.brand-sub {
  font-size: 10px;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 750;
  color: #234436;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
  color: #213a30;
}

.main-nav a {
  opacity: 0.9;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--green-2);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 0 21px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 14px;
  transition: 0.2s ease;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 32px rgba(10, 58, 41, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: var(--green);
}

.btn-light {
  color: var(--green);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
}

.mobile-nav {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
  background:
    radial-gradient(circle at 78% 20%, rgba(30, 96, 67, 0.13), transparent 32%),
    radial-gradient(circle at 18% 90%, rgba(182, 166, 122, 0.18), transparent 34%),
    linear-gradient(180deg, #fbfaf6 0%, #f6f2e8 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 230px;
  background:
    linear-gradient(180deg, transparent, rgba(246,242,232,0.96)),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(10,58,41,0.03) 78px 79px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 62px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 850;
  color: var(--green-2);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(58px, 7vw, 105px);
  max-width: 760px;
}

h2 {
  font-size: clamp(37px, 4.4vw, 65px);
}

h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
}

.hero-lead {
  max-width: 650px;
  font-size: 19px;
  color: #40584c;
  margin: 27px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.chain,
.paper-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.chain span,
.paper-chain span {
  position: relative;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  color: var(--green);
}

.chain span:not(:last-child)::after,
.paper-chain span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px;
  color: var(--earth);
}

.hero-system {
  min-height: 590px;
  position: relative;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.9), rgba(255,255,255,0.45)),
    linear-gradient(135deg, rgba(219,229,211,0.65), rgba(255,255,255,0.65));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-system::before {
  content: "";
  position: absolute;
  inset: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.9) 0 28%, rgba(30,96,67,0.08) 29% 30%, transparent 31%),
    repeating-radial-gradient(circle, rgba(10,58,41,0.12) 0 1px, transparent 1px 72px);
  opacity: 0.75;
}

.hero-system::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background:
    repeating-linear-gradient(145deg, rgba(10,58,41,0.14) 0 2px, transparent 2px 18px),
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(61,52,35,0.22));
  opacity: 0.65;
}

.system-orbit {
  position: relative;
  height: 100%;
  min-height: 590px;
  padding: 36px;
  z-index: 2;
}

.layer {
  position: absolute;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 13px;
  align-items: center;
  width: min(390px, calc(100% - 72px));
  padding: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(11,47,33,0.08);
}

.layer strong {
  display: block;
  font-size: 18px;
  color: var(--green);
}

.layer small {
  color: var(--muted);
  font-size: 12px;
}

.layer-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1eadb;
  color: var(--green);
  font-size: 25px;
}

.climate { right: 42px; top: 44px; }
.space { right: 80px; top: 150px; }
.trees { left: 86px; top: 252px; }
.roots { right: 64px; bottom: 150px; }
.soil { left: 52px; bottom: 42px; }

.section {
  padding: 90px 0;
}

.why {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid,
.science-grid,
.score-grid,
.arbora-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 66px;
  align-items: center;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.principle-grid article,
.pillar-grid article,
.science-card,
.score-panel,
.score-bars,
.arbora-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.principle-grid article {
  padding: 26px;
}

.principle-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
}

.section-head {
  max-width: 790px;
  margin-bottom: 42px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.pillar-grid article {
  padding: 26px;
  min-height: 420px;
}

.pillar-num {
  font-family: var(--serif);
  font-size: 46px;
  color: rgba(10,58,41,0.25);
  margin-bottom: 18px;
}

.pillar-grid ul {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.science {
  background:
    radial-gradient(circle at 78% 12%, rgba(30,96,67,0.1), transparent 32%),
    #fbfaf6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.science-card {
  padding: 34px;
}

.science-card ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.score-section {
  background: #f4efe3;
}

.score-panel {
  padding: 38px;
}

.score-bars {
  padding: 28px;
  display: grid;
  gap: 12px;
}

.score-bars div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.score-bars strong {
  color: var(--green);
  font-size: 25px;
}

.whitepaper-strip {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.12), transparent 32%),
    linear-gradient(135deg, #0a3a29, #08271c);
}

.whitepaper-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
}

.whitepaper-card p {
  color: rgba(255,255,255,0.76);
  max-width: 720px;
}

.whitepaper-card .eyebrow {
  color: #dce8d6;
}

.arbora {
  background: var(--paper);
}

.arbora-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.9)),
    radial-gradient(circle at 50% 10%, rgba(30,96,67,0.22), transparent 38%),
    linear-gradient(135deg, #dbe5d3, #f6f2e8);
}

.arbora-logo {
  font-size: 38px;
  letter-spacing: 0.28em;
  color: var(--green);
  font-weight: 800;
}

.final-manifest {
  text-align: center;
}

.final-manifest blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.final-manifest p {
  margin-top: 28px;
  font-size: 20px;
}

.site-footer {
  padding: 64px 0 24px;
  background: #08271c;
  color: #fff;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255,255,255,0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 42px;
}

.footer-brand .brand-main,
.footer-brand .brand-sub {
  color: #fff;
}

.footer-brand .brand-line {
  background: rgba(255,255,255,0.22);
}

.site-footer h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.paper-page {
  background: #fbfaf6;
}

.paper-hero {
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 76% 18%, rgba(30,96,67,0.13), transparent 34%),
    linear-gradient(180deg, #fff, #f6f2e8);
  border-bottom: 1px solid var(--line);
}

.paper-hero h1 {
  font-size: clamp(48px, 6vw, 86px);
}

.paper-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.paper-meta span {
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.paper-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 58px;
  padding-top: 72px;
  padding-bottom: 92px;
}

.paper-toc {
  position: sticky;
  top: 118px;
  align-self: start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.paper-toc strong {
  display: block;
  margin-bottom: 12px;
}

.paper-toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.paper-toc a:hover {
  color: var(--green);
}

.paper-content {
  max-width: 850px;
}

.paper-content section {
  padding-bottom: 52px;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.paper-content h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 20px;
}

.paper-content h3 {
  margin: 28px 0 8px;
  font-size: 23px;
}

.paper-content p,
.paper-content li {
  font-size: 18px;
  color: #40564b;
}

.paper-content blockquote {
  margin: 30px 0;
  padding: 30px;
  border-left: 5px solid var(--green);
  border-radius: 0 22px 22px 0;
  background: #f1eadb;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.18;
  color: var(--green);
}

.workflow-list {
  padding: 0;
  list-style: none;
}

.workflow-list li {
  margin-bottom: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.workflow-list p {
  margin-bottom: 0;
}

.paper-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.paper-grid div {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.references {
  padding-left: 22px;
}

.paper-close {
  border-bottom: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 1100px) {
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-nav.open {
    display: block;
  }

  .hero-grid,
  .why-grid,
  .science-grid,
  .score-grid,
  .arbora-grid,
  .paper-layout {
    grid-template-columns: 1fr;
  }

  .hero-system,
  .system-orbit {
    min-height: 650px;
  }

  .footer-grid,
  .paper-grid {
    grid-template-columns: 1fr;
  }

  .paper-toc {
    position: static;
  }

  .footer-bottom,
  .whitepaper-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .container,
  .narrow {
    width: min(100% - 26px, 1200px);
  }

  .brand {
    min-width: auto;
  }

  .brand-sub,
  .brand-line {
    display: none;
  }

  .hero {
    padding-top: 58px;
  }

  .section {
    padding: 64px 0;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .principle-grid,
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .layer {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100%;
    margin-bottom: 12px;
  }

  .hero-system,
  .system-orbit {
    min-height: auto;
  }

  .system-orbit {
    padding: 20px;
  }

  .paper-content p,
  .paper-content li {
    font-size: 16px;
  }
}
