/* condominiuminsurancequotes.com, v2 conversion layout.
   No web fonts: system serif display, system sans body.
   Palette: deep slate-teal and teal, brass (decorative; text uses --brass-ink), paper ground,
   plus two bright accents used sparingly: mint (highlights, submit) and gold (call buttons).
   Every text pairing below is AA or better. */

:root {
  --slate: #16403d;
  --slate-deep: #102f2d;
  --night: #0b2321;
  --teal: #1f5e58;
  --teal-2: #2a7a70;
  --teal-tint: #e4eeeb;
  --teal-line: #b9cfc9;
  --brass: #a8742a;         /* decorative only: rules, marks, art */
  --brass-ink: #80561a;     /* brass for text on light grounds (5.8:1 on white) */
  --brass-light: #e3b86e;   /* brass for text on dark grounds (6:1 on slate) */
  --paper: #f3f5f2;
  --card: #ffffff;
  --ink: #18211f;
  --muted: #4f5d58;
  --line: #d5ddd9;

  --mint: #3fd8b0;          /* bright highlight; ink text on it is 9:1 */
  --mint-hi: #6be6c6;
  --mint-ink: #0d5c4f;      /* mint family text on white, 7.4:1 */
  --mint-soft: #7fe3c8;     /* mint text on slate or night, 7:1+ */
  --mint-tint: #e1f4ee;
  --mint-wash: #c9f1e3;
  --gold: #f4bf4f;          /* call buttons; ink text on it is 9.9:1 */
  --gold-hi: #ffd36e;
  --gold-tint: #fcf0d4;
  --gold-wash: #f9e3b0;

  --amber: #c08a1e;
  --amber-bg: #fff6e3;
  --amber-ink: #6b4a10;
  --red: #b42318;
  --red-bg: #fdecea;
  --red-ink: #8a1c12;
  --ok-bg: #e2f1ea;
  --ok-ink: #14532d;

  --on-dark: #ffffff;
  --on-dark-2: #d3e4df;     /* body text on slate: 8.9:1 */
  --focus: #80561a;
  --focus-dark: #ffd36e;

  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --gutter: 16px;
  --measure: 42rem;
  --col: 46rem;       /* band reading column */
  --mid: 52rem;
  --wide: 74rem;
  --radius: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 35, 33, 0.06), 0 2px 8px rgba(11, 35, 33, 0.06);
  --shadow: 0 2px 4px rgba(11, 35, 33, 0.05), 0 10px 28px rgba(11, 35, 33, 0.10);
  --shadow-lg: 0 6px 14px rgba(11, 35, 33, 0.10), 0 24px 56px rgba(11, 35, 33, 0.20);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --cta-h: 0px;       /* site.js sets this to the bottom bar's measured height */

  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%23f3f5f2'/%3E%3Crect x='8' y='6' width='16' height='4' rx='1' fill='%2316403d'/%3E%3Crect x='8' y='12' width='16' height='4' rx='1' fill='%23a8742a'/%3E%3Crect x='8' y='18' width='16' height='4' rx='1' fill='%2316403d'/%3E%3Crect x='5' y='24' width='22' height='2' fill='%2316403d'/%3E%3C/svg%3E");
  --phone-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 3.8h3.3l1.7 4.3-2.2 1.4a11.5 11.5 0 0 0 6.5 6.5l1.4-2.2 4.3 1.7v3.3a1.9 1.9 0 0 1-2 1.9C10.4 20.1 3.9 13.6 3.3 5.8a1.9 1.9 0 0 1 1.9-2z'/%3E%3C/svg%3E");
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --chev-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --chev-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --arrow-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --arrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 8rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: break-word;
  overflow-x: clip;
  padding-bottom: var(--cta-h);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--slate); text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate);
  font-variant-numeric: lining-nums;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 5.2vw, 2.75rem); line-height: 1.08; letter-spacing: -0.012em; margin: 2.2em 0 0.55em; }
h3 { font-size: clamp(1.18rem, 3.4vw, 1.4rem); margin: 1.8em 0 0.5em; }
h4 { font-size: 1.05rem; margin: 1.4em 0 0.4em; }
p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.35em; }
li { margin-bottom: 0.4em; }
li::marker { color: var(--teal); }
strong { font-weight: 700; color: var(--slate); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
header.top, footer.foot, .hero, .band-dark, .cta-call, .cta-callback, .closer, .mobile-cta { --focus: var(--focus-dark); }

.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--card); color: var(--slate); padding: 0.6em 1em;
  border: 2px solid var(--slate); border-radius: var(--radius); font-weight: 700;
}
.skip:focus { top: 8px; }

.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------------------------------------------------------------- reading progress */
.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: 4px; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--mint), var(--gold));
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
  border-radius: 0 4px 4px 0;
}

/* ---------------------------------------------------------------- preview strip, hold */
.preview-bar {
  background: var(--amber-bg); color: var(--amber-ink);
  border-bottom: 1px solid var(--amber);
  font-size: 0.8125rem; line-height: 1.4;
  padding: 5px var(--gutter); text-align: center;
}
.hold {
  width: min(var(--measure), calc(100% - 2 * var(--gutter)));
  margin: 1rem auto 0;
  background: var(--amber-bg); color: var(--amber-ink);
  border: 1px solid var(--amber); border-left-width: 5px; border-radius: var(--radius);
  padding: 0.75rem 1rem; font-size: 0.95rem; line-height: 1.5;
}

/* ---------------------------------------------------------------- header */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--slate); color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 6px 18px rgba(11, 35, 33, 0.18);
}
header.top .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 56px;
  padding: 6px var(--gutter);
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
}
.wordmark {
  display: flex; align-items: center; gap: 8px;
  min-width: 0; flex: 1 1 auto;
  color: #fff; text-decoration: none;
  container-type: inline-size;
  min-height: 40px;
}
.wordmark:hover { color: #fff; }
.wm-mark { flex: none; width: 26px; height: 26px; background: var(--mark) center / contain no-repeat; }
.wm-text {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(14px, 4.05vw, 21px);
  font-size: clamp(12px, calc((100cqi - 34px) / 18), 22px);
  letter-spacing: 0.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.top-call {
  flex: none;
  display: inline-flex; align-items: center; gap: 0.45em;
  min-height: 42px; padding: 0.35em 1em;
  background: var(--gold); color: var(--ink);
  border-radius: 999px;
  text-decoration: none; font-size: 0.95rem; font-weight: 750; line-height: 1.2;
  box-shadow: 0 2px 10px rgba(244, 191, 79, 0.25);
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.top-call::before {
  content: ""; width: 17px; height: 17px; flex: none;
  background: currentColor;
  -webkit-mask: var(--phone-icon) center / contain no-repeat; mask: var(--phone-icon) center / contain no-repeat;
}
.top-call:hover { color: var(--ink); background: var(--gold-hi); transform: translateY(-1px); }
.top-call .owed { color: var(--amber-ink); }
@media (max-width: 559.98px) {
  .top-call { width: 42px; height: 42px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .top-call::before { width: 19px; height: 19px; }
  .top-call .owed { display: none; }
}
nav.menu {
  display: flex; gap: 4px; align-items: center;
  overflow-x: auto; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; white-space: nowrap;
  background: var(--slate-deep);
  padding: 6px max(var(--gutter), calc((100% - var(--wide)) / 2));
}
nav.menu::-webkit-scrollbar { display: none; }
nav.menu a {
  flex: none; color: #dfe9e6; text-decoration: none;
  font-size: 0.9rem; font-weight: 550;
  padding: 0.4em 0.75em; border-radius: 999px; line-height: 1.4;
  transition: background-color 0.2s, color 0.2s;
}
nav.menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
nav.menu a[aria-current="page"] { color: var(--ink); background: var(--mint-soft); }
nav.menu .quote-link {
  margin-left: auto; background: var(--mint); color: var(--ink);
  font-weight: 750; padding: 0.38em 1em;
}
nav.menu .quote-link:hover { background: var(--mint-hi); color: var(--ink); }

/* ---------------------------------------------------------------- page frame */
main { padding: 0; }
article.page { max-width: none; margin: 0; padding: 0; }
/* Flow content (older pages and anything outside a band) keeps a reading measure. */
article.page > * { width: min(var(--measure), calc(100% - 2 * var(--gutter))); margin-left: auto; margin-right: auto; }
article.page > :is(.hero, .band, .cta, .closer) { width: auto; max-width: none; }
article.page > :is(.grid3, .cards, .counters, .states-grid, .slider) { width: min(var(--wide), calc(100% - 2 * var(--gutter))); }
article.page > :is(.tool, form.lead-form, .widget, figure.hero-photo) { width: min(var(--mid), calc(100% - 2 * var(--gutter))); }
article.page > section:not(.hero):not(.band):not(.closer):not(.faq) > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }
article.page > h2 { position: relative; padding-top: 1.1rem; }
article.page > h2::before, .band h2::before, .faq > h2::before, .sources h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 56px; height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--mint));
}
article.page > .band + h2, article.page > .cta + h2 { margin-top: 3rem; }

