:root {
  color-scheme: light;
  --deep: #063626;
  --deep-surface: #eaf8ea;
  --limestone: #ffffff;
  --limestone-inset: #f3faf2;
  --ink: #102822;
  --muted: #63736d;
  --hairline: #dce7dc;
  --logo-lime: #c2f424;
  --current: #118a34;
  --current-dark: #0b6f2a;
  --action: #118a34;
  --action-hover: #0b6f2a;
  --brand-lime: #c2f424;
  --illustration-white: #fcfcf9;
  --illustration-green: #65c33b;
  --illustration-navy: #17345b;
  --deep-text: #ffffff;
  --deep-muted: #5f756c;
  --light-bg: var(--limestone);
  --light-inset: var(--limestone-inset);
  --light-text: var(--ink);
  --light-muted: var(--muted);
  --light-border: var(--hairline);
  --container: min(1280px, calc(100vw - 48px));
  --reading: min(840px, calc(100vw - 40px));
}

[data-theme="dark"] {
  color-scheme: light;
  --light-bg: #ffffff;
  --light-inset: #f3faf2;
  --light-text: #102822;
  --light-muted: #63736d;
  --light-border: #dce7dc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--light-bg);
  color: var(--light-text);
  font-family: "IBM Plex Sans", "Hanken Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
picture { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
section { scroll-margin-top: 112px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--current);
  color: var(--deep);
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.narrow { width: var(--reading); }
.section-light, .section-inset, .section-dark { padding-block: 112px; }
.section-light { background: var(--light-bg); }
.section-inset { background: var(--light-inset); }
.section-dark { background: var(--light-bg); color: var(--light-text); }

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  width: var(--container);
  min-height: 72px;
  margin: 0 auto -72px;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid rgba(17, 138, 52, 0.2);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(9, 64, 34, 0.1);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.98); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand strong { display: block; font-size: 1.15rem; line-height: 1; }
.brand-watt { color: var(--brand-lime); }
.brand small { display: block; color: var(--muted); font-size: 0.72rem; line-height: 1.25; margin-top: 4px; max-width: 220px; }
.desktop-nav { display: flex; gap: 20px; margin-left: auto; font-size: 0.88rem; }
.desktop-nav a, .mobile-menu a { text-decoration: none; color: var(--muted); }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .mobile-menu a:hover, .mobile-menu a:focus-visible { color: var(--current-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.theme-toggle, .menu-toggle {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(17, 138, 52, 0.24);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle { display: none; }
.menu-toggle { display: none; }
.mobile-menu {
  position: absolute;
  inset: calc(100% + 8px) 0 auto 0;
  display: none;
  gap: 12px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(17, 138, 52, 0.2);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(9, 64, 34, 0.12);
}
.mobile-menu.is-open { display: grid; }
.mobile-menu[hidden] { display: none !important; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--action);
  border-radius: 999px;
  background: var(--action);
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}
.button:hover, .button:focus-visible { background: var(--action-hover); border-color: var(--action-hover); color: #ffffff; transform: translateY(-1px); }
.button-secondary { background: transparent; color: var(--current-dark); }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--action); border-color: var(--action); color: #ffffff; }
.button-small { min-height: 44px; padding-inline: 18px; font-size: 0.86rem; }
.text-link { display: inline-flex; color: var(--light-text); font-weight: 700; text-decoration-color: var(--current); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.section-dark .text-link { color: var(--current-dark); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 72px;
  min-height: 760px;
  background:
    radial-gradient(circle at 78% 24%, rgba(194, 244, 36, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 58%, #f3faf2 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(17, 138, 52, 0.08) 0) 0 0 / calc((min(1280px, 100vw - 48px)) / 12) 100%,
    linear-gradient(rgba(17, 138, 52, 0.07) 1px, transparent 1px) 0 124px / 100% 96px;
}
.hero-grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; align-items: center; }
.hero-copy { grid-column: 1 / span 5; padding-top: 34px; border-left: 2px solid var(--current); padding-left: 24px; }
.hero-visual { grid-column: 6 / span 7; position: relative; display: grid; justify-items: stretch; margin: 0; padding-top: 72px; }
.hero-visual::before {
  content: "";
  position: absolute;
  top: 26px;
  right: 0;
  width: min(52vw, 740px);
  height: 1px;
  background: linear-gradient(90deg, rgba(17, 138, 52, 0), rgba(17, 138, 52, 0.65), rgba(194, 244, 36, 0.5));
}
.hero-visual picture {
  display: block;
  padding: 10px;
  background: var(--illustration-white);
  border: 1px solid color-mix(in srgb, var(--illustration-green) 48%, transparent);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(16, 40, 34, 0.12);
}
.hero-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 12px; }

[data-scroll-image] {
  --motion-y: 0px;
  --motion-rx: 0deg;
  --motion-ry: 0deg;
  --motion-rz: 0deg;
  --motion-scale: 1;
  --motion-z: 0px;
  --motion-glow: 0;
  --motion-sheen: 50%;
  position: relative;
  transform: perspective(1200px) translate3d(0, var(--motion-y), var(--motion-z)) rotateX(var(--motion-rx)) rotateY(var(--motion-ry)) rotateZ(var(--motion-rz)) scale(var(--motion-scale));
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 260ms ease, border-color 260ms ease, filter 260ms ease;
}

[data-scroll-image] img {
  transform: translateZ(24px);
  will-change: transform;
}

[data-scroll-image]::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border-radius: inherit;
  opacity: calc(var(--motion-glow) * 0.38);
  transform: translateZ(42px);
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.62) var(--motion-sheen), transparent 72%);
  mix-blend-mode: screen;
}

[data-scroll-image].motion-active,
.motion-active[data-scroll-image] {
  border-color: color-mix(in srgb, var(--current) 44%, var(--light-border));
  filter: saturate(calc(1 + var(--motion-glow) * 0.18));
}
.kicker { margin: 0 0 18px; color: var(--current); font: 600 0.74rem/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.18em; }
h1, h2, h3 { margin: 0; line-height: 1.02; }
h1, h2 { font-family: "Fraunces", Georgia, serif; font-weight: 500; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(3.7rem, 5.6vw, 5.65rem); max-width: 760px; line-height: 0.96; }
h2 { font-size: clamp(2.35rem, 4.8vw, 3.5rem); max-width: 12ch; }
h3 { font-size: 1.25rem; line-height: 1.2; }
.lede { max-width: 58ch; color: var(--light-muted); font-size: clamp(1.02rem, 1.25vw, 1.18rem); }
.section-dark .lede { color: var(--light-muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.trust-line { margin-top: 18px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  border: 1px solid rgba(17, 138, 52, 0.18);
  background: rgba(17, 138, 52, 0.1);
}
.hero-proof span { padding: 13px 14px; background: #ffffff; color: var(--muted); font-size: 0.78rem; line-height: 1.2; }
.hero-proof strong { display: block; color: var(--current-dark); font-family: "IBM Plex Mono", monospace; font-size: 1rem; }
.proof-strip { background: #f2fbf0; color: var(--ink); padding-block: 42px; border-block: 1px solid rgba(17, 138, 52, 0.16); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid rgba(17, 138, 52, 0.16); }
.proof-grid article { padding: 24px; border-left: 1px solid rgba(17, 138, 52, 0.16); }
.proof-grid article:first-child { border-left: 0; }
.proof-grid strong { display: block; color: var(--current-dark); font: 500 1.45rem/1.15 "IBM Plex Mono", monospace; }
.proof-grid span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.9rem; }
.definition-band { background: var(--light-bg); border-bottom: 1px solid var(--light-border); padding-block: 42px; }
.definition-band p { max-width: 920px; margin: 0; font-size: 1.15rem; }

.split-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(520px, 7fr); gap: 48px; align-items: center; }
.section-head { max-width: 860px; margin-bottom: 48px; }
.section-head h2, .split-section h2, .faq-section h2, .final-section h2 { margin-bottom: 24px; }
.section-head-wide h2 { max-width: 14ch; }
.mini-card-grid { display: grid; gap: 12px; margin-block: 34px; }
.mini-card-grid article, .service-grid article, .sector-grid article, .differentiator-grid article, .faq-list details {
  border: 1px solid var(--light-border);
  background: color-mix(in srgb, var(--light-bg) 88%, var(--light-inset));
  border-radius: 14px;
}
.mini-card-grid article { padding: 20px; }
.mini-card-grid p, .service-grid p, .sector-grid p, .differentiator-grid p { margin-bottom: 0; color: var(--light-muted); }
.callout { padding: 22px; border-left: 3px solid var(--current); background: color-mix(in srgb, var(--current) 9%, transparent); }
.wide-callout { margin-top: 32px; }
.wide-callout span { display: block; margin-top: 8px; color: var(--light-muted); font-size: 0.9rem; }
.section-art {
  display: block;
  padding: 10px;
  background: var(--illustration-white);
  border: 1px solid color-mix(in srgb, var(--illustration-green) 28%, var(--light-border));
  border-radius: 20px;
  box-shadow: 0 22px 60px color-mix(in srgb, var(--ink) 12%, transparent);
}
.section-art img { width: 100%; min-width: 0; object-fit: contain; margin-left: auto; border-radius: 12px; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 30px; }
.service-grid article, .sector-grid article { padding: 16px 16px 26px; overflow: hidden; }
.service-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 22px;
  background: var(--illustration-white);
  border: 1px solid color-mix(in srgb, var(--illustration-green) 18%, var(--light-border));
  border-radius: 12px;
}
.service-grid h3, .service-grid p, .sector-grid h3, .sector-grid p, .sector-grid a { margin-inline: 10px; }
.process-art {
  display: block;
  margin: 24px 0 34px;
  padding: 12px;
  background: var(--illustration-white);
  border: 1px solid color-mix(in srgb, var(--illustration-green) 28%, var(--light-border));
  border-radius: 20px;
  box-shadow: 0 20px 50px color-mix(in srgb, var(--ink) 10%, transparent);
}
.process-art img { width: 100%; object-fit: contain; border-radius: 12px; }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step-grid article { padding: 22px 0 0; border-top: 2px solid var(--current); }
.step-grid span { color: var(--light-muted); font: 600 0.7rem/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.1em; }
.statement-row { margin-top: 42px; padding: 26px; display: flex; justify-content: space-between; gap: 24px; align-items: center; background: #f0faed; color: var(--ink); border: 1px solid rgba(17, 138, 52, 0.18); border-radius: 18px; }
.statement-row p { margin: 0; max-width: 700px; color: var(--muted); }

.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sector-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 24px;
  background: var(--illustration-white);
  border: 1px solid color-mix(in srgb, var(--illustration-green) 18%, var(--light-border));
  border-radius: 12px;
}
.sector-grid a { display: inline-flex; margin-top: 20px; font-weight: 700; color: var(--light-text); text-decoration-color: var(--current); text-underline-offset: 5px; }
.why-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 48px; align-items: center; }
.differentiator-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 36px 0; }
.why-section { background: #ffffff; border-block: 1px solid rgba(17, 138, 52, 0.14); }
.differentiator-grid article { background: #f7fcf5; border-color: rgba(17, 138, 52, 0.18); padding: 22px; }
.differentiator-grid p { color: var(--muted); }
.ledger-art {
  display: block;
  padding: 12px;
  background: var(--illustration-white);
  border: 1px solid rgba(101, 195, 59, 0.58);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}
.ledger-art img { width: 100%; max-height: 780px; object-fit: contain; margin-inline: auto; border-radius: 12px; }

.results-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.75fr); gap: clamp(36px, 6vw, 86px); align-items: center; margin-bottom: 42px; }
.results-section h2 { max-width: 12.8ch; }
.results-visual-panel {
  justify-self: end;
  width: min(100%, 560px);
  margin: 0;
  padding: 12px;
  background: var(--illustration-white);
  border: 1px solid color-mix(in srgb, var(--illustration-green) 34%, var(--light-border));
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(16, 40, 34, 0.1);
}
.results-visual-panel img { width: 100%; border-radius: 16px; }
.results-visual-panel figcaption { margin-top: 12px; color: var(--muted); font-size: 0.84rem; text-align: center; }
.result-table { border: 1px solid var(--light-border); border-radius: 16px; overflow: hidden; background: color-mix(in srgb, var(--light-bg) 90%, var(--light-inset)); }
.result-table [role="row"] { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); }
.result-table span { padding: 18px; border-top: 1px solid var(--light-border); }
.table-head span { border-top: 0; color: var(--light-muted); font: 600 0.74rem/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; }
.result-table [role="row"]:not(.table-head) span:not(:first-child) { font-family: "IBM Plex Mono", monospace; }
.result-table [role="row"]:not(.table-head) span:last-child { color: var(--current-dark); font-weight: 700; }
.qualification { max-width: 980px; color: var(--light-muted); font-size: 0.9rem; }

