/* AARI redesign v39 (release r1): built from the AARI Brand Guide (Nov 27, 2026). Loads after styles.css and guide.css on every page.
   Tokens below are the guide's :root block. No page content lives here.
   Corner radii are the guide's (6 / 10 / 16 px), kept per Marcus (Nov 27). To go back to square, set the three --radius-* tokens to 0.
   The header uses the official horizontal Variant A lockup (logo-aari-horizontal.svg, identical to the brand kit's A-plex-serif-color-horizontal.svg) on the kit's warm ground #F8F4EC. The footer uses the reversed stacked Option C lockup (logo-aari-on-navy.svg: warm white #F8F4EC mark and wordmark, gold #C9A24A star only) directly on navy, no chip. */
@font-face { font-family: "IBM Plex Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-serif-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-serif-latin-400-italic.woff2") format("woff2"); }
:root {
  --navy: #0B2545; --navy-deep: #071A33; --navy-soft: #13315C;
  --lagoon: #0E6E78; --tint: #6FC1C9;
  --warm: #F8F4EC; /* brand kit WARM: standard light ground for the full-color logo (AARI Marketing brand kit) */
  --gold: #C9A24A; --gold-ink: #7A5C14; --gold-deep: #7A5C14;
  --sand: #F7F0DE; --gold-pale: #F7F0DE; --mist: #F4F6F9; --grey: #F4F6F9;
  --ink: #14202E; --slate: #475467; --muted: #475467; --line: #D5DBE3; --field-border: #667085;
  --data-1: #0B2545; --data-2: #0E6E78; --data-3: #A67C1E; --data-neutral: #7C8798;
  --positive: #1F7A5A; --negative: #B4532A; --error: #A1261C; --err: #A1261C;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
  --shadow-1: 0 1px 2px rgba(11,37,69,.08); --shadow-2: 0 8px 24px rgba(11,37,69,.10);
  --measure: 68ch;
}
*, *::before, *::after { border-radius: 0; }          /* styles.css reset, kept; radii are set per component below */
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body { font-size: 18px; line-height: 1.65; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.2; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 20px; line-height: 1.3; }
h1 { font-size: 44px; line-height: 1.15; }
h2 { font-size: 32px; }
h3 { font-size: 24px; line-height: 1.25; }
h1, h2 { text-wrap: balance; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 2px; }
.hero :focus-visible, .cta-band :focus-visible, footer :focus-visible, .mobile-bar :focus-visible { outline-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Links: lagoon, underlined, 600; hover navy ---------- */
main :is(p, li, dd, td, summary, figcaption) a:not(.btn) { color: var(--lagoon); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
main :is(p, li, dd, td, summary, figcaption) a:not(.btn):hover { color: var(--navy); }
a:hover { color: var(--navy); }
.hero a:not(.btn), .cta-band a:not(.btn), .next-step a:not(.btn) { color: #fff; }
.hero a:not(.btn):hover, .cta-band a:not(.btn):hover, .next-step a:not(.btn):hover { color: var(--gold); }
.tile .more, .nc-cards a { color: var(--lagoon); }

/* ---------- Header: white, 1 px line, horizontal lockup once, one primary button ---------- */
.site-header { background: var(--warm); border-bottom: 1px solid var(--line); } /* brand kit: full-color logo sits on #F8F4EC */
.site-header .wrap { max-width: 1120px; padding-top: 8px; padding-bottom: 8px; gap: 16px; flex-wrap: nowrap; }
.brand { display: block; flex: none; line-height: 0; }
.brand .brand-logo { display: block; height: 44px; width: auto; }
.header-phone { display: none; }
.site-nav ul { flex-wrap: nowrap; }
.site-nav a { font-weight: 600; font-size: 16px; padding: 10px 10px; color: var(--navy); border-bottom: 3px solid transparent; transition: border-color .15s, background-color .15s; }
.site-nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.site-nav a[aria-current="page"], .site-nav a[aria-current="true"] { border-bottom-color: var(--gold); }
.site-nav a.nav-cta { background: var(--navy); color: #fff; margin-left: 8px; padding: 10px 16px; border: 2px solid var(--navy); border-radius: var(--radius-sm); min-height: 44px; display: flex; align-items: center; }
.site-nav a.nav-cta:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; }
.site-nav .sub { border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: var(--shadow-2); }
.site-nav .sub a { font-weight: 500; }
.site-nav .sub a:hover { background: var(--sand); border-bottom-color: transparent; }
.nav-toggle { background: #fff; color: var(--navy); border: 2px solid var(--navy); border-radius: var(--radius-sm); padding: 8px 14px; min-height: 44px; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1.3; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-sm); background: var(--navy); color: #fff; border: 2px solid var(--navy); transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; }
.btn.secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.secondary:hover { background: var(--sand); color: var(--navy); border-color: var(--navy); }
.hero .btn, .cta-band .btn, .next-step .btn { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hero .btn:hover, .cta-band .btn:hover, .next-step .btn:hover { background: #d8b45f; border-color: #d8b45f; color: var(--navy); }
.hero .btn.secondary, .cta-band .btn.secondary { background: transparent; color: #fff; border-color: #fff; }
.hero .btn.secondary:hover, .cta-band .btn.secondary:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ---------- Type and rhythm ---------- */
.eyebrow { font-family: var(--sans); font-size: 13px; line-height: 1.3; letter-spacing: .08em; font-weight: 600; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 12px; }
.hero .eyebrow { color: var(--gold); }
section.block { padding: 64px 0; }
section.block.alt { background: var(--mist); }
section.block.keep, section.block#areas { background: var(--sand); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head h2, .guide-section h2 { font-size: 32px; line-height: 1.2; }
.section-head p { font-size: 18px; color: var(--ink); }
.subline, .lede { color: var(--slate); }
.hero .subline { color: #fff; }
.guide-body, .legal-page { --measure: 68ch; }

/* ---------- Home hero: full-width photo (The Collection corner living room), lighter left-side overlay ---------- */
.hero.has-photo { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: #fff; border-bottom: 0; padding: clamp(72px, 10vh, 120px) 0 clamp(80px, 11vh, 130px); min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero.has-photo > .wrap { width: 100%; align-items: end; }
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,26,51,.82) 0%, rgba(7,26,51,.64) 30%, rgba(7,26,51,.2) 56%, rgba(7,26,51,0) 72%); }
.hero.has-photo h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.1; color: #fff; max-width: 14ch; margin-bottom: 20px; }
.hero.has-photo .subline { font-size: 19px; line-height: 1.55; max-width: 32em; margin-bottom: 26px; }
.hero.has-photo h1, .hero.has-photo .subline, .hero.has-photo .eyebrow, .hero.has-photo .hero-fee { text-shadow: 0 1px 14px rgba(7,26,51,.4); }
.hero.has-photo .hero-fee { font-size: 16px; color: #fff; border-left: 2px solid var(--gold); padding-left: 14px; margin-top: 22px; max-width: 34em; }
.hero.has-photo .hero-panel { background: rgba(7,26,51,.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(201,162,74,.5); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: 28px 30px 24px; box-shadow: var(--shadow-2); }
.hero.has-photo .hero-panel h2 { color: #fff; font-size: 24px; }
.hero.has-photo .hero-panel dt { color: var(--gold); }
.hero.has-photo .hero-panel dd a { font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }

/* Trust strip under the hero */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); color: var(--slate); font-size: 15px; line-height: 1.5; }
.trust-strip .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; gap: 2px 28px; }
.trust-strip p { margin: 0; }
.trust-strip strong { color: var(--navy); font-weight: 600; }

/* ---------- Inner page hero: sand, navy serif headline, ridge-line graphic ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background-color: var(--sand); border-bottom: 1px solid var(--line); padding: 56px 0 52px; }
.page-hero::before { content: ""; position: absolute; right: 0; bottom: 0; width: min(52%, 640px); height: 100%; z-index: -1; pointer-events: none; opacity: .85; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 260' preserveAspectRatio='xMaxYMax slice'%3E%3Cpath d='M0 215 L70 170 L120 190 L205 108 L262 150 L330 92 L395 140 L470 60 L540 124 L610 84 L690 138 L760 100 L760 260 L0 260Z' fill='%230E6E78' fill-opacity='.07'/%3E%3Cpath d='M0 215 L70 170 L120 190 L205 108 L262 150 L330 92 L395 140 L470 60 L540 124 L610 84 L690 138 L760 100' fill='none' stroke='%230E6E78' stroke-opacity='.35' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M0 238 L90 204 L160 222 L260 170 L340 205 L430 150 L520 196 L610 160 L700 200 L760 178' fill='none' stroke='%23C9A24A' stroke-opacity='.8' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") right bottom / contain no-repeat; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--navy); font-size: clamp(34px, 4.4vw, 44px); line-height: 1.15; max-width: 22ch; margin-bottom: 14px; }
.page-hero .subline { color: var(--slate); font-size: 19px; max-width: 40em; }
.page-hero .hero-fee { color: var(--ink); font-size: 16px; }
.page-hero .hero-fee a { color: var(--lagoon); font-weight: 600; }
.page-hero .hero-fee a:hover { color: var(--navy); }
.page-hero .eyebrow { color: var(--gold-ink); }

/* ---------- Cards and tiles: white, 1 px line, 10 px radius, shadow-1 ---------- */
.tile, .ma-metric, .nc-cards a, .form-card, .ty-card, .calc, .cl-sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-1); }
.tile { border-top: 1px solid var(--line); padding: 24px; }
.tile h3 { font-size: 24px; }
.tile p { color: var(--slate); font-size: 17px; }
.nc-cards a { border-top: 1px solid var(--line); }
.nc-cards a:hover { border-color: var(--lagoon); background: #fff; }
.ma-metric { border-top: 1px solid var(--line); padding: 18px 20px; }
.callout, .nc-register, .note-box { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.callout, .nc-register { background: var(--sand); border-left: 4px solid var(--gold); }
.note-box { border-left: 3px solid var(--gold); color: var(--slate); }
.next-step { border-radius: var(--radius-md); background: var(--navy); }
.guide-table-wrap { border-radius: var(--radius-md); }
.guide-table-wrap, .guide-table { border-color: var(--line); }
.chip span { border-radius: var(--radius-sm); }
.seg-btn { font-family: var(--sans); }
.calc-seg { border-radius: var(--radius-sm); overflow: hidden; }
.disclaimer { color: var(--slate); }

/* ---------- Stat tiles (home "What you keep"; market metrics) ---------- */
.keep-stats { gap: 20px; }
.keep-stats li { background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-1); padding: 24px; gap: 6px; }
.keep-label { order: -1; font-size: 13px; letter-spacing: .08em; color: var(--gold-ink); }
.keep-num { order: 0; font-family: var(--sans); font-weight: 600; font-size: 48px; line-height: 1.08; color: var(--navy); display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.28em; row-gap: 0; }
.keep-figure, .keep-words { white-space: nowrap; }
.keep-note, .keep-note strong { color: var(--slate); }
.keep-note strong { color: var(--navy); }
.keep-note { font-size: 15.5px; }
.keep-source { color: var(--slate); }
.keep-source a { color: inherit; }
@media (min-width: 821px) {
  .keep-stats li.keep-buy { align-items: baseline; }
}
.ma-metric-value { font-family: var(--sans); font-size: clamp(28px, 4vw, 34px); }
.ma-metric-detail, .ma-source { color: var(--slate); }

/* Calculator result as a light stat tile (navy text on mist) */
.calc-result { background: var(--mist); color: var(--ink); border-top: 1px solid var(--line); }
.calc-result .calc-result-label { color: var(--gold-ink); }
.calc-result .calc-result-figure { font-family: var(--sans); font-weight: 600; color: var(--navy); }
.calc-result .calc-summary { color: var(--ink); }
.calc-result .calc-breakdown { border-top-color: var(--line); }
.calc-result .calc-breakdown div { border-bottom-color: var(--line); }
.calc-result .calc-breakdown dt { color: var(--slate); }
.calc-result .calc-breakdown dd { color: var(--navy); }
.calc input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--lagoon) var(--fill), #dfe4ec var(--fill)); }
.calc input[type="range"]::-moz-range-progress { background: var(--lagoon); }

/* ---------- Charts: navy main series, lagoon comparison (dashed), source line under each ---------- */
.ma-line-gold { stroke: var(--data-2); }
.ma-dot-gold, .ma-end-gold { fill: var(--data-2); }
.ma-key-gold { border-top-color: var(--data-2); }
.ma-svg { border-radius: var(--radius-md); }
.ma-bar-track { border-radius: 3px; }
.ma-bar-fill { background: var(--data-1); border-radius: 3px; }
.ma-chart figcaption { font-size: 24px; line-height: 1.25; }
.ma-tick { fill: var(--slate); }

/* ---------- Forms: 48 px fields, #667085 border, 6 px radius, lagoon focus ---------- */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { border-color: var(--field-border); border-radius: var(--radius-sm); font-family: var(--sans); }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select { min-height: 48px; }
.errors, .field .error, [role="alert"] { color: var(--error); }

/* ---------- Home sections ---------- */
.steps li::before, .steps-list li::before { border-radius: 50%; background: var(--navy); color: var(--gold); }
.areas li, .areas-regions li { border-radius: var(--radius-md); }

/* ---------- CTA band: the one navy-deep band before the footer ---------- */
.cta-band { background: var(--navy-deep); color: #fff; border-top: 0; padding: 56px 0; }
.cta-band h2 { font-size: 28px; }
.cta-band p { color: #fff; }

/* ---------- Footer: navy-deep, white lockup ---------- */
footer { border-top: 0; padding: 56px 0 44px; background: var(--navy-deep); }
footer .wrap { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
footer .footer-logo { display: block; width: 200px; height: auto; }
footer a { font-weight: 600; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
footer a:hover { color: var(--gold); }
footer .links a { text-decoration: none; }
footer .links a:hover { text-decoration: underline; }
footer .eho img { border-radius: var(--radius-sm); border-color: transparent; }
footer .legal, footer .legal strong { color: #d3dbe7; }
footer .legal strong { color: #fff; }

/* Mobile bar: every action is navy with white text. Gold is the top rule and the hover/active accent, not a one-off fill on Text. */
.mobile-bar { border-top: 3px solid var(--gold); }
.mobile-bar a,
.mobile-bar a:link,
.mobile-bar a:visited,
.mobile-bar a:hover,
.mobile-bar a:active,
.mobile-bar a:focus,
.mobile-bar a:focus-visible {
  color: #fff;
  background: var(--navy);
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(201, 162, 74, 0.35);
}

/* ---------- Tablet and phone ---------- */
/* The horizontal lockup is wider than the old stacked mark, so the hamburger
   starts at 1079 px (was 820; 1119 in v36). Below that, the full nav does not fit
   on one line next to a legible logo. Desktop nav is shown at 1080 px and up.
   Logo height is 44 px on desktop (about 15% smaller than v36's 52 px) and 36 px
   under 520 px. */
@media (max-width: 1079px) {
  .nav-toggle { display: block; }
  .site-header .wrap { gap: 10px; }
  .brand .brand-logo { height: 44px; }
  .header-phone { display: block; margin-left: auto; font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; white-space: nowrap; padding: 10px 2px; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(7,26,51,.15); }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 24px 16px; gap: 0; flex-wrap: nowrap; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .site-nav a.nav-cta { margin: 10px 0 0; text-align: center; justify-content: center; }
  .site-nav .sub, .site-nav .has-sub:hover > .sub { border: 0; border-radius: 0; box-shadow: none; }
}
@media (max-width: 820px) {
  .hero.has-photo { min-height: 0; display: block; padding: 0; }
  .hero.has-photo > .wrap { display: block; padding: 0; width: auto; }
  .hero.has-photo::before { background: linear-gradient(180deg, rgba(7,26,51,0) 0%, rgba(7,26,51,.88) 100%); inset: 0 0 auto 0; height: 300px; }
  .hero.has-photo .hero-photo { position: relative; inset: auto; display: block; height: 300px; }
  .hero.has-photo .hero-photo img { position: absolute; }
  .hero.has-photo { background: var(--navy-deep); }
  .hero.has-photo > .wrap > div { padding: 32px 18px 28px; }
  .hero.has-photo .hero-panel { margin: 0 18px 36px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero.has-photo h1, .hero.has-photo .subline, .hero.has-photo .eyebrow, .hero.has-photo .hero-fee { text-shadow: none; }
  footer .wrap { grid-template-columns: 1fr; gap: 24px; }
  footer .footer-logo { width: 160px; }
  .page-hero::before { width: 100%; opacity: .55; }
}
@media (max-width: 600px) {
  h1 { font-size: 34px; }
  h2, .section-head h2, .guide-section h2 { font-size: 28px; }
  body { font-size: 17px; }
  section.block { padding: 48px 0; }
  .site-header .wrap { padding-left: 16px; padding-right: 16px; }
  .keep-num { font-size: 44px; }
}
@media (max-width: 520px) {
  /* Phone number stays in the sticky mobile bar; hiding it here leaves room for a legible lockup. */
  .header-phone { display: none; }
  .brand .brand-logo { height: 36px; }
  .site-header .wrap { padding-top: 6px; padding-bottom: 6px; }
}

/* Home About teaser without the headshot: single column */
.about-compact.no-photo { grid-template-columns: minmax(0, 1fr); max-width: 52em; }

/* ---------- v39: custom market report request ---------- */
.ca-types-field legend { font-weight: 600; font-size: 15.5px; margin-bottom: 8px; color: var(--ink); }
.ca-types { margin-top: 0; grid-template-columns: 1fr; }
.ca-types .choice { font-size: 16px; padding: 12px 14px; border-radius: var(--radius-sm); }
@media (min-width: 900px) {
  .ca-types { grid-template-columns: 1fr 1fr 1fr; }
}
.ca-includes { margin: 0 0 28px; padding: 0; list-style: none; }
.ca-includes li { position: relative; padding: 0 0 10px 18px; }
.ca-includes li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.form-card.is-done form { display: none; }
.form-card .done-panel { padding: 0; }
.form-card .done-panel h2 { margin-bottom: 12px; }
.form-card .done-panel p { margin: 0 0 12px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14.5px; line-height: 1.5; color: var(--slate); margin: 8px 0 0; }
.consent-check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--navy); }

/* r1: notice on forms whose email backend is not connected yet */
.form-preview-notice { margin: 0 0 18px; padding: 10px 14px; font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--sand); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ---------- r1 v3 footer: full-bleed, compact (Marcus comments, Nov 27, 2026) ---------- */
footer.site-footer { display: block; width: 100%; margin: 0; box-sizing: border-box; background: var(--navy-deep); color: #d3dbe7; border-top: 0; padding: 28px 0 22px; font-size: 14px; line-height: 1.45; }
footer.site-footer .footer-inner { max-width: 1320px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
footer.site-footer .footer-top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px 32px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.16); }
footer.site-footer .footer-logo-link { display: inline-block; justify-self: start; padding: 6px 0; line-height: 0; text-decoration: none; }
footer.site-footer .footer-logo-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
footer.site-footer .footer-logo { display: block; width: 150px; height: auto; }
footer.site-footer .links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; }
footer.site-footer .links a { font-weight: 600; font-size: 14px; text-decoration: none; color: #fff; }
footer.site-footer .links a:hover { text-decoration: underline; color: var(--gold); }
footer.site-footer .footer-id { margin: 14px 0 10px; color: #fff; }
footer.site-footer .footer-id a { color: #fff; font-weight: 600; }
footer.site-footer .eho { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
footer.site-footer .eho img { width: auto; height: 28px; flex: none; background: #fff; padding: 3px; border: 0; border-radius: var(--radius-sm); box-sizing: content-box; }
footer.site-footer .legal { margin: 0; padding: 0; border: 0; font-size: 12px; line-height: 1.5; color: #c3cedd; }
footer.site-footer .legal strong { color: #fff; }
@media (max-width: 760px) {
  footer.site-footer { padding: 22px 0 18px; }
  footer.site-footer .footer-inner { padding: 0 18px; }
  footer.site-footer .footer-logo { width: 120px; }
  footer.site-footer .footer-top { grid-template-columns: 1fr; }
  footer.site-footer .links { justify-content: flex-start; gap: 6px 16px; }
}
@media (max-width: 820px) { footer.site-footer { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); } }


/* ---------- r1 v12: listing fee comparison result (headline includes "lower fee" / "higher fee") ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.fee-cmp { background: #fff; color: var(--ink); border-top: 1px solid var(--line); padding: 24px 28px 22px; }
.fee-cmp p { margin: 0; }
.fee-cmp .fee-cmp-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.28em; row-gap: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 9vw, 60px); line-height: 1.08; color: var(--lagoon); }
.fee-cmp .fee-cmp-figure, .fee-cmp .fee-cmp-label { font-family: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; color: inherit; white-space: nowrap; }
.fee-cmp-figure[hidden] { display: none; }
.fee-cmp[data-state="higher"] .fee-cmp-head, .fee-cmp[data-state="same"] .fee-cmp-head { color: var(--navy); }
.fee-cmp-sub { margin: 8px 0 20px !important; font-size: 16px; line-height: 1.5; color: var(--slate); }
.fee-cmp-row { margin: 0 0 16px; }
.fee-cmp-rl { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 6px; font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--navy); }
.fee-cmp-amt { font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.fee-cmp-bar { position: relative; height: 34px; background: var(--mist); border-radius: var(--radius-sm); overflow: hidden; }
.fee-cmp-bar i { display: block; height: 100%; transition: width .35s ease; }
.fee-cmp-bar-other i { background: #7d8a9b; }
.fee-cmp-bar-us i { background: var(--lagoon); }
.fee-cmp-gap { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, var(--gold) 0 6px, #e3c77f 6px 12px); transition: left .35s ease, width .35s ease; }
.fee-cmp-gap[hidden] { display: none; }
.fee-cmp-eff { margin: 6px 0 0 !important; font-size: 14.5px; color: var(--slate); }
.fee-cmp-tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 8px 0 0 !important; font-size: 14.5px; line-height: 1.45; color: var(--slate); }
.fee-cmp-eff[hidden] { display: none; }
.fee-cmp-fine { margin: 18px 0 0 !important; font-size: 14px; line-height: 1.5; color: var(--slate); }
.fee-cmp-fine strong { color: var(--navy); }
@media (max-width: 600px) {
  .fee-cmp { padding: 20px 18px 20px; }
  .fee-cmp-amt { font-size: 20px; }
  .fee-cmp-bar { height: 30px; }
}
/* the fixed contact bar must never cover a focused control or an anchored result on phones */
@media (max-width: 820px) { html { scroll-padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px)); } .keep-calc .calc, #compare .calc { scroll-margin-bottom: calc(44px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .fee-cmp-bar i, .fee-cmp-gap { transition: none !important; } }
@media print { .fee-cmp-bar { border: 1px solid #999; } }

/* v27: inner padding for the 404 / thank-you card */
.ty-card { padding: 28px 32px; }
@media (max-width: 640px) { .ty-card { padding: 20px; } }

/* v27.3: short MLS credit under October figures */
.mls-credit-short { font-size: 13px; color: var(--slate); margin: .5em 0 0; }

/* aari-v28.38: Contact dropdown */
.site-nav .nav-sub-btn {
  appearance: none; -webkit-appearance: none;
  margin: 0; background: none;
  border: 0; border-bottom: 3px solid transparent; border-radius: 0;
  font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.3;
  padding: 10px 10px; color: var(--navy); cursor: pointer;
  min-height: 44px; display: flex; align-items: center;
}
.site-nav .nav-sub-btn:hover,
.site-nav .nav-sub-btn[aria-expanded="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.site-nav .contact-nav > .sub { border-radius: 0; }
/* Cancel the shared has-sub hover/focus-within open so Esc can close while the button keeps focus. */
@media (min-width: 1080px) {
  .site-nav .contact-nav:hover > .sub,
  .site-nav .contact-nav:focus-within > .sub { display: none; }
  .site-nav .contact-nav.is-open > .sub { display: flex; }
}
@media (max-width: 1079px) {
  .site-nav .nav-sub-btn { width: 100%; justify-content: flex-start; padding: 13px 4px; border-bottom: 1px solid var(--line); min-height: 44px; }
  .site-nav .contact-nav > .sub,
  .site-nav .contact-nav.is-open > .sub {
    display: flex; position: static; min-width: 0; border: 0; box-shadow: none;
    background: transparent; padding: 0 0 0 18px; border-radius: 0;
  }
}
/* /aari-v28.38: Contact dropdown */

/* v28.42 Marketing launch review: S8 hide unfinished photo placeholders; N1/N2/N4 44 px tap targets */
.nc-photo-slot:has(.nc-photo-placeholder) { display: none; }
.nc-photo-placeholder { display: none; }
.next-step .aari-closer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.next-step .aari-closer .btn { min-height: 44px; }
.card a, .ag-card a, .home-cards a, [data-p] { min-height: 44px; }
[data-p] { padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 760px), (pointer: coarse) { .gx-glance a, .guide-toc a { display: inline-flex; align-items: center; min-height: 44px; } }
@media (max-width: 760px), (pointer: coarse) { .msx-crumbs a { display: inline-block; padding: 12px 0; } }
button[data-p] { height: auto !important; min-height: 44px !important; }

/* v28.44 buyer resources hub */
.rh-team { list-style: none; padding: 0; margin: 16px 0 8px; }
.rh-team .tile h3 { font-size: 21px; margin: 0 0 8px; }
.rh-links { display: flex; flex-direction: column; gap: 2px; margin: auto 0 0; }
.rh-links a { display: inline-flex; align-items: center; min-height: 44px; }
.rh-checks dt { font-weight: 600; margin-top: 16px; }
.rh-checks dd { margin: 4px 0 0; }
.rh-cols { columns: 2 18rem; column-gap: 32px; }
.rh-cols li { break-inside: avoid; padding: 4px 0; }
.rh-cols a, .rh-checks a { padding: 10px 0; }
h2.rh-group { margin-top: 40px; }
.rh-q { margin-top: 20px; font-size: 19px; }

/* v28.44 developer quote (Kahuina required disclaimer) */
.nc-quote-lead { font-weight: 600; margin-bottom: .4rem; }
.nc-dev-quote { margin: 0 0 1rem; padding: .25rem 0 .25rem 1rem; border-left: 3px solid var(--line); }
.nc-dev-quote p { margin: 0; }

/* v29.19.5: New construction hub register callout (ported from v29.63); visit banner removed in v29.19.12 */
/* ----- Register callout: Option 1 desktop vs mobile one-liner ----- */
.nc-register { scroll-margin-top: 72px; }
.nc-register-mobile { display: none; }
.nc-register-warn { margin-top: 0.6em; }
.nc-register-links { margin: 0.7em 0 0; }
@media (max-width: 799px) {
  .nc-register-desktop { display: none; }
  .nc-register-mobile { display: block; }
}

/* v29.19.12: homepage hero fee line above the buttons */
.hero .hero-fee + .hero-actions { margin-top: 18px; }
