/* land + home — centered single column on cream paper; olive is the only accent; a cost "ledger" is the signature element */
:root {
  --paper: #f3efe4;      /* cream ground */
  --sheet: #faf7ef;      /* raised surface: ledger, cards */
  --ink: #30332b;        /* olive-black text */
  --muted: #6b6d5e;      /* secondary text */
  --olive: #66704f;      /* muted olive accent */
  --sage: #a3ad92;       /* sage: rules on the ledger, markers */
  --olive-ink: #f6f3e9;  /* text on olive */
  --line: #d8d6c6;       /* rules, borders */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --step--1: 0.875rem; --step-0: 1.0625rem; --step-1: 1.3rem; --step-2: 1.75rem; --step-3: clamp(2.1rem, 5vw, 3.1rem);
  --measure: 40rem;
  --wide: 62rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1d1f19; --sheet: #25281f; --ink: #ebe7da; --muted: #a5a693;
    --olive: #b0b89a; --sage: #7d8770; --olive-ink: #1d1f19; --line: #3a3d31; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1d1f19; --sheet: #25281f; --ink: #ebe7da; --muted: #a5a693;
  --olive: #b0b89a; --sage: #7d8770; --olive-ink: #1d1f19; --line: #3a3d31; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--font-body);
  padding-inline: 20px;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--sage); text-underline-offset: 3px; }
a:hover { color: var(--olive); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; background: var(--sheet); padding: 8px 12px; z-index: 10; }

.eyebrow { font: 500 0.75rem/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); }
.eyebrow a { text-decoration: none; }
.lede { color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: var(--measure); margin-inline: auto; }
.center { text-align: center; }

/* masthead */
.masthead { max-width: var(--wide); margin: 0 auto; padding-block: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.16em; text-decoration: none; line-height: 1; }
.wordmark span { color: var(--sage); }
.wordmark.small { font-size: 1.15rem; }
.masthead nav { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.masthead nav a { font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding-block: 4px; }
.masthead nav a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--olive); }
.main-nav { align-items: center; }
.has-menu { position: relative; display: flex; align-items: center; gap: 2px; }
.menu-toggle { background: none; border: 0; padding: 6px; color: var(--muted); cursor: pointer; display: inline-flex; border-radius: 4px; }
.menu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 20; list-style: none; margin: 0; padding: 8px; min-width: 16rem; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.08); text-align: left; }
.submenu.open { display: block; }
@media (hover: hover) { .has-menu:hover .submenu, .has-menu:focus-within .submenu { display: block; } .has-menu::after { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 12px; } }
.masthead nav .submenu a { display: block; padding: 9px 12px; text-transform: none; letter-spacing: 0; font-size: var(--step--1); color: var(--ink); border-radius: 4px; border: 0; }
.masthead nav .submenu a:hover { background: var(--paper); color: var(--olive); }
.submenu .all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.masthead nav .submenu .all a { color: var(--olive); font-weight: 500; }

main { max-width: var(--wide); margin: 0 auto; display: flex; flex-direction: column; gap: 88px; padding-block: 64px 96px; }

/* buttons */
.btn { display: inline-block; background: var(--olive); color: var(--olive-ink); text-decoration: none; padding: 13px 26px; border-radius: 999px; font-weight: 500; letter-spacing: 0.01em; border: 1px solid var(--olive); }
.btn:hover { color: var(--olive-ink); filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--olive); }
.btn.disabled { background: transparent; color: var(--muted); border: 1px dashed var(--line); cursor: not-allowed; filter: none; }
.btn-wide { display: block; text-align: center; width: 100%; }
.text-link { color: var(--olive); font-weight: 500; }
.soon { font-size: var(--step--1); color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 10px 20px; }

/* hero */
.hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero h1 { max-width: 14ch; font-size: clamp(2.5rem, 7vw, 4.2rem); }
.hero-cta { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; justify-content: center; }

/* the ledger: the true-cost breakdown that is the brand's core idea */
.ledger { margin: 28px 0 0; width: 100%; max-width: 30rem; background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; padding: 26px 28px 22px; text-align: left; font-family: var(--font-mono); font-size: 0.9rem; }
.ledger figcaption { font: 500 0.72rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ledger ol { list-style: none; margin: 0; padding: 12px 0; }
.ledger li { display: flex; align-items: baseline; gap: 10px; padding-block: 6px; }
.ledger li::before { content: "+"; color: var(--sage); width: 1ch; }
.ledger li:first-child::before { content: ""; }
.ledger .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.ledger .amt { color: var(--muted); font-variant-numeric: tabular-nums; }
.ledger .total { display: flex; justify-content: space-between; border-top: 2px solid var(--ink); padding-top: 12px; font-weight: 500; }
.ledger .total span:first-child { padding-left: calc(1ch + 10px); }
.ledger .total .amt { color: var(--olive); }

/* sections */
.block { display: flex; flex-direction: column; gap: 32px; }
.block-head, .page-head { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.page-head { gap: 16px; }

.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.grid > * { flex: 0 1 calc((100% - 40px) / 3); }
@media (max-width: 820px) { .grid { max-width: 30rem; margin-inline: auto; width: 100%; } .grid > * { flex-basis: 100%; } }

.product { background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.product-link { text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.product-link:hover { color: inherit; }
.product-link:hover .product-title { color: var(--olive); }
.product-thumb { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper); border-bottom: 1px solid var(--line); }
.product-thumb.ph { background: color-mix(in srgb, var(--sage) 25%, var(--paper)); }
.product-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 18px; text-align: center; }
.product .kind, .kind { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.product-title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.2; text-wrap: balance; }
.product-sum { font-size: var(--step--1); color: var(--muted); }
.product-foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding: 12px 22px; font-size: var(--step--1); margin-top: auto; }
.product-foot a { color: var(--olive); font-weight: 500; }
.product.is-draft { opacity: 0.72; }
.price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.pill { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--muted); }

.articles { list-style: none; margin: 0 auto; padding: 0; max-width: var(--measure); width: 100%; border-top: 1px solid var(--line); }
.articles li { border-bottom: 1px solid var(--line); }
.articles a { display: flex; flex-direction: column; gap: 6px; padding: 22px 4px; text-decoration: none; text-align: center; }
.a-title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.25; text-wrap: balance; }
.a-sum { color: var(--muted); font-size: var(--step--1); }
.articles a:hover .a-title { color: var(--olive); }

/* signup */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 48px; border-top: 1px solid var(--line); }
.signup-img { width: 100%; border-radius: 4px; }
.signup-text { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.signup-text > p:not(.eyebrow) { color: var(--muted); max-width: 32rem; }
.signup.compact { grid-template-columns: minmax(0, 1fr); background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; padding: 36px 24px; max-width: var(--measure); margin-inline: auto; width: 100%; }
@media (max-width: 760px) { .signup { grid-template-columns: minmax(0, 1fr); gap: 24px; } .signup-img { max-width: 26rem; margin-inline: auto; } }
.signup form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; width: 100%; max-width: 30rem; }
.signup input { flex: 1 1 14rem; min-width: 0; font: inherit; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); }
.signup button { font: inherit; font-weight: 500; cursor: pointer; background: var(--olive); color: var(--olive-ink); border: 1px solid var(--olive); border-radius: 999px; padding: 12px 22px; }
.form-msg { flex-basis: 100%; font-size: var(--step--1); color: var(--muted); min-height: 1.4em; }

/* articles + product pages */
.post, .product-page { max-width: var(--measure); margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 28px; }
.landing .signup.compact { margin-block: 0; }
.post-head, .product-page > .eyebrow, .product-page > h1, .product-page > .lede { text-align: center; }
.post-head { display: flex; flex-direction: column; gap: 16px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.product-page .buy { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.includes { background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; padding: 24px 28px; }
.includes h2 { font-size: var(--step-1); margin-bottom: 10px; }
.includes ul { margin: 0; padding-left: 1.2em; }
.includes li { padding-block: 3px; }
.includes li::marker { color: var(--sage); }

.prose { display: flex; flex-direction: column; gap: 1.1em; min-width: 0; }
.prose h2 { margin-top: 0.8em; }
.prose h3 { margin-top: 0.4em; }
.prose h4 { font-family: var(--font-display); font-size: var(--step-1); font-weight: 400; font-style: italic; color: var(--olive); margin: 0.3em 0 0; text-wrap: balance; }
.prose figure { margin: 0.4em 0; }
.prose figure img { display: block; width: 100%; border-radius: 4px; }
.prose figure a { display: block; }
.prose blockquote { border-style: solid; border-color: var(--sage); background: var(--sheet); color: var(--ink); font-size: var(--step-0); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose li::marker { color: var(--sage); }
.prose blockquote { margin: 0; padding: 16px 20px; border: 1px solid var(--sage); border-radius: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--line); width: 100%; }
.prose code { font-family: var(--font-mono); font-size: 0.9em; }
.prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.94em; line-height: 1.45; text-align: left; }
.prose th, .prose td { padding: 10px 14px; vertical-align: top; border-top: 1px solid var(--line); }
.prose thead th { border-top: 0; background: var(--sheet); color: var(--olive); font-weight: 600; font-size: 0.86em; letter-spacing: 0.02em; white-space: nowrap; }
.prose td:first-child { font-weight: 500; }
.a-group + .a-group { margin-top: 2.6em; }
.a-group > h2 { margin-bottom: 0.6em; }

.related { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; padding: 32px 24px; }
.related p:not(.eyebrow) { color: var(--muted); }

/* planning paths */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.path { display: flex; flex-direction: column; gap: 6px; text-decoration: none; text-align: center; min-width: 0; }
.path img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 4px; margin-bottom: 10px; }
.path-title { font-family: var(--font-display); font-size: var(--step-1); }
.path-text { color: var(--muted); font-size: var(--step--1); }
.path:hover .path-title { color: var(--olive); }
@media (max-width: 720px) { .paths { grid-template-columns: minmax(0, 1fr); max-width: 26rem; margin-inline: auto; } }

