/* Casalow — shared styles for every page in site/.
   Tokens are the SPEC.md set; don't add new colours (overlays use rgba of --ink only).

   Page chrome (identical on every page):
     header.site-header > .wrap.nav-wrap > a.brand + nav.site-nav + a.btn.btn-sm.nav-cta
       (mark the current page with aria-current="page" on its .site-nav link;
        "For pros" goes to https://pros.casalow.com/)
     main
     footer.site-footer > .wrap > a.footer-brand + p (site links) + p (legal links) + p (©)
       © line is "© 2026 Casalow. All rights reserved." (no entity name outside the legal pages' bodies)

   Building blocks any page can use:
     .section / .section--sand, .section-head(--center), .eyebrow, .lead, .display
     .grid .grid--2 .grid--3, .card, .card--soft, .icon-badge, .icon (.acc = terracotta stroke)
     .btn, .btn-sm, .btn--block, .btn--ghost, .btn--light, .link-btn, .more (text link with arrow)
     .zip-form > .zip-bar (GET /start?zip=…) — see index.html
     .media (rounded photo), .gallery (ideas grid), .tiles (photo cards), .steps3, .points, .split-media
     .compare (before/after slider — hidden until real partner photos exist, see index.html #real-work)
     .faq > details > summary + .answer, .cta (green band)

   Photos: /assets/img/ (see CREDITS.md). Ideas only — never captioned as our work or as before/after.

   Legal pages: <main><article class="legal"> <h1>…</h1> <p class="updated">Last updated …</p> … </article></main>
   Wide tables inside .legal go in <div class="table-wrap"> so phones scroll the table, not the page. */

:root {
  --ink: #1F2A2E;
  --ink-2: #4A5558;
  --muted: #6E787A;
  --casa: #2F5D50;
  --casa-dark: #244A40;
  --terra: #C8643B;
  --sand: #F6F1E9;
  --paper: #FFFFFF;
  --line: #E6DED2;
  --sage-soft: #E7EFEA;

  --radius: 12px;
  --radius-btn: 10px;
  --radius-media: 20px; /* large photos */
  --shadow: 0 1px 2px rgba(31, 42, 46, .06), 0 8px 24px rgba(31, 42, 46, .06);
  --shadow-float: 0 1px 2px rgba(31, 42, 46, .06), 0 18px 48px rgba(31, 42, 46, .14);
  --ring: 0 0 0 4px rgba(47, 93, 80, .28);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 64px;

  color-scheme: light;
}
@media (min-width: 768px) { :root { --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 112.5%; /* 18px base */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
  scroll-padding-top: calc(var(--header-h) + 16px); /* anchor jumps clear the sticky header */
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.45rem + 2.4vw, 3.25rem); letter-spacing: -.03em; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.55rem); letter-spacing: -.028em; line-height: 1.12; }
h3 { font-size: clamp(1.17rem, 1.05rem + .4vw, 1.3rem); letter-spacing: -.012em; line-height: 1.3; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

a {
  color: var(--casa);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
a:hover { color: var(--casa-dark); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--casa);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(1200px + 32px);
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) {
  .wrap { max-width: calc(1200px + 64px); padding-inline: 32px; }
}

.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 120px 0; } }
.section--sand { background: var(--sand); }
.section--white { background: var(--paper); }
.section--tight-top { padding-top: 0; }

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; line-height: 1.55; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.section-head--row > div { max-width: 640px; }
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--casa);
  font-size: .889rem; /* 16px */
  font-weight: 700;
  letter-spacing: .01em;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terra);
}

.lead { font-size: 1.15rem; line-height: 1.55; font-weight: 500; color: var(--ink-2); text-wrap: pretty; }

.grid { display: grid; gap: 16px; }
@media (min-width: 768px) {
  .grid { gap: 24px; }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  min-height: var(--header-h);
}
.nav-wrap { justify-content: space-between; gap: 16px; }

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 48px;
  color: var(--casa); /* also colours the alt text if the logo file is missing */
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
}
.brand:hover { color: var(--casa); }
.brand img { height: 32px; width: auto; }
@media (max-width: 359px) { .brand img { height: 26px; } }

