:root {
  --lava: #102329;      /* deep ocean night: text, dark sections */
  --lava-2: #34484E;
  --fern: #1E5A52;      /* lagoon green */
  --fern-2: #E3EFEC;
  --sky: #EEF3F2;
  --paper: #FFFFFF;
  --lehua: #F0A73A;     /* sunrise gold: calls to action */
  --lehua-dark: #D98E1C;
  --on-gold: #102329;
  --line: #D3DDDB;
  --muted: #54686D;
  --radius: 10px;
  --wrap: 1120px;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--lava); background: var(--paper); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fern); }
:focus-visible { outline: 3px solid #0E7C86; outline-offset: 2px; }
.loan :focus-visible, .bonus :focus-visible, .hero :focus-visible, .foot :focus-visible { outline-color: var(--lehua); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 66ch; }
b, strong { font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.two { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }
.fine { font-size: .85rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }
section { padding: 72px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--lehua); color: var(--on-gold); font: 700 1rem var(--font); text-decoration: none; border: 0; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--lehua-dark); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--lava); box-shadow: inset 0 0 0 2px var(--lava); }
.btn-ghost:hover { background: var(--lava); color: #fff; }
.btn-light { background: #fff; color: var(--fern); }
.btn-light:hover { background: var(--fern-2); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px; padding: 10px 20px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.topbar-address { font-weight: 800; color: var(--lava); text-decoration: none; white-space: nowrap; }
.topbar-address span { font-weight: 400; color: var(--muted); margin-left: 6px; }
.topbar-nav { display: none; gap: 22px; margin-left: auto; }
.topbar-nav a { color: var(--lava); text-decoration: none; font-weight: 500; }
.topbar-nav a:hover { color: var(--fern); }
.topbar .btn { margin-left: auto; white-space: nowrap; }
@media (min-width: 1180px) { .topbar-nav { display: flex; } .topbar .btn { margin-left: 0; } }
@media (max-width: 520px) { .topbar-address span { display: none; } }

/* Hero: full-bleed crossfading photos with a calm panel over them */
.hero { position: relative; padding: 0; min-height: 600px; height: min(92vh, 860px); color: #fff; overflow: hidden; background: var(--lava); }
.hero-slides { position: absolute; inset: 0; cursor: pointer; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transform: scale(1.06); }
.slide.is-on img { animation: drift 9s ease-out forwards; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide figcaption { display: none; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(16,35,41,0) 35%, rgba(16,35,41,.45) 65%, rgba(16,35,41,.9) 100%),
  linear-gradient(90deg, rgba(16,35,41,.82) 0%, rgba(16,35,41,.6) 38%, rgba(16,35,41,0) 68%); }
.hero-panel { position: absolute; left: 0; right: 0; bottom: 88px; padding: 0 20px; max-width: calc(var(--wrap)); margin: 0 auto; }
.hero-flag { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: rgba(240,167,58,.16); box-shadow: inset 0 0 0 1px rgba(240,167,58,.7); color: #FFD38E; font-weight: 700; font-size: .92rem; }
.hero-title { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 3.8rem); font-weight: 800; max-width: 16ch; margin-bottom: 14px; letter-spacing: -0.02em; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero-sub { font-size: clamp(1.02rem, .95rem + .4vw, 1.25rem); max-width: 44ch; color: #F1F5F4; text-shadow: 0 1px 10px rgba(0,0,0,.4); margin-bottom: 18px; }
.hero-facts { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; color: #D6E1DE; }
.hero-facts b { color: #fff; }
.hero-facts li:first-child b { font-size: 1.15em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.hero .btn-ghost:hover { background: #fff; color: var(--lava); }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 20px; padding: 0 20px; max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.hero-cap { margin: 0; font-size: .88rem; color: #C9D6D3; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-btns { display: flex; gap: 6px; order: 3; }
.hero-btns button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); }
.hero-btns button:hover { background: rgba(255,255,255,.3); }
.ic { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
[aria-pressed=true] .ic { width: 0; height: 0; border: 0; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.hero-dots { display: flex; gap: 6px; order: 2; }
.hero-dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.35); cursor: pointer; position: relative; }
.hero-dots button::after { content: ""; position: absolute; inset: -10px 0; }
.hero-dots button[aria-current=true] { background: var(--lehua); }
@media (max-width: 640px) {
  .hero { height: auto; min-height: 0; }
  .hero-slides { position: relative; height: 58vh; min-height: 320px; max-height: 520px; }
  .hero-shade { height: 58vh; min-height: 320px; max-height: 520px; background: linear-gradient(180deg, rgba(16,35,41,0) 55%, rgba(16,35,41,.85) 100%); }
  .hero-controls { top: calc(min(max(58vh, 320px), 520px) - 56px); bottom: auto; }
  .hero-cap { display: none; }
  .hero-dots { flex: 1; }
  .hero-slides { height: 40vh; min-height: 240px; max-height: 380px; }
  .hero-shade { height: 40vh; min-height: 240px; max-height: 380px; }
  .hero-controls { top: calc(min(max(40vh, 240px), 380px) - 56px); }
  .hero-panel { position: relative; bottom: auto; padding: 16px 20px 32px; display: flex; flex-direction: column; }
  .hero-flag { order: 0; align-self: flex-start; margin-bottom: 10px; padding: 4px 10px; font-size: .82rem; }
  .hero-title { order: 1; font-size: 1.85rem; margin-bottom: 10px; }
  .hero-facts { order: 2; margin-bottom: 16px; gap: 4px 16px; }
  .hero-actions { order: 3; margin-bottom: 20px; }
  .hero-sub { order: 4; font-size: 1rem; margin-bottom: 10px; }
  .hero-where { order: 5; font-size: .98rem; margin-bottom: 0; }
  .hero-where .hero-addr { display: none; }
}
@media (min-width: 641px) and (max-width: 899px) { .hero-panel { bottom: 80px; } }
@media (prefers-reduced-motion: reduce) { .slide, .slide img { transition: none; animation: none; transform: none; } }

/* Next steps */
.next { background: var(--sky); padding: 56px 0; }
.next h2 { margin-bottom: .2em; }
.next-sub { color: var(--muted); margin-bottom: 26px; }
.next-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .next-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .next-list { grid-template-columns: repeat(4, 1fr); } }
.next-list a { display: grid; gap: 6px; height: 100%; padding: 20px 20px 22px; background: var(--paper); border-radius: var(--radius); border-top: 4px solid var(--lehua); color: var(--lava); text-decoration: none; box-shadow: 0 1px 0 var(--line); transition: transform .15s, box-shadow .15s; }
.next-list a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,35,41,.1); }
.next-list b { font-size: 1.15rem; }
.next-list b::after { content: " \203A"; color: var(--lehua-dark); }
.next-list span { color: var(--muted); font-size: .97rem; }

/* Loan */
.loan { background: var(--lava); color: #EEF4F3; }
.rare { font-size: 1.08rem; color: #D5E1DF; border-left: 3px solid var(--lehua); padding-left: 16px; }
.loan a:not(.btn) { color: #fff; }
.loan .lede { font-size: 1.15rem; }
.rates { display: grid; gap: 20px; margin: 36px 0 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .rates { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.rate-num { font-weight: 800; font-variant-numeric: tabular-nums; line-height: .9; margin: 0; letter-spacing: -0.04em; }
.rate-num small { font-size: .45em; letter-spacing: 0; margin-left: 4px; }
.rate-this .rate-num { font-size: clamp(5rem, 3rem + 10vw, 10rem); color: var(--lehua); }
.rate-market .rate-num { font-size: clamp(3rem, 2rem + 5vw, 5rem); color: #8E9B98; text-decoration: line-through; text-decoration-thickness: 4px; text-decoration-color: var(--lehua); }
.rate-label { margin: 8px 0 0; color: #B9C4C1; }
.per100 { border-top: 1px solid #3A4441; border-bottom: 1px solid #3A4441; padding: 20px 0; margin-bottom: 36px; font-size: 1.1rem; }
.per100 p { margin: 0; }
.calc { background: #26302D; border-radius: var(--radius); padding: 24px; margin-bottom: 40px; }
.calc-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 18px; }
@media (min-width: 700px) { .calc-grid { grid-template-columns: 2fr 1fr; } }
.calc label { display: grid; gap: 6px; font-weight: 500; }
.calc input[type=number] { font: inherit; padding: 10px; border-radius: 8px; border: 1px solid #4A5552; background: #1D2321; color: #fff; max-width: 160px; }
.calc input[type=range] { width: 100%; accent-color: var(--lehua); }
.calc output { font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-out { display: grid; gap: 10px; margin: 0 0 12px; }
.calc-out div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #3A4441; padding-bottom: 8px; }
.calc-out dt { color: #B9C4C1; }
.calc-out dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-sub { color: #DDE5E2; margin: 0 0 16px; }
.calc .calc-total { border-bottom-color: #8A9692; }
.calc .calc-total dt { color: #fff; font-weight: 600; }
.calc .calc-total dd { font-size: 1.35rem; }
.calc-save { font-weight: 600; margin: 0 0 12px; }
.calc .btn { margin-top: 8px; }
.loan .fine { color: #9FACA9; }
.steps-h { margin-top: 8px; }
.steps { padding-left: 1.3em; margin: 0 0 18px; max-width: 70ch; }
.steps li { margin-bottom: 12px; padding-left: 6px; }
.steps li::marker { font-weight: 800; color: var(--lehua); }

/* Bonus */
.bonus { background: var(--fern); color: #fff; padding: 56px 0; }
.bonus-inner { display: grid; gap: 12px 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bonus-inner { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.bonus h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); max-width: 16ch; }
.bonus-amt { margin: 0; font-weight: 800; font-size: clamp(4rem, 2.6rem + 6vw, 7rem); line-height: .9; letter-spacing: -0.04em; color: var(--lehua); }
.bonus .fine { color: #CFE0D7; }

/* Photos */
.photos-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.photos-head h2 { margin: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { font: 500 .95rem var(--font); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--lava); cursor: pointer; }
.tabs button[aria-selected=true] { background: var(--lava); color: #fff; border-color: var(--lava); }
.grid { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-auto-flow: dense; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } .grid li.wide { grid-column: span 2; grid-row: span 2; } }
.grid button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 2; height: 100%; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.grid button:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(15,20,19,.94); display: flex; align-items: center; justify-content: center; padding: 48px 8px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { color: #E3E9E7; text-align: center; margin-top: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Home and land */
.home { background: var(--sky); }
.home h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); }
.specs { margin: 20px 0 0; display: grid; gap: 0; }
.specs div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }
.callout { margin-top: 28px; background: var(--paper); border-left: 4px solid var(--fern); padding: 20px 22px; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p { margin-bottom: .6em; }
.callout a { font-weight: 700; }

/* Area */
.hero-where { max-width: 52ch; margin: 0 0 16px; color: #F1F5F4; text-shadow: 0 1px 10px rgba(0,0,0,.45); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
.hero-where b { color: #fff; display: block; }
.hero-where .hero-addr { margin-right: 10px; }
.hero-where a { color: #FFD38E; font-weight: 700; white-space: nowrap; }
.where { display: grid; gap: 20px 40px; grid-template-columns: minmax(0, 1fr); margin-bottom: 48px; align-items: center; }
@media (min-width: 900px) { .where { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.where-addr { font-weight: 700; font-size: 1.15rem; margin: 0 0 8px; }
.where-map { min-width: 0; }
.where-map iframe { display: block; width: 100%; height: 360px; border: 0; border-radius: var(--radius); background: var(--sky); }
.where-open { display: inline-block; margin-top: 8px; font-size: .95rem; }
.area-fig { margin: 0; }
.area-fig img { border-radius: var(--radius); width: 100%; height: auto; }
.area-fig figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.near { padding-left: 1.1em; margin: 0 0 16px; }
.area-photos { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 40px 0 36px; }
@media (min-width: 700px) { .area-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.area-photos figure { margin: 0; min-width: 0; }
.area-photos img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--sky); }
.area-photos figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.area-cols { display: grid; gap: 8px 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .area-cols { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); } }
.near li { margin-bottom: 8px; }

/* FAQ */
.faq { background: var(--sky); }
.faq .wrap { max-width: 820px; }
.faq details { background: var(--paper); border-radius: var(--radius); margin-bottom: 10px; padding: 0 20px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style-position: outside; }
.faq details p { margin-top: 0; padding-bottom: 6px; }

/* Contact */
.contact-img { border-radius: var(--radius); margin-top: 12px; }
.form { display: grid; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 30px rgba(20,30,28,.07); align-self: start; }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form input:not([type=checkbox]), .form select, .form textarea { font: inherit; padding: 12px; border: 1px solid #BFCAC6; border-radius: 8px; background: #fff; color: var(--lava); width: 100%; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.form legend { font-weight: 500; margin-bottom: 6px; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.form .check input { width: 20px; height: 20px; accent-color: var(--fern); }
.opt { color: var(--muted); font-weight: 400; }
.form-hint { margin: -6px 0 0; }
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form .more { border-top: 1px solid var(--line); padding-top: 12px; }
.form .more summary { cursor: pointer; font-weight: 500; color: var(--fern); }
.form .more[open] { display: grid; gap: 14px; }
.foot a { color: #fff; }
.form-status { margin: 0; font-weight: 500; }
.form-status.ok { color: var(--fern); }
.form-status.err { color: #B3261E; }

/* Footer */
.foot { background: var(--lava); color: #C9D2CF; padding: 40px 0 110px; font-size: .9rem; }
.foot b { color: #fff; }
.eho { display: flex; align-items: center; gap: 8px; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; justify-content: center; align-items: center; min-height: 52px; border-radius: 999px; background: var(--lehua); color: var(--on-gold); font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); transform: translateY(140%); transition: transform .25s; }
.sticky-cta.show { transform: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } .foot { padding-bottom: 40px; } }

/* Nudge (delayed, non-blocking) */
.nudge { position: fixed; z-index: 50; right: 16px; bottom: 16px; width: min(380px, calc(100vw - 24px)); background: var(--paper); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(10,20,18,.35); padding: 22px; border-top: 5px solid var(--lehua); }
.nudge[hidden] { display: none; }
.nudge h2 { font-size: 1.35rem; margin-right: 30px; }
.nudge p { font-size: .97rem; }
.nudge form { display: grid; gap: 10px; }
.nudge input[type=email] { font: inherit; padding: 12px; border: 1px solid #BFCAC6; border-radius: 8px; width: 100%; }
.nudge-x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--muted); }
@media (max-width: 899px) { .nudge { left: 12px; right: 12px; bottom: 12px; width: auto; } }

/* Guide pages */

.guide-col { max-width: 760px; }
.guide-head { padding: 56px 0 28px; background: var(--sky); border-bottom: 1px solid var(--line); }
.guide-head h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); font-weight: 800; margin-bottom: .4em; }
.guide-crumb { font-size: .9rem; color: var(--muted); margin-bottom: 1.2em; }
.guide-crumb a { color: var(--muted); }
.guide-lede { font-size: 1.15rem; }
.guide .guide-sec { padding: 48px 0; }
.guide-alt { background: var(--sky); }
.guide-sec h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
.rate-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 20px; max-width: 520px; }
.rc-cell { display: flex; flex-direction: column; padding: 18px 20px; border-radius: var(--radius); background: var(--fern); color: #fff; }
.rc-new { background: var(--paper); color: var(--lava); border: 1px solid var(--line); }
.rc-rate { font-weight: 700; }
.rc-pay { font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.rc-note { font-size: .9rem; opacity: .85; }
.paths { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; }
.path:first-child { border-top: 4px solid var(--lehua); }
.path ul, ul.plain { padding-left: 1.1em; margin: 0 0 1em; }
.path li, ul.plain li { margin-bottom: .55em; }
ol.steps { padding-left: 1.3em; margin: 0 0 1em; }
ol.steps li { margin-bottom: .8em; padding-left: .2em; }
table.costs { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: .98rem; }
table.costs th, table.costs td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.costs th { font-size: .9rem; color: var(--muted); font-weight: 700; }
.guide .faq { padding: 48px 0; }
.guide-cta { background: var(--lava); color: #fff; }
.guide-cta .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; margin-left: 8px; }
.guide-cta .btn-ghost:hover { background: #fff; color: var(--lava); }
.guide-sources li { margin-bottom: .4em; }
.guide .foot { padding-bottom: 40px; }
.topbar-nav a[aria-current="page"] { color: var(--fern); text-decoration: underline; text-underline-offset: 4px; }
.savings { background: var(--fern); color: #fff; border-radius: var(--radius); padding: 24px 24px 8px; margin: 8px 0 20px; }
.savings .fine { color: #D6E6E2; }
.sv-head { font-size: 1.3rem; font-weight: 500; max-width: none; }
.sv-head b { display: block; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.4rem); font-weight: 800; line-height: 1.05; color: var(--lehua); }
.sv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 16px; }
.sv-grid > div { background: rgba(255,255,255,.08); border-radius: 8px; padding: 12px 14px; }
.sv-num { display: block; font-size: 1.6rem; font-weight: 800; }
.sv-label { font-size: .9rem; }
.sv-scarce { font-weight: 700; color: #fff; max-width: none; border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; }
.potential { background: var(--paper); }
.pot-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 900px) { .pot-grid { grid-template-columns: repeat(2, 1fr); } }
.pot { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; }
.pot:first-child { border-top: 4px solid var(--lehua); }

/* Mid-guide prompt to ask a question */
.guide-ask { padding: 8px 0 32px; }
.guide-ask .guide-col { background: var(--paper); border: 2px solid var(--fern); border-radius: var(--radius); padding: 22px 24px; }
.guide-ask-h { font-weight: 700; font-size: 1.15rem; margin-bottom: .35em; color: var(--lava); }
.guide-ask p:last-child { margin-bottom: 0; }

/* Guides: menu link on small screens, photo cards, guide header photo */
.nav-guides { color: var(--lava); font-weight: 500; text-decoration: none; margin-left: auto; margin-right: 14px; }
.nav-guides + .btn { margin-left: 0; }
@media (min-width: 1180px) { .nav-guides { display: none; } }
.guides-home { background: var(--paper); }
.guides-intro { max-width: 62ch; }
.guides-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 20px 0 24px; }
@media (min-width: 640px) { .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .guides-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; }
.gcard img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sky); }
.gcard-t { display: block; font-weight: 700; font-size: 1.1rem; color: var(--lava); padding: 14px 16px 4px; }
.gcard-d { display: block; padding: 0 16px 16px; color: var(--muted); }
.gcard:hover .gcard-t, .gcard:focus-visible .gcard-t { color: var(--fern); text-decoration: underline; text-underline-offset: 3px; }
.guides-hub { padding: 8px 0 48px; }
.guides-hub-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.guide-photo { margin: 20px 0 12px; }
.guide-photo img { width: 100%; height: auto; border-radius: var(--radius); background: var(--sky); }
.guide-photo figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }

.bonus-compare { margin: 0 0 20px; display: grid; gap: 12px; }
.bonus-compare div { padding: 14px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; }
.bonus-compare .pick { background: rgba(255,255,255,.1); border-color: var(--lehua); }
.bonus-compare dt { font-weight: 700; margin-bottom: 4px; }
.bonus-compare dd { margin: 0; }
.agent-nudge { margin: -4px 0 8px; font-size: .92rem; color: var(--fern); }
@media (max-width: 520px) { .topbar { gap: 10px; padding: 10px 12px; } .nav-guides { margin-right: 0; } .topbar .btn-small { padding: 0 12px; font-size: .88rem; } }

/* Guide pages: house at a glance and the on-page form */
.glance { display: grid; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 4px 0 16px; }
.glance dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; }
@media (min-width: 700px) { .glance dl { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.glance dt { font-size: .82rem; color: var(--muted); }
.glance dd { margin: 0; font-weight: 700; }
.glance p { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.guide-cta { scroll-margin-top: 64px; }
.guide-cta .form { color: var(--lava); margin: 20px 0 16px; }
.guide-cta .guide-cta-alt a { color: #fff; }
.form .opt { font-weight: 400; color: var(--muted); }

/* Calculator: down payment and financing split */
@media (min-width: 700px) { .calc .calc-grid { grid-template-columns: 1fr 1fr; } }
.calc-rates { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-bottom: 18px; }
.calc .opt { font-weight: 400; color: #B9C4C1; }
.calc-hint { font-size: .88rem; color: #B9C4C1; }
.calc input[type=range]:disabled { opacity: .4; }

/* Savings breakdown and broker pop-up (Nov 28) */
.hs-math { display: grid; gap: 8px; margin: 14px 0 10px; max-width: 560px; }
.hs-math div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #3A4441; padding-bottom: 6px; }
.hs-math dt { color: #C9D3D0; }
.hs-math dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs-math .hs-diff dt { color: inherit; font-weight: 600; }
.nudge label { display: grid; gap: 4px; font-weight: 500; font-size: .95rem; }
.nudge input:not([type=checkbox]):not([type=hidden]), .nudge select { font: inherit; padding: 11px; border: 1px solid #BFCAC6; border-radius: 8px; width: 100%; background: #fff; }
.nudge .opt { font-weight: 400; color: var(--muted); }
.nudge .fine { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
.nudge .form-status:empty { display: none; }
@media (max-width: 899px) { .nudge { max-height: calc(100vh - 24px); overflow-y: auto; } .sticky-cta.under-nudge { display: none; } }
.form .form-note { margin: 0; font-size: .92rem; color: var(--muted); }
.guide-cta .form .form-note { color: inherit; opacity: .85; }
.calc.offer .calc-out dd { white-space: nowrap; }
.calc.offer .calc-total dd { font-size: 1.6rem; }
