:root {
  --paper: oklch(97.5% 0.012 92);
  --paper-2: oklch(94.5% 0.016 105);
  --panel: oklch(99% 0.008 96);
  --panel-strong: oklch(21% 0.035 148);
  --panel-soft: oklch(93% 0.025 140);
  --ink: oklch(19% 0.024 145);
  --ink-soft: oklch(41% 0.025 145);
  --muted: oklch(51% 0.022 145);
  --line: oklch(84% 0.022 112);
  --line-strong: oklch(72% 0.035 112);
  --accent: oklch(47% 0.11 151);
  --accent-ink: oklch(98% 0.008 145);
  --accent-soft: oklch(91% 0.055 150);
  --gold: oklch(45% 0.11 75);
  --gold-soft: oklch(92% 0.06 81);
  --danger: oklch(58% 0.15 28);
  --danger-soft: oklch(92% 0.04 28);
  --success-soft: oklch(90% 0.06 150);
  --shadow: 0 22px 70px oklch(23% 0.025 145 / 0.12);
  --shadow-soft: 0 14px 42px oklch(23% 0.025 145 / 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, oklch(92% 0.05 150 / 0.78), transparent 30rem),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid oklch(63% 0.15 151 / 0.72);
  outline-offset: 3px;
}

button,
input,
select {
  font: inherit;
}

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

h1,
h2,
h3,
.logo {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 3.35rem;
  line-height: 1.02;
  font-weight: 760;
  max-width: 760px;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 0;
  font-size: 1.55rem;
  line-height: 1.18;
  font-weight: 730;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
  line-height: 1.25;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: oklch(97.5% 0.012 92 / 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 780;
  white-space: nowrap;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--panel-strong);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 820;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  max-width: 100%;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
  padding: 0 12px;
}

.site-nav a:hover {
  background: var(--panel-soft);
  color: var(--ink);
  text-decoration: none;
}

.hero {
  padding: 48px 0 42px;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.hero-kicker span,
.panel-badge,
.info-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(99% 0.008 96 / 0.74);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 760;
  padding: 0 11px;
}

.hero-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.62fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.eyebrow {
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy,
.section-copy {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 67ch;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calculator-panel,
.report-panel {
  padding: 28px;
}

.calculator-panel {
  display: grid;
  align-content: start;
  gap: 22px;
  background:
    linear-gradient(180deg, oklch(99% 0.008 96), oklch(97% 0.012 96));
  border: 0;
}

.report-panel {
  color: var(--accent-ink);
  background:
    radial-gradient(circle at 88% 8%, oklch(62% 0.12 151 / 0.22), transparent 18rem),
    var(--panel-strong);
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.panel-header .panel-label {
  margin-bottom: 0.35rem;
}

.panel-label {
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 760;
}

.panel-header h2 {
  margin-bottom: 0;
}

.panel-badge.is-live {
  background: var(--success-soft);
  border-color: oklch(75% 0.08 151);
  color: var(--panel-strong);
}

.field-stack {
  display: grid;
  gap: 8px;
  min-width: 0;
  align-content: start;
}

label {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 720;
}

input,
select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: oklch(99% 0.008 96);
  color: var(--ink);
  padding: 0 15px;
}

input:hover,
select:hover {
  border-color: oklch(61% 0.05 140);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235d6c62'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 14px;
  padding-right: 42px;
}

.money-input {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: oklch(99% 0.008 96);
  overflow: hidden;
}

.money-input span {
  display: grid;
  min-height: 54px;
  place-items: center;
  border-right: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--ink-soft);
  font-weight: 760;
}

.money-input input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profit-control {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: oklch(98% 0.01 96);
  padding: 15px 16px 12px;
}

.profit-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.profit-amount span {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
}

.profit-amount input {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 780;
  line-height: 1;
  padding: 0;
  font-variant-numeric: tabular-nums;
}

.profit-amount input:focus-visible {
  outline-offset: 1px;
}

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

.range-input {
  width: 100%;
  min-height: 28px;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  accent-color: var(--accent);
  cursor: pointer;
}

.range-input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: var(--panel-soft);
}

.range-input::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border: 3px solid var(--panel);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 4px 14px oklch(23% 0.025 145 / 0.22);
  -webkit-appearance: none;
  appearance: none;
}

.range-input::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--panel-soft);
}

