/* Guriel Homes - site styles
   Design read: statewide Texas cash home-buyer site, mature and trust-first, American red/white/blue.
   Palette: Old Glory navy #0A3161 and red #B31942 (US flag colors) on white. Red is used only for actions and small accents.
   Shape rule: everything uses a 6px radius (buttons, inputs, cards, images).
   Theme: light only, by brand choice (red, white and blue). */

@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/fonts/libre-franklin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --bg: #ffffff;
  --tint: #f4f6f9;
  --tint-2: #e8ecf2;
  --navy: #0a3161;
  --navy-2: #08264c;
  --red: #b31942;
  --red-hover: #9a1438;
  --ink: #0f1b2d;
  --ink-2: #3a4658;
  --muted: #5b6678;
  --line: #d9dfe8;
  --focus: #1b5fc1;
  --error: #b3261e;
  --shadow: 0 1px 2px rgb(10 49 97 / .06), 0 14px 34px -16px rgb(10 49 97 / .28);
  --r: 6px;
  --maxw: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; margin: 0; font-weight: 700; color: var(--navy); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: var(--r); z-index: 100; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border-radius: var(--r); border: 0;
  font: inherit; font-weight: 650; font-size: 1rem; letter-spacing: .005em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-hover); }
.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .7); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header */
.flag-rule { height: 5px; background: linear-gradient(90deg, var(--navy) 0 33.33%, var(--white) 33.33% 66.66%, var(--red) 66.66% 100%); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--navy); }
.nav-links .nav-phone { color: var(--navy); font-weight: 700; }
.nav-links a.btn-red, .nav-links a.btn-red:hover { color: var(--white); }
.nav .btn { min-height: 46px; padding: 0 20px; }
@media (max-width: 1020px) { .nav-links .hide-md { display: none; } }
@media (max-width: 640px) {
  .nav { height: 64px; }
  .brand img { height: 42px; }
  .nav-links .btn { display: none; }
  .nav-links .nav-phone { font-size: .95rem; padding: 10px 14px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--navy); }
  .nav-links .nav-phone .long { display: none; }
}
@media (min-width: 641px) { .nav-links .nav-phone .short { display: none; } }

/* Hero */
.hero { padding: 60px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.3rem, 4vw, 3.35rem); font-weight: 800; letter-spacing: -0.025em; }
.hero h1 span { color: var(--red); }
.hero-city h1 { font-size: clamp(2.2rem, 3.5vw, 2.85rem); }
.hero-sub { margin-top: 20px; font-size: 1.18rem; color: var(--ink-2); max-width: 38ch; }
.quick-form { margin-top: 32px; display: flex; gap: 8px; padding: 8px; background: var(--white); border-radius: calc(var(--r) + 2px); box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 580px; }
.quick-form label { flex: 1; display: flex; align-items: center; padding-left: 12px; }
.quick-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); height: 52px; outline: none; }
.quick-form input::placeholder { color: var(--muted); }
.quick-form:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.hero-call { margin-top: 18px; color: var(--ink-2); font-size: 1rem; }
.hero-call a { font-weight: 700; color: var(--navy); text-underline-offset: 3px; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .hero { padding: 32px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .hero-sub { max-width: none; }
}
@media (max-width: 520px) {
  .quick-form { flex-direction: column; }
  .quick-form label { padding: 0 8px; }
  .quick-form .btn { width: 100%; }
}

/* Promise band */
.promises { background: var(--navy); color: var(--white); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise { padding: 32px 26px; }
.promise + .promise { border-left: 1px solid rgb(255 255 255 / .16); }
.promise strong { display: block; font-size: 1.12rem; font-weight: 700; padding-top: 14px; border-top: 3px solid var(--red); width: fit-content; }
.promise span { display: block; margin-top: 8px; color: rgb(255 255 255 / .82); font-size: .96rem; line-height: 1.5; }
@media (max-width: 900px) {
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .promise:nth-child(3) { border-left: 0; }
  .promise:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .16); }
}
@media (max-width: 520px) {
  .promise-grid { grid-template-columns: 1fr; }
  .promise + .promise { border-left: 0; border-top: 1px solid rgb(255 255 255 / .16); }
  .promise { padding: 22px 4px; }
}

