/* ===========================================================================
   Jessie Home Solutions — Real Estate Solutions
   Warm, personal, mobile-first. Soft neutrals, generous whitespace.
   =========================================================================== */

:root {
  color-scheme: light;

  /* Surfaces */
  --cream: #fbf8f3;
  --cream-deep: #f4ede2;
  --white: #ffffff;

  /* Ink */
  --ink: #2c2723;
  --ink-soft: #574e47;
  --muted: #857a70;

  /* Brand accent — the red from the logo wordmark.
     Used for anything interactive or textual: it clears 5.1:1 on the cream
     background, so it passes AA for normal text. */
  --clay: #c0392b;
  --clay-deep: #9e2f23;
  --clay-wash: #fbe9ef;

  /* Brand pink — the house mark. Only ~3.1:1 on cream, so it is used for
     decoration (marks, rules, icon strokes) and never for body text. */
  --pink: #e85d8b;
  --pink-deep: #d24a78;

  /* Support — muted sage, kept for success states and confirmations */
  --sage: #6f7f6d;
  --sage-wash: #eaeee7;

  --line: #e9dfd2;
  --line-soft: #f1e9de;

  --shadow-sm: 0 1px 2px rgba(60, 45, 33, 0.04), 0 2px 8px rgba(60, 45, 33, 0.05);
  --shadow-md: 0 2px 6px rgba(60, 45, 33, 0.05), 0 12px 32px rgba(60, 45, 33, 0.08);
  --shadow-lg: 0 4px 12px rgba(60, 45, 33, 0.06), 0 24px 60px rgba(60, 45, 33, 0.1);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --wrap: 1120px;
  --narrow: 720px;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-brand: 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;

  --section-y: clamp(3.5rem, 8vw, 7rem);
}

/* --- Reset ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 5.6vw, 3.75rem);
}
h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
}
h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--clay-deep);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--clay);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Layout helpers ------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.narrow {
  max-width: var(--narrow);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

.section--tint {
  background: var(--cream-deep);
}

.section--white {
  background: var(--white);
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head--center {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.9rem;
}

.lede {
  font-size: clamp(1.075rem, 1.8vw, 1.2rem);
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--clay-deep);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: var(--clay);
  color: var(--clay-deep);
}

.btn--light {
  background: var(--white);
  color: var(--clay-deep);
}

.btn--light:hover {
  background: var(--cream);
  color: var(--clay-deep);
}

.btn--sm {
  padding: 0.7rem 1.25rem;
  font-size: 0.93rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn-row--center {
  justify-content: center;
}

/* Once the buttons stack they should share a width, otherwise the ragged
   right edge reads as a mistake. */
@media (max-width: 560px) {
  .btn-row .btn {
    width: 100%;
  }
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(60, 45, 33, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

/* Logo lockup: the house mark as inline SVG plus the wordmark as real text,
   so Cormorant actually loads. Referencing the SVG via <img> would block the
   webfont and silently fall back to a generic serif. */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.15;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--pink);
}

.brand__name {
  font-family: var(--font-brand);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--clay);
  white-space: nowrap;
}

@media (max-width: 400px) {
  .brand__name {
    font-size: 0.86rem;
    letter-spacing: 0.09em;
  }
}

.brand__tag {
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--clay-deep);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* The letterspaced wordmark is wider than a personal name was, so the nav
   needs more room before it starts fighting the brand lockup. */
@media (max-width: 1040px) {
  .nav,
  .header-cta .btn--ghost {
    display: none;
  }
}

/* On phones the sticky bottom bar already carries Call / Text / Let's Talk,
   so the header button is redundant — and keeping it forced the wordmark to
   overflow, which made narrow phones scroll sideways. */
@media (max-width: 620px) {
  .header-cta {
    display: none;
  }
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3.25rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(70% 55% at 78% 8%, var(--clay-wash) 0%, rgba(246, 231, 223, 0) 62%),
    radial-gradient(60% 50% at 12% 92%, var(--sage-wash) 0%, rgba(234, 238, 231, 0) 60%),
    var(--cream);
  overflow: hidden;
}

.hero__inner {
  max-width: 54rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero__lede {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 40rem;
}

.hero__list {
  max-width: 40rem;
  color: var(--ink-soft);
}

.hero__punch {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--ink);
  margin: 1.75rem 0 0.35rem;
}

.hero__note {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* The invitation carries the weight; the reassurance sits quietly under it. */
.hero__note strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.hero .btn-row {
  margin-top: 0.5rem;
}

.hero__trust {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__trust svg {
  color: var(--clay);
  flex: none;
}

/* --- About ---------------------------------------------------------------- */


.about__body p:first-of-type {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.about__maybes {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0 0 0 1.35rem;
  border-left: 2px solid var(--clay-wash);
  display: grid;
  gap: 0.55rem;
  color: var(--ink-soft);
}

.about__pull {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.5rem);
  color: var(--clay-deep);
  line-height: 1.4;
  margin: 1.75rem 0;
}

/* --- Service cards -------------------------------------------------------- */

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 305px), 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--clay-wash);
  display: grid;
  place-content: center;
  margin-bottom: 1.1rem;
  color: var(--pink-deep);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card__q {
  font-weight: 600;
  color: var(--ink);
}

/* --- Steps ---------------------------------------------------------------- */

.steps {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  counter-reset: step;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.step {
  position: relative;
  padding-top: 3.9rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--clay);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  display: grid;
  place-content: center;
  box-shadow: var(--shadow-sm);
}

.step h3 {
  margin-bottom: 0.45rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.steps-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--clay-deep);
}

