:root {
  --page: #f5f4ef;
  --paper: #fffefa;
  --surface: #ffffff;
  --surface-soft: #eef2ec;
  --ink: #151714;
  --ink-soft: #313731;
  --muted: #687068;
  --line: #d7ddd4;
  --line-strong: #aeb8ad;
  --coal: #191d19;
  --coal-soft: #262c26;
  --coal-line: rgba(255, 255, 255, 0.15);
  --green: #5a9c6d;
  --green-dark: #1d684b;
  --blue: #3d8ab7;
  --amber: #cb872b;
  --danger: #c7604b;
  --focus-ring: rgba(47, 121, 165, 0.72);
  --shadow: 0 18px 46px rgba(20, 24, 20, 0.08);
  --sheet-shadow: 0 10px 26px rgba(20, 24, 20, 0.055);
  --motion-fast: 140ms ease;
  --motion-med: 260ms ease;
  --radius: 8px;
  --max: 1210px;
  --sans: "Inter", "Helvetica Neue", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --gap-section-pair: clamp(48px, 8vw, 118px);
  --share-preview-width: clamp(340px, 32vw, 380px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 420px),
    repeating-linear-gradient(90deg, rgba(21, 23, 20, 0.008) 0 1px, transparent 1px 24px),
    var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

main {
  padding-bottom: 72px;
}

body.embed-mode {
  min-height: auto;
  background: var(--page);
}

body.embed-mode .site-header,
body.embed-mode .intro,
body.embed-mode .impact-summary,
body.embed-mode .recovery-section,
body.embed-mode .seo-guide,
body.embed-mode .closing-panel {
  display: none;
}

body.embed-mode main {
  padding: 12px 0 18px;
}

body.embed-mode .calculator-shell {
  margin-top: 0;
  box-shadow: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(31, 93, 69, 0.45);
}

a:hover {
  text-decoration-color: currentColor;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.section-shell,
.site-header {
  width: min(100% - 28px, var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: rgba(255, 255, 252, 0.76);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 780;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 96, 68, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #eef5ef);
  color: var(--green-dark);
  box-shadow: inset 0 0 0 4px rgba(21, 96, 68, 0.04);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-mark path,
.brand-mark circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .mark-ring {
  fill: rgba(21, 96, 68, 0.05);
  stroke: var(--green-dark);
  stroke-width: 3.4;
}

.brand-mark .mark-axis {
  stroke: #9daf9f;
  stroke-width: 2.1;
}

.brand-mark .mark-leaf {
  fill: rgba(90, 156, 109, 0.18);
  stroke: var(--green-dark);
  stroke-width: 3;
}

.brand-mark .mark-vein {
  stroke: var(--blue);
  stroke-width: 2.1;
}

.brand-mark .mark-core {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 2.4;
}

.intro,
.panel-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.calculator-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  background: rgba(255, 255, 252, 0.82);
  box-shadow: var(--shadow);
}

.calculator-column {
  display: contents;
}

.calculator-panel {
  order: 1;
}

.result-panel {
  order: 2;
}

.comparison-panel {
  order: 3;
}

.calculator-panel,
.result-panel,
.comparison-panel,
.impact-summary,
.recovery-section,
.closing-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 252, 0.92);
  box-shadow: var(--shadow);
}

.calculator-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.control-group legend,
.usage-row label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 780;
}

.method-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 0 13px;
  font-size: 0.88rem;
  font-weight: 780;
  white-space: nowrap;
}

.method-action svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.segmented input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.control-group {
  min-width: 0;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.control-group legend {
  margin-bottom: 10px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.segmented label {
  min-width: 0;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 740;
  line-height: 1;
  text-align: center;
}

.segmented label:last-child {
  border-right: 0;
}

.segmented input:checked + label {
  background: var(--coal);
  color: #fffef7;
}

.segmented input:focus-visible + label {
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 0 3px var(--focus-ring);
}

.mobile-result-strip {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  border: 1px solid #2d332e;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 84% 0%, rgba(90, 156, 109, 0.14), transparent 42%),
    var(--coal);
  color: #fffdf4;
  padding: 14px;
  transition: box-shadow var(--motion-med), transform var(--motion-fast);
}

.mobile-result-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #c7d0c6;
  font-size: 0.76rem;
  font-weight: 720;
}

.result-topline span:first-child,
.mobile-result-topline span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.result-topline span:first-child::before,
.mobile-result-topline span:first-child::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(90, 156, 109, 0.12);
}

.mobile-result-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--coal-line);
}

.mobile-result-metrics span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px 8px 0;
  border-right: 1px solid var(--coal-line);
}

.mobile-result-metrics span:first-child {
  padding-left: 0;
}

.mobile-result-metrics span:last-child {
  border-right: 0;
  padding-right: 0;
}

.mobile-result-metrics small {
  color: #b8c1b8;
  font-size: 0.62rem;
  font-weight: 780;
  text-transform: uppercase;
}

.mobile-result-metrics strong {
  color: #fffdf4;
  font-size: 1.08rem;
  font-weight: 760;
  line-height: 1.05;
  font-variant-numeric: tabular-nums lining-nums;
  overflow-wrap: anywhere;
  transition: color var(--motion-fast), transform var(--motion-fast);
}

.mobile-result-context {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--coal-line);
  color: #b8c1b8;
  font-size: 0.72rem;
}

.mobile-result-context strong {
  min-width: 0;
  color: #fffdf4;
  font-size: 0.74rem;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.usage-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.usage-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 24px 0 17px;
  border-bottom: 1px solid var(--line);
  transition: background var(--motion-med), box-shadow var(--motion-med);
}

.usage-row:hover {
  background: linear-gradient(90deg, rgba(90, 156, 109, 0.042), rgba(90, 156, 109, 0.016) 64%, rgba(90, 156, 109, 0));
}

.usage-row.is-updating {
  background: linear-gradient(90deg, rgba(90, 156, 109, 0.08), rgba(90, 156, 109, 0.035) 58%, rgba(90, 156, 109, 0));
  box-shadow: none;
}

.usage-row.is-updating > div:first-child::before,
.usage-row.is-updating > div:first-child::after {
  color: var(--green-dark);
}

.usage-row > div:first-child {
  position: relative;
  min-width: 0;
  padding-left: 38px;
}

.usage-row > div:first-child::before,
.usage-row > div:first-child::after {
  content: "";
  position: absolute;
  color: #657067;
  pointer-events: none;
}

.usage-row > div:first-child::before {
  left: 1px;
  top: 4px;
  width: 24px;
  height: 24px;
}

.usage-row[data-kind="text"] > div:first-child::before {
  left: 2px;
  top: 5px;
  width: 22px;
  height: 16px;
  border: 1.7px solid currentColor;
  border-radius: 5px;
}

.usage-row[data-kind="text"] > div:first-child::after {
  left: 8px;
  top: 19px;
  width: 7px;
  height: 7px;
  border-left: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: skewX(-28deg);
}

.usage-row[data-kind="search"] > div:first-child::before {
  width: 19px;
  height: 19px;
  border: 1.7px solid currentColor;
  border-radius: 999px;
}

