/* Plugging Index. Design language: paper background, ink and steel type, 1px rules,
   4-8px radii, almost no elevation). Colour: petroleum teal is the accent and marks high confidence, a muted blue-grey
   marks moderate confidence, and the state map uses a warm sequential scale. See reports/design_notes.md. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/a/fonts/bricolage-grotesque-700.4c373ce3c1.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/a/fonts/bricolage-grotesque-800.3e1b5f0a56.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/a/fonts/dm-sans-400.4ab51eb2cd.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/a/fonts/dm-sans-500.19bf198495.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/a/fonts/dm-sans-700.35c5efa0e5.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/a/fonts/ibm-plex-mono-400.08949f728d.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/a/fonts/ibm-plex-mono-500.01d2854474.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* paper, ink and steel */
  --bg: #FBF3E4; --surface: #FFFFFF; --surface-2: #F5EBD6; --surface-3: #CDBFA5; --line: #EADFCB; --line-soft: #F1E8D6;
  --graphite: #0B1F24; --graphite-2: #12303A; --ink: #0B1F24; --ink-2: #454A52; --ink-3: #5B5F66; --gold: #F2A93B;
  /* petroleum teal: links, buttons, chart marks, grade badges */
  --accent: #0B5563; --accent-600: #094651; --accent-700: #073A44; --accent-soft: #6FA7B1; --accent-wash: #E1EEF0;
  --accent-line: #A9C9CF; --accent-ring: rgba(11, 85, 99, .30); --on-accent: #FFFFFF; --accent-on-dark: #8FD3CE;
  --warn: #8A4F00; --warn-wash: #FBF1DF; --warn-line: #E3BE7A; --neg: #A8331F; --ok: #1F6B4A;
  /* muted blue-grey: moderate confidence (badges, chart marks); amber: third stat card */
  --mod: #4F6D82; --mod-700: #34505F; --mod-wash: #E9EFF3; --mod-line: #B9C9D4; --amber: #A8630A;
  --map-none: #F4F4F0; --map-thin: #DDDDD6;
  --radius: 8px; --radius-sm: 5px; --radius-xs: 3px; --maxw: 1180px; --gut: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(17, 24, 32, .05);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "Bricolage Grotesque", "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--accent); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-700); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* header */
header.site { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.12rem/1 var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo svg { width: 26px; height: 26px; flex: none; }
.logo:hover { color: var(--ink); }
nav.main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-left: auto; font-size: .875rem; }
nav.main a { color: var(--ink-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; font-weight: 500; }
nav.main a:hover { color: var(--ink); }
nav.main a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
nav.main a.btn { color: var(--on-accent); padding: .5rem .9rem; border: 0; font-weight: 600; white-space: nowrap; }
.preview-banner { background: var(--warn-wash); color: var(--warn); font-size: .8rem; padding: 6px 0; border-bottom: 1px solid var(--warn-line); }

/* type */
main { padding: 0 0 4rem; }
main > .wrap { padding-top: 2.4rem; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(1.85rem, 1.35rem + 1.7vw, 2.6rem); letter-spacing: -.024em; font-weight: 720; margin-bottom: .6rem; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); letter-spacing: -.02em; font-weight: 700; margin: 3rem 0 .8rem; }
h3 { font-size: 1.06rem; font-weight: 650; margin: 1.6rem 0 .4rem; }
main h4 { font: 650 .95rem/1.3 var(--sans); color: var(--ink); margin: 1.3rem 0 .35rem; }
[id] { scroll-margin-top: 84px; }
.toc { font-size: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .6rem .9rem; max-width: none; }
p { margin: 0 0 .8rem; max-width: 72ch; overflow-wrap: break-word; }
main p a, main li a { overflow-wrap: anywhere; }
ul { max-width: 76ch; padding-left: 1.2rem; }
li { margin-bottom: .35rem; }
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 66ch; }
.meta { font-size: .82rem; color: var(--ink-3); }
.eyebrow { font-size: .74rem; font-weight: 670; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .5rem; }
.eyebrow::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 8px; }

