/* =========================================================================
   Grand River Home Buyers — site styles
   Palette: navy / white / subtle green. All text pairs meet WCAG 2.2 AA.
   ========================================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy-950: #071726;
  --navy-900: #0b2036;
  --navy-800: #12304d;
  --navy-700: #1c4066;
  --navy-100: #e7edf4;
  --ink: #16202c;
  --muted: #47546a;          /* 7.6:1 on white */
  --line: #d5dde7;
  --line-strong: #8794a6;    /* 3.3:1 on white — form borders */
  --soft: #f4f6f9;
  --cream: #fbf8f2;
  --green-700: #22644a;      /* 6.9:1 on white */
  --green-600: #2b7a5a;      /* 5.2:1 on white */
  --green-300: #8fd0b0;      /* 9.9:1 on navy-900 */
  --green-100: #e5f2eb;
  --error: #b42318;          /* 6.4:1 on white */
  --error-bg: #fdf0ee;
  --focus: #0b2036;
  --white: #ffffff;

  --font-head: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(7, 23, 38, .06), 0 12px 32px -12px rgba(7, 23, 38, .22);
  --wrap: 1160px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px); /* WCAG 2.4.11: focus not obscured */
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 30, "opsz" 72;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--navy-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-700); text-decoration-thickness: 2px; }
strong { font-weight: 700; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* ---------- Focus (visible, high contrast, never removed) ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark { --focus: #ffd166; }

/* ---------- Utilities ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.eyebrow {
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: .75rem; display: inline-block;
}
.on-dark .eyebrow { color: var(--green-300); }
.lead { font-size: 1.2rem; color: var(--muted); }
.on-dark .lead { color: #d6e0ea; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.center { text-align: center; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--white); color: var(--navy-900); font-weight: 700;
  padding: .8rem 1.1rem; border-radius: var(--radius-sm); border: 3px solid var(--navy-900);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green-700); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem;
  font: 700 1rem/1.2 var(--font-body);
  color: var(--fg); background: var(--bg);
  border: 2px solid var(--bg); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:hover { --bg: #1a5039; color: var(--fg); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-outline { --bg: transparent; --fg: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { --bg: var(--navy-900); --fg: #fff; border-color: var(--navy-900); }
.on-dark .btn-outline { --fg: #fff; border-color: #fff; }
.on-dark .btn-outline:hover { --bg: #fff; --fg: var(--navy-900); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--navy-900); text-decoration: none; font-weight: 700;
}
.brand:hover { color: var(--navy-900); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-head); font-size: 1.18rem; line-height: 1.1; font-weight: 600; }
.brand-name small {
  display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  min-height: 44px; padding: .5rem .9rem;
  font: 700 .95rem var(--font-body); color: var(--navy-900);
  background: var(--white); border: 2px solid var(--navy-900); border-radius: 999px; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.primary-nav > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: .25rem;
}
.primary-nav li { margin: 0; position: relative; }
.primary-nav a, .submenu-toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  min-height: 44px; padding: .5rem .8rem;
  color: var(--ink); font: 600 .98rem var(--font-body);
  text-decoration: none; border-radius: var(--radius-sm);
  background: none; border: 0; cursor: pointer;
}
.primary-nav a:hover, .submenu-toggle:hover { background: var(--soft); color: var(--navy-900); }
.primary-nav a[aria-current="page"] {
  color: var(--navy-900);
  box-shadow: inset 0 -3px 0 var(--green-600);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.submenu-toggle svg { width: 14px; height: 14px; transition: transform .15s; }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  list-style: none; margin: 0; padding: .5rem;
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.submenu[hidden] { display: none; }
.submenu a { display: flex; width: 100%; }
.primary-nav .nav-cta { margin-left: .5rem; }
.primary-nav .nav-cta a {
  background: var(--green-700); color: #fff; border-radius: 999px; padding-inline: 1.15rem;
}
.primary-nav .nav-cta a:hover { background: #1a5039; color: #fff; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -16px rgba(7,23,38,.3);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .primary-nav[hidden] { display: none; }
  .js .primary-nav:not([hidden]) { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; gap: 0; }
  .primary-nav a, .submenu-toggle { width: 100%; justify-content: space-between; padding: .75rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .primary-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green-600); padding-left: 1rem; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .primary-nav .nav-cta { margin: 1rem 0 0; }
  .primary-nav .nav-cta a { justify-content: center; border-bottom: 0; border-radius: 999px; }
}
/* Without JS the menu is always visible (no hidden attribute is set) */

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(143,208,176,.16), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #e9eef4;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
}
.hero::before { /* contour-line texture, purely decorative */
  content: ""; position: absolute; inset: 0; opacity: .09; pointer-events: none;
  background-image: url("/assets/img/contours.svg"); background-size: 900px; background-position: right -120px top -60px;
  background-repeat: no-repeat;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--green-300); }