/* Phones and tablets: the links sit on a second row under the logo + CTA, scrolling sideways if
   they don't fit, so every page is one tap away without a menu button (main session 2026-09-29). */
.site-nav { display: none; }
@media (max-width: 959px) {
  .site-header .wrap.nav-wrap { flex-wrap: wrap; row-gap: 0; padding-top: 8px; }
  .site-nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 2px;
    margin: 0 -6px;
    padding: 0 0 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-header .site-nav a { min-height: 44px; padding: 0 6px; font-size: .833rem; }
  .site-header .site-nav a[aria-current="page"]::after { left: 6px; right: 6px; bottom: 6px; }
}
@media (min-width: 600px) and (max-width: 959px) {
  .site-nav { justify-content: flex-start; gap: 18px; }
}
@media (min-width: 960px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
  }
  .nav-wrap { gap: 20px; }
}
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-btn);
  color: var(--ink-2);
  font-size: .944rem; /* 17px */
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--casa); background: var(--sage-soft); }
.site-nav a[aria-current="page"] { color: var(--casa); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--terra);
}
.nav-cta { flex: none; }

/* Slim header used by the question flow (logo + a quiet way back) */
.header-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 4px;
  color: var(--ink-2);
  font-size: .944rem;
  font-weight: 600;
  text-decoration: none;
}
.header-back:hover { color: var(--casa); }
.header-back svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 44px 0 40px;
  color: var(--ink-2);
  font-size: .889rem; /* 16px */
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin-bottom: 10px;
}
.footer-brand img { height: 28px; width: auto; }
.site-footer p { margin: 0 0 2px; }
.site-footer p:last-child { margin: 14px 0 0; color: var(--ink-2); }
/* Link rows: the " · " separators in the markup are hidden (font-size 0) so a wrapped row never
   starts with a stray dot; spacing comes from the gap instead. */
.site-footer p:not(:last-child) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 14px;
  font-size: 0;
}
@media (min-width: 600px) { .site-footer p:not(:last-child) { column-gap: 22px; } }
.site-footer p:not(:last-child) a { font-size: .889rem; }
.site-footer p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
}
.site-footer p a:hover { color: var(--casa); text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--casa);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--casa-dark); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--casa); outline-offset: 3px; border-radius: var(--radius-btn); }
.btn[disabled] { opacity: .75; cursor: progress; }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-sm {
  min-height: 48px;
  padding: 10px 18px;
  font-size: .944rem;
}

.btn--ghost {
  background: transparent;
  color: var(--casa);
  box-shadow: inset 0 0 0 1.5px var(--casa);
}
.btn--ghost:hover { background: var(--sage-soft); color: var(--casa-dark); }

.btn--light { background: var(--paper); color: var(--casa); }
.btn--light:hover { background: var(--sage-soft); color: var(--casa-dark); }
.btn--light:focus-visible { outline-color: #fff; }

.link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--casa);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
}

/* Text link with an arrow ("See more ideas →") */
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--casa);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.more svg { width: 18px; height: 18px; transition: transform .2s ease; }
.more:hover { color: var(--casa-dark); text-decoration: none; }
.more:hover svg { transform: translateX(3px); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
@media (min-width: 768px) { .card { padding: 32px; } }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); }

.card--soft {
  background: var(--sage-soft);
  border-color: transparent;
  box-shadow: none;
}

.icon-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--casa);
}
.card--soft .icon-badge { background: var(--paper); }
.icon-badge svg { width: 28px; height: 28px; }

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon .acc { stroke: var(--terra); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .834rem; /* 15px */
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.badge--live { background: var(--sage-soft); color: var(--casa); }
.badge--soon { background: var(--sand); color: var(--ink-2); border: 1px solid var(--line); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 10px;
  color: var(--ink);
}
.checklist li:last-child { margin-bottom: 0; }
.checklist svg { width: 22px; height: 22px; margin-top: 3px; color: var(--casa); }

/* ---------- Form fields ---------- */
.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }

