/* Magnus Property Partners — site styles */

:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --surface-2: #f2eee6;
  --ink: #14213d;
  --text: #2b3445;
  --muted: #5b6474;
  --line: #e3ddd2;
  --accent: #1d6b52;
  --accent-hover: #155440;
  --accent-ink: #ffffff;
  --accent-soft: #e4f1ec;
  --note: #fdf3e1;
  --note-line: #e9c98f;
  --ridge-1: #d9e5df;
  --ridge-2: #bcd2c7;
  --ridge-3: #93b5a5;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .07);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  /* Mountain silhouettes used as decorative backgrounds */
  --ridge-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70 200 30l160 40 220-50 220 60 200-40 200 40 240-50v90H0Z' fill='%23ffffff' fill-opacity='.07'/%3E%3Cpath d='M0 95 240 60l260 30 230-40 250 45 220-30 240 35v25H0Z' fill='%23ffffff' fill-opacity='.08'/%3E%3C/svg%3E");
  --ridge-svg-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 200 25l160 40 220-50 220 60 200-40 200 40 240-50v95H0Z' fill='%23ffffff' fill-opacity='.07'/%3E%3Cpath d='M0 95 240 60l260 30 230-40 250 45 220-30 240 35v25H0Z' fill='%23faf8f4'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--surface-2); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { color: var(--ink); padding-left: 8px; padding-right: 8px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 42px; width: auto; }