/* why */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; padding: 40px; }
.why img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.why-text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.why-text p:not(.eyebrow) { color: var(--muted); }
@media (max-width: 760px) { .why { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 28px; text-align: center; } .why img { aspect-ratio: 4 / 3; } }

/* shop categories */
.cat-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.cat-nav a { font-size: var(--step--1); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--muted); }
.cat-nav a:hover { border-color: var(--sage); color: var(--olive); }
.cat { scroll-margin-top: 24px; }
.cat .block-head h2 a { text-decoration: none; }
.cat .block-head h2 { font-size: var(--step-1); text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-body); font-weight: 500; color: var(--olive); }
.buy-note { flex-basis: 100%; text-align: center; font-size: 0.8rem; color: var(--muted); }

/* contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; padding: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--step--1); font-weight: 500; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea { font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); }
.contact-form button { align-self: center; font: inherit; font-weight: 500; cursor: pointer; background: var(--olive); color: var(--olive-ink); border: 1px solid var(--olive); border-radius: 999px; padding: 12px 28px; }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--step--1); color: var(--muted); margin-bottom: -56px; }
.crumbs a { color: var(--muted); }

/* product page: gallery + buy box, then the same sections for every product */
.pdp-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gallery-main { margin: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--sheet); aspect-ratio: 4 / 3; }
.gallery-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--sheet); cursor: pointer; aspect-ratio: 4 / 3; }
.thumbs button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { outline: 2px solid var(--olive); outline-offset: 1px; }
.buybox { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 20px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.buybox h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.buybox .lede { font-size: var(--step-0); margin: 0; }
.price-lg { font-family: var(--font-mono); font-size: 1.6rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.specs { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: var(--step--1); color: var(--muted); }
.specs li { display: flex; gap: 10px; }
.specs li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.6em; border-radius: 50%; background: var(--sage); }
.upsell { display: flex; flex-direction: column; gap: 4px; text-decoration: none; border: 1px solid var(--sage); border-radius: 4px; padding: 16px 18px; background: var(--sheet); }
.upsell:hover { color: inherit; border-color: var(--olive); }
.upsell-title { font-family: var(--font-display); font-size: var(--step-1); }
.upsell-text { font-size: var(--step--1); color: var(--muted); }
.pdp-band { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; padding: 40px; }
.pdp-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pdp-col p:not(.eyebrow) { color: var(--muted); }
.pdp-col ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.pdp-col li::marker { color: var(--sage); }
.pdp-section { display: flex; flex-direction: column; gap: 28px; }
.pdp-section.narrow { max-width: var(--measure); margin-inline: auto; width: 100%; }
.outcomes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.outcomes li { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--sage); min-width: 0; }
.outcomes strong { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); }
.outcomes span { color: var(--muted); font-size: var(--step--1); }
.includes ul { display: flex; flex-direction: column; gap: 10px; }
.parts-note { margin-top: 14px; font-size: var(--step--1); color: var(--muted); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps li::before { content: counter(step); font-family: var(--font-mono); font-size: 0.85rem; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--olive); color: var(--olive); display: grid; place-items: center; }
.steps strong { font-weight: 500; }
.steps span { color: var(--muted); font-size: var(--step--1); }
.delivery { display: flex; flex-direction: column; gap: 12px; }
.fine-print { font-size: var(--step--1); color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.3rem; color: var(--olive); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }
.pdp-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .pdp-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .buybox { position: static; }
  .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pdp-band { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 28px; }
  .outcomes, .steps { grid-template-columns: minmax(0, 1fr); }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .crumbs { margin-bottom: -36px; }
}

/* footer */
.foot { max-width: var(--wide); margin: 0 auto; border-top: 1px solid var(--line); padding-block: 40px 48px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.foot-tag { color: var(--muted); font-size: var(--step--1); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 8px; font-size: var(--step--1); }
.foot nav a { color: var(--muted); }
.fine { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }

@media (max-width: 480px) {
  main { gap: 64px; padding-block: 44px 72px; }
  .ledger { padding: 20px 16px 18px; font-size: 0.82rem; }
  .masthead nav { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* product page section headings line up with their left-aligned content */
.pdp-section .block-head { text-align: left; align-items: flex-start; }
/* product pages: everything left-aligned to one edge */
.pdp-section.narrow { margin-inline: 0; }
.pdp-cta { text-align: left; align-items: flex-start; }
.pdp-related .grid { justify-content: flex-start; }
.pdp-related .product-body { text-align: left; }
.crumbs { justify-content: flex-start; }
.gallery-main video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--sheet); }
.thumbs button.is-video { position: relative; }
.thumbs button.is-video::after { content: ""; position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.5 2.5v5l4-2.5z' fill='%23f6f3e9'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: 0 1px 4px rgb(0 0 0 / 0.2); }
.form-fine { flex-basis: 100%; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.form-fine a { color: var(--muted); }

/* sitewide: all page text left-aligned (header and footer stay centered) */
.center, .hero, .block-head, .page-head, .product-body, .articles a, .signup-text, .post-head,
.product-page > .eyebrow, .product-page > h1, .product-page > .lede, .related, .path, .pdp-cta,
.buy-note, .ledger figcaption { text-align: left; }
.hero, .block-head, .page-head, .signup-text, .post-head, .related, .pdp-cta { align-items: flex-start; }
.hero-cta, .grid, .signup form, .product-page .buy, .cat-nav { justify-content: flex-start; }
.lede, .articles, .signup.compact, .pdp-section.narrow { margin-inline: 0; }
/* the signup under an article lines up with the centered article column above it */
.post + .signup.compact { margin-inline: auto; }
@media (max-width: 820px) { .grid { margin-inline: 0; } }
@media (max-width: 760px) { .why { text-align: left; } .signup-img { margin-inline: 0; } }
@media (max-width: 720px) { .paths { margin-inline: 0; } }

/* content boxes for pages (written with ::: name … ::: in the .md file) */
.prose .section { display: flex; flex-direction: column; gap: 1.1em; margin-top: 2.2em; padding-top: 2.2em; border-top: 1px solid var(--line); }
.prose .section > h2 { margin-top: 0; }
.prose .box { display: flex; flex-direction: column; gap: 0.9em; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 26px 28px; }
.prose .pull { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1.3; color: var(--olive); border-left: 3px solid var(--sage); padding: 4px 0 4px 22px; margin-block: 0.6em; text-wrap: balance; }
.prose .note { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4; color: var(--ink); background: var(--sheet); border-left: 3px solid var(--olive); border-radius: 0 6px 6px 0; padding: 16px 22px; text-wrap: balance; }
.prose .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 12px; }
.prose .tiles > p { background: var(--sheet); border: 1px solid var(--line); border-top: 3px solid var(--sage); border-radius: 6px; padding: 16px 18px; font-weight: 500; line-height: 1.35; }
.prose .checks ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.prose .checks li { margin: 0; padding-left: 30px; position: relative; }
.prose .checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--olive); color: var(--olive-ink); font-size: 0.72rem; display: grid; place-items: center; margin-top: 3px; }
.prose .promise { display: flex; flex-direction: column; gap: 0.7em; background: var(--olive); color: var(--olive-ink); border-radius: 6px; padding: 26px 28px; }
.prose .promise strong { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); line-height: 1.35; }
.prose .links { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 12px; }
.prose .links a { display: block; height: 100%; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; text-decoration: none; font-weight: 500; transition: border-color 0.15s; }
.prose .links a:hover { border-color: var(--olive); }
/* ::: prompt — copy-and-paste AI prompt (a Copy button is added by script); ::: prompt used = the exact prompt behind a photo */
.prose .prompt { display: flex; flex-direction: column; gap: 10px; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 16px 20px; font: 400 0.88rem/1.6 var(--font-mono); }
.prose .prompt.used { border-left: 3px solid var(--sage); }
.prose .prompt.used::before { content: "The exact prompt for this photo"; font: 500 0.72rem/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); }
.prose .prompt-copy { align-self: flex-start; font: 500 0.82rem/1 var(--font-body); background: var(--olive); color: var(--olive-ink); border: 0; border-radius: 4px; padding: 9px 14px; cursor: pointer; }
.prose .prompt-copy:hover { filter: brightness(1.08); }
@media (max-width: 480px) { .prose .box, .prose .promise { padding: 20px; } .prose .pull { font-size: var(--step-1); } }
/* small screens: open the Shop menu from its left edge so it never runs off the screen */
@media (max-width: 720px) { .submenu { left: 0; transform: none; max-width: calc(100vw - 32px); } }

