/* Exit Real Estate 540 */
:root {
  --navy: #0f2a44;
  --navy-2: #173b5e;
  --ink: #1d2733;
  --muted: #5b6776;
  --line: #e3e0d8;
  --bg: #ffffff;
  --cream: #f7f4ee;
  --accent: #d9482b;
  --accent-2: #b93a20;
  --teal: #13806f;
  --gold: #e9a23b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 42, 68, .06), 0 8px 24px rgba(15, 42, 68, .07);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --c-buying: #2f6fd0; --c-selling: #d9482b; --c-investing: #13806f;
  --c-homeownership: #8a5cc7; --c-insurance-claims: #c7731d; --c-houston: #1f8fb3;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--navy-2); text-underline-offset: 2px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.3em; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--light { background: #fff; color: var(--navy); }
.btn--amazon { background: #ffd814; color: #111; border-color: #f2c200; font-size: .9rem; padding: .6em 1.1em; }
.btn--amazon:hover { background: #f7ca00; color: #111; }
.linkbtn { background: none; border: 0; color: var(--navy-2); text-decoration: underline; cursor: pointer; font: inherit; padding: 0 .3em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--navy); color: #fff; font: 700 15px/1 var(--sans); letter-spacing: .02em; box-shadow: inset 0 -4px 0 var(--accent); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font: 700 1.05rem var(--serif); }
.brand__text span { font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.brand--light { color: #fff; }
.brand--light .brand__mark { background: #fff; color: var(--navy); }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current] { background: var(--cream); color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .site-nav a { padding: 12px; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(217, 72, 43, .10), transparent 60%), linear-gradient(180deg, var(--cream), #fff); padding: 64px 0 56px; }
.hero__inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.hero__panel-title { font-weight: 700; color: var(--navy); margin: 0 0 4px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; gap: 28px; } .hero { padding: 40px 0; } }

/* Sections */
.section { padding: 64px 0; }
.section--compact { padding: 36px 0; }
.section--tint { background: var(--cream); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section__head p { margin: 4px 0 0; color: var(--muted); }
.more { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; }
.group-title { font-size: 1.3rem; margin-bottom: 16px; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 16px; }

/* Topics */
.topics { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.topic { --c: var(--navy); display: flex; flex-direction: column; gap: 4px; padding: 20px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, transform .15s; }
.topic:hover { border-color: var(--c); transform: translateY(-2px); color: var(--ink); }
.topic__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); margin-bottom: 8px; }
.topic span:last-child { font-size: .85rem; color: var(--muted); }
@media (max-width: 960px) { .topics { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .topics { grid-template-columns: repeat(2, 1fr); } }
.cat-buying { --c: var(--c-buying); } .cat-selling { --c: var(--c-selling); } .cat-investing { --c: var(--c-investing); }
.cat-homeownership { --c: var(--c-homeownership); } .cat-insurance-claims { --c: var(--c-insurance-claims); } .cat-houston { --c: var(--c-houston); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid--feature { grid-template-columns: repeat(3, 1fr); }
.grid--feature .card--featured { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.3fr; }
@media (max-width: 960px) { .grid, .grid--feature { grid-template-columns: repeat(2, 1fr); } .grid--feature .card--featured { grid-column: span 2; } }
@media (max-width: 620px) { .grid, .grid--feature { grid-template-columns: 1fr; } .grid--feature .card--featured { grid-column: auto; grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__art { display: grid; place-items: center; aspect-ratio: 16 / 7; color: #fff; background: linear-gradient(135deg, var(--c, var(--navy)), color-mix(in srgb, var(--c, var(--navy)) 55%, var(--navy))); position: relative; overflow: hidden; }
.card__art::before, .card__art::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); }
.card__art::before { width: 220px; height: 220px; right: -60px; top: -90px; }
.card__art::after { width: 140px; height: 140px; left: -40px; bottom: -70px; }
.card__art .icon { width: 54px; height: 54px; stroke-width: 1.4; }
.card--featured .card__art { aspect-ratio: auto; min-height: 240px; }
.card--featured .card__art .icon { width: 90px; height: 90px; }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__cat { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--c, var(--accent)); text-decoration: none; margin-bottom: 8px; }
.card__title { font-size: 1.2rem; margin: 0 0 8px; }
.card--featured .card__title { font-size: 1.6rem; }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a:hover { color: var(--accent); }
.card__excerpt { color: var(--muted); font-size: .95rem; flex: 1; }
.card__meta { font-size: .82rem; color: var(--muted); margin: 0; }

/* Tool cards */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 960px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tool-grid { grid-template-columns: 1fr; } }
.tool-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.tool-card:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--ink); }
.tool-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #fdece8; color: var(--accent); flex: none; }
.tool-card__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tool-card__text strong { color: var(--navy); font-size: .98rem; }
.tool-card__text span { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.tool-card__go { color: var(--muted); }
.tool-card--big { padding: 20px; margin-bottom: 12px; }
.tool-card--side { margin-top: 12px; }

/* Split */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks .icon { color: var(--teal); }

/* Products */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }
.products--stack { grid-template-columns: 1fr; }
.product { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.product__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #fff6d6; color: #8a6200; flex: none; }
.product__icon .icon { width: 28px; height: 28px; }
.product__name { font: 600 1.05rem/1.3 var(--sans); color: var(--navy); margin: 0 0 6px; }
.product__blurb { color: var(--muted); font-size: .93rem; margin-bottom: 12px; }
.product--compact { margin: 24px 0; background: #fffdf6; border-color: #f0e2b0; }
.prose .product__name { font-family: var(--sans); margin-top: 0; }

/* Page head */
.page-head { background: linear-gradient(180deg, var(--cream), #fff); padding: 36px 0 24px; }
.page-head h1 { margin-top: 8px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 8px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b8b3a7; }
.crumbs a { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--navy); }
.chip:hover { border-color: var(--accent); }

/* Post */
.post__head { padding: 36px 0 32px; background: linear-gradient(180deg, color-mix(in srgb, var(--c, var(--navy)) 8%, white), #fff); border-bottom: 1px solid var(--line); }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); margin: 0; }
.post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.post__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-top: 40px; padding-bottom: 56px; }
.post__aside { position: relative; }
.post__aside > * { position: sticky; top: 96px; }
.toc { border-left: 3px solid var(--line); padding-left: 16px; font-size: .9rem; }
.toc__title { font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.active { color: var(--accent); }
@media (max-width: 960px) {
  .post__layout { grid-template-columns: 1fr; gap: 24px; }
  .post__aside { order: 2; }
  .post__aside > * { position: static; }
  .toc { display: none; }
}
.prose { font-size: 1.06rem; max-width: 72ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-left: 4px solid var(--accent); background: var(--cream); border-radius: 0 10px 10px 0; }
.prose blockquote p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--cream); color: var(--navy); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tfoot th { background: #f1ede4; }
.num { text-align: right; white-space: nowrap; }
.disclosure { font-size: .85rem; color: var(--muted); background: var(--cream); padding: 10px 14px; border-radius: 10px; }
.callout { margin: 28px 0; padding: 18px; border-radius: var(--radius); background: #fdf1ee; }
.callout__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 0 0 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.gear { margin-top: 2.5em; }
.post__note { margin-top: 2.5em; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

/* Calculators */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.calc--wide { grid-template-columns: 1fr; }
.calc__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-content: start; }
.calc__inputs--full { grid-template-columns: 1fr; }
.calc__inputs fieldset { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.calc__inputs legend { font: 600 1.05rem var(--serif); color: var(--navy); margin-bottom: 10px; padding: 0; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; padding: 20px; } }
@media (max-width: 480px) { .calc__inputs, .calc__inputs fieldset { grid-template-columns: 1fr; } }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.fld__label { font-weight: 600; color: var(--ink); }
.fld__input { display: flex; align-items: stretch; border: 1.5px solid #d6d2c8; border-radius: 10px; background: #fff; overflow: hidden; transition: border-color .15s; }
.fld__input:focus-within { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(23, 59, 94, .12); }
.fld input, .fld select, .fld textarea { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font: inherit; font-size: 1rem; background: transparent; color: var(--ink); outline: none; }
.fld select { cursor: pointer; }
.fld small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.affix { display: grid; place-items: center; padding: 0 10px; background: var(--cream); color: var(--muted); font-size: .85rem; white-space: nowrap; }
.calc__results { background: var(--navy); color: #fff; border-radius: 16px; padding: 24px; align-self: start; position: sticky; top: 90px; }
.calc--wide .calc__results { position: static; }
.calc__results table { color: var(--ink); background: #fff; }
.calc__results .table-wrap { border-color: rgba(255, 255, 255, .15); margin-bottom: 0; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__label { font-size: .8rem; color: #b9c7d6; }
.stat__value { font-weight: 700; font-size: 1.1rem; }
.stat--big { margin-bottom: 18px; }
.stat--big .stat__label { font-size: .9rem; }
.stat--big .stat__value { font: 700 clamp(2rem, 4vw, 2.6rem)/1.1 var(--serif); color: #fff; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); }
.calc__note { margin: 16px 0 0; font-size: .88rem; color: #d6e0ea; }
.calc__table { grid-column: 1 / -1; }
.calc__table summary { cursor: pointer; font-weight: 600; color: var(--navy-2); }
.bars { margin-bottom: 16px; }
.bars__track { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.bars__seg { display: block; height: 100%; }
.bars__legend { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: .82rem; color: #d6e0ea; }
.bars__legend li { display: flex; align-items: center; gap: 6px; }
.bars__legend b { margin-left: auto; color: #fff; font-weight: 600; }
.bars__legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.s0 { background: #f2b880; } .s1 { background: #e76f51; } .s2 { background: #2a9d8f; } .s3 { background: #8ab4f8; } .s4 { background: #c9b6f2; }
.chart { margin-top: 18px; background: rgba(255, 255, 255, .04); border-radius: 12px; padding: 8px; }
.chart__svg { width: 100%; height: 220px; display: block; }
.chart__grid { stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.chart__lbl { fill: #b9c7d6; font-size: 12px; font-family: var(--sans); }
.chart__line { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; }
.chart__line.c1 { stroke: #f2b880; } .chart__line.c2 { stroke: #5fd0be; }
.chart__legend { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: #d6e0ea; }
.chart__legend i { display: inline-block; width: 14px; height: 3px; margin-right: 6px; vertical-align: middle; }
.chart__legend i.c1 { background: #f2b880; } .chart__legend i.c2 { background: #5fd0be; }
.items { display: grid; gap: 8px; }
.items__head, .items__row { display: grid; grid-template-columns: 2fr 1.2fr .8fr .9fr 36px; gap: 8px; align-items: center; }
.items__head { font-size: .8rem; font-weight: 600; color: var(--muted); }
.items__row input { border: 1.5px solid #d6d2c8; border-radius: 8px; padding: 9px 10px; font: inherit; font-size: .95rem; min-width: 0; width: 100%; }
.items__del { border: 0; background: var(--cream); border-radius: 8px; height: 38px; cursor: pointer; font-size: 1.2rem; color: var(--muted); }
.items__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin: 12px 0 8px; }
.items__actions .fld { min-width: 240px; }
.row-2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 700px) {
  .items__head { display: none; }
  .items__row { grid-template-columns: 1fr 1fr 1fr; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
  .items__row input:first-child { grid-column: 1 / -1; }
  .items__del { grid-column: 1 / -1; }
  .row-2 { grid-template-columns: 1fr; }
}

/* Checklist */
.checklist { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.checklist__progress { position: sticky; top: 72px; background: #fff; padding: 8px 0 12px; z-index: 2; }
.checklist__progress p { margin: 8px 0 0; font-size: .92rem; }
.progress { height: 10px; background: var(--cream); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), #3cc3a8); transition: width .3s; }
.checklist__group { border: 0; padding: 0; margin: 20px 0 0; }
.checklist__group legend { font: 600 1.2rem var(--serif); color: var(--navy); margin-bottom: 8px; padding: 0; }
.check { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; align-items: flex-start; }
.check:hover { background: var(--cream); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.check input:checked + span { color: var(--muted); text-decoration: line-through; }

/* Forms */
.form { display: grid; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 16px 18px; border-radius: 12px; margin-bottom: 18px; }
.notice--ok { background: #e6f5f1; color: #0b5c4f; }
.notice--err { background: #fdecea; color: #8a2414; }

/* CTA band + footer */
.newsletter { background: var(--accent); color: #fff; padding: 44px 0; }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter h2 { color: #fff; margin-bottom: 6px; }
.newsletter p { margin: 0; max-width: 60ch; opacity: .92; }
.site-footer { background: var(--navy); color: #c5d1dd; padding: 56px 0 24px; font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font: 600 .85rem var(--sans); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c5d1dd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__about { margin-top: 14px; max-width: 40ch; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: .82rem; color: #92a3b5; }
.site-footer__legal p { margin: 0 0 6px; }
.site-footer__legal a { text-decoration: underline; }

@media print {
  .site-header, .site-footer, .newsletter, .post__aside, .checklist__progress button { display: none !important; }
  .checklist { box-shadow: none; border: 0; }
}

/* Grid children must be allowed to shrink below their content width. */
.post__layout > *, .calc > *, .calc__inputs > *, .calc__inputs fieldset > *, .split > *, .hero__inner > *, .grid > *, .tool-grid > * { min-width: 0; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.fld input { width: 100%; }
.tool-card__text strong, .tool-card__text span { overflow-wrap: anywhere; }

/* Photos */
picture { display: block; }
picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__art--photo { aspect-ratio: 16 / 9; background: var(--cream); }
.card__art--photo::before, .card__art--photo::after { display: none; }
.card__art--photo picture { width: 100%; height: 100%; }
.card__art--photo img { transition: transform .4s ease; }
.card:hover .card__art--photo img { transform: scale(1.04); }
.card--featured .card__art--photo { aspect-ratio: auto; min-height: 280px; }
.post__hero { margin: 28px auto 0; }
.post__hero picture { aspect-ratio: 16 / 7; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 620px) { .post__hero { padding: 0; } .post__hero picture { border-radius: 0; aspect-ratio: 16 / 9; } }
.hero--photo, .page-head--photo { position: relative; isolation: isolate; color: #fff; }
.hero__bg, .page-head__bg { position: absolute; inset: 0; z-index: -2; }
.hero--photo::after, .page-head--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 28, 46, .88) 0%, rgba(10, 28, 46, .7) 45%, rgba(10, 28, 46, .35) 100%); }
.hero--photo { padding: 88px 0 80px; }
.hero--photo h1, .page-head--photo h1 { color: #fff; }
.hero--photo .lead, .page-head--photo .lead { color: #e3eaf1; }
.hero--photo .eyebrow { color: #ffb59f; }
.hero--photo .btn--ghost { color: #fff; }
.page-head--photo { padding: 64px 0 56px; }
.page-head--photo .crumbs, .page-head--photo .crumbs a { color: #c9d5e1; }
@media (max-width: 860px) { .hero--photo::after, .page-head--photo::after { background: linear-gradient(180deg, rgba(10, 28, 46, .82), rgba(10, 28, 46, .7)); } }
.photo-credit { font-size: .78rem; color: var(--muted); margin-top: 6px; }