.crumbs { font-size: 0.85rem; color: var(--muted); line-height: 1.5; margin: 0 0 1rem; }
.crumbs a { color: inherit; }
.crumbs .sep { margin: 0 0.45em; opacity: 0.6; }
.crumbs [aria-current] { color: inherit; font-weight: 600; }

.eyebrow {
  display: inline-block; margin: 0 0 0.9rem;
  font-size: 0.78rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brass-ink);
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, #22655e 0%, var(--slate) 45%, var(--night) 100%);
  color: var(--on-dark);
}
.hero .hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center 40%;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 35, 33, 0.55) 0%, rgba(11, 35, 33, 0.25) 30%, rgba(11, 35, 33, 0.85) 100%),
    linear-gradient(100deg, rgba(11, 35, 33, 0.95) 0%, rgba(16, 47, 45, 0.82) 45%, rgba(22, 64, 61, 0.4) 100%);
}
.hero:not(.has-img) .hero-shade {
  background:
    radial-gradient(40rem 22rem at 90% 110%, rgba(63, 216, 176, 0.18), transparent 70%),
    radial-gradient(30rem 20rem at 0% 0%, rgba(244, 191, 79, 0.10), transparent 70%);
}
.hero-in {
  position: relative;
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 4.5rem) 0 clamp(2.25rem, 5vw, 4.5rem);
  display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1000px) {
  .hero-in { grid-template-columns: minmax(0, 1.4fr) minmax(21rem, 25rem); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
}
.hero .crumbs { color: rgba(255, 255, 255, 0.78); }
.hero .crumbs a:hover { color: #fff; }
.hero .eyebrow {
  color: var(--ink); background: var(--mint);
  padding: 0.3em 0.85em; border-radius: 999px; letter-spacing: 0.08em;
}
.hero h1 {
  margin: 0 0 1.1rem;
  color: #fff;
  font-size: clamp(2.2rem, 6.4vw, 4rem);
  line-height: 1.03; letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.t-home .hero h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); overflow-wrap: anywhere; }
.hero .intro { margin: 0 0 1.6rem; max-width: 40rem; }
.hero .intro p { color: var(--on-dark-2); font-size: 1.05rem; line-height: 1.6; margin: 0 0 0.75rem; }
.hero .intro p:first-child {
  color: #fff; font-size: clamp(1.15rem, 2.3vw, 1.42rem);
  font-weight: 650; line-height: 1.45; letter-spacing: -0.003em;
}
.hero .intro p:last-child { margin-bottom: 0; }
.hero .intro a { color: #fff; text-decoration-color: var(--mint); text-decoration-thickness: 2px; }
.hero .intro a:hover { color: var(--mint-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1.5rem; }
.hero-ctas .btn { flex: 1 1 15rem; }
@media (min-width: 600px) { .hero-ctas .btn { flex: 0 1 auto; } }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 0.45em; margin: 0;
  font-size: 0.88rem; font-weight: 650; line-height: 1.3;
  padding: 0.4em 0.85em 0.4em 0.55em;
  background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px; color: #fff;
  backdrop-filter: blur(4px);
}
.chips .ic-chip { width: 1.15em; height: 1.15em; color: var(--mint); }
.hero-side { min-width: 0; }
.hero-card {
  position: relative;
  background: var(--card); color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.25rem 1.3rem;
  box-shadow: var(--shadow-lg);
  --focus: #80561a;
}
.hero-card::before {
  content: ""; position: absolute; left: 1.25rem; right: 1.25rem; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--mint), var(--gold)); border-radius: 0 0 5px 5px;
}
.hc-h { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.15; color: var(--slate); margin: 0.2rem 0 0.25rem; }
.hc-s { font-size: 0.95rem; color: var(--muted); margin: 0 0 1rem; line-height: 1.45; }
.hero-card form.lead-form { margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }
.hero-credit {
  position: relative;
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin: -1rem auto 0; padding: 0 0 8px; text-align: right;
  font-size: 0.66rem; line-height: 1.3; color: rgba(255, 255, 255, 0.72);
}
.hero-credit a { color: inherit; }
.hero.slim .hero-in { grid-template-columns: minmax(0, 1fr); padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(1.75rem, 4vw, 2.75rem); }
.hero.slim .hero-copy { max-width: 48rem; }
.hero.slim h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); margin-bottom: 0.8rem; }
.hero.slim .intro p:first-child { font-size: clamp(1.08rem, 2vw, 1.25rem); }
.hero.slim .hero-ctas { margin-bottom: 1.25rem; }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.6em 1.3em;
  background: var(--slate); color: #fff;
  border: 2px solid var(--slate); border-radius: 999px;
  font-weight: 750; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn.big { min-height: 58px; padding: 0.75em 1.6em; font-size: 1.1rem; }