.label {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.input {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 1.5px solid var(--muted);
  border-radius: var(--radius-btn);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem; /* 19px, and no iOS zoom */
  font-weight: 500;
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--muted); opacity: 1; font-weight: 400; }
.input:hover { border-color: var(--ink-2); }
.input:focus {
  outline: 2px solid transparent; /* keeps a ring in forced-colours mode */
  border-color: var(--casa);
  box-shadow: var(--ring);
}
.input[aria-invalid="true"] { border-color: var(--terra); }

.check {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  font-size: .834rem; /* 15px */
  line-height: 1.55;
  color: var(--ink-2);
  cursor: pointer;
}
.check input {
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  accent-color: var(--casa);
  cursor: pointer;
}
.check input:focus-visible { outline: 3px solid var(--casa); outline-offset: 2px; }
.check a { font-weight: 600; }

.form-error {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 10px 0 0;
  font-size: .889rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.form-error:empty { display: none; }
.form-error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  font-size: .834rem;
  font-weight: 800;
  line-height: 1;
}
.cta .form-error { color: #fff; }

/* Honeypot: off-screen for people, still in the form for bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- ZIP search bar (hero + final CTA). A plain GET form to /start?zip=XXXXX ---------- */
.zip-bar {
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 6px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.zip-bar:hover { border-color: var(--muted); }
.zip-bar:focus-within { border-color: var(--casa); box-shadow: var(--ring); }
.zip-bar .zip-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  padding: 0 8px 0 38px;
  border: 0;
  border-radius: 10px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F5D50' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") no-repeat 10px 50% / 22px 22px;
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .04em;
  -webkit-appearance: none;
  appearance: none;
}
.zip-bar .zip-input::placeholder { color: var(--muted); opacity: 1; font-weight: 500; letter-spacing: 0; }
.zip-bar .zip-input:focus { outline: 2px solid transparent; }
.zip-bar .zip-input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--terra); }
.zip-bar .btn { flex: none; min-height: 52px; padding: 10px 16px; border-radius: 10px; }
@media (max-width: 379px) {
  /* small phones: input over button, so "ZIP code" never gets clipped */
  .zip-bar { flex-direction: column; }
  .zip-bar .zip-input { min-height: 52px; }
}
@media (min-width: 480px) { .zip-bar .btn { padding: 10px 26px; } }

/* ---------- Details / summary ---------- */
details summary {
  list-style: none;
  cursor: pointer;
}
details summary::-webkit-details-marker { display: none; }

.faq-grid { display: grid; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 64px; align-items: start; }
}

.faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.faq summary:hover { color: var(--casa); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.faq summary::after {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  background:
    linear-gradient(var(--casa), var(--casa)) center / 16px 2.5px no-repeat,
    linear-gradient(var(--casa), var(--casa)) center / 2.5px 16px no-repeat;
}
.faq details[open] summary::after {
  background: linear-gradient(var(--casa), var(--casa)) center / 16px 2.5px no-repeat;
}
.faq .answer { padding: 0 20px 20px; color: var(--ink-2); }
@media (min-width: 768px) {
  .faq summary { padding: 18px 28px; }
  .faq .answer { padding: 0 28px 22px; }
}

/* ---------- Photos ---------- */
.media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-media);
  overflow: hidden;
  background: var(--sand);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--5x4 { aspect-ratio: 5 / 4; }
.media--4x5 { aspect-ratio: 4 / 5; }

/* ---------- Home: hero (photo with the headline card over it) ---------- */
.home-hero { padding: 12px 0 8px; }
.home-hero-inner { position: relative; }
.home-hero-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-media);
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 16 / 11;
}
.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
}
.home-hero-card {
  position: relative;
  z-index: 1;
  margin: -56px 10px 0;
  padding: 24px 20px 22px;
  border-radius: var(--radius-media);
  background: var(--paper);
  box-shadow: var(--shadow-float);
}
.display {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.display .accent {
  display: block;
  margin-top: .42em;
  color: var(--casa);
  font-size: .56em;
  line-height: 1.18;
  letter-spacing: -.022em;
}
.display .phrase { display: inline-block; }
.hero-sub { max-width: 36ch; margin: 0 0 22px; font-size: 1.05rem; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 600px) { .hero-sub { font-size: 1.1rem; } }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: .889rem; /* 16px */
  font-weight: 600;
}
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: var(--casa); flex: none; }

