/* ============================================================
   GreenReporting — Landing Page Styles
   Design direction: compliance-document aesthetic. Paper-white
   background, deep forest green + ink + a muted gold "stamp"
   accent. Grotesk display, humanist sans body, mono for data/
   figures — evokes the ledgers and typeset reports this product
   produces, rather than a generic SaaS gradient look.
   ============================================================ */

:root {
  --paper: #F7F5EF;
  --paper-raised: #FFFFFF;
  --ink: #14231C;
  --ink-soft: #2B3A32;
  --forest: #1F5C3F;
  --forest-deep: #0F3826;
  --forest-tint: #E6F0EA;
  --gold: #A87A2C;
  --gold-tint: #F3E7D2;
  --line: #DAD4C4;
  --slate: #5C6B62;
  --slate-light: #8A9790;
  --white: #FFFFFF;

  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --max-width: 1180px;
  --radius: 4px;
  --radius-lg: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 500;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 20px; }

p { color: var(--ink-soft); }

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 16px; font-size: 17px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
}
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); }

.btn-arrow { transition: transform 0.15s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Legal pages (Privacy / Terms) ---------- */
.legal-page {
  padding: 64px 0 96px;
}

.legal-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
  margin-bottom: 40px;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate);
  margin-top: 10px;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--forest-deep);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-content a { color: var(--forest); text-decoration: underline; }

.legal-content ul, .legal-content ol {
  margin: 0 0 14px 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-content li { margin-bottom: 6px; }

.legal-content strong { color: var(--ink); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 14.5px;
}

.legal-table th, .legal-table td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.legal-table th {
  background: var(--forest-tint);
  color: var(--forest-deep);
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--forest);
  margin-bottom: 24px;
}

/* ---------- Cookie / data notice banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -18px rgba(20, 35, 28, 0.28);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateY(140%);
  transition: transform 0.35s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner a {
  color: var(--forest);
  text-decoration: underline;
}

.cookie-banner .btn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }
  .cookie-banner .btn { width: 100%; text-align: center; }
}

/* ---------- Header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 16px; height: 16px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--forest); }

.nav-mobile-divider { display: none; }
.nav-mobile-only { display: none; }
.nav-links a.btn-primary:hover { color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  margin-top: 18px;
}

.hero-sub {
  font-size: 19px;
  margin-top: 22px;
  max-width: 520px;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-microcopy {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate);
}

.standards-strip {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.standards-strip span.label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.standard-chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink-soft);
  background: var(--paper-raised);
}

/* ---------- Hero visual: fanned report stack ---------- */

.stack {
  position: relative;
  height: 440px;
}

.report-card {
  position: absolute;
  width: 280px;
  height: 380px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -18px rgba(20, 35, 28, 0.28);
  padding: 22px;
  opacity: 0;
  transform: translateY(24px) rotate(0deg);
  animation: settle 0.7s ease forwards;
}

.report-card .tab {
  position: absolute;
  top: 22px;
  right: -1px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px 4px 12px;
  border-radius: 4px 0 0 4px;
  color: var(--white);
}

.card-pdf { top: 30px; left: 130px; transform: translateY(24px) rotate(6deg); z-index: 4; animation-delay: 0.05s; }
.card-pdf .tab { background: var(--forest); }

.card-docx { top: 12px; left: 40px; transform: translateY(24px) rotate(-4deg); z-index: 3; animation-delay: 0.15s; }
.card-docx .tab { background: #2E5C8A; }

.card-xlsx { top: 46px; left: 0; transform: translateY(24px) rotate(-11deg); z-index: 2; animation-delay: 0.25s; }
.card-xlsx .tab { background: #1F7A4D; }

.card-csv { top: 58px; left: 190px; transform: translateY(24px) rotate(12deg); z-index: 1; animation-delay: 0.35s; }
.card-csv .tab { background: var(--gold); }

@keyframes settle {
  to { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); }
}
.card-pdf { --rot: 6deg; }
.card-docx { --rot: -4deg; }
.card-xlsx { --rot: -11deg; }
.card-csv { --rot: 12deg; }

.rc-head {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rc-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px;
}
.rc-score .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--forest);
}
.rc-score .lbl { font-size: 12px; color: var(--slate); }

.rc-bar-row { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 22px; }
.rc-bar { flex: 1; background: var(--forest-tint); border-radius: 2px 2px 0 0; }
.rc-bar.b1 { height: 40%; } .rc-bar.b2 { height: 65%; } .rc-bar.b3 { height: 50%; }
.rc-bar.b4 { height: 85%; background: var(--forest); } .rc-bar.b5 { height: 60%; }

.rc-lines { margin-top: 20px; display: flex; flex-direction: column; gap: 7px; }
.rc-line { height: 7px; border-radius: 3px; background: var(--line); }
.rc-line.w1 { width: 100%; } .rc-line.w2 { width: 92%; } .rc-line.w3 { width: 68%; }