/* ---------- free tools ---------- */
:root { --clay: #9a5b3c; --clay-soft: #f1e3d6; --gold-soft: #efe7cf; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --clay: #d79a78; --clay-soft: #3a2a21; --gold-soft: #33301f; } }
:root[data-theme="dark"] { --clay: #d79a78; --clay-soft: #3a2a21; --gold-soft: #33301f; }
button.btn { font: inherit; font-weight: 500; cursor: pointer; }
button.btn[disabled] { opacity: 0.45; cursor: not-allowed; filter: none; }
.as-link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 3px; }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 16px; }
.tool-card { display: flex; flex-direction: column; gap: 8px; background: var(--sheet); border: 1px solid var(--line); border-top: 3px solid var(--olive); border-radius: 4px; padding: 22px 22px 20px; text-decoration: none; transition: border-color 0.15s; }
.tool-card:hover { color: inherit; border-color: var(--olive); }
.tool-card-title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.2; }
.tool-card-text { color: var(--muted); font-size: var(--step--1); }
.tool-card-go { margin-top: auto; padding-top: 6px; color: var(--olive); font-weight: 500; font-size: var(--step--1); }
.tool-card-go::after { content: " →"; }

.tool-wrap { display: flex; flex-direction: column; gap: 28px; margin-top: -40px; }
.bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--sage) 28%, var(--paper)); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--olive); border-radius: inherit; transition: width 0.3s ease; }

/* questionnaire */
.quiz { background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 22px; max-width: 44rem; }
.quiz-progress { display: flex; flex-direction: column; gap: 8px; }
.quiz-count { font: 500 0.75rem/1.4 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.quiz-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz-q legend { padding: 0; margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.quiz-title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; text-wrap: balance; outline: none; }
.quiz-help { color: var(--muted); font-size: var(--step--1); }
.choices { display: grid; gap: 10px; }
.choices.two-col { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.choice { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 13px 16px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.choice:hover { border-color: var(--sage); }
.choice input { accent-color: var(--olive); margin: 4px 0 0; width: 18px; height: 18px; flex: none; }
.choice:has(input:checked) { border-color: var(--olive); background: color-mix(in srgb, var(--sage) 16%, var(--sheet)); }
.choice:has(input:focus-visible) { outline: 2px solid var(--olive); outline-offset: 2px; }
.choice.is-disabled { opacity: 0.5; cursor: not-allowed; }
.choice-text { display: flex; flex-direction: column; font-weight: 500; line-height: 1.35; }
.choice-text small { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; }

/* results */
.result { display: flex; flex-direction: column; gap: 22px; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 30px 28px; max-width: 48rem; }
.result.empty { gap: 8px; }
.result-head { display: flex; flex-direction: column; gap: 8px; }
.result-head h2 { outline: none; }
.result-score { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.result-score .big { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--olive); }
.result-score .of { color: var(--muted); }
.result-score .pill { margin-left: 6px; align-self: center; }
.result-total { font-family: var(--font-display); font-size: clamp(2.6rem, 8vw, 3.6rem); line-height: 1; color: var(--olive); font-variant-numeric: tabular-nums; }
.result-lede { color: var(--muted); }
.heads-up { background: var(--gold-soft); border-radius: 6px; padding: 14px 18px; font-size: var(--step--1); }
.flash { background: color-mix(in srgb, var(--sage) 22%, var(--sheet)); border-left: 3px solid var(--olive); border-radius: 0 6px 6px 0; padding: 12px 16px; font-size: var(--step--1); }
.locked { display: flex; flex-direction: column; gap: 8px; }
.locked-row { display: flex; align-items: center; gap: 14px; justify-content: space-between; border: 1px dashed var(--line); border-radius: 6px; padding: 12px 16px; color: var(--muted); }
.locked-row .rank { flex: none; }
.ghost-text { filter: blur(5px); user-select: none; color: var(--sage); letter-spacing: -0.05em; }
.locked-note { font-size: var(--step--1); color: var(--muted); }
.gate { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 22px; }
.gate h3 { font-size: var(--step-1); }
.gate-text { color: var(--muted); }
.gate-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.gate-optin { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); font-weight: 500; cursor: pointer; }
.gate-optin input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--olive); }
.gate-row input { flex: 1 1 15rem; min-width: 0; font: inherit; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.result-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }
.result-actions .as-link { color: var(--muted); }
.result-fine { font-size: 0.8rem; color: var(--muted); }

/* decision scorecard */
.scorecard { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.path-card { border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.path-card.is-top { border-color: var(--olive); box-shadow: inset 3px 0 0 var(--olive); }
.path-head { display: flex; align-items: baseline; gap: 12px; }
.path-head h3 { flex: 1; font-size: var(--step-1); }
.rank { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--olive); color: var(--olive-ink); font-size: 0.8rem; font-weight: 700; flex: none; align-self: center; }
.path-score { font-family: var(--font-display); font-size: var(--step-2); color: var(--olive); white-space: nowrap; }
.path-score small { font-family: var(--font-body); font-size: 0.8rem; color: var(--muted); }
.path-label { font-size: var(--step--1); font-weight: 500; color: var(--muted); }
.path-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 10px; margin: 4px 0; }
.path-nums div { background: var(--sheet); border-radius: 4px; padding: 10px 12px; }
.path-nums dt { font-size: 0.75rem; color: var(--muted); }
.path-nums dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.path-sub { font: 500 0.72rem/1.4 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive); margin-top: 4px; }
.ticks, .flags, .next { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--step--1); }
.ticks li, .flags li, .next li { padding-left: 22px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--olive); font-weight: 700; }
.flags li::before { content: "!"; position: absolute; left: 3px; color: var(--clay); font-weight: 700; }
.next li::before { content: "→"; position: absolute; left: 0; color: var(--olive); }
.next a { color: var(--olive); font-weight: 500; }

/* calculators */
.calc { display: flex; flex-direction: column; gap: 18px; max-width: 48rem; }
.calc-note { color: var(--muted); font-size: var(--step--1); }
.calc-group { background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px 24px; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.calc-group legend { font-family: var(--font-display); font-size: var(--step-1); padding: 0 8px; margin-left: -8px; display: flex; align-items: center; gap: 10px; }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--olive); color: var(--olive); font: 500 0.8rem var(--font-body); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: 14px 18px; }
.field.num { display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; }
.field.num label { font-weight: 500; font-size: var(--step--1); display: flex; flex-direction: column; }
.field.num label small { font-weight: 400; color: var(--muted); font-size: 0.78rem; }
.num-wrap { display: flex; align-items: center; background: var(--gold-soft); border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; }
.num-wrap:focus-within { border-color: var(--olive); outline: 2px solid color-mix(in srgb, var(--olive) 35%, transparent); }
.num-wrap input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-variant-numeric: tabular-nums; color: var(--ink); padding: 10px 6px; outline: none; }
.affix { color: var(--muted); font-size: var(--step--1); white-space: nowrap; }
.field select { font: inherit; font-size: var(--step--1); padding: 9px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.calc-out { max-width: 48rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 10px; margin: 0; }
.stat-grid div { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; }
.stat-grid dt { font-size: 0.78rem; color: var(--muted); }
.stat-grid dd { margin: 2px 0 0; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-grid dd small { font-family: var(--font-body); font-size: 0.8rem; color: var(--muted); }
.stat-grid .is-over { background: var(--clay-soft); border-color: transparent; }
.stat-grid .is-over dd { color: var(--clay); }
.out-h { font-size: var(--step-1); margin-top: 6px; }
.out-p { font-size: var(--step--1); }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: flex; flex-direction: column; gap: 5px; }
.bar-top { display: flex; justify-content: space-between; gap: 12px; font-size: var(--step--1); }
.bar-val { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.upsell-box { background: var(--olive); color: var(--olive-ink); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.upsell-box .eyebrow { color: var(--olive-ink); opacity: 0.8; }
.upsell-box .btn { background: var(--olive-ink); color: var(--olive); border-color: var(--olive-ink); }
.upsell-box .btn:hover { color: var(--olive); }

/* renovation projects */
.stage { display: flex; flex-direction: column; gap: 8px; }
.stage + .stage { margin-top: 6px; }
.stage-h { font: 500 0.72rem/1.4 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive); }
.proj-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.proj { display: grid; grid-template-columns: minmax(0, 1fr) 8.5rem 3.6rem; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px 8px 12px; background: var(--paper); }
.proj.is-on { border-color: var(--olive); background: color-mix(in srgb, var(--sage) 14%, var(--sheet)); }
.proj-pick { display: grid; grid-template-columns: 17px minmax(0, 1fr); align-items: center; gap: 4px 10px; cursor: pointer; min-width: 0; }
.proj-pick .pri { grid-column: 2; justify-self: start; }
.proj-pick input, .proj-diy input { accent-color: var(--olive); width: 17px; height: 17px; margin: 0; }
.proj-name { font-weight: 500; font-size: var(--step--1); line-height: 1.3; }
.pri { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pri-fix-now { color: var(--clay); border-color: currentColor; }
.pri-fix-soon { color: var(--olive); border-color: currentColor; }
.proj-amt { padding: 0 8px; }
.proj-amt input { padding: 7px 4px; font-size: var(--step--1); }
.proj-diy { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--muted); cursor: pointer; }
.order { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 6px; font-size: var(--step--1); }
.order li span { display: block; }
.order-meta { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 560px) {
  .quiz, .result, .calc-group { padding: 22px 18px; }
  .proj { grid-template-columns: minmax(0, 1fr) 7.2rem; }
  .proj-diy { grid-column: 1 / -1; padding-left: 27px; }
  .proj-diy:empty { display: none; }
  .tool-wrap { margin-top: -56px; }
}

/* ---------- home page (h-*) ---------- */
:root { --band: #e4e6d3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --band: #2a2e23; } }
:root[data-theme="dark"] { --band: #2a2e23; }

.h-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.h-hero-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.h-hero h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); max-width: 13ch; }
.h-hero .lede { margin-inline: 0; max-width: 34rem; }
.h-trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--step--1); color: var(--muted); }
.h-trust li::before { content: "✓"; color: var(--olive); margin-right: 7px; font-weight: 700; }
.h-hero-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.h-hero .ledger { margin: 0; max-width: none; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(48, 51, 43, 0.45); }
.h-ledger-note { font-size: var(--step--1); color: var(--muted); }
.h-ledger-note .text-link::after { content: " →"; }

