:root {
  --bg: #f2f3f0;
  --surface: #fbfcfa;
  --surface-strong: #ffffff;
  --ink: #172326;
  --muted: #667477;
  --line: #d9dfdc;
  --accent: #0f4c5c;
  --accent-dark: #093946;
  --accent-soft: #dcebed;
  --positive: #276453;
  --negative: #9b4d40;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(20, 42, 46, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.55;
  letter-spacing: -0.02em;
}
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 3px solid rgba(15, 76, 92, 0.25);
  outline-offset: 2px;
}

.site-header {
  width: min(var(--max), calc(100% - 40px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark { padding: 5px 8px; border-radius: 6px; background: var(--accent); color: #fff; font-size: .84rem; font-weight: 800; letter-spacing: .03em; }
.brand-copy { font-size: .74rem; font-weight: 750; letter-spacing: .14em; }
.compare-link { color: var(--muted); font-size: .88rem; font-weight: 650; text-decoration: none; }
.compare-link span { display: inline-grid; min-width: 24px; height: 24px; margin-left: 5px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); }

.hero, .entry-section, .calculator-shell, .comparison-section, footer { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.hero { padding: 82px 0 56px; }
.eyebrow, .step-label, .result-kicker { margin: 0 0 14px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.hero h1 { max-width: 850px; margin: 0; font-size: clamp(2.7rem, 6.4vw, 5.6rem); font-weight: 610; line-height: 1.08; letter-spacing: -.065em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero > p:last-child { max-width: 580px; margin: 27px 0 0; color: var(--muted); font-size: 1.04rem; }

.entry-section { padding-bottom: 92px; }
.entry-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 24px; }
.entry-heading .step-label { grid-column: 1 / -1; }
.entry-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.045em; }
.entry-heading > p:last-child { max-width: 420px; margin: 0; color: var(--muted); font-size: .9rem; text-align: right; }
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.entry-card { display: flex; min-height: 310px; padding: 24px; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.entry-card-primary { border-color: #87a9b0; background: var(--accent-dark); color: #fff; box-shadow: var(--shadow); }
.entry-number { color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.entry-card-primary .entry-number { color: #a9cdd3; }
.entry-card h3 { margin: 32px 0 7px; font-size: 1.22rem; letter-spacing: -.03em; }
.entry-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.entry-card-primary p { color: #c4d6d9; }
.entry-action { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: auto; }
.entry-action input { min-width: 0; }
.entry-action button, .start-calculator { min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-strong); color: var(--accent-dark); font-weight: 750; }
.entry-action .upload-button { width: 100%; grid-column: 1 / -1; }
.start-calculator { display: flex; width: 100%; margin-top: auto; align-items: center; justify-content: space-between; border-color: transparent; background: #e9f3f2; }
.entry-status { min-height: 20px; margin-top: 10px !important; font-size: .72rem !important; }
.entry-status[data-state="loading"] { color: var(--accent); }
.entry-status[data-state="success"] { color: var(--positive); }
.entry-status[data-state="partial"] { color: #866223; }
.entry-status[data-state="error"] { color: var(--negative); }
.entry-action button:disabled, .discovery-apply:disabled { cursor: wait; opacity: .65; }
.entry-card-primary .entry-status { color: #9fc1c6; }
.discovery-result { margin-top: 16px; padding: 25px; border: 1px solid #87a9b0; border-radius: var(--radius); background: var(--surface-strong); box-shadow: var(--shadow); }
.discovery-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.discovery-head .step-label { margin-bottom: 4px; }
.discovery-head h3 { margin: 0; font-size: 1.25rem; }
.destination-field { display: grid; min-width: 190px; gap: 4px; margin-left: auto; }
.destination-field label { color: var(--muted); font-size: .7rem; font-weight: 700; }
.destination-field select { height: 42px; padding: 0 32px 0 11px; }
.discovery-apply { width: auto; min-width: 140px; margin: 0; }
.discovery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rental-discovery-entry { margin-bottom: 22px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.rental-discovery-entry h3 { margin: 3px 0 6px; }
.rental-discovery-entry h3 { max-width: 540px; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.035em; }
.rental-discovery-entry p { margin: 0; color: var(--muted); }
.rental-link-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 16px; }
.rental-link-controls .primary-button { width: auto; min-width: 180px; }
.rental-discovery-entry .link-status { margin-top: 10px; font-size: .86rem; }
.text-button { margin-top: 10px; border: 0; padding: 4px 0; color: var(--accent); background: transparent; font-weight: 750; text-decoration: underline; cursor: pointer; }
.rental-analysis-steps { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 2px; padding: 0; list-style: none; }
.rental-analysis-steps li { padding: 5px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .68rem; font-weight: 700; }
.rental-discovery-result { margin: 0 0 22px; }
.rental-more-found { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.rental-more-found > summary { color: var(--accent); font-size: .78rem; font-weight: 750; cursor: pointer; }
.rental-more-found > .discovery-grid { margin-top: 12px; }
.rental-discovery-aha { margin: 16px 0 0; padding: 15px; border-radius: 10px; background: var(--accent-soft); color: var(--ink); font-weight: 750; }
.rental-questions { display: grid; gap: 10px; margin-top: 14px; }
.rental-question { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.rental-question > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.rental-question button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-strong); color: var(--ink); cursor: pointer; }
.discovery-item-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.discovery-item-actions > button { border: 0; padding: 3px 0; background: transparent; color: var(--accent); font-size: .7rem; font-weight: 750; cursor: pointer; }
.discovery-item-actions .discovery-evidence-details { margin-top: 0; }
.rental-access-options { margin-top: 14px; padding: 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.rental-access-options p { margin-top: 0; }
.rental-access-options .secondary-button { width: auto; margin-right: 6px; }
.rental-access-options small { display: block; margin-top: 9px; color: rgba(255,255,255,.72); }
.rental-screenshot-entry { margin: 18px 0 0; padding: 18px; border: 1px dashed #a9bbb8; border-radius: 12px; background: var(--surface-strong); }
.rental-screenshot-entry h3 { margin: 3px 0 5px; font-size: 1rem; }
.rental-screenshot-entry p { margin: 0; color: var(--muted); font-size: .78rem; }
.rental-screenshot-actions { display: grid; grid-template-columns: auto minmax(190px, .55fr); gap: 10px; align-items: center; margin-top: 13px; }
.rental-screenshot-actions .text-button, .rental-screenshot-actions .primary-button { margin: 0; }
.rental-screenshot-actions .screenshot-select { padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; }
.rental-screenshot-files { display: grid; gap: 5px; margin: 12px 0 0; padding: 0; list-style: none; }
.rental-screenshot-files li { display: flex; gap: 7px; color: var(--ink); font-size: .72rem; overflow-wrap: anywhere; }
.rental-screenshot-files li span { flex: 0 0 19px; height: 19px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); text-align: center; font-weight: 750; }
.rental-screenshot-entry .privacy-note { margin-top: 10px; color: #6f7f80; font-size: .68rem; }
.rental-screenshot-entry .link-status { margin-top: 8px; }
.conflict-question { border-color: #c6b681; background: #fffaf0; }
.conflict-question p { margin: 4px 0 0; color: var(--muted); font-size: .72rem; }
.discovery-item { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.discovery-label { margin: 0 0 5px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.discovery-value { margin: 0 0 8px; font-size: 1rem; font-weight: 750; overflow-wrap: anywhere; }
.discovery-detail { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .68rem; }
.discovery-detail .cost-status { flex: none; }
.discovery-method { margin: 7px 0 0; color: var(--accent); font-size: .67rem; }
.discovery-evidence-details { margin-top: 7px; color: var(--muted); font-size: .67rem; }
.discovery-evidence-details summary { width: fit-content; color: var(--muted); cursor: pointer; }
.discovery-evidence-details p { margin: 5px 0 0; padding: 7px; border-radius: 7px; background: var(--accent-soft); overflow-wrap: anywhere; }
.discovery-note { margin: 14px 0 0; color: var(--muted); font-size: .74rem; }
.apply-status { min-height: 20px; margin: 7px 0 0; color: var(--positive); font-size: .75rem; }
.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; }

.calculator-shell { padding-bottom: 105px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 25px; }
.section-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.2; letter-spacing: -.045em; }
.mode-tabs { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.52); }
.mode-tab { min-width: 108px; padding: 9px 16px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: .9rem; font-weight: 700; }
.mode-tab.is-active { background: var(--surface-strong); color: var(--accent); box-shadow: 0 2px 12px rgba(20,42,46,.08); }

.workspace { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 18px; align-items: start; }
.input-card, .result-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.input-card { padding: 28px; }
.rental-manual-details { margin-top: 18px; border-top: 1px solid var(--line); }
.rental-manual-details > summary { display: flex; align-items: center; gap: 10px; padding: 18px 2px 0; color: var(--accent); font-size: .88rem; font-weight: 750; cursor: pointer; list-style: none; }
.rental-manual-details > summary::-webkit-details-marker { display: none; }
.rental-manual-details > summary::after { content: "+"; margin-left: auto; font-size: 1.15rem; }
.rental-manual-details[open] > summary::after { content: "−"; }
.rental-manual-details > summary small { color: var(--muted); font-size: .68rem; font-weight: 500; }
.rental-manual-body { padding-top: 20px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { min-width: 0; }
.field-wide { margin-bottom: 17px; }
.field label, .field-group h3 { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: .84rem; font-weight: 720; }
.field label span { color: var(--muted); font-size: .72rem; font-weight: 500; }
input, select { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-strong); color: var(--ink); transition: border-color .18s, box-shadow .18s; }
input { padding: 0 13px; }
input:hover, select:hover, input:focus, select:focus { border-color: #8ca7ad; }
input:focus, select:focus { box-shadow: 0 0 0 3px rgba(15,76,92,.08); outline: none; }
input:invalid:not(:focus) { border-color: #c9897f; }
.money-input, .suffix-input { position: relative; }
.money-input span, .suffix-input span { position: absolute; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .84rem; pointer-events: none; }
.money-input span { left: 13px; }
.money-input input { padding-left: 31px; }
.suffix-input span { right: 13px; }
.suffix-input input { padding-right: 42px; }
.field-group { margin-top: 22px; }
.compound-field { display: grid; grid-template-columns: 145px 1fr; gap: 9px; }
.compound-field select { padding: 0 34px 0 12px; }
.compound-field.compact { grid-template-columns: minmax(112px, 1.15fr) minmax(90px, .85fr); }
.compound-field.compact select { font-size: .82rem; }
.extra-costs { margin-top: 24px; border-top: 1px solid var(--line); }
.extra-costs summary { display: flex; justify-content: space-between; gap: 12px; padding: 20px 2px 0; color: var(--ink); font-size: .9rem; font-weight: 720; list-style: none; }
.extra-costs summary::-webkit-details-marker { display: none; }
.extra-costs summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; line-height: 1; }
.extra-costs[open] summary::after { content: "−"; }
.extra-costs summary small { margin-left: auto; color: var(--muted); font-weight: 450; }
.details-body { padding-top: 18px; }
.details-subtitle { margin: 22px 0 10px; color: var(--accent); font-size: .78rem; letter-spacing: .04em; }
.details-subtitle:first-child { margin-top: 0; }
.check-field { display: flex !important; justify-content: flex-start !important; align-items: center; gap: 7px; margin-top: 6px !important; color: var(--muted); font-size: .72rem !important; font-weight: 500 !important; }
.check-field input { width: 16px; height: 16px; }
.rental-cost-field select { margin-bottom: 8px; }
.rental-cost-field input:disabled { opacity: .55; cursor: not-allowed; }
.conditional-note { margin: 16px 0 0; padding: 10px; border-radius: 8px; background: var(--accent-soft); color: var(--muted); font-size: .72rem; }
.form-error { min-height: 20px; margin: 13px 0 -4px; color: var(--negative); font-size: .8rem; }

.result-card { position: sticky; top: 18px; padding: 30px; overflow: hidden; background: var(--accent-dark); color: #fff; box-shadow: var(--shadow); }
.result-kicker { color: #a9cdd3; }
.cost-status-legend { display: flex; gap: 13px; margin: -3px 0 21px; color: #d3e2e4; font-size: .67rem; }
.cost-status-legend span { display: flex; align-items: center; gap: 5px; }
.cost-status-legend small { color: #91afb4; font-size: .62rem; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #8ebeb4; }
.status-dot.estimated { background: #e2bd75; }
.status-dot.unknown { background: #aab3b5; }
.true-cost { margin: 0 0 5px; font-size: clamp(2.25rem, 5vw, 3.65rem); font-weight: 670; line-height: 1.15; letter-spacing: -.055em; }
.difference { min-height: 24px; margin: 0 0 27px; color: #c4d6d9; font-size: .9rem; }
.difference.more { color: #f0c0b7; }
.difference.less { color: #a7dacb; }
.unknown-summary { margin: -12px 0 22px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(255,255,255,.06); }
.unknown-summary strong { display: block; color: #fff; font-size: .8rem; }
.unknown-summary p { margin: 3px 0 0; color: #c7d6d8; font-size: .72rem; }
.cost-flow { border-top: 1px solid rgba(255,255,255,.16); }
.flow-row { display: grid; grid-template-columns: 24px 1fr auto auto; gap: 9px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
.cost-status { padding: 3px 6px; border-radius: 999px; background: rgba(142,190,180,.14); color: #a7dacb; font-size: .58rem; font-weight: 800; letter-spacing: .03em; }
.cost-status.status-estimated { background: rgba(226,189,117,.14); color: #f0d094; }
.cost-status.status-unknown { background: rgba(255,255,255,.1); color: #cad4d6; }
.unknown-notice { display: grid; grid-template-columns: auto 1fr; gap: 9px; margin-top: 12px; padding: 12px; border: 1px dashed rgba(255,255,255,.22); border-radius: 10px; }
.unknown-notice .cost-status { align-self: start; margin-top: 2px; }
.unknown-notice p { margin: 0; color: #b9cccf; font-size: .72rem; line-height: 1.45; }
.unknown-notice strong { display: block; margin-bottom: 2px; color: #fff; font-size: .78rem; }
.flow-sign { color: #9bc3c9; text-align: center; }
.flow-row strong { font-variant-numeric: tabular-nums; }
.cost-source { display: block; margin-top: 1px; color: #9fb8bc; font-size: .65rem; font-weight: 500; }
.flow-row.discount strong { color: #a7dacb; }
.flow-row.total { margin-top: 3px; border-bottom: 0; font-size: .98rem; }
.result-meta { display: flex; justify-content: space-between; margin-top: 9px; padding: 13px 0; color: #c4d6d9; font-size: .84rem; }
.result-meta strong { color: #fff; }
.primary-button, .secondary-button { width: 100%; min-height: 48px; padding: 10px 16px; border: 0; border-radius: 10px; font-weight: 750; }
.primary-button { margin-top: 9px; background: #e9f3f2; color: var(--accent-dark); }
.primary-button:hover { background: #fff; }
.secondary-button { border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; }

.subscription-winner { margin: 0 0 20px; padding: 14px; border-radius: 10px; background: rgba(255,255,255,.08); color: #d7e9e9; font-size: .9rem; }
.subscription-winner strong { display: block; color: #fff; font-size: 1.1rem; }
.plan-results { display: grid; gap: 11px; }
.plan-card { padding: 17px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; }
.plan-card.is-cheapest { border-color: #93c9c1; background: rgba(147,201,193,.08); }
.plan-head, .plan-detail { display: flex; justify-content: space-between; gap: 12px; }
.plan-head { align-items: start; }
.plan-head h3 { margin: 0; font-size: .95rem; }
.plan-head strong { font-size: 1.25rem; }
.plan-detail { margin: 7px 0 14px; color: #b7cbce; font-size: .78rem; }
.plan-card button { min-height: 39px; margin: 0; font-size: .78rem; }
.rental-cost { margin-top: 18px; }
.rental-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.rental-metrics div { padding: 10px; border-radius: 8px; background: rgba(255,255,255,.07); }
.rental-metrics span, .rental-metrics strong { display: block; }
.rental-metrics span { color: #a9c0c4; font-size: .66rem; }
.rental-metrics strong { margin-top: 2px; font-size: .83rem; }
.rental-risk { margin-top: 13px; padding: 12px; border: 1px dashed rgba(255,255,255,.22); border-radius: 9px; }
.rental-risk > strong { margin-right: 8px; font-size: .78rem; }
.rental-risk p { margin: 6px 0 0; color: #bdd0d3; font-size: .7rem; }

.comparison-section { padding: 86px 0 110px; border-top: 1px solid var(--line); }
.section-description { max-width: 400px; margin: 0; color: var(--muted); font-size: .9rem; }
.empty-state { padding: 55px 24px; border: 1px dashed #b8c4c1; border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty-state span { display: inline-block; margin-bottom: 8px; color: var(--accent); font-weight: 800; letter-spacing: .08em; }
.empty-state p { margin: 0; }
.comparison-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.comparison-card { position: relative; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-strong); }
.comparison-card.is-cheapest { border: 2px solid var(--accent); padding: 19px; box-shadow: var(--shadow); }
.best-badge { display: inline-block; margin-bottom: 12px; padding: 4px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: .68rem; font-weight: 800; }
.comparison-card h3 { min-height: 48px; margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.comparison-type { margin: 2px 0 16px; color: var(--muted); font-size: .74rem; }
.comparison-cost { margin: 0; color: var(--accent-dark); font-size: 1.5rem; font-weight: 750; letter-spacing: -.04em; }
.comparison-sub { min-height: 38px; margin: 3px 0 18px; color: var(--muted); font-size: .76rem; }
.comparison-details { display: grid; gap: 4px; margin: 0 0 16px; font-size: .69rem; }
.comparison-details div { display: flex; justify-content: space-between; gap: 8px; }
.comparison-details dt { color: var(--muted); }
.comparison-details dd { margin: 0; text-align: right; }
.comparison-warning { margin-top: 14px; padding: 14px; border: 1px solid #c6b681; border-radius: 10px; background: #fffaf0; color: #6e5720; font-size: .82rem; }
.comparison-warning p { margin: 0; }
.comparison-warning p + p { margin-top: 5px; }
.remove-button { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); font-size: .78rem; }
.comparison-note { min-height: 24px; margin: 15px 0 0; color: var(--accent); font-size: .84rem; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
footer span { color: var(--ink); font-weight: 800; letter-spacing: .08em; }
footer p { margin: 0; }
[hidden] { display: none !important; }

@media (max-width: 860px) {
  .entry-grid { grid-template-columns: 1fr; }
  .discovery-grid { grid-template-columns: 1fr 1fr; }
  .entry-card { min-height: 235px; }
  .workspace { grid-template-columns: 1fr; }
  .result-card { position: static; }
  .comparison-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .rental-link-controls { grid-template-columns: 1fr; }
  .rental-link-controls .primary-button { width: 100%; }
  .rental-screenshot-actions { grid-template-columns: 1fr; }
  .site-header, .hero, .entry-section, .calculator-shell, .comparison-section, footer { width: min(100% - 28px, var(--max)); }
  .site-header { height: 64px; }
  .hero { padding: 64px 0 58px; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero > p:last-child { font-size: .94rem; }
  .entry-section { padding-bottom: 70px; }
  .entry-heading { display: block; }
  .entry-heading > p:last-child { margin-top: 10px; text-align: left; }
  .entry-card { min-height: 225px; padding: 21px; }
  .entry-card h3 { margin-top: 23px; }
  .entry-action { grid-template-columns: 1fr; }
  .entry-action button { width: 100%; }
  .discovery-head { align-items: stretch; flex-direction: column; }
  .destination-field { width: 100%; margin-left: 0; }
  .discovery-apply { width: 100%; }
  .discovery-grid { grid-template-columns: 1fr; }
  .calculator-shell { padding-bottom: 78px; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 18px; }
  .mode-tabs { width: 100%; }
  .mode-tab { flex: 1; min-width: 0; }
  .input-card, .result-card { padding: 21px; border-radius: 15px; }
  .cost-status-legend { flex-wrap: wrap; }
  .flow-row { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .flow-row .cost-status { grid-column: 2; justify-self: start; }
  .field-grid { grid-template-columns: 1fr; gap: 15px; }
  .compound-field { grid-template-columns: 124px 1fr; }
  .compound-field.compact { grid-template-columns: minmax(116px, 1fr) minmax(100px, 1fr); }
  .extra-costs summary small { display: none; }
  .comparison-section { padding: 65px 0 80px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-card h3 { min-height: 0; }
  .comparison-sub { min-height: 0; }
  footer { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