.usage-row[data-kind="search"] > div:first-child::after {
  left: 18px;
  top: 21px;
  width: 9px;
  height: 1.7px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.usage-row[data-kind="code"] > div:first-child::before {
  content: "</>";
  left: 0;
  top: 3px;
  border: 0;
  color: #657067;
  font-size: 16px;
  font-weight: 780;
  line-height: 24px;
  text-align: center;
}

.usage-row[data-kind="file"] > div:first-child::before {
  width: 18px;
  height: 22px;
  border: 1.7px solid currentColor;
  border-radius: 4px;
}

.usage-row[data-kind="file"] > div:first-child::after {
  left: 7px;
  top: 13px;
  width: 9px;
  height: 7px;
  border-top: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
}

.usage-row[data-kind="image"] > div:first-child::before {
  width: 22px;
  height: 20px;
  border: 1.7px solid currentColor;
  border-radius: 5px;
  background:
    radial-gradient(circle at 7px 6px, currentColor 0 1.8px, transparent 2.3px),
    linear-gradient(135deg, transparent 42%, currentColor 43%, currentColor 52%, transparent 53%) 6px 12px / 13px 8px no-repeat;
}

.usage-row[data-kind="audio"] > div:first-child::before {
  background:
    linear-gradient(currentColor, currentColor) 3px center / 1.7px 10px no-repeat,
    linear-gradient(currentColor, currentColor) 8px center / 1.7px 20px no-repeat,
    linear-gradient(currentColor, currentColor) 13px center / 1.7px 14px no-repeat,
    linear-gradient(currentColor, currentColor) 18px center / 1.7px 8px no-repeat;
}

.usage-row[data-kind="video"] > div:first-child::before {
  left: 2px;
  top: 8px;
  width: 20px;
  height: 14px;
  border: 1.7px solid currentColor;
  border-radius: 5px;
}

.usage-row[data-kind="video"] > div:first-child::after {
  left: 21px;
  top: 11px;
  width: 7px;
  height: 8px;
  background: currentColor;
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 82%);
}

.usage-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.stepper {
  display: grid;
  grid-template-columns: 44px minmax(44px, 1fr) 44px;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: var(--surface);
}

.stepper button,
.stepper input {
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.stepper button {
  display: grid;
  place-items: center;
  transition: background 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.stepper button:hover {
  background: #f2f5ef;
  box-shadow: inset 0 0 0 1px rgba(29, 104, 75, 0.12);
}

.stepper button:focus-visible,
.stepper input:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px var(--focus-ring);
}

.stepper button:active {
  background: var(--coal);
  color: #fffef7;
}

.stepper svg,
.secondary-action svg,
.primary-action svg,
.result-comparison-heading svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stepper input {
  text-align: center;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 780;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.action-row {
  display: grid;
  margin-top: 22px;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 780;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 100ms ease;
}

.primary-action {
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--coal);
}

.primary-action:hover {
  background: #ffffff;
}

.primary-action:active,
.secondary-action:active {
  transform: translateY(1px);
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
}

.secondary-action:hover {
  background: var(--surface-soft);
}

.secondary-action .reset-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.result-panel {
  display: flex;
  flex-direction: column;
  position: relative;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 76px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 86% 0%, rgba(90, 156, 109, 0.12), transparent 42%),
    var(--coal);
  color: #f8f8f0;
  border-color: #2d332e;
  padding: 18px;
  overflow: hidden;
  transition: box-shadow var(--motion-med), transform var(--motion-fast);
}

.result-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.result-topline {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #b9c2b8;
  font-size: 0.8rem;
  font-weight: 650;
}

.result-heading h2,
.comparison-panel h2,
.impact-summary h2,
.faq-section h2,
.recovery-heading h2 {
  margin-bottom: 6px;
  font-weight: 780;
  line-height: 1.12;
}

.result-heading h2 {
  margin: 10px 0 16px;
  color: #f8f8f0;
  font-size: 1.22rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--coal-line);
  border-bottom: 1px solid var(--coal-line);
}

.metric {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon value";
  align-items: center;
  gap: 2px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--coal-line);
}

.metric:last-child {
  border-bottom: 0;
}

.metric::before {
  content: "";
  grid-area: icon;
  width: 30px;
  height: 30px;
  color: currentColor;
}

.metric-energy {
  color: var(--green);
}

.metric-water {
  color: var(--blue);
}

.metric-co2 {
  color: var(--amber);
}

.metric-energy::before {
  clip-path: polygon(45% 0, 12% 55%, 42% 55%, 30% 100%, 88% 36%, 56% 36%);
  background: currentColor;
}

.metric-water::before {
  border: 2px solid currentColor;
  border-radius: 55% 55% 60% 60%;
  transform: rotate(45deg) scale(0.76);
}

.metric-co2::before {
  border: 2px solid currentColor;
  border-radius: 999px 0 999px 999px;
  transform: rotate(-35deg) scale(0.8);
}

.metric > span {
  grid-area: label;
  display: block;
  color: #b8c1b8;
  font-size: 0.7rem;
  font-weight: 780;
  text-transform: uppercase;
}

.metric strong {
  grid-area: value;
  display: block;
  color: #fffdf4;
  font-size: 1.86rem;
  font-weight: 760;
  line-height: 1.05;
  font-variant-numeric: tabular-nums lining-nums;
  transition: color var(--motion-fast), transform var(--motion-fast);
}

.metric-number,
.metric-unit {
  display: block;
}

.metric-unit {
  margin-top: 2px;
}

.metric-energy strong {
  color: #88c279;
}

.metric-water strong {
  color: #82b8e2;
}

.metric-co2 strong {
  color: #f0b859;
}

.driver-panel {
  margin-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--coal-line);
}

.driver-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #b8c1b8;
  font-size: 0.83rem;
}

.driver-row strong {
  min-width: 0;
  color: #fffdf4;
  font-size: 0.86rem;
  font-weight: 780;
  overflow-wrap: anywhere;
}

.impact-meter {
  position: relative;
  height: 13px;
  margin-top: 10px;
  border-radius: 999px;
  background: #343a34;
  overflow: visible;
}

.impact-meter::before,
.share-card-meter::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 16.66%);
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.impact-meter span {
  --meter: 10%;
  position: absolute;
  inset-block: 0;
  left: 0;
  width: var(--meter);
  min-width: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 48%, var(--amber) 76%, var(--danger) 100%);
  transition: width var(--motion-med), filter var(--motion-med);
  z-index: 2;
}

.impact-meter span::after,
.share-card-meter span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2px;
  width: 5px;
  height: 17px;
  border-radius: 999px;
  background: rgba(255, 253, 244, 0.82);
  box-shadow: 0 0 12px rgba(255, 253, 244, 0.34);
  transform: translateY(-50%);
}

.result-projections {
  display: grid;
  gap: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--coal-line);
}

.result-projections h3 {
  margin-bottom: 8px;
  color: #fffdf4;
  font-size: 0.92rem;
}