/* cards, grids, stats */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.35rem; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; }
.grid.k3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid.k2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.stat .label { font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.stat .value { font: 500 1.75rem/1.2 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); margin: 6px 0 4px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.stat .sub { font-size: .82rem; color: var(--ink-3); }

/* confidence: plain name with a small A/B badge. A (high) solid accent, B (moderate) muted blue-grey, insufficient neutral */
.conf { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; white-space: nowrap; color: var(--accent-700); }
.conf.B { color: var(--mod-700); }
abbr.def { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.grade { display: inline-block; min-width: 24px; text-align: center; font: 700 .72rem/20px var(--sans); letter-spacing: .04em; border-radius: var(--radius-xs); padding: 0 6px; vertical-align: 1px; border: 1px solid transparent; }
.grade.A { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.grade.B { background: var(--mod-wash); color: var(--mod-700); border-color: var(--mod-line); }
.insufficient { display: inline-block; font: 600 .72rem/20px var(--sans); color: var(--ink-3); background: var(--surface-2); border: 1px solid var(--surface-3); border-radius: var(--radius-xs); padding: 0 7px; white-space: nowrap; }

/* tables */
.table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .875rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
th { font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); font-weight: 650; white-space: nowrap; background: var(--surface-2); border-bottom: 1px solid var(--line); }
td.num, th.num { text-align: right; white-space: nowrap; }
td.num { font-family: var(--mono); font-size: .84rem; color: var(--ink); }
tbody tr:hover { background: var(--accent-wash); }
td a { font-weight: 550; }

.note { background: var(--warn-wash); color: var(--warn); border: 1px solid var(--warn-line); border-left-width: 3px; border-radius: var(--radius-sm); padding: 10px 14px; font-size: .875rem; margin: 14px 0; max-width: 78ch; }
.note a { color: inherit; }

/* charts */
figure { margin: 16px 0; }
figure .chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px 8px; position: relative; overflow-x: auto; }
figcaption { font-size: .8rem; color: var(--ink-3); margin-top: 6px; max-width: 80ch; }
svg.chart-svg { display: block; width: 100%; min-width: 560px; height: auto; font: 12px var(--sans); }
svg .axis { stroke: var(--surface-3); stroke-width: 1; }
svg .gridline { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
svg text { fill: var(--ink-3); }
svg text.lbl { fill: var(--ink-2); }
svg text.val { fill: var(--ink); font-weight: 600; font-family: var(--mono); }
svg .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
svg .dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
svg .dot.b { fill: var(--mod); }
svg .bar { fill: var(--accent); }
svg .range { fill: var(--accent-line); }
svg .iqr { fill: var(--accent); }
svg .range.gB { fill: var(--mod-line); }
svg .iqr.gB { fill: var(--mod); }
svg .median { stroke: var(--ink); stroke-width: 2; }
svg .hit { fill: transparent; cursor: default; }
svg .bridge { fill: none; stroke: #8A949C; stroke-width: 1.5; stroke-dasharray: 4 4; }
svg .hit-line { fill: none; stroke: transparent; stroke-width: 26; pointer-events: stroke; cursor: default; }
.tip { position: absolute; pointer-events: none; background: var(--graphite); color: #fff; font-size: .75rem; line-height: 1.4; padding: 6px 8px; border-radius: var(--radius-xs); white-space: pre-line; z-index: 5; max-width: 240px; display: none; }

/* forms and buttons */
form .row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 12px; }
label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
label .opt { font-weight: 400; color: var(--ink-3); }
input, select, textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--surface); border: 1px solid var(--surface-3); border-radius: var(--radius-sm); padding: .6rem .7rem; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
textarea { min-height: 96px; resize: vertical; }
button, .btn { display: inline-flex; align-items: center; gap: .45rem; font: 600 .92rem/1.2 var(--sans); background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); border-radius: var(--radius-sm); padding: .68rem 1.1rem; cursor: pointer; text-decoration: none; }
button:hover, .btn:hover { background: var(--accent-600); border-color: var(--accent-600); color: var(--on-accent); }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--surface-3); }
.btn.secondary:hover { background: var(--surface-2); color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.result { margin-top: 18px; }
.result .range { font: 500 1.9rem/1.2 var(--mono); color: var(--ink); letter-spacing: -.02em; }
.result dl { display: grid; grid-template-columns: max-content 1fr; gap: 5px 18px; font-size: .875rem; margin: 12px 0 0; }
.result dt { color: var(--ink-3); }
.result dd { margin: 0; color: var(--ink); }
.formmsg { margin-top: 12px; font-size: .875rem; font-weight: 550; }
.formmsg.ok { color: var(--ok); }
.formmsg.err { color: var(--neg); }

/* home: hero with the estimator inline (light, on a wash of the accent) */
.hero { background: linear-gradient(180deg, var(--accent-wash) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); padding: clamp(2rem, 4.5vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.4rem); }
.hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem); max-width: 22ch; margin-bottom: .7rem; }
.hero .lede { font-size: 1.12rem; max-width: 52ch; margin-bottom: 1.4rem; }
.est { border-top: 3px solid var(--accent); }
.est .row { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.est-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.res.gA { border-top: 3px solid var(--accent); }
.res.gB { border-top: 3px solid var(--mod); }

/* home: three stat cards, one colour each */
.statcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.statcard { display: block; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.15rem; box-shadow: var(--shadow); text-decoration: none; color: var(--ink-2); }
.statcard:hover { border-color: var(--accent-line); border-top-color: var(--accent); color: var(--ink-2); }
.statcard.c2, .statcard.c2:hover { border-top-color: var(--mod); }
.statcard.c3, .statcard.c3:hover { border-top-color: var(--amber); }
.statcard.c4, .statcard.c4:hover { border-top-color: var(--graphite); }
.statcard span { display: block; }
.statcard .k { font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.statcard .v { font: 500 clamp(2rem, 1.3rem + 2vw, 2.9rem)/1.1 var(--mono); letter-spacing: -.03em; color: var(--ink); margin: 4px 0 2px; }
.statcard .s { font-size: .95rem; }

/* home: bands and sections */
.band-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 3.2rem; padding-bottom: 3.2rem; }
.section.tight { padding-top: 1.8rem; padding-bottom: 2.2rem; }
.section > h2:first-child, .section > .eyebrow + h2 { margin-top: 0; }
.covband { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-bottom: 1rem; }
.covband figure { margin: 0; }

/* state map: sequential colour by median cost; states without a published estimate stay neutral */
.usmap svg { display: block; width: 100%; height: auto; }
.usmap path { stroke: #FFFFFF; stroke-width: .8; }
.usmap .m-cost { stroke: #5C3A1E; stroke-width: .6; }
.usmap a:hover path, .usmap a:focus path { stroke: var(--ink); stroke-width: 1.6; }
.usmap .m-thin { fill: var(--map-thin); } .usmap .m-none { fill: var(--map-none); stroke: var(--surface-3); }
.scale { display: flex; align-items: center; gap: 10px; margin-top: 12px; font: 500 .8rem var(--mono); color: var(--ink); }
.scale i { flex: 1; height: 12px; border-radius: 3px; border: 1px solid rgba(17, 24, 32, .12); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 8px 0 0; font-size: .82rem; color: var(--ink-2); max-width: none; }
.legend li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; border: 1px solid rgba(17, 24, 32, .12); }

/* home: trust strip and sign-up band */
.trust { background: var(--accent-wash); border-top: 1px solid var(--accent-line); border-bottom: 1px solid var(--accent-line); padding: 1.5rem 0; }
.trust ul { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.trust li { margin: 0; padding-left: 28px; position: relative; font-size: .95rem; color: var(--ink-2); }
.trust li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.trust li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.trust strong { color: var(--ink); }
.signup-band { background: var(--accent-700); color: #C4E3E0; padding: 2.6rem 0; }
.signup-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.signup-band h2 { color: #fff; margin: 0 0 .4rem; }
.signup-band p { margin: 0; }
.signup-band label { color: #fff; }
.signup-band button { background: #fff; color: var(--accent-700); border-color: #fff; }
.signup-band button:hover { background: var(--accent-wash); color: var(--accent-700); border-color: var(--accent-wash); }
.signup-band .formmsg.ok { color: #fff; } .signup-band .formmsg.err { color: #FFD9CF; }
.signup .row { margin-bottom: 12px; }
.formmsg .btn.dl { margin-top: 10px; }

/* report section on the Cost Index page */
.reportbox { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.5rem 1.6rem; margin: 2rem 0 0; box-shadow: var(--shadow); }
.reportbox h2 { margin: 0 0 .8rem; font-size: 1.3rem; }
.reportbox h3 { margin-top: 0; }
.reportbox ul { font-size: .92rem; }
.reportbox .card { box-shadow: none; background: var(--surface-2); }
.reportbox .signup .row { grid-template-columns: 1fr; }

.props { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.prop { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
a.prop { color: var(--ink-2); display: block; }
a.prop:hover { border-color: var(--accent-line); color: var(--ink-2); }
.prop h3 { margin: 0 0 .4rem; }
.prop p { margin: 0; font-size: .92rem; }
.prop .who { font: 500 .74rem var(--mono); color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }

/* paid tier: Pro prompt, pricing, account, portfolio */
.protag { display: inline-block; font: 700 .68rem/20px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--amber); border-radius: var(--radius-xs); padding: 0 8px; vertical-align: 2px; }
.prolock { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 2rem 0 0; box-shadow: var(--shadow); }
.prohead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prohead h2 { margin: 0; font-size: 1.25rem; }
.lockgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 28px; margin: .6rem 0 1rem; }
.lockcol h3 { margin: .8rem 0 .3rem; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); font-family: var(--sans); font-weight: 650; }
.lockcol ul { list-style: none; padding: 0; margin: 0; }
.lockcol li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line-soft); margin: 0; font-size: .9rem; }
.lockcol li.more { color: var(--ink-3); border-bottom: 0; }
.mask { font-family: var(--mono); color: var(--ink-3); background: var(--surface-2); border-radius: 3px; padding: 0 6px; user-select: none; filter: blur(1.5px); }
.proask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: .4rem 0 0; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 1.4rem 0 2rem; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border-top-color: var(--accent); border-color: var(--accent-line); }
.plan:nth-child(3) { border-top-color: var(--mod); }
.plan:nth-child(4) { border-top-color: var(--amber); }
.plan h2 { margin: 0 0 .3rem; font-size: 1.2rem; }
.plan .protag { position: absolute; top: 14px; right: 14px; background: var(--accent); }
.plan .price { font: 500 1.9rem/1.1 var(--mono); color: var(--ink); letter-spacing: -.03em; margin: .2rem 0 .8rem; }
.plan .price span { font: 400 .85rem var(--sans); color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.plan ul { padding-left: 1.1rem; font-size: .9rem; flex: 1; }
.plan p:last-of-type { margin: .6rem 0 0; }
.plan button.btn { width: 100%; justify-content: center; }
.acct h2 { margin: 0 0 .8rem; font-size: 1.15rem; }
.acct .row { grid-template-columns: 1fr; }
[hidden] { display: none !important; }
.bigfig { font: 500 2.2rem/1.15 var(--mono); color: var(--ink); letter-spacing: -.03em; }
.pf-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 12px 0; }
.pf-sum .card { padding: 1rem 1.1rem; }
.estlock { border-left: 4px solid var(--amber); }

/* photography: bright daytime hero. The text sits on the left over a plain light ground; the photo fills the right 72%, mirrored so the
   pumpjack stands on the right, and fades into the light ground along its left edge (a mask, so no overlay covers the subject). */
.hero.photo { position: relative; isolation: isolate; background: linear-gradient(90deg, #FFFFFF 0%, #F4F7F9 32%, #E6EDF1 100%); border-bottom: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 3.2rem) 0 clamp(1.6rem, 3vw, 2.4rem); --hero-x: 50%; --hero-y: 50%; --hero-x-m: 50%; --hero-y-m: 55%; min-height: clamp(420px, 34vw, 600px); }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media picture { position: absolute; top: 0; right: 0; bottom: 0; width: 72%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.hero-media picture, .hero-media img { display: block; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-x) var(--hero-y); }
.hero.photo h1 { color: var(--ink); }
.hero.photo .lede { color: var(--ink); }
.hero.photo .eyebrow { color: var(--ink-2); }
.hero.photo .est { max-width: 920px; border-top: 3px solid var(--accent); }
.hero.photo .result > .meta { color: var(--ink-2); }
/* estimator: one compact row (four fields and the button), small labels above each field */
.est { padding: .7rem 1rem .8rem; }
.est-row { display: grid; grid-template-columns: 1.15fr 1.15fr 1.15fr .8fr auto; gap: 10px 12px; align-items: end; }
.est label { font-size: .74rem; margin-bottom: 3px; }
.est select, .est input { height: 42px; padding: .3rem .65rem; font-size: .92rem; }
.est .est-btn button { height: 42px; padding: 0 1.25rem; white-space: nowrap; justify-content: center; }
#e-county-note { margin-top: 6px; font-size: .78rem; }
#e-county-note:empty { display: none; }
main.flush { padding-bottom: 0; }
main.endgap { padding-bottom: 32px; }   /* pages that used to end with the notice: about 32 px (24 px on a phone) above the footer */
main.endgap > .wrap > :last-child { margin-bottom: 0; }   /* a page that ends with a full-width band meets the footer directly */
.photocards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.photocard { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--graphite-2); color: #fff; text-decoration: none; }
.photocard:hover { border-color: var(--accent-line); color: #fff; }
.photocard picture, .photocard img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.photocard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 11, .94) 0%, rgba(8, 9, 11, .82) 42%, rgba(8, 9, 11, 0) 84%); }
.pc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 3px; padding: 16px 18px; }
.pc-body .who { font: 500 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-on-dark); }
.pc-body strong { font: 650 1.08rem/1.2 var(--display); }
.pc-body .line { font-size: .86rem; line-height: 1.4; color: #E3E8EC; }
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 1.4rem; }
.beforeafter figure { margin: 0; }
.beforeafter img, .guide-photo { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.beforeafter figcaption { font-size: .84rem; color: var(--ink-2); margin-top: 6px; }
.guide-hero { margin: 0 0 1.2rem; }

.contribute { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 2rem 0 0; box-shadow: var(--shadow); }
.contribute h2 { margin: 0 0 .5rem; font-size: 1.3rem; }
.contribute p:last-child { margin-bottom: 0; }
.note.coverage { background: var(--accent-wash); color: var(--ink-2); border-color: var(--accent-line); border-left-color: var(--accent); }
.coverage-card { border-left: 4px solid var(--amber); margin-bottom: 12px; }
ul.plain-list { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .9rem; }

/* About: methodology sections, each collapsed with a one-line summary */
details.msec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: .55rem 0; box-shadow: var(--shadow); }
details.msec > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding: .7rem 2.4rem .7rem 1rem; cursor: pointer; list-style: none; position: relative; }
details.msec > summary::-webkit-details-marker { display: none; }
details.msec > summary::after { content: "+"; position: absolute; right: 1rem; top: .55rem; font: 500 1.2rem/1.2 var(--mono); color: var(--accent); }
details.msec[open] > summary::after { content: "−"; }
details.msec[open] > summary { border-bottom: 1px solid var(--line); }
details.msec .mt { font: 650 1rem var(--display); color: var(--ink); }
details.msec .ms { font-size: .88rem; color: var(--ink-2); }
details.msec .mbody { padding: .8rem 1rem 1rem; }
details.msec .mbody > :first-child { margin-top: 0; }
details.msec .mbody > :last-child { margin-bottom: 0; }

/* footer */
footer.site { background: var(--graphite); color: #9AA5AE; padding: 40px 0 36px; font-size: .86rem; margin-top: 0; }
footer.site a { color: #D5DBE0; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot-brand { font: 700 1.05rem var(--display); color: #fff; letter-spacing: -.02em; }
.foot-grid h4 { margin: 0 0 .6rem; font: 650 .72rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #C9D1D8; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 0 0 .35rem; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 26px; padding-top: 16px; font-size: .8rem; max-width: none; }
ul.plain { list-style: none; padding: 0; margin: 0; columns: 3 180px; }
ul.plain li { padding: 3px 0; break-inside: avoid; }

@media (max-width: 900px) {
  .covband, .signup-band .wrap, .reportbox { grid-template-columns: minmax(0, 1fr); }
  .photocards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* phone and tablet: the photo becomes a full-width banner above the text, centred on the pumpjack; the text sits on plain light ground */
  .hero.photo { background: var(--bg); padding-top: 0; min-height: 0; }
  .hero-media { position: relative; z-index: 0; height: clamp(210px, 36vw, 330px); margin-bottom: 1.1rem; }
  .hero-media picture { position: static; width: 100%; height: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero-media img { object-position: var(--hero-x-m) var(--hero-y-m); }
  .est-row { grid-template-columns: 1fr 1fr; }
  .est .est-btn { grid-column: 1 / -1; }
  .est .est-btn button { width: 100%; }
  .props { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-grid > div:first-child p { margin: .3rem 0 0; }
}
@media (max-width: 600px) {
  header.site { position: static; }
  nav.main { margin-left: 0; gap: 2px 16px; }
  .props, .statcards, .trust ul, .plans, .photocards, .beforeafter, .est-row { grid-template-columns: 1fr; }
  main.endgap { padding-bottom: 24px; }
  .reportbox { padding: 1.1rem; }
  [id] { scroll-margin-top: 12px; }
  th, td { padding: 8px 9px; }
  .result .range { font-size: 1.45rem; }
  .stat .value { font-size: 1.45rem; }
}
@media print {
  header.site nav, .navburger, .navdrawer, footer.site .foot-grid, .preview-banner, .noprint { display: none !important; }
  body { background: #fff; font-size: 10.5pt; }
  header.site { position: static; border-bottom: 1px solid #000; }
  footer.site { background: #fff; color: #333; padding: 12px 0; } .foot-legal { border: 0; margin: 0; padding: 0; }
  main > .wrap { padding-top: 1rem; } h2 { break-after: avoid; margin-top: 1.6rem; }
  figure, table, .card { break-inside: avoid; } svg.chart-svg { min-width: 0; }
  a { color: #000; text-decoration: none; }
}

ul.cols { columns: 2 280px; column-gap: 32px; padding-left: 1.2rem; }
ul.cols li { break-inside: avoid; margin: .25rem 0; }

/* consent line above a paid button */
label.agree{display:flex;gap:8px;align-items:flex-start;font-weight:400;margin:10px 0;max-width:62ch;line-height:1.45}
label.agree input{margin-top:4px;flex:none;width:auto}

.hero-cta{margin:14px 0 0}
.btns{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0}

/* revenue features (2026-10-21): paywall panel, buyer pages, opportunities, operators */
.paywall .pw-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:12px 0}
.pw-col{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:12px 14px}
.pw-col h3{font-size:.95rem}
.pw-col .count{font-size:.8rem;color:var(--ink-3);margin:.2rem 0 0}
.pw-sample{margin-top:8px;filter:blur(2.5px);opacity:.8;user-select:none;pointer-events:none}
.pw-row{display:flex;align-items:center;gap:8px;margin:7px 0}
.pw-chip{width:34px;height:10px;border-radius:5px;background:var(--surface-3);flex:none}
.pw-bar{height:10px;border-radius:5px;background:var(--accent-soft);display:block}
.buyers{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:16px 0}
.buyer h2{font-size:1.15rem}
.buyer ul{padding-left:1.1rem;margin:.5rem 0}
.buyer .price{font:600 1.2rem/1.2 var(--mono);color:var(--ink);margin:.4rem 0}
.faq-list details{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:10px 14px;margin:8px 0}
.faq-list summary{cursor:pointer;font-weight:600;color:var(--ink)}

.drivers { margin-top: 12px; }
.drivers h3 { margin: 0 0 .3rem; font-size: 1rem; }
.badge-box { margin-top: .5rem; font-size: .85rem; }
.badge-box textarea { width: 100%; max-width: 26rem; font: .75rem monospace; }

/* Mobile menu (hamburger) */
.navburger { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.navburger:hover { background: var(--accent-wash); border-color: var(--accent-line); color: var(--ink); }
.navburger:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }
.navburger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.navburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navdrawer { border-top: 1px solid var(--line); background: var(--surface); }
.navdrawer[hidden] { display: none; }
.navdrawer nav { display: flex; flex-direction: column; padding: 4px var(--gut) 18px; }
.navdrawer nav a { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.navdrawer nav a[aria-current="page"] { color: var(--accent); }
.navdrawer nav a.btn { margin-top: 16px; border: 0; justify-content: center; padding: 14px 16px; color: var(--on-accent); }
@media (max-width: 900px) {
  header.site .wrap { flex-wrap: nowrap; }
  header.site nav.main { display: none; }
  .navburger { display: inline-flex; }
}
@media (min-width: 901px) { .navdrawer { display: none !important; } }
html.navopen { overflow: hidden; }
.pw-names{margin:6px 0 0;font-size:.9rem;line-height:1.5;color:var(--ink,#1a2b33)}


/* nav: Who it's for menu (desktop button + list; phone drawer shows the links under a label) */
.navgroup { position: relative; }
.navtrigger { font: inherit; font-weight: 500; color: var(--ink-2); background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 14px 6px 0; cursor: pointer; position: relative; }
.navtrigger::after { content: ""; position: absolute; right: 2px; top: 50%; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.navtrigger:hover, .navgroup.open .navtrigger { color: var(--ink); }
.navtrigger[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
.navtrigger:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }
.navmenu { display: none; position: absolute; left: -12px; top: 100%; min-width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(17, 24, 32, .12); padding: 6px; z-index: 30; }
.navgroup.open .navmenu, .navgroup:hover .navmenu { display: block; }
nav.main .navmenu a { display: block; padding: 10px 12px; border-bottom: 0; border-radius: var(--radius-sm); white-space: nowrap; }
nav.main .navmenu a:hover, nav.main .navmenu a:focus-visible { background: var(--accent-wash); color: var(--ink); }
.navdrawer nav .navlabel { padding: 14px 2px 4px; font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border-bottom: 0; }
.navdrawer nav a.sub { padding-left: 16px; font-size: 1rem; }

/* home: secondary CTA beside Show the cost */
.est-btn { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; }
.est-btn .sample { white-space: nowrap; }

/* home: Data from strip */
.datafrom { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-top: 8px; }
.datafrom .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.df-label { margin: 0; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.datafrom ul { list-style: none; margin: 0; padding: 0; flex: 1 1 260px; min-width: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: .9rem; color: var(--ink-2); }
.df-more { margin: 0; font-size: .9rem; flex-basis: 100%; }

/* home: alternating text / screenshot sections */
.feature { padding: clamp(28px, 5vw, 56px) 0; }
.feature:nth-of-type(even) { background: var(--surface); }
.feature .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.feature.flip .feat-text { order: 2; }
.feat-text h2 { margin-top: 0; }
.feat-shot { margin: 0; }
.shot { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
.feat-shot figcaption, .ex-shot figcaption { font-size: .85rem; color: var(--ink-3); margin-top: 6px; }
.ex-shot { margin: 0 0 1.5rem; max-width: 760px; }

/* home: benefit blocks and report cards */
.benefits, .reportcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.reportcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit, .rcard { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; text-decoration: none; color: var(--ink-2); box-shadow: var(--shadow); }
.benefit:hover, .rcard:hover { border-color: var(--accent-line); color: var(--ink-2); }
.benefit strong, .rcard strong { color: var(--ink); font-size: 1.05rem; line-height: 1.3; }
.rtype { font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.benefit .go, .rcard .go { margin-top: auto; padding-top: 6px; color: var(--accent); font-weight: 600; font-size: .95rem; }

/* home additions: responsive rules (kept after the base rules above so they win) */
@media (max-width: 900px) {
  .statcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature .wrap { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feat-text { order: 0; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reportcards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .statcards, .benefits { grid-template-columns: minmax(0, 1fr); }
}

/* ================================================================ Photo Hero redesign (owner brief 2026-11-05): sister brand of Hubstake.
   Fonts: Bricolage Grotesque 700/800 (headlines, numbers, logo) and DM Sans 400/500/700 (body), self-hosted.
   Colours: primary #0B5563, dark #0B1F24, gold #F2A93B, soft #FBF3E4, body #454A52, muted #5B5F66. */

/* header: transparent over the photo hero or the 280px page strip, white text */
header.site { position: absolute; top: 0; left: 0; right: 0; z-index: 30; background: transparent; border-bottom: 0; }
header.site .wrap { padding-top: 18px; padding-bottom: 18px; max-width: 1200px; }
.logo { color: #fff; font: 800 1.3rem/1 var(--display); letter-spacing: -.02em; gap: 10px; }
.logo:hover { color: #fff; }
.logo svg { width: 26px; height: 26px; }
nav.main { gap: 6px 28px; font-size: .98rem; }
nav.main a { color: #fff; border-bottom: 2px solid transparent; padding: 6px 0; font-weight: 500; }
nav.main a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .6); }
nav.main a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
nav.main a.pill, .navdrawer nav a.pill { background: var(--gold); color: var(--graphite); border: 0; border-radius: 999px; padding: .6rem 1.15rem; font-weight: 700; white-space: nowrap; }
nav.main a.pill:hover { background: #F7BB5C; color: var(--graphite); border-bottom: 0; }
.navburger { border-color: rgba(255, 255, 255, .55); background: rgba(8, 14, 22, .35); color: #fff; }
.navburger:hover { background: rgba(8, 14, 22, .55); color: #fff; border-color: #fff; }
.navdrawer { background: var(--graphite); border-top: 1px solid rgba(255, 255, 255, .15); }
.navdrawer nav a { color: #fff; border-bottom-color: rgba(255, 255, 255, .14); }
.navdrawer nav a[aria-current="page"] { color: var(--gold); }
.navdrawer nav .navlabel { color: #AEB7BC; }
.navdrawer nav a.pill { margin-top: 16px; border-bottom: 0; text-align: center; justify-content: center; padding: 14px 16px; color: var(--graphite); }
.preview-banner { position: relative; z-index: 40; }

/* inner pages: 280px photo strip with the page title */
.ph-strip { position: relative; height: 280px; display: flex; align-items: flex-end; overflow: hidden; background: var(--graphite); }
.ph-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.ph-strip::after { content: ""; position: absolute; inset: 0; background: rgba(8, 14, 22, .55); }
.ph-strip .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 30px; }
.ph-strip h1 { color: #fff; margin: 0; font-weight: 800; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); max-width: 26ch; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
main > .wrap { padding-top: 2.2rem; }

/* type and colour, site-wide */
body { font-family: var(--sans); }
h1 { font-weight: 800; }
h2 { font-weight: 700; }
.eyebrow::before { background: var(--gold); }
.statcard .v, .stat .value, .result .range, td.num { font-family: var(--display); font-weight: 700; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--graphite); }
.btn.gold:hover { background: #F7BB5C; border-color: #F7BB5C; color: var(--graphite); }

/* ---------------- home */
.ph-hero { position: relative; color: #fff; background: var(--graphite); overflow: hidden; }
.ph-hero .ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.ph-hero::after { content: ""; position: absolute; inset: 0; background: rgba(8, 14, 22, .55); }
.ph-hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: 128px; padding-bottom: 84px; max-width: 1200px; }
.ph-hero h1 { color: #fff; font-weight: 800; font-size: clamp(2.5rem, 1rem + 5.6vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; max-width: 12ch; margin: 0 0 22px; text-shadow: 0 2px 28px rgba(0, 0, 0, .3); }
.ph-hero h1 em { font-style: normal; color: var(--gold); }
.ph-sub { font-size: 1.25rem; line-height: 1.5; color: #fff; max-width: 34em; margin: 0 0 30px; }
.ph-hero form.est { background: none; border: 0; box-shadow: none; padding: 0; }
.ph-hero .est-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.ph-hero .est label { color: #fff; font-size: .82rem; font-weight: 700; margin-bottom: 6px; }
.ph-hero .est label .opt { color: #DCE3E6; font-weight: 400; }
.ph-hero .est select, .ph-hero .est input { height: 58px; border-radius: 14px; border: 0; background: #fff; color: var(--graphite); font-size: 1rem; padding: 0 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.ph-hero .est select { padding-right: 36px; }
.ph-hero .est-btn { grid-column: 1 / -1; }
.ph-hero .est-btn button { width: 100%; height: 58px; border-radius: 14px; background: var(--accent); border-color: var(--accent); color: #fff; font: 700 1.05rem var(--sans); justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.ph-hero .est-btn button:hover { background: var(--accent-600); border-color: var(--accent-600); }
.ph-hero .meta, .ph-hero #e-county-note { color: #E6ECEE; }
.ph-links { margin: 16px 0 0; font-size: .95rem; color: #fff; }
.ph-links a { color: #fff; font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.ph-links a:hover { color: var(--gold); }
.ph-card { background: #fff; color: var(--ink-2); border-radius: 22px; padding: 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.ph-card.running { padding: 14px; }
.ph-card #e-result, .ph-card .result { margin: 0; }
.ph-pillrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.ph-pill { display: inline-block; background: var(--accent-wash); color: var(--accent-700); font: 700 .8rem/1 var(--sans); padding: 8px 12px; border-radius: 999px; }
.ph-pill.gold { background: #FCEBCB; color: #6B4500; }
.ph-card .ph-label { font-size: .9rem; color: var(--ink-3); margin: 0 0 2px; }
.ph-median { font: 800 clamp(2.4rem, 1.6rem + 2.2vw, 3.25rem)/1.05 var(--display); color: var(--accent); letter-spacing: -.03em; white-space: nowrap; margin: 0 0 4px; }
.ph-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 9px 22px; margin: 18px 0 18px; font-size: .95rem; }
.ph-card dt { color: var(--ink-3); }
.ph-card dd { margin: 0; color: var(--graphite); font-weight: 600; text-align: right; }
.ph-card .ph-more { display: inline-block; font-weight: 700; color: var(--accent); }
.ph-card .ph-note { font-size: .78rem; color: var(--ink-3); margin: 10px 0 0; }

.ph-stats { background: var(--accent); color: #fff; }
.ph-stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 44px; padding-bottom: 44px; max-width: 1200px; }
.ph-stats a { color: #fff; text-decoration: none; display: block; }
.ph-stats .n { display: block; font: 800 clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem)/1.05 var(--display); letter-spacing: -.03em; color: #fff; }
.ph-stats .l { display: block; margin-top: 6px; font-size: .95rem; color: #E1F0F2; }

.ph-how { background: var(--bg); padding: clamp(48px, 7vw, 96px) 0; }
.ph-how .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1200px; }
.ph-how img { display: block; width: 100%; height: auto; border-radius: 28px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 20px 50px rgba(11, 31, 36, .18); }
.ph-how .ph-eyebrow, .ph-who .ph-eyebrow { font: 700 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.ph-how h2, .ph-who h2 { font: 800 clamp(1.9rem, 1.2rem + 2.4vw, 3rem)/1.08 var(--display); letter-spacing: -.03em; margin: 0 0 18px; color: var(--graphite); }
.ph-how p { font-size: 1.08rem; max-width: 34em; }
.ph-pillbtn { display: inline-block; background: var(--accent); color: #fff; font: 700 1rem var(--sans); border-radius: 999px; padding: 15px 28px; text-decoration: none; margin-top: 8px; }
.ph-pillbtn:hover { background: var(--accent-600); color: #fff; }
.ph-pillbtn.dark { background: var(--graphite); color: #fff; }
.ph-pillbtn.dark:hover { background: #17323a; color: #fff; }

.ph-who { background: var(--bg); padding: 0 0 clamp(48px, 7vw, 96px); }
.ph-who .wrap { max-width: 1200px; }
.ph-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ph-ucard { display: block; background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink-2); box-shadow: 0 8px 28px rgba(11, 31, 36, .10); transition: transform .15s ease, box-shadow .15s ease; }
.ph-ucard:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(11, 31, 36, .16); color: var(--ink-2); }
.ph-ucard img { display: block; width: 100%; height: 170px; object-fit: cover; }
.ph-ucard .bar { display: block; height: 5px; background: var(--accent); }
.ph-ucard.c2 .bar { background: var(--gold); }
.ph-ucard.c3 .bar { background: var(--graphite); }
.ph-ucard.c4 .bar { background: var(--mod); }
.ph-ucard .body { display: block; padding: 18px 20px 22px; }
.ph-ucard strong { display: block; font: 800 1.2rem/1.2 var(--display); color: var(--graphite); letter-spacing: -.02em; margin-bottom: 6px; }
.ph-ucard span.line { display: block; font-size: .95rem; line-height: 1.45; }

.ph-cta { background: var(--bg); padding: 0 0 clamp(48px, 7vw, 96px); }
.ph-cta .wrap { max-width: 1200px; }
.ph-cta .panel { background: var(--gold); border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.ph-cta h2 { font: 800 clamp(1.7rem, 1.1rem + 2.2vw, 2.7rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--graphite); margin: 0; max-width: 20ch; }

/* footer: dark */
footer.site { background: var(--graphite); color: #C9D2D6; border-top: 0; margin-top: 0; }
footer.site .wrap { max-width: 1200px; }
footer.site a { color: #E6ECEE; }
footer.site a:hover { color: var(--gold); }
footer.site .foot-brand { font: 800 1.15rem var(--display); color: #fff; }
footer.site h4 { color: #fff; }
footer.site .foot-legal { color: #AEB9BE; border-top: 1px solid rgba(255, 255, 255, .14); }
.ph-foot-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; padding: 34px 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .14); margin-bottom: 8px; }
.ph-foot-top .brand { font: 700 1.05rem var(--sans); color: #fff; margin: 0; }
.ph-foot-top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ph-foot-top li { margin: 0; }
.ph-foot-top .photos { color: #AEB9BE; font-size: .88rem; margin: 0; }

@media (max-width: 900px) {
  header.site .wrap { flex-wrap: nowrap; }
  .ph-hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 104px; padding-bottom: 56px; }
  .ph-hero h1 { max-width: 14ch; }
  .ph-stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-how .wrap { grid-template-columns: minmax(0, 1fr); }
  .ph-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  header.site { position: absolute; }
  .ph-hero .est-row { grid-template-columns: minmax(0, 1fr); }
  .ph-sub { font-size: 1.1rem; }
  .ph-stats .wrap { gap: 18px; padding-top: 32px; padding-bottom: 32px; }
  .ph-cards { grid-template-columns: minmax(0, 1fr); }
  .ph-card { padding: 22px; }
  .ph-strip { height: 280px; }
  .ph-cta .panel { border-radius: 24px; }
}

.foot-grid { grid-template-columns: minmax(0, 1.2fr) repeat(5, minmax(0, 1fr)); }
.ph-hero .est-btn .sample { display: none; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

footer.site .foot-brand { display: flex; align-items: center; gap: 10px; }
footer.site .foot-brand svg { width: 26px; height: 26px; flex: none; }

/* home hero motion (video behind the photo, captions + progress + pause) */
.ph-hero .hero-video { opacity: 0; transition: opacity .6s; }
.ph-hero .hero-video.ready { opacity: 1; }
.hv-ctl { position: absolute; left: 0; right: 0; bottom: 22px; padding: 0 max(24px, calc((100% - 1200px) / 2)); display: none; align-items: flex-end; justify-content: space-between; gap: 32px; z-index: 5; pointer-events: none; }
.hv-ctl.on { display: flex; }
.hv-caps { position: relative; height: 58px; width: min(520px, 60%); }
.hv-cap { position: absolute; left: 0; bottom: 0; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; white-space: nowrap; color: #fff; }
.hv-cap.on { opacity: 1; transform: none; }
.hv-cap span { display: block; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #F6D79B; font-weight: 700; }
.hv-cap b { font-size: 26px; font-weight: 600; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.hv-right { display: flex; align-items: center; gap: 16px; pointer-events: auto; }
.hv-bars { display: flex; gap: 8px; width: 220px; }
.hv-bars i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hv-bars u { display: block; height: 100%; width: 0; background: var(--gold); }
.hv-pause { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(8, 14, 22, .5); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.hv-pause:hover { background: rgba(8, 14, 22, .8); }
.hv-pause:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 767px) { .hv-ctl, .ph-hero .hero-video { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .hv-ctl, .ph-hero .hero-video { display: none !important; } }
@media (max-width: 1080px) { .hv-caps { display: none; } .hv-ctl { justify-content: flex-end; } }

/* Home hero, owner order 2026-11-09: centered like civicfiling.com. No default state card; the result card
   appears under the form only after a visitor runs the estimator. */
.ph-hero .wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; max-width: 920px; padding-top: clamp(120px, 16vh, 168px); padding-bottom: clamp(110px, 14vh, 150px); }
.ph-hero .ph-left { width: 100%; display: flex; flex-direction: column; align-items: center; }
.ph-hero h1 { max-width: 15ch; margin-left: auto; margin-right: auto; }
.ph-hero .ph-sub { max-width: 640px; margin-left: auto; margin-right: auto; }
.ph-hero form.est { width: 100%; max-width: 820px; text-align: left; }
.ph-hero .est-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ph-hero .ph-card { width: 100%; max-width: 560px; text-align: left; margin-top: 8px; }
.ph-hero .ph-card:empty { display: none; }
@media (max-width: 900px) { .ph-hero .est-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ph-hero .est-row { grid-template-columns: minmax(0, 1fr); } .ph-hero .wrap { padding-top: 104px; padding-bottom: 56px; } }

/* footer: one short row (owner order 2026-11-09) */
.foot-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; }
.foot-grid ul.frow { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot-grid ul.frow li { margin: 0; }

/* home: read-more row (keeps hub pages within two clicks now the footer is short) */
.ph-more-links { padding: 28px 0 8px; }
.ph-more-links .ph-morelinks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: .4rem 0 0; }

/* Nov 16 2026 palette "black and gold" (owner picked it from mock-ups of the real homepage): warm white #F7F6F1, black #0E0F10, gold #E3B427.
   Replaces petroleum teal as the accent; blue-grey stays the moderate-confidence colour. Gold is a fill with black text, or text on black or a photo.
   This block has to stay last in the file to take effect. */
:root{--bg:#F7F6F1;--surface-2:#ECEAE2;--surface-3:#BDB9AC;--line:#E0DDD3;--line-soft:#ECEAE2;
--graphite:#0E0F10;--graphite-2:#232527;--ink:#0E0F10;--ink-2:#45474A;--ink-3:#5E6064;--gold:#E3B427;
--accent:#17181A;--accent-600:#2A2C2F;--accent-700:#0E0F10;--accent-soft:#8A8C90;--accent-wash:#ECECEA;--accent-line:#C9CACC;--accent-ring:rgba(23,24,26,.30);--accent-on-dark:#D8D9DB}
svg[viewBox='0 0 32 32'] rect[rx='8']{fill:#E3B427}svg[viewBox='0 0 32 32'] rect[rx='8']~path{fill:#0E0F10}svg[viewBox='0 0 32 32'] rect[rx='8']~rect{fill:#0E0F10}
nav.main a.pill:hover,.btn.gold:hover{background:#ECC44E;border-color:#ECC44E}
.ph-hero::after,.ph-strip::after{background:rgba(8,8,9,.58)}
.hv-cap span{color:#F2DC8E}
.ph-stats{background:#0E0F10;}
.ph-stats .n{color:#E3B427}.ph-stats .l{color:#D9D9D6}
.ph-pill.gold{background:#F8EDC4;color:#0E0F10}
.ph-pillbtn.dark:hover{background:#232527}
.ph-how img{box-shadow:0 20px 50px rgba(14,15,16,.18)}
.ph-ucard{box-shadow:0 8px 28px rgba(14,15,16,.10)}
footer.site{color:#C8C9CB}footer.site a{color:#ECECEA}footer.site .foot-legal,.ph-foot-top .photos{color:#A9AAAD}
.signup-band{color:#D9D9D6}
/* 15/25 Options Report page: two report-size cards of equal structure and height (radio cards) */
.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
label.optplan { cursor: pointer; display: flex; flex-direction: column; position: relative; }
label.optplan input[type="radio"] { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; accent-color: var(--accent); }
label.optplan h3 { margin: 0 0 .3rem; font-size: 1.1rem; padding-right: 28px; }
label.optplan p:last-child { margin: .4rem 0 0; font-size: .9rem; color: var(--ink-3); }
label.optplan:has(input:checked) { border-top-color: var(--accent); border-color: var(--accent-line); outline: 2px solid var(--accent-ring); }
label.optplan:focus-within { outline: 2px solid var(--accent-ring); }
@media (max-width: 640px) { .plans.two { grid-template-columns: 1fr; } }
label.chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); }
label.chk input { margin-top: 5px; flex: none; width: 18px; height: 18px; accent-color: var(--accent); }
label.optplan .price { font-family: var(--display); letter-spacing: -.02em; }

/* ---------------------------------------------------------------- home page (owner 2026-11-29; one design for every section, owner 2026-11-30).
   Only body.hd pages use it. Markup: build_site.home_approved() and home_sections(); the result card also in app.js.
   One container (1200 px of content), one type scale (H1 68, H2 40, H3 20, intro 18, body 17, small 14), one label (hd-mono), one card (hd-box),
   two buttons (hd-btn or/dk), 24 px between cards, and bands that alternate white and light neutral with one dark band.
   Orange #fd6f01 is kept for large shapes and for text on dark; the darker oranges are the nearest shades that pass WCAG AA where the orange
   carries small text or sits behind white text (checked in scripts/contrast_check.py). */
@font-face { font-family: "Inter Tight"; src: url("/a/fonts/inter-tight.83d548cd73.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans Home"; src: url("/a/fonts/dm-sans-14.a36b0d6c7d.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DejaVu Sans Mono Home"; src: url("/a/fonts/dejavu-sans-mono-bold.d9e5867e33.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }
:root { --hd-orange: #fd6f01; --hd-text: #ae4c01; --hd-card-bg: #fce6d3; --hd-btn: #c35501; --hd-btn-hover: #a84800; --hd-large: #f16a01; --hd-dark: #1e262b; --hd-dark-card: #2a343a; --hd-map: #de6101; --hd-cov-bg: #e9edf0;
  --hd-soft: #f4f6f8; --hd-line: #dfe4e9; --hd-ink: #0b1118; --hd-body: #2a313a; --hd-muted: #56606b; --hd-field: #77808a; }
body.hd { --sans: "DM Sans Home", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --display: "Inter Tight", "Inter", system-ui, sans-serif;
  font-optical-sizing: none; background: #fff; color: var(--hd-body); font-size: 17px; line-height: 1.5; }
:where(.hd:not(.hi) main) :is(h1, h2, h3, p, dl, dd) { margin: 0; max-width: none; }
:where(.hd:not(.hi) main) :is(h1, h2, h3) { text-wrap: balance; }
body.hd main { text-wrap: pretty; }   /* inherited: no one-word last lines */
.hd-btx span, .hd-conflist span, .hd-tier li span { text-wrap: balance; }
.hd-wrap { position: relative; box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.hd-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.hd main a:focus-visible, body.hd header a:focus-visible, body.hd footer a:focus-visible, body.hd main button:focus-visible { outline: 3px solid #fcbe01; outline-offset: 2px; }

/* bands, headings, label, card, buttons */
.hd-sec { padding: 80px 0; background: #fff; }
.hd-sec.soft { background: var(--hd-soft); }
.hd-sec.dark { background: var(--hd-dark); color: #e6eaee; }
.hd-sec h2 { max-width: 26ch; font: 800 40px/1.12 var(--display); letter-spacing: -.02em; color: var(--hd-ink); }
.hd-sec.dark h2 { color: #fff; }
.hd-sec h3 { font: 800 20px/1.25 var(--display); letter-spacing: -.01em; color: var(--hd-ink); }
.hd-sec .hd-mono { display: block; margin-bottom: 12px; font: 800 14px/1.3 "DejaVu Sans Mono Home", "DejaVu Sans Mono", Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--hd-text); }
.hd-sec.dark .hd-mono { color: var(--hd-orange); }
.hd-sub { max-width: 42em; margin-top: 14px; font-size: 18px; color: var(--hd-body); }
.hd-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.hd-box { box-sizing: border-box; border: 1px solid var(--hd-line); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(11, 17, 24, .06); color: var(--hd-body); }
.hd-btn, .hd .est-btn button, .hd-result .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 8px;
  font: 700 17px/1.2 var(--sans); white-space: nowrap; text-decoration: none; }
.hd-btn.or, .hd .est-btn button, .hd-result .btn { background: var(--hd-btn); border-color: var(--hd-btn); color: #fff; }
.hd-btn.or:hover, .hd .est-btn button:hover, .hd-result .btn:hover { background: var(--hd-btn-hover); border-color: var(--hd-btn-hover); color: #fff; }
.hd-btn.dk, .hd-result .btn.secondary { background: #171d21; border-color: #171d21; color: #fff; }
.hd-btn.dk:hover, .hd-result .btn.secondary:hover { background: #2f3a41; border-color: #2f3a41; color: #fff; }
.hd-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--hd-text); text-decoration: none; }
.hd-link::after { content: "\2192"; }
.hd-link:hover { color: var(--hd-ink); text-decoration: underline; }
.hd-tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--hd-soft); color: var(--hd-ink); font: 700 14px/1 var(--sans); white-space: nowrap; }
.hd-tag.pro { background: var(--hd-btn); color: #fff; }

/* header and footer */
body.hd header.site { position: static; background: #171d21; border-bottom: 0; }
body.hd header.site .wrap { max-width: 1280px; min-height: 68px; padding: 0 40px; gap: 0; flex-wrap: nowrap; box-sizing: border-box; }
body.hd header.site .logo, body.hd header.site .logo:hover { color: #fff; font: 700 20px/1.2 var(--display); letter-spacing: -.01em; gap: 11px; white-space: nowrap; }
body.hd header.site .logo svg { width: 28px; height: 28px; }
body.hd nav.main { gap: clamp(10px, 1.7vw, 24px); flex-wrap: nowrap; }
body.hd nav.main a { color: #fff; font-size: 15px; font-weight: 500; padding: 6px 0; border: 0; white-space: nowrap; }
body.hd nav.main a:hover { color: #fff; text-decoration: underline; }
body.hd nav.main a.pill, body.hd .navdrawer nav a.pill { background: var(--hd-btn); color: #fff; border-radius: 8px; font-weight: 700; }
body.hd nav.main a.pill { padding: 10px 16px; }
body.hd nav.main a.pill:hover { background: var(--hd-btn-hover); color: #fff; }
body.hd .navburger { border-color: rgba(255, 255, 255, .55); background: transparent; color: #fff; }
body.hd footer.site { background: #14181c; padding: 40px 0; font-size: 15px; }
body.hd footer.site .wrap { max-width: 1280px; padding: 0 40px; box-sizing: border-box; }
body.hd footer.site .foot-brand { font: 700 18px/1.3 var(--display); }

/* hero: photo, dark scrim on the left only, white text; the stat strip sits directly under it */
.hd-hero { position: relative; display: flex; align-items: center; overflow: hidden; background: #1b2126; height: clamp(560px, 70vh, 640px); }
.hd-hero picture, .hd-hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hd-hero img { display: block; object-fit: cover; object-position: 40% 35%; }
/* soft dark card behind the text block only; the rest of the photo has no overlay (owner orders 2026-11-30 21:07 and 22:53). At .58, white text keeps 4.5:1 even over white. */
.hd-hero .hd-wrap { z-index: 2; width: fit-content; max-width: 560px; margin: 0 0 0 max(40px, calc((100% - 1200px) / 2)); padding: 28px 32px; border-radius: 14px;
  background: #171d21; }
@supports (backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px)) {
  .hd-hero .hd-wrap { background: rgba(8, 13, 19, .58); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
}
.hd-hero h1 { max-width: 430px; font: 800 68px/1.02 var(--display); letter-spacing: -.028em; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.hd-hero p { max-width: 480px; margin-top: 22px; font-size: 20px; font-weight: 600; line-height: 1.5; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.hd-hero-b { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hd-hero .hd-btn { padding: 0 20px; }
.hd-hero .hd-btn.dk { border-color: rgba(255, 255, 255, .6); }
.hd-stats { background: #171d21; }
.hd-stats .hd-wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 26px; padding-bottom: 26px; }
.hd-stats a { text-align: center; text-decoration: none; }
.hd-stats a + a { border-left: 1px solid #5d666d; }
.hd-stats b { display: block; font: 800 46px/1.1 var(--display); letter-spacing: -.02em; color: var(--hd-orange); }
.hd-stats span { display: block; margin-top: 4px; font-weight: 500; color: #fff; }
.hd-stats a:hover span { text-decoration: underline; }

/* story and method */
.hd-col { display: flex; gap: 20px; }
.hd-ic, .hd-sic { flex: none; fill: none; stroke: var(--hd-orange); stroke-linecap: round; stroke-linejoin: round; width: 40px; height: 45px; }
.hd-sic { width: 34px; height: 42px; }
.hd-col p, .hd-step p { margin-top: 6px; }
.hd-steps { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; }
.hd-step { flex: 1 1 0; display: flex; align-items: center; gap: 16px; }
.hd-num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--hd-btn); color: #fff; font: 700 17px/40px var(--sans); text-align: center; }
.hd-arrow { flex: none; width: 23px; height: 14px; fill: none; stroke: #77808a; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* coverage and index */
.hd-cov { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; }
.hd-cov > a { padding: 32px; text-decoration: none; }
.hd-cov > a:hover { border-color: var(--hd-field); }
.hd-card-cov { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: center; background: linear-gradient(180deg, var(--hd-soft), var(--hd-cov-bg)); }
.hd-card-cov p { margin-top: 14px; }
.hd-map { display: block; width: 100%; height: auto; }
.hd-map path { fill: #cfd5db; stroke: #fff; stroke-width: 1.6; } .hd-map path.on { fill: var(--hd-map); }
.hd-card-idx { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, #fef4ea, var(--hd-card-bg)); }
.hd-idx { display: flex; align-items: center; color: var(--hd-ink); }
.hd-idx b { font: 800 68px/1.1 var(--display); letter-spacing: -.02em; }
.hd-idx > span { margin-left: 24px; padding-left: 24px; border-left: 2px solid #c2b4a8; font-size: 18px; }
.hd-idx strong { display: block; font: 800 20px/1.25 var(--display); }
.hd-card-idx p { margin-top: 14px; }

/* built for: the one dark band */
.hd-bcard { display: flex; flex-direction: column; overflow: hidden; border-color: rgba(255, 255, 255, .16); background: var(--hd-dark-card); color: #e6eaee; text-decoration: none; }
.hd-bcard:hover { border-color: rgba(255, 255, 255, .5); }
.hd-bcard img { display: block; width: 100%; height: 200px; object-fit: cover; }
.hd-btx { display: block; padding: 24px 28px 28px; }
.hd-btx strong { display: block; margin-bottom: 6px; font: 800 20px/1.25 var(--display); color: #fff; }
.hd-btx span { display: block; } .hd-btx i { display: block; width: 38px; height: 3px; margin-top: 16px; background: var(--hd-orange); }
.hd-sec .hd-also { margin-top: 24px; } .hd-also a { color: #fff; }

/* plans at a glance */
.hd-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.hd-plans > div:first-child { align-self: center; padding-right: 16px; }
.hd-pcard { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; }
.hd-pcard p { margin-top: 8px; }
.hd-pcard .hd-price { font: 800 28px/1.15 var(--display); letter-spacing: -.01em; color: var(--hd-large); }
.hd-pcard p:not(.hd-price) { flex-grow: 1; margin-bottom: 20px; }

/* estimator and its result card */
#home-estimator { scroll-margin-top: 0; }
.hd-est { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.hd-est-l, .hd-est-r { min-width: 0; }
.hd-est form.est { margin: 28px 0 0; padding: 28px; border: 1px solid var(--hd-line); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(11, 17, 24, .06); }
.hd-est .est-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hd-est .est label { margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--hd-ink); }
.hd-est .est label .opt { font-weight: 400; color: var(--hd-muted); }
.hd-est .est select, .hd-est .est input { height: 52px; padding: 0 14px; border: 1px solid var(--hd-field); border-radius: 8px; background: #fff; color: var(--hd-ink); font-size: 17px; }
.hd-est .est-btn { grid-column: 1 / -1; }
.hd .est-btn button { width: 100%; height: 52px; }
.hd-est .est-btn .sample, .hd-est #e-county-note:empty { display: none; }
.hd-est .meta { font-size: 14px; }
.hd-formfoot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 20px; margin-top: 12px; font-size: 14px; }
.hd-result > .card { padding: 28px; border: 1px solid var(--hd-line); border-radius: 14px; box-shadow: 0 6px 20px rgba(11, 17, 24, .06); }
.hd-result > .card, .hd-result > p { margin-top: 0; }
.hd-result > .card p + p { margin-top: 12px; }
.hd-result .insufficient { padding: 2px 10px; border-color: var(--hd-line); background: var(--hd-soft); font-size: 14px; color: var(--hd-body); }
.hd-result > .note { margin: 12px 0 0; padding: 16px 20px; border: 1px solid var(--hd-line); border-left: 4px solid var(--hd-btn); border-radius: 14px; background: #fff; font-size: 14px; color: var(--hd-body); }
.hd-result > .note a, .hd-result > .card p a:not(.btn) { color: var(--hd-text); font-weight: 700; }
.hd-result > .meta { margin: 12px 2px 0; color: var(--hd-muted); }
.hd-card { overflow: hidden; }
.hd-card-main { padding: 28px; }
.hd-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 20px; }
.hd-card-title { font: 800 20px/1.25 var(--display); color: var(--hd-ink); }
.hd-card-title span { font: 400 17px/1.25 var(--sans); color: var(--hd-muted); }
.hd-conf { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 14px/1 var(--sans); white-space: nowrap; }
.hd-conf.B { background: var(--mod-wash); color: var(--mod-700); box-shadow: inset 0 0 0 1px var(--mod-line); }
.hd-label, .hd-csub, .hd-facts dt, .hd-range-ends, .hd-made, .hd-fine, .hd-note { font-size: 14px; color: var(--hd-muted); }
.hd-median { margin: 4px 0 8px; font: 800 68px/1.05 var(--display); letter-spacing: -.028em; color: var(--hd-ink); white-space: nowrap; }
.hd-range { position: relative; height: 18px; margin: 20px 0 12px; border-radius: 5px; background: #f8d3b3; }
.hd-range .hd-mid { position: absolute; top: 0; bottom: 0; background: var(--hd-large); }
.hd-range .hd-tick { position: absolute; top: -6px; bottom: -6px; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--hd-ink); }
.hd-range-ends { display: flex; justify-content: space-between; gap: 16px; }
.hd-range-ends b, .hd-facts dd { display: block; font: 700 17px/1.4 var(--sans); font-variant-numeric: tabular-nums; color: var(--hd-ink); }
.hd-range-ends span:last-child { text-align: right; }
.hd-facts { display: flex; flex-wrap: wrap; gap: 14px 28px; border-top: 1px solid var(--hd-line); }
.hd-card .hd-facts { margin-top: 20px; padding-top: 18px; }
.hd-card .hd-made { margin-top: 18px; }
.hd-made:empty { display: none; }
.hd-card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 20px; padding: 14px 28px; border-top: 1px solid var(--hd-line); background: var(--hd-soft); font-size: 14px; color: var(--hd-body); }
.hd-card-foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--hd-text); text-decoration: none; white-space: nowrap; }
.hd-card-foot a::after { content: "\00a0\2192"; }
.hd-card-foot a:hover { text-decoration: underline; }

/* tools */
.hd-tool { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; }
.hd-tool-top { align-self: stretch; display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hd-ico svg { display: block; width: 40px; height: 40px; fill: none; stroke: var(--hd-orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hd-tool p { flex-grow: 1; margin: 8px 0 12px; }

/* state ranges on one log scale */
.hd-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; }
.hd-ranges { margin-top: 36px; padding: 28px; }
.hd-ranges .table-scroll { background: none; border: 0; border-radius: 0; }
.hd-rgrid { position: relative; min-width: 660px; }
.hd-rrow { display: grid; grid-template-columns: 150px minmax(0, 1fr) 100px 124px; column-gap: 20px; align-items: center; padding: 10px 0; border-top: 1px solid var(--hd-line); color: var(--hd-ink); }
.hd-rrow.head { padding: 0 0 12px; border-top: 0; font-size: 14px; font-weight: 700; color: var(--hd-muted); }
.hd-rgridlines { position: absolute; top: 32px; bottom: 0; left: 170px; right: 264px; pointer-events: none; }
.hd-rgridlines i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--hd-line); }
.hd-axis { position: relative; height: 20px; }
.hd-axis span { position: absolute; top: 0; transform: translateX(-50%); font: 400 14px/20px var(--sans); }
.hd-rname a { font-weight: 700; color: var(--hd-ink); text-decoration: none; }
.hd-rname a:hover { color: var(--hd-text); text-decoration: underline; }
.hd-rbar { position: relative; height: 16px; }
.hd-rbar i { position: absolute; top: 2px; bottom: 2px; border-radius: 4px; background: var(--hd-dark); }
.hd-rbar i.B { background: var(--mod-line); }
.hd-rbar b { position: absolute; top: -3px; bottom: -3px; width: 5px; margin-left: -2px; border-radius: 2px; background: var(--hd-orange); box-shadow: 0 0 0 1px var(--hd-ink); }
.hd-rmed { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hd-rconf .conf, .hd-rconf .grade { font-size: 14px; }
.hd-sec .hd-note { margin-top: 18px; }

/* confidence */
.hd-how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.hd-how img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 14px; }
.hd-conflist { display: grid; gap: 16px; margin: 24px 0 14px; padding: 0; list-style: none; }
.hd-conflist li { display: flex; align-items: flex-start; gap: 14px; margin: 0; }
.hd-conflist li > span:last-child { min-width: 0; }
.hd-conflist strong { display: block; color: var(--hd-ink); }
.hd-conflist .grade, .hd-dash { flex: none; box-sizing: border-box; min-width: 40px; height: 40px; padding: 0; border-radius: 8px; font: 800 20px/38px var(--display); text-align: center; }
.hd-dash { border: 1px dashed var(--hd-field); color: var(--hd-muted); }

/* pricing cards */
.hd-tier { display: flex; flex-direction: column; padding: 28px; }
.hd-tier-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; }
.hd-tprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 48px; font: 800 40px/1.2 var(--display); letter-spacing: -.02em; color: var(--hd-ink); }
.hd-sec .hd-tprice { margin: 14px 0 18px; }
.hd-tprice.words { font-size: 32px; line-height: 48px; }
.hd-tprice span { font: 400 17px/1.3 var(--sans); letter-spacing: 0; color: var(--hd-muted); }
.hd-tier ul { display: grid; flex-grow: 1; align-content: start; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.hd-tier li { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.hd-tier li svg { flex: none; width: 16px; height: 16px; margin-top: 5px; fill: none; stroke: var(--hd-btn); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hd-sec .hd-tier-note { margin-bottom: 16px; font-size: 14px; color: var(--hd-muted); }

/* bond check and the closing band */
.hd-bond { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding: 40px; }
.hd-close .hd-wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }

@media (max-width: 1100px) { body.hd nav.main a { font-size: 14px; } body.hd nav.main a.pill { padding: 10px 12px; } .hd-step { align-items: flex-start; } .hd-sic { display: none; } }
@media (max-width: 1030px) { body.hd nav.main { gap: 12px; } }
@media (min-width: 901px) and (max-width: 940px) { body.hd nav.main { gap: 9px; } body.hd nav.main a.pill { padding: 10px 8px; } body.hd header.site .logo, body.hd header.site .logo:hover { font-size: 18px; } }   /* the logo keeps clear of the first link */
@media (max-width: 900px) {
  .hd-wrap, body.hd header.site .wrap, body.hd footer.site .wrap { padding-left: 24px; padding-right: 24px; }
  .hd-hero .hd-wrap { margin-left: 24px; }
  body.hd .navdrawer nav a.pill, body.hd .navdrawer nav a.hd-signin { min-height: 44px; box-sizing: border-box; }
  .hd-sec { padding: 64px 0; }
  .hd-grid3, .hd-cov, .hd-plans, .hd-est, .hd-how { grid-template-columns: minmax(0, 1fr); }
  .hd-est, .hd-how { gap: 36px; }
  .hd-arrow { display: none; }
  .hd-steps { flex-direction: column; align-items: stretch; }
  .hd-step { align-items: center; }
  .hd-sic { display: block; }
  .hd-plans > div:first-child { padding-right: 0; }
  .hd-also a { display: inline-block; line-height: 44px; }
}
@media (max-width: 600px) {
  .hd-wrap, body.hd header.site .wrap, body.hd footer.site .wrap { padding-left: 20px; padding-right: 20px; }
  .hd-sec { padding: 52px 0; }
  .hd-sec h2 { font-size: 30px; }
  .hd-sub { font-size: 17px; }
  .hd-grid3, .hd-ranges, .hd-steps { margin-top: 28px; }
  .hd-hero { height: auto; min-height: 520px; }
  .hd-hero img { object-position: center; }
  .hd-hero { box-sizing: border-box; padding: 24px 0; }
  .hd-hero .hd-wrap { width: auto; max-width: none; flex: 1; margin: 0 20px; padding: 24px 20px; }
  .hd-hero h1 { font-size: 40px; line-height: 1.08; } .hd-hero p { font-size: 18px; margin-top: 16px; }
  .hd-hero-b { margin-top: 24px; gap: 12px; } .hd-hero .hd-btn, .hd-bond .hd-btn, .hd-close .hd-btn, .hd-pcard .hd-btn { width: 100%; }
  .hd-stats .hd-wrap { grid-template-columns: repeat(2, 1fr); padding: 8px 20px; } .hd-stats a { padding: 14px 6px; }
  .hd-stats a:nth-child(3) { border-left: 0; } .hd-stats a:nth-child(n + 3) { border-top: 1px solid #5d666d; }
  .hd-stats b { font-size: 28px; } .hd-stats span { font-size: 14px; }
  .hd-cov > a, .hd-tool, .hd-tier, .hd-pcard, .hd-card-main, .hd-bond { padding: 22px; }
  .hd-card-cov { grid-template-columns: minmax(0, 1fr); }
  .hd-idx b { font-size: 52px; } .hd-idx > span { margin-left: 16px; padding-left: 16px; }
  .hd-est form.est { padding: 20px; }
  .hd-est .est-row { grid-template-columns: minmax(0, 1fr); }
  .hd-median { font-size: 52px; }
  .hd-card-foot { padding: 8px 22px; }
  .hd-ranges { padding: 20px 16px; }
  .hd-rgrid { min-width: 0; }   /* phones: the chart fits the screen (confidence is still told by the bar tone and the note below) */
  .hd-rrow { grid-template-columns: 96px minmax(0, 1fr) 74px; column-gap: 10px; font-size: 14px; }
  .hd-rrow > span:last-child { display: none; }
  .hd-rgridlines { left: 106px; right: 84px; }
  .hd-axis span:nth-child(even) { display: none; }
}

/* ---------------------------------------------------------------- every other page (owner order 2026-11-30 17:05: "two websites ... the old one is still out beneath the new one").
   The home page's system (header, footer, type, colours, buttons, cards) now dresses every page: build_site.page() puts body.hd.hi on any page that is not
   the home page, with the home page's nav and sign-in button. The old tokens are re-pointed at the home page's palette, so every old class keeps working
   and reads as the same design. Title band: one dark band with the page's h1 (the photo strip is gone). */
body.hi { --bg: #ffffff; --surface: #ffffff; --surface-2: #f4f6f8; --surface-3: #c4ccd3; --line: #dfe4e9; --line-soft: #eceff2;
  --ink: #0b1118; --ink-2: #2a313a; --ink-3: #56606b;
  --accent: #b34a00; --accent-600: #9a4000; --accent-700: #8f3d00; --accent-soft: #e29b64; --accent-wash: #fdf1e6; --accent-line: #f1cba9; --accent-ring: rgba(195, 85, 1, .3); --on-accent: #ffffff;
  --radius: 14px; --radius-sm: 8px; --shadow: 0 6px 20px rgba(11, 17, 24, .06); }
.hi-band { background: var(--hd-dark); padding: 56px 0 52px; }
.hi-band h1 { max-width: 26ch; margin: 0; font: 800 48px/1.1 var(--display); letter-spacing: -.025em; color: #fff; text-wrap: balance; overflow-wrap: anywhere; }
body.hi main { padding-bottom: 0; }
body.hi main > .wrap { box-sizing: border-box; max-width: 1280px; padding: 56px 40px 80px; }
body.hi main.endgap > .wrap { padding-bottom: 48px; }
body.hi nav.main a[aria-current="page"] { border-bottom: 2px solid var(--hd-orange); }
body.hi main h2 { margin: 56px 0 14px; font: 800 30px/1.2 var(--display); letter-spacing: -.015em; color: var(--hd-ink); text-wrap: balance; }
body.hi main h2:first-child, body.hi main .eyebrow + h2 { margin-top: 0; }
body.hi main h3 { margin: 32px 0 8px; font: 800 20px/1.25 var(--display); letter-spacing: -.01em; color: var(--hd-ink); }
body.hi main h4 { font: 700 17px/1.3 var(--sans); color: var(--hd-ink); }
body.hi main p, body.hi main li { text-wrap: pretty; }
body.hi .lede { max-width: 44em; font-size: 18px; color: var(--hd-body); }
body.hi .meta { font-size: 14px; }
body.hi .eyebrow { font: 800 14px/1.3 "DejaVu Sans Mono Home", "DejaVu Sans Mono", Menlo, Consolas, monospace; letter-spacing: .1em; color: var(--hd-text); }
body.hi .eyebrow::before { display: none; }
body.hi main :is(button, .btn) { justify-content: center; min-height: 52px; padding: 0 26px; border: 1px solid var(--hd-btn); border-radius: 8px; background: var(--hd-btn); color: #fff; font: 700 17px/1.2 var(--sans); }
body.hi main :is(button, .btn):hover { background: var(--hd-btn-hover); border-color: var(--hd-btn-hover); color: #fff; }
body.hi main .btn.secondary { background: #171d21; border-color: #171d21; color: #fff; }
body.hi main .btn.secondary:hover { background: #2f3a41; border-color: #2f3a41; color: #fff; }
body.hi :is(input:not([type="checkbox"], [type="radio"]), select, textarea) { min-height: 52px; border: 1px solid var(--hd-field); border-radius: 8px; background: #fff; color: var(--hd-ink); font-size: 17px; }
body.hi main label:not(.optplan, .chk, .agree) { font-weight: 700; color: var(--hd-ink); }
body.hi main label .opt { font-weight: 400; color: var(--hd-muted); }
body.hi textarea { min-height: 96px; }
body.hi :is(input, select, textarea):focus { border-color: var(--hd-btn); box-shadow: 0 0 0 3px var(--accent-ring); }
body.hi a:focus-visible, body.hi button:focus-visible, body.hi .btn:focus-visible { outline: 3px solid #fcbe01; outline-offset: 2px; }
body.hi .est { border-top: 1px solid var(--line); }
body.hi .conf { color: var(--hd-ink); }
body.hi .conf.B { color: var(--mod-700); }
body.hi .grade.A { background: #171d21; border-color: #171d21; color: #fff; }
body.hi svg .bar, body.hi svg .iqr, body.hi svg .dot { fill: #171d21; }
body.hi svg .line { stroke: #171d21; }
body.hi svg .range { fill: #b4bcc3; }
body.hi svg .median { stroke: var(--hd-orange); }
body.hi .signup-band { background: var(--hd-dark); color: #e6eaee; }
body.hi .signup-band button { background: var(--hd-btn); border-color: var(--hd-btn); color: #fff; }
body.hi .signup-band button:hover { background: var(--hd-btn-hover); border-color: var(--hd-btn-hover); color: #fff; }
body.hi .trust { background: var(--hd-soft); border-color: var(--hd-line); }
body.hi .plan .protag, body.hi .protag { background: var(--hd-btn); }
/* inner pages: finish. Moderate figures keep their own blue-grey marks (the captions name them), with a dark median tick (3:1 on blue-grey). */
body.hi svg .iqr.gB, body.hi svg .dot.b { fill: var(--mod); }
body.hi svg .range.gB { fill: var(--mod-line); }
body.hi svg .iqr.gB + .median { stroke: var(--ink); }
body.hi { --mono: var(--display); --warn: #2a313a; --warn-wash: #f4f6f8; --warn-line: #dfe4e9; --amber: #c35501; }   /* no gold notes */
body.hi .note { border-left-width: 1px; border-radius: var(--radius-sm); font-size: 15px; }
body.hi .navdrawer nav a[aria-current="page"], body.hi footer.site a:hover { color: #fff; }
body.hi :is(.plan, .prolock, .estlock, .coverage-card, .statcard, .reportbox, .contribute, .res) { border: 1px solid var(--line); }
body.hi .guide-hero img { display: block; width: 100%; height: clamp(200px, 27vw, 380px); object-fit: cover; object-position: 50% 45%; border: 0; border-radius: 14px; }
body.hi main .grid + *, body.hi main form.card + .meta, body.hi main .table-scroll + .meta { margin-top: 16px; }
body.hi .ph-morelinks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
body.hi main p > .btn + .btn { margin-left: 8px; }
body.hi label.optplan:has(input:checked) { border-color: var(--hd-btn); }
body.hi .plan { padding: 28px; }
body.hi .plans { gap: 24px; }
body.hi main .plan h2 { font-size: 20px; line-height: 28px; letter-spacing: -.01em; }
body.hi main .plan .protag { top: 28px; right: 28px; padding: 0 12px; border-radius: 999px; line-height: 28px; }
body.hi main .plan .btn:not(.optplan *) { width: 100%; box-sizing: border-box; }
body.hi .plan ul { padding: 0; list-style: none; }
body.hi .plan li { position: relative; margin: 0 0 12px; padding-left: 26px; }
body.hi .plan li::before { content: ""; position: absolute; left: 1px; top: .4em; width: 5px; height: 10px; border: solid var(--hd-btn); border-width: 0 2px 2px 0; transform: rotate(45deg); }
body.hi main .plan h2, body.hi main :is(.card, .prolock, .plan, .note, .lockbox, .signup, .result) > :is(h2, h3):first-child, body.hi main :is(.prohead h2, .pw-col h3, .prop h3, .optplan h3, .acct h2, .reportbox h3), body.hi main .protag + :is(h2, h3) { margin-top: 0; }
body.hi main .wrap > :is(.card, .prolock, .coverage-card) + :is(.card, .prolock, .coverage-card, section.card) { margin-top: 24px; }
body.hi :is(.plan, .buyer) .price { font: 800 28px/1.15 var(--display); letter-spacing: -.01em; }
body.hi section.plan .price { font-size: 40px; line-height: 48px; }
body.hi section.plan .price span { font-size: 17px; }
body.hi .plan ul { font-size: 17px; }
body.hi main :is(th, label, .opt, figcaption, .grade, .insufficient, .protag, .count, .meta, .stat .label, .stat .sub, .statcard .k, td.num, .conf, .optplan .price span, .buyer .price span, #e-county-note) { font-size: 14px; }
body.hi main :is(th, .stat .label, .statcard .k, .protag) { letter-spacing: 0; text-transform: none; font-weight: 700; }
body.hi main table, body.hi main td.num { font-size: 15px; }
body.hi .bc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
body.hi form.est { padding: 28px; }
body.hi .est .est-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body.hi .est label { margin-bottom: 8px; font-weight: 700; }
body.hi .est label .opt { font-weight: 400; }
body.hi .est :is(select, input) { height: 52px; padding: 0 14px; font-size: 17px; }
body.hi .est .est-btn { grid-column: 1 / -1; gap: 12px; }
body.hi main .est .est-btn :is(button, .btn) { width: auto; min-height: 52px; padding: 0 26px; }
@media (max-width: 900px) { body.hi .est .est-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { body.hi main p > .btn + .btn { margin: 10px 0 0; } body.hi .bc-row { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 20px; } body.hi form.est { padding: 20px; } body.hi .est .est-row { grid-template-columns: minmax(0, 1fr); } body.hi main .est .est-btn :is(button, .btn) { width: 100%; } }
@media (max-width: 900px) { body.hi main > .wrap { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 600px) {
  .hi-band { padding: 36px 0 32px; } .hi-band h1 { font-size: 32px; }
  body.hi main > .wrap { padding: 36px 20px 56px; } body.hi main.endgap > .wrap { padding-bottom: 36px; }
  body.hi main h2 { margin-top: 40px; font-size: 26px; }
}
@media print { body.hd header.site { background: #fff; } body.hd header.site .logo { color: #000; } .hi-band { background: #fff; padding: 8px 0; } .hi-band h1 { color: #000; font-size: 22pt; }
  /* printed reports: the whole table fits the page (it was cut off, with a scrollbar) */
  body.hi .table-scroll { overflow: visible; } body.hi main :is(table, th, td, td.num) { font-size: 9pt; } body.hi main :is(th, td) { padding: 6px; white-space: normal; } body.hi main td.num { white-space: nowrap; }
  body.hd footer.site, body.hd footer.site .foot-legal { background: #fff; color: #333; }
  body.hi main .grid.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } body.hi main .stat .value { font-size: 16pt; } }