.rc-figure {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.rc-figure .fl { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 400; color: var(--slate); margin-bottom: 3px; }

/* ---------- Feature icon (reused inside carousel slides) ---------- */

.feature-icon,
.carousel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--forest-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg,
.carousel-icon svg { width: 22px; height: 22px; stroke: var(--forest); }

/* ---------- Spotlight carousel ----------
   Reusable single-card carousel: powers the Features section (6 slides)
   and the How it works section (3 slides). One slide is shown at a time,
   large enough to actually read, with clickable progress dots and manual
   prev/next arrows. See the JS block near the end of index.html for the
   behaviour (autoplay interval, pause-on-hover, prefers-reduced-motion). */

.carousel {
  max-width: 920px;
  margin: 0 auto;
}

@media (min-width: 1400px) {
  .carousel { max-width: 1040px; }
  .carousel-media { height: 560px; }
}

.carousel-slides {
  position: relative;
}

.carousel-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 48px 48px;
}

.carousel-slide.is-active {
  display: flex;
  animation: carousel-fade-in 0.5s ease;
}

@keyframes carousel-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.carousel-icon { margin-bottom: 24px; }

.carousel-step-num {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.carousel-media {
  width: 100%;
  max-width: 760px;
  height: 460px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.carousel-slide h3 { font-size: 26px; margin-bottom: 12px; }
.carousel-slide p { font-size: 16.5px; max-width: 560px; }

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}
.carousel-arrow svg { width: 16px; height: 16px; }
.carousel-arrow:hover { border-color: var(--forest); color: var(--forest); }

.carousel-dots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.carousel-dot {
  position: relative;
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.dot-progress {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--forest);
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide.is-active { animation: none; }
}

@media (max-width: 680px) {
  .carousel-slide { padding: 32px 24px 36px; }
  .carousel-slide h3 { font-size: 21px; }
  .carousel-nav { gap: 12px; }
  .carousel-media { height: 260px; }
}

/* ---------- Report contents (table of contents) ---------- */

.toc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.toc-stat {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.toc-stat-num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--forest);
}

.toc-stat-num-gold { color: var(--gold); }

.toc-stat-label {
  font-size: 12.5px;
  color: var(--slate);
}

.toc-sample-box {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 24px;
}

.toc-sample-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

.toc-sample-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
}

.toc-sample-stats .toc-stat {
  padding: 8px 14px;
}

.toc-sample-stats .toc-stat-num {
  font-size: 16px;
}

.toc-sample-stats .toc-stat-label {
  font-size: 11.5px;
}

.toc-panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
}

.toc-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 4px 0 20px;
}

.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 32px;
}

.toc-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  cursor: default;
}

.toc-row .toc-check,
.toc-row .toc-num,
.toc-row .toc-name {
  color: var(--slate-light);
}

.toc-row .toc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  min-width: 18px;
}

.toc-row .toc-name {
  font-size: 14px;
}

.toc-row.is-linked {
  cursor: pointer;
}

.toc-row.is-linked .toc-check {
  color: var(--forest);
}

.toc-row.is-linked .toc-num {
  color: var(--gold);
}

.toc-row.is-linked .toc-name {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toc-row.is-linked:hover .toc-name {
  color: var(--forest-deep);
}

.toc-footnote {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--slate);
}

.toc-hint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--slate-light);
}

@media (max-width: 680px) {
  .toc-grid { grid-template-columns: 1fr; }
  .toc-panel { padding: 26px 22px; }
  .toc-sample-stats .toc-stat-num { font-size: 14px; }
  .toc-sample-stats .toc-stat-label { font-size: 10.5px; }
  .toc-sample-stats .toc-stat { padding: 7px 10px; }
}

/* ---------- Stakeholder / persona section ---------- */

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}

.persona-card {
  background: var(--paper-raised);
  padding: 30px 26px;
}

.persona-role {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--forest-tint);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.persona-card h3 { margin-bottom: 8px; font-size: 18px; }
.persona-card p { font-size: 14px; }

.loop-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--forest-tint);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
}

.loop-item {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--forest-deep);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 20px;
}

.loop-arrow { color: var(--gold); font-weight: 600; }

/* ---------- Pricing ---------- */

.pricing-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 44px;
}

.toggle-group {
  display: inline-flex;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 4px;
}