.result-projections article {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--coal-line);
}

.result-projections span {
  color: #b8c1b8;
  font-size: 0.68rem;
  font-weight: 780;
  text-transform: uppercase;
}

.result-projections strong {
  color: #fffdf4;
  font-size: 1.1rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums lining-nums;
  transition: transform var(--motion-fast), color var(--motion-fast);
}

.result-projections small {
  grid-column: 2;
  color: #b8c1b8;
  font-size: 0.78rem;
}

.result-comparison {
  display: none;
  padding: 18px 0 0;
  border-bottom: 1px solid var(--coal-line);
}

.result-comparison-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.result-comparison-heading h3 {
  margin: 0;
  color: #fffdf4;
  font-size: 1rem;
}

.result-comparison-list,
.comparison-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.result-comparison-list {
  display: grid;
  padding: 10px 0 18px;
}

.result-comparison-list li {
  display: grid;
  grid-template-columns: 38px minmax(72px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #dce5db;
}

.result-comparison-list > li:first-child {
  border-top: 0;
}

.result-comparison-list li.result-comparison-section {
  display: block;
  min-height: 0;
  padding: 18px 0 7px;
  color: #cfe8d7;
  font-size: 0.74rem;
  font-weight: 840;
  letter-spacing: 0;
  text-transform: uppercase;
}

.comparison-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.comparison-icon svg,
.projection-icon svg,
.recovery-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-comparison-list .comparison-icon svg {
  width: 28px;
  height: 28px;
}

.result-comparison-list .comparison-value {
  color: inherit;
  font-size: 1.16rem;
  font-weight: 760;
}

.result-comparison-list strong {
  display: block;
  color: #fffdf4;
  font-size: 0.9rem;
  line-height: 1.2;
}

.result-comparison-list small {
  display: block;
  margin-top: 2px;
  color: #b8c1b8;
  font-size: 0.78rem;
}

.result-panel.is-updating,
.mobile-result-strip.is-updating {
  box-shadow: 0 18px 44px rgba(20, 24, 20, 0.2);
}

.result-panel.is-updating .metric strong,
.result-panel.is-updating .result-projections strong,
.mobile-result-strip.is-updating .mobile-result-metrics strong {
  animation: metric-update 360ms ease;
}

.result-panel.is-updating .impact-meter span,
.share-card-frame:hover .share-card-meter span {
  filter: saturate(1.14) brightness(1.05);
}

@keyframes metric-update {
  0% {
    transform: translateY(0);
  }
  42% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

.icon-phone::before {
  content: "";
  width: 14px;
  height: 25px;
  border: 1.8px solid currentColor;
  border-radius: 3px;
}

.icon-laptop::before {
  content: "";
  width: 23px;
  height: 14px;
  border: 1.8px solid currentColor;
  border-radius: 2px;
  box-shadow: 0 6px 0 -3px currentColor;
}

.icon-car::before {
  content: "";
  width: 25px;
  height: 12px;
  border: 1.8px solid currentColor;
  border-radius: 5px 5px 3px 3px;
}

.icon-car::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 22px;
  height: 5px;
  border-radius: 999px;
  box-shadow: -8px 7px 0 -2px currentColor, 8px 7px 0 -2px currentColor;
}

.icon-solar::before {
  content: "";
  width: 22px;
  height: 14px;
  border: 1.8px solid currentColor;
  transform: skewX(-10deg);
}

.icon-solar::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 8px;
  height: 8px;
  border: 1.7px solid currentColor;
  border-radius: 999px;
}

.icon-rain::before {
  content: "";
  width: 25px;
  height: 13px;
  border: 1.8px solid currentColor;
  border-radius: 999px;
  border-bottom-color: transparent;
}

.icon-rain::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 10px;
  background:
    linear-gradient(currentColor, currentColor) 2px 2px / 2px 7px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 0 / 2px 7px no-repeat,
    linear-gradient(currentColor, currentColor) 14px 2px / 2px 7px no-repeat;
}

.icon-tree::before {
  content: "";
  width: 22px;
  height: 20px;
  border: 1.8px solid currentColor;
  border-radius: 50% 50% 45% 45%;
}

.icon-tree::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 2px;
  height: 12px;
  background: currentColor;
}

.share-module {
  display: grid;
  margin-top: 18px;
}

.share-label {
  display: none;
}

.comparison-panel {
  padding: 18px;
}

.comparison-panel h2 {
  font-size: 1.32rem;
}

.comparison-list {
  display: grid;
  margin-top: 14px;
}

.comparison-list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(74px, 0.32fr) 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 64px;
  border-top: 1px solid var(--line);
}

.comparison-list li::after {
  content: none;
}

.comparison-list li.comparison-section {
  display: block;
  min-height: 0;
  padding: 18px 0 8px;
  border-top: 0;
  color: var(--green-dark);
  font-size: 0.77rem;
  font-weight: 840;
  text-transform: uppercase;
}

.comparison-list li.comparison-section::after {
  content: none;
}

.comparison-list .comparison-value {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 760;
  font-variant-numeric: tabular-nums lining-nums;
}

.comparison-list .comparison-icon {
  color: var(--green-dark);
}

.comparison-list .comparison-icon-laptop,
.result-comparison-list .comparison-icon-laptop {
  color: var(--blue);
}

.comparison-list .comparison-icon-car,
.result-comparison-list .comparison-icon-car,
.comparison-list .comparison-icon-solar,
.result-comparison-list .comparison-icon-solar,
.comparison-list .comparison-icon-tree,
.result-comparison-list .comparison-icon-tree {
  color: var(--green-dark);
}

.comparison-list .comparison-icon-rain,
.result-comparison-list .comparison-icon-rain {
  color: var(--blue);
}

.result-comparison-list .comparison-icon-phone,
.result-comparison-list .comparison-icon-laptop,
.result-comparison-list .comparison-icon-car,
.result-comparison-list .comparison-icon-solar,
.result-comparison-list .comparison-icon-rain,
.result-comparison-list .comparison-icon-tree {
  color: #dce5db;
}

.comparison-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.2;
}

.comparison-list small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.25;
}

.impact-summary,
.recovery-section {
  margin-top: 18px;
  padding: 22px;
  background: var(--paper);
  box-shadow: var(--sheet-shadow);
}

.impact-summary {
  border-color: rgba(61, 138, 183, 0.2);
  background: linear-gradient(180deg, #f6fbfc 0%, #fffefa 100%);
}

.summary-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.impact-summary h2 {
  margin-bottom: 0;
  font-size: 1.68rem;
}

.projection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.projection-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--motion-med);
}

.projection-card:last-child {
  border-bottom: 0;
}

.projection-card:hover {
  background: rgba(90, 156, 109, 0.035);
}

.projection-icon,
.recovery-icon {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(29, 104, 75, 0.22);
  border-radius: 999px;
  background: rgba(90, 156, 109, 0.06);
  color: var(--green-dark);
}

.projection-card > div > span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.projection-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.66rem;
  font-weight: 760;
  line-height: 1.05;
  font-variant-numeric: tabular-nums lining-nums;
}