.h-intro { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px 32px; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; }
.h-intro img { width: 7.5rem; height: 7.5rem; object-fit: cover; border-radius: 50%; background: var(--band); }
.h-intro > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.h-intro h2 { font-size: var(--step-1); }
.h-intro p { color: var(--muted); max-width: 44rem; }

.h-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; }
.h-head > div { display: flex; flex-direction: column; gap: 8px; }
.h-sub { color: var(--muted); max-width: 36rem; }
.h-head > .text-link { white-space: nowrap; font-size: var(--step--1); }
.h-head > .text-link::after, .h-go::after { content: " →"; }

.h-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.h-tool, .h-article { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); transition: border-color 0.15s, transform 0.15s; }
.h-tool:hover, .h-article:hover { color: var(--ink); border-color: var(--olive); transform: translateY(-2px); }
.h-tool-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.h-icon { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--band); fill: none; stroke: var(--olive); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.h-free { font: 500 0.7rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive); border: 1px solid var(--sage); border-radius: 999px; padding: 6px 10px; }
.h-tool-title, .h-article-title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.25; }
.h-tool-text, .h-article-text { color: var(--muted); font-size: var(--step--1); }
.h-tool-meta { font-size: 0.78rem; color: var(--muted); }
.h-go { margin-top: auto; padding-top: 6px; color: var(--olive); font-weight: 500; font-size: var(--step--1); }

.h-roadmap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; background: var(--band); border-radius: 8px; padding: 48px; }
.h-roadmap-text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.h-roadmap-text > p:not(.eyebrow) { color: var(--muted); }
.h-roadmap-img { width: 100%; border-radius: 4px; }
.h-roadmap form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.h-roadmap input { flex: 1 1 14rem; min-width: 0; font: inherit; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); }
.h-roadmap button { font: inherit; font-weight: 500; cursor: pointer; background: var(--olive); color: var(--olive-ink); border: 1px solid var(--olive); border-radius: 999px; padding: 12px 22px; }
.h-roadmap button:hover { filter: brightness(1.08); }
.h-roadmap .form-msg { flex-basis: 100%; font-size: var(--step--1); min-height: 0; margin: 0; }
.h-roadmap .form-msg:empty { display: none; }
.h-roadmap .form-fine { flex-basis: 100%; font-size: 0.78rem; color: var(--muted); }

.h-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.h-products .product-sum { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.h-cats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--step--1); }
.h-cats span { color: var(--muted); margin-right: 4px; }
.h-cats a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: var(--ink); background: var(--sheet); }
.h-cats a:hover { border-color: var(--olive); color: var(--olive); }

.h-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.h-close { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 56px; }
.h-close p { color: var(--muted); max-width: 36rem; }

@media (max-width: 980px) { .h-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .h-hero, .h-roadmap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .h-roadmap { padding: 32px 24px; }
  .h-roadmap-img { max-width: 26rem; }
  .h-tools, .h-articles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .h-intro { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 16px; }
  .h-intro img { width: 5.5rem; height: 5.5rem; }
  .h-products { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .h-tool:hover, .h-article:hover { transform: none; } }

/* ---------- articles (a-* page parts, g-* graphics) ---------- */
.article { gap: 32px; }
.article .post-head { padding-bottom: 0; border-bottom: 0; gap: 14px; }
.article .post-head h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); }
.article .lede { font-size: 1.15rem; }
.a-card .text-link::after { content: " →"; }
.a-hero { margin: 0; }
.a-hero img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--sheet); }

.a-answer { background: var(--olive); color: var(--olive-ink); border-radius: 6px; padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.a-answer .eyebrow { color: var(--olive-ink); opacity: 0.8; }
.a-answer p:last-child { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.45; }

.a-toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 18px; }
.a-toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; counter-reset: toc; }
.a-toc li { counter-increment: toc; display: flex; gap: 10px; font-size: var(--step--1); line-height: 1.4; }
.a-toc li::before { content: counter(toc, decimal-leading-zero); color: var(--sage); font-family: var(--font-mono); font-size: 0.75rem; padding-top: 2px; }
.a-toc a { text-decoration: none; }
.a-toc a:hover { text-decoration: underline; }
@media (max-width: 560px) { .a-toc ol { grid-template-columns: minmax(0, 1fr); } }

.article .prose { gap: 1em; }
.article .prose h2 { margin-top: 1.4em; scroll-margin-top: 20px; }
.article .prose h2 + p { margin-top: -0.2em; }
.article .prose > ul { padding-left: 1.2em; }

/* cards dropped into the body: product, free tool, roadmap */
.a-card { display: flex; gap: 22px; align-items: center; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 20px; margin-block: 0.8em; }
.a-card-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.a-card-text > p:not(.eyebrow):not(.a-card-title) { color: var(--muted); font-size: var(--step--1); line-height: 1.5; }
.a-card-title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.25; }
.a-card .text-link { font-size: var(--step--1); margin-top: 4px; }
.a-card-img { flex: 0 0 38%; display: block; }
.a-card-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.a-icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; align-self: flex-start; }
.a-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--olive); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.a-tool { border-left: 3px solid var(--sage); }
.a-roadmap { border-style: dashed; border-color: var(--sage); }
@media (max-width: 560px) { .a-card { flex-direction: column; align-items: stretch; } .a-card-img { flex-basis: auto; } }

.a-faq { display: flex; flex-direction: column; gap: 14px; }
.a-next { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); padding-top: 28px; }
.a-more { display: flex; flex-direction: column; gap: 12px; }
.a-more-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.a-more-list a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; transition: border-color 0.15s; }
.a-more-list a:hover { border-color: var(--olive); color: inherit; }
.a-more-title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; }
.a-more-sum { color: var(--muted); font-size: var(--step--1); line-height: 1.45; }
@media (max-width: 560px) { .a-more-list { grid-template-columns: minmax(0, 1fr); } }

/* graphics */
.g { margin: 0.8em 0; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.g-title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.25; }
.g figcaption { font-size: 0.8rem; color: var(--muted); }
.g .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); min-width: 12px; }
.g .amt { font-variant-numeric: tabular-nums; }

.g-stack-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: end; }
.g-col { display: flex; flex-direction: column; gap: 10px; }
.g-bars { display: flex; flex-direction: column; gap: 3px; justify-content: flex-end; height: 340px; }
.g-space { flex: var(--h) 1 0; }
.g-bar { flex: var(--h) 1 0; min-height: 24px; display: flex; align-items: center; padding: 0 12px; border-radius: 3px; font-size: 0.8rem; line-height: 1.2; background: color-mix(in srgb, var(--sage) 38%, var(--sheet)); color: var(--ink); }
.g-bar:nth-child(odd) { background: color-mix(in srgb, var(--sage) 55%, var(--sheet)); }
.g-bar.is-home { background: var(--olive); color: var(--olive-ink); }
.g-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 480px) { .g-bars { height: 300px; } .g-bar { font-size: 0.72rem; padding: 0 8px; } }

.g-lots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.g-lot { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.g-lot-name { font-family: var(--font-display); font-size: 1.2rem; display: flex; flex-direction: column; }
.g-lot-name span { font-family: var(--font-body); font-size: 0.8rem; color: var(--muted); }
.g-lot ul { list-style: none; margin: 0; padding: 0; font-size: 0.85rem; }
.g-lot li { display: flex; align-items: baseline; gap: 8px; padding-block: 3px; }
.g-lot li .amt { color: var(--muted); }
.g-total { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--ink); padding-top: 8px; font-weight: 600; font-size: 0.9rem; }
.g-meter { display: block; height: 8px; border-radius: 99px; background: var(--sage); width: calc(var(--w) * 1%); }
.g-lot.is-more .g-meter { background: var(--olive); }
.g-lot.is-more .g-total .amt { color: var(--olive); }
.g-verdict { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.35; border-left: 3px solid var(--olive); padding-left: 14px; }
.g-verdict strong { font-weight: 600; color: var(--olive); }
@media (max-width: 560px) { .g-lots { grid-template-columns: minmax(0, 1fr); } }