@media (max-width: 440px) { .logo img { height: 38px; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.header-actions .btn { white-space: nowrap; min-height: 44px; padding: 10px 20px; }
.header-phone svg { flex: none; }
[id] { scroll-margin-top: 90px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { margin: auto; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .header-actions .btn { display: none; }
}
@media (max-width: 440px) {
  .header-phone span { display: none; }
}

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 720px) {
  .call-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .call-bar .btn { flex: 1; min-height: 46px; padding: 10px; font-size: .95rem; }
  body { padding-bottom: 72px; }
}

/* Dark gradient surfaces (hero, page heroes, CTA, commitments) */
.hero, .page-hero, .cta-band, .section--dark {
  --mint: #9be3c3;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(52, 160, 116, .38), transparent 60%),
    radial-gradient(800px 480px at -10% 30%, rgba(48, 92, 170, .32), transparent 60%),
    linear-gradient(160deg, #0f1b33 0%, #13294a 55%, #133d38 100%);
  color: #c9d3e3;
}
.hero h1, .page-hero h1, .section--dark h2, .section--dark h3 { color: #fff; }
.hero .lead, .page-hero .lead, .section--dark .lead { color: #c9d3e3; }
.hero .eyebrow, .section--dark .eyebrow {
  color: var(--mint); background: rgba(155, 227, 195, .1); border: 1px solid rgba(155, 227, 195, .28);
  padding: 6px 14px; border-radius: 999px;
}
.hero .btn--primary, .page-hero .btn--primary, .cta-band .btn--primary { background: var(--mint); color: #0f1b33; }
.hero .btn--primary:hover, .page-hero .btn--primary:hover, .cta-band .btn--primary:hover { background: #c3f0dc; color: #0f1b33; }
.hero .btn--outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.hero .btn--outline:hover { background: #fff; color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: start; position: relative; z-index: 1; }
.hero__copy { padding-top: 12px; }
.hero__copy h1 em { font-style: italic; color: var(--mint); }
.hero__copy .lead { max-width: 560px; }
.trust-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; color: #aab6ca; font-size: .95rem; max-width: 520px; }
.trust-line svg { flex: none; margin-top: 3px; color: var(--mint); }
.hero__points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.hero__points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: #eef2f8; }
.hero__points svg { flex: none; margin-top: 2px; color: #0f1b33; background: var(--mint); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.hero .intake { color: var(--text); box-shadow: 0 30px 70px rgba(4, 10, 25, .45); border: 0; }
.ridges { position: relative; z-index: 0; margin-top: -30px; width: 100%; height: clamp(90px, 12vw, 180px); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .ridges { margin-top: 32px; }
}

/* Call-now CTA */
.call-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.call-wrap--stack { flex-direction: column; align-items: flex-start; }
.call-cta {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 10px 30px 10px 10px; border-radius: 999px;
  background: linear-gradient(135deg, #b4ecd3, var(--mint, #9be3c3));
  color: #0f1b33; text-decoration: none;
  box-shadow: 0 10px 30px rgba(155, 227, 195, .25), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.call-cta:hover { color: #0f1b33; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(155, 227, 195, .4), inset 0 1px 0 rgba(255, 255, 255, .6); }
.call-cta__icon { position: relative; flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #0f1b33; color: var(--mint, #9be3c3); }
.call-cta__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #0f1b33; animation: call-pulse 2.2s ease-out infinite; }
@keyframes call-pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
.call-cta__text { display: grid; line-height: 1.15; }
.call-cta__text small { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.call-cta__text strong { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.call-alt { color: #c9d3e3; font-weight: 600; font-size: .95rem; }
.call-alt:hover { color: #fff; }
.hero .call-alt { display: none; }
@media (max-width: 900px) { .hero .call-alt { display: inline; } }

/* Trust strip */
.trust-strip { position: relative; z-index: 2; margin-top: -28px; }
.trust-strip ul { list-style: none; margin: 0; padding: 22px 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.trust-strip li { display: flex; gap: 12px; align-items: center; color: var(--ink); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.trust-strip li small { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }
.trust-strip .icon-badge { width: 42px; height: 42px; flex: none; }
@media (max-width: 900px) { .trust-strip ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust-strip ul { grid-template-columns: 1fr; } }

/* Commitments */
.pledge { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 30px 28px; }
.pledge__num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--mint); display: block; margin-bottom: 16px; }
.pledge p { margin: 0; color: #c9d3e3; }

/* Scroll reveal (only applied by JS when motion is allowed) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.situation { position: relative; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.situation::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--accent), #4fb48b); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.situation:hover { border-color: #b9d6c9; transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20, 33, 61, .06), 0 18px 40px rgba(20, 33, 61, .12); color: var(--text); }
.situation:hover::before { transform: scaleX(1); }
.situation h3 { margin-top: 16px; }
.situation p { color: var(--muted); flex: 1; }
.situation .more { font-weight: 700; color: var(--accent); }
.situation .more span { display: inline-block; transition: transform .2s ease; }
.situation:hover .more span { transform: translateX(4px); }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #e8f4ee, #cfe6db); color: var(--accent); display: grid; place-items: center; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding: 28px 24px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #13294a, #1d6b52); color: #fff; font-weight: 800; margin-bottom: 16px; box-shadow: 0 6px 16px rgba(29, 107, 82, .3); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -21px; width: 22px; border-top: 2px dashed #b9cfc4; }
@media (max-width: 900px) { .steps li::after { display: none; } }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Numbers breakdown */
.numbers { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .numbers { grid-template-columns: 1fr; } }
.breakdown__label { display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); margin-bottom: 10px; gap: 12px; flex-wrap: wrap; }
.breakdown__bar { display: flex; height: 56px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.breakdown__bar span { display: block; height: 100%; }
.seg-1 { background: var(--accent); }
.seg-2 { background: #6c9a87; }
.seg-3 { background: #b9cfc4; }
.seg-4 { background: #e4d9c4; }
.breakdown__legend { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.breakdown__legend li { display: grid; grid-template-columns: 16px 1fr auto; gap: 12px; align-items: center; }
.swatch { width: 16px; height: 16px; border-radius: 4px; }
.breakdown__legend strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.badge-illustrative { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--note); border: 1px solid var(--note-line); color: #7a4e0b; padding: 3px 10px; border-radius: 999px; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--ink); color: #fff; font-size: .9rem; letter-spacing: .02em; }
tbody tr:last-child td { border-bottom: 0; }
tbody th { color: var(--ink); width: 26%; }
tr.is-us th, tr.is-us td { background: var(--accent-soft); }

/* Area chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); padding: 9px 18px 9px 14px; border-radius: 999px; font-weight: 600; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 33, 61, .05); }
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; box-shadow: 0 24px 60px rgba(15, 27, 51, .25); }
.cta-band::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: var(--ridge-svg) bottom / 100% 100% no-repeat; opacity: .5; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; }
.cta-band .btn--outline { border-color: #fff; color: #fff; }
.cta-band .btn--outline:hover { background: #fff; color: var(--ink); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* Callouts */
.callout { border-left: 4px solid var(--note-line); background: var(--note); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #4d3a17; }
.callout--accent { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.callout strong { color: inherit; }
.callout p:last-child { margin: 0; }

/* Forms */
.intake { padding: clamp(22px, 3vw, 32px); }
.intake h2 { font-family: var(--font); font-size: 1.35rem; font-weight: 800; margin-bottom: 4px; }
.progress { display: flex; gap: 6px; margin: 16px 0 22px; }
.progress span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); transition: background-color .2s ease; }
.progress span.is-done { background: var(--accent); }
.step-label { font-size: .85rem; font-weight: 700; color: var(--muted); margin: 0 0 2px; }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step[hidden] { display: none; }
.form-step legend { font-weight: 800; color: var(--ink); font-size: 1.1rem; margin-bottom: 14px; padding: 0; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field .req { color: #a3341b; }
.field .hint { font-size: .85rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; min-height: 48px;
  border: 1.5px solid #cfc7b8; border-radius: var(--radius-sm); background: #fff;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.has-error input, .field.has-error select { border-color: #a3341b; }
.error-msg { color: #a3341b; font-size: .88rem; font-weight: 600; }
.error-msg:empty { display: none; }
.choice-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice-group label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid #cfc7b8; border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--text); }
.choice-group label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice-group input { accent-color: var(--accent); width: 18px; height: 18px; }
@media (max-width: 380px) { .choice-group { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; }
.form-nav .btn--primary { flex: 1; }
.form-note { font-size: .85rem; color: var(--muted); margin: 16px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 20px 6px; }
.form-success .icon-badge { margin: 0 auto 16px; width: 56px; height: 56px; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(90px, 10vw, 130px); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 -1px; height: clamp(50px, 7vw, 90px); background: var(--ridge-svg-bg) bottom / 100% 100% no-repeat; }
.page-hero .lead { max-width: 680px; }
.breadcrumb { font-size: .9rem; color: #9fb0c8; margin-bottom: 16px; }
.breadcrumb a { color: #dfe4ee; }

/* Content layout */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.content-grid aside { position: sticky; top: 96px; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } .content-grid aside { position: static; } }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.can-cannot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.can-cannot > div { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.can-cannot h3 { margin-top: 0; font-size: 1.05rem; }
.can-cannot ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 620px) { .can-cannot { grid-template-columns: 1fr; } }
.side-card h3 { font-size: 1.15rem; }
.side-card .btn { margin-top: 8px; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { border-top: 1px solid var(--line); }
.side-links a { display: block; padding: 10px 0; font-weight: 600; text-decoration: none; }

/* Worksheet */
.worksheet { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .worksheet { grid-template-columns: 1fr; } }
.worksheet .card h3 { display: flex; align-items: center; gap: 10px; }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.money input { padding-left: 28px; }
.pct { position: relative; }
.pct::after { content: "%"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.results { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .results { grid-template-columns: 1fr; } }
.result { background: var(--ink); color: #dfe4ee; border-radius: var(--radius); padding: 24px 28px; }
.result h3 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.result .amount { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.6rem); color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; margin: 6px 0 10px; }
.result dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 0; font-size: .92rem; }
.result dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.diff { margin-top: 20px; }

/* Footer */
.site-footer { background: linear-gradient(180deg, #0f1930, #0b1426); color: #b9c1d1; padding: 72px 0 32px; font-size: .95rem; }
.site-footer a { color: #dfe4ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .logo img { height: 52px; }
.footer-role { margin-top: 40px; padding-top: 24px; border-top: 1px solid #26324d; font-size: .85rem; color: #93a0b8; display: grid; gap: 8px; }
.footer-role p { margin: 0; }

/* Utilities */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 420px) { .call-cta__extra { display: none; } }