.projection-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.projection-month .projection-icon::before {
  content: "";
  width: 18px;
  height: 26px;
  background: currentColor;
  clip-path: polygon(45% 0, 8% 56%, 42% 56%, 30% 100%, 92% 36%, 58% 36%);
}

.projection-year .projection-icon {
  color: var(--blue);
  border-color: rgba(61, 138, 183, 0.24);
  background: rgba(61, 138, 183, 0.07);
}

.projection-year .projection-icon::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.projection-year .projection-icon::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 22px;
  height: 2px;
  background: currentColor;
  box-shadow: -6px -5px 0 -0.5px currentColor, 6px -5px 0 -0.5px currentColor;
}

.projection-decade .projection-icon {
  color: var(--amber);
  border-color: rgba(203, 135, 43, 0.28);
  background: rgba(203, 135, 43, 0.08);
}

.projection-decade .projection-icon::before {
  content: "";
  width: 24px;
  height: 16px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: skewY(-16deg);
}

.projection-decade .projection-icon::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 12px;
  width: 9px;
  height: 9px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.projection-icon::before,
.projection-icon::after {
  content: none !important;
}

.projection-icon svg {
  width: 25px;
  height: 25px;
}

.section-label {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 840;
  text-transform: uppercase;
}

.recovery-heading h2 {
  margin-bottom: 10px;
  font-size: 1.78rem;
}

.recovery-heading p:last-child {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.recovery-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.seo-guide {
  position: relative;
  margin-top: 24px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 8%, rgba(90, 156, 109, 0.12), transparent 260px),
    linear-gradient(180deg, #fbfcf8 0%, #f2f7f0 100%);
  overflow: hidden;
}


.seo-guide-inner {
  position: relative;
  display: grid;
  gap: 26px;
}

.seo-guide-heading {
  display: grid;
  gap: 16px;
  max-width: 900px;
}

.seo-guide-heading h2 {
  max-width: 860px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 790;
  line-height: 1.08;
}

.seo-guide-heading p:last-child {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}


.seo-guide-grid {
  display: grid;
  gap: 10px;
}

.seo-guide-grid article {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(174, 184, 173, 0.58);
  border-radius: var(--radius);
  background: rgba(255, 255, 252, 0.82);
  box-shadow: 0 12px 28px rgba(20, 24, 20, 0.045);
}

.seo-guide-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--green-dark);
  opacity: 0.82;
}

.seo-guide-grid article:nth-child(2)::before {
  background: var(--blue);
}

.seo-guide-grid article:nth-child(3)::before {
  background: var(--amber);
}

.seo-guide-grid span {
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding-inline: 9px;
  border: 1px solid rgba(29, 104, 75, 0.18);
  border-radius: 999px;
  background: rgba(90, 156, 109, 0.08);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 840;
  font-variant-numeric: tabular-nums lining-nums;
}

.seo-guide-grid h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.16;
}

.seo-guide-grid p,
.seo-faq-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.48;
}

.guide-library {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(174, 184, 173, 0.56);
  border-radius: var(--radius);
  background: rgba(255, 255, 252, 0.7);
}

.guide-library-heading {
  max-width: 780px;
}

.guide-library-heading h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 790;
  line-height: 1.14;
}

.guide-library-heading p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.52;
}

.guide-link-grid {
  display: grid;
  gap: 10px;
}

.guide-link-card {
  position: relative;
  min-height: 136px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px 44px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 252, 0.88);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color var(--motion-fast),
    background-color var(--motion-fast),
    box-shadow var(--motion-fast),
    transform var(--motion-fast);
}

.guide-link-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.54;
  transform: rotate(-45deg);
  transition: transform var(--motion-fast), opacity var(--motion-fast);
}

.guide-link-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 30px rgba(20, 24, 20, 0.07);
}

.guide-link-card:hover::after {
  opacity: 0.82;
  transform: translateX(2px) rotate(-45deg);
}

.guide-link-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29, 104, 75, 0.2);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--green-dark);
}

.guide-link-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-link-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.14;
}

.guide-link-card em {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.42;
}

.guide-link-card-green:hover {
  background: rgba(237, 247, 238, 0.84);
}

.guide-link-card-blue .guide-link-icon {
  border-color: rgba(61, 138, 183, 0.22);
  background: rgba(218, 237, 246, 0.74);
  color: #286986;
}

.guide-link-card-blue:hover {
  background: rgba(232, 244, 248, 0.88);
}

.guide-link-card-amber .guide-link-icon {
  border-color: rgba(203, 135, 43, 0.25);
  background: rgba(248, 235, 211, 0.76);
  color: #90611c;
}

.guide-link-card-amber:hover {
  background: rgba(250, 241, 225, 0.9);
}

.guide-link-card-sage .guide-link-icon {
  border-color: rgba(89, 104, 79, 0.22);
  background: rgba(223, 232, 222, 0.78);
  color: #59684f;
}

.guide-link-card-sage:hover {
  background: rgba(238, 243, 236, 0.9);
}

.seo-faq-row {
  display: grid;
  border-top: 1px solid var(--line);
}

.seo-faq-row details {
  border-bottom: 1px solid var(--line);
}

.seo-faq-row summary {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 760;
  list-style: none;
}

.seo-faq-row summary::-webkit-details-marker {
  display: none;
}

.seo-faq-row summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.seo-faq-row details[open] summary::after {
  transform: rotate(225deg);
}

.seo-faq-row p {
  max-width: 820px;
  margin: 0 0 16px;
}

body.article-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 520px),
    var(--page);
}

.article-page main {
  padding-bottom: 72px;
}

.article-main {
  width: min(100% - 28px, 1040px);
  margin: 0 auto;
}

.article-shell {
  display: grid;
  gap: 26px;
  padding: 26px 0 0;
}

.article-back {
  min-height: 44px;
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
}

.article-back::before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.article-hero {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-kicker {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 860;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: 880px;
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(2.24rem, 5.4vw, 4.18rem);
  font-weight: 790;
  line-height: 1.03;
  letter-spacing: 0;
}

.article-dek {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 2.1vw, 1.22rem);
  line-height: 1.48;
}

.article-toc {
  width: min(100%, 820px);
  margin-inline: auto;
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.article-toc span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 830;
  text-transform: uppercase;
}

.article-toc nav {
  display: grid;
  gap: 2px;
  max-width: 620px;
}

.article-toc a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 740;
  text-decoration: underline;
  text-decoration-color: rgba(29, 104, 75, 0.28);
}

.article-toc a:hover {
  text-decoration-color: currentColor;
}

.article-summary-grid {
  width: min(100%, 820px);
  margin-inline: auto;
  display: grid;
  gap: 10px;
}

.article-summary-grid article {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 252, 0.76);
}

.article-summary-grid span,
.article-data-card > span {
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 830;
  text-transform: uppercase;
}

.article-summary-grid strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 780;
  line-height: 1.18;
}