/* A text from Sam, floating on the photo (desktop only) */
.hero-sms {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: none;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  width: 330px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-float);
}
.sms-avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--casa);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}
.sms-from { margin: 0; font-size: .834rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.sms-from span { font-weight: 500; color: var(--muted); }
.sms-text { margin: 2px 0 0; font-size: .889rem; line-height: 1.45; color: var(--ink); }

@media (min-width: 600px) {
  .home-hero-card { margin: -72px 24px 0; padding: 32px 32px 28px; }
}
@media (min-width: 900px) {
  .home-hero { padding: 20px 0 0; }
  .home-hero-media {
    aspect-ratio: auto;
    height: clamp(580px, calc(100vh - var(--header-h) - 40px), 700px);
  }
  .home-hero-media img { object-position: 70% 55%; }
  .home-hero-card {
    position: absolute;
    left: 40px;
    top: 50%;
    width: min(580px, 50%);
    margin: 0;
    padding: 40px 40px 34px;
    transform: translateY(-50%);
  }
  .hero-sms { display: grid; }
}
@media (min-width: 1200px) {
  .home-hero-card { left: 56px; width: 580px; padding: 44px 48px 36px; }
}

/* ---------- Home: three steps ---------- */
.steps3 {
  display: grid;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps3 li { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.steps3-num {
  display: block;
  margin-bottom: 14px;
  color: var(--terra);
  font-size: .944rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.steps3 h3 { margin-bottom: 8px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.45rem); }
.steps3 p { color: var(--ink-2); max-width: 32ch; }
@media (min-width: 820px) {
  .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
}

/* ---------- Photo cards ("What would you like to do?") ---------- */
.tiles { display: grid; gap: 36px; }
@media (min-width: 820px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.tile {
  display: block;
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
}
.tile:hover { color: var(--ink); text-decoration: none; }
.tile-media {
  margin: 0 0 18px;
  border-radius: var(--radius-media);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--line);
}
@media (min-width: 820px) { .tile-media { aspect-ratio: 4 / 5; } }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .tile-media img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
  .tile:hover .tile-media img { transform: scale(1.035); }
}
.tile h3 { margin: 0 0 6px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.45rem); }
.tile p { margin: 0 0 6px; color: var(--ink-2); }
.tile .more { min-height: 36px; }
.tile:hover .more svg { transform: translateX(3px); }
.tile:focus-visible { outline-offset: 6px; border-radius: var(--radius-media); }

/* ---------- Split: photo + short copy ---------- */
.split-media { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .split-media { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 80px; }
  .split-media--flip > :first-child { order: 2; }
}
.split-media h2 { margin-bottom: 8px; }

.points { display: grid; gap: 22px; list-style: none; margin: 28px 0 36px; padding: 0; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.points svg { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--sage-soft); color: var(--casa); }
.points strong { display: block; margin-bottom: 2px; font-size: 1.1rem; line-height: 1.4; color: var(--ink); }
.points span { color: var(--ink-2); }

/* ---------- Ideas gallery (stock photos: ideas only, never captioned as anyone's work) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery figure {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--line);
}
.gallery > :first-child figure,
.gallery > .wide figure { aspect-ratio: 16 / 10; }
.gallery > :first-child, .gallery > .wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: .834rem; /* 15px */
  font-weight: 700;
  line-height: 1.35;
}
@media (min-width: 820px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px; }
  .gallery figure, .gallery > :first-child figure, .gallery > .wide figure { aspect-ratio: auto; height: 100%; border-radius: 16px; }
  .gallery > :first-child { grid-column: span 2; grid-row: span 2; }
  .gallery > .wide { grid-column: span 2; grid-row: span 1; }
  .gallery figcaption { left: 14px; bottom: 14px; }
}
@media (min-width: 1100px) { .gallery { grid-auto-rows: 260px; } }
@media (prefers-reduced-motion: no-preference) {
  .gallery img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
  .gallery figure:hover img { transform: scale(1.04); }
}
.gallery-note { margin: 20px 0 0; color: var(--ink-2); font-size: .889rem; }