.range-input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid var(--panel);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 4px 14px oklch(23% 0.025 145 / 0.22);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
}

.preset-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.preset-button {
  min-height: 66px;
  display: grid;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: oklch(99% 0.008 96);
  color: var(--ink);
  cursor: pointer;
  padding: 10px 12px;
  text-align: left;
  transition: background-color 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms cubic-bezier(0.16, 1, 0.3, 1), transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.preset-button:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: var(--panel-soft);
}

.preset-button.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.preset-button span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 820;
}

.preset-button strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.2;
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.toggle-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-self: start;
}

.toggle-pill {
  min-height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: oklch(99% 0.008 96);
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 740;
  padding: 0 14px;
  line-height: 1.2;
  transition: background-color 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms cubic-bezier(0.16, 1, 0.3, 1), color 180ms cubic-bezier(0.16, 1, 0.3, 1), transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.toggle-pill:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.toggle-pill.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.salary-input-group {
  display: none;
  padding-top: 2px;
}

.salary-input-group.visible {
  display: block;
}

.savings-summary {
  margin-top: 26px;
  border: 1px solid oklch(77% 0.06 151 / 0.52);
  border-radius: 22px;
  background: oklch(29% 0.045 148);
  padding: 22px;
}

.savings-summary span,
.savings-summary small,
.metric span {
  display: block;
  color: oklch(84% 0.025 145);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0;
}

.savings-summary strong {
  display: block;
  margin: 8px 0 2px;
  color: oklch(90% 0.08 150);
  font-size: 3.15rem;
  line-height: 1;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}

.savings-summary.is-negative,
#savings-box.is-negative {
  border-color: oklch(70% 0.12 28 / 0.7);
  background: oklch(29% 0.055 28);
}

.verdict {
  min-height: 76px;
  display: flex;
  align-items: center;
  margin-top: 16px;
  border: 1px solid oklch(86% 0.02 145 / 0.2);
  border-radius: 18px;
  background: oklch(26% 0.035 148);
  color: oklch(92% 0.012 145);
  padding: 16px 18px;
  font-weight: 680;
}

.verdict.success {
  border-color: oklch(75% 0.1 151 / 0.56);
  background: oklch(29% 0.058 151);
}

.verdict.warning {
  border-color: oklch(76% 0.12 75 / 0.62);
  background: oklch(29% 0.048 75);
}

.verdict.neutral {
  border-color: oklch(81% 0.025 145 / 0.24);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.metric {
  min-width: 0;
  border: 1px solid oklch(86% 0.02 145 / 0.18);
  border-radius: 16px;
  background: oklch(24% 0.032 148);
  padding: 14px;
}

.metric strong {
  display: block;
  margin-top: 7px;
  color: var(--accent-ink);
  font-size: 1.25rem;
  line-height: 1.18;
  font-variant-numeric: tabular-nums;
}

.salary-guard.safe {
  background: oklch(29% 0.052 151);
}

.salary-guard {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.salary-guard span {
  width: max-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: oklch(90% 0.06 150);
  color: var(--panel-strong);
  padding: 0 10px;
}

.salary-guard strong {
  margin-top: 0;
  font-size: 0.96rem;
}

.salary-guard.moderate {
  background: oklch(29% 0.05 75);
}

.salary-guard.aggressive {
  background: oklch(29% 0.055 28);
}

.share-panel {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border-top: 1px solid oklch(86% 0.02 145 / 0.18);
  padding-top: 18px;
}

.share-panel label {
  color: oklch(91% 0.012 145);
}

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

.share-panel input {
  border-color: oklch(86% 0.02 145 / 0.24);
  background: oklch(24% 0.032 148);
  color: oklch(91% 0.012 145);
}

.button-primary,
.button-secondary,
.btn-primary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 770;
  padding: 0 16px;
  cursor: pointer;
  transition: background-color 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms cubic-bezier(0.16, 1, 0.3, 1), color 180ms cubic-bezier(0.16, 1, 0.3, 1), transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button-primary,
.btn-primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button-secondary {
  border: 1px solid oklch(86% 0.02 145 / 0.35);
  background: transparent;
  color: oklch(92% 0.012 145);
}

.button-primary:hover,
.button-secondary:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button-primary:hover,
.btn-primary:hover {
  background: oklch(42% 0.11 151);
}

.button-secondary:hover {
  border-color: oklch(86% 0.02 145 / 0.72);
}

.section {
  padding: 70px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: start;
}

.logic-stack {
  display: grid;
  gap: 12px;
}

.logic-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: oklch(99% 0.008 96 / 0.72);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.logic-row span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--gold-soft);
  color: oklch(32% 0.06 75);
  font-weight: 820;
  font-size: 0.82rem;
}