.article-summary-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.article-body {
  display: grid;
  gap: 28px;
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

.article-body h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.48rem, 3.2vw, 2.28rem);
  font-weight: 790;
  line-height: 1.1;
  letter-spacing: 0;
}

.article-body h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.22rem;
  font-weight: 760;
  line-height: 1.18;
  letter-spacing: 0;
}

.article-body p,
.article-body li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.68;
}

.article-body p {
  margin-bottom: 14px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body strong {
  color: #252b25;
  font-weight: 680;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 1.25rem;
}

.article-section {
  padding-bottom: 2px;
}

.article-callout,
.article-note {
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 252, 0.8);
  padding: 16px;
}

.article-callout {
  border-color: rgba(90, 156, 109, 0.42);
  background: rgba(238, 247, 238, 0.72);
}

.article-callout p,
.article-note p {
  margin: 0;
}

.article-data-card {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 252, 0.86), rgba(246, 249, 245, 0.72));
}

.article-data-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.article-data-card div {
  display: grid;
  gap: 4px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.article-data-card div:first-child {
  border-top: 0;
  padding-top: 0;
}

.article-data-card div:last-child {
  padding-bottom: 0;
}

.article-data-card dt {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 760;
}

.article-data-card dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.48;
}

.article-checklist {
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.article-checklist li {
  position: relative;
  padding-left: 28px;
}

.article-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 12px;
  height: 12px;
  border: 2px solid var(--green-dark);
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.9);
}

.source-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
}

.source-list a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--green-dark);
  font-weight: 740;
}

.article-related {
  display: grid;
  gap: 12px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.article-related h2 {
  margin-bottom: 0;
  font-size: 1.18rem;
  line-height: 1.2;
}

.article-related-grid {
  display: grid;
  gap: 10px;
}

.article-related-grid a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 252, 0.76);
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
}

.article-related-grid a::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.article-related-grid a:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.recovery-card {
  position: relative;
  border: 1px solid rgba(174, 184, 173, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 252, 0.84);
  overflow: hidden;
  transition: border-color var(--motion-fast), background-color var(--motion-fast), box-shadow var(--motion-fast);
}

.recovery-card[open] {
  border-color: rgba(29, 104, 75, 0.26);
  background:
    radial-gradient(circle at 38px 34px, rgba(90, 156, 109, 0.12), transparent 110px),
    rgba(255, 255, 252, 0.92);
  box-shadow: 0 14px 30px rgba(20, 24, 20, 0.055);
}

.recovery-card-summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
  padding: 14px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.recovery-card-summary::-webkit-details-marker {
  display: none;
}

.recovery-card .recovery-icon {
  align-self: center;
}

.recovery-card .recovery-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.recovery-card .recovery-copy > span {
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 840;
  text-transform: uppercase;
}

.recovery-value {
  grid-column: 2;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.08;
  font-variant-numeric: tabular-nums lining-nums;
}

.recovery-value span,
.recovery-value small {
  display: block;
}

.recovery-value small {
  margin-top: 3px;
  color: currentColor;
  font-size: 0.7em;
  font-weight: 560;
  line-height: 1.12;
}

.recovery-headline {
  grid-column: 2 / 3;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 780;
  line-height: 1.28;
}

.recovery-toggle {
  grid-column: 3;
  grid-row: 1 / span 3;
  justify-self: end;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(29, 104, 75, 0.2);
  border-radius: 999px;
  background: rgba(238, 242, 236, 0.86);
  color: var(--ink-soft);
}

.recovery-toggle::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 160ms ease;
}

.recovery-card[open] .recovery-toggle::before {
  transform: rotate(225deg) translate(-1px, -1px);
}

.recovery-card-body {
  display: grid;
  gap: 12px;
  padding: 10px 14px 18px 74px;
}

.recovery-card-body p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.46;
}

.recovery-steps {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(215, 221, 212, 0.72);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  list-style: none;
}

.recovery-steps li {
  position: relative;
  padding-left: 15px;
}

.recovery-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.54;
}

.recovery-card[data-kind="energy"] .recovery-icon,
.recovery-card[data-kind="energy"] .recovery-copy > span,
.recovery-card[data-kind="energy"] .recovery-value {
  color: var(--green-dark);
}

.recovery-card[data-kind="water"] .recovery-icon,
.recovery-card[data-kind="water"] .recovery-copy > span,
.recovery-card[data-kind="water"] .recovery-value {
  color: var(--blue);
}

.recovery-card[data-kind="co2"] .recovery-icon,
.recovery-card[data-kind="co2"] .recovery-copy > span,
.recovery-card[data-kind="co2"] .recovery-value {
  color: var(--amber);
}

.recovery-icon::before {
  content: "";
}

.recovery-card[data-kind="reduce"] .recovery-icon::before {
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 999px;
  box-shadow: inset 0 0 0 5px var(--paper);
  background: currentColor;
}

.recovery-card[data-kind="energy"] .recovery-icon::before {
  width: 24px;
  height: 17px;
  border: 2px solid currentColor;
  transform: skewX(-10deg);
}

.recovery-card[data-kind="energy"] .recovery-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.recovery-card[data-kind="water"] .recovery-icon::before {
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 55% 55% 60% 60%;
  transform: rotate(45deg) scale(0.76);
}

.recovery-card[data-kind="co2"] .recovery-icon::before {
  width: 22px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 45% 45%;
}

.recovery-card[data-kind="co2"] .recovery-icon::after {
  content: "";
  position: absolute;
  bottom: 10px;
  width: 2px;
  height: 13px;
  background: currentColor;
}

.recovery-icon::before,
.recovery-icon::after {
  content: none !important;
}

.recovery-icon svg {
  width: 25px;
  height: 25px;
}

.recovery-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.recovery-note-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 760;
}

.recovery-note-text {
  min-width: 0;
}

.recovery-note a {
  white-space: nowrap;
}

.closing-panel {
  margin-top: 22px;
  padding: 0 22px 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.55)),
    var(--paper);
  box-shadow: var(--sheet-shadow);
}

.numbered-section {
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.numbered-section:first-child {
  border-top: 0;
}

.final-share-section {
  padding-bottom: 34px;
}

.numbered-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  margin: 0;
}

.section-index {
  color: var(--green-dark);
  font-size: 1.2rem;
  font-weight: 820;
  font-variant-numeric: tabular-nums lining-nums;
}

.numbered-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.48rem;
  font-weight: 780;
  line-height: 1.12;
}

.method-details {
  min-width: 0;
}

.method-details summary {
  cursor: pointer;
  list-style: none;
}

.method-details summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker {
  display: none;
}

.method-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  color: var(--ink-soft);
  padding: 0;
  font-size: 1rem;
  font-weight: 560;
  white-space: nowrap;
}

.method-action svg,
.faq-list summary::after {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.method-action svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.method-details[open] .method-action svg {
  transform: rotate(180deg);
}

.method-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 14px;
  padding: 16px 0 22px;
  border-top: 1px solid var(--line);
}

.method-strip article {
  display: grid;
  gap: 7px;
}

.method-strip span,
.share-card-metrics span,
.share-card-context > span,
.share-card-preview footer span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 820;
  text-transform: uppercase;
}