/* Sections */
section { padding: 96px 0; }
.section-title { font-size: clamp(2rem, 3.3vw, 2.75rem); max-width: 22ch; }
.section-lead { margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; max-width: 62ch; }
.tinted { background: var(--tint); }
@media (max-width: 640px) { section { padding: 64px 0; } }

/* Steps */
.steps-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.steps-media img { border-radius: var(--r); aspect-ratio: 4 / 4.5; object-fit: cover; width: 100%; }
.step-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 30px; counter-reset: step; }
.step-list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; counter-increment: step; }
.step-list li::before {
  content: counter(step);
  width: 56px; height: 56px; border-radius: var(--r); display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-weight: 800; font-size: 1.3rem;
  box-shadow: inset 0 -4px 0 var(--red);
}
.step-list h3 { font-size: 1.3rem; margin-top: 2px; }
.step-list p { color: var(--ink-2); margin-top: 6px; }
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps-media { order: 2; }
  .steps-media img { aspect-ratio: 16 / 10; }
}

/* Compare */
.compare-table { margin-top: 44px; display: grid; grid-template-columns: 1.1fr 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.compare-table > div { padding: 18px 22px; border-top: 1px solid var(--line); }
.compare-table > .ch { border-top: 0; font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.compare-table .col-us { background: #eef2f8; color: var(--ink); font-weight: 600; }
.compare-table .ch.col-us { background: var(--navy); color: var(--white); }
.compare-table .row-label { font-weight: 700; color: var(--ink); }
.compare-table .cell { color: var(--ink-2); }
.compare-note { margin-top: 18px; color: var(--muted); font-size: .94rem; max-width: 75ch; }
@media (max-width: 760px) {
  .compare-table { grid-template-columns: 1fr 1fr; }
  .compare-table .row-label { grid-column: 1 / -1; background: var(--tint); padding-block: 10px; font-size: .95rem; }
  .compare-table .ch.blank { display: none; }
  .compare-table > div { padding: 14px 16px; font-size: .95rem; }
}

/* Situations bento */
.bento { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 16px; }
.tile { position: relative; border-radius: var(--r); padding: 28px 26px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.tile h3 { font-size: 1.22rem; }
.tile p { color: var(--ink-2); margin-top: 8px; font-size: .98rem; line-height: 1.5; }
.tile.big { grid-column: span 2; grid-row: span 2; min-height: 430px; border: 0; color: var(--white); }
.tile.big { isolation: isolate; }
.tile.big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile.big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 26 52 / .05) 0%, rgb(8 26 52 / .5) 42%, rgb(8 26 52 / .92) 78%); z-index: -1; }
.tile.big h3 { color: var(--white); font-size: 1.5rem; }
.tile.big p { color: rgb(255 255 255 / .9); max-width: 46ch; }
.tile.full { grid-column: 1 / -1; min-height: 0; background: var(--navy); border: 0; border-left: 6px solid var(--red); }
.tile.full h3 { color: var(--white); }
.tile.full p { color: rgb(255 255 255 / .85); }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .tile.big { min-height: 380px; } }
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile.big { grid-column: auto; grid-row: auto; min-height: 340px; }
}

