/* ==========================================================================
   about.homeasap.com: refreshed design system (proposal, 2026-11-09)

   Shown on /styleguide/. Everything is prefixed `ha-` so it can live beside
   site.css while pages move over one at a time: a migrated page loads this
   file and puts class="ha" on its <main>. Nothing here changes a page that
   does not opt in.

   Keeps the brand (navy, red CTA, coral accent, Barlow + Barlow Condensed)
   and fixes what the Divi port carried over: coral text below AA contrast,
   synthesised bold (only Barlow 400 was loaded), percentage paddings, the
   hover that moves the button text, and 97 one-off hex colors.
   ========================================================================== */

/* 1. Fonts: the real weights, self-hosted (site.css loads Barlow 400 only) */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/barlow-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-700.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlowcondensed-600-latin.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlowcondensed-700-latin.woff2) format('woff2'); }

/* 2. Tokens */
:root {
  /* Navy: the brand color, extended into a scale */
  --ha-navy-950: #071a29;   /* dark hero / band background */
  --ha-navy-900: #0d2638;
  --ha-navy-700: #223949;   /* brand navy: headings */
  --ha-navy-500: #4a6275;
  --ha-navy-200: #c9d5de;
  --ha-navy-100: #e6edf2;
  --ha-navy-50:  #f3f6f8;   /* soft section background */
  /* Action + accent */
  --ha-red-600:  #dc2209;   /* primary button (white text 4.9:1) */
  --ha-red-700:  #b51c07;   /* primary hover */
  --ha-coral-500: #f15f4c;  /* decorative only (3.2:1): rules, icons, on-dark accents */
  --ha-coral-700: #b8321f;  /* coral as text on white: links, eyebrows (5.9:1) */
  --ha-coral-300: #ff9a8a;  /* coral as text on navy-950 (8.6:1) */
  /* Support */
  --ha-blue-600: #1376bc;   /* focus ring, info */
  --ha-green-700: #0a7f28;  /* success, checkmarks */
  --ha-amber-500: #f5a623;  /* star ratings */
  /* Neutrals */
  --ha-ink: #0f1c26;        /* body text */
  --ha-muted: #4a5a66;      /* secondary text (7.1:1) */
  --ha-line: #dfe3e6;       /* borders, dividers */
  --ha-white: #fff;

  /* Type */
  --ha-font: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --ha-font-head: 'Barlow Condensed', 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --ha-fs-display: clamp(40px, 5.4vw, 66px);
  --ha-fs-h1: clamp(36px, 4.4vw, 52px);
  --ha-fs-h2: clamp(30px, 3.4vw, 42px);
  --ha-fs-h3: clamp(22px, 2.2vw, 27px);
  --ha-fs-h4: 20px;
  --ha-fs-lead: clamp(18px, 1.6vw, 21px);
  --ha-fs-body: 18px;
  --ha-fs-small: 15px;
  --ha-fs-eyebrow: 14px;

  /* Space (4px base) */
  --ha-s-1: 4px;  --ha-s-2: 8px;  --ha-s-3: 12px; --ha-s-4: 16px; --ha-s-5: 24px;
  --ha-s-6: 32px; --ha-s-7: 48px; --ha-s-8: 64px; --ha-s-9: 96px; --ha-s-10: 128px;
  --ha-section-y: clamp(56px, 8vw, 112px);
  --ha-container: 1200px;
  --ha-gutter: 24px;

  /* Shape */
  --ha-r-sm: 6px; --ha-r-md: 12px; --ha-r-lg: 20px; --ha-r-pill: 999px;
  --ha-shadow-sm: 0 1px 2px rgba(7,26,41,.08), 0 1px 1px rgba(7,26,41,.04);
  --ha-shadow-md: 0 10px 24px -10px rgba(7,26,41,.22);
  --ha-shadow-lg: 0 28px 56px -20px rgba(7,26,41,.35);
  --ha-ease: cubic-bezier(.2,.7,.2,1);
}