.method-strip strong {
  color: var(--ink-soft);
  max-width: 760px;
  font-size: 1rem;
  font-weight: 520;
  line-height: 1.42;
}

.method-copy {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 248, 244, 0.62));
}

.method-details[open] .method-copy,
.faq-list details[open] p {
  animation: detail-reveal 180ms ease;
}

@keyframes detail-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.method-copy p,
.faq-list p,
.final-share-copy p {
  color: var(--muted);
  font-size: 0.94rem;
}

.method-copy p {
  margin-bottom: 0;
}

.source-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  margin: 4px 0 0;
  padding-left: 1.1rem;
  overflow: auto;
}

.source-list li::marker {
  color: var(--green-dark);
}

.faq-list {
  display: grid;
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  cursor: pointer;
  color: var(--ink);
  font-weight: 760;
}

.faq-list summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
}

.faq-list p {
  margin: 0 0 16px;
  max-width: 820px;
}

.final-share-layout {
  display: grid;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 26px;
}

.final-share-copy {
  display: contents;
}

.final-share-copy p {
  order: 1;
  max-width: 360px;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.share-actions {
  order: 3;
  display: grid;
  gap: 16px;
  align-content: start;
}

.share-actions .dark-action,
.share-actions .link-action {
  min-width: 214px;
}

.embed-layout {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.embed-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.embed-copy p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.embed-notes {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.embed-notes li::marker {
  color: var(--green-dark);
}

.embed-code-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 252, 0.72);
  padding: 14px;
}

.embed-code-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.embed-code-header > span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 820;
  text-transform: uppercase;
}

.embed-copy-button {
  min-height: 44px;
  padding-inline: 14px;
}

.embed-code-output {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  padding: 13px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.48;
}

.dark-action,
.link-action {
  order: 3;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #2d332e;
  border-radius: var(--radius);
  background: var(--coal);
  color: #fffdf4;
  padding: 0 18px;
  font-weight: 780;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(20, 24, 20, 0.12);
  transition: background var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast);
}

.dark-action {
  border-color: #2d332e;
  background: var(--coal);
  color: #fffdf4;
}

.link-action {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  box-shadow: none;
}

.dark-action:hover {
  background: #202620;
  box-shadow: 0 14px 28px rgba(20, 24, 20, 0.16);
  transform: translateY(-1px);
}