.g-options { background: transparent; border: 0; padding: 0; }
.g-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.g-opt { background: var(--sheet); border: 1px solid var(--line); border-top: 3px solid var(--sage); border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.g-opt svg { width: 30px; height: 30px; fill: none; stroke: var(--olive); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.g-opt-kicker { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive); font-weight: 500; }
.g-opt-title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; }
.g-opt-text { font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 640px) { .g-opts { grid-template-columns: minmax(0, 1fr); } }

.g-table { display: flex; flex-direction: column; font-size: 0.88rem; }
.g-tr { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 4.2rem); gap: 8px; align-items: center; padding-block: 8px; border-bottom: 1px dotted var(--line); }
.g-th { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
.g-th span:not(:first-child), .g-box { justify-self: center; }
.g-box { width: 16px; height: 16px; border: 1.5px solid var(--sage); border-radius: 3px; }
@media (max-width: 420px) { .g-tr { grid-template-columns: minmax(0, 1fr) repeat(3, 3rem); } }

/* article previews with photos: Resources list, home cards, keep reading */
.articles a { flex-direction: row; align-items: center; gap: 24px; padding: 24px 0; }
.articles a > img { flex: 0 0 38%; width: 38%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--sheet); }
.a-item-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.articles .a-title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.25; }
.articles .a-sum { color: var(--muted); font-size: var(--step--1); line-height: 1.55; }
.a-read { color: var(--olive); font-weight: 500; font-size: var(--step--1); }
.a-read::after { content: " →"; }
@media (max-width: 600px) { .articles a { flex-direction: column; align-items: stretch; gap: 14px; } .articles a > img { width: 100%; } }
.h-article { padding: 0 0 24px; overflow: hidden; }
.h-article > :not(.h-article-img) { margin-inline: 24px; }
.h-article-img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper); margin-bottom: 6px; }
.a-more-list a { padding: 0 0 18px; overflow: hidden; }
.a-more-list a > :not(img) { margin-inline: 20px; }
.a-more-list a > img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 6px; background: var(--paper); }
.a-hero figcaption { font-size: 0.75rem; color: var(--muted); margin-top: 6px; }
.a-hero figcaption a { color: var(--muted); }

/* ---------- sales pages (content/sales/*.md) ---------- */
.masthead.focus { padding-block: 22px; }
.sp-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.sp-hero-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; min-width: 0; }
.sp-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; }
.sp-hero .lede { margin: 0; }
.sp-note { font-size: var(--step--1); color: var(--muted); }
.sp-hero-side { min-width: 0; }
.sp-frame { margin: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--sheet); }
.sp-frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.sp-ledger { margin: 0; max-width: none; }
.sp-ledger .amt { color: var(--ink); white-space: nowrap; }
.sp-ledger .sp-l { display: flex; flex-direction: column; min-width: 0; }
.sp-ledger .sp-l small { font: 400 0.78rem/1.4 var(--font-body); color: var(--muted); }
.sp-ledger figcaption { text-align: left; }
.sp-ledger .total { font-size: 1rem; gap: 12px; }
.sp-ledger .total .amt { color: var(--olive); }
.sp-ledger-hero { box-shadow: 0 18px 40px -24px rgb(48 51 43 / 0.45); }
.sp-url { display: flex; gap: 8px; align-items: center; font: 400 0.78rem/1 var(--font-mono); color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; margin-bottom: 18px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sp-url span { font-size: 0.7rem; }
.sp-sign { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font: 400 var(--step--1)/1.4 var(--font-body); color: var(--muted); }
.sp-sign a { color: var(--olive); font-weight: 500; }

.sp-hook { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 44px; }
.sp-hook .sp-ledger { background: var(--paper); }
.sp-hook-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sp-hook-text > p:not(.eyebrow):not(.fine-print) { color: var(--muted); }

.sp-pains { display: flex; flex-direction: column; gap: 18px; max-width: var(--measure); }
.sp-pains ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sp-pains li { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.35; padding: 12px 0 12px 20px; border-left: 3px solid var(--sage); }
.sp-answer { font-size: var(--step-1); color: var(--olive); font-weight: 500; }

.sp-story { max-width: var(--measure); }

.sp-show { display: flex; flex-direction: column; gap: 56px; }
.sp-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.sp-row:nth-of-type(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.sp-row:nth-of-type(even) .sp-frame { order: 2; }
.sp-row-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sp-row-text h3 { font-size: var(--step-2); }
.sp-row-text p { color: var(--muted); }

.sp-compare { display: flex; flex-direction: column; gap: 28px; }
.sp-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.sp-col { border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sp-col h3 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sp-col ul, .sp-checks, .sp-nots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sp-col li, .sp-checks li, .sp-nots li { position: relative; padding-left: 30px; }
.sp-without li { color: var(--muted); }
.sp-without li::before, .sp-nots li::before { content: "–"; position: absolute; left: 4px; top: 0; color: var(--muted); }
.sp-with { background: var(--sheet); border-color: var(--sage); border-top: 3px solid var(--olive); }
.sp-with h3 { color: var(--olive); }
.sp-with li::before, .sp-checks li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--olive); color: var(--olive-ink); font-size: 0.72rem; display: grid; place-items: center; }

.sp-offer { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; background: var(--sheet); border: 1px solid var(--line); border-top: 3px solid var(--olive); border-radius: 6px; padding: 44px; scroll-margin-top: 24px; }
.sp-offer-text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sp-offer-text > p:not(.eyebrow) { color: var(--muted); }
.sp-offer-text .specs { margin-top: 8px; }
.sp-offer-buy { display: flex; flex-direction: column; gap: 14px; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.sp-price { font: 500 2.4rem/1 var(--font-mono); font-variant-numeric: tabular-nums; display: flex; gap: 14px; align-items: baseline; }
.sp-price s { font-size: 1.1rem; color: var(--muted); font-weight: 400; }
.sp-save { font-size: var(--step--1); color: var(--olive); font-weight: 500; margin-top: -6px; }

.sp-form { display: flex; flex-direction: column; gap: 14px; }
.sp-form-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; }
.sp-form .field input, .sp-form .field textarea, .sp-form .field select { font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--sheet); color: var(--ink); width: 100%; min-width: 0; }
.sp-form button { font: inherit; font-weight: 500; cursor: pointer; width: 100%; }
.sp-form .form-msg { min-height: 0; }

.sp-fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.sp-fit > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sp-nots li { color: var(--muted); }

.sp-about { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 28px; align-items: center; max-width: var(--measure); }
.sp-about img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; }
.sp-about > div { display: flex; flex-direction: column; gap: 10px; }
.sp-about p:not(.eyebrow) { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.45; }

.sp-close { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-block: 48px; border-top: 1px solid var(--line); }
.sp-close .lede { margin: 0; }
.sp-close .fine-print { max-width: var(--measure); margin-top: 8px; }

