:root {
  --paper: #f3f0e7;
  --paper-deep: #e9e5d9;
  --ink: #151713;
  --muted: #66695f;
  --line: #cbc8bb;
  --acid: #d8ff3e;
  --acid-soft: #e8ff8c;
  --coral: #ff6b4a;
  --lavender: #b9adff;
  --blue: #93c6ff;
  --white: #fffefa;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(22, 23, 19, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #fff;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-150%); background: var(--ink); color: white; padding: 10px 14px; border-radius: 7px; }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 86px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 14px; line-height: .95; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: flex; align-items: flex-end; gap: 3px; padding: 7px; background: var(--ink); border-radius: 50%; }
.brand-mark span { flex: 1; background: var(--acid); border-radius: 3px 3px 1px 1px; }
.brand-mark span:nth-child(1) { height: 46%; }
.brand-mark span:nth-child(2) { height: 100%; }
.brand-mark span:nth-child(3) { height: 70%; }
.site-nav { justify-self: center; display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.site-nav a { font-size: 13px; font-weight: 700; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-cta { display: inline-flex; gap: 18px; align-items: center; padding: 11px 14px 11px 18px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 800; text-decoration: none; transition: .2s ease; }
.header-cta:hover { background: var(--ink); color: var(--acid); }
.menu-toggle { display: none; }
.menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.hero { min-height: 670px; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 7vw, 110px); align-items: center; padding-block: 72px 92px; }
.eyebrow { margin: 0 0 24px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { display: inline-block; padding: 6px 9px; margin-right: 5px; background: var(--acid); border-radius: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 26px; font-size: clamp(56px, 7.2vw, 104px); line-height: .89; letter-spacing: -.075em; }
h1 em { color: var(--coral); font-style: normal; }
.hero-lede { max-width: 600px; margin-bottom: 30px; color: #484b43; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-bottom: 36px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 52px; padding: 14px 18px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(0,0,0,.12); }
.button-primary { background: var(--acid); color: var(--ink); border-color: var(--ink); }
.button-dark { background: var(--ink); color: var(--white); }
.button-block { width: 100%; }
.result-actions { display: grid; gap: 9px; }
.passport-button { min-height: 42px; padding: 9px 13px; border: 1px solid var(--ink); border-radius: 6px; background: transparent; color: var(--ink); font-size: 11px; font-weight: 800; cursor: pointer; }
.passport-button:hover { background: rgba(255,255,255,.42); }
.text-link { font-size: 14px; font-weight: 800; text-underline-offset: 5px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 12px; font-weight: 600; }
.trust-list span { color: var(--ink); font-weight: 800; }

.hero-visual { position: relative; max-width: 520px; width: 100%; justify-self: end; padding: 22px 10px 24px; }
.hero-visual::before { content: ""; position: absolute; inset: 3% 3% 7% 6%; z-index: -1; background: var(--lavender); border-radius: 50% 43% 48% 47%; transform: rotate(-6deg); }
.meter-card { position: relative; width: min(420px, 88%); margin-inline: auto; padding: 22px; background: var(--white); border: 1px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); transform: rotate(2deg); }
.meter-topline { display: flex; justify-content: space-between; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: #5bc756; border-radius: 50%; }
.dial-wrap { position: relative; height: 190px; padding-top: 25px; }
.dial { width: 100%; overflow: visible; }
.dial-track, .dial-progress { fill: none; stroke-width: 25; stroke-linecap: round; }
.dial-track { stroke: #e2ded4; }
.dial-progress { stroke: var(--coral); stroke-dasharray: 74 100; }
.dial-value { position: absolute; inset: 89px 0 auto; text-align: center; }
.dial-value strong { display: block; font-size: 35px; letter-spacing: -.06em; }
.dial-value span { color: var(--muted); font-size: 11px; }
.meter-legend { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.meter-legend > div { position: relative; padding: 17px 8px 0 18px; }
.meter-legend > div + div { border-left: 1px solid var(--line); }
.legend-mark { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 2px; }
.legend-mark.active { background: var(--coral); }
.legend-mark.standby { background: var(--lavender); }
.meter-legend strong { display: block; margin-top: 3px; font-size: 22px; }
.meter-legend small { color: var(--muted); }
.hero-sticker { position: absolute; padding: 13px 16px; border: 1px solid var(--ink); border-radius: 8px; background: var(--acid); box-shadow: 4px 4px 0 var(--ink); font-family: "DM Mono", monospace; font-size: 10px; line-height: 1.4; text-transform: uppercase; transform: rotate(-6deg); }
.hero-sticker strong { font-size: 12px; }
.sticker-one { top: 28px; right: 0; }
.sticker-two { bottom: 7px; left: 0; background: var(--blue); transform: rotate(5deg); }

.proof-strip { overflow: hidden; border-block: 1px solid var(--ink); background: var(--ink); color: var(--paper); }
.proof-track { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 45px); min-width: max-content; padding: 13px 24px; font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .1em; }
.proof-track i { color: var(--acid); font-style: normal; }

.calculator-section, .directory-section, .method-section { padding-block: 110px; }
.section-heading { margin-bottom: 46px; }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: end; }
.section-heading h2 { max-width: 740px; margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: .98; letter-spacing: -.06em; }
.section-heading > p, .split-heading > p { max-width: 520px; margin: 0 0 5px auto; color: var(--muted); font-size: 16px; line-height: 1.7; }

.lab-panel { overflow: hidden; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: 9px 9px 0 var(--ink); }
.tool-tabs { display: flex; background: var(--paper-deep); border-bottom: 1px solid var(--ink); }
.tool-tab { min-height: 52px; padding: 0 24px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 13px; font-weight: 800; cursor: pointer; }
.tool-tab.is-active { background: var(--ink); color: var(--acid); }
.calculator-grid { display: grid; grid-template-columns: 1.35fr .65fr; }
.calculator-form { padding: 36px 40px 42px; }
.form-intro { display: flex; gap: 13px; align-items: center; margin-bottom: 30px; }
.step-number { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--ink); border-radius: 50%; font-family: "DM Mono", monospace; font-size: 12px; }
.form-intro strong, .form-intro small { display: block; }
.form-intro strong { font-size: 14px; }
.form-intro small { color: var(--muted); font-size: 11px; }
.field-row { display: grid; gap: 14px; margin-bottom: 15px; }
.two-col { grid-template-columns: 1.2fr .8fr; }
.three-col { grid-template-columns: repeat(3, 1fr); }
.four-col { grid-template-columns: repeat(4, 1fr); }
.field > span { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 11px; font-weight: 800; }
.field > span small { color: var(--muted); font-weight: 600; }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fbfaf5; color: var(--ink); outline: none; }
.field input:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--acid-soft); }
.field input[aria-invalid="true"] { border-color: #a11f1f; box-shadow: 0 0 0 2px rgba(161,31,31,.12); }
.field-error { display: block; margin-top: 5px; color: #8c1717; font-size: 10px; line-height: 1.35; }
.measurement-note { margin: -4px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.confirmation-row { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 16px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; line-height: 1.45; }
.confirmation-row input { margin-top: 2px; flex: 0 0 auto; }
.policy-message { border-left: 3px solid var(--coral); padding-left: 10px; }
.audit-saving-note { margin: 10px 0 0; font-size: 11px; line-height: 1.45; color: rgba(255,255,255,.7); }
.rate-note { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: var(--muted); font-size: 11px; }
.rate-note span { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid var(--muted); border-radius: 50%; font-family: serif; }
.result-panel { padding: 35px; border-left: 1px solid var(--ink); background: var(--acid); }
.result-label { display: flex; align-items: center; justify-content: space-between; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.info-button { width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: help; }
.confidence-explanation { margin-top: 12px; padding: 13px; border: 1px solid var(--ink); border-radius: 7px; background: var(--white); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 10px; line-height: 1.55; letter-spacing: 0; text-transform: none; }
.confidence-explanation p { margin: 6px 0 0; }
.invalid-result { margin: 15px 0; padding: 12px; border: 1px solid #8c1717; border-radius: 6px; background: #fff4f1; color: #751515; font-size: 11px; font-weight: 800; }
.result-is-invalid { opacity: .35; }
.button:disabled, .passport-button:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }
.result-total { margin: 22px 0 4px; }
.result-total span { display: block; font-size: clamp(43px, 5vw, 67px); font-weight: 800; line-height: .9; letter-spacing: -.07em; }
.result-total small { color: #4e571f; font-size: 12px; }
.result-range { margin-top: 12px; padding-bottom: 22px; border-bottom: 1px solid rgba(21,23,19,.25); font-size: 11px; font-weight: 700; }
.assumption-summary { margin: 12px 0 0; color: #535b2d; font-size: 9px; line-height: 1.5; }
.calculation-note { margin: 10px 0 0; padding: 9px 10px; border: 1px solid rgba(21,23,19,.3); border-radius: 5px; background: rgba(255,255,255,.35); color: var(--ink); font-size: 10px; line-height: 1.45; }
.cost-bars { margin: 25px 0; }
.bar-row { margin-bottom: 16px; }
.bar-row > div:first-child { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 12px; }
.bar-track { height: 7px; overflow: hidden; background: rgba(21,23,19,.15); border-radius: 9px; }
.bar-fill { display: block; height: 100%; min-width: 2px; border-radius: 9px; transition: width .35s ease; }
.active-bar { background: var(--coral); }
.standby-bar { background: var(--lavender); }
.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(21,23,19,.25); }
.result-stats > div { padding: 16px 8px 16px 0; }
.result-stats > div + div { padding-left: 12px; border-left: 1px solid rgba(21,23,19,.25); }
.result-stats span, .result-stats small { display: block; }
.result-stats span { font-size: 17px; font-weight: 800; }
.result-stats small { margin-top: 2px; color: #535b2d; font-size: 9px; text-transform: uppercase; }
.confidence-row { display: flex; align-items: center; gap: 10px; margin: 20px 0; }
.confidence-dot { width: 10px; height: 10px; background: #4aa948; border: 2px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 1px #4aa948; }
.confidence-row strong, .confidence-row small { display: block; }
.confidence-row strong { font-size: 11px; }
.confidence-row small { color: #535b2d; font-size: 9px; }
.payback-result { margin: 18px 0; padding: 14px; border: 1px solid rgba(21,23,19,.35); border-radius: 7px; background: rgba(255,255,255,.35); }
.payback-result > div { display: flex; justify-content: space-between; font-size: 11px; }
.payback-result p { margin: 8px 0 0; font-size: 11px; font-weight: 800; }

.comparison-panel { padding: 36px 40px 42px; }
.comparison-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.comparison-intro h3 { margin: 0; font-size: clamp(30px, 4vw, 50px); letter-spacing: -.05em; }
.comparison-intro > p { margin: 0; color: var(--muted); line-height: 1.6; }
.comparison-common { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px; border: 1px solid var(--ink); border-radius: 9px; background: var(--paper-deep); }
.comparison-editors, .comparison-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.comparison-scenario { min-width: 0; margin: 0; padding: 22px; border: 1px solid var(--ink); border-radius: 10px; }
.comparison-scenario legend { padding: 0 8px; font-size: 15px; font-weight: 900; }
.comparison-scenario > .field { display: block; margin-bottom: 15px; }
.comparison-scenario .preset-provenance { min-height: 0; margin: 16px 0 8px; }
.comparison-error { margin-bottom: 0; }
.comparison-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.comparison-results article { padding: 24px; border: 1px solid var(--ink); border-radius: 9px; background: var(--acid-soft); }
.comparison-results span, .comparison-results strong, .comparison-results small { display: block; }
.comparison-results span { font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }
.comparison-results strong { margin: 8px 0; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.05em; }
.comparison-results small { font-weight: 800; }
.comparison-results p { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.comparison-conclusion { margin-top: 18px; padding: 22px; border: 1px solid var(--ink); border-radius: 9px; background: var(--paper); }
.comparison-conclusion > strong { font-size: 18px; }
.comparison-conclusion p { margin: 8px 0 0; font-size: 12px; line-height: 1.55; }

.audit-section { padding-block: 110px; background: var(--ink); color: var(--white); }
.light-heading .eyebrow { color: var(--acid); }
.light-heading > p { color: #a8aaa2; }
.audit-dashboard { display: grid; grid-template-columns: .7fr 1.3fr; min-height: 490px; border: 1px solid #56584f; border-radius: var(--radius); overflow: hidden; }
.audit-summary { padding: 35px; background: #20231e; }
.summary-kicker { margin-bottom: 5px; color: #a8aaa2; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.audit-summary > strong { display: block; color: var(--acid); font-size: clamp(46px, 5vw, 66px); line-height: 1; letter-spacing: -.06em; }
.audit-summary > span { color: #a8aaa2; font-size: 12px; }
.audit-chart-wrap { display: flex; gap: 28px; align-items: center; margin: 40px 0; }
.donut { display: grid; flex: 0 0 auto; place-content: center; width: 145px; height: 145px; background: conic-gradient(var(--coral) 0 0%, var(--lavender) 0 0%, #383b34 0); border-radius: 50%; position: relative; text-align: center; }
.donut::before { content: ""; position: absolute; inset: 18px; background: #20231e; border-radius: 50%; }
.donut span, .donut small { position: relative; z-index: 1; display: block; }
.donut span { font-size: 30px; font-weight: 800; }
.donut small { color: #9ea096; font-size: 10px; }
.donut-legend p { margin-bottom: 10px; color: #aeb0a7; font-size: 11px; }
.donut-legend strong { display: block; margin-left: 18px; color: white; font-size: 16px; }
.saving-callout { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px; border: 1px solid #56584f; border-radius: 7px; }
.saving-callout span { color: #aeb0a7; font-size: 11px; }
.saving-callout strong { color: var(--acid); font-size: 14px; }
.audit-list-panel { padding: 34px; background: #181a17; }
.audit-list-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid #3b3e37; }
.audit-list-head span, .audit-list-head strong { display: block; }
.audit-list-head span { color: #a8aaa2; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }
.audit-list-head strong { font-size: 19px; }
.small-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 9px 12px; border: 1px solid #56584f; border-radius: 5px; background: transparent; color: #d2d4cd; font-size: 10px; cursor: pointer; }
.small-button:hover { border-color: var(--acid); color: var(--acid); }
.audit-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.import-button { display: inline-flex; align-items: center; cursor: pointer; }
.audit-empty { display: grid; min-height: 340px; place-content: center; max-width: 460px; margin: auto; text-align: center; }
.empty-icon { color: var(--acid); font-size: 56px; line-height: 1; }
.audit-empty h3 { margin: 12px 0 8px; font-size: 24px; }
.audit-empty p { color: #9fa198; font-size: 13px; line-height: 1.7; }
.light-link { color: var(--acid); }
.audit-items { padding-top: 8px; }
.audit-item { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #33362f; }
.audit-item-icon { display: grid; place-items: center; width: 38px; height: 38px; background: #292c26; border-radius: 7px; color: var(--acid); font-size: 16px; }
.audit-item strong, .audit-item small { display: block; }
.audit-item strong { font-size: 12px; }
.audit-item small { color: #878a81; font-size: 9px; }
.audit-item-cost { text-align: right; }
.remove-item { border: 0; background: transparent; color: #8c8e86; cursor: pointer; font-size: 18px; }
.remove-item:hover { color: var(--coral); }
.action-plan { margin-top: 20px; padding: 30px 34px; border: 1px solid #56584f; border-radius: var(--radius); background: #20231e; }
.action-plan-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid #3b3e37; }
.action-plan-heading span:first-child { color: var(--acid); font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.action-plan-heading h3 { margin: 7px 0 0; font-size: 21px; }
.plan-score { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #56584f; border-radius: 999px; color: #b6b8af; font-size: 10px; }
.recommendation-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.recommendation-placeholder { grid-column: 1 / -1; margin: 24px 0 0; color: #9fa198; font-size: 12px; }
.recommendation { position: relative; padding: 24px 25px 4px 0; }
.recommendation + .recommendation { padding-left: 25px; border-left: 1px solid #3b3e37; }
.recommendation > span { display: grid; place-items: center; width: 27px; height: 27px; margin-bottom: 19px; border: 1px solid #62655c; border-radius: 50%; color: var(--acid); font-family: "DM Mono", monospace; font-size: 9px; }
.recommendation h4 { margin: 0 0 8px; font-size: 13px; }
.recommendation p { margin: 0; color: #969990; font-size: 11px; line-height: 1.65; }
.recommendation strong { color: var(--white); }

.audit-mode-tabs { display: inline-grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); margin-bottom: 20px; border: 1px solid #56584f; border-radius: 8px; overflow: hidden; }
.audit-mode-tab { min-height: 44px; padding: 10px 18px; border: 0; background: #20231e; color: #aeb0a7; cursor: pointer; font-size: 11px; font-weight: 800; }
.audit-mode-tab + .audit-mode-tab { border-left: 1px solid #56584f; }
.audit-mode-tab.is-active { background: var(--acid); color: var(--ink); }
.inventory-panel { display: grid; gap: 20px; }
.inventory-toolbar, .inventory-table-heading, .inventory-result-heading, .inventory-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.inventory-toolbar { padding: 25px; border: 1px solid #56584f; border-radius: var(--radius); background: #20231e; }
.inventory-toolbar h3, .inventory-result-heading h3, .inventory-editor-heading h3 { margin: 4px 0 6px; }
.inventory-toolbar p:not(.summary-kicker) { max-width: 660px; color: #a8aaa2; font-size: 12px; line-height: 1.6; }
.inventory-common-grid, .inventory-field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.inventory-common-grid { padding: 20px; border: 1px solid #56584f; border-radius: var(--radius); background: #181a17; }
.inventory-panel label { display: grid; gap: 7px; color: #d8dad3; font-size: 11px; font-weight: 700; }
.inventory-panel label small { color: #8f9289; font-size: 9px; font-weight: 400; }
.inventory-panel input, .inventory-panel select, .inventory-panel textarea { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #62655c; border-radius: 5px; background: #f7f5ee; color: var(--ink); font: inherit; }
.inventory-panel input[aria-invalid="true"] { border-color: var(--coral); outline: 2px solid rgba(238,111,83,.2); }
.inventory-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 20px; align-items: start; }
.inventory-editor, .inventory-results, .inventory-table-section, .inventory-breakdowns > section, .inventory-bill-section { min-width: 0; padding: 24px; border: 1px solid #56584f; border-radius: var(--radius); background: #20231e; }
.inventory-editor-heading, .inventory-result-heading { padding-bottom: 18px; border-bottom: 1px solid #3b3e37; }
.inventory-editor-heading span, .inventory-result-heading span, .inventory-table-heading span, .inventory-bill-section > div:first-child > span { color: var(--acid); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.inventory-editor-heading > span, .inventory-result-heading > span { color: #a8aaa2; text-transform: none; }
.inventory-basis-fields { margin: 18px 0 0; padding: 17px; border: 1px solid #4a4d46; border-radius: 8px; }
.inventory-basis-fields legend { padding-inline: 7px; color: var(--acid); font-size: 10px; font-weight: 800; }
.inventory-note-field { margin-top: 16px; }
.inventory-policy, .inventory-limitations { margin: 16px 0 0; color: #afb1a9; font-size: 11px; line-height: 1.65; }
.inventory-editor-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.inventory-metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.inventory-metric-grid article { padding: 18px; border: 1px solid #4b4e47; border-radius: 8px; background: #181a17; }
.inventory-metric-grid span, .inventory-metric-grid strong, .inventory-metric-grid small { display: block; }
.inventory-metric-grid span { color: #9fa198; font-size: 9px; text-transform: uppercase; }
.inventory-metric-grid strong { margin: 6px 0; color: var(--acid); font-size: clamp(22px, 3vw, 32px); letter-spacing: -.04em; }
.inventory-metric-grid small, #inventory-provenance-summary { color: #b9bbb3; font-size: 10px; line-height: 1.55; }
#inventory-provenance-summary { margin-top: 16px; }
.inventory-table-heading { align-items: end; margin-bottom: 15px; }
.inventory-table-heading label { width: min(260px, 100%); }
.inventory-panel .table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid #4a4d46; border-radius: 7px; }
.inventory-panel table { width: 100%; min-width: 650px; border-collapse: collapse; background: #181a17; color: #d8dad3; font-size: 10px; }
.inventory-panel th, .inventory-panel td { padding: 11px 12px; border-bottom: 1px solid #363931; text-align: left; vertical-align: top; }
.inventory-panel thead th { color: var(--acid); font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; letter-spacing: .04em; }
.inventory-panel tbody th { max-width: 210px; }
.table-action { min-width: 44px; min-height: 44px; padding: 7px 8px; border: 1px solid #6f7268; border-radius: 4px; background: transparent; color: #f0f1ec; cursor: pointer; font-size: 10px; }
.table-action:hover { border-color: var(--acid); color: var(--acid); }
.inventory-breakdowns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.inventory-breakdowns h3, .inventory-table-section > h3 { margin-bottom: 14px; }
.inventory-bill-section { display: grid; gap: 17px; }
.inventory-bill-section > div:first-child p, .inventory-bill-section > p { color: #afb1a9; font-size: 11px; line-height: 1.65; }
.inventory-bill-result { padding: 17px; border: 1px solid #62655c; border-radius: 7px; background: #181a17; }
.inventory-bill-result strong { color: var(--acid); }
.inventory-bill-result p { margin: 6px 0 0; color: #c4c6bf; font-size: 11px; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-card { position: relative; min-height: 300px; padding: 25px; border: 1px solid var(--ink); border-radius: 12px; background: var(--white); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.category-card:hover { transform: translateY(-5px); box-shadow: 6px 6px 0 var(--ink); }
.category-featured { background: var(--coral); }
.category-index { font-family: "DM Mono", monospace; font-size: 10px; }
.category-icon { display: block; margin: 35px 0 28px; font-size: 40px; line-height: 1; }
.category-card h3 { margin-bottom: 10px; font-size: 23px; letter-spacing: -.04em; }
.category-card p { max-width: 290px; color: #555850; font-size: 12px; line-height: 1.6; }
.category-card .category-link a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.category-featured p { color: #422019; }
.category-link { position: absolute; bottom: 24px; left: 25px; font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.standby-section { padding-bottom: 110px; }
.standby-card { display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--lavender); }
.standby-copy { padding: clamp(40px, 7vw, 85px); }
.standby-copy h2 { max-width: 600px; margin-bottom: 24px; font-size: clamp(44px, 6vw, 80px); line-height: .94; letter-spacing: -.065em; }
.standby-copy > p:not(.eyebrow) { max-width: 540px; margin-bottom: 28px; color: #3e3b51; font-size: 16px; line-height: 1.7; }
.standby-demo { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 65px; background: var(--ink); color: var(--white); }
.standby-demo > p { margin: 40px 0 3px; color: #aeb0a8; font-family: "DM Mono", monospace; font-size: 11px; text-transform: uppercase; }
.standby-demo > strong { margin-bottom: 34px; color: var(--acid); font-size: clamp(48px, 6vw, 75px); letter-spacing: -.07em; }
.standby-demo > strong small { font-size: 13px; letter-spacing: 0; }
.standby-demo > .demo-assumptions { margin: 20px 0 18px; color: #d9dbd4; font-family: inherit; font-size: 13px; line-height: 1.55; text-transform: none; }
.standby-demo > .demo-energy { margin-bottom: 8px; font-size: clamp(30px, 4vw, 45px); }
.standby-demo > .demo-cost { margin-bottom: 24px; }
.standby-demo > .demo-projection-note, .standby-demo > .demo-hub-link { margin: 18px 0 0; color: #d9dbd4; font-family: inherit; line-height: 1.55; text-transform: none; }
.standby-demo a { color: var(--acid); }
.plug-line { display: flex; align-items: center; height: 30px; }
.plug { font-size: 32px; color: var(--lavender); }
.wire { width: 65%; height: 2px; background: var(--lavender); }
.spark { color: var(--acid); font-size: 25px; }
.long-term { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid #3f423b; }
.long-term span { color: #aeb0a8; font-size: 11px; }
.long-term strong { font-size: 14px; }

.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block: 1px solid var(--line); }
.method-grid article { padding: 34px 32px 40px 0; }
.method-grid article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.method-grid article > span { display: grid; width: 28px; height: 28px; place-content: center; margin-bottom: 34px; border: 1px solid var(--ink); border-radius: 50%; font-family: "DM Mono", monospace; font-size: 10px; }
.method-grid h3 { margin-bottom: 10px; font-size: 18px; }
.method-grid p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.formula-line { display: grid; grid-template-columns: .6fr 1.6fr .6fr; align-items: center; gap: 24px; margin-top: 45px; padding: 20px 24px; border: 1px dashed var(--ink); border-radius: 7px; background: var(--acid-soft); }
.formula-line span { font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .1em; }
.formula-line strong { font-family: "DM Mono", monospace; font-size: 14px; text-align: center; }
.formula-line a { justify-self: end; font-size: 11px; font-weight: 800; }

.final-cta { padding-block: 110px; background: var(--coral); border-top: 1px solid var(--ink); }
.final-cta-inner { text-align: center; }
.final-cta h2 { max-width: 900px; margin: 0 auto 38px; font-size: clamp(52px, 7vw, 94px); line-height: .92; letter-spacing: -.07em; }

.site-footer { background: var(--ink); color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 60px; padding-block: 70px; }
.brand-footer .brand-mark { background: var(--acid); }
.brand-footer .brand-mark span { background: var(--ink); }
.footer-brand p { margin-top: 20px; color: #979a91; font-size: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { margin-bottom: 8px; color: var(--acid); font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.footer-links a { color: #b5b7af; font-size: 11px; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 20px; border-top: 1px solid #3a3d36; color: #7f8279; font-size: 9px; }
.footer-bottom p { margin: 0; text-align: right; }

.toast { position: fixed; z-index: 50; right: 24px; bottom: 24px; padding: 13px 17px; background: var(--ink); color: var(--acid); border: 1px solid var(--acid); border-radius: 7px; box-shadow: var(--shadow); font-size: 12px; font-weight: 800; opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
[hidden] { display: none !important; }

.passport-dialog { width: min(760px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; border: 1px solid var(--ink); border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 120px rgba(0,0,0,.38); }
.passport-dialog::backdrop { background: rgba(18,20,16,.72); backdrop-filter: blur(4px); }
.passport-shell { padding: 18px; }
.passport-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 0 2px 14px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.passport-toolbar button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 20px; }
.passport-card { overflow: hidden; border: 1px solid var(--ink); border-radius: 10px; background: var(--white); }
.passport-card header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 22px; border-bottom: 1px solid var(--ink); }
.passport-brand-mark { display: flex; align-items: flex-end; gap: 2px; width: 34px; height: 34px; padding: 7px; background: var(--ink); border-radius: 50%; }
.passport-brand-mark span { flex: 1; background: var(--acid); }
.passport-brand-mark span:nth-child(1) { height: 45%; }
.passport-brand-mark span:nth-child(2) { height: 100%; }
.passport-brand-mark span:nth-child(3) { height: 70%; }
.passport-card header p { margin: 0; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.passport-card header h2 { margin: 2px 0 0; font-size: 24px; letter-spacing: -.04em; }
.passport-confidence { padding: 7px 9px; border: 1px solid #357f35; border-radius: 999px; color: #246124; font-size: 9px; font-weight: 800; }
.passport-device { display: flex; align-items: center; gap: 18px; padding: 28px 22px; background: var(--acid); }
.passport-icon { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--ink); border-radius: 50%; background: var(--white); font-size: 25px; }
.passport-device small, .passport-device strong, .passport-device div > span { display: block; }
.passport-device small { font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.passport-device strong { margin: 3px 0; font-size: 22px; }
.passport-device div > span { font-size: 11px; }
.passport-costs { display: grid; grid-template-columns: repeat(3, 1fr); }
.passport-costs > div { padding: 22px; border-top: 1px solid var(--ink); }
.passport-costs > div + div { border-left: 1px solid var(--ink); }
.passport-costs small, .passport-costs strong, .passport-costs span { display: block; }
.passport-costs small { font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.passport-costs strong { margin: 8px 0 2px; font-size: 25px; letter-spacing: -.04em; }
.passport-costs span { color: var(--muted); font-size: 9px; }
.passport-costs .passport-total { background: var(--coral); }
.passport-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); background: var(--paper); }
.passport-foot p { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 13px 16px; font-size: 9px; }
.passport-foot p + p { border-left: 1px solid var(--line); }
.passport-disclaimer { margin: 0; padding: 13px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.passport-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 14px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto; justify-content: space-between; padding-inline: 24px; }
  .site-nav { position: fixed; top: 86px; left: 0; right: 0; z-index: 25; display: none; width: 100%; padding: 20px 24px 28px; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 10px 24px rgba(21,23,19,.08); flex-direction: column; align-items: flex-start; }
  .site-nav.is-open { display: flex; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; gap: 7px; width: 42px; height: 42px; place-content: center; border: 1px solid var(--ink); border-radius: 50%; background: transparent; }
  .menu-toggle > span:not(.sr-only) { width: 18px; height: 1px; background: var(--ink); }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 740px; }
  .hero-visual { justify-self: center; margin-top: 20px; }
  .calculator-grid, .audit-dashboard { grid-template-columns: 1fr; }
  .inventory-layout { grid-template-columns: 1fr; }
  .inventory-breakdowns { grid-template-columns: 1fr; }
  .comparison-editors, .comparison-results { grid-template-columns: 1fr; }
  .result-panel { border-left: 0; border-top: 1px solid var(--ink); }
  .comparison-common { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 25px; }
}

@media (max-width: 720px) {
  .section-shell { width: min(100% - 28px, 1240px); }
  .hero { padding-block: 55px 70px; }
  h1 { font-size: clamp(50px, 15vw, 76px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-sticker { display: none; }
  .meter-card { width: 100%; }
  .proof-track { justify-content: flex-start; }
  .calculator-section, .directory-section, .method-section { padding-block: 75px; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p, .split-heading > p { margin-left: 0; }
  .tool-tabs { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; }
  .tool-tab { min-width: 0; min-height: 58px; padding-inline: 7px; font-size: 10px; line-height: 1.25; }
  .calculator-form, .result-panel { padding: 25px 20px; }
  .comparison-panel { padding: 25px 20px; }
  .comparison-intro, .comparison-editors, .comparison-results { grid-template-columns: 1fr; }
  .comparison-intro { gap: 14px; }
  .comparison-common { grid-template-columns: 1fr; }
  .comparison-scenario { padding: 18px 14px; }
  .two-col, .three-col, .four-col { grid-template-columns: 1fr; }
  .result-stats > div { padding-inline: 6px; }
  .audit-section { padding-block: 75px; }
  .audit-mode-tabs { display: grid; width: 100%; grid-template-columns: 1fr 1fr; }
  .inventory-toolbar, .inventory-table-heading, .inventory-result-heading, .inventory-editor-heading { align-items: stretch; flex-direction: column; }
  .inventory-toolbar, .inventory-editor, .inventory-results, .inventory-table-section, .inventory-breakdowns > section, .inventory-bill-section { padding: 20px 15px; }
  .inventory-common-grid, .inventory-field-grid { grid-template-columns: 1fr; }
  .inventory-metric-grid { grid-template-columns: 1fr; }
  .audit-summary, .audit-list-panel { padding: 24px 20px; }
  .action-plan { padding: 24px 20px; }
  .recommendation-list { grid-template-columns: 1fr; }
  .recommendation, .recommendation + .recommendation { padding: 22px 0; border-left: 0; border-bottom: 1px solid #3b3e37; }
  .audit-chart-wrap { gap: 16px; }
  .donut { width: 125px; height: 125px; }
  .audit-item { grid-template-columns: auto 1fr auto; }
  .audit-item-cost { display: none; }
  .category-grid, .standby-card, .method-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 270px; }
  .standby-copy, .standby-demo { padding: 45px 28px; }
  .method-grid article, .method-grid article + article { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .formula-line { grid-template-columns: 1fr; text-align: center; }
  .formula-line a { justify-self: center; }
  .final-cta { padding-block: 80px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom p { text-align: left; }
  .passport-costs, .passport-foot { grid-template-columns: 1fr; }
  .passport-costs > div + div, .passport-foot p + p { border-left: 0; }
  .passport-costs > div + div { border-top: 1px solid var(--ink); }
  .passport-card header { grid-template-columns: auto 1fr; }
  .passport-confidence { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 430px) {
  .site-header { min-height: 74px; padding-inline: 14px; }
  .site-nav { top: 74px; }
  .brand { font-size: 12px; }
  .brand-mark { width: 31px; height: 31px; }
  .trust-list { flex-direction: column; }
  .meter-card { padding: 17px; }
  .dial-wrap { height: 170px; }
  .dial-value { inset-block-start: 78px; }
  .result-total span { font-size: 48px; }
  .audit-chart-wrap { align-items: flex-start; flex-direction: column; }
  .donut-legend { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  body.printing-passport > *:not(.passport-dialog),
  body.printing-comparison > *:not(.passport-dialog),
  body.printing-audit > *:not(main),
  body.printing-inventory > *:not(main) { display: none !important; }
  body.printing-passport .passport-dialog { position: static; display: block; width: 100%; max-height: none; border: 0; box-shadow: none; }
  body.printing-comparison #comparison-passport-dialog { position: static; display: block; width: 100%; max-height: none; border: 0; box-shadow: none; }
  body.printing-passport .passport-toolbar,
  body.printing-comparison .passport-toolbar,
  body.printing-comparison .passport-dialog-actions,
  body.printing-passport .passport-dialog-actions { display: none; }
  body.printing-audit main > *:not(.audit-section) { display: none !important; }
  body.printing-audit .audit-section { padding: 0; background: white; color: #151713; }
  body.printing-audit .light-heading .eyebrow,
  body.printing-audit .light-heading > p { color: #151713; }
  body.printing-audit .audit-dashboard { border-color: #151713; }
  body.printing-audit .audit-summary,
  body.printing-audit .audit-list-panel,
  body.printing-audit .action-plan { background: white; color: #151713; border-color: #151713; }
  body.printing-audit .audit-summary > strong,
  body.printing-audit .saving-callout strong,
  body.printing-audit .light-link,
  body.printing-audit .recommendation > span { color: #151713; }
  body.printing-audit .small-button,
  body.printing-audit .remove-item { display: none; }
  body.printing-audit .donut::before { background: white; }
  body.printing-inventory main > *:not(.audit-section) { display: none !important; }
  body.printing-inventory .audit-section { padding: 0; background: white; color: #151713; }
  body.printing-inventory .section-heading,
  body.printing-inventory .audit-mode-tabs,
  body.printing-inventory #standby-audit-panel,
  body.printing-inventory .inventory-toolbar .audit-actions,
  body.printing-inventory .inventory-common-grid,
  body.printing-inventory .inventory-editor,
  body.printing-inventory .table-action { display: none !important; }
  body.printing-inventory .inventory-layout { display: block; }
  body.printing-inventory .inventory-panel { display: grid !important; color: #151713; }
  body.printing-inventory .inventory-toolbar,
  body.printing-inventory .inventory-results,
  body.printing-inventory .inventory-table-section,
  body.printing-inventory .inventory-breakdowns > section,
  body.printing-inventory .inventory-bill-section,
  body.printing-inventory .inventory-metric-grid article,
  body.printing-inventory .inventory-bill-result,
  body.printing-inventory table { background: white; color: #151713; border-color: #777; }
  body.printing-inventory .inventory-toolbar p,
  body.printing-inventory .inventory-bill-section p,
  body.printing-inventory .inventory-policy,
  body.printing-inventory .inventory-limitations,
  body.printing-inventory #inventory-provenance-summary,
  body.printing-inventory .inventory-metric-grid small,
  body.printing-inventory .inventory-bill-result p { color: #333; }
  body.printing-inventory .inventory-toolbar h3,
  body.printing-inventory .inventory-metric-grid strong,
  body.printing-inventory .inventory-editor-heading span,
  body.printing-inventory .inventory-result-heading span,
  body.printing-inventory .inventory-table-heading span,
  body.printing-inventory thead th { color: #151713; }
  body.printing-inventory table { min-width: 0; table-layout: fixed; font-size: 8px; }
  body.printing-inventory th, body.printing-inventory td { padding: 5px; overflow-wrap: anywhere; }
}