.link-action:hover {
  background: var(--surface-soft);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.dark-action:disabled,
.link-action:disabled {
  cursor: wait;
  opacity: 0.88;
}

.dark-action.is-busy svg,
.link-action.is-busy svg {
  animation: action-pulse 720ms ease-in-out infinite alternate;
}

.dark-action.is-complete {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.link-action.is-complete {
  border-color: var(--green-dark);
  background: rgba(29, 104, 75, 0.1);
  color: var(--green-dark);
}

.dark-action svg,
.link-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes action-pulse {
  from {
    opacity: 0.58;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(1px);
  }
}

.share-card-frame {
  order: 2;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  border: 9px solid var(--coal);
  border-radius: 13px;
  background: var(--coal);
  box-shadow: 0 18px 36px rgba(20, 24, 20, 0.16);
  transition: box-shadow var(--motion-med), transform var(--motion-med);
}

.share-card-frame:hover {
  box-shadow: 0 24px 46px rgba(20, 24, 20, 0.2);
  transform: translateY(-2px);
}

.share-card-frame.is-refreshing {
  box-shadow: 0 22px 44px rgba(20, 24, 20, 0.2);
}

.share-card-frame.is-refreshing .share-card-preview {
  animation: share-preview-refresh 420ms ease;
}

.share-card-preview {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto auto auto auto auto auto auto;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  padding: 16px 18px 14px;
  overflow: hidden;
  transition: border-color var(--motion-med);
}

@keyframes share-preview-refresh {
  0% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

.share-card-corner {
  display: none;
}

.share-card-frame:hover .share-card-corner {
  border-color: rgba(29, 104, 75, 0.56);
}

.share-card-frame:hover .corner-top-left {
  transform: translate(-2px, -2px);
}

.share-card-frame:hover .corner-top-right {
  transform: translate(2px, -2px);
}

.share-card-frame:hover .corner-bottom-left {
  transform: translate(-2px, 2px);
}

.share-card-frame:hover .corner-bottom-right {
  transform: translate(2px, 2px);
}

.corner-top-left {
  top: 13px;
  left: 13px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.corner-top-right {
  top: 13px;
  right: 13px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.corner-bottom-left {
  bottom: 13px;
  left: 13px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.corner-bottom-right {
  right: 13px;
  bottom: 13px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.share-card-preview header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.share-card-preview header strong {
  font-size: 0.82rem;
  text-transform: uppercase;
}

.share-card-preview header span,
.share-card-preview small {
  color: var(--muted);
  font-size: 0.68rem;
}

.share-card-preview > small {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 1px;
  overflow: hidden;
}

.share-card-preview > small span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-card-hero strong {
  display: block;
  margin-top: 5px;
  margin-bottom: 3px;
  font-size: clamp(1.55rem, 5.2vw, 2.88rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.98;
}

.share-card-hero > span {
  display: block;
  color: var(--muted);
  font-size: clamp(0.64rem, 1.2vw, 0.78rem);
  font-weight: 820;
  text-transform: uppercase;
}

.share-card-summary {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(0.64rem, 1.05vw, 0.76rem);
  line-height: 1.18;
}

.share-card-summary strong {
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(29, 104, 75, 0.24);
  border-radius: 999px;
  background: rgba(90, 156, 109, 0.09);
  color: var(--green-dark);
  padding: 3px 8px;
  font-size: clamp(0.6rem, 1vw, 0.66rem);
  font-weight: 820;
  line-height: 1;
  text-transform: uppercase;
}

.share-card-frame[data-band="medium"] .share-card-summary strong {
  border-color: rgba(61, 138, 183, 0.26);
  background: rgba(61, 138, 183, 0.08);
  color: #276d93;
}

.share-card-frame[data-band="elevated"] .share-card-summary strong {
  border-color: rgba(203, 135, 43, 0.3);
  background: rgba(203, 135, 43, 0.1);
  color: #8a581a;
}

.share-card-frame[data-band="high"] .share-card-summary strong {
  border-color: rgba(199, 96, 75, 0.3);
  background: rgba(199, 96, 75, 0.1);
  color: #9d3f30;
}

.share-card-meter {
  position: relative;
  height: 9px;
  border-radius: 999px;
  background: #e5e9e1;
  overflow: hidden;
}

.share-card-meter span {
  --meter: 51%;
  position: relative;
  display: block;
  width: var(--meter);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 58%, var(--amber) 78%, var(--danger) 100%);
  transition: width var(--motion-med), filter var(--motion-med);
  z-index: 2;
}

.share-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.share-card-metrics article {
  display: grid;
  gap: 2px;
  padding: 6px 7px;
  border-right: 1px solid var(--line);
}

.share-card-metrics article:last-child {
  border-right: 0;
}

.share-card-metrics strong {
  color: var(--green-dark);
  font-size: clamp(0.78rem, 1.46vw, 1.02rem);
  font-weight: 820;
  line-height: 1.05;
}

.share-card-metrics article:nth-child(2) strong {
  color: var(--blue);
}

.share-card-metrics article:nth-child(3) strong {
  color: var(--amber);
}

.share-card-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.86fr);
  gap: 8px;
}

.share-card-context,
.share-card-preview footer {
  min-width: 0;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.42);
  padding: 8px;
  overflow: hidden;
}

.share-card-context {
  gap: 5px;
}

.share-context-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(34px, 0.36fr) minmax(0, 1.32fr);
  gap: 7px;
  align-items: start;
  padding-top: 5px;
  border-top: 1px solid rgba(215, 221, 212, 0.84);
}

.share-context-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.share-context-row:nth-of-type(2) {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.72fr);
}

.share-context-row:nth-of-type(2) b,
.share-context-row:nth-of-type(2) em {
  grid-column: 2;
}

.share-context-row strong,
.share-context-row b {
  min-width: 0;
  color: var(--ink);
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  font-weight: 760;
  line-height: 1.14;
}

.share-context-row b {
  font-size: clamp(0.66rem, 1.18vw, 0.95rem);
  font-weight: 790;
}

.share-context-row em,
.share-card-preview footer em {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-style: normal;
  line-height: 1.16;
}

.share-card-preview footer {
  align-content: start;
  gap: 3px;
  margin: 0;
  background: rgba(238, 244, 238, 0.7);
}

.share-card-preview footer strong {
  min-width: 0;
  color: var(--ink);
  font-size: clamp(0.72rem, 1.28vw, 0.98rem);
  font-weight: 790;
  line-height: 1.12;
}

.share-card-preview footer em {
  display: block;
  -webkit-line-clamp: unset;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 650;
}

@media (max-width: 859px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 12;
    border-bottom: 1px solid var(--line);
    border-radius: 12px;
  }

  .mobile-result-strip {
    position: sticky;
    top: 82px;
    z-index: 7;
  }

  .mobile-result-strip.is-updating {
    transform: translateY(-1px);
  }

  .result-panel {
    margin-top: 4px;
  }
}

@media (max-width: 430px) {
  .section-shell,
  .site-header {
    width: min(100% - 20px, var(--max));
  }

  .site-header {
    margin-top: 12px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .calculator-shell {
    padding: 10px;
  }

  .segmented label {
    font-size: 0.77rem;
  }

  .usage-row {
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 8px;
  }

  .usage-row > div:first-child {
    padding-left: 34px;
  }

  .usage-row label {
    font-size: 0.86rem;
  }

  .usage-row small {
    font-size: 0.74rem;
  }

  .stepper {
    grid-template-columns: 44px minmax(44px, 1fr) 44px;
  }

  .result-panel,
  .comparison-panel,
  .impact-summary,
  .recovery-section,
  .closing-panel {
    padding: 16px;
  }

  .closing-panel {
    overflow: hidden;
  }

  .numbered-section {
    padding-top: 20px;
  }

  .numbered-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 9px;
  }

  .section-index {
    font-size: 1rem;
  }

  .numbered-header h2 {
    font-size: 1.03rem;
  }

  .method-action {
    font-size: 0.92rem;
  }

  .method-strip {
    padding: 12px 0 18px;
  }

  .faq-list summary {
    min-height: 52px;
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .final-share-copy p {
    max-width: 270px;
  }

  .share-actions {
    gap: 14px;
  }

  .dark-action,
  .link-action {
    width: 100%;
    padding-inline: 12px;
    white-space: normal;
  }

  .share-card-frame {
    border-width: 8px;
  }

  .share-card-preview {
    align-content: center;
    gap: 8px;
    padding: 10px 11px;
  }

  .share-card-preview header strong {
    font-size: 0.68rem;
  }

  .share-card-preview header span {
    font-size: 0.62rem;
  }

  .share-card-hero strong {
    font-size: 1.56rem;
  }

  .share-card-hero > span {
    font-size: 0.62rem;
  }

  .share-card-summary {
    gap: 4px;
    font-size: 0.68rem;
    line-height: 1.18;
  }

  .share-card-summary strong {
    padding: 3px 7px;
    font-size: 0.62rem;
  }

  .share-card-meter {
    height: 6px;
  }

  .share-card-metrics article {
    gap: 1px;
    padding: 4px;
  }

  .share-card-metrics span,
  .share-card-context > span,
  .share-card-preview footer span {
    font-size: 0.62rem;
  }

  .share-card-metrics strong,
  .share-context-row strong,
  .share-context-row b,
  .share-card-preview footer strong {
    font-size: 0.76rem;
  }

  .share-card-bottom {
    display: none;
  }

  .share-card-context,
  .share-card-preview footer {
    padding: 4px;
  }

  .share-context-row {
    gap: 4px;
    padding-top: 3px;
  }

  .share-card-preview footer {
    gap: 1px;
  }

  .share-card-preview > small {
    display: none;
  }

  .share-context-row em,
  .share-card-preview footer em {
    font-size: 0.62rem;
    line-height: 1.05;
  }
}

@media (min-width: 680px) {
  .guide-link-grid,
  .article-related-grid,
  .article-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .projection-card {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 22px 22px 22px 0;
  }

  .projection-card + .projection-card {
    padding-left: 22px;
  }

  .projection-card:last-child {
    border-right: 0;
  }
}

@media (min-width: 760px) and (max-width: 859px) {
  .section-shell,
  .site-header {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    min-height: 68px;
  }

  .calculator-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    align-items: start;
    gap: 24px;
    padding: 16px;
  }

  .calculator-column {
    min-width: 0;
    display: grid;
    align-content: start;
  }

  .calculator-result-column {
    gap: 0;
  }

  .mobile-result-strip {
    display: none;
  }

  .result-panel {
    position: relative;
    top: auto;
    margin-top: 0;
    padding: 18px;
  }

  .result-comparison {
    display: block;
  }

  .comparison-panel {
    display: none;
  }

  .final-share-layout {
    grid-template-columns: minmax(220px, 360px) minmax(0, 360px);
    align-items: start;
    justify-content: start;
    gap: clamp(48px, 8vw, 82px);
    padding-top: 22px;
    padding-bottom: 48px;
  }

  .final-share-copy {
    display: grid;
    gap: 14px;
    align-content: start;
  }

  .final-share-copy p,
  .share-actions,
  .dark-action,
  .link-action,
  .share-card-frame {
    order: initial;
  }

  .dark-action,
  .link-action {
    width: max-content;
    min-width: 178px;
  }

  .share-card-frame {
    justify-self: start;
    max-width: 360px;
  }

  .embed-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
    align-items: start;
    gap: 24px;
  }

  .metric strong {
    font-size: 1.62rem;
  }

  .result-projections article {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  }
}