.hero-grid {
  position: relative; display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.hero-points li { display: flex; gap: .7rem; align-items: flex-start; margin: 0; }
.hero-points svg { width: 22px; height: 22px; flex: none; margin-top: .2rem; color: var(--green-300); }
.hero-art { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
@media (max-width: 960px) { .hero-art { display: none; } }
.hero-note { font-size: .95rem; color: #c3cfdc; border-left: 3px solid var(--green-300); padding-left: .9rem; }

/* Page hero (sub pages) */
.page-hero {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #e9eef4; padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: 2.5rem; align-items: center; }
.page-hero-art { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-art { display: none; } }
.breadcrumbs { font-size: .9rem; margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.breadcrumbs li + li::before { content: "/"; color: #8fa3b8; }
.breadcrumbs a { color: #d6e0ea; }
.breadcrumbs [aria-current] { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-soft { background: var(--soft); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--navy-900); color: #e3eaf1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }

/* Situation cards */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); }
.card-art { background: var(--navy-100); aspect-ratio: 16 / 10; }
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); }
.card-link { margin-top: auto; font-weight: 700; }
/* Whole-card click target while keeping one accessible link */
.card { position: relative; }
.card-link a::after { content: ""; position: absolute; inset: 0; }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card-link a:focus-visible { outline: none; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.steps > li {
  counter-increment: step; margin: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  position: relative;
}
.steps > li::before {
  content: counter(step); display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy-900); color: #fff; font: 600 1.15rem var(--font-head); margin-bottom: 1rem;
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Long-form step list (How It Works page) */
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: tl; }
.timeline > li { counter-increment: tl; position: relative; padding: 0 0 2.25rem 4.25rem; margin: 0; }
.timeline > li::before {
  content: counter(tl); position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-900); color: #fff; font: 600 1.2rem var(--font-head);
}
.timeline > li::after {
  content: ""; position: absolute; left: 23px; top: 56px; bottom: 8px; width: 2px; background: var(--line);
}
.timeline > li:last-child::after { display: none; }
.timeline h3 { margin-top: .55rem; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.table-wrap:focus-visible { outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 1rem; }
caption { text-align: left; padding: 1rem 1.25rem; font-weight: 700; color: var(--navy-900); caption-side: top; }
th, td { text-align: left; vertical-align: top; padding: .95rem 1.25rem; border-top: 1px solid var(--line); }
thead th { background: var(--navy-900); color: #fff; font-weight: 700; border-top: 0; }
tbody th { font-weight: 700; color: var(--navy-900); width: 24%; background: var(--soft); }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.25rem; position: relative;
  font-weight: 700; color: var(--navy-900); min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--navy-700); border-bottom: 2.5px solid var(--navy-700);
  transform: translateY(-70%) rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Callouts */
.callout {
  border-radius: var(--radius); padding: 1.4rem 1.5rem; background: var(--green-100);
  border-left: 5px solid var(--green-600);
}
.callout h2, .callout h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout-navy { background: var(--navy-100); border-left-color: var(--navy-700); }
.disclosure-box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; font-size: .98rem; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--green-600) 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='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat;
}
.x-list { list-style: none; padding: 0; }
.x-list li { position: relative; padding-left: 2rem; }
.x-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--navy-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'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/62% no-repeat;
}

/* Prose */
.prose { max-width: 740px; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose > :first-child { margin-top: 0; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.with-aside aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .with-aside aside { position: static; } }
.aside-card { background: var(--navy-900); color: #e3eaf1; border-radius: var(--radius); padding: 1.6rem; }
.aside-card h2 { color: #fff; font-size: 1.35rem; }
.aside-card p { color: #d0dbe6; }

/* Area list */
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.area-list li { margin: 0; background: var(--white); border: 1px solid var(--line); padding: .35rem .85rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--navy-800); }
.section-dark .area-list li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; }

/* CTA band */
.cta-band { background: var(--green-700); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: #e3f2ea; margin: 0; }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band .btn { --bg: #fff; --fg: var(--navy-900); border-color: #fff; }
.cta-band .btn:hover { --bg: var(--navy-900); --fg: #fff; border-color: var(--navy-900); }
.cta-band.on-dark { --focus: #fff; }

/* ---------- Form ---------- */
.form-card {
  background: var(--white); color: var(--ink); border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55);
  border: 1px solid var(--line);
  --focus: #0b2036;
}
.form-card h2 { font-size: 1.55rem; margin-bottom: .25rem; }
.form-card .form-intro { color: var(--muted); font-size: .98rem; margin-bottom: 1.25rem; }
.progress { display: flex; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: .85rem; font-weight: 700; color: var(--muted); }
.progress li { margin: 0; flex: 1; padding-top: .5rem; border-top: 4px solid var(--line); }
.progress li[aria-current="step"] { color: var(--navy-900); border-top-color: var(--green-600); }
.progress li.done { border-top-color: var(--navy-700); color: var(--navy-800); }
.no-js .progress { display: none; }

fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
legend { font: 600 1.15rem var(--font-head); color: var(--navy-900); padding: 0; margin-bottom: .75rem; }
.step-legend:focus { outline: none; }
.step-legend:focus-visible { outline: 3px solid var(--focus); }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 .9rem; }
.field-row.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .field-row, .field-row.even { grid-template-columns: 1fr; } }
label, .label { display: block; font-weight: 700; margin-bottom: .3rem; color: var(--ink); font-size: .98rem; }
.req { color: var(--error); font-weight: 700; }
.opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
.hint { display: block; color: var(--muted); font-size: .9rem; margin: -.1rem 0 .4rem; line-height: 1.45; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 2px solid var(--line-strong); border-radius: var(--radius-sm);
  appearance: none; -webkit-appearance: none;
}
select {
  padding-right: 2.6rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312304d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .8rem center/18px no-repeat;
}
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy-900);
}
[aria-invalid="true"] { border-color: var(--error) !important; background-color: var(--error-bg) !important; }
.error-msg { display: flex; gap: .4rem; align-items: flex-start; color: var(--error); font-weight: 600; font-size: .92rem; margin-top: .35rem; }
.error-msg:empty { display: none; }
.error-msg::before { content: "!"; flex: none; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; margin-top: .1rem; border-radius: 50%; background: var(--error); color: #fff; font-size: .75rem; font-weight: 800; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
@media (max-width: 520px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; align-items: center; gap: .65rem; margin: 0; min-height: 48px;
  padding: .6rem .85rem; border: 2px solid var(--line-strong); border-radius: var(--radius-sm);
  font-weight: 600; cursor: pointer; background: var(--white);
}
.choice label::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--navy-700); background: #fff; box-shadow: inset 0 0 0 3px #fff;
}
.choice input:checked + label { border-color: var(--navy-900); background: var(--navy-100); }
.choice input:checked + label::before { background: var(--navy-900); }
.choice input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
fieldset[aria-invalid="true"] .choice label, .choice-group[aria-invalid="true"] .choice label { border-color: var(--error); }

