:root {
  color-scheme: light;
  --ink: #222b22;
  --muted: #5b655b;
  --paper: #fbfaf7;
  --white: #fffefa;
  --linen: #f1eadb;
  --green: #253b2e;
  --leaf: #416249;
  --sage: #ebefe7;
  --line: #d9dcd1;
  --rust: #8a3e2c;
  --clay: #f7e8df;
  --serif: Georgia, "Times New Roman", serif;
  font: 16px/1.52 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--green); }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
input { min-width: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font: 500 2.55rem/1.04 var(--serif); letter-spacing: -.043em; }
h1 { font-size: clamp(2.9rem, 5.6vw, 5.35rem); }
h3 { font-size: 1.12rem; line-height: 1.25; }
:focus-visible { outline: 3px solid #737e39; outline-offset: 4px; }
.shell { width: min(calc(100% - 3rem), 1150px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--white); padding: .6rem; z-index: 4; }
.skip:focus { top: .5rem; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 4.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1.15rem; }
.brand { font-weight: 750; font-size: 1.125rem; letter-spacing: -.035em; display: inline-flex; align-items: center; gap: .58rem; color: var(--green); text-decoration: none; }
.header-inner nav { display: flex; gap: 1.65rem; align-items: center; }
.header-inner nav a { text-decoration: none; font-size: .9rem; color: var(--muted); padding-block: .3rem; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: var(--green); box-shadow: 0 1px currentColor; }
.market { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.market span { padding-inline: .1rem; }
.hero { margin-block: 2rem 3rem; background: var(--linen); display: grid; grid-template-columns: 1fr 1.03fr; border-radius: 21px; overflow: clip; min-height: 365px; }
.hero-copy { padding: clamp(1.75rem, 4.4vw, 3.4rem); align-self: center; display: grid; justify-items: start; gap: 1.15rem; }
.eyebrow { font-size: .76rem; letter-spacing: .14em; font-weight: 750; color: var(--leaf); }
.hero-copy p:not(.eyebrow) { color: var(--muted); max-width: 36ch; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.button { display: inline-flex; text-align: center; align-items: center; justify-content: center; border: 1px solid var(--line); padding: .64rem .95rem; min-height: 44px; background: var(--white); color: var(--green); border-radius: 8px; font-size: .92rem; font-weight: 650; text-decoration: none; }
.button:hover { border-color: var(--leaf); }
.button-dark { background: var(--green); color: #fffdf5; border-color: var(--green); }
.button-dark:hover { background: #334e3d; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.15rem; }
.section-head p { color: var(--muted); margin-top: .4rem; }
.text-link, summary { color: var(--green); font-size: .9rem; font-weight: 650; text-underline-offset: .25em; }
summary { cursor: pointer; width: fit-content; }
.planner form { padding: 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: 15px; }
.form-grid, .fields, .result-grid, .guide-grid, .catalog-grid { display: grid; gap: 1rem; }
.form-grid { grid-template-columns: 1.06fr 1.3fr .92fr; gap: 1.75rem; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fields.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: .5rem; font-weight: 750; color: var(--green); }
label { display: grid; gap: .3rem; align-content: end; font-size: .86rem; font-weight: 550; }
.input-unit, select { width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; color: var(--ink); }
.input-unit { min-height: 43px; display: flex; align-items: center; padding-inline: .55rem; gap: .2rem; }
.input-unit > span { color: var(--muted); font-size: .84rem; }
.input-unit > input { width: 100%; min-height: 40px; padding: .25rem 0; border: 0; color: var(--ink); background: transparent; font-size: 1rem; font-variant-numeric: tabular-nums; }
.input-unit:focus-within { outline: 2px solid var(--leaf); outline-offset: 2px; }
.input-unit > input:focus-visible { outline: 0; }
select {
  min-height: 43px; appearance: none; padding: .45rem 1.5rem .45rem .55rem; font-size: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23416249' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right .55rem center; background-repeat: no-repeat;
}
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.1rem; margin-top: 1.15rem; }
.examples { display: flex; align-items: center; flex-wrap: wrap; gap: .42rem; }
.examples > span { color: var(--muted); font-size: .83rem; }
.chip, .pill { border: 1px solid var(--line); color: var(--green); background: var(--sage); min-height: 36px; border-radius: 999px; padding: .28rem .65rem; font-size: .81rem; }
.chip:hover { border-color: var(--leaf); }
.results, .guides-preview { margin-top: 3rem; }
.result-grid, .guide-grid, .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.result-card, .guide-link, .catalog-card { background: var(--white); border: 1px solid var(--line); border-radius: 13px; padding: 1.1rem; }
.result-card { display: grid; gap: .8rem; overflow-wrap: anywhere; }
.result-card header { display: grid; gap: .4rem; }
.result-card h3 { font: 500 1.57rem/1.1 var(--serif); letter-spacing: -.028em; }
.result-card .pill { justify-self: start; min-height: auto; font-weight: 700; }
.result-card .issue { background: var(--clay); border-color: #edd5c7; color: var(--rust); }
.result-card .fit-table { margin-top: -.1rem; }
.prices, .secondary { color: var(--muted); font-size: .88rem; }
.prices strong { color: var(--ink); }
.fit-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .84rem; }
.fit-table th, .fit-table td { text-align: right; padding: .42rem .1rem .42rem .4rem; }
.fit-table tr > :first-child { text-align: left; padding-left: 0; }
.fit-table thead { color: var(--muted); }
.fit-table tbody tr, .data-list li + li { border-top: 1px solid var(--line); }
.over { color: var(--rust); font-weight: 650; }
.callout { border-left: 2px solid var(--leaf); padding-left: .66rem; font-size: .9rem; }
.callout p { margin-top: .17rem; color: var(--muted); }
.toggle-line { display: flex; gap: .5rem; align-items: center; cursor: pointer; width: fit-content; }
.toggle-line input { width: 1.02rem; height: 1.02rem; accent-color: var(--green); margin: 0; }
.width-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .55rem; margin-top: .6rem; }
.source-list { list-style: none; padding: 0; margin: .45rem 0 0; display: grid; gap: .38rem; font-size: .84rem; }
.source-list li { border-top: 1px solid var(--line); padding-top: .35rem; }
.source-list span { display: block; color: var(--muted); }
.card-actions { display: flex; flex-wrap: wrap; gap: .45rem; padding-top: .62rem; border-top: 1px solid var(--line); }
.card-actions .button { min-height: 38px; padding: .35rem .6rem; }
.note { color: var(--muted); font-size: .84rem; margin-top: .8rem; max-width: 85ch; }
.guide-link, .catalog-card { display: grid; gap: .32rem; text-decoration: none; }
.guide-link:hover, .catalog-card:hover { border-color: var(--leaf); }
.guide-link strong, .catalog-card strong { font: 500 1.38rem/1.16 var(--serif); letter-spacing: -.025em; }
.guide-link span, .catalog-card small { color: var(--muted); font-size: .9rem; }
.site-footer { margin-top: 3.8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.inner-page { padding-top: 2.6rem; }
.inner-page > header { margin-bottom: 1.8rem; }
.inner-page > header p { max-width: 65ch; margin-top: .7rem; color: var(--muted); }
.inner-page h1 { font-size: clamp(2.7rem, 6vw, 4.25rem); }
.inner-page section + section { margin-top: 2rem; }
.inner-page h2 { margin-bottom: .8rem; font-size: 1.9rem; }
.article-copy { max-width: 71ch; }
.article-copy p + p { margin-top: .7rem; }
.article-copy .button { margin-top: .85rem; }
.breadcrumbs { margin-bottom: .8rem; font-size: .88rem; }
.detail-table { max-width: 640px; }
.detail-table th, .detail-table td { white-space: normal; }
.detail-table th:first-child { padding-right: .55rem; }
@media (max-width: 900px) {
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr 1.15fr; gap: 1.25rem; }
  .hero { min-height: 320px; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; gap: .2rem .8rem; padding-block: .65rem; }
  .header-inner nav { order: 3; width: 100%; gap: 1.1rem; }
  .market { font-size: .77rem; }
  .hero { margin: 1rem 0 2rem; grid-template-columns: 1fr; }
  .hero-copy { padding: 1.35rem; gap: .9rem; }
  .hero img { height: clamp(170px, 48vw, 255px); object-position: 65% 60%; }
  .section-head { align-items: start; flex-direction: column; gap: .25rem; }
  .form-grid, .result-grid, .guide-grid, .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .planner form { padding: 1rem; }
  .footer-inner { flex-wrap: wrap; justify-content: start; padding-block: .65rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