@media (min-width: 860px) {
  .section-shell,
  .site-header {
    width: min(100% - 56px, var(--max));
  }

  .site-header {
    min-height: 70px;
  }

  .calculator-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.72fr);
    align-items: start;
    gap: 36px;
    padding: 18px 22px 22px;
  }

  .calculator-column {
    min-width: 0;
    display: grid;
    align-content: start;
  }

  .calculator-result-column {
    gap: 0;
  }

  .mobile-result-strip {
    display: none;
  }

  .result-panel {
    padding: 20px;
  }

  .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric {
    display: block;
    border-bottom: 0;
    border-right: 1px solid var(--coal-line);
    padding: 17px 14px;
  }

  .metric:last-child {
    border-right: 0;
  }

  .metric::before {
    display: none;
  }

  .metric strong {
    margin-top: 10px;
    font-size: 2rem;
  }

  .result-projections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .result-projections h3 {
    grid-column: 1 / -1;
  }

  .result-projections article {
    display: block;
    padding: 12px 16px 10px 0;
    border-top: 1px solid var(--coal-line);
    border-right: 1px solid var(--coal-line);
  }

  .result-projections article + article {
    padding-left: 16px;
    border-right: 0;
  }

  .result-projections small {
    display: block;
    margin-top: 4px;
  }

  .result-comparison {
    display: block;
  }

  .comparison-panel {
    display: none;
  }

  .impact-summary,
  .recovery-section {
    padding: 28px 30px;
  }

  .impact-summary,
  .recovery-section,
  .closing-panel {
    box-shadow: var(--sheet-shadow);
  }

  .impact-summary {
    margin-top: 20px;
  }

  .recovery-section,
  .seo-guide,
  .closing-panel {
    margin-top: 24px;
  }

  .summary-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    padding-bottom: 22px;
  }

  .impact-summary h2 {
    font-size: 2rem;
  }

  .recovery-heading h2 {
    font-size: 2rem;
  }

  .seo-guide {
    padding: 46px 0;
  }


  .guide-link-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .guide-link-card {
    min-height: 170px;
  }

  .article-main {
    width: min(100% - 56px, 1120px);
  }

  .article-shell {
    gap: 32px;
    padding-top: 34px;
  }

  .article-hero {
    gap: 20px;
    padding-bottom: 34px;
  }

  .seo-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seo-guide-grid article {
    min-height: 218px;
    padding: 22px 22px 22px 24px;
  }

  .recovery-card-summary {
    grid-template-columns: 56px minmax(150px, 0.26fr) minmax(170px, 0.25fr) minmax(0, 1fr) 38px;
    gap: 18px;
    min-height: 86px;
    padding: 16px 18px;
  }

  .recovery-icon {
    width: 54px;
    height: 54px;
  }

  .recovery-value,
  .recovery-headline,
  .recovery-toggle {
    grid-column: auto;
    grid-row: auto;
  }

  .recovery-value {
    font-size: 1.36rem;
  }

  .recovery-card-body {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: 22px;
    padding: 14px 18px 20px 92px;
  }

  .recovery-steps {
    padding-top: 0;
    border-top: 0;
    font-size: 0.88rem;
  }

  .closing-panel {
    padding: 0 30px 30px;
  }

  .numbered-section {
    padding-top: 28px;
  }

  .numbered-header {
    gap: 16px;
    min-height: 54px;
  }

  .section-index {
    font-size: 1.32rem;
  }

  .numbered-header h2 {
    font-size: 1.62rem;
  }

  .method-strip {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 0 26px;
  }

  .method-strip article {
    grid-column: 1;
    padding-left: 58px;
    padding-right: 58px;
  }

  .method-copy {
    padding: 20px 22px;
  }

  .final-share-layout {
    grid-template-columns: minmax(260px, 360px) minmax(320px, var(--share-preview-width));
    align-items: start;
    justify-content: start;
    gap: var(--gap-section-pair);
    padding-top: 22px;
    padding-bottom: 54px;
  }

  .final-share-copy {
    display: grid;
    gap: 16px;
    align-content: start;
  }

  .final-share-copy p,
  .share-actions,
  .dark-action,
  .link-action,
  .share-card-frame {
    order: initial;
  }

  .dark-action,
  .link-action {
    width: max-content;
    min-width: 178px;
  }

  .share-card-frame {
    justify-self: start;
    max-width: var(--share-preview-width);
  }

  .embed-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(380px, 1fr);
    align-items: start;
    gap: 40px;
  }

  .share-card-preview {
    padding: 20px 24px;
  }

  .share-card-hero strong {
    font-size: 2.65rem;
  }

  .share-card-bottom {
    gap: 10px;
  }

  .share-card-context,
  .share-card-preview footer {
    padding: 10px;
  }
}

@media (min-width: 1120px) {
  .calculator-shell {
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.72fr);
  }

  .metric strong {
    font-size: 2.18rem;
  }
}

@media (min-width: 1220px) {
  .article-toc {
    position: fixed;
    top: 242px;
    left: max(10px, calc((100vw - 1120px) / 2 - 118px));
    z-index: 20;
    width: 36px;
    max-height: min(72dvh, 520px);
    overflow: hidden;
    display: grid;
    gap: 0;
    padding: 11px 9px;
    border: 1px solid rgba(215, 221, 212, 0.82);
    border-radius: 12px;
    background: rgba(255, 255, 252, 0.88);
    box-shadow: 0 10px 24px rgba(20, 24, 20, 0.06);
    backdrop-filter: blur(10px);
    transition:
      width var(--motion-med),
      padding var(--motion-med),
      box-shadow var(--motion-med),
      background-color var(--motion-med);
  }

  .article-toc:hover,
  .article-toc:focus-within {
    width: min(340px, calc(100vw - 48px));
    overflow: auto;
    padding: 22px 20px;
    background: rgba(255, 255, 252, 0.96);
    box-shadow: 0 20px 46px rgba(20, 24, 20, 0.13);
  }

  .article-toc span {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity var(--motion-fast);
  }

  .article-toc:hover span,
  .article-toc:focus-within span {
    height: auto;
    margin-bottom: 14px;
    opacity: 1;
  }

  .article-toc nav {
    gap: 8px;
    max-width: none;
  }

  .article-toc a {
    width: 16px;
    min-height: 12px;
    height: 12px;
    overflow: hidden;
    display: block;
    padding: 0;
    border-bottom: 2px solid rgba(104, 112, 104, 0.56);
    color: transparent;
    font-size: 0;
    text-decoration: none;
    white-space: nowrap;
    transition:
      width var(--motion-med),
      min-height var(--motion-med),
      border-color var(--motion-fast),
      color var(--motion-fast),
      font-size var(--motion-fast);
  }

  .article-toc:hover a,
  .article-toc:focus-within a {
    width: 100%;
    min-height: 40px;
    height: auto;
    display: flex;
    align-items: center;
    border-bottom: 0;
    color: var(--muted);
    font-size: 0.98rem;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
  }

  .article-toc:hover a:hover,
  .article-toc:focus-within a:hover,
  .article-toc a:focus-visible {
    color: var(--green-dark);
  }
}

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