/* ---------- Before/after slider ----------
   Only for REAL partner jobs with written permission (see index.html #real-work). The "before" photo
   sits on top and is clipped to the left of the handle; the range input drives --pos. */
.compare { max-width: 960px; margin: 0; }
.compare-frame {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-media);
  aspect-ratio: 3 / 2;
  background: var(--line);
  user-select: none;
}
.compare-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(31, 42, 46, .12);
  pointer-events: none;
}
.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F5D50' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") no-repeat center / 24px;
  box-shadow: var(--shadow-float);
}
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare-range:focus-visible + .compare-handle::after,
.compare-frame:focus-within .compare-handle::after { box-shadow: var(--ring), var(--shadow-float); }
.compare-tag {
  position: absolute;
  top: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(31, 42, 46, .72);
  color: #fff;
  font-size: .834rem;
  font-weight: 700;
  pointer-events: none;
}
.compare-tag--before { left: 14px; }
.compare-tag--after { right: 14px; }
.compare figcaption { margin-top: 14px; color: var(--ink-2); font-size: .944rem; font-weight: 600; }

/* ---------- Green call-to-action band ---------- */
.cta { background: var(--casa); color: #fff; }
.cta h2 { color: #fff; }
.cta-copy p { color: var(--sage-soft); font-size: 1.1rem; }
.cta-center { max-width: 640px; margin-inline: auto; text-align: center; }
.cta-center h2 { margin-bottom: 12px; }
.cta-center > p { color: var(--sage-soft); font-size: 1.15rem; }
.cta-center .zip-form { max-width: 520px; margin: 32px auto 0; text-align: left; }
.cta .zip-bar { border-color: transparent; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
.cta .zip-bar:focus-within { box-shadow: 0 0 0 4px rgba(255, 255, 255, .45), 0 12px 32px rgba(0, 0, 0, .18); }
.cta .trust { justify-content: center; color: var(--sage-soft); }
.cta .trust svg { color: #fff; }

/* ---------- 404 ---------- */
.notfound { padding: 72px 0 96px; background: var(--sand); }
.notfound .wrap { max-width: 720px; }
.notfound p { color: var(--ink-2); font-size: 1.1rem; }
.notfound .btn { margin-top: 12px; }

/* ---------- The question flow (/start) ---------- */
.flow-page { background: var(--sand); }
.flow-main { padding: 20px 0 56px; min-height: calc(100vh - var(--header-h) - 180px); }
@media (min-width: 768px) { .flow-main { padding: 48px 0 88px; } }
.flow-wrap { max-width: calc(600px + 32px); }
@media (min-width: 768px) { .flow-wrap { max-width: calc(600px + 64px); } }

/* A thin progress bar across the top, then Back. No step counts: the bar starts part-full and jumps
   on each answer (same feel as the VSL apply form). */
.flow-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
@media (min-width: 768px) { .flow-top { margin-bottom: 18px; } }
.flow-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 14px 0 8px;
  margin-left: -8px;
  border: 0;
  border-radius: var(--radius-btn);
  background: none;
  color: var(--casa);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.flow-back:hover { background: var(--sage-soft); }
.flow-back svg { width: 20px; height: 20px; }
.progress {
  order: -1;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(47, 93, 80, .14);
  overflow: hidden;
}
.progress-bar {
  display: block;
  height: 100%;
  width: 15%;
  border-radius: 2px;
  background: var(--casa);
  transition: width .35s ease;
}
.flow-top.is-hidden { visibility: hidden; }

.flow-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  box-shadow: var(--shadow);
  padding: 28px 20px 26px;
}
@media (min-width: 480px) { .flow-card { padding: 44px 40px 40px; } }

.flow-step:focus { outline: none; }
.flow-step h1 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 1.3rem + 1.2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.flow-step h1:focus { outline: none; }
.flow-sub { margin: 0 0 24px; color: var(--ink-2); font-size: 1.05rem; }
.flow-step h1 + .choices, .flow-step h1 + form { margin-top: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .flow-step.is-in { animation: flow-in .28s ease both; }
}
@keyframes flow-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.choices { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }
.choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 66px;
  padding: 12px 18px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.choice:hover { border-color: var(--casa); background: #FAFCFB; }
.choice:focus-visible { outline: none; border-color: var(--casa); box-shadow: var(--ring); }
.choice[aria-pressed="true"] { border-color: var(--casa); background: var(--sage-soft); }
.choice-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--casa);
}
.choice[aria-pressed="true"] .choice-icon { background: var(--paper); }
.choice-icon svg { width: 24px; height: 24px; }
.choice-text { min-width: 0; }
.choice-go {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: transparent;
}
.choice-go svg { width: 16px; height: 16px; }
.choice[aria-pressed="true"] .choice-go { border-color: var(--casa); background: var(--casa); color: #fff; }
.choices--plain .choice { grid-template-columns: 1fr auto; }

.flow-zip .input { font-size: 1.4rem; letter-spacing: .14em; text-align: center; max-width: 100%; }
.flow-zip .btn { margin-top: 16px; }
.flow-form .check { margin: 6px 0 22px; }
.flow-fine { margin: 14px 0 0; color: var(--ink-2); font-size: .834rem; line-height: 1.55; }

.flow-reassure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: .889rem;
  font-weight: 500;
  text-align: center;
}
.flow-reassure svg { width: 18px; height: 18px; flex: none; color: var(--casa); }

/* End screens (exits and thank-you) */
.end-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--casa);
}
.end-icon svg { width: 32px; height: 32px; }
.end-icon--done { background: var(--casa); color: #fff; }
.end-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 28px; }