/* Heroes are dark surfaces: every `.ha-dark` text rule below also applies inside `.ha-hero`. */
/* 3. Scope + base. `.ha` beats site.css's element rules (p padding, body * line-height, h padding) */
.ha { color: var(--ha-ink); font-family: var(--ha-font); font-size: var(--ha-fs-body); font-weight: 400; line-height: 1.6; }
.ha * { font-family: inherit; line-height: inherit; }
.ha :where(p, h1, h2, h3, h4, h5, h6, ul, ol, li, blockquote, figure) { margin: 0; padding: 0; border: 0; }
.ha :where(h1, h2, h3, h4) { color: var(--ha-navy-700); font-family: var(--ha-font-head); font-weight: 700; line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
.ha h1 { font-size: var(--ha-fs-h1); }
.ha h2 { font-size: var(--ha-fs-h2); }
.ha h3 { font-size: var(--ha-fs-h3); line-height: 1.15; }
.ha h4 { font-size: var(--ha-fs-h4); line-height: 1.2; }
.ha :where(p + p) { margin-top: 1em; }
.ha :where(h1, h2, h3) + :where(p, ul, ol) { margin-top: var(--ha-s-4); }
.ha :where(a:not([class])) { color: var(--ha-coral-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ha :where(a:not([class])):hover { text-decoration-thickness: 2px; }
.ha :where(strong, b) { font-weight: 700; }
.ha :where(img) { max-width: 100%; height: auto; }
.ha :where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--ha-blue-600); outline-offset: 2px; }
:is(.ha-dark, .ha-hero) :where(a, button, input, select, textarea, summary):focus-visible { outline-color: #fff; }

.ha-display { font-size: var(--ha-fs-display) !important; line-height: 1.02 !important; }
.ha-lead { color: var(--ha-muted); font-size: var(--ha-fs-lead); line-height: 1.55; }
.ha-small { font-size: var(--ha-fs-small); }
.ha-muted { color: var(--ha-muted); }
.ha-eyebrow { display: inline-block; margin-bottom: var(--ha-s-3); color: var(--ha-coral-700); font-size: var(--ha-fs-eyebrow); font-weight: 700; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }

/* 4. Layout */
.ha-container { width: min(var(--ha-container), 100% - 2 * var(--ha-gutter)); margin-inline: auto; }
.ha-container--narrow { --ha-container: 820px; }
.ha-section { position: relative; padding-block: var(--ha-section-y); }
.ha-section--tight { padding-block: calc(var(--ha-section-y) * .6); }
.ha-section--soft { background: var(--ha-navy-50); }
.ha-dark { background: var(--ha-navy-950); color: #d6e0e8; }
:is(.ha-dark, .ha-hero) :where(h1, h2, h3, h4) { color: #fff; }
:is(.ha-dark, .ha-hero) .ha-lead, :is(.ha-dark, .ha-hero) .ha-muted { color: #b9c7d2; }
:is(.ha-dark, .ha-hero) .ha-eyebrow { color: var(--ha-coral-300); }
:is(.ha-dark, .ha-hero) :where(a:not([class])) { color: #fff; }
.ha-head { max-width: 720px; margin-bottom: var(--ha-s-7); }
.ha-head--center { margin-inline: auto; text-align: center; }
.ha-head .ha-lead { margin-top: var(--ha-s-4); }
.ha-grid { display: grid; gap: var(--ha-s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--ha-min, 260px)), 1fr)); }
.ha-grid--2 { --ha-min: 420px; gap: var(--ha-s-6); }
.ha-grid--4 { --ha-min: 220px; }
.ha-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ha-split--reverse > :first-child { order: 2; }
.ha-split--top { align-items: start; }
.ha-stack > * + * { margin-top: var(--ha-s-5); }
@media (max-width: 900px) {
  .ha-split { grid-template-columns: 1fr; }
  .ha-split--reverse > :first-child { order: 0; }
}

/* 5. Buttons. Hover darkens and lifts 1px; the label never moves */
.ha-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 26px; border: 2px solid transparent; border-radius: var(--ha-r-pill); font-family: var(--ha-font); font-size: 17px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 160ms var(--ha-ease), border-color 160ms var(--ha-ease), color 160ms var(--ha-ease), transform 160ms var(--ha-ease), box-shadow 160ms var(--ha-ease); }
.ha-btn:hover { transform: translateY(-1px); }
.ha-btn:active { transform: none; }
.ha-btn .ha-arrow { transition: transform 160ms var(--ha-ease); }
.ha-btn:hover .ha-arrow { transform: translateX(3px); }
.ha-btn--primary { background: var(--ha-red-600); color: #fff; box-shadow: 0 6px 16px -8px rgba(220,34,9,.7); }
.ha-btn--primary:hover { background: var(--ha-red-700); color: #fff; }
.ha-btn--secondary { border-color: var(--ha-navy-700); background: #fff; color: var(--ha-navy-700); }
.ha-btn--secondary:hover { background: var(--ha-navy-700); color: #fff; }
.ha-btn--ghost { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }
.ha-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.ha-btn--link { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ha-coral-700); }
.ha-btn--link:hover { transform: none; text-decoration: underline; text-underline-offset: 4px; }
:is(.ha-dark, .ha-hero) .ha-btn--link { color: #fff; }
.ha-btn--lg { min-height: 56px; padding: 15px 32px; font-size: 19px; }
.ha-btn--sm { min-height: 38px; padding: 7px 18px; font-size: 15px; }
.ha-btn--block { width: 100%; }
.ha-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ha-s-4) var(--ha-s-5); margin-top: var(--ha-s-6); }
@media (max-width: 600px) { .ha-actions > .ha-btn:not(.ha-btn--link) { width: 100%; } }

/* 6. Hero */
.ha-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(72px, 10vw, 136px); background: var(--ha-navy-950); color: #d6e0e8; isolation: isolate; }
.ha-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 90% at 85% 10%, rgba(19,118,188,.35), transparent 60%), radial-gradient(60% 70% at 0% 100%, rgba(241,95,76,.16), transparent 60%); }
/* Set the photo inline on the section as a background-image style: an image URL inside a
   custom property would resolve against this stylesheet, not the page. */
.ha-hero--photo { background-color: var(--ha-navy-950); background-position: center; background-size: cover; background-repeat: no-repeat; }
.ha-hero--photo::before { background: linear-gradient(90deg, rgba(7,26,41,.96) 0%, rgba(7,26,41,.86) 45%, rgba(7,26,41,.45) 100%); }
.ha-hero :where(h1) { color: #fff; font-size: var(--ha-fs-display); line-height: 1.02; }
.ha-hero .ha-lead { max-width: 560px; margin-top: var(--ha-s-5); color: #c7d3dc; }
.ha-hero .ha-eyebrow { color: var(--ha-coral-300); }
.ha-hero__art img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.ha-hero__trust { display: flex; flex-wrap: wrap; gap: var(--ha-s-2) var(--ha-s-5); margin-top: var(--ha-s-5); color: #c7d3dc; font-size: var(--ha-fs-small); }
.ha-hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.ha-hero__trust svg { width: 18px; height: 18px; color: #6fd08c; }
/* One soft curve replaces the three-layer Divi wave */
.ha-curve { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(28px, 5vw, 72px); color: var(--ha-curve-color, #fff); pointer-events: none; }
.ha-curve svg { display: block; width: 100%; height: 100%; }

/* 7. Cards */
.ha-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: var(--ha-s-6); border: 1px solid var(--ha-line); border-radius: var(--ha-r-md); background: #fff; color: var(--ha-ink); box-shadow: var(--ha-shadow-sm); transition: transform 200ms var(--ha-ease), box-shadow 200ms var(--ha-ease), border-color 200ms var(--ha-ease); }
.ha-card h3 { margin-bottom: var(--ha-s-2); }
.ha-card p { color: var(--ha-muted); font-size: 16.5px; }
.ha-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--ha-s-5); border-radius: var(--ha-r-md); background: var(--ha-navy-50); }
.ha-card__icon img { width: 32px; height: 32px; }
.ha-card__more { margin-top: auto; padding-top: var(--ha-s-5); color: var(--ha-coral-700); font-weight: 700; }
/* A whole-card link: the title's link stretches over the card */
.ha-card--link:hover { transform: translateY(-3px); border-color: var(--ha-navy-200); box-shadow: var(--ha-shadow-md); }
.ha-card--link h3 a { color: inherit; text-decoration: none; }
.ha-card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ha-card__media { margin: calc(-1 * var(--ha-s-6)) calc(-1 * var(--ha-s-6)) var(--ha-s-5); overflow: hidden; border-radius: var(--ha-r-md) var(--ha-r-md) 0 0; background: var(--ha-navy-50); aspect-ratio: 16 / 10; }
.ha-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ha-card__meta { margin-bottom: var(--ha-s-2); color: var(--ha-muted); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ha-card--feature { padding: 0; border: 0; background: none; box-shadow: none; }

/* 8. Stats */
.ha-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--ha-s-5); }
.ha-stat { padding-left: var(--ha-s-5); border-left: 3px solid var(--ha-coral-500); }
.ha-stat b { display: block; color: var(--ha-navy-700); font-family: var(--ha-font-head); font-size: clamp(40px, 4.6vw, 56px); font-weight: 700; line-height: 1; }
.ha-stat span { display: block; margin-top: var(--ha-s-2); color: var(--ha-muted); font-size: 16px; }
:is(.ha-dark, .ha-hero) .ha-stat b { color: #fff; }

/* 9. Testimonial */
.ha-quote { display: flex; flex-direction: column; height: 100%; padding: var(--ha-s-6); border-radius: var(--ha-r-lg); background: #fff; box-shadow: var(--ha-shadow-md); }
.ha-stars { color: var(--ha-amber-500); font-size: 20px; letter-spacing: 2px; line-height: 1; }
.ha-quote blockquote { margin: var(--ha-s-4) 0 var(--ha-s-5); color: var(--ha-ink); font-size: 18px; line-height: 1.55; }
.ha-quote figcaption { display: flex; align-items: center; gap: var(--ha-s-3); margin-top: auto; }
.ha-quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ha-quote figcaption b { display: block; color: var(--ha-navy-700); font-size: 16px; }
.ha-quote figcaption span { color: var(--ha-muted); font-size: 14px; }

/* 10. Price + checkout card */
.ha-price-card { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--ha-line); border-top: 4px solid var(--ha-red-600); border-radius: var(--ha-r-lg); background: #fff; box-shadow: var(--ha-shadow-lg); }
.ha-price { display: flex; align-items: baseline; gap: 8px; margin: var(--ha-s-3) 0 var(--ha-s-2); }
.ha-price b { color: var(--ha-navy-700); font-family: var(--ha-font-head); font-size: 56px; font-weight: 700; line-height: 1; }
.ha-price span { color: var(--ha-muted); font-size: 17px; }
.ha-price s { color: var(--ha-muted); font-size: 20px; }
:is(.ha-dark, .ha-hero) .ha-price b { color: #fff; }
:is(.ha-dark, .ha-hero) .ha-price span { color: #b9c7d2; }

/* 11. Checklist + badges */
.ha-checklist { display: grid; gap: var(--ha-s-3); list-style: none; }
.ha-checklist li { position: relative; padding-left: 34px; }
.ha-checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--ha-green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ha-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--ha-r-pill); background: var(--ha-navy-100); color: var(--ha-navy-700); font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1.4; text-transform: uppercase; }
.ha-badge--sale { background: #fde8e4; color: #9c2412; }
.ha-badge--new { background: #dff3e6; color: #0b6a24; }

/* 12. FAQ */
.ha-faq details { border-bottom: 1px solid var(--ha-line); }
.ha-faq details:first-child { border-top: 1px solid var(--ha-line); }
.ha-faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--ha-s-4); padding: var(--ha-s-5) 0; color: var(--ha-navy-700); font-family: var(--ha-font-head); font-size: 22px; font-weight: 700; line-height: 1.25; list-style: none; cursor: pointer; }
.ha-faq summary::-webkit-details-marker { display: none; }
.ha-faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ha-navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23223949' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 200ms var(--ha-ease); }
.ha-faq details[open] summary::after { transform: rotate(45deg); }
.ha-faq details > div { padding: 0 0 var(--ha-s-5); color: var(--ha-muted); }

/* 13. Forms */
.ha-form { display: grid; gap: var(--ha-s-4); }
.ha-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ha-s-4); }
.ha-label { display: block; margin-bottom: 6px; color: var(--ha-navy-700); font-size: 15px; font-weight: 600; }
.ha-input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #7d8b97; border-radius: var(--ha-r-sm); background: #fff; color: var(--ha-ink); font: 400 17px/1.4 var(--ha-font); transition: border-color 150ms, box-shadow 150ms; }
.ha-input::placeholder { color: #66747f; }
.ha-input:hover { border-color: var(--ha-navy-500); }
.ha-input:focus { outline: none; border-color: var(--ha-blue-600); box-shadow: 0 0 0 3px rgba(19,118,188,.25); }
.ha-input[aria-invalid="true"] { border-color: #c1270f; }
textarea.ha-input { min-height: 120px; resize: vertical; }
select.ha-input { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23223949' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.ha-help { margin-top: 6px; color: var(--ha-muted); font-size: 14px; }
.ha-error { margin-top: 6px; color: #b3240e; font-size: 14px; font-weight: 600; }
.ha-check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.ha-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ha-red-600); }
@media (max-width: 600px) { .ha-form__row { grid-template-columns: 1fr; } }

/* 14. CTA band */
.ha-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--ha-s-5); padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); border-radius: var(--ha-r-lg); background: linear-gradient(120deg, var(--ha-navy-900), var(--ha-navy-700)); color: #d6e0e8; }
.ha-band h2 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); }
.ha-band p { margin-top: var(--ha-s-2); color: #c7d3dc; }

/* 15. Product page building blocks (rollout step 2, 2026-11-09) */
/* Product name over a hero heading: logo mark + name */
.ha-product { display: flex; align-items: center; gap: 12px; margin-bottom: var(--ha-s-4); color: #fff; font-size: 20px; font-weight: 600; line-height: 1.2; }
.ha-product img { flex: none; width: 40px; height: 40px; }
.ha-hero .ha-price { margin-top: var(--ha-s-5); }
.ha-price-note { color: #b9c7d2; font-size: var(--ha-fs-small); }
/* A one-line reassurance: green check + text (on dark it turns light green) */
.ha-assure { display: flex; align-items: center; gap: 8px; margin-top: var(--ha-s-4); color: var(--ha-green-700); font-size: 16px; font-weight: 600; }
.ha-assure svg { flex: none; width: 20px; height: 20px; }
:is(.ha-dark, .ha-hero) .ha-assure { color: #8fe0a5; font-weight: 500; }
/* Brokerage logo strip under a hero */
.ha-proof { padding-block: var(--ha-s-6) var(--ha-s-7); text-align: center; }
.ha-proof p { margin-bottom: var(--ha-s-4); color: var(--ha-muted); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.ha-proof img { width: min(760px, 100%); margin-inline: auto; }
/* Section header with the heading left and a short line of copy right */
.ha-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--ha-s-7); max-width: none; }
.ha-head--split > p { max-width: 380px; color: var(--ha-muted); }
@media (max-width: 900px) { .ha-head--split { display: block; } .ha-head--split > p { max-width: none; margin-top: var(--ha-s-3); } }
/* Feature list: check icon, title, one line of text, ruled between items */
.ha-checks { margin-top: var(--ha-s-5); list-style: none; }
.ha-checks li { display: flex; gap: var(--ha-s-4); padding: var(--ha-s-4) 0; border-top: 1px solid var(--ha-line); }
.ha-checks li::before { content: ""; flex: none; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: var(--ha-green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.ha-checks h3 { font-size: 21px; }
.ha-checks p { margin-top: 4px; color: var(--ha-muted); font-size: 16.5px; }
/* Reviews: a grid of .ha-quote cards (title + text variant), more behind a <details> */
.ha-reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--ha-s-5); }
.ha-reviews--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ha-reviews--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .ha-reviews, .ha-reviews--3 { grid-template-columns: 1fr; } }
.ha-quote h3 { margin-top: var(--ha-s-3); font-size: 21px; }
.ha-quote > p { margin-top: var(--ha-s-2); color: var(--ha-muted); font-size: 16.5px; line-height: 1.55; }
.ha-more { margin-top: var(--ha-s-5); }
.ha-more > summary { display: flex; width: max-content; margin-inline: auto; list-style: none; }
.ha-more > summary::-webkit-details-marker { display: none; }
.ha-more[open] > summary { display: none; }
/* Offer: copy and extras left, checkout card right; on narrow screens copy, card, extras */
.ha-offer { display: grid; grid-template-columns: 1fr minmax(0, 1fr); grid-template-areas: "copy card" "extra card"; grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 72px); align-items: start; }
.ha-offer__copy { grid-area: copy; }
.ha-offer__extra { grid-area: extra; margin-top: var(--ha-s-5); }
.ha-offer > .ha-price-card { grid-area: card; }
@media (max-width: 900px) {
  .ha-offer { grid-template-columns: 1fr; grid-template-areas: "copy" "card" "extra"; }
  .ha-offer > .ha-price-card { margin-top: var(--ha-s-6); }
}
.ha-guarantee { display: flex; align-items: center; gap: var(--ha-s-4); padding: var(--ha-s-5) 0; border-top: 1px solid var(--ha-line); }
.ha-guarantee img { flex: none; width: 76px; height: auto; }
.ha-guarantee h3 { font-size: 21px; }
.ha-guarantee p { margin-top: 4px; color: var(--ha-muted); font-size: 15px; }
/* Checkout card: the WP Simple Pay rebuild (.sp-*, driven by external-checkout.js) inside .ha-price-card */
.ha-price-card h2 { font-size: clamp(28px, 2.6vw, 34px); }
.ha-included { margin-top: var(--ha-s-5); }
.ha-price-card .ha-plan { margin-top: 4px; color: var(--ha-muted); font-size: 16px; font-weight: 600; }
.ha .sp-form { margin-top: var(--ha-s-5); padding-bottom: 0; }
.ha .sp-field { margin-bottom: var(--ha-s-4); }
.ha .sp-label { margin-bottom: 6px; color: var(--ha-navy-700); font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.ha .sp-input { width: 100%; height: 48px; padding: 11px 14px; border: 1.5px solid #7d8b97; border-radius: var(--ha-r-sm); background: #fff; color: var(--ha-ink); font: 400 17px/1.4 var(--ha-font); outline: 0; transition: border-color 150ms, box-shadow 150ms; }
.ha .sp-input:hover { border-color: var(--ha-navy-500); }
.ha .sp-input:focus { border-color: var(--ha-blue-600); box-shadow: 0 0 0 3px rgba(19,118,188,.25); }
.ha textarea.sp-input { height: auto; min-height: 120px; resize: vertical; }
.ha .sp-coupon .sp-input { width: 100%; }
.ha .sp-coupon__row { display: flex; flex-wrap: nowrap !important; align-items: stretch; gap: 8px; }
.ha .sp-coupon__row .sp-input { flex: 1; width: auto; min-width: 0; }
.ha .sp-coupon__row .sp-apply { flex: none; margin: 0; }
.ha .sp-apply { min-height: 48px; padding: 0 20px; border-radius: var(--ha-r-pill); background: var(--ha-navy-700); font-size: 15px; letter-spacing: 0; }
.ha .sp-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: var(--ha-s-2); padding-top: var(--ha-s-4); border-top: 1px solid var(--ha-line); color: var(--ha-navy-700); font-size: 18px; font-weight: 600; letter-spacing: 0; }
.ha .sp-total__value { font-family: var(--ha-font-head); font-size: 30px; font-weight: 700; }
.ha .sp-pay { display: flex; justify-content: center; width: 100%; min-height: 56px; margin-top: var(--ha-s-2); padding: 14px 24px; border-radius: var(--ha-r-pill); background: var(--ha-red-600); box-shadow: 0 6px 16px -8px rgba(220,34,9,.7); font-size: 19px; letter-spacing: 0; transition: background-color 160ms; }
.ha .sp-pay:hover { background: var(--ha-red-700); }
.ha .sp-pay span { padding: 0; line-height: 1.4; }
.ha .sp-plans__list label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 12px 14px; border: 1.5px solid var(--ha-line); border-radius: var(--ha-r-sm); font-size: 17px; }
.ha .sp-plans__list label:has(input:checked) { border-color: var(--ha-red-600); background: #fff7f5; }
.ha .sp-plans__list input { width: 18px; height: 18px; margin: 0; accent-color: var(--ha-red-600); }
.ha-price-card .ha-assure { justify-content: center; }
.ha-price-card .cc-icon-container { margin-top: var(--ha-s-4); text-align: center; }
.ha-price-card .cc-icon-container img { display: inline-block; margin: 0 6px; vertical-align: middle; }
.ha-price-card .site-security-seal { margin-top: var(--ha-s-3); text-align: center; }
.ha-price-card .site-security-seal img { display: inline-block; }
.ha-price-card .tos { margin-top: var(--ha-s-3); color: var(--ha-muted); font-size: 13.5px; line-height: 1.5; text-align: center; }
/* Contact block: two phone/email columns; a <details> that reveals the message form */
.ha-contact-lines { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ha-s-5); margin-top: var(--ha-s-5); }
.ha-contact-lines h3 { margin-bottom: 4px; font-size: 21px; }
.ha-contact-lines a { display: block; }
@media (max-width: 600px) { .ha-contact-lines { grid-template-columns: 1fr; } }
.ha-reveal > summary { display: inline-flex; list-style: none; }
.ha-reveal > summary::-webkit-details-marker { display: none; }
.ha-reveal[open] > summary { display: none; }
.ha-reveal form { display: grid; gap: var(--ha-s-4); }
.ha-reveal label { display: block; color: var(--ha-navy-700); font-size: 15px; font-weight: 600; }
.ha-reveal .sp-input, .ha-reveal .ha-input { margin-top: 6px; }
.ha-reveal button { justify-self: start; }
.ha .form-error { color: #b3240e; font-size: 15px; font-weight: 600; }
/* A quiet closing line linking to a sibling product */
.ha-cross { padding: var(--ha-s-5) 0; border-top: 1px solid var(--ha-line); text-align: center; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  .ha-btn, .ha-btn .ha-arrow, .ha-card, .ha-faq summary::after { transition: none; }
  .ha-btn:hover, .ha-card--link:hover, .ha-btn:hover .ha-arrow { transform: none; }
}

/* ==========================================================================
   16. Bridge for legacy one-off pages (2026-11-11)
   <main class="ha-bridge"> puts a Divi-port page on the refreshed type scale,
   buttons and eyebrows without rebuilding its layout. Used by the Real Estate
   Agent Directory family (directory, -2, -3, google-read, directory-join-login,
   read-referrals, altos-research, thank-you-wj), learn/new-agents and
   read-exclusive/real-estate-ads-a-quick-start-guide.
   !important because the page styles size headings with ID selectors.
   Heading roles follow the product template: hero headline = h1, section and
   row headline = h2 (with a .ha-eyebrow above it), card title = h3.
   ========================================================================== */
.ha-bridge :is(h1, h2, h3, h4) { font-family: var(--ha-font-head) !important; font-weight: 700 !important; letter-spacing: -.005em; text-wrap: balance; }
.ha-bridge h1 { font-size: var(--ha-fs-h1) !important; line-height: 1.06 !important; }
.ha-bridge :is(h2, .prod_cat_headline) { font-size: var(--ha-fs-h2) !important; line-height: 1.1 !important; }
.ha-bridge h3 { font-size: var(--ha-fs-h3) !important; line-height: 1.15 !important; }
.ha-bridge h4 { font-size: var(--ha-fs-h4) !important; line-height: 1.2 !important; }
/* Card and list titles that are h2/h3 by markup but read as card titles */
.ha-bridge :is(.post-item__title, .counter__title) { font-size: var(--ha-fs-h4) !important; line-height: 1.25 !important; }
.ha-bridge .footer-heading { font-size: var(--ha-fs-h4) !important; }

/* Eyebrow: Barlow 700, 14px caps, coral 700 on light (5.9:1); add --on-dark on photo/navy heroes (coral 300) */
.ha-bridge .ha-eyebrow { position: static; top: auto; display: block; margin: 0 0 var(--ha-s-3) !important; padding: 0 !important;
  color: var(--ha-coral-700) !important; font-family: var(--ha-font) !important; font-size: var(--ha-fs-eyebrow) !important; font-weight: 700 !important;
  letter-spacing: .12em; line-height: 1.3 !important; text-transform: uppercase; text-shadow: none; }
.ha-bridge .ha-eyebrow--on-dark { color: var(--ha-coral-300) !important; }
.ha-bridge .center .ha-eyebrow, .ha-bridge .ha-eyebrow.center { text-align: center; }

/* Buttons: every legacy CTA becomes the primary button (red 600, white 4.9:1, pill, 48px; hover darkens, label stays put) */
.ha-bridge :is(a.btn, a.btn--coral, a.wj-btn) { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px;
  padding: 12px 26px !important; border: 2px solid transparent; border-radius: var(--ha-r-pill) !important; background: var(--ha-red-600) !important;
  color: #fff !important; box-shadow: 0 6px 16px -8px rgba(220,34,9,.7); opacity: 1; font-family: var(--ha-font) !important; font-size: 17px !important;
  font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: 0; text-align: center; text-decoration: none !important;
  transform: none; transition: background-color 160ms var(--ha-ease), transform 160ms var(--ha-ease) !important; }
.ha-bridge :is(a.btn, a.btn--coral, a.wj-btn):hover { padding: 12px 26px !important; background: var(--ha-red-700) !important; color: #fff !important;
  box-shadow: 0 6px 16px -8px rgba(220,34,9,.7); transform: translateY(-1px); }
.ha-bridge :is(a.btn, a.btn--coral, a.wj-btn)::after { display: none !important; }
.ha-bridge :is(a.btn, a.btn--coral, a.wj-btn):focus-visible { outline: 3px solid var(--ha-blue-600); outline-offset: 2px; }
/* Hero headlines that were h2 under a coral h1 label: white on the photo heroes, navy on Altos' white panel */
.ha-bridge :is(.intro, .read-hero .text) h1 { color: #fff !important; }
.ha-bridge .altos-join h1 { color: var(--ha-navy-700) !important; }
/* Sidebar and table-of-contents titles on the article template read as h4 */
.ha-bridge :is(.ps-text-popular-articles, #post-contents, .widget) :is(h2, h3, h4) { font-size: var(--ha-fs-h4) !important; }
