/* Camilo Parets — public site. Lake water + citrus, for Polk County's
   chain of lakes and groves. One loud thing per page: the estimate. */
/* Self-hosted font (SIL Open Font License, see fonts/): no third-party requests.
   One family; its optical-size axis adapts it from body text to the big estimate. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --ink: #12343b;
  --water: #1f6f7f;
  --citrus: #ee8a1b;
  --citrus-soft: #fde7c4;
  --leaf: #2f6b3a;
  --paper: #f6f9f8;
  --panel: #ffffff;
  --line: #d3e0dd;
  --muted: #4d6a70;
  --foot-bg: #12343b;
  --foot-fg: #e3eeec;
  --plat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' fill='none' stroke='%2312343b' stroke-opacity='.07' stroke-width='1'%3E%3Cpath d='M0 40h260M0 130h260M0 220h260M50 0v40M120 0v40M190 0v40M30 40v90M95 40v90M170 40v90M225 40v90M65 130v90M140 130v90M205 130v90M40 220v40M115 220v40M180 220v40'/%3E%3Cpath d='M0 175c60-30 110 30 160 0s70-20 100-10' stroke-opacity='.06' stroke-width='5'/%3E%3C/svg%3E");
  --head: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e6f0ee;
    --water: #7cc4d2;
    --citrus: #f2a03d;
    --citrus-soft: #4a3313;
    --leaf: #8fd19a;
    --paper: #0f2328;
    --panel: #142d33;
    --line: #2b474d;
    --muted: #a9c1c5;
    --foot-bg: #0a191d;
    --foot-fg: #d6e5e2;
    --plat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' fill='none' stroke='%23e6f0ee' stroke-opacity='.06' stroke-width='1'%3E%3Cpath d='M0 40h260M0 130h260M0 220h260M50 0v40M120 0v40M190 0v40M30 40v90M95 40v90M170 40v90M225 40v90M65 130v90M140 130v90M205 130v90M40 220v40M115 220v40M180 220v40'/%3E%3Cpath d='M0 175c60-30 110 30 160 0s70-20 100-10' stroke-opacity='.05' stroke-width='5'/%3E%3C/svg%3E");
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-optical-sizing: auto;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}
img { max-width: 100%; height: auto; }
a { color: var(--water); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--citrus); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); font-weight: 800; letter-spacing: -.025em; max-width: 20ch; }
h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 700; margin-top: .2em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.wrap-text { max-width: 68ch; }
.block { padding-top: 2.5rem; padding-bottom: 1rem; }
.lede { font-size: 1.2rem; line-height: 1.5; }
.fine, .hint, .meta { color: var(--muted); font-size: .92rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--panel); padding: .5em 1em; z-index: 10; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 14px; }
.brand { text-decoration: none; color: var(--ink); display: grid; }
.brand-name { font-family: var(--head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.brand-tag { color: var(--muted); font-size: .9rem; }
.lang { font-weight: 700; white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; padding-top: 10px; padding-bottom: 10px; }
.nav a { color: var(--ink); text-decoration: none; white-space: nowrap; font-weight: 700; font-size: .98rem; padding: .2em 0; }
.nav a[aria-current="page"], .nav a:hover { box-shadow: inset 0 -3px 0 var(--citrus); }
@media (max-width: 520px) { .nav { gap: .1rem 1.1rem; } .nav a { font-size: .93rem; } }

/* hero */
.hero { background-image: var(--plat); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 2.5rem; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1.05fr; padding-top: 4rem; padding-bottom: 4rem; } }
.hero h1 { margin-bottom: .4em; }
.entity { max-width: 68ch; margin-bottom: 1.5rem; }