.logic-row p,
.scenario-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 24px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.scenario-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: oklch(99% 0.008 96 / 0.78);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.method-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr) auto;
  gap: 26px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
}

.assumption-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.assumption-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.assumption-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.58em;
  border-radius: 999px;
  background: var(--accent);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.content-layout {
  display: grid;
  gap: 32px;
  padding: 48px 0 70px;
  min-width: 0;
}

.content-layout > * {
  min-width: 0;
}

.page-hero {
  padding-top: 44px;
  min-width: 0;
}

.page-hero h1,
.content-card h1 {
  margin-bottom: 12px;
  font-size: 2.65rem;
  line-height: 1.08;
}

.page-hero p {
  max-width: 70ch;
  color: var(--ink-soft);
}

.breadcrumb {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-card {
  max-width: 860px;
  padding: 34px;
  min-width: 0;
}

.content-card h2 {
  margin: 34px 0 12px;
}

.content-card h3 {
  margin-top: 24px;
}

.content-card p,
.content-card li {
  color: var(--ink-soft);
  overflow-wrap: break-word;
}

.content-card a {
  font-weight: 690;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 22px;
}

.article-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 10px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.guide-link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: oklch(99% 0.008 96 / 0.74);
  padding: 16px;
}

.guide-link strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.guide-link span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.data-table {
  display: block;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--panel-soft);
  color: var(--ink);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.quality-note {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  padding: 18px;
  margin-top: 26px;
}

.cta-box,
.faq-card,
.explain-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: oklch(99% 0.008 96 / 0.78);
  padding: 18px;
  margin-top: 24px;
}

.cta-box p,
.faq-card p,
.explain-card p {
  margin-bottom: 0;
}

.faq-card ul,
.trust-panel ul {
  margin-bottom: 0;
}

.muted {
  color: var(--muted);
}

.callout {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  padding: 20px;
  margin: 24px 0;
}

.callout.is-warning {
  border-color: oklch(78% 0.08 75);
  background: var(--gold-soft);
}

.sidebar-stack {
  display: grid;
  gap: 20px;
  align-content: start;
}

.trust-panel {
  padding: 22px;
}

.trust-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.trust-list li {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
  padding: 10px 12px;
}

.ad-card {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  contain: layout;
  border: 1px dashed var(--line);
  background: oklch(99% 0.008 96 / 0.48);
}

.ad-card::before {
  content: "Advertisement";
  position: absolute;
  top: 8px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: oklch(93% 0.018 105);
  padding: 48px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(460px, 1fr);
  gap: 42px;
  align-items: start;
}

.footer-heading {
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 780;
}

.footer-resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 0;
}

.footer-resources a {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 24px;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  h1 {
    font-size: 2.72rem;
  }

  .hero-heading,
  .workbench,
  .two-column,
  .method-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .report-panel {
    border-top: 1px solid oklch(86% 0.02 145 / 0.18);
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    min-height: 42px;
    white-space: nowrap;
    border: 1px solid var(--line);
    background: oklch(99% 0.008 96 / 0.7);
  }

  .hero {
    padding: 28px 0 30px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .hero-heading {
    gap: 18px;
    margin-bottom: 22px;
  }

  .workbench {
    border-radius: 20px;
  }

  .calculator-panel,
  .report-panel {
    padding: 18px;
  }

  .panel-header {
    align-items: flex-start;
  }

  .input-grid,
  .metric-grid,
  .share-row,
  .preset-strip,
  .guide-grid,
  .footer-resources {
    grid-template-columns: 1fr;
  }

  .savings-summary strong {
    font-size: 2.45rem;
  }

  .section {
    padding: 46px 0;
  }

  .logic-row {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }

  .logic-row span {
    width: 38px;
    height: 38px;
  }

  .method-card,
  .content-card {
    padding: 20px;
  }

  .page-hero h1,
  .content-card h1 {
    font-size: 2rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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