.btn .ic-btn { width: 1.2em; height: 1.2em; }
.btn.call-btn { background: var(--gold); border-color: var(--gold); color: var(--ink); box-shadow: 0 4px 18px rgba(244, 191, 79, 0.35); }
.btn.call-btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--ink); }
.btn.alt { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.btn.alt:hover { background: #fff; color: var(--slate); border-color: #fff; }
.btn.ghost { background: transparent; color: var(--slate); border-color: var(--teal-line); }
.btn.ghost:hover { background: var(--teal-tint); border-color: var(--teal); color: var(--slate); box-shadow: none; }
.btn-go { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.btn-go:hover { background: var(--mint-hi); border-color: var(--mint-hi); color: var(--ink); }
.btn.pulse { animation: pulse 1.4s var(--ease) 3; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 191, 79, 0.75); transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { box-shadow: 0 0 0 18px rgba(244, 191, 79, 0); transform: scale(1); }
}
.call { font-weight: 700; }
.call.inline-call {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.35em;
  min-height: 48px; padding: 0.5em 1.2em;
  background: var(--gold); color: var(--ink); border-radius: 999px; text-decoration: none;
}
.call.inline-call:hover { background: var(--gold-hi); color: var(--ink); }
.fine { font-size: 0.82rem; line-height: 1.5; color: var(--muted); }

/* ---------------------------------------------------------------- section bands */
.band {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0;
  --col-w: var(--col);
}
.band-light { background: var(--paper); }
.band-white { background: var(--card); }
.band-tint { background: linear-gradient(180deg, var(--mint-tint) 0%, #d8efe7 100%); }
.band-dark {
  background:
    radial-gradient(50rem 30rem at 100% 0%, rgba(63, 216, 176, 0.12), transparent 60%),
    linear-gradient(160deg, var(--slate) 0%, var(--night) 100%);
  color: var(--on-dark-2);
}
.band-in {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr);
}
/* One reading column centred in the band; wide pieces break out to the band width. */
.band-in > * {
  width: 100%; max-width: var(--col-w);
  margin-left: max(0px, calc((100% - var(--col-w)) / 2)); margin-right: auto;
}
.band-in > p, .band-in > ul, .band-in > ol { max-width: min(62ch, var(--col-w)); }
.band-in > p { font-size: clamp(1.05rem, 1.6vw, 1.1rem); line-height: 1.72; }
.band-in > :is(.cards, .slider, .sl-ctrl, .counters, .grid3, .states-grid) { max-width: var(--wide); margin-left: 0; }
.band-in > :is(.tool, .widget, form.lead-form) { max-width: var(--mid); margin-left: max(0px, calc((100% - var(--mid)) / 2)); }
.band h2 { position: relative; margin-top: 0; margin-bottom: 1.4rem; padding-top: 1.2rem; }
.band-dark h2, .band-dark h3, .band-dark strong { color: #fff; }
.band-dark a { color: var(--mint-soft); }
.band-dark a:hover { color: #fff; }
.band-dark li::marker { color: var(--mint-soft); }
.band-dark sup.fn a { color: var(--mint-soft); }
.band-dark .fine, .band-dark .w-note { color: var(--on-dark-2); }
/* white cards sitting on a dark band keep light-ground colours */
.band-dark :is(.tool, .widget, .card, form.lead-form) :is(a:not(.btn), sup.fn a) { color: var(--teal); }
.band-dark :is(.tool, .widget, .card, form.lead-form) :is(strong, h3) { color: var(--slate); }
.band-dark form.lead-form, .band-dark .widget, .band-dark .tool { color: var(--ink); }

/* hook card: the three-second read */
.hook {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 1.1rem; align-items: start;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem 1.25rem;
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(22, 64, 61, 0.06);
}
.band-white .hook { background: linear-gradient(135deg, var(--mint-tint), #f2faf7); box-shadow: none; border-color: #cfe9df; }
.band-dark .hook { background: rgba(255, 255, 255, 0.06); border-color: rgba(127, 227, 200, 0.28); box-shadow: none; }
.hook-ic {
  width: 64px; height: 64px; padding: 16px;
  border-radius: 50%;
  background: var(--mint); color: var(--slate-deep);
  box-shadow: 0 6px 18px rgba(63, 216, 176, 0.35);
  grid-row: span 2;
}
.band-tint .hook-ic, .band-dark .hook-ic { background: var(--gold); color: var(--night); box-shadow: 0 6px 18px rgba(244, 191, 79, 0.35); }
.hook > p {
  margin: 0.2rem 0 0.4rem;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.3rem, 3.2vw, 1.7rem); line-height: 1.24;
  color: var(--slate); letter-spacing: -0.005em;
}
.band-dark .hook > p { color: #fff; }
.hook ul {
  list-style: none; padding: 0; margin: 0.35rem 0 0;
  grid-column: 2;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.hook li {
  position: relative; margin: 0; padding-left: 2rem;
  font-weight: 650; font-size: 1rem; line-height: 1.45; color: var(--ink);
}
.band-dark .hook li { color: #fff; }
.hook li::before {
  content: ""; position: absolute; left: 0; top: 0.05em;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--mint-ink);
}
.hook li::after {
  content: ""; position: absolute; left: 0.3rem; top: 0.35em;
  width: 0.8rem; height: 0.8rem; background: #fff;
  -webkit-mask: var(--check-icon) center / contain no-repeat; mask: var(--check-icon) center / contain no-repeat;
}
.band-dark .hook li::before { background: var(--mint); }
.band-dark .hook li::after { background: var(--night); }
@media (max-width: 559.98px) {
  .hook { grid-template-columns: minmax(0, 1fr); padding: 1.2rem 1.1rem; }
  .hook-ic { width: 56px; height: 56px; padding: 14px; grid-row: auto; margin-bottom: 0.3rem; }
  .hook ul { grid-column: 1; }
}
@media (min-width: 760px) {
  .hook { padding: 1.7rem 1.8rem 1.6rem; gap: 0.4rem 1.5rem; }
  .hook-ic { width: 76px; height: 76px; padding: 19px; }
  .hook ul { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
}

/* photo bands: two-column split on desktop, photo alternates sides */
figure.s-photo { position: relative; margin-top: 0; margin-bottom: 1.6rem; border-radius: var(--radius-lg); overflow: hidden; background: var(--teal-tint); box-shadow: var(--shadow); }
figure.s-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
figure.s-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.8rem 0.4rem;
  background: linear-gradient(180deg, transparent, rgba(11, 35, 33, 0.8));
  color: rgba(255, 255, 255, 0.85); font-size: 0.66rem; line-height: 1.35; text-align: right;
}
figure.s-photo figcaption a { color: inherit; }
@media (min-width: 1000px) {
  .band.has-photo .band-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 4vw, 4rem); }
  .band.has-photo .band-in > * { grid-column: 1 / -1; }
  .band.has-photo .band-in > h2 { grid-column: 2; grid-row: 1; align-self: end; margin-left: 0; }
  .band.has-photo .band-in > figure.s-photo { grid-column: 1; grid-row: 1 / span 2; margin: 0 0 2.2rem; max-width: none; align-self: stretch; min-height: 22rem; }
  .band.has-photo .band-in > .hook { grid-column: 2; grid-row: 2; margin-left: 0; align-self: start; }
  .band.has-photo.flip .band-in > h2, .band.has-photo.flip .band-in > .hook { grid-column: 1; }
  .band.has-photo.flip .band-in > figure.s-photo { grid-column: 2; }
  .band.has-photo .band-in > figure.s-photo img { aspect-ratio: auto; position: absolute; inset: 0; }
  .band.has-photo .hook { grid-template-columns: minmax(0, 1fr); }
  .band.has-photo .hook-ic { grid-row: auto; margin-bottom: 0.2rem; width: 64px; height: 64px; padding: 16px; }
  .band.has-photo .hook ul { grid-column: 1; flex-direction: column; }
}

/* pull quote */
p.pull {
  position: relative;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.45rem, 3.6vw, 2.15rem); line-height: 1.22; letter-spacing: -0.01em;
  color: var(--slate);
  margin-top: 2rem; margin-bottom: 2rem; padding: 0.2rem 0 0.2rem 1.4rem;
  border-left: 6px solid var(--brass);
  max-width: var(--col-w, 46rem) !important;
}
.band-dark p.pull { color: #fff; border-left-color: var(--gold); }

/* details.deeper: the main "take action" interaction */
details.deeper {
  margin: 1.4rem 0 1.4rem -0.5rem; padding: 0.5rem;
  border-radius: 22px;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.band-in > details.deeper { margin-left: max(-0.5rem, calc((100% - var(--col-w)) / 2 - 0.5rem)); width: calc(100% + 1rem); max-width: calc(var(--col-w) + 1rem); }
details.deeper > summary {
  display: inline-flex; align-items: center; gap: 0.7em;
  list-style: none; cursor: pointer;
  min-height: 48px; padding: 0.6em 0.8em 0.6em 1.25em;
  border: 2px solid var(--teal); border-radius: 999px;
  background: var(--card); color: var(--slate);
  font-weight: 750; font-size: 1rem; line-height: 1.3;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  -webkit-user-select: none; user-select: none;
}
details.deeper > summary::-webkit-details-marker { display: none; }
details.deeper > summary::marker { content: ""; }
details.deeper > summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal) var(--chev-w) center / 16px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.2s;
}
details.deeper > summary:hover { background: var(--teal-tint); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
details.deeper[open] { background: var(--card); box-shadow: var(--shadow); }
details.deeper[open] > summary { background: var(--slate); border-color: var(--slate); color: #fff; }
details.deeper[open] > summary::after { background-color: var(--mint); background-image: var(--chev-icon); transform: rotate(180deg); }
details.deeper > :not(summary) { margin-left: 0.9rem; margin-right: 0.9rem; max-width: 62ch; }
details.deeper > summary + * { margin-top: 1.1rem; }
details.deeper > :last-child:not(summary) { margin-bottom: 0.8rem; }
details.deeper[open] > :not(summary) { animation: deeper-in 0.45s var(--ease) both; }
@keyframes deeper-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.band-white details.deeper[open] { background: var(--paper); box-shadow: none; border: 1px solid var(--line); }
.band-dark details.deeper > summary { background: transparent; color: #fff; border-color: var(--mint-soft); }
.band-dark details.deeper > summary:hover { background: rgba(255, 255, 255, 0.08); }
.band-dark details.deeper[open] { background: rgba(255, 255, 255, 0.07); box-shadow: none; }
.band-dark details.deeper[open] > summary { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.band-dark details.deeper[open] > summary::after { background-color: var(--night); background-image: var(--chev-w); }
@media (max-width: 559.98px) {
  details.deeper > summary { display: flex; width: 100%; justify-content: space-between; border-radius: 18px; }
}

/* cards: a six-track grid so any count from three to six fills its rows */
.cards, .grid3 {
  display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  margin: 1.5rem auto 2rem;
}
@media (min-width: 640px) {
  .cards, .grid3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  :is(.cards, .grid3) > .card { grid-column: span 3; }
  :is(.cards, .grid3) > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  :is(.cards, .grid3) > .card { grid-column: span 2; }
  :is(.cards, .grid3) > .card:last-child:nth-child(odd) { grid-column: span 2; }
  /* four: two by two; five: three then two */
  :is(.cards, .grid3):has(> .card:nth-child(4):last-child) > .card { grid-column: span 3; }
  :is(.cards, .grid3):has(> .card:nth-child(5):last-child) > .card:nth-child(n+4) { grid-column: span 3; }
  :is(.cards, .grid3):has(> .card:nth-child(7):last-child) > .card:last-child { grid-column: 1 / -1; }
}
.card {
  position: relative;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.45rem 1.35rem 1.35rem;
  line-height: 1.6;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
}
.cards > .card:nth-child(3n+2)::before, .grid3 > .card:nth-child(3n+2)::before { background: linear-gradient(90deg, var(--brass), var(--gold)); }
.cards > .card:nth-child(3n)::before, .grid3 > .card:nth-child(3n)::before { background: linear-gradient(90deg, var(--slate), var(--teal-2)); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal-line); }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card h3, .card h2 { font-size: 1.28rem; margin: 0.15rem 0 0.5em; color: var(--slate); }
.card h3 a, .card h2 a { color: var(--slate); text-decoration: none; }
.card h3 a:hover, .card h2 a:hover { text-decoration: underline; }
.band-dark .card { border-color: transparent; }
.band-dark .card h3 { color: var(--slate); }
.band-dark .card a { color: var(--teal); }
.band-dark .card strong { color: var(--slate); }
.band-dark .card sup.fn a { color: var(--teal); }

/* slider */
.slider {
  position: relative;
  display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 0;
  padding: 0.5rem 0.25rem 1.2rem; margin: 1.5rem 0 calc(1.75rem + 48px); /* room for the controls site.js adds */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider::-webkit-scrollbar { display: none; }
.slider.has-ctrl { margin-bottom: 0.25rem; }
.slider:focus-visible { outline-offset: 4px; }
.slide {
  flex: 0 0 min(86%, 22rem); scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.5rem;
  min-height: 13rem;
  background: linear-gradient(150deg, var(--teal) 0%, var(--slate) 100%);
  color: var(--on-dark-2);
  box-shadow: var(--shadow);
  --focus: var(--focus-dark);
}
.slide h3 { margin: 0 0 0.6rem; color: #fff; font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
.slide h3::before {
  content: ""; display: block; width: 42px; height: 42px; margin-bottom: 0.9rem;
  border-radius: 50%; background: var(--mint) var(--arrow-icon) center / 20px no-repeat;
}
.slide p { margin: 0 0 0.8em; }
.slide p:last-child { margin-bottom: 0; }
.slide a, .slide sup.fn a { color: var(--mint-soft); }
.slide strong { color: #fff; }
.slide:nth-child(3n+2) { background: linear-gradient(150deg, var(--gold-wash) 0%, var(--gold) 100%); color: var(--ink); --focus: #80561a; }
.slide:nth-child(3n+2) h3::before { background-color: var(--night); background-image: var(--arrow-w); }
.slide:nth-child(3n) { background: linear-gradient(150deg, var(--mint-wash) 0%, var(--mint) 100%); color: var(--ink); --focus: #80561a; }
.slide:nth-child(3n) h3::before { background-color: #fff; }
.slide:is(:nth-child(3n), :nth-child(3n+2)) :is(h3, strong) { color: var(--night); }
.slide:is(:nth-child(3n), :nth-child(3n+2)) :is(a, sup.fn a) { color: var(--slate); }
@media (min-width: 900px) { .slide { flex-basis: calc((100% - 32px) / 3); } }
.sl-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0.25rem 0 1.5rem; }
.sl-dots { display: flex; flex-wrap: wrap; gap: 4px; }
.sl-dots button {
  width: 28px; height: 28px; padding: 0; border: 0; background: none; border-radius: 50%;
  display: grid; place-items: center;
}
.sl-dots button::before {
  content: ""; width: 10px; height: 10px; border-radius: 999px;
  background: var(--teal-line); transition: width 0.3s var(--ease), background-color 0.3s;
}
.sl-dots button[aria-current="true"]::before { width: 24px; background: var(--teal); }
.sl-btns { display: flex; gap: 8px; }
.sl-btns button {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--teal); background: var(--card); color: var(--slate);
  display: grid; place-items: center; padding: 0;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.sl-btns button:hover { background: var(--slate); color: #fff; border-color: var(--slate); transform: translateY(-2px); }
.sl-btns .ic { width: 22px; height: 22px; }
.sl-btns .sl-prev .ic { transform: rotate(180deg); }
.band-dark .sl-dots button::before { background: rgba(255, 255, 255, 0.3); }
.band-dark .sl-dots button[aria-current="true"]::before { background: var(--mint); }
.band-dark .sl-btns button { background: transparent; color: #fff; border-color: var(--mint-soft); }
.band-dark .sl-btns button:hover { background: var(--mint); color: var(--ink); }
.band-dark .slide:nth-child(3n+1) { background: linear-gradient(150deg, #2c7d72 0%, var(--teal) 100%); }

/* highlights (older pages) */
ul.highlights, .highlights ul { list-style: none; padding-left: 0; }
ul.highlights { display: flex; flex-wrap: wrap; gap: 10px; margin: 2rem auto; }
ul.highlights li {
  margin: 0; padding: 0.5em 1em 0.5em 2.4em; position: relative;
  background: var(--card); border-radius: 999px; box-shadow: var(--shadow-sm);
  font-weight: 650; font-size: 0.95rem; color: var(--slate);
}
ul.highlights li::before {
  content: ""; position: absolute; left: 0.6em; top: 50%; margin-top: -0.65em;
  width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--mint);
}
ul.highlights li::after {
  content: ""; position: absolute; left: 0.88em; top: 50%; margin-top: -0.38em;
  width: 0.76em; height: 0.76em; background: var(--night);
  -webkit-mask: var(--check-icon) center / contain no-repeat; mask: var(--check-icon) center / contain no-repeat;
}

/* counters */
.counters {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  margin: 1.75rem auto;
}
.counter {
  background: var(--card); color: var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 1.3rem 1.3rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  border-top: 6px solid var(--gold);
}
.counter:nth-child(even) { border-top-color: var(--mint); }
.counter-n {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 3.8rem); line-height: 1;
  color: var(--slate);
  font-variant-numeric: lining-nums tabular-nums;
  display: inline-block;
}
.counter-l { font-size: 0.9rem; line-height: 1.45; color: var(--muted); }
.band-dark .counter { background: rgba(255, 255, 255, 0.07); box-shadow: none; }
.band-dark .counter-n { color: var(--gold-hi); }
.band-dark .counter-l { color: var(--on-dark-2); }

/* fact markers */
span.f, span.cite { font-variant-numeric: lining-nums; }
span.f[data-verify], span.cite[data-verify], .counter[data-verify] .counter-n {
  text-decoration: underline dotted var(--brass); text-decoration-thickness: 2px; text-underline-offset: 0.22em;
}
sup.fn { font-size: 0.68em; line-height: 0; margin-left: 0.1em; font-family: var(--sans); font-weight: 700; }
sup.fn a { text-decoration: none; padding: 0 0.12em; color: var(--teal); }
sup.fn a:hover { text-decoration: underline; }
.owed {
  display: inline-block;
  background: var(--amber-bg); color: var(--amber-ink);
  border: 1.5px solid var(--amber); border-radius: 4px;
  padding: 0 0.4em; font-size: 0.82em; font-weight: 650; line-height: 1.5; font-family: var(--sans);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.broken {
  display: inline-block; background: var(--red-bg); color: var(--red-ink);
  border: 1.5px solid var(--red); border-radius: 4px;
  padding: 0 0.4em; font-size: 0.85em; font-weight: 700;
}

/* legacy page photo */
figure.hero-photo { margin: 0.5rem auto 2rem; }
figure.hero-photo img { width: 100%; border-radius: var(--radius-lg); background: var(--line); }
figure.hero-photo figcaption { font-size: 0.8rem; line-height: 1.45; color: var(--muted); margin-top: 0.5rem; }
figure.hero-photo figcaption a { color: var(--muted); }

/* states grid */
.states-grid {
  list-style: none; padding: 0;
  display: grid; gap: 8px 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.25rem auto 2rem;
}
@media (min-width: 560px) { .states-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 800px) { .states-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .states-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.states-grid li { margin: 0; padding: 0.35em 0.8em; font-size: 0.95rem; line-height: 1.4; color: var(--muted); }
.states-grid li.has-page { padding: 0; }
.states-grid li.has-page a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5em;
  padding: 0.5em 0.9em;
  background: var(--card); border: 2px solid var(--mint);
  border-radius: 999px; color: var(--slate); font-weight: 700; text-decoration: none;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.states-grid li.has-page a::after {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: var(--arrow-icon) center / contain no-repeat; mask: var(--arrow-icon) center / contain no-repeat;
}
.states-grid li.has-page a:hover { background: var(--mint); color: var(--ink); transform: translateY(-2px); }
.band-dark .states-grid li { color: var(--on-dark-2); }

/* FAQ */
.faq { margin-top: 3rem; margin-bottom: 1rem; }
.faq > h2 { position: relative; padding-top: 1.1rem; margin-top: 0; }
.faq .qa {
  position: relative;
  background: var(--card); border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem 1.15rem 4rem; margin-bottom: 12px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.faq .qa::before {
  content: "Q"; position: absolute; left: 1.1rem; top: 1.05rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mint); color: var(--night);
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem; line-height: 1;
}
.faq .qa h3 { margin: 0.1rem 0 0.45em; font-size: 1.18rem; }
.faq .qa .a > :last-child { margin-bottom: 0; }
.faq .qa:has(.qa-btn) { padding: 0; }
.faq .qa:has(.qa-btn)::before { top: 1.05rem; }
.faq .qa h3:has(.qa-btn) { margin: 0; }
.qa-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; min-height: 60px; padding: 1rem 1.1rem 1rem 4rem;
  border: 0; background: none; color: var(--slate); text-align: left;
  font: inherit; font-weight: 700; line-height: 1.3; border-radius: var(--radius-lg);
}
.qa-btn:hover { color: var(--teal); }
.qa-btn .qa-ic {
  width: 34px; height: 34px; padding: 8px; flex: none; border-radius: 50%;
  background: var(--teal-tint); color: var(--slate);
  transition: transform 0.35s var(--ease), background-color 0.2s, color 0.2s;
}
.qa.open .qa-btn .qa-ic { transform: rotate(45deg); background: var(--slate); color: #fff; }
.faq .qa:has(.qa-btn) .a { padding: 0 1.25rem 1.2rem 4rem; }
.faq .qa .a.in { animation: deeper-in 0.4s var(--ease) both; }
.faq .qa.open { border-color: var(--mint); box-shadow: var(--shadow); }
@media (max-width: 559.98px) {
  .qa-btn { padding-left: 3.6rem; }
  .faq .qa:has(.qa-btn) .a { padding-left: 1.1rem; }
}

/* sources */
.sources {
  width: min(var(--measure), calc(100% - 2 * var(--gutter)));
  margin: 2rem auto 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem; line-height: 1.55; color: var(--muted);
  overflow-wrap: anywhere;
}
.sources h2 { position: relative; font-size: 1.25rem; margin: 0 0 0.4em; padding-top: 1rem; }
.sources h2::before { height: 4px; width: 40px; }
.sources ol { padding-left: 1.6em; }
.sources li { margin-bottom: 0.5em; }
.sources li:target { background: var(--teal-tint); outline: 1px solid var(--teal-line); border-radius: 3px; }
.sources .src-label { color: var(--ink); }
.sources .asof { white-space: nowrap; }
.verify-tag { color: var(--brass-ink); font-weight: 700; font-size: 0.9em; letter-spacing: 0.02em; }

/* ---------------------------------------------------------------- CTA bands */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 1.25rem 2rem; align-items: center;
  padding: clamp(2.5rem, 6vw, 4.25rem) max(var(--gutter), calc((100% - var(--wide)) / 2));
}
.cta > * { min-width: 0; }
.cta-copy { min-width: 0; }
.cta-h {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.6rem, 4.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.015em;
  margin: 0 0 0.5rem; text-wrap: balance;
}
.cta-s { font-size: clamp(1rem, 1.8vw, 1.15rem); margin: 0; line-height: 1.5; max-width: 40rem; }
.cta-act { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-act .btn { flex: 1 1 14rem; }
@media (min-width: 600px) { .cta-act .btn { flex: 0 1 auto; } }
.cta .ic-lg {
  width: 72px; height: 72px; padding: 18px; border-radius: 22px;
  transform: rotate(-4deg);
}

/* call: teal gradient, gold button */
.cta-call {
  background:
    radial-gradient(34rem 20rem at 8% 0%, rgba(63, 216, 176, 0.25), transparent 65%),
    radial-gradient(30rem 18rem at 100% 100%, rgba(244, 191, 79, 0.16), transparent 65%),
    linear-gradient(120deg, var(--teal) 0%, var(--slate) 55%, var(--slate-deep) 100%);
  color: var(--on-dark-2);
}
.cta-call .cta-h { color: #fff; }
.cta-call .ic-lg { background: var(--mint); color: var(--night); box-shadow: 0 10px 30px rgba(63, 216, 176, 0.35); }
.cta-call .btn.ghost, .cta-callback .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.cta-call .btn.ghost:hover, .cta-callback .btn.ghost:hover { background: #fff; color: var(--slate); border-color: #fff; }
@media (min-width: 900px) {
  .cta-call { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cta-call .ic-lg { width: 92px; height: 92px; padding: 23px; border-radius: 28px; }
  .cta-call .cta-act { flex-direction: column; align-items: stretch; }
}

/* quick form: warm gold wash */
.cta-quick {
  background:
    radial-gradient(28rem 18rem at 100% 0%, rgba(255, 255, 255, 0.6), transparent 70%),
    linear-gradient(135deg, var(--gold-tint) 0%, var(--gold-wash) 100%);
  color: var(--ink);
}
.cta-quick .cta-h { color: var(--slate); font-size: clamp(1.8rem, 5vw, 3rem); }
.cta-quick .cta-h::after {
  content: ""; display: block; width: 64px; height: 6px; margin-top: 0.9rem; border-radius: 3px; background: var(--slate);
}
.cta-quick form.lead-form, .cta-callback form.lead-form {
  margin: 0; background: var(--card); border: 0; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.3rem 1.2rem;
  --focus: #80561a;
}
@media (min-width: 900px) {
  .cta-quick { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem; }
  .cta-quick form.lead-form, .cta-callback form.lead-form { padding: 1.6rem 1.6rem 1.4rem; }
}

/* compare: bright mint, tick tiles */
.cta-compare {
  background:
    radial-gradient(30rem 18rem at 0% 100%, rgba(255, 255, 255, 0.35), transparent 70%),
    linear-gradient(135deg, var(--mint-hi) 0%, var(--mint) 100%);
  color: var(--ink);
  grid-template-areas: "h" "s" "list" "out" "act";
}
.cta-compare .cta-h { grid-area: h; color: var(--night); margin: 0; }
.cta-compare .cta-s { grid-area: s; font-weight: 650; color: var(--slate); }
.cta-compare .cmp-list { grid-area: list; }
.cta-compare .cmp-out { grid-area: out; }
.cta-compare .cta-act { grid-area: act; }
@media (min-width: 900px) {
  .cta-compare {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-areas: "h list" "s list" "out list" "act list";
    grid-template-rows: auto auto auto 1fr;
    column-gap: 3.5rem; row-gap: 1rem; align-items: start;
  }
}
.cmp-out {
  margin: 0; padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.72); border-radius: 14px;
  font-weight: 650; color: var(--night); line-height: 1.45;
  border-left: 6px solid var(--slate);
}
.cmp-out.bump, .ck-out.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 0% { transform: scale(0.97); opacity: 0.4; } 60% { transform: scale(1.02); opacity: 1; } 100% { transform: none; } }

/* tick tiles (compare list, ready list, checklist widget) */
.cmp-list, .ready-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cmp-list li, .ready-list li { margin: 0; }
.cmp-list label, .ready-list label {
  display: flex; align-items: center; gap: 0.85rem;
  min-height: 56px; padding: 0.75rem 1rem;
  background: var(--card); color: var(--ink);
  border: 2px solid transparent; border-radius: 14px;
  font-weight: 650; line-height: 1.35; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease);
}
.cmp-list label:hover, .ready-list label:hover { transform: translateX(4px); border-color: var(--teal-line); }
.cmp-list input, .ready-list input {
  -webkit-appearance: none; appearance: none; flex: none; margin: 0;
  width: 28px; height: 28px; border-radius: 8px;
  border: 2px solid var(--teal); background: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: background-color 0.2s, border-color 0.2s;
}
.cmp-list input::after, .ready-list input::after {
  content: ""; width: 16px; height: 16px; background: var(--night);
  -webkit-mask: var(--check-icon) center / contain no-repeat; mask: var(--check-icon) center / contain no-repeat;
  transform: scale(0); transition: transform 0.25s var(--ease);
}
.cmp-list input:checked, .ready-list input:checked { background: var(--mint); border-color: var(--mint-ink); }
.cmp-list input:checked::after, .ready-list input:checked::after { transform: scale(1); }
.cmp-list label:has(input:checked), .ready-list label:has(input:checked) { border-color: var(--mint); background: #f2fcf8; }
.cmp-list label:has(input:focus-visible), .ready-list label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.cmp-list input:focus-visible, .ready-list input:focus-visible { outline: none; }

/* callback: deep night, dotted texture */
.cta-callback {
  background:
    radial-gradient(rgba(127, 227, 200, 0.14) 1.2px, transparent 1.3px) 0 0 / 22px 22px,
    linear-gradient(160deg, var(--slate-deep) 0%, var(--night) 100%);
  color: var(--on-dark-2);
  grid-template-areas: "ic" "copy" "form";
  justify-items: start;
}
.cta-callback > .ic-lg { grid-area: ic; background: var(--gold); color: var(--night); box-shadow: 0 10px 30px rgba(244, 191, 79, 0.3); }
.cta-callback .cta-copy { grid-area: copy; }
.cta-callback form.lead-form { grid-area: form; width: 100%; }
.cta-callback .cta-h { color: #fff; }
@media (min-width: 900px) {
  .cta-callback {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-areas: "ic form" "copy form";
    grid-template-rows: auto 1fr; column-gap: 3rem; align-items: start;
  }
}

/* ready: white with a gold frame and a meter */
.cta-ready {
  background: linear-gradient(180deg, #fffdf7 0%, var(--gold-tint) 100%);
  border-top: 6px solid var(--gold); border-bottom: 6px solid var(--gold);
  color: var(--ink);
  grid-template-areas: "ic" "copy" "act";
  justify-items: start;
}
.cta-ready > .ic-lg { grid-area: ic; background: var(--slate); color: var(--gold); }
.cta-ready .cta-copy { grid-area: copy; width: 100%; }
.cta-ready .cta-act { grid-area: act; }
.cta-ready .cta-h { color: var(--slate); }
.cta-ready .cta-s { margin-bottom: 1.1rem; font-weight: 600; }
.cta-ready .ready-list { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .cta-ready .ready-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cta-ready .ready-list label { border-color: var(--gold-wash); }
@media (min-width: 900px) {
  .cta-ready { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic copy act"; align-items: start; column-gap: 2.5rem; }
  .cta-ready > .ic-lg { width: 92px; height: 92px; padding: 23px; border-radius: 28px; }
  .cta-ready .cta-act { flex-direction: column; align-items: stretch; align-self: center; }
}
.meter {
  height: 14px; border-radius: 999px; margin: 1.1rem 0 0.4rem;
  background: rgba(22, 64, 61, 0.12); overflow: hidden;
}
.meter span {
  display: block; height: 100%; width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--gold));
  transition: width 0.6s var(--ease);
}
.meter.full span { box-shadow: 0 0 16px rgba(244, 191, 79, 0.8); }

/* ---------------------------------------------------------------- forms */
form.lead-form, .tool {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.3rem var(--gutter) 1.4rem;
  margin: 1.5rem auto 2rem;
  box-shadow: var(--shadow);
}
@media (min-width: 600px) { form.lead-form, .tool { padding: 1.6rem 1.8rem 1.7rem; } }
form.lead-form label, .tool label { display: block; font-size: 0.95rem; font-weight: 650; line-height: 1.4; margin-bottom: 0.95rem; color: var(--ink); }
form.lead-form input:not([type="checkbox"]):not([type="radio"]),
form.lead-form select, form.lead-form textarea,
.tool input:not([type="checkbox"]):not([type="radio"]), .tool select {
  display: block; width: 100%;
  margin-top: 0.35rem; min-height: 50px;
  padding: 0.6em 0.85em;
  background: #fbfcfb; color: var(--ink);
  border: 2px solid #c3d1cc; border-radius: 12px;
  font-weight: 450; font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
form.lead-form :is(input, select, textarea):hover, .tool :is(input, select):hover { border-color: var(--teal-line); }
form.lead-form :is(input, select, textarea):focus, .tool :is(input, select):focus {
  outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(63, 216, 176, 0.45);
}
form.lead-form [aria-invalid="true"] { border-color: var(--red) !important; background: #fff8f7 !important; }
form.lead-form textarea { min-height: 6em; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6b7a75; }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 600px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
form.lead-form .consent {
  display: flex; gap: 0.65em; align-items: flex-start;
  font-weight: 400; font-size: 0.78rem; line-height: 1.45; color: var(--muted);
  margin: 0.3rem 0 1rem;
}
form.lead-form .consent input { flex: none; width: 22px; height: 22px; margin: 0.05em 0 0; accent-color: var(--teal); }
form.lead-form .btn { width: 100%; }
#lead-form .btn { width: 100%; min-height: 56px; font-size: 1.08rem; background: var(--mint); border-color: var(--mint); color: var(--ink); }
#lead-form .btn:hover { background: var(--mint-hi); border-color: var(--mint-hi); }
@media (min-width: 600px) { #lead-form .btn { width: auto; padding-inline: 2.2em; } }
/* quick forms */
.qf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 0.9rem; }
.qf-grid label { margin: 0 !important; min-width: 0; }
.qf-grid input, .qf-grid select { margin-top: 0 !important; }
.qf-grid .qf-state { grid-column: 1 / -1; }
@media (max-width: 339.98px) { .qf-grid { grid-template-columns: minmax(0, 1fr); } }
fieldset.pills { border: 0; padding: 0; margin: 0 0 0.9rem; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
fieldset.pills legend { float: left; width: 100%; font-size: 0.85rem; font-weight: 750; color: var(--muted); margin: 0 0 0.35rem; padding: 0; }
fieldset.pills label {
  position: relative; display: inline-flex !important; align-items: center;
  margin: 0 !important; min-height: 40px; padding: 0.35em 1em;
  border: 2px solid var(--teal-line); border-radius: 999px; background: #fff;
  font-size: 0.9rem !important; font-weight: 650; color: var(--slate) !important; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
fieldset.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
fieldset.pills label:hover { border-color: var(--teal); }
fieldset.pills label:has(input:checked) { background: var(--slate); border-color: var(--slate); color: #fff !important; }
fieldset.pills label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.btn-go { width: 100%; min-height: 56px !important; font-size: 1.1rem !important; }
.btn-go::after {
  content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: var(--arrow-icon) center / contain no-repeat; mask: var(--arrow-icon) center / contain no-repeat;
  transition: transform 0.2s var(--ease);
}
.btn-go:hover::after { transform: translateX(4px); }
/* status lines */
.form-status, #form-status { margin: 0.9rem 0 0; font-size: 0.95rem; line-height: 1.5; }
.form-status:empty, #form-status:empty { display: none; }
.form-status:not(:empty), #form-status:not(:empty) {
  padding: 0.7rem 0.9rem; border-radius: 12px;
  background: var(--amber-bg); color: var(--amber-ink); border: 1px solid var(--amber);
  animation: bump 0.4s var(--ease);
}
.form-status.success, #form-status.success { background: var(--ok-bg); color: var(--ok-ink); border-color: #7fb89a; }
.form-status:focus, #form-status:focus { outline: none; }
.form-status:focus-visible, #form-status:focus-visible { outline: 3px solid var(--focus); }
.lead-form.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: var(--shadow-lg); } 30% { box-shadow: 0 0 0 6px var(--mint), var(--shadow-lg); } }

/* ---------------------------------------------------------------- widgets */
.widget {
  position: relative;
  background: var(--card); color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.4rem var(--gutter) 1.3rem;
  margin: 1.75rem auto 2rem;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--mint);
  --focus: #80561a;
}
@media (min-width: 600px) { .widget { padding: 1.8rem 2rem 1.6rem; } }
.widget .w-h {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.65rem); line-height: 1.2;
  color: var(--slate); margin: 0 0 1.1rem;
}
.widget .w-h::before {
  content: "Try it"; display: inline-block; vertical-align: 0.2em; margin-right: 0.6em;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3em 0.75em; border-radius: 999px; background: var(--gold); color: var(--ink);
}
.widget .w-note { font-size: 0.82rem; line-height: 1.5; color: var(--muted); margin: 1.1rem 0 0; }
.band-dark .widget .w-note { color: var(--muted); }
.band-dark .widget strong { color: var(--slate); }

/* segmented control */
.seg { display: inline-flex; border: 1px solid var(--teal-line); border-radius: 999px; overflow: hidden; }
.seg button {
  border: 0; background: #fff; color: var(--slate);
  padding: 0.35em 0.85em; min-height: 36px;
  font-size: 0.82rem; font-weight: 650; cursor: pointer;
}
.seg button + button { border-left: 1px solid var(--teal-line); }
.seg button[aria-pressed="true"] { background: var(--slate); color: #fff; }
.seg button:focus-visible { outline-offset: -3px; }
.split .seg {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px;
  padding: 4px; margin: 0 0 1.3rem;
  background: var(--teal-tint); border: 0; border-radius: 16px;
}
.split .seg button {
  border: 0; border-radius: 12px;
  min-height: 48px; padding: 0.45em 0.5em;
  background: transparent; color: var(--slate);
  font-size: 0.95rem; font-weight: 750; line-height: 1.25;
  transition: background-color 0.3s var(--ease), color 0.3s, box-shadow 0.3s;
}
.split .seg button + button { border-left: 0; }
.split .seg button:hover { background: rgba(255, 255, 255, 0.7); }
.split .seg button[aria-selected="true"] { background: var(--slate); color: #fff; box-shadow: var(--shadow-sm); }
.split .seg button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: center; }
.sd-art { width: 118px; max-width: 40%; justify-self: center; overflow: visible; }
.sd-art { --t-roof: #16403d; --t-walls: #1f5e58; --t-finish: #1f5e58; --t-upgrade: #a8742a; --t-stuff: #a8742a; }
@media (min-width: 640px) {
  .sd { grid-template-columns: 11rem minmax(0, 1fr); gap: 1.6rem; }
  .sd-art { width: 100%; max-width: none; }
}
.sd-rows { display: grid; gap: 8px; }
.sd-row {
  --c: var(--teal); --bg: #e6f1ee;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.35rem 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px; background: var(--bg);
  border-left: 6px solid var(--c);
  transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.sd-row[data-who="you"] { --c: var(--brass); --bg: #fbefd6; }
.sd-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); transition: background-color 0.45s var(--ease); }
.sd-lab { font-weight: 650; font-size: 0.95rem; line-height: 1.35; }
.sd-who {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap;
  padding: 0.3em 0.75em; border-radius: 999px;
  background: var(--teal); color: #fff;
  transition: background-color 0.45s var(--ease), color 0.45s;
}
.sd-who:empty { display: none; }
.sd-row[data-who="you"] .sd-who { background: var(--gold); color: var(--ink); }
.sd-row.flip { animation: rowflip 0.5s var(--ease); }
@keyframes rowflip { 0% { transform: scale(0.98); } 50% { transform: scale(1.015); } 100% { transform: none; } }
@media (max-width: 519.98px) {
  .split .seg button { font-size: 0.84rem; }
  .sd-row { grid-template-columns: auto minmax(0, 1fr); }
  .sd-who { grid-column: 2; justify-self: start; }
}
.sd-art { transition: none; }
.sd-art use { transition: none; }

/* tabs */
.tab-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 1.1rem; }
.tab-row button {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 0.7rem 0.3rem 0.6rem; min-height: 64px;
  border: 2px solid var(--teal-line); border-radius: 16px; background: #fff; color: var(--slate);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.tab-row button b {
  font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1; font-weight: 700;
}
.tab-row button span { font-size: 0.78rem; font-weight: 700; line-height: 1.2; text-align: center; }
.tab-row button:hover { border-color: var(--teal); transform: translateY(-2px); }
.tab-row button[aria-selected="true"] { background: var(--slate); border-color: var(--slate); color: #fff; }
.tab-row button[aria-selected="true"] b { color: var(--gold); }
@media (max-width: 519.98px) {
  .tab-row { gap: 6px; }
  .tab-row button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
.tab-p {
  background: linear-gradient(135deg, var(--mint-tint), #f6fbf9);
  border-radius: 16px; padding: 1.2rem 1.3rem;
  border-left: 6px solid var(--mint);
}
.tab-p[hidden] { display: none; }
.tab-p.in { animation: panel-in 0.45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.tab-p .tab-big { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.1; color: var(--slate); margin: 0 0 0.5rem; }
.tab-p p:last-child { margin-bottom: 0; }

/* who pays */
.wp-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 10px; margin: 0 0 1rem; }
.wp-btns button {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: left;
  min-height: 64px; padding: 0.8rem 1rem 0.8rem 1.1rem;
  border: 2px solid var(--teal-line); border-radius: 16px;
  background: #fff; color: var(--slate);
  font-weight: 750; font-size: 1rem; line-height: 1.3;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.wp-btns button::after {
  content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: var(--arrow-icon) center / contain no-repeat; mask: var(--arrow-icon) center / contain no-repeat;
  transition: transform 0.25s var(--ease);
}
.wp-btns button:hover { border-color: var(--teal); transform: translateY(-2px); }
.wp-btns button:hover::after { transform: translateX(3px); }
.wp-btns button[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: #fff; }
.wp-btns button[aria-pressed="true"]::after { transform: rotate(90deg); background: var(--mint); }
.wp-a {
  border-radius: 16px; padding: 1.2rem 1.3rem;
  background: linear-gradient(135deg, var(--gold-tint), #fffaf0);
  border-left: 6px solid var(--gold);
}
.wp-a[hidden] { display: none; }
.wp-a.in { animation: slide-in 0.5s var(--ease); }
@keyframes slide-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wp-a .wp-t { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--slate); margin: 0 0 0.5rem; }
.wp-a p:last-child { margin-bottom: 0; }

/* checklist widget */
.widget.checklist { border-top-color: var(--gold); }
.widget.checklist .ready-list label { background: #fbfcfb; border-color: var(--line); box-shadow: none; }
.widget.checklist .ready-list label:has(input:checked) { border-color: var(--mint); background: #f2fcf8; }
.ck-out { margin: 0.6rem 0 0; font-weight: 700; color: var(--slate); }
.ck-call { margin-top: 1rem; }
.ck-call[hidden] { display: none; }

/* ---------------------------------------------------------------- tools */
.tool { position: relative; border-top: 6px solid var(--mint); box-shadow: var(--shadow-lg); --focus: #80561a; }
.tool::before {
  content: "Interactive tool"; display: inline-block; margin: 0 0 0.7rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3em 0.8em; border-radius: 999px; background: var(--gold); color: var(--ink);
}
.tool h3 { margin: 0 0 0.45em; font-size: clamp(1.35rem, 3.2vw, 1.75rem); color: var(--slate); }
.tool-note { font-size: 0.88rem; line-height: 1.55; color: var(--muted); }
.tool-why { font-size: 0.88rem; line-height: 1.55; border-left: 4px solid var(--brass); padding: 0.2em 0 0.2em 0.8em; color: var(--ink); }
.band-dark .tool, .band-dark .tool label { color: var(--ink); }
.band-dark .tool a, .band-dark .tool sup.fn a { color: var(--teal); }
fieldset.toggle { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
fieldset.toggle legend { font-size: 0.95rem; font-weight: 700; padding: 0; margin-bottom: 0.45rem; }
fieldset.toggle label {
  display: inline-flex; align-items: center; gap: 0.5em;
  margin: 0 6px 8px 0; padding: 0.5em 1em; min-height: 44px;
  border: 2px solid var(--teal-line); border-radius: 999px; background: #fff;
  font-weight: 600; font-size: 0.92rem; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
fieldset.toggle label:hover { border-color: var(--teal); }
fieldset.toggle label:has(input:checked) { background: var(--slate); border-color: var(--slate); color: #fff; }
fieldset.toggle label:has(input:checked) sup.fn a { color: var(--mint-soft); }
fieldset.toggle label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
fieldset.toggle input { accent-color: var(--mint); margin: 0; }
.tool [hidden] { display: none !important; }
.tool-out { margin: 0.5rem 0 1rem; font-size: 0.95rem; }
.tool-out th, .tool-out td { text-align: left; padding: 0.65rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tool-out thead th { font-size: 0.8rem; font-weight: 750; color: var(--muted); border-bottom: 2px solid var(--teal-line); }
.tool-out td.amt { text-align: right; font-weight: 800; font-size: 1.1rem; color: var(--slate); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.tool-out thead th:nth-child(2) { text-align: right; }
.tool-out tbody tr:not(.below) td.amt { color: var(--mint-ink); }
.tool-out td.flag { font-size: 0.82rem; color: var(--amber-ink); line-height: 1.45; }
.tool-out td.prompt { color: var(--muted); font-style: italic; }
.tool-out tr.below td.amt { color: var(--muted); }
@media (max-width: 599.98px) {
  .tool-out, .tool-out thead, .tool-out tbody { display: block; }
  .tool-out tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; border-bottom: 1px solid var(--line); padding: 0.5rem 0; }
  .tool-out th, .tool-out td, .tool-out thead th { display: block; border: 0; padding: 0.1rem 0; }
  .tool-out thead tr { border-bottom: 2px solid var(--teal-line); }
  .tool-out thead th.flag-h { display: none; }
  .tool-out td.flag { grid-column: 1 / -1; }
  .tool-out td.flag:empty { display: none; }
  .tool-out td.prompt { grid-column: 1 / -1; }
}
.tool-result {
  background: linear-gradient(135deg, var(--mint-tint), #f3fbf8);
  border-left: 6px solid var(--mint);
  border-radius: 14px;
  padding: 1rem 1.2rem; margin: 1rem 0;
  font-size: 0.95rem; line-height: 1.55;
}
.tool-result:empty { display: none; }
.tool-result p { margin: 0 0 0.5em; }
.tool-result p:last-child { margin-bottom: 0; }
.tool-result .big { font-family: var(--serif); font-size: clamp(1.35rem, 3.4vw, 1.75rem); font-weight: 700; color: var(--slate); line-height: 1.25; }
.tool-result .muted, .tool-result .small { font-size: 0.85rem; color: var(--muted); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0.75rem 0; }
.tool-actions select { width: auto !important; flex: 1 1 12rem; margin-top: 0 !important; }
.tool .btn.ghost { border-color: var(--teal); }
.tool .btn.small { min-height: 38px; padding: 0.3em 0.9em; font-size: 0.85rem; }
.tool-empty { color: var(--muted); font-size: 0.9rem; font-style: italic; }
.rooms { display: grid; gap: 12px; margin: 0.5rem 0; }
.room { border: 2px solid var(--line); border-radius: 16px; background: #fbfcfb; overflow: hidden; }
.room-head { display: flex; gap: 8px; align-items: center; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); background: var(--mint-tint); }
.room-head input.room-name {
  flex: 1 1 auto; min-width: 0; margin: 0 !important;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem !important; color: var(--slate);
  background: transparent !important; border-color: transparent !important;
}
.room-head input.room-name:hover { border-color: var(--teal-line) !important; background: #fff !important; }
.room-items { list-style: none; margin: 0; padding: 0; }
.item {
  display: grid; gap: 6px 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name remove" "tag tag" "vals vals";
  padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); margin: 0;
}
.item:last-child { border-bottom: 0; }
.item .i-name { grid-area: name; margin: 0 !important; }
.item .i-remove { grid-area: remove; }
.item .i-tag { grid-area: tag; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.item .i-vals { grid-area: vals; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.item .i-vals label { margin: 0; font-size: 0.8rem; font-weight: 650; color: var(--muted); }
.item .i-vals input { margin-top: 0.2rem !important; }
.hint { font-size: 0.75rem; color: var(--muted); }
.fallback-note { font-size: 0.75rem; color: var(--amber-ink); }
.icon-btn {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  border-radius: 999px; min-height: 38px; padding: 0 0.9em;
  font-size: 0.8rem; font-weight: 650; cursor: pointer; white-space: nowrap; flex: none;
}
.icon-btn:hover { color: var(--red-ink); border-color: var(--red); }
.room-foot { padding: 0.6rem 0.75rem; }
@media (min-width: 700px) {
  .item { grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1.4fr) auto; grid-template-areas: "name tag vals remove"; align-items: start; }
  .item .i-tag { flex-direction: column; align-items: flex-start; gap: 2px; }
}
.wi-rows { display: grid; gap: 0; margin: 0.5rem 0 0.75rem; border-top: 1px solid var(--line); }
.wi-row {
  display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(7.5rem, 11rem) auto;
  gap: 10px; align-items: center; margin: 0 !important; padding: 0.45rem 0;
  border-bottom: 1px solid var(--line); font-weight: 500 !important;
}
.wi-row input { margin-top: 0 !important; }
.wi-row .wi-name { font-weight: 600; }
.wi-row .wi-spacer { width: 0; }
@media (max-width: 420px) {
  .wi-row { grid-template-columns: minmax(0, 1fr) 7.5rem; }
  .wi-row.custom { grid-template-columns: minmax(0, 1fr) auto; }
  .wi-row.custom input[type="number"] { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- closer */
.closer {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
  background:
    radial-gradient(40rem 24rem at 50% 120%, rgba(244, 191, 79, 0.28), transparent 70%),
    radial-gradient(30rem 20rem at 0% 0%, rgba(63, 216, 176, 0.18), transparent 70%),
    var(--night);
  color: var(--on-dark-2);
}
.closer .band-in { justify-items: center; }
.closer .band-in > * { margin-left: auto; margin-right: auto; }
.closer .closer-h {
  font-family: var(--serif); font-weight: 700; color: #fff;
  font-size: clamp(2.1rem, 6.4vw, 3.9rem); line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 1rem; max-width: 18ch !important; text-wrap: balance;
}
.closer .closer-s { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 40rem !important; margin: 0 0 2rem; }
.closer .cta-act { justify-content: center; }

/* ---------------------------------------------------------------- footer */
footer.foot { background: var(--slate-deep); color: #cfdcd8; font-size: 0.875rem; line-height: 1.6; }
.foot-in { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 2.5rem var(--gutter) 2.5rem; }
.foot-in p { max-width: 46rem; }
.foot-in a { color: #fff; }
.wm-foot { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: #fff; overflow-wrap: anywhere; display: flex; align-items: center; gap: 10px; }
.wm-foot::before { content: ""; flex: none; width: 30px; height: 30px; background: var(--mark) center / contain no-repeat; }
.foot-phone a { font-weight: 800; font-size: 1.1rem; color: var(--gold); }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 1rem; }
.foot-in nav a { padding: 0.3em 0; }

/* ---------------------------------------------------------------- sticky bottom bar (phones, tablets) */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: stretch; gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 35, 33, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 -6px 20px rgba(11, 35, 33, 0.25);
}
.mobile-cta .btn { flex: 1 1 0; min-width: 0; min-height: 50px; padding: 0.5em 0.8em; font-size: 1rem; }
.mobile-cta .btn.call-btn { flex-grow: 1.25; }
.mobile-cta .btn.alt { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.mobile-cta .btn.alt:hover { background: var(--mint-hi); border-color: var(--mint-hi); }
.mobile-cta .owed { font-size: 0.8em; }
@media (max-width: 1099.98px) { :root { --cta-h: 66px; } }
@media (min-width: 1100px) { .mobile-cta { display: none; } }

/* email lines under CTAs */
.cta-mail, .fc-mail { margin: 0; font-size: 0.9rem; line-height: 1.45; overflow-wrap: anywhere; }
.cta-act .cta-mail { flex: 1 1 100%; }
.cta-call .cta-mail, .cta-callback .cta-mail, .closer .cta-mail { color: var(--on-dark-2); }
.cta-call .cta-mail a, .cta-callback .cta-mail a, .closer .cta-mail a { color: var(--mint-soft); font-weight: 700; }
.cta-mail a, .fc-mail a { font-weight: 700; }
.foot-phone .dot { margin: 0 0.4em; opacity: 0.6; }

/* ---------------------------------------------------------------- floating desktop card */
.float-cta { display: none; }
@media (min-width: 1100px) {
  .float-cta {
    display: block;
    position: fixed; right: 20px; bottom: 20px; z-index: 55;
    width: 15rem;
    background: var(--card); border-radius: var(--radius-lg);
    padding: 1.1rem 1.1rem 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 6px solid var(--gold);
    transform: translateY(calc(100% + 40px)); opacity: 0; visibility: hidden;
    transition: transform 0.5s var(--ease), opacity 0.4s, visibility 0s linear 0.5s;
  }
  .float-cta.show { transform: none; opacity: 1; visibility: visible; transition: transform 0.5s var(--ease), opacity 0.4s, visibility 0s; }
  .float-cta .fc-h { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; line-height: 1.2; color: var(--slate); margin: 0 0 0.3rem; }
  .float-cta .fc-s { font-size: 0.85rem; line-height: 1.4; color: var(--muted); margin: 0 0 0.7rem; }
  /* compact until hovered or focused, so it covers less of the page */
  .float-cta :is(.fc-s, .btn.ghost, .fc-mail) { display: none; }
  .float-cta:is(:hover, :focus-within) :is(.fc-s, .btn.ghost, .fc-mail) { display: block; }
  .float-cta:is(:hover, :focus-within) .btn.ghost { display: flex; }
  .float-cta .fc-h { font-size: 1.1rem; }
  .float-cta .btn { width: 100%; min-height: 46px; font-size: 0.92rem; white-space: nowrap; padding-inline: 0.8em; }
  .float-cta .btn + .btn { margin-top: 8px; }
  .float-cta .fc-mail { margin-top: 0.7rem; font-size: 0.82rem; color: var(--muted); }
}

/* ---------------------------------------------------------------- scroll reveal (site.js adds .rv only below the fold) */
@media (prefers-reduced-motion: no-preference) {
  .rv:not(.band):not(.cta):not(.closer) { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .rv:not(.band):not(.cta):not(.closer):not(.in) { opacity: 0; transform: translateY(28px); }
  .band.rv > .band-in, .closer.rv > .band-in { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .band.rv:not(.in) > .band-in, .closer.rv:not(.in) > .band-in { opacity: 0; transform: translateY(36px); }
  .cta.rv > * { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
  .cta.rv:not(.in) > * { opacity: 0; transform: translateY(24px); }
  .rv .stg { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0ms); }
  .rv:not(.in) .stg { opacity: 0; transform: translateY(18px); }
  .card.stg:hover { transition-delay: 0ms; }
}

/* ---------------------------------------------------------------- desktop */
@media (min-width: 900px) {
  body { font-size: 1.09rem; }
  header.top .bar { min-height: 64px; }
  .wm-mark { width: 30px; height: 30px; }
  .wordmark { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  header.top, .mobile-cta, .float-cta, .progress, .preview-bar, .tool-actions, .skip, .cta, .hero-side, .sl-ctrl { display: none !important; }
  body { background: #fff; padding: 0; }
  .rv, .rv > *, .rv .stg { opacity: 1 !important; transform: none !important; }
  .hero { background: #fff; color: var(--ink); }
  .hero h1, .hero .intro p { color: var(--ink) !important; text-shadow: none; }
  .hero .hero-bg, .hero-shade { display: none; }
}

/* ---------- First-impression promise (owner brief, 2026-09-30): the loudest thing on the first screen ---------- */
.promise { margin: 0.4rem 0 1.4rem; max-width: 44rem; }
.promise-h {
  margin: 0 0 0.6rem;
  font-family: var(--font-display, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif);
  font-weight: 800; color: var(--gold, #f4bf4f);
  font-size: clamp(2.1rem, 6.2vw, 4.2rem); line-height: 1.02; letter-spacing: -0.02em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}
.promise-s {
  margin: 0 0 0.55rem; color: #fff; font-weight: 650;
  font-size: clamp(1.1rem, 2.3vw, 1.4rem); line-height: 1.42;
}
.promise-n {
  display: inline-block; margin: 0.2rem 0 0; padding: 0.45em 0.9em; border-radius: 999px;
  background: rgba(63, 216, 176, 0.16); border: 1px solid rgba(63, 216, 176, 0.55);
  color: #fff; font-size: 0.98rem; font-weight: 600; line-height: 1.35;
}
/* The page H1 stays the SEO heading but steps down so the promise leads. */
.hero .promise ~ .eyebrow { margin-top: 0.8rem; }
.hero .promise ~ h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); }
.t-home .hero .promise ~ h1 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); }
@media (prefers-reduced-motion: no-preference) {
  .promise-h { animation: promise-in 0.7s cubic-bezier(.2, .8, .2, 1) both; }
  .promise-s { animation: promise-in 0.7s 0.12s cubic-bezier(.2, .8, .2, 1) both; }
  .promise-n { animation: promise-in 0.7s 0.24s cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes promise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