.faq-list { display: grid; gap: 12px; margin-top: 32px; }
.faq-list details { overflow: clip; }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid color-mix(in srgb, var(--current) 55%, transparent);
  border-radius: 50%;
  color: var(--current-dark);
  font: 600 1rem/1 "IBM Plex Mono", monospace;
}
.faq-list details[open] summary { border-bottom: 1px solid var(--light-border); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 18px 22px 22px; color: var(--light-muted); }

.final-section { background: linear-gradient(180deg, #ffffff 0%, #f0faed 100%); border-top: 1px solid rgba(17, 138, 52, 0.16); }
.final-grid { display: grid; grid-template-columns: minmax(320px, 4fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 84px); align-items: start; }
.tool-grid { grid-template-columns: minmax(280px, 4.2fr) minmax(0, 7.8fr); }
.action-panel {
  margin-top: 34px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(17, 138, 52, 0.16);
  border-radius: 22px;
  box-shadow: 0 22px 64px rgba(16, 40, 34, 0.08);
}
.action-panel p { margin: 0 0 18px; color: var(--ink); font-weight: 700; }
.action-panel ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.action-panel li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.action-panel strong { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--action); color: #ffffff; font-family: "IBM Plex Mono", monospace; font-size: 0.9rem; }
.action-panel span { color: var(--muted); line-height: 1.45; }
.audit-tool {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(17, 138, 52, 0.2);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(16, 40, 34, 0.1);
}
.tool-intro { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--light-border); }
.tool-intro span { color: var(--current-dark); font: 600 0.76rem/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; }
.tool-intro strong { color: var(--ink); font-size: 0.98rem; }
.tool-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.audit-tool label { display: grid; gap: 7px; color: var(--muted); font-size: 0.9rem; }
.audit-tool input,
.audit-tool select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
}
.audit-tool input:focus,
.audit-tool select:focus { outline: 2px solid var(--current); outline-offset: 2px; }
.audit-tool input[aria-invalid="true"],
.audit-tool select[aria-invalid="true"] { border-color: var(--current); }
.tool-checks { display: grid; gap: 10px; margin: 0; padding: 18px; border: 1px solid var(--light-border); border-radius: 18px; background: #f7fcf5; }
.tool-checks legend { padding: 0 8px; color: var(--ink); font-weight: 700; }
.tool-checks label { display: flex; grid-template-columns: none; gap: 10px; align-items: flex-start; color: var(--ink); }
.tool-checks input { width: 18px; min-height: 18px; margin-top: 3px; accent-color: var(--action); }
.tool-note { margin: 0; color: var(--muted); font-size: 0.86rem; }
.tool-result { display: grid; gap: 18px; padding-top: 20px; border-top: 1px solid var(--light-border); }
.tool-result[hidden] { display: none; }
.result-score { display: grid; justify-items: start; gap: 4px; }
.result-score span { color: var(--current-dark); font: 600 clamp(3.25rem, 7vw, 5rem)/0.9 "IBM Plex Mono", monospace; letter-spacing: -0.06em; }
.result-score small { color: var(--muted); font: 600 0.75rem/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; }
.result-copy h3 { margin-bottom: 8px; font-size: clamp(1.45rem, 2vw, 2rem); }
.result-copy p { margin: 0; color: var(--muted); max-width: 62ch; }
.result-ranges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--light-border); border: 1px solid var(--light-border); }
.result-ranges article { display: grid; gap: 8px; padding: 18px; background: #ffffff; }
.result-ranges span { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.result-ranges strong { color: var(--ink); font: 600 1.1rem/1.2 "IBM Plex Mono", monospace; }
.result-next { padding: 18px; background: #f7fcf5; border: 1px solid var(--light-border); border-radius: 18px; }
.result-next h4 { margin: 0 0 10px; color: var(--ink); }
.result-next ul { margin: 0; padding-left: 20px; color: var(--muted); }
.result-gate { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.result-gate .button { min-height: 52px; }
.audit-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 24px; background: #ffffff; border: 1px solid rgba(17, 138, 52, 0.18); border-radius: 22px; box-shadow: 0 24px 70px rgba(16, 40, 34, 0.1); }
.upload-visual {
  display: block;
  max-height: 360px;
  overflow: hidden;
  margin: -8px -8px 8px;
  padding: 8px;
  background: var(--illustration-white);
  border: 1px solid rgba(101, 195, 59, 0.52);
  border-radius: 16px;
}
.upload-visual img { width: 100%; max-height: 342px; object-fit: contain; }
.audit-form label { display: grid; gap: 7px; color: var(--muted); font-size: 0.9rem; }
.audit-form input, .audit-form select, .audit-form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 12px; background: #ffffff; color: var(--ink);
}
.audit-form textarea { resize: vertical; }
.audit-form input:focus, .audit-form select:focus, .audit-form textarea:focus { outline: 2px solid var(--current); outline-offset: 2px; }
.audit-form input[aria-invalid="true"], .audit-form select[aria-invalid="true"] { border-color: var(--current); }
.full-field, .form-status { grid-column: 1 / -1; }
.form-status { min-height: 24px; color: var(--current); font-weight: 700; }
.form-note, .privacy { margin: 0; color: var(--muted); font-size: 0.86rem; }
.consent { grid-template-columns: auto 1fr !important; align-items: start; }
.consent input { width: 20px; min-height: 20px; margin-top: 4px; }
.upload-field span { color: var(--muted); font-size: 0.8rem; }

.site-footer { background: #f6fbf4; color: var(--ink); padding-block: 64px; border-top: 1px solid rgba(17, 138, 52, 0.16); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px; }
.footer-grid h2 { font: 600 0.78rem/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.16em; color: var(--current); text-transform: uppercase; }
.footer-grid nav { display: grid; align-content: start; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover, .footer-grid a:focus-visible { color: var(--current-dark); }
.footer-grid p { color: var(--muted); margin-bottom: 0; }

.legal-main { padding-top: 128px; background: linear-gradient(180deg, #ffffff 0%, #f5fbf2 100%); }
.legal-hero { padding-block: 82px 36px; border-bottom: 1px solid var(--light-border); }
.legal-hero h1 { max-width: 12ch; font-size: clamp(3rem, 6vw, 5rem); }
.legal-hero .lede { max-width: 760px; }
.legal-layout { display: grid; grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr); gap: clamp(32px, 7vw, 96px); padding-block: 72px 112px; }
.legal-layout > * { min-width: 0; }
.legal-toc { position: sticky; top: 116px; align-self: start; display: grid; gap: 10px; padding: 18px; border: 1px solid rgba(17, 138, 52, 0.16); border-radius: 18px; background: #ffffff; }
.legal-toc strong { color: var(--current-dark); font: 600 0.76rem/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: var(--current-dark); }
.legal-content { display: grid; gap: 22px; min-width: 0; }
.legal-card { padding: clamp(22px, 4vw, 36px); border: 1px solid var(--light-border); border-radius: 18px; background: #ffffff; }
.legal-card h2 { max-width: none; margin-bottom: 18px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.legal-card h3 { margin-top: 24px; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card ul { padding-left: 22px; }
.legal-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 18px; font-size: 0.95rem; }
.legal-table th, .legal-table td { padding: 14px; border: 1px solid var(--light-border); text-align: left; vertical-align: top; }
.legal-table th, .legal-table td { overflow-wrap: anywhere; word-break: break-word; }
.legal-table th { color: var(--current-dark); background: #f7fcf5; }
.legal-notice { padding: 18px; border-left: 3px solid var(--current); background: #f7fcf5; color: var(--ink); }
.cookie-banner { position: fixed; z-index: 30; right: 18px; bottom: 18px; width: min(560px, calc(100vw - 36px)); padding: 20px; background: #ffffff; border: 1px solid rgba(17, 138, 52, 0.24); border-radius: 20px; box-shadow: 0 24px 80px rgba(16, 40, 34, 0.18); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }
.cookie-banner strong { color: var(--ink); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie-actions .button { min-height: 44px; padding-inline: 18px; font-size: 0.9rem; }
.cookie-link { color: var(--current-dark); font-weight: 700; text-decoration-color: var(--current); text-underline-offset: 4px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 2px solid var(--current); outline-offset: 3px; }

@media (max-width: 1023px) {
  :root { --container: min(100vw - 32px, 920px); }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .hero-grid, .split-grid, .why-grid, .final-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero-visual { grid-column: auto; }
  .hero-copy { border-left: 0; padding-left: 0; padding-top: 20px; }
  .hero-visual { justify-items: center; padding-top: 18px; }
  .hero-visual::before { display: none; }
  .hero-visual picture { width: min(100%, 760px); }
  .hero-visual img { width: 100%; margin-inline: auto; }
  .proof-grid, .service-grid, .sector-grid, .step-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .section-art img { width: min(100%, 640px); margin-inline: auto; }
  .ledger-art { width: min(100%, 680px); margin-inline: auto; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero {
    padding-top: 118px;
    padding-bottom: 56px;
    min-height: auto;
  }
  .hero-grid { gap: 18px; }
  .hero .kicker { margin-bottom: 14px; }
  h1 {
    max-width: 900px;
    font-size: clamp(3.1rem, 7.2vw, 4.25rem);
    line-height: 0.98;
  }
  .hero .lede {
    max-width: 760px;
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.55;
  }
  .cta-row { margin-top: 22px; }
  .hero-proof { display: none; }
  .trust-line { margin-top: 14px; }
  .hero-visual { padding-top: 8px; }
  .hero-visual picture {
    width: min(100%, 620px);
    padding: 8px;
    border-radius: 16px;
  }
}

@media (min-width: 760px) and (max-width: 1023px) {
  .hero {
    padding-top: 118px;
    padding-bottom: 48px;
    min-height: 660px;
  }
  .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
    align-items: center;
  }
  .hero-copy {
    grid-column: 1 / span 5;
    padding-top: 0;
  }
  .hero-visual {
    grid-column: 6 / span 7;
    justify-items: stretch;
    padding-top: 0;
  }
  .hero-visual picture {
    width: 100%;
    max-width: none;
  }
  h1 {
    max-width: 11.2ch;
    font-size: clamp(2.35rem, 4.45vw, 3.15rem);
    line-height: 1;
  }
  .hero .lede {
    max-width: 42ch;
    font-size: 0.88rem;
    line-height: 1.48;
    margin-top: 14px;
  }
  .cta-row {
    gap: 10px;
    margin-top: 18px;
  }
  .hero .button {
    min-height: 46px;
    padding-inline: 18px;
    font-size: 0.88rem;
  }
  .trust-line {
    font-size: 0.64rem;
  }
  .final-section { padding-top: 78px; }
  .final-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 24px;
    align-items: start;
  }
  .final-section h2 {
    max-width: 9.4ch;
    font-size: clamp(2.4rem, 4.7vw, 3.2rem);
  }
  .final-section .lede {
    max-width: 38ch;
    font-size: 0.94rem;
    line-height: 1.5;
  }
  .action-panel {
    margin-top: 24px;
    padding: 18px;
  }
  .action-panel li {
    grid-template-columns: 28px 1fr;
    gap: 10px;
  }
  .action-panel strong {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
  }
  .action-panel span {
    font-size: 0.9rem;
  }
  .audit-form {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }
  .upload-visual {
    max-height: 260px;
  }
  .upload-visual img {
    max-height: 242px;
  }
  .tool-grid { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); }
  .tool-fields,
  .result-ranges,
  .result-gate { grid-template-columns: 1fr; }
  .tool-intro { align-items: start; flex-direction: column; }
}

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 639px) {
  :root { --container: calc(100vw - 24px); }
  body { font-size: 16px; }
  .site-header { top: 8px; min-height: 64px; margin-bottom: -64px; padding: 8px; border-radius: 20px; }
  .brand small, .theme-toggle { display: none; }
  .brand img { width: 40px; height: 40px; }
  .button-small { padding-inline: 14px; }
  .section-light, .section-inset, .section-dark { padding-block: 72px; }
  .hero { padding-top: 104px; min-height: auto; }
  .hero .kicker { margin-bottom: 14px; font-size: 0.68rem; letter-spacing: 0.14em; }
  h1 { font-size: clamp(2.45rem, 10.8vw, 3.15rem); max-width: 13.5ch; line-height: 0.98; }
  h2 { font-size: clamp(2.15rem, 10vw, 2.75rem); }
  .hero .lede { margin-top: 18px; font-size: 0.98rem; line-height: 1.58; }
  .cta-row, .statement-row { flex-direction: column; align-items: stretch; }
  .cta-row .button, .statement-row .button { width: 100%; }
  .hero-proof { display: none; }
  .trust-line { margin-top: 14px; white-space: normal; }
  .hero-visual { padding-top: 12px; }
  .hero-visual { overflow: clip; }
  .hero-visual picture { width: 100%; padding: 6px; border-radius: 14px; overflow: clip; }
  .hero-visual img { width: 132%; max-width: none; margin-left: -16%; aspect-ratio: 4 / 5; }
  .service-grid article, .sector-grid article { padding: 12px 12px 24px; }
  .service-grid img, .sector-grid img { margin-bottom: 18px; }
  .process-art, .section-art, .ledger-art { padding: 6px; border-radius: 14px; }
  .upload-visual { max-height: none; }
  .upload-visual img { max-height: none; }
  .proof-grid, .service-grid, .sector-grid, .step-grid, .differentiator-grid, .footer-grid, .audit-form, .audit-tool, .tool-fields, .result-ranges, .result-gate, .results-head { grid-template-columns: 1fr; }
  .legal-main { padding-top: 96px; }
  .legal-hero { padding-block: 56px 24px; }
  .legal-layout { padding-block: 48px 72px; }
  .legal-card { min-width: 0; overflow-x: clip; }
  .legal-table { display: block; max-width: 100%; overflow-x: auto; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .results-visual-panel { justify-self: stretch; width: 100%; }
  .final-grid { grid-template-columns: 1fr; }
  .proof-grid article { border-left: 0; border-top: 1px solid rgba(17, 138, 52, 0.16); }
  .proof-grid article:first-child { border-top: 0; }
  .result-table, .result-table [role="row"] { display: grid; grid-template-columns: 1fr; gap: 12px; background: transparent; border: 0; overflow: visible; }
  .result-table .table-head { display: none; }
  .result-table [role="row"]:not(.table-head) { padding: 18px; border: 1px solid var(--light-border); border-radius: 14px; background: color-mix(in srgb, var(--light-bg) 90%, var(--light-inset)); }
  .result-table span { padding: 0; border-top: 0; display: flex; justify-content: space-between; gap: 16px; }
  .result-table span::before { content: attr(data-label); color: var(--light-muted); font-family: "IBM Plex Sans", sans-serif; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  [data-scroll-image], [data-scroll-image] img { transform: none !important; }
}