.check { display: grid; grid-template-columns: 26px 1fr; gap: .65rem; align-items: start; margin-bottom: 1rem; }
.check input { width: 24px; height: 24px; margin: .15rem 0 0; accent-color: var(--navy-900); cursor: pointer; }
.check label { font-weight: 400; font-size: .94rem; line-height: 1.5; margin: 0; cursor: pointer; }
.check label strong { font-weight: 700; }
.consent-box { border: 1px solid var(--line); background: var(--soft); border-radius: var(--radius-sm); padding: 1rem 1rem .25rem; margin-bottom: 1rem; }

.form-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.form-actions .btn { flex: 1 1 200px; }
.form-fineprint { font-size: .86rem; color: var(--muted); margin: 1rem 0 0; line-height: 1.5; }
.honeypot { display: none !important; }

.error-summary {
  border: 3px solid var(--error); border-radius: var(--radius-sm); padding: 1rem 1.15rem; margin-bottom: 1.25rem;
  background: var(--error-bg);
}
.error-summary:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.error-summary h3 { color: var(--error); font-family: var(--font-body); font-size: 1.05rem; margin: 0 0 .4rem; }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--error); font-weight: 600; }

/* Multi-step behaviour (only when JS runs) */
.js .form-step[hidden] { display: none; }