.next-box {
  margin: 24px 0 0;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--sage-soft);
}
@media (min-width: 480px) { .next-box { padding: 24px 26px; } }
.next-box h2 { margin: 0 0 8px; font-size: 1.17rem; letter-spacing: -.01em; }
.next-box > p { color: var(--ink); }
.next-steps { list-style: none; counter-reset: next; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.next-steps li {
  counter-increment: next;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink);
}
.next-steps li::before {
  content: counter(next);
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--casa);
  font-weight: 800;
  font-size: .944rem;
}

.summary {
  margin: 20px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .944rem;
}
.summary div { display: grid; grid-template-columns: minmax(0, 7.5em) 1fr; gap: 12px; padding: 12px 16px; }
.summary div + div { border-top: 1px solid var(--line); }
.summary dt { color: var(--ink-2); font-weight: 500; }
.summary dd { margin: 0; font-weight: 600; color: var(--ink); }

.calendar-step {
  margin: 24px 0 0;
  padding: 22px 20px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
}
.calendar-step h2 { margin: 0 0 6px; font-size: 1.17rem; letter-spacing: -.01em; }
.calendar-step p { margin: 0; color: var(--ink-2); }

.flow-noscript { padding: 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }

/* ---------- Legal pages (privacy, terms, sms-terms) ---------- */
.legal {
  max-width: 72ch;
  margin: 0 auto;
  padding: 40px 16px 72px;
  color: var(--ink);
}
@media (min-width: 768px) { .legal { padding: 64px 24px 96px; } }

.legal h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); margin-bottom: .3em; }
.legal .updated { margin-bottom: 2em; color: var(--muted); font-size: .889rem; }
.legal .lead { font-size: 1.1rem; color: var(--ink-2); }
.legal h2 { font-size: 1.4rem; margin: 2.2em 0 .6em; letter-spacing: -.015em; }
.legal h3 { font-size: 1.12rem; margin: 1.6em 0 .4em; }
.legal p, .legal li { color: var(--ink); }
.legal ul, .legal ol { margin: 0 0 1em; padding-left: 1.4em; }
.legal li { margin-bottom: .45em; padding-left: .2em; }
.legal li::marker { color: var(--casa); }
.legal a { overflow-wrap: anywhere; }
.legal address { font-style: normal; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.legal .note {
  margin: 0 0 1.5em;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--sage-soft);
}
.legal .table-wrap { overflow-x: auto; margin: 0 0 1.5em; -webkit-overflow-scrolling: touch; }
.legal table { width: 100%; border-collapse: collapse; font-size: .944rem; }
.legal th, .legal td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--sand); font-weight: 700; }