/* Whole tile is clickable when it links to a guide */
.tile .tile-link { text-decoration: none; color: inherit; }
.tile .tile-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.tile:has(.tile-link) { transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.tile:has(.tile-link):hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tile .tile-link:focus-visible { outline: none; }
.tile:has(.tile-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.tile h3 .tile-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.tile:hover h3 .tile-link { background-size: 100% 2px; }

/* Also-buy line under the situations grid */
.also-buy { margin-top: 24px; padding: 20px 24px; border-left: 4px solid var(--navy); background: var(--tint); border-radius: var(--r); color: var(--ink-2); max-width: none; }
.also-buy strong { color: var(--navy); }
.also-buy a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }

/* Help band */
.help { background: var(--navy); color: var(--white); }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.help .section-title { color: var(--white); }
.help .section-lead { color: rgb(255 255 255 / .82); }
.help-list { list-style: none; margin: 0; padding: 0; }
.help-list li { padding: 22px 0; border-top: 1px solid rgb(255 255 255 / .18); }
.help-list li:last-child { border-bottom: 1px solid rgb(255 255 255 / .18); }
.help-list strong { display: block; font-size: 1.12rem; }
.help-list p { color: rgb(255 255 255 / .8); margin-top: 6px; }
.help-list a { color: var(--white); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 700; }
@media (max-width: 900px) { .help-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Offer form */
.offer-grid { display: grid; grid-template-columns: .9fr 1.1fr; grid-template-areas: "head form" "more form"; grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 0; align-items: start; }
.offer-head { grid-area: head; }
.offer-more { grid-area: more; }
.offer-grid .form-card { grid-area: form; scroll-margin-top: 90px; }
.offer-aside ul { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.offer-aside li { position: relative; padding-left: 22px; color: var(--ink-2); }
.offer-aside li::before { content: ""; position: absolute; left: 0; top: .66em; width: 10px; height: 3px; background: var(--red); }
.contact-card { margin: 36px 0 0; border-top: 1px solid var(--line); }
.contact-card div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-card dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 4px; }
.contact-card dd { margin: 0; font-weight: 600; color: var(--navy); }
.contact-card a { text-decoration: none; }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--navy); border-radius: var(--r); box-shadow: var(--shadow); padding: 32px; }
.form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.form-head h3 { font-size: 1.45rem; }
.form-step-count { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.progress { margin: 16px 0 26px; height: 5px; border-radius: 3px; background: var(--tint-2); overflow: hidden; }
.progress span { display: block; height: 100%; width: 33.33%; background: var(--red); transition: width .45s var(--ease); }
.step[hidden] { display: none; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .field legend { font-weight: 650; font-size: .96rem; color: var(--ink); padding: 0; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #c5cdd9; border-radius: var(--r);
  min-height: 52px; padding: 12px 14px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgb(27 95 193 / .2); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .err { color: var(--error); font-size: .9rem; }
.field .err:empty { display: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; gap: 0; } .form-card { padding: 22px 18px; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r); border: 1.5px solid #c5cdd9; color: var(--ink-2); font-weight: 500; font-size: .95rem; transition: all .2s var(--ease); background: var(--white); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; }
.form-actions .btn-red { flex: 1; }
.consent-q { padding: 16px; border-radius: var(--r); background: var(--tint); border: 1px solid var(--line); }
.consent-q legend { float: left; width: 100%; margin-bottom: 6px; color: var(--navy); }
.consent-q .consent-text { clear: both; font-size: .84rem; line-height: 1.5; color: var(--ink-2); margin-bottom: 10px; }
.consent-q .consent-text a { color: var(--navy); text-underline-offset: 2px; }
.consent-q .chip span { background: var(--white); }
.consent-q[aria-invalid="true"], .consent-q:has([aria-invalid="true"]) { border-color: var(--error); }
.consent { margin: 6px 0 18px; display: grid; gap: 12px; }
.consent label { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: var(--r); background: var(--tint); font-size: .86rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.consent a, .fine a { color: var(--navy); text-underline-offset: 2px; }
.fine { font-size: .84rem; line-height: 1.5; color: var(--muted); margin-top: 14px; }
.form-error { margin-top: 14px; padding: 12px 14px; border-radius: var(--r); background: #fbecee; color: var(--error); font-size: .95rem; }
.form-error[hidden] { display: none; }
.success[hidden] { display: none; }
.success h3 { font-size: 1.6rem; padding-top: 16px; border-top: 4px solid var(--red); }
.success p { margin-top: 12px; color: var(--ink-2); }
.hp { position: absolute !important; left: -9999px !important; }
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; grid-template-areas: "head" "form" "more"; grid-template-rows: auto; row-gap: 20px; }
  .offer-head .section-lead { font-size: 1rem; margin-top: 10px; }
  .offer-more ul { margin-top: 12px; }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font-weight: 650; font-size: 1.08rem; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--red), var(--red)) center / 14px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 14px no-repeat; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 65ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Areas */
.metro-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metro { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; }
.metro h3 { font-size: 1.15rem; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 3px solid var(--red); }
.metro h3 a { text-decoration: none; }
.metro p { color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.metro .more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--navy); font-size: .94rem; text-underline-offset: 3px; }
.statewide { margin-top: 16px; padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--navy); }
.statewide strong { color: var(--navy); }
.statewide p { color: var(--ink-2); margin-top: 6px; }
@media (max-width: 980px) { .metro-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .metro-grid { grid-template-columns: 1fr; } }