.toggle-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 24px;
  border: none;
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 7px;
}
.toggle-btn.active { background: var(--forest); color: var(--white); }
.toggle-btn .save-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: var(--gold-tint);
  color: var(--gold);
  padding: 2px 6px;
  border-radius: 10px;
}
.toggle-btn.active .save-badge { background: rgba(255,255,255,0.2); color: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border: 2px solid var(--forest);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.plan-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.plan-desc { font-size: 14px; color: var(--slate); margin-top: 6px; min-height: 40px; }

.plan-price {
  margin-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
}
.plan-price .amount { font-size: 38px; font-weight: 600; color: var(--ink); }
.plan-price .period { font-size: 13px; color: var(--slate); }

.plan-save {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  margin-top: 6px;
  min-height: 16px;
}

.plan-features {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.plan-feature svg { width: 16px; height: 16px; stroke: var(--forest); flex-shrink: 0; margin-top: 2px; }

.plan-cta { margin-top: 28px; width: 100%; justify-content: center; }

/* ---------- Estimator ---------- */

.estimator-panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.estimator-field { margin-bottom: 22px; }
.estimator-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.estimator-field .value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}
.estimator-field .value-row span.live {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--forest);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--forest);
  height: 4px;
}

.estimator-result {
  background: var(--forest-deep);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: left;
}

.estimator-result .er-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gold-tint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.estimator-result .er-figure {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--white);
  margin-top: 10px;
  line-height: 1;
}

.estimator-result .er-note {
  font-size: 13.5px;
  color: rgba(255,255,255,0.68);
  margin-top: 16px;
  line-height: 1.6;
}

.estimator-result .btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

.estimator-disclaimer {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate-light);
  margin-top: 20px;
}

/* ---------- Resources / downloads ---------- */

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.resource-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.resource-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.resource-tag.open { background: var(--forest-tint); color: var(--forest-deep); }
.resource-tag.gated { background: var(--gold-tint); color: var(--gold); }

.resource-card h3 { font-size: 21px; margin-bottom: 10px; }
.resource-card p { font-size: 14.5px; flex-grow: 1; }

.resource-form-stack { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }

.resource-form-stack select {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.resource-form-stack select:focus { outline: none; border-color: var(--forest); }
.resource-form-stack select:invalid { color: var(--slate); }

.resource-form {
  display: flex;
  gap: 10px;
}
.resource-form input[type="email"] {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--paper);
  color: var(--ink);
}
.resource-form input[type="email"]:focus { outline: none; border-color: var(--forest); }

.resource-status {
  margin-top: 12px;
  font-size: 13.5px;
  min-height: 18px;
}
.resource-status.success { color: var(--forest); }
.resource-status.error { color: #A32D2D; }

.resource-card .btn { margin-top: 22px; }

/* ---------- Scope 3 survey ---------- */

.survey-panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.survey-intro {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--forest-tint);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
}
.survey-intro p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.survey-intro strong { color: var(--forest-deep); }

.survey-question { margin-bottom: 30px; }
.survey-question:last-of-type { margin-bottom: 0; }

.survey-q-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 14px;
}
.survey-q-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.survey-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.survey-opt {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.survey-opt:hover { border-color: var(--forest); }
.survey-opt.selected { background: var(--forest); border-color: var(--forest); color: var(--white); }

.survey-optional-field { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.survey-optional-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.survey-panel textarea, .survey-panel input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.survey-panel textarea:focus, .survey-panel input[type="email"]:focus { outline: none; border-color: var(--forest); }

.survey-submit-row {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--forest-deep);
  padding: 90px 0;
  text-align: center;
}
.final-cta .eyebrow { color: var(--gold-tint); }
.final-cta h2 { color: var(--white); margin-top: 14px; }
.final-cta p { color: rgba(255,255,255,0.72); margin-top: 16px; max-width: 480px; margin-left: auto; margin-right: auto; font-size: 17px; }
.final-cta .hero-actions { justify-content: center; margin-top: 32px; }
.final-cta .btn-ghost { border-color: rgba(255,255,255,0.28); color: var(--white); }
.final-cta .btn-ghost:hover { border-color: var(--white); }

/* ---------- Footer ---------- */

footer { padding: 64px 0 40px; }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 260px; color: var(--slate); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.footer-col a:hover { color: var(--forest); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
}
.footer-bottom p { font-size: 13px; color: var(--slate-light); }
.footer-disclaimer { font-size: 12.5px; color: var(--slate-light); max-width: 720px; margin-top: 16px; line-height: 1.6; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .report-card { animation: none; opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stack { height: 380px; margin-top: 20px; }
  .persona-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .estimator-panel { grid-template-columns: 1fr; gap: 28px; }
  .resource-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-primary { padding: 9px 14px; font-size: 13.5px; }
  .brand { font-size: 16px; gap: 8px; }
  .nav-mobile-divider { display: block; height: 1px; background: var(--line); margin: 4px 0; }
  .nav-mobile-only { display: flex; width: 100%; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .pricing-controls { flex-direction: column; align-items: flex-start; }
  .report-card { width: 220px; height: 300px; padding: 16px; }
  .card-pdf { left: 90px; } .card-docx { left: 20px; } .card-xlsx { left: 0; } .card-csv { left: 130px; }
  .loop-strip { flex-direction: column; align-items: stretch; }
  .loop-arrow { text-align: center; transform: rotate(90deg); }
}