/* --- Why / benefits ------------------------------------------------------- */

.why__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 900px) {
  .why__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  }
}

.why__intro p {
  color: var(--ink-soft);
}

.why__staccato {
  margin: 1.25rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--line);
  color: var(--muted);
}

.why__staccato span {
  display: block;
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.benefit {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.benefit__check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--sage-wash);
  color: var(--sage);
  display: grid;
  place-content: center;
  margin-top: 0.15rem;
}

.benefit strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}

.benefit p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* --- Personal note -------------------------------------------------------- */

.note {
  background: var(--ink);
  color: #f3ece3;
  text-align: center;
}

.note h2 {
  color: var(--white);
}

.note p {
  color: #d9cec2;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
}

.note__last {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  color: var(--white) !important;
  margin-top: 1.5rem;
}

/* --- Buyers --------------------------------------------------------------- */

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0 0 2rem;
}

.chips li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* --- Big CTA -------------------------------------------------------------- */

.cta {
  background: linear-gradient(135deg, var(--clay) 0%, var(--clay-deep) 100%);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
}

.cta__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta__list li {
  padding: 0.2rem 0;
}

.cta__punch {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  margin-bottom: 1.75rem;
}

.cta__direct {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: center;
  font-size: 1rem;
}

.cta__direct a {
  color: var(--white);
  font-weight: 600;
}

/* --- Form ----------------------------------------------------------------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.field {
  margin-bottom: 1.25rem;
}

.field > label,
.fieldset__legend {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.field .hint {
  display: block;
  font-weight: 400;
  font-size: 0.87rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.req {
  color: var(--clay);
}

.optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.87rem;
}

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%23857a70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--clay);
  box-shadow: 0 0 0 3px var(--clay-wash);
}

.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: #b4453a;
  box-shadow: 0 0 0 3px rgba(180, 69, 58, 0.12);
}

.field__error {
  display: none;
  font-size: 0.87rem;
  color: #a33d33;
  margin-top: 0.35rem;
}

.field__error.is-shown {
  display: block;
}

.grid-2 {
  display: grid;
  gap: 0 1.25rem;
}

@media (min-width: 620px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Honeypot — hidden from people, visible to naive bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Consent block: visually separate from the rest of the form (TCPA) */
.consent {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.consent__box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.checkline {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.checkline input[type='checkbox'] {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0.1rem 0 0;
  accent-color: var(--clay);
  cursor: pointer;
}

.checkline label {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  cursor: pointer;
}

.consent__note {
  font-size: 0.87rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
}

.form-actions {
  margin-top: 1.75rem;
}

.form-actions .btn {
  min-width: 220px;
}

.form-privacy {
  font-size: 0.87rem;
  color: var(--muted);
  margin-top: 1rem;
}

.form-status {
  display: none;
  margin-top: 1.25rem;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.97rem;
}

.form-status.is-shown {
  display: block;
}

.form-status--ok {
  background: var(--sage-wash);
  border: 1px solid #cdd8c9;
  color: #3f513d;
}

.form-status--err {
  background: #fbeae8;
  border: 1px solid #f0cdc8;
  color: #8f3327;
}

.form-success {
  display: none;
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.form-success.is-shown {
  display: block;
}

.form-success__mark {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-pill);
  background: var(--sage-wash);
  color: var(--sage);
  display: grid;
  place-content: center;
  margin: 0 auto 1.25rem;
}

/* --- FAQ ------------------------------------------------------------------ */

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq details[open] {
  border-color: var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3.25rem 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--clay);
  border-bottom: 2px solid var(--clay);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq summary:hover {
  color: var(--clay-deep);
}

.faq__body {
  padding: 0 1.4rem 1.35rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: #cfc5b9;
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
  font-size: 0.95rem;
}

.site-footer a {
  color: #e8ddd0;
}

.site-footer a:hover {
  color: var(--white);
}

.footer__top {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 760px) {
  .footer__top {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.footer__tag {
  color: #a99e92;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__contact {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.3rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: #9a8f83;
  font-size: 0.87rem;
}

/* --- Mobile call/text bar ------------------------------------------------- */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 0.6rem;
  padding: 0.7rem clamp(0.75rem, 4vw, 1.25rem)
    calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 248, 243, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

/* 46px clears the 44px minimum touch target; these are the primary
   conversion buttons on mobile, so they get generous hit areas. */
.mobile-bar .btn {
  flex: 1;
  padding-inline: 0.75rem;
  min-height: 46px;
}

@media (max-width: 760px) {
  .mobile-bar {
    display: flex;
  }
  body {
    padding-bottom: 92px;
  }
  html {
    scroll-padding-top: 80px;
  }
}

/* --- Legal pages ---------------------------------------------------------- */

.legal {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.legal__meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin-top: 2.5rem;
}

.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
}

.legal ul,
.legal ol {
  color: var(--ink-soft);
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.legal p {
  color: var(--ink-soft);
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.callout {
  background: var(--clay-wash);
  border-left: 3px solid var(--clay);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.35rem;
  margin: 1.5rem 0;
}

.callout p {
  color: var(--ink);
  font-size: 0.98rem;
}

/* --- Config placeholders -------------------------------------------------- */
/* Any [BRACKETED] value left unset in assets/config.js lights up here. */

.cfg-missing {
  background: #fff3b0;
  color: #6b5200;
  border-bottom: 2px dotted #c9a227;
  padding: 0 0.25em;
  border-radius: 3px;
  font-weight: 600;
}

.note .cfg-missing,
.cta .cfg-missing,
.site-footer .cfg-missing {
  background: #ffe98a;
  color: #5c4600;
}