/* the tool */
.tool { background: var(--panel); border: 1px solid var(--line); border-top: 6px solid var(--citrus); padding: 1.25rem; border-radius: 4px; }
.tool-wide { margin-top: 1.5rem; }
.calc { display: grid; gap: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
@media (min-width: 640px) { .tool-wide .calc { grid-template-columns: 1fr 1fr; align-items: center; } }
.calc-inputs label { display: block; font-weight: 700; margin-top: .6rem; }
.calc-inputs label:first-child { margin-top: 0; }
.calc-inputs .hint { margin: .3rem 0 0; }
.calc-out { min-height: 9.5rem; }
.est-label { margin: 0; color: var(--muted); font-weight: 700; }
.est {
  font-family: var(--head); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  font-size: clamp(2.8rem, 8vw, 4.2rem); margin: .1em 0 .2em; font-variant-numeric: tabular-nums;
}
.est span { background: linear-gradient(transparent 64%, var(--citrus-soft) 64%); padding: 0 .06em; }
.est-range { font-weight: 700; margin-bottom: .3em; }
.est-basis { color: var(--muted); font-size: .92rem; margin: 0; }
.calc-empty { color: var(--muted); }

/* payment and net calculators */
.calc2 { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .calc2 { grid-template-columns: 1.1fr 1fr; align-items: start; } .calc2 .calc-note { grid-column: 1 / -1; } }
.calc2-in { display: grid; gap: .8rem 1rem; grid-template-columns: 1fr 1fr; align-content: start; }
.calc2-in label { font-weight: 700; display: flex; flex-direction: column; justify-content: space-between; font-size: .95rem; }
.calc2-in .wide { grid-column: 1 / -1; }
@media (max-width: 420px) { .calc2-in { grid-template-columns: 1fr; } }
.breakdown { margin: .4rem 0 .8rem; }
.breakdown div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-top: 1px solid var(--line); }
.breakdown dt { color: var(--muted); }
.breakdown dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-note { margin: 0; }
.steps { padding-left: 1.3em; }
.steps li { margin: .55em 0; }
.report-form { margin: 0; }
.ready .hint { margin: -.4rem 0 .2rem; color: var(--muted); font-size: .88rem; }
.ready-level { font-family: var(--head); font-weight: 800; font-size: 1.6rem; line-height: 1.15; margin: .1em 0 .35em; }
.ready-title { grid-column: 1 / -1; margin: 0; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; }
.ready-level[data-level] { padding-left: .6rem; border-left: 6px solid var(--citrus); }
.ready-level[data-level="0"] { border-left-color: #c2671a; }
.ready-level[data-level="2"] { border-left-color: #2f8a5f; }
.checks { list-style: none; padding: 0; margin: .2rem 0 .5rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-weight: 700; font-size: .95rem; }
.checks .todo { color: var(--muted); font-weight: 600; }
.warn { color: #9a4a0b; }
.check { display: flex; gap: .55rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: .4rem 0 .2rem; }
.check input { width: auto; margin-top: .2rem; flex: none; }
.est-sm { font-size: clamp(2rem, 6vw, 2.8rem); }
.plan { padding-left: 1.2em; margin: .6rem 0 1rem; }
.plan li { margin: .35em 0; }

/* forms */
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 6px; padding: .65em .75em; margin-top: .3rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--water); }
.lead-form .form-title { font-size: 1.3rem; }
.fields { display: grid; gap: .9rem 1rem; margin: 1rem 0; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .fields .wide { grid-column: 1 / -1; } }
.fields label { font-weight: 700; display: block; }
.consent { font-size: .85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-block; font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  border-radius: 6px; padding: .8em 1.25em; border: 2px solid transparent; margin: .2rem .4rem .2rem 0;
}
.btn-main { background: var(--citrus); color: #1d1204; }
.btn-main:hover { filter: brightness(1.06); }
.btn-quiet { border-color: var(--water); color: var(--water); background: transparent; }

/* content */
.helps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 760px) { .helps { grid-template-columns: 1fr 1fr; } }
.helps li { border-top: 2px solid var(--ink); padding-top: .9rem; }
.helps p { margin: 0; }
.qlist { padding-left: 1.2em; }
.qlist li { margin: .45em 0; }
.links a { margin-right: 1.4rem; }

.faq div, .facts div { padding: .9rem 0; border-top: 1px solid var(--line); }
.faq dt, .facts dt { font-weight: 700; }
.faq dd, .facts dd { margin: .2rem 0 0; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 1.5rem 0; border-top: 2px solid var(--ink); }
.stats div { padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); }
.stats dt { color: var(--muted); font-size: .92rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats dd { margin: .15rem 0 0; font-family: var(--head); font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; }
table.data, .chart table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data th, .data td, .chart th, .chart td { text-align: left; padding: .55rem .75rem .55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data thead th, .chart thead th { font-size: .88rem; color: var(--muted); border-bottom: 2px solid var(--ink); }
.data td:not(:first-child):not(:nth-child(2)) { white-space: nowrap; }

.chart { margin: 2rem 0; max-width: 760px; }
.chart figcaption { font-family: var(--head); font-weight: 700; font-size: 1.15rem; margin-bottom: .5rem; }
.chart svg { width: 100%; height: auto; display: block; }
.chart rect { fill: var(--water); }
.chart rect:hover { fill: var(--citrus); }
.chart .ax { fill: var(--muted); font: 12px var(--body); }
.chart .val { fill: var(--ink); font: 700 13px var(--body); }
.chart .base { stroke: var(--line); stroke-width: 1; }
.chart details { margin-top: .6rem; }
.chart summary { cursor: pointer; color: var(--water); font-weight: 700; }

.two { display: grid; gap: 1rem 2.5rem; }
@media (min-width: 760px) { .two { grid-template-columns: 1fr 1fr; } }

.crumbs { padding-top: 1.25rem; font-size: .92rem; color: var(--muted); }
article h1, .wrap > h1 { margin-top: 1.25rem; }
.answer { border-left: 6px solid var(--water); background: var(--panel); padding: 1rem 1.25rem; margin: 1.25rem 0 2rem; }
.answer-label { font-weight: 700; margin: 0 0 .3rem; color: var(--water); }
.answer p:last-child { margin: 0; font-size: 1.08rem; }
.prose h2 { margin-top: 1.8em; }
.prose li { margin: .3em 0; }
.sources { font-size: .95rem; }
.guide-list { list-style: none; padding: 0; }
.guide-list li { border-top: 1px solid var(--line); padding: 1.1rem 0 .4rem; max-width: 72ch; }
.guide-list h2 { font-size: 1.25rem; }

.about { display: grid; gap: 1.5rem; padding-top: 1.5rem; }
@media (min-width: 760px) { .about { grid-template-columns: 200px 1fr; } }
.portrait { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.monogram { display: grid; place-items: center; background: var(--ink); color: var(--citrus); font: 800 3.2rem var(--head); letter-spacing: -.04em; }

.cta { margin-top: 3rem; margin-bottom: 2rem; }
.cta-inner { max-width: 68ch; border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.cta-actions { margin: 0; }

/* footer */
.foot { background: var(--foot-bg); color: var(--foot-fg); margin-top: 3rem; padding: 2.5rem 0 2rem; font-size: .95rem; }
.foot a { color: var(--foot-fg); }
.foot-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1fr 1.4fr; } }
.foot-name { font-family: var(--head); font-weight: 800; font-size: 1.2rem; margin-bottom: .2em; }
.brokerage strong { font-weight: 700; }
.eho { display: flex; align-items: center; gap: .5rem; }
.eho-icon { width: 26px; height: 26px; flex: none; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .top, .foot, .tool, .cta { display: none; } }

/* ZIP price map: one-hue sequential ramp (light -> dark = low -> high $/sq ft);
   dark mode flips the anchor so low values sit near the surface. */
:root {
  --seq-0: #d9eef0; --seq-1: #a8d5dc; --seq-2: #6eb5c2; --seq-3: #3a8ea0; --seq-4: #1b5e6c;
  --nd-bg: #edf1f0; --nd-line: #c9d5d3; --hi: #ee8a1b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --seq-0: #1f4950; --seq-1: #2b6874; --seq-2: #3f8c99; --seq-3: #62b2bf; --seq-4: #a6dbe3;
    --nd-bg: #1a3237; --nd-line: #2e4a50; --hi: #f2a03d;
  }
}
.map { margin: 1.5rem 0 1.25rem; max-width: 860px; }
.map figcaption { margin-bottom: .6rem; }
.map-title { font-family: var(--head); font-weight: 700; font-size: 1.15rem; display: block; }
.map-frame { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 8px; }
.map svg { width: 100%; height: auto; display: block; }
.map .zips path { stroke: var(--panel); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.map .q0, .sw.q0 { fill: var(--seq-0); background: var(--seq-0); }
.map .q1, .sw.q1 { fill: var(--seq-1); background: var(--seq-1); }
.map .q2, .sw.q2 { fill: var(--seq-2); background: var(--seq-2); }
.map .q3, .sw.q3 { fill: var(--seq-3); background: var(--seq-3); }
.map .q4, .sw.q4 { fill: var(--seq-4); background: var(--seq-4); }
.map .nd { fill: var(--hatch); }
.map .hatch-bg { fill: var(--nd-bg); }
.map .hatch-line { stroke: var(--nd-line); stroke-width: 3; }
.map a.zip:hover path, .map a.zip:focus path { stroke: var(--ink); stroke-width: 3; }
.map a.zip:focus { outline: none; }
.map .county { fill: none; stroke: var(--ink); stroke-opacity: .7; stroke-width: 1.5; vector-effect: non-scaling-stroke; pointer-events: none; }
.map-label { font: 700 17px var(--body); fill: var(--ink); paint-order: stroke; stroke: var(--panel); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
@media (max-width: 640px) { .map-label { display: none; } }
.map-tip { position: absolute; z-index: 2; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; padding: .45rem .6rem; font-size: .9rem; line-height: 1.35; box-shadow: 0 2px 8px rgba(18,52,59,.12); pointer-events: none; min-width: 150px; }
.map-tip strong, .map-tip span { display: block; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; padding: 0; margin: .75rem 0 0; font-size: .9rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: .4rem; }
.sw { width: 18px; height: 12px; border-radius: 2px; display: inline-block; border: 1px solid var(--line); }
.sw.nd { background: repeating-linear-gradient(45deg, var(--nd-bg) 0 3px, var(--nd-line) 3px 5px); }
.zip-top { display: grid; gap: 1rem 2rem; align-items: start; }
@media (min-width: 900px) { .zip-top { grid-template-columns: 1fr 260px; } }
.locator { margin: 1.5rem 0 0; }
.locator svg { width: 100%; max-width: 260px; height: auto; display: block; }
.locator .others path { fill: var(--nd-bg); stroke: var(--panel); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.locator .this { fill: var(--hi); stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.locator .county { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.locator figcaption { margin-top: .3rem; }

/* Photos (free-licensed, credited in the caption) */
.photo { margin: 1.5rem 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: 4px; background: var(--line); }
.photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; display: flex; flex-wrap: wrap; gap: .2rem .6rem; }
.photo figcaption span:first-child { color: var(--ink); font-weight: 700; }
.photo .credit a { color: var(--muted); }
.photo.wide img { aspect-ratio: 3 / 1; object-fit: cover; }
@media (max-width: 640px) { .photo.wide img { aspect-ratio: 16 / 9; } }
.photo.band { margin: 0; }
.photo.band img { border-radius: 0; aspect-ratio: 7 / 1; min-height: 120px; object-fit: cover; }
.photo.band figcaption { max-width: 1100px; margin: .4rem auto 0; padding: 0 16px; }

/* Booking (Google Calendar appointment page) */
.booking-frame { margin: 1.5rem 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; }
.booking-frame iframe { display: block; width: 100%; height: 760px; border: 0; }
@media (max-width: 640px) { .booking-frame iframe { height: 900px; } }

/* Points of contact carry the brokerage name right next to them (FREC 61J2-10.025) */
.contact-block { margin: 1rem 0 1.5rem; }
.contact-meta { font-size: .92rem; color: var(--muted); margin: .4rem 0 0; }
.contact-meta a { color: var(--water); }
.brk strong { color: var(--ink); }
.after { margin-top: 1.1rem; font-size: .95rem; }
.after-title { font-weight: 700; margin: 0 0 .2rem; }
.after ol { margin: 0; padding-left: 1.3em; }
.after li { margin: .15em 0; }

/* Hero introduction with headshot */
.intro-card { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: start; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 2px solid var(--ink); max-width: 560px; }
.intro-card .avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--citrus); }
.intro-hello { font-weight: 700; font-size: 1.08rem; margin: 0 0 .3rem; }
.intro-card .contact-block { margin: 0; }
@media (max-width: 420px) { .intro-card { grid-template-columns: 72px 1fr; } .intro-card .avatar { width: 72px; height: 72px; } }
.portrait { box-shadow: 0 0 0 5px var(--citrus); }

.city-list { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.city-list a { display: inline-block; padding: .35rem .75rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--ink); background: var(--panel); }
.city-list a:hover { border-color: var(--water); }
.helps h3 a { color: var(--ink); text-decoration-color: var(--citrus); }

/* ZIP pages: seller / buyer split */
.split { background: var(--panel); border-left: 4px solid var(--citrus); padding: .8rem 1rem; }

/* phones: call / book bar */
.mbar { display: none; }
@media (max-width: 700px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: 1fr 1fr;
          gap: .4rem; padding: .45rem .6rem calc(.45rem + env(safe-area-inset-bottom)); background: var(--ink);
          box-shadow: 0 -2px 10px rgba(0,0,0,.18); }
  .mbar a { text-align: center; font-weight: 800; text-decoration: none; padding: .6rem; border-radius: 6px;
            background: var(--citrus); color: #1d1204; }
  .mbar a + a { background: transparent; color: var(--paper); border: 2px solid var(--water); }
  .mbar-brk { grid-column: 1 / -1; text-align: center; font-size: .72rem; color: var(--paper); opacity: .9; }
  body { padding-bottom: 5.4rem; }
}

/* buyer plan dashboard */
.ready > .calc2 { margin-bottom: 1.25rem; }
.ready-title { grid-column: 1 / -1; }
.dash { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.dash h3 { margin: .2rem 0 .8rem; }
.dgrid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 1.4rem; }
.dcard { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem;
         box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.dcard[hidden] { display: none; }
.dcard-h { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: 0 0 .35rem;
           font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; }
.pill { font-size: .75rem; letter-spacing: 0; text-transform: none; padding: .15rem .55rem; border-radius: 999px;
        background: #f6dcc4; color: #7a3d08; }
.pill[data-ok="1"] { background: #d3eddf; color: #1d5c3d; }
.pill[hidden] { display: none; }
.dbig { font-family: var(--head); font-weight: 800; font-size: 1.9rem; line-height: 1.1; margin: .1rem 0 .5rem;
        font-variant-numeric: tabular-nums; }
.dbar { height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; margin-bottom: .6rem; }
.dbar span { display: block; height: 100%; width: 0; border-radius: 6px; background: #c2671a; transition: width .25s ease; }
.dbar span[data-ok="1"] { background: #2f8a5f; }
.dtext { margin: .3rem 0; font-size: .92rem; }
.whatif { display: block; font-size: .88rem; font-weight: 700; margin-top: .6rem; }
.whatif input[type="range"] { width: 100%; padding: 0; margin-top: .3rem; accent-color: var(--citrus); border: 0; background: transparent; }
.zips { list-style: none; padding: 0; margin: .3rem 0 0; display: grid; gap: .25rem; font-size: .92rem; }
.plan label { display: flex; gap: .5rem; align-items: flex-start; cursor: pointer; }
.plan input[type="checkbox"] { width: auto; margin-top: .25rem; flex: none; }
.plan { list-style: none; padding-left: 0; }
.method li { margin: .45em 0; }
@media (prefers-color-scheme: dark) {
  .pill { background: #5a3416; color: #ffd9b8; }
  .pill[data-ok="1"] { background: #1d4a35; color: #c9f0da; }
}
@media print {
  body.print-plan header, body.print-plan footer, body.print-plan nav, body.print-plan .mbar,
  body.print-plan .noprint, body.print-plan .lead-form, body.print-plan .cta, body.print-plan main > *:not(.wrap),
  body.print-plan .method, body.print-plan .calc2-in { display: none !important; }
  body.print-plan .dcard { break-inside: avoid; }
}
