/* Hillbilly Hosting: "quilt and ledger" design system. Rokkitt (display) + Merriweather Sans (text), both SIL OFL, self-hosted. */
@font-face { font-family: "Rokkitt"; src: url("/assets/fonts/rokkitt-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Merriweather Sans"; src: url("/assets/fonts/merriweather-sans-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --muslin: #f5efe1; --paper: #fffaf0; --cream: #fbf5e8; --ink: #1e1c18; --ink2: #4a453c; --ink3: #6b6456;
  --indigo: #22385c; --indigo-d: #172843; --red: #a3372a; --red-d: #862a1f; --gold: #c98f12; --gold-l: #f1d796; --pine: #2f5a45;
  --line: #d9cdb3; --line2: #c4b593; --focus: #c98f12;
  --display: "Rokkitt", "Rockwell", "Roboto Slab", Georgia, serif;
  --text: "Merriweather Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px; --r: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--muslin); color: var(--ink); font: 400 1.0625rem/1.65 var(--text); font-variant-numeric: lining-nums; }
img, svg { display: block; max-width: 100%; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 750; line-height: 1.08; letter-spacing: -.005em; margin: 0 0 .5em; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
b { font-weight: 700; }
i { font-style: normal; color: var(--ink3); font-weight: 400; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.eyebrow { font: 700 .78rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 .9rem; }
.eyebrow a { color: inherit; }
.eyebrow-center { text-align: center; }

/* quilt block colours */
.q-bg { fill: var(--cream); } .q-a { fill: var(--indigo); } .q-b { fill: var(--red); } .q-c { fill: var(--gold); } .q-d { fill: var(--pine); }

/* v1.0.1 (HH-BRAND-1): the preview notice is a sewn-in quilt label hanging from the header band, not a top strip */
.pass-label-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; display: flex; justify-content: flex-end; position: relative; z-index: 4; }
.pass-label { display: block; margin-top: -1px; background: var(--gold-l); color: var(--ink); text-decoration: none; padding: 4px; border-radius: 0 0 8px 8px; box-shadow: 0 6px 14px -8px rgba(23, 40, 67, .45); transform: rotate(-1.2deg); transform-origin: top right; }
.pass-label:hover { color: var(--ink); background: #f6e2ad; }
.pl-stitch { display: grid; grid-template-columns: auto auto; gap: 0 .7rem; align-items: baseline; padding: .35rem .8rem .45rem; border: 1.5px dashed rgba(30, 28, 24, .45); border-top: 0; border-radius: 0 0 6px 6px; }
.pl-name { font: 750 1.05rem/1.2 var(--display); }
.pl-price { font: 700 .82rem/1.2 var(--text); font-variant-numeric: tabular-nums; }
.pl-note { grid-column: 1 / -1; font-size: .74rem; color: var(--ink2); }

/* header */
.hd { background: var(--paper); position: relative; }
.hd-in { max-width: var(--wrap); margin: 0 auto; padding: 1rem 1.25rem; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-block { width: 44px; height: 44px; border-radius: 4px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--line2); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 800 1.6rem/1 var(--display); letter-spacing: -.01em; }
.brand-sub { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-top: .25rem; font-weight: 600; }
.hd-nav { display: flex; gap: 1.6rem; }
.hd-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.hd-nav a:hover { color: var(--red); }
.hd-nav a[aria-current="page"] { border-bottom: 2px dashed var(--red); }
.open-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pine); margin-left: .35rem; vertical-align: .2em; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .5rem; font-weight: 700; padding: .45rem .7rem; border: 1.5px solid var(--line2); border-radius: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon { display: grid; gap: 3px; } .menu-icon i { display: block; width: 18px; height: 2px; background: var(--ink); }
.menu-sheet { position: absolute; right: 0; top: calc(100% + .6rem); width: min(86vw, 320px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px rgba(30, 28, 24, .18); padding: .5rem; z-index: 30; display: grid; }
.menu-sheet a { padding: .8rem .9rem; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 6px; }
.menu-sheet a[aria-current="page"], .menu-sheet a:hover { background: var(--muslin); color: var(--red); }
.patchband { height: 12px; background: conic-gradient(from 135deg at 50% 0, var(--red) 90deg, transparent 0) 0 0 / 24px 12px, conic-gradient(from -45deg at 50% 100%, var(--gold) 90deg, transparent 0) 12px 0 / 24px 12px, var(--indigo); }
.patchband-ft { height: 10px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font: 700 1rem/1.2 var(--text); padding: .78rem 1.3rem; border-radius: 6px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem .8rem; font-size: .88rem; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); color: #fff; }
.btn-ink { background: var(--indigo); color: #fff; }
.btn-ink:hover { background: var(--indigo-d); color: #fff; }
.btn-line { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-line:hover { background: var(--indigo); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink2); border-color: var(--line2); }
.btn-quiet:hover { border-color: var(--ink2); color: var(--ink); }

/* home hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 4.5rem 1.25rem 3rem; }
/* v1.0.1 (HH-BRAND-1): an account-ledger page, left-set: blue rules, a double red margin line, headline written on the page */
.hero-ledger { max-width: none; padding: 0 1.25rem 3.4rem; background: repeating-linear-gradient(180deg, transparent 0 33px, rgba(34, 56, 92, .11) 33px 34px) 0 1.6rem, var(--paper); border-bottom: 1px solid var(--line); }
.hero-sheet { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 2.4rem 0 2.8rem 4.2rem; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem 3.5rem; align-items: end; }
.hero-sheet::before { content: ""; position: absolute; left: 2.2rem; top: -1.5rem; bottom: -14rem; width: 5px; border-left: 1.5px solid rgba(163, 55, 42, .8); border-right: 1.5px solid rgba(163, 55, 42, .8); }
.hero-h { font-size: clamp(2.7rem, 6.4vw, 5.4rem); font-weight: 800; line-height: .95; letter-spacing: -.02em; margin: 0; max-width: 9.5em; }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--ink2); margin: 0 0 1.5rem; }
.hero-cta { display: flex; gap: 1.2rem 1.6rem; align-items: center; flex-wrap: wrap; margin: 0; }
.hero-textlink { font-weight: 700; color: var(--indigo); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: .3em; }
.hero-textlink:hover { color: var(--red); }
.hero-ledger .strip, .hero-ledger .hero-numbers { max-width: calc(var(--wrap) - 4.2rem); margin-left: auto; margin-right: auto; position: relative; }
@media (min-width: 761px) { .hero-ledger .strip, .hero-ledger .hero-numbers { transform: translateX(2.1rem); } }
.strip { margin: 0 auto; padding: 2.6rem 1.4rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 0 var(--line), 0 24px 50px -30px rgba(23, 40, 67, .35); }
.strip-patches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(36, 1fr); gap: 3px; }
.strip-patches .patch { position: relative; aspect-ratio: 1; }
.strip-patches .patch:nth-child(12n+1) { margin-left: 0; }
.strip-patches .patch:nth-child(12n):not(:last-child) { margin-right: 6px; }
.strip-amt { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font: 700 .78rem/1 var(--text); background: var(--ink); color: #fff; padding: .25rem .4rem; border-radius: 4px; white-space: nowrap; }
.strip .s-small .strip-amt { display: none; }
.strip-cap { margin-top: 1rem; font-size: .9rem; color: var(--ink2); }
.strip-years { display: grid; grid-template-columns: repeat(3, 1fr); font: 700 .75rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-bottom: .8rem; }
.strip-text { display: block; max-width: 52rem; margin: 0 auto; }
.hero-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 2.2rem auto 0; max-width: 60rem; border-top: 2px solid var(--ink); }
.hero-numbers div { padding: 1rem .8rem 0; text-align: left; border-right: 1px solid var(--line); }
.hero-numbers div:last-child { border-right: 0; }
.hero-numbers dt { font: 700 .74rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.hero-numbers dd { margin: .35rem 0 0; font: 800 clamp(1.7rem, 3.4vw, 2.6rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.hero-numbers dd small { font-size: .5em; font-weight: 600; color: var(--ink3); }
.hn-real dd { color: var(--red); }

/* patches (quilt colours) */
.patch { background: var(--muslin); }
.k-none.s-none { background: var(--cream); box-shadow: inset 0 0 0 1px var(--line2); background-image: repeating-linear-gradient(90deg, transparent 0 4px, rgba(196, 181, 147, .35) 4px 5px); }
.k-signup { --pc: var(--indigo); } .k-renewal { --pc: var(--red); } .k-domain { --pc: var(--gold); } .k-addon { --pc: var(--pine); } .k-fee { --pc: var(--ink); }
.s-big { background: var(--pc); }
.s-small { background: linear-gradient(135deg, var(--pc) 50%, var(--cream) 50%); box-shadow: inset 0 0 0 1px var(--line2); }

/* section scaffolding */
.sec-head { max-width: 46rem; margin-bottom: 2.2rem; }
.leaves, .steps, .example, .price-band, .faq, .method, .ledger, .ledger-start, .compare-plans, .result, .reckoner, .prose, .wrap-narrow { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.leaves { padding-top: 4rem; padding-bottom: 3rem; }
.leaves-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.leaves-grid li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.3rem 1.2rem; }
.leaves-block { width: 56px; height: 56px; margin-bottom: 1.1rem; border-radius: 3px; }
.leaves-grid h3 { font-size: 1.35rem; }
.leaves-grid p { font-size: .96rem; color: var(--ink2); margin: 0; }
.steps { padding-top: 1rem; padding-bottom: 4rem; }
.steps-list { list-style: none; margin: 0; padding: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; border-top: 2px dashed var(--line2); }
.step-n { display: block; font: 800 4.2rem/1 var(--display); color: transparent; -webkit-text-stroke: 2px var(--gold); margin-bottom: .4rem; }
.steps-list h3 { font-size: 1.5rem; }
.steps-list p { color: var(--ink2); margin: 0; }

.example { padding-top: 4rem; padding-bottom: 4rem; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; }
.example > * { max-width: calc(var(--wrap) - 2.5rem); margin-left: auto; margin-right: auto; }
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ex-card { position: relative; background: var(--muslin); border: 2px solid var(--line); border-radius: 14px; padding: 1.7rem 1.7rem 1.4rem; }
.ex-card.is-best { border-color: var(--indigo); background: #f3f0e6; }
.ex-name { font: 750 1.5rem/1.1 var(--display); margin-bottom: .4rem; }
.ex-ad { color: var(--ink2); margin-bottom: .4rem; }
.ex-real { font-size: 1rem; color: var(--ink2); margin-bottom: 1.1rem; }
.ex-real span { display: block; font: 800 3.2rem/1 var(--display); color: var(--red); font-variant-numeric: tabular-nums; }
.ex-lines { margin: 0; display: grid; gap: 0; }
.ex-lines div { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px dotted var(--line2); font-variant-numeric: tabular-nums; }
.ex-lines dt { color: var(--ink2); } .ex-lines dd { margin: 0; font-weight: 700; }
.ex-total { border-bottom: 0 !important; border-top: 2px solid var(--ink); font-size: 1.1rem; }
.best-tag { display: inline-block; background: var(--indigo); color: #fff; font: 700 .72rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; padding: .35rem .55rem; border-radius: 3px; margin: .8rem 0 0; }
.ex-card .best-tag { position: absolute; top: -.85rem; right: 1.2rem; margin: 0; }
.ex-note { margin-top: 1.6rem; color: var(--ink2); max-width: 52rem; }

.price-band { padding-top: 4.5rem; padding-bottom: 4rem; }
.tags { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 900px; }
.tag { position: relative; background: var(--paper); border: 1px solid var(--line2); padding: 2.6rem 1.8rem 1.8rem; clip-path: polygon(0 18px, 18px 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); border-radius: 0 0 var(--r) var(--r); }
.tag::before { content: ""; position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--muslin); box-shadow: inset 0 0 0 2px var(--line2); }
.tag-pass { background: var(--indigo); color: #efe7d4; border-color: var(--indigo); }
.tag-pass .tag-name, .tag-pass .tag-price { color: #fff; }
.tag-pass .tag-alt, .tag-pass li { color: #e4dcc8; }
.tag-name { font: 700 .8rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem; text-align: center; }
.tag-price { font: 800 3.4rem/1 var(--display); text-align: center; margin-bottom: .2rem; }
.tag-price small { font-size: .38em; font-weight: 600; }
.tag-alt { text-align: center; color: var(--ink2); margin-bottom: 1rem; }
.tag ul { margin: 1rem 0 1.4rem; padding: 0; list-style: none; }
.tag li { padding: .35rem 0 .35rem 1.5rem; position: relative; font-size: .96rem; }
.tag li::before { content: ""; position: absolute; left: 0; top: .72rem; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.tag-preview { background: rgba(255, 255, 255, .1); border-left: 3px solid var(--gold); padding: .7rem .9rem; font-size: .92rem; border-radius: 0 6px 6px 0; }
.tag .btn { width: 100%; }

.promise { background: var(--indigo); color: #efe7d4; padding: 4rem 1.25rem; }
.promise > * { max-width: calc(var(--wrap) - 2.5rem); margin-left: auto; margin-right: auto; }
.promise h2 { color: #fff; }
.promise-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2.4rem; }
.promise-list li { padding-left: 2rem; position: relative; font-size: 1.05rem; }
.promise-list li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 16px; height: 16px; background: conic-gradient(var(--gold) 0 25%, var(--red) 0 50%, var(--gold) 0 75%, var(--red) 0); }
.promise-list b { color: #fff; }

.faq { padding-top: 4rem; padding-bottom: 4.5rem; max-width: 860px; }
.faq details { border-top: 1px solid var(--line2); }
.faq details:last-child { border-bottom: 1px solid var(--line2); }
.faq summary { cursor: pointer; list-style: none; font: 700 1.3rem/1.3 var(--display); padding: 1.1rem 2.2rem 1.1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .9rem; font: 400 1.7rem/1 var(--text); color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink2); padding-bottom: .6rem; }
.faq-narrow { padding-top: 2rem; }

/* inner pages */
.plain-head { max-width: var(--wrap); margin: 0 auto; padding: 3.2rem 1.25rem 1.6rem; }
.plain-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; max-width: 22ch; }
.plain-head .lead { font-size: 1.12rem; color: var(--ink2); max-width: 46rem; }
.example-note { display: inline-block; background: var(--gold-l); padding: .55rem .9rem; border-radius: 6px; font-size: .95rem; }
.notice { max-width: var(--wrap); margin: 0 auto 1.2rem; padding: .9rem 1.1rem; background: var(--paper); border: 1px solid var(--line2); border-left: 4px solid var(--pine); border-radius: 6px; }
.plain-head .notice, .ledger-start .notice { margin-left: 0; }
.notice-err { border-left-color: var(--red); }
.notice-pass { border-left-color: var(--gold); }
.notice-pass p { margin: 0 0 .3rem; }
main > .notice { margin-left: max(1.25rem, calc((100% - var(--wrap)) / 2 + 1.25rem)); margin-right: max(1.25rem, calc((100% - var(--wrap)) / 2 + 1.25rem)); }
.pass-tag { display: inline-block; font: 700 .7rem/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--gold-l); padding: .2rem .45rem; border-radius: 3px; vertical-align: .1em; }

/* reckoner form */
.reckoner { padding-bottom: 2rem; }
.setup-row { border: 0; padding: 1.2rem 1.3rem; margin: 0 0 .6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); display: grid; grid-template-columns: 2fr 1fr 1fr .8fr 1.2fr; gap: 1rem; }
.pass-line { font-size: .9rem; color: var(--ink2); margin: 0 0 1.4rem; }
.f { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.f-l { font-size: .82rem; font-weight: 700; color: var(--ink2); }
.f-l i { font-weight: 400; }
input, select { font: 400 1rem/1.3 var(--text); color: var(--ink); background: #fffdf7; border: 1.5px solid #a99b7c; border-radius: 6px; padding: .62rem .7rem; width: 100%; min-width: 0; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(-45deg, transparent 50%, var(--ink2) 50%); background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 1.8rem; }
input:focus, select:focus { border-color: var(--indigo); outline: 3px solid var(--gold-l); outline-offset: 0; }
input::placeholder { color: #9b917c; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); background: #fdf0ec; }
.field-err { color: var(--red); font-size: .82rem; font-weight: 600; }
.offers { align-items: start; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1.4rem; }
.offer-card { margin: 0; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 0 1.3rem 1.2rem; display: grid; gap: .9rem; border-top: 6px solid var(--indigo); align-content: start; }
.offer-card:nth-child(2) { border-top-color: var(--red); } .offer-card:nth-child(3) { border-top-color: var(--gold); } .offer-card:nth-child(4) { border-top-color: var(--pine); } .offer-card:nth-child(5) { border-top-color: var(--ink2); } .offer-card:nth-child(6) { border-top-color: var(--red-d); }
.offer-card legend { float: left; width: 100%; padding: 1.1rem 0 .2rem; font: 750 1.4rem/1.2 var(--display); display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.offer-card legend + * { clear: both; }
.offer-letter { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: 1.1rem; }
.f-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.f-trio { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: .9rem; }
.addons { border: 1px dashed var(--line2); border-radius: 8px; padding: .2rem .9rem; background: var(--cream); }
.addons summary { cursor: pointer; font-weight: 700; padding: .55rem 0; }
.addon { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; padding: .7rem 0; border-top: 1px dotted var(--line2); }
.addon .f-wide { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.6rem; padding: 1.2rem 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.form-small { flex-basis: 100%; margin: 0; font-size: .88rem; color: var(--ink3); }

/* result */
.result { padding-top: 2.5rem; padding-bottom: 3rem; }
.result-head { border-top: 3px solid var(--ink); padding-top: 1.4rem; margin-bottom: 1.4rem; }
.result-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.result-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.versus { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1.4rem 1rem; margin-bottom: 1.8rem; }
.versus-h { font-size: 1.5rem; }
.versus-scroll, .schedule-scroll, .cp-scroll { overflow-x: auto; }
/* v1.0.1 (HH-UX-1): say the comparison scrolls, and shade the edge that has more columns behind it */
.versus-hint { display: none; margin: -.2rem 0 .7rem; font-size: .86rem; font-weight: 600; color: var(--ink3); }
.versus-hint-arrow { display: inline-block; color: var(--red); animation: hh-nudge 1.6s ease-in-out 3; }
@keyframes hh-nudge { 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .versus-hint-arrow { animation: none; } }
.versus.is-scrollable .versus-hint { display: block; }
.versus-scroll { background: linear-gradient(90deg, var(--paper) 30%, rgba(255, 250, 240, 0)) left / 2.5rem 100% no-repeat local, linear-gradient(270deg, var(--paper) 30%, rgba(255, 250, 240, 0)) right / 2.5rem 100% no-repeat local, radial-gradient(farthest-side at 0 50%, rgba(30, 28, 24, .22), transparent) left / 1rem 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(30, 28, 24, .22), transparent) right / 1rem 100% no-repeat scroll; }
.versus-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.versus-table th, .versus-table td { padding: .65rem .8rem; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.versus-table thead th { font: 750 1.15rem/1.2 var(--display); vertical-align: bottom; white-space: normal; min-width: 8rem; }
.versus-table tbody th { text-align: left; font-weight: 600; color: var(--ink2); white-space: normal; }
.versus-table .is-best { background: #eef0f4; }
.versus-table thead .best-tag { display: block; width: max-content; margin: .35rem 0 0 auto; }
.row-total td, .row-total th { border-top: 2px solid var(--ink); font-weight: 800; }
.row-real td { font: 800 1.35rem/1 var(--display); color: var(--red); }
.versus-note { font-size: .95rem; color: var(--ink2); margin: 1rem 0 0; }
.legend { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .86rem; color: var(--ink2); }
.legend li { display: flex; align-items: center; gap: .45rem; }
.legend .patch { width: 16px; height: 16px; display: inline-block; }
.offer-result { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem 1.6rem 1.2rem; margin-bottom: 1.6rem; }
.or-head h3 { font-size: 1.8rem; }
.or-numbers { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: end; margin-bottom: 1.2rem; }
.big-real { margin: 0; }
.big-real-n { display: block; font: 800 clamp(3rem, 6vw, 4.4rem)/.95 var(--display); color: var(--red); font-variant-numeric: tabular-nums; }
.big-real-l { font-size: .92rem; color: var(--ink2); font-weight: 600; }
.or-facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-left: 1px solid var(--line); }
.or-facts div { padding: 0 1rem; border-right: 1px solid var(--line); }
.or-facts div:last-child { border-right: 0; }
.or-facts dt { font: 700 .72rem/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.or-facts dd { margin: .3rem 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.flags { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .5rem; }
.flag { padding: .7rem .9rem .7rem 1rem; background: var(--cream); border-left: 4px solid var(--indigo); border-radius: 0 6px 6px 0; font-size: .96rem; }
.flag.sev-high { border-left-color: var(--red); background: #fbefe9; }
.flag.sev-warn { border-left-color: var(--gold); background: #fbf3df; }
.flag-tag { display: block; font: 700 .7rem/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-bottom: .2rem; }
.flags-none { color: var(--pine); font-weight: 600; }
.quilt { margin: 0 0 1.4rem; display: grid; gap: 4px; }
.quilt-row { display: grid; grid-template-columns: 4.2rem 1fr; align-items: center; gap: .6rem; }
.quilt-year { font: 700 .72rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.quilt-patches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.quilt-patches .patch { height: 2.6rem; display: flex; align-items: flex-end; justify-content: center; padding-bottom: .2rem; }
.patch-amt { font: 700 .68rem/1 var(--text); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); font-variant-numeric: tabular-nums; }
.k-domain .patch-amt { color: var(--ink); text-shadow: none; }
.s-small .patch-amt { color: var(--ink); text-shadow: none; }
.leave { background: var(--cream); border: 1px dashed var(--line2); border-radius: 8px; padding: .9rem 1.1rem; margin-bottom: 1.2rem; }
.leave h4 { margin-bottom: .3rem; }
.leave p { margin: 0; font-size: .96rem; }
.schedule { border-top: 1px solid var(--line); padding-top: .6rem; }
.schedule summary { cursor: pointer; font-weight: 700; color: var(--indigo); padding: .3rem 0; }
.schedule-table { width: 100%; border-collapse: collapse; margin-top: .6rem; font-size: .94rem; font-variant-numeric: tabular-nums; }
.schedule-table th, .schedule-table td { text-align: left; padding: .45rem .5rem; border-bottom: 1px dotted var(--line2); }
.schedule-table .num { text-align: right; white-space: nowrap; }
.schedule-table tfoot th, .schedule-table tfoot td { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 800; }
.result-small { font-size: .86rem; color: var(--ink3); max-width: 52rem; }

/* pricing table */
.compare-plans { padding-bottom: 1rem; }
.cp-table { width: 100%; max-width: 900px; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
.cp-table th, .cp-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.cp-table thead th { font: 750 1.3rem/1.2 var(--display); background: var(--cream); }
.cp-table thead th span { display: block; font: 600 .82rem/1.3 var(--text); }
.cp-table .cp-pass { background: #eef0f4; font-weight: 700; }
.cp-table thead .cp-pass { background: var(--indigo); color: #fff; }
.cp-table tbody th { font-weight: 600; }

/* method + prose */
.method { padding-bottom: 4rem; max-width: 920px; margin-left: max(0px, calc((100% - var(--wrap)) / 2)); }
.method h2 { margin-top: 1.6rem; }
.method-list { padding-left: 1.4rem; }
.method-list li { margin-bottom: .8rem; }
.rules { margin: 0; display: grid; gap: .7rem; }
.rules div { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1.1rem; }
.rules dt { font: 750 1.25rem/1.2 var(--display); }
.rules dt span { display: inline-block; font: 800 .8rem/1 var(--text); background: var(--ink); color: var(--paper); padding: .25rem .4rem; border-radius: 3px; margin-right: .5rem; vertical-align: .15em; }
.rules dd { margin: .3rem 0 0; color: var(--ink2); }
.rules dd i { color: var(--red); font-weight: 700; }
.method-small { color: var(--ink3); margin-top: 1.4rem; }
.prose { max-width: 820px; margin-left: max(0px, calc((100% - var(--wrap)) / 2)); padding-bottom: 4rem; }

/* ledger */
.ledger, .ledger-start { padding-bottom: 4rem; }
.mini-form { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; margin-bottom: 1rem; max-width: 720px; }
.mini-form .f { flex: 1 1 240px; }
.mini-inline { display: inline-flex; flex-wrap: wrap; gap: .6rem; align-items: end; }
.check { display: flex; gap: .5rem; align-items: center; flex-basis: 100%; font-size: .95rem; }
.check input { width: auto; }
.keylink { background: var(--gold-l); border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: 1.4rem; }
.keylink-row { display: flex; gap: .6rem; margin: 0; flex-wrap: wrap; }
.keylink-input { flex: 1 1 260px; font-size: .9rem; }
.ledger-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; align-items: center; border-bottom: 2px solid var(--ink); padding-bottom: .8rem; margin-bottom: 1rem; }
.ledger-bar p { margin: 0; }
.ledger-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .8rem; }
.ledger-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--indigo); border-radius: 8px; padding: 1rem 1.2rem; }
.li-title { font: 750 1.35rem/1.2 var(--display); }
.li-meta { font-size: .86rem; color: var(--ink3); margin: .2rem 0 .3rem; }
.li-sum { margin: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; font-size: .94rem; }
.li-actions { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.li-actions form { margin: 0; }
.ledger-manage { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; margin-bottom: 1.4rem; }
.ledger-manage .mini-form { margin: 0; }
.danger-link { color: var(--red); font-weight: 700; }
.showlink summary { cursor: pointer; font-weight: 700; color: var(--indigo); margin-bottom: .6rem; }
.empty { color: var(--ink2); }

/* footer */
.ft { background: var(--indigo-d); color: #d9d0bb; margin-top: 2rem; }
.ft-in { max-width: var(--wrap); margin: 0 auto; padding: 2.6rem 1.25rem 2rem; display: grid; grid-template-columns: 2fr 1fr; gap: 1.4rem 3rem; }
.ft-promise .ft-name { font: 800 1.6rem/1 var(--display); color: #fff; margin-bottom: .7rem; }
.ft-promise p { font-size: .92rem; }
.ft-promise b { color: #fff; }
.ft-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1.2rem; align-content: start; }
.ft-nav a, .ft-power a { color: #f1d796; }
.ft-power { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1rem; margin: 0; font-weight: 700; color: #fff; }
.ft-ver { font-weight: 400; color: #a9a08b; font-size: .82rem; margin-left: .4rem; }

/* responsive */
@media (max-width: 1000px) {
  .hd-nav { display: none; }
  .menu { display: block; }
  .leaves-grid { grid-template-columns: 1fr 1fr; }
  .setup-row { grid-template-columns: 1fr 1fr 1fr; }
  .setup-row .f-wide { grid-column: 1 / -1; }
  .or-numbers { grid-template-columns: 1fr; gap: 1rem; }
  .or-facts { grid-template-columns: 1fr 1fr; border-left: 0; gap: .8rem 0; }
  .or-facts div:nth-child(2n) { border-right: 0; }
  .or-facts div { padding-left: 0; }
}
@media (max-width: 760px) {
  .strip-patches { grid-template-columns: repeat(12, 1fr); gap: 4px 3px; }
  .strip-patches .patch:nth-child(12n):not(:last-child) { margin-right: 0; }
  .strip-patches .patch:nth-child(n+13) { margin-top: 0; }
  .strip-years { display: none; }
  .strip { padding: 2.4rem .9rem 1rem; }
  .strip-patches { row-gap: 2.1rem; }
  .hero-numbers { grid-template-columns: 1fr 1fr; }
  .hero-numbers div:nth-child(2) { border-right: 0; }
  .hero-sheet { grid-template-columns: 1fr; padding-left: 2.6rem; }
  .hero-sheet::before { left: .9rem; bottom: -1rem; }
  .pass-label-wrap { padding: 0 .9rem; }
  .steps-list, .ex-grid, .tags, .promise-list { grid-template-columns: 1fr; }
  .ex-grid { gap: 2rem; }
  .ft-in { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hd-in { padding: .8rem 1rem; gap: 1rem; }
  .brand-block { width: 36px; height: 36px; }
  .brand-name { font-size: 1.3rem; }
  .brand-sub { font-size: .62rem; }
  .menu-word { display: none; }
  .hero { padding-top: 2.8rem; }
  .hero-ledger { padding-top: 0; }
  .hero-sheet { padding-top: 2.2rem; padding-left: 1.6rem; }
  .hero-sheet::before { left: .2rem; }
  .leaves-grid { grid-template-columns: 1fr; }
  .setup-row { grid-template-columns: 1fr 1fr; padding: 1rem; }
  .f-trio { grid-template-columns: 1fr 1fr; }
  .f-trio .f:last-child { grid-column: 1 / -1; }
  .offer-card { padding: 0 1rem 1rem; }
  .quilt-row { grid-template-columns: 1fr; gap: .3rem; }
  .quilt-patches { gap: 3px; }
  .quilt-patches .patch { height: 1.6rem; }
  .patch-amt { display: none; }
  .offer-result, .versus { padding: 1.1rem 1rem; }
  .versus-table th, .versus-table td { padding: .55rem .5rem; }
  .versus-table thead th { min-width: 6.2rem; font-size: 1rem; }
  .versus-table thead .best-tag { width: auto; white-space: normal; letter-spacing: .04em; text-align: center; }
  .versus-table tbody th { min-width: 6.5rem; font-size: .9rem; }
  .ledger-item { flex-direction: column; }
}
@media print {
  .pass-label-wrap, .hd, .ft, .reckoner, .plain-head-reckon, .result-actions, .schedule summary { display: none !important; }
  body { background: #fff; }
  .schedule { display: block; } .schedule[open], .schedule:not([open]) > .schedule-scroll { display: block; }
  .offer-result, .versus { break-inside: avoid; border-color: #999; }
}
.strip-patches .patch:nth-child(12n+1) .strip-amt { left: 0; transform: none; }
.strip-patches .patch:nth-child(12n) .strip-amt { left: auto; right: 0; transform: none; }
.flag b { display: block; }