/* ---------- Consent banner ---------- */
.consent-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80;
  max-width: 720px; margin-inline: auto;
  background: var(--navy-950); color: #e3eaf1; border-radius: var(--radius);
  padding: 1.25rem 1.4rem; box-shadow: 0 20px 50px -10px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.15);
}
.consent-banner[hidden] { display: none; }
.consent-banner h2 { color: #fff; font-family: var(--font-body); font-size: 1.05rem; margin: 0 0 .35rem; }
.consent-banner p { font-size: .95rem; margin: 0 0 1rem; }
.consent-banner a { color: #fff; }
.consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent-actions .btn { flex: 1 1 180px; min-height: 44px; padding-block: .6rem; }
.consent-banner .btn-outline { --fg: #fff; border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #c8d4e0; padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .2rem; }
.footer-links a, .link-button { display: inline-block; padding: .3rem 0; min-height: 24px; }
.link-button { background: none; border: 0; color: #fff; font: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; padding-inline: 0; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-name small { color: #a9b8c8; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .88rem; color: #b7c4d2; }
.footer-legal p { margin-bottom: .6rem; }

/* ---------- Thank-you ---------- */
.thanks-icon { width: 72px; height: 72px; margin-bottom: 1.25rem; }

/* ---------- Print & motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .btn, .choice label, .card { border: 2px solid ButtonText; }
  .choice input:checked + label { outline: 3px solid Highlight; }
}
@media print {
  .site-header, .site-footer, .consent-banner, .cta-band, .hero-art, .page-hero-art, .form-card { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
.mobile-only { display: none; }
@media (max-width: 960px) { .mobile-only { display: block; } }
.nav-toggle svg { flex: none; width: 20px; height: 20px; }
@media (max-width: 420px) {
  .brand-name { font-size: 1rem; }
  .brand-name small { font-size: .66rem; }
  .brand-mark { width: 34px; height: 34px; }
}
a, .prose, .footer-legal { overflow-wrap: anywhere; }
.legend-label { font: 700 .98rem var(--font-body); color: var(--ink); margin-bottom: .3rem; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-125 { margin-top: 1.25rem; } .mt-2 { margin-top: 2rem; } .mt-25 { margin-top: 2.5rem; } .mb-0 { margin-bottom: 0; }
.check-note { margin: -.4rem 0 .9rem 2.3rem; }
.check-error { margin: -.6rem 0 .8rem 2.3rem; }

/* ---------- Logo (Grand River Home Buyers) ---------- */
.brand-logo { height: 40px; width: auto; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; text-transform: uppercase; }
.brand-name .bn-1 { font-family: var(--font-head); font-weight: 600; font-size: 1.28rem; letter-spacing: .02em; color: var(--navy-900); font-variation-settings: "SOFT" 0, "opsz" 72; }
.brand-name .bn-2 {
  display: flex; align-items: center; gap: .4rem; margin-top: .3rem;
  font-family: var(--font-body); font-weight: 600; font-size: .66rem; letter-spacing: .32em; color: var(--navy-800);
}
.brand-name .bn-2::before, .brand-name .bn-2::after { content: ""; height: 1.5px; width: .9rem; background: currentColor; opacity: .7; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 240px; height: auto; }
@media (max-width: 480px) {
  .brand { gap: .45rem; }
  .brand-logo { height: 30px; }
  .brand-name .bn-1 { font-size: 1rem; }
  .brand-name .bn-2 { font-size: .56rem; letter-spacing: .24em; }
  .brand-name .bn-2::before, .brand-name .bn-2::after { width: .5rem; }
}
@media (max-width: 360px) { .brand-logo { display: none; } }
.brand-logo { height: 46px; }
.brand-name .bn-1 { white-space: nowrap; }
@media (max-width: 480px) { .brand-logo { height: 36px; } }

/* ---------- Situations ---------- */
.sit-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 960px) { .sit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .sit-grid { grid-template-columns: 1fr; } }
.sit { margin: 0; display: flex; gap: .9rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.2rem; }
.sit + .sit { margin-top: 0; }
.sit-icon { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.sit-icon svg { width: 24px; height: 24px; }
.sit h3 { font-size: 1.05rem; margin: .1rem 0 .3rem; }
.sit p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.fit-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; height: 100%; }
.fit-yes { border-top: 5px solid var(--green-600); }
.fit-no { border-top: 5px solid var(--navy-700); }
.fit-card h3 { font-size: 1.25rem; }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.toc ul { columns: 2; column-gap: 2rem; margin: 0; padding-left: 1.1rem; }
.toc li { break-inside: avoid; }
@media (max-width: 600px) { .toc ul { columns: 1; } }
.h-small { font-size: 1.1rem; margin: 0 0 .6rem; }
.sit-detail { padding-top: .25rem; }
.lead-sm { font-size: 1.08rem; color: var(--ink); font-weight: 600; }
/* Icon tiles v2 */
.sit-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-900); color: var(--green-300); box-shadow: inset 0 0 0 1px rgba(143,208,176,.25); }
.sit-icon svg { width: 26px; height: 26px; }
.sit { transition: border-color .2s, box-shadow .2s, transform .2s; }
.sit:hover { border-color: #b9c6d4; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) { .sit:hover { transform: translateY(-2px); } }
.sit-h { display: flex; align-items: center; gap: .8rem; }
.sit-h .sit-icon { flex: none; }
.hero-art, .page-hero-art { box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); border-color: rgba(143,208,176,.22); }
.toc .h-small { margin-top: 0; }
.prose h2.sit-h { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 2.6rem; }

/* ---------- Conversion: trust bar, LP header, sticky CTA ---------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -24px rgba(7,23,38,.5); position: relative; }
.trust-bar ul { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.25rem; }
.trust-bar li { margin: 0; display: flex; gap: .8rem; align-items: center; }
.trust-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.trust-ic svg { width: 22px; height: 22px; }
.trust-bar strong { display: block; color: var(--navy-900); font-size: 1rem; line-height: 1.25; }
.trust-sub { display: block; color: var(--muted); font-size: .88rem; line-height: 1.35; }
@media (max-width: 960px) { .trust-bar ul { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .trust-bar ul { grid-template-columns: 1fr; gap: .9rem; } }

.hero-fine { font-size: .92rem; color: #b9c7d6; margin-top: 1.25rem; }
.hero .lead { max-width: 34em; }
.lp-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); }
.lp-hero .hero-note a { color: #fff; }

.lp-header .header-inner { min-height: 68px; }
.lp-header-note { margin: 0; display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; color: var(--navy-800); }
.lp-header-note .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 4px var(--green-100); }
@media (max-width: 480px) { .lp-header-note { font-size: .8rem; } }

.steps-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 800px) { .steps-3 { grid-template-columns: 1fr; } }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(7,23,38,.45); }
.sticky-cta[hidden] { display: none; }
@media (min-width: 961px) { .sticky-cta { display: none !important; } }
body.has-sticky .site-footer { padding-bottom: 6rem; }
.hero-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "top form" "bottom form"; grid-template-rows: auto 1fr; row-gap: 0; }
.hero-split .lp-copy { grid-area: top; }
.hero-split .form-card { grid-area: form; align-self: start; }
.hero-split .lp-copy-bottom { grid-area: bottom; }
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; grid-template-areas: "top" "form" "bottom"; row-gap: 1.75rem; }
  .hero-split .lead { margin-bottom: 0; }
}
@media (max-width: 440px) { .lp-header-note { display: none; } }