.sp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--sheet); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(0 0 0 / 0.06); }
.sp-bar-text { display: flex; flex-direction: column; min-width: 0; font-size: var(--step--1); line-height: 1.3; }
.sp-bar-text strong { font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sp-bar-text .price { color: var(--muted); }
.sp-bar .btn { padding: 10px 20px; white-space: nowrap; flex: none; }
@media (min-width: 901px) { .sp-bar { left: auto; right: 20px; bottom: 20px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 22px; gap: 20px; } }

@media (max-width: 900px) {
  .sp-hero, .sp-hook, .sp-offer, .sp-row, .sp-row:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sp-row:nth-of-type(even) .sp-frame { order: 0; }
  .sp-hook, .sp-offer { padding: 28px 22px; }
  .sp-show { gap: 44px; }
}
@media (max-width: 640px) {
  .sp-cols, .sp-fit, .sp-form-row { grid-template-columns: minmax(0, 1fr); }
  .sp-about { grid-template-columns: 88px minmax(0, 1fr); gap: 18px; }
  .sp-about img { width: 88px; height: 88px; }
  .sp-offer-buy { padding: 22px 18px; }
  .sp-ledger { padding: 20px 16px 18px; font-size: 0.82rem; }
  .foot { padding-bottom: 96px; }
}

/* family photo: keep the family (lower part of the photo) in frame when cropped */
.why img, .h-intro img { object-position: 50% 78%; }

/* 48-hour email offer pages (/offer/<slug>/) */
.offer { max-width: 68rem; margin-inline: auto; padding: 40px 16px 64px; }
.offer-live, .offer { display: flex; flex-direction: column; gap: inherit; }
.offer-live[hidden], .offer-ended[hidden] { display: none; }
.offer-text { display: flex; flex-direction: column; gap: 14px; }
.offer-img { margin: 0; }
.offer-img img { width: 100%; height: auto; border-radius: 4px; }
.offer-inc { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 28px; max-width: var(--measure); }
.offer-inc h2 { margin-bottom: 10px; }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.offer-price .now { font-family: var(--font-mono); font-size: 2.2rem; color: var(--olive); font-variant-numeric: tabular-nums; }
.offer-price .was { color: var(--muted); font-size: var(--step--1); }
.offer-clock { background: color-mix(in srgb, var(--sage) 22%, var(--sheet)); border-left: 3px solid var(--olive); border-radius: 0 6px 6px 0; padding: 10px 16px; font-weight: 500; }
.offer-clock span { font-family: var(--font-mono); }
.offer-note { margin: 8px 0 0; font-size: .92rem; color: var(--olive); font-weight: 500; }
.offer-note::before { content: "✓ "; }
.offer-ended { display: flex; flex-direction: column; gap: 14px; max-width: var(--measure); }
.offer-ended[hidden], .offer-live[hidden], .offer-clock[hidden] { display: none; }

/* slim lead magnet banner (top of Shop category pages) */
.slim-magnet { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; background: var(--sheet); border: 1px solid var(--line); border-left: 3px solid var(--olive); border-radius: 4px; padding: 16px 20px; margin-bottom: 8px; }
.slim-magnet .sm-text { flex: 1 1 18rem; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.slim-magnet .sm-title { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.slim-magnet .sm-line { color: var(--muted); font-size: var(--step--1); }
.slim-magnet form { flex: 1 1 20rem; display: flex; flex-wrap: wrap; gap: 8px; }
.slim-magnet input { flex: 1 1 11rem; min-width: 0; font: inherit; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg, var(--sheet)); color: var(--ink); }
.slim-magnet button { font: inherit; font-weight: 500; cursor: pointer; background: var(--olive); color: var(--olive-ink); border: 1px solid var(--olive); border-radius: 999px; padding: 10px 18px; }
.slim-magnet .form-msg:empty { display: none; }
.slim-magnet .form-msg, .slim-magnet .form-fine { flex-basis: 100%; font-size: 0.78rem; color: var(--muted); }
.slim-magnet .btn { padding: 10px 22px; }

/* ---------- reviews ---------- */
:root { --star: #b48a3c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --star: #d8b26a; } }
:root[data-theme="dark"] { --star: #d8b26a; }
.stars { position: relative; display: inline-block; line-height: 1; letter-spacing: 0; color: var(--line); font-size: 1rem; white-space: nowrap; }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--star); }
.stars.sm { font-size: 0.85rem; }
.stars.lg { font-size: 1.35rem; }
.rating-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: var(--step--1); color: var(--muted); }
.rating-link:hover span:last-child { text-decoration: underline; }
.product-rating { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.review-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 32px; align-items: center; }
.review-avg { display: flex; flex-direction: column; gap: 6px; }
.review-avg-n { font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.review-count { font-size: var(--step--1); color: var(--muted); }
.review-dist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-width: 22rem; font-size: 0.8rem; color: var(--muted); }
.review-dist li { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) 1.5rem; align-items: center; gap: 10px; }
.review-dist .bar > span { background: var(--star); }
.review-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.review { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.review header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: var(--step--1); }
.review-name { font-weight: 500; }
.review-badge { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.review-badge.is-verified { color: var(--olive); border-color: currentColor; }
.review time { color: var(--muted); font-size: 0.8rem; }
.review p { white-space: pre-line; }
.review-empty { color: var(--muted); }
.review-write { border: 1px solid var(--line); border-radius: 6px; background: var(--sheet); }
.review-write > summary { cursor: pointer; padding: 16px 20px; font-weight: 500; color: var(--olive); list-style: none; }
.review-write > summary::-webkit-details-marker { display: none; }
.review-write > summary::before { content: "+ "; }
.review-write[open] > summary::before { content: "– "; }
.review-write .review-form { border: 0; border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; }
.review-form { display: flex; flex-direction: column; gap: 16px; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.review-form .field select { font-size: var(--step-0); padding: 11px 12px; border-radius: 4px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 16px; }
.review-form button { align-self: flex-start; font: inherit; font-weight: 500; cursor: pointer; background: var(--olive); color: var(--olive-ink); border: 1px solid var(--olive); border-radius: 999px; padding: 12px 28px; }
.review-form button[disabled] { opacity: 0.5; cursor: wait; }
.star-input { border: 0; margin: 0; padding: 0; }
.star-input legend { font-size: var(--step--1); font-weight: 500; padding: 0; margin-bottom: 6px; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-row label { font-size: 2rem; line-height: 1; color: var(--line); cursor: pointer; padding: 2px; transition: color 0.1s; }
.star-row input:checked ~ label, .star-row label:hover, .star-row label:hover ~ label { color: var(--star); }
.star-row input:focus-visible + label { outline: 2px solid var(--olive); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 560px) { .review-summary { grid-template-columns: 1fr; } }

/* Results-page deal (free tools: LH.dealBox in assets/tools/gate.js) */
.deal-box { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px 28px; align-items: start; background: var(--sheet); border: 1px solid var(--line); border-top: 3px solid var(--olive); border-radius: 6px; padding: 24px; }
.deal-img { width: 100%; height: auto; border-radius: 4px; }
.deal-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.deal-text h3 { margin: 0; }
.deal-text > p:not(.eyebrow):not(.offer-price):not(.offer-clock) { color: var(--muted); }
.deal-text .offer-price .now { font-size: 1.9rem; }
.deal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.deal-fine { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 680px) { .deal-box { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; } }
.deal-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; background: color-mix(in srgb, var(--sage) 22%, var(--sheet)); border-left: 3px solid var(--olive); border-radius: 0 6px 6px 0; padding: 12px 12px 12px 16px; }
.deal-strip p { margin: 0; font-size: var(--step--1); line-height: 1.5; min-width: 0; }
.deal-strip-tag { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--olive); }
.deal-strip s { color: var(--muted); }
.deal-strip .btn { padding: 9px 18px; white-space: nowrap; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.deal-bar[hidden] { display: none; }
body.has-deal-bar .foot { padding-bottom: 96px; }
@media (max-width: 520px) { .deal-strip .btn { width: 100%; text-align: center; } }
.deal-bar-sub { color: var(--muted); }

/* 48-hour offer sales page */
.offer-top .buybox h1 { margin: 0; }
.offer-top .offer-clock .mono, .offer-close .offer-clock .mono { font-family: var(--font-mono); }
.offer-close { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.offer-close .offer-price { justify-content: flex-start; }
.offer-bar[hidden] { display: none; }
body:has(.offer-bar) .foot { padding-bottom: 96px; }

/* Shop: compact list of the planners outside the two focus categories */
.more-planners ul { list-style: none; padding: 0; margin: 0.8em 0 0; display: grid; gap: 0; }
.more-planners li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.more-planners li a { text-decoration: none; color: var(--ink); }
.more-planners li a:hover { color: var(--olive); }
.more-planners .price { color: var(--muted); white-space: nowrap; }

/* ---------- pro Cost Breakdown pages (/r/<rep>/) ---------- */
.rp-sample { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; background: var(--olive); color: var(--olive-ink); border-radius: 6px; padding: 16px 22px; margin-bottom: -48px; }
.rp-sample p { margin: 0; max-width: 34rem; font-size: var(--step--1); }
.rp-sample .btn { background: var(--olive-ink); color: var(--olive); border-color: var(--olive-ink); padding: 10px 20px; font-size: var(--step--1); }
.rp-head { display: flex; flex-direction: column; gap: 14px; max-width: var(--measure); }
.rp-head h1 { font: 400 var(--step-3)/1.1 var(--font-display); margin: 10px 0 0; }
.rp-head .lede { margin: 0; color: var(--muted); }
.rp-rep { display: flex; align-items: center; gap: 14px; }
.rp-avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--sage); color: var(--olive-ink); display: grid; place-items: center; font: 500 1.05rem/1 var(--font-body); letter-spacing: 0.04em; }
.rp-rep-text { display: flex; flex-direction: column; line-height: 1.35; }
.rp-rep-name { font-weight: 700; }
.rp-rep-meta { font-size: var(--step--1); color: var(--muted); }
.rp-rep-small .rp-avatar { width: 42px; height: 42px; font-size: 0.9rem; }
.rp-homes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 22px; margin-top: -40px; }
.rp-home { display: flex; flex-direction: column; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; }
.rp-home:hover { color: inherit; border-color: var(--sage); }
.rp-home-img { aspect-ratio: 4 / 3; overflow: hidden; display: block; background: var(--paper); }
.rp-home-img img, .rp-home-img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-home-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.rp-home-title { font: 400 var(--step-2)/1.15 var(--font-display); }
.rp-home-title span, .rp-detail h1 span { color: var(--muted); font-size: 0.7em; }
.rp-home-row { display: flex; justify-content: space-between; gap: 12px; font: 400 0.9rem/1.4 var(--font-mono); color: var(--muted); }
.rp-home-all { color: var(--ink); border-top: 1px solid var(--line); padding-top: 8px; }
.rp-home-all span:last-child { color: var(--olive); font-weight: 500; }
.rp-home .h-go { margin-top: 4px; color: var(--olive); font-weight: 500; font-size: var(--step--1); }
.rp-home .h-go::after { content: " →"; }
.rp-fine { font-size: 0.8rem; color: var(--muted); max-width: var(--measure); margin: 0; }
main > .rp-fine { margin-top: -56px; }
.rp-back { margin: 0 0 18px; font-size: var(--step--1); }
.rp-back a { color: var(--muted); text-decoration: none; }
.rp-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.rp-detail-img { margin: 0 0 18px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sheet); }
.rp-detail-img img, .rp-detail-img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-detail h1 { font: 400 var(--step-3)/1.1 var(--font-display); margin: 8px 0 12px; }
.rp-detail .lede { color: var(--muted); margin: 0; }
.rp-detail-calc { display: flex; flex-direction: column; gap: 20px; }
.rp-scen { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rp-scen legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.rp-scen label { cursor: pointer; }
.rp-scen input { position: absolute; opacity: 0; pointer-events: none; }
.rp-scen label span { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 11px 14px; background: var(--sheet); line-height: 1.3; }
.rp-scen strong { font-weight: 500; font-size: var(--step--1); }
.rp-scen small { color: var(--muted); font-size: 0.78rem; margin-top: 3px; }
.rp-scen input:checked + span { border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); }
.rp-scen input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.rp-money { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); padding-left: 14px; }
.rp-money span { color: var(--muted); }
.field .rp-money input { border: 0; background: transparent; flex: 1; min-width: 0; padding-left: 6px; }
.rp-ledger li.rp-zero .amt { color: var(--muted); font-family: var(--font-body); font-size: 0.82rem; }
.rp-ledger li[data-land]::before { content: "+"; }
.rp-scen-note { margin: 10px 0 0; font: 400 0.8rem/1.4 var(--font-body); color: var(--muted); }
.rp-text, .rp-sent { background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rp-text h2, .rp-sent h2 { font: 400 var(--step-2)/1.15 var(--font-display); margin: 0; }
.rp-text > p, .rp-sent > p { margin: 0; }
.rp-sent .btn { align-self: flex-start; }
.rp-sent .text-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; cursor: pointer; align-self: flex-start; }
.rp-alert { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--olive); border-radius: 10px; padding: 14px 16px; font-size: var(--step--1); line-height: 1.45; }
.rp-alert p { margin: 0; }
.rp-alert-top { display: flex; justify-content: space-between; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px !important; }
.rp-alert-name { font-weight: 700; }
.rp-foot { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: -40px; }
@media (max-width: 760px) {
  .rp-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rp-sample { margin-bottom: -32px; }
  .rp-homes { margin-top: -24px; }
}
.field .rp-money input:focus { outline: none; }
.rp-money:focus-within { border-color: var(--olive); box-shadow: 0 0 0 1px var(--olive); }
/* compare + tour (pro pages) */
.rp-home-wrap { position: relative; display: flex; }
.rp-home-wrap .rp-home { flex: 1; }
.rp-cmp { position: absolute; top: 12px; right: 12px; z-index: 1; display: flex; align-items: center; gap: 7px; background: var(--sheet); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 10px; font-size: var(--step--1); font-weight: 500; cursor: pointer; box-shadow: 0 4px 14px -8px rgb(0 0 0 / 0.4); }
.rp-cmp input { accent-color: var(--olive); width: 16px; height: 16px; margin: 0; }
.rp-cmp:has(input:checked) { background: var(--olive); color: var(--olive-ink); border-color: var(--olive); }
.rp-compare { display: flex; flex-direction: column; gap: 22px; margin-top: -40px; scroll-margin-top: 20px; }
.rp-cmp-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px 28px; align-items: end; }
.rp-cmp-controls .rp-scen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rp-cmp-table { overflow-x: auto; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; }
.rp-cmp-table table { width: 100%; border-collapse: collapse; font: 400 0.88rem/1.35 var(--font-mono); min-width: 34rem; }
.rp-cmp-table th, .rp-cmp-table td { padding: 10px 16px; text-align: left; border-bottom: 1px dotted var(--line); vertical-align: top; }
.rp-cmp-table tbody th { font: 400 var(--step--1)/1.35 var(--font-body); color: var(--muted); white-space: nowrap; }
.rp-cmp-table thead th { font: 400 var(--step-1)/1.2 var(--font-display); border-bottom: 1px solid var(--line); padding-top: 16px; }
.rp-cmp-table thead a { text-decoration: none; }
.rp-cmp-table thead span { display: block; font: 400 0.78rem/1.4 var(--font-body); color: var(--muted); margin-top: 3px; }
.rp-cmp-table thead em { display: inline-block; margin-top: 6px; font: 500 0.68rem/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; background: var(--olive); color: var(--olive-ink); border-radius: 999px; padding: 4px 8px; }
.rp-cmp-total th, .rp-cmp-total td { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 500; color: var(--olive); padding-top: 12px; }
.rp-cmp-total th { color: var(--ink); }
.rp-cmp-price td { color: var(--ink); }
.rp-cmp-tour td, .rp-cmp-tour th { border-bottom: 0; font-family: var(--font-body); }
.rp-cmp-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 16px; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 8px 8px 8px 20px; font-size: var(--step--1); box-shadow: 0 12px 30px -12px rgb(0 0 0 / 0.5); white-space: nowrap; max-width: calc(100vw - 32px); }
.rp-cmp-bar .btn { padding: 9px 20px; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.rp-actions { margin: 18px 0 0; }
.rp-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.rp-modes button { font: inherit; font-size: var(--step--1); font-weight: 500; border: 0; border-radius: 999px; padding: 9px 8px; background: transparent; color: var(--muted); cursor: pointer; }
.rp-modes button[aria-pressed="true"] { background: var(--olive); color: var(--olive-ink); }
.rp-text .field label { display: flex; flex-direction: column; gap: 6px; }
.rp-text .field select { font-size: var(--step-0); padding: 11px 12px; border-radius: 4px; }
.rp-text, .rp-sent { scroll-margin-top: 20px; }
@media (max-width: 760px) {
  .rp-cmp-controls { grid-template-columns: minmax(0, 1fr); }
  .rp-cmp-controls .rp-scen { grid-template-columns: 1fr 1fr; }
  .rp-compare { margin-top: -24px; }
}
.rp-cmp-bar.rp-off { opacity: 0; pointer-events: none; } .rp-cmp-bar { transition: opacity .2s; }
.rp-cmp-table td { white-space: nowrap; }
.rp-cmp-table tbody th, .rp-cmp-table thead th:first-child { position: sticky; left: 0; background: var(--sheet); z-index: 1; }
@media (max-width: 760px) { .rp-cmp-table table { min-width: 0; font-size: 0.8rem; } .rp-cmp-table th, .rp-cmp-table td { padding: 9px 10px; } .rp-cmp-table tbody th { white-space: normal; min-width: 6.5rem; } }
/* badges, sold, share, sample links (pro pages) */
.rp-sample > div { display: flex; flex-direction: column; gap: 4px; }
.rp-sample .rp-sample-links { font-size: 0.8rem; opacity: 0.92; }
.rp-sample .rp-sample-links a { color: inherit; text-decoration-color: currentColor; }
.rp-home-img, .rp-detail-img { position: relative; }
.rp-badge { position: absolute; left: 12px; top: 12px; font: 500 0.7rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--sheet); color: var(--ink); border: 1px solid var(--line); }
.rp-badge-lot { background: var(--olive); color: var(--olive-ink); border-color: var(--olive); }
.rp-badge-sold { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rp-sold .rp-home-img img, .rp-sold .rp-home-img svg { opacity: 0.55; filter: grayscale(0.6); }
.rp-sold .rp-home-all span:last-child { color: var(--muted); }
.rp-sold-note { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid var(--sage); background: var(--sheet); font-size: var(--step--1); }
.rp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rp-share-msg { font-size: var(--step--1); color: var(--olive); margin: 8px 0 0; min-height: 1em; }
.rp-share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.rp-share-row .rp-share-msg { margin: 0; }
/* lot card */
.rp-card-tools { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 28px; }
.rp-card-tools h1 { font: 400 var(--step-3)/1.1 var(--font-display); margin: 0 0 8px; }
.rp-card-tools p { margin: 0; color: var(--muted); max-width: 34rem; }
.rp-card { width: 100%; max-width: 34rem; margin: -48px auto 0; background: #fff; color: #30332b; border: 1px solid var(--line); border-radius: 6px; padding: 40px 40px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: 0 18px 40px -24px rgb(48 51 43 / 0.45); }
.rp-card p { margin: 0; }
.rp-card-eyebrow { font: 500 0.74rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: #66704f; }
.rp-card h2 { font: 400 2.6rem/1.05 var(--font-display); margin: 4px 0 0; }
.rp-card h2 span { color: #6b6d5e; font-size: 0.6em; }
.rp-card-spec { color: #6b6d5e; font-size: 0.95rem; }
.rp-card-q { font: 400 1.5rem/1.2 var(--font-display); margin-top: 14px !important; max-width: 22rem; }
.rp-card-q em { color: #66704f; }
.rp-card-qr { width: min(15rem, 70%); margin: 8px 0 4px; }
.rp-card-qr svg { display: block; width: 100%; height: auto; }
.rp-card-scan { font-size: 0.92rem; max-width: 22rem; color: #4b4e43; }
.rp-card-nums { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-top: 1px solid #d8d6c6; border-bottom: 1px solid #d8d6c6; margin-top: 10px; }
.rp-card-nums p { display: flex; flex-direction: column; padding: 12px 6px; gap: 2px; }
.rp-card-nums p + p { border-left: 1px solid #d8d6c6; }
.rp-card-nums span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6b6d5e; }
.rp-card-nums strong { font: 500 1.25rem/1.2 var(--font-mono); }
.rp-card-rep { font-size: 0.95rem; margin-top: 6px !important; }
.rp-card-fine { font-size: 0.72rem; color: #6b6d5e; }
@media print {
  @page { size: letter; margin: 0.5in; }
  body { background: #fff; padding: 0; }
  .masthead, .foot, .rp-sample, .rp-card-tools, .skip { display: none !important; }
  main { padding: 0; gap: 0; display: block; max-width: none; }
  .rp-card { margin: 0 auto; border: 0; box-shadow: none; max-width: 6.8in; padding: 0.3in 0; gap: 0.12in; }
  .rp-card h2 { font-size: 40pt; }
  .rp-card-q { font-size: 22pt; max-width: none; }
  .rp-card-qr { width: 3.6in; }
  .rp-card-scan, .rp-card-rep { font-size: 13pt; }
  .rp-card-nums strong { font-size: 18pt; }
}
/* weekly report */
.rp-week-intro h1 { font: 400 var(--step-3)/1.1 var(--font-display); margin: 6px 0 10px; }
.rp-week-intro .lede { margin: 0; color: var(--muted); max-width: var(--measure); }
.rp-mail { max-width: 40rem; width: 100%; margin-top: -48px; background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 40px -24px rgb(48 51 43 / 0.45); }
.rp-mail-head { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: var(--step--1); display: flex; flex-direction: column; gap: 3px; }
.rp-mail-head p { margin: 0; }
.rp-mail-head span { display: inline-block; width: 4.5rem; color: var(--muted); }
.rp-mail-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.rp-mail-body > p { margin: 0; }
.rp-mail-body h2 { font: 400 var(--step-1)/1.2 var(--font-display); margin: 10px 0 0; }
.rp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rp-stats p { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 12px; display: flex; flex-direction: column; }
.rp-stats strong { font: 500 1.6rem/1.1 var(--font-mono); color: var(--olive); }
.rp-stats span { font-size: 0.78rem; color: var(--muted); }
.rp-leads, .rp-notes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rp-leads li { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--olive); border-radius: 6px; padding: 12px 14px; font-size: var(--step--1); }
.rp-leads p { margin: 0; }
.rp-lead-kind { float: right; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive); font-weight: 500; }
.rp-lead-when { color: var(--muted); font-size: 0.78rem; margin-top: 2px !important; }
.rp-notes li { font-size: var(--step--1); padding-left: 18px; position: relative; }
.rp-notes li::before { content: "→"; position: absolute; left: 0; color: var(--sage); }
.rp-week-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.rp-week-table th, .rp-week-table td { text-align: left; padding: 9px 8px; border-bottom: 1px dotted var(--line); }
.rp-week-table thead th { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.rp-week-table td { font-family: var(--font-mono); width: 4.5rem; }
.rp-week-table tbody th { font-weight: 500; }
.rp-bar { display: block; height: 4px; background: var(--sage); border-radius: 2px; margin-top: 6px; }
@media (max-width: 760px) {
  .rp-stats { grid-template-columns: 1fr 1fr; }
  .rp-mail, .rp-card { margin-top: -32px; }
  .rp-card { padding: 28px 18px 22px; }
  .rp-card h2 { font-size: 2.1rem; }
  .rp-mail-body, .rp-mail-head { padding-inline: 16px; }
  .rp-week-table td { width: auto; }
}

/* link-in-bio page (/links/) */
.linkbio { max-width: 44rem; margin: 0 auto; padding-block: 8px 56px; }
.linkbio-head h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); line-height: 1.2; margin: 0 0 6px; }
.linkbio-head .lede { margin: 0 0 18px; color: var(--muted); }
.linkbio-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.linkbio-buttons .btn { padding: 9px 18px; font-size: var(--step--1); }
.linkbio-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
.linkbio-grid a { display: block; text-decoration: none; color: var(--ink); }
.linkbio-grid img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: var(--sheet); }
.linkbio-grid span { display: block; margin-top: 6px; font-size: var(--step--1); line-height: 1.35; }
.linkbio-grid a:hover span { color: var(--olive); }
@media (max-width: 520px) {
  .linkbio-grid { gap: 12px 6px; }
  .linkbio-grid span { font-size: 0.78rem; margin-top: 4px; }
  .linkbio-head .lede { font-size: var(--step--1); }
}
/* rep access page: links + copy-and-paste replies */
.rp-share-kit { max-width: 40rem; width: 100%; margin-top: -48px; display: flex; flex-direction: column; gap: 14px; }
.rp-share-kit h2 { font: 400 var(--step-1)/1.2 var(--font-display); margin: 18px 0 0; }
.rp-share-kit h2:first-child { margin-top: 0; }
.rp-link-row, .rp-reply { background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.rp-link-row > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 16rem; }
.rp-link-row span { font: 0.85rem/1.4 var(--font-mono); overflow-wrap: anywhere; }
.rp-link-row small { color: var(--muted); font-size: 0.8rem; }
.rp-reply { flex-direction: column; align-items: stretch; }
.rp-reply-head h3 { font: 600 var(--step-0)/1.3 var(--font-body); margin: 0; }
.rp-reply-head p { margin: 2px 0 0; color: var(--muted); font-size: var(--step--1); }
.rp-reply-text { margin: 0; padding: 12px 14px; background: var(--paper); border-left: 3px solid var(--sage); border-radius: 4px; overflow-wrap: anywhere; }
.rp-reply .rp-copy-btn { align-self: flex-start; }
.rp-copy-btn { padding: 8px 18px; font-size: var(--step--1); }
.rp-pick select { width: 100%; }
.rp-tips ul { margin: 6px 0 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 640px) { .rp-share-kit { margin-top: -32px; } }

/* Land + Home Cost Calculator: quick answer under the zip code, folded steps, sticky bar (Oct 2026, for ad traffic on phones) */
.quick-result { background: var(--paper); border: 1px solid var(--olive); border-radius: 6px; padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.quick-total { font-family: var(--font-display); font-size: clamp(2.3rem, 9vw, 3.2rem); line-height: 1; color: var(--olive); font-variant-numeric: tabular-nums; margin: 0; }
.quick-lede { font-size: var(--step--1); margin: 0 0 6px; }
@media (max-width: 520px) { .quick-result .btn { width: 100%; text-align: center; } }
.calc-more { border: 1px solid var(--line); border-radius: 6px; background: var(--sheet); }
.calc-more > summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 22px; position: relative; display: flex; flex-direction: column; gap: 3px; }
.calc-more > summary::-webkit-details-marker { display: none; }
.calc-more > summary span { font-family: var(--font-display); font-size: var(--step-1); }
.calc-more > summary small { color: var(--muted); font-size: 0.8rem; }
.calc-more > summary::after { content: "+"; position: absolute; right: 22px; top: 16px; font-size: 1.4rem; color: var(--olive); line-height: 1; }
.calc-more[open] > summary::after { content: "–"; }
.calc-more-body { display: flex; flex-direction: column; gap: 18px; padding: 0 12px 16px; }
.calc-more-body .calc-group { background: var(--paper); }
.calc-bar[hidden] { display: none; }
body.has-calc-bar .foot { padding-bottom: 96px; }

/* Home flagship pitch (Buyer's Command Center) + money-back guarantee line */
.h-flagship { max-width: var(--wide); margin: 56px auto; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 28px 24px; display: grid; gap: 24px; align-items: center; }
.h-flagship h2 { font: 400 var(--step-2)/1.2 var(--font-display); margin: 6px 0 12px; }
.h-flagship p { margin: 0 0 14px; }
.h-flagship .sp-checks { margin: 0 0 18px; }
.h-flagship-img { width: 100%; border-radius: 4px; border: 1px solid var(--line); }
.h-flagship-price { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.h-flagship-price strong { font: 500 1.4rem/1 var(--font-mono); }
@media (min-width: 760px) { .h-flagship { grid-template-columns: 1fr 1.1fr; padding: 40px; } }
.sp-guarantee { margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid var(--olive); background: var(--paper); font-size: var(--step--1); line-height: 1.5; text-align: left; }
/* dealer-lead opt-in (gate checkbox → phone + consent; "Want a real quote?" box in unlocked results) */
.gate-optin-more { display: grid; gap: 8px; padding-left: 28px; }
.gate-optin-more input, .optin-fields input { width: 100%; box-sizing: border-box; font: inherit; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); min-width: 0; }
.optin-box { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px 28px; align-items: start; background: var(--sheet); border: 1px solid var(--line); border-left: 3px solid var(--olive); border-radius: 6px; padding: 24px; margin: 8px 0 4px; }
.optin-box h3 { margin: 4px 0 8px; }
.optin-box p { margin: 0; }
.optin-box.is-done { display: block; }
.optin-box.is-done p + p { margin-top: 6px; }
.optin-fields { display: grid; gap: 10px; }
.optin-fields .btn { width: 100%; justify-content: center; }
@media (max-width: 680px) { .optin-box { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; } }