/* City pages */
.city-local { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.city-local ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.city-local li { padding-left: 22px; position: relative; color: var(--ink-2); }
.city-local li::before { content: ""; position: absolute; left: 0; top: .66em; width: 10px; height: 3px; background: var(--red); }
.city-local li strong { color: var(--ink); }
.city-aside { background: var(--white); border-radius: var(--r); padding: 28px; border-top: 4px solid var(--navy); }
.city-aside h3 { font-size: 1.15rem; }
.city-aside p { color: var(--ink-2); margin-top: 10px; font-size: .97rem; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--navy); text-underline-offset: 3px; }
@media (max-width: 900px) { .city-local { grid-template-columns: 1fr; gap: 32px; } }

/* Guides */
.guide-grid { display: grid; grid-template-columns: 1.65fr .85fr; gap: 56px; align-items: start; }
.prose { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 44px 48px; }
.prose .updated { color: var(--muted); font-size: .92rem; }
.prose h2 { font-size: 1.55rem; margin: 36px 0 12px; }
.prose h2:first-of-type { margin-top: 20px; }
.prose p { color: var(--ink-2); margin-top: 12px; max-width: 68ch; }
.prose ul, .prose ol { color: var(--ink-2); padding-left: 22px; margin: 14px 0 0; display: grid; gap: 10px; max-width: 68ch; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a { color: var(--navy); text-underline-offset: 3px; font-weight: 600; }
.prose .disclaimer { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.guide-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside-box { background: var(--navy); color: var(--white); border-radius: var(--r); padding: 28px; display: grid; gap: 12px; border-bottom: 5px solid var(--red); }
.aside-box h3 { color: var(--white); font-size: 1.2rem; }
.aside-box p { color: rgb(255 255 255 / .85); font-size: .97rem; margin-bottom: 6px; }
.aside-box .btn-outline { color: var(--white); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .7); }
.aside-box .btn-outline:hover { background: var(--white); color: var(--navy); }
.aside-links { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.aside-links h3 { font-size: 1.02rem; margin-bottom: 10px; }
.aside-links ul { list-style: none; margin: 0; padding: 0; }
.aside-links li + li { border-top: 1px solid var(--line); }
.aside-links a { display: block; padding: 10px 0; color: var(--navy); font-weight: 600; text-decoration: none; }
.aside-links a:hover { color: var(--red); }
@media (max-width: 960px) {
  .guide-grid { grid-template-columns: 1fr; gap: 24px; }
  .guide-aside { position: static; }
  .prose { padding: 28px 22px; }
}

/* Final CTA */
.final { padding: 0 0 96px; }
.final-box { border-radius: var(--r); background: var(--navy); color: var(--white); padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; border-bottom: 6px solid var(--red); }
.final-box h2 { font-size: clamp(1.9rem, 3.1vw, 2.5rem); color: var(--white); }
.final-box p { margin-top: 12px; color: rgb(255 255 255 / .85); font-size: 1.1rem; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .final-box { grid-template-columns: 1fr; padding: 36px 26px; } }

/* Footer */
.site-footer { background: var(--navy-2); color: rgb(255 255 255 / .82); padding: 56px 0 120px; font-size: .95rem; border-top: 5px solid var(--red); }
.site-footer .brand img { height: 44px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { margin: 0 0 12px; font-size: .8rem; color: var(--white); text-transform: uppercase; letter-spacing: .12em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .15); display: grid; gap: 10px; font-size: .86rem; color: rgb(255 255 255 / .66); }
@media (max-width: 1020px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 761px) { .site-footer { padding-bottom: 56px; } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -12px rgb(10 49 97 / .25);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { min-height: 50px; padding: 0 14px; }
}

/* Legal pages */
.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); }
.legal .updated { color: var(--muted); margin-top: 10px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal .box { margin-top: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--tint); border-left: 4px solid var(--navy); }
.legal .box p { color: var(--ink); }
.legal a { color: var(--navy); text-underline-offset: 3px; }

/* Reveal on scroll (motion: draws the eye down the page as sections enter) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-copy > *:nth-child(5) { animation-delay: .24s; }
  .hero-media { animation: fade 1s var(--ease) .1s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
