:root {
  --ink: #173f3a;
  --ink-deep: #0e302d;
  --paper: #f7f3ea;
  --paper-deep: #ece4d6;
  --white: #fffdf8;
  --clay: #db6b4f;
  --clay-dark: #ad4934;
  --gold: #e7ae43;
  --sage: #7ea38e;
  --mint: #d6e6d8;
  --sky: #91b6bd;
  --navy: #476976;
  --berry: #aa667a;
  --plum: #7d708e;
  --coral: #dd826c;
  --border: #d8d0c1;
  --muted: #5d6d68;
  --shadow: 0 24px 60px rgba(29, 59, 54, 0.14);
  --radius: 22px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink-deep);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

a { color: inherit; }

button, input, select { font: inherit; }

button, select, input[type="radio"], input[type="checkbox"] { cursor: pointer; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink-deep);
  color: white;
  border-radius: 8px;
}

.skip-link:focus { transform: translateY(0); }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  width: min(1220px, calc(100% - 32px));
  margin: 16px auto 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 10px 18px;
  border: 1px solid rgba(21, 63, 58, 0.16);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.8);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.brand strong { font-size: 0.88rem; letter-spacing: 0.035em; }

.brand-mark {
  width: 42px;
  height: 42px;
  position: relative;
  flex: 0 0 42px;
}

.brand-mark span, .brand-mark i {
  position: absolute;
  display: block;
  background: var(--clay);
  transform: rotate(-10deg);
}

.brand-mark span { width: 9px; height: 12px; border-radius: 55% 55% 45% 45%; }
.brand-mark span:nth-child(1) { left: 4px; top: 8px; transform: rotate(-35deg); }
.brand-mark span:nth-child(2) { left: 15px; top: 2px; transform: rotate(-10deg); }
.brand-mark span:nth-child(3) { right: 5px; top: 7px; transform: rotate(25deg); }
.brand-mark span:nth-child(4) { right: 0; top: 19px; transform: rotate(55deg); }
.brand-mark i { width: 25px; height: 22px; left: 10px; top: 17px; border-radius: 55% 55% 45% 45%; }

.site-header nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px 26px; }
.site-header nav a { text-decoration: none; font-size: 0.86rem; font-weight: 700; color: #35544f; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--clay-dark); }

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr);
  gap: 70px;
  align-items: center;
  padding-block: 84px 74px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(219, 107, 79, 0.22);
  border-radius: 50%;
  right: -240px;
  top: 10px;
  box-shadow: 0 0 0 55px rgba(219, 107, 79, 0.04), 0 0 0 110px rgba(219, 107, 79, 0.025);
}

.eyebrow, .section-kicker {
  margin: 0 0 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.73rem;
  font-weight: 800;
  color: var(--clay-dark);
}

.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 32px; height: 2px; background: var(--clay); }

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 7vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.hero h1 em { color: var(--clay); font-weight: 400; }

.hero-lede { max-width: 690px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #50645f; margin: 28px 0; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 750; color: var(--ink); }
.trust-row svg { width: 18px; height: 18px; fill: none; stroke: var(--clay); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero-note {
  border-left: 1px solid var(--border);
  padding-left: 32px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0 13px;
  align-items: start;
}

.hero-note p { margin: 1px 0 0; font-family: var(--serif); font-size: 1.05rem; line-height: 1.35; }
.note-number { color: var(--clay-dark); font: 700 0.72rem/1 var(--sans); letter-spacing: 0.08em; padding-top: 5px; }
.note-line { width: 1px; height: 31px; background: var(--border); grid-column: 1; margin: 8px 0 8px 9px; }

.calculator-band { background: var(--ink); color: white; padding: 66px 0 78px; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr); gap: 28px; align-items: start; }

.planner-form, .results-panel { border-radius: var(--radius); }
.planner-form { background: var(--white); color: var(--ink-deep); padding: clamp(24px, 4vw, 44px); }
.results-panel { background: #0c302d; border: 1px solid rgba(255, 255, 255, 0.15); position: sticky; top: 18px; overflow: hidden; box-shadow: var(--shadow); }

.form-heading { display: flex; justify-content: space-between; gap: 24px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.form-heading h2, .next-step h2, .method-strip h2, .faq h2, .care-note h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; }
.form-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); }
.form-heading > p { margin: 4px 0 0; max-width: 200px; color: var(--muted); font-size: 0.78rem; }
.form-error { margin: 22px 0 0; padding: 12px 14px; color: #7a261e; background: #fde5df; border-left: 4px solid var(--clay-dark); border-radius: 7px; }

fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
legend, .field > span { font-weight: 800; font-size: 0.82rem; color: #284a45; }
.pet-choice { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pet-choice legend { grid-column: 1 / -1; margin-bottom: 2px; }
.pet-choice label { position: relative; }
.pet-choice input { position: absolute; opacity: 0; }
.pet-choice-card { min-height: 84px; display: flex; align-items: center; gap: 13px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 14px; transition: 160ms ease; }
.pet-choice-card strong, .pet-choice-card small { display: block; }
.pet-choice-card small { color: var(--muted); font-size: 0.72rem; margin-top: 3px; }
.pet-choice-card i { width: 18px; height: 18px; border: 1px solid #a9aaa2; border-radius: 50%; margin-left: auto; position: relative; }
.pet-choice input:checked + .pet-choice-card { border-color: var(--clay); background: #fff6f1; box-shadow: inset 0 0 0 1px var(--clay); }
.pet-choice input:checked + .pet-choice-card i::after { content: ""; position: absolute; width: 8px; height: 8px; inset: 4px; border-radius: 50%; background: var(--clay); }
.pet-choice input:focus-visible + .pet-choice-card { outline: 3px solid var(--gold); outline-offset: 3px; }
.pet-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50% 50% 45% 45%; color: white; background: var(--ink); font-family: var(--serif); font-size: 1.2rem; }
.cat-icon { background: var(--clay); }

.field-grid { display: grid; gap: 18px; margin-top: 24px; }
.two-columns { grid-template-columns: 1fr 1fr; }
.three-columns { grid-template-columns: 1fr 1fr 1fr; }
.field { display: block; position: relative; }
.field > span { display: block; margin-bottom: 7px; }
.field input, .field select { width: 100%; min-height: 50px; border: 1px solid var(--border); color: var(--ink-deep); background: #fffefa; border-radius: 10px; padding: 10px 12px; }
.field select { padding-right: 36px; }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: 0.69rem; line-height: 1.4; }
.field-short { max-width: 360px; margin-top: 24px; }
.currency-field i { position: absolute; left: 13px; top: 36px; color: var(--muted); font-style: normal; }
.currency-field input { padding-left: 28px; }

.extras { margin-top: 28px; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 9px; }
.check-card { display: flex; align-items: start; gap: 10px; min-height: 76px; padding: 13px; border: 1px solid var(--border); border-radius: 12px; background: #fffefa; }
.check-card:has(input:checked) { border-color: var(--sage); background: #f1f8f2; }
.check-card input { width: 19px; height: 19px; accent-color: var(--ink); margin: 1px 0 0; }
.check-card strong, .check-card small { display: block; }
.check-card strong { font-size: 0.78rem; }
.check-card small { margin-top: 3px; color: var(--muted); font-size: 0.66rem; line-height: 1.35; }

.emergency-fields { margin-top: 30px; padding: 22px; border-radius: 14px; background: #f0eee4; }
.emergency-fields legend { width: 100%; padding-top: 22px; }
.emergency-fields legend span { float: right; color: var(--muted); font-weight: 500; font-size: 0.67rem; }

.override-section { margin-top: 25px; padding: 17px 19px; border: 1px solid var(--border); border-radius: 13px; background: #fffefa; }
.override-section summary { cursor: pointer; color: var(--ink-deep); font-weight: 800; font-size: 0.8rem; }
.override-section summary span { float: right; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.58rem; }
.override-section > p { margin: 10px 0 0; color: var(--muted); font-size: 0.7rem; }
.override-section .field-grid { margin-top: 17px; }

.primary-button, .secondary-button { border: 0; font-weight: 800; }
.primary-button { width: 100%; min-height: 56px; display: flex; justify-content: center; align-items: center; gap: 13px; margin-top: 28px; border-radius: 12px; color: white; background: var(--clay-dark); box-shadow: 0 12px 24px rgba(173, 73, 52, 0.2); }
.primary-button:hover { background: #8b3828; }
.primary-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.results-topline { min-height: 55px; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 22px; background: #082623; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.results-topline p { margin: 0; font-weight: 800; font-size: 0.75rem; }
.results-topline span { color: #bdd2cd; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.57rem; }
.results-content { padding: 26px; }
.result-amount > span, .range-card > span, .setup-result span, .emergency-result span { color: #b8cdc7; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; font-size: 0.59rem; }
.result-amount h2 { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 0; font-family: var(--serif); line-height: 1; }
.result-amount h2 strong { color: #fff; font-size: clamp(3.1rem, 6vw, 4.7rem); font-weight: 400; letter-spacing: -0.055em; }
.result-amount h2 small { font: 600 0.8rem/1 var(--sans); color: #b8cdc7; }
.result-amount p { margin: 8px 0 0; color: #d5e2df; font-size: 0.8rem; }
.result-amount p strong { color: white; font-size: 1.15rem; }
.range-card { margin-top: 21px; padding: 15px 17px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; }
.range-card strong, .range-card small { display: block; }
.range-card strong { margin-top: 3px; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.range-card small { color: #b8cdc7; font-size: 0.65rem; margin-top: 2px; }

.breakdown { margin-top: 28px; }
.result-section-heading { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.14); padding-bottom: 9px; margin-bottom: 7px; }
.result-section-heading h3 { margin: 0; font: 400 1.18rem/1.2 var(--serif); }
.result-section-heading span { color: #9bb4ae; font-size: 0.62rem; }
.category-row { padding: 8px 0; }
.category-label { display: flex; justify-content: space-between; gap: 14px; font-size: 0.69rem; }
.category-label span { color: #d8e2df; }
.category-label strong { font-size: 0.7rem; }
.category-bar { height: 5px; margin-top: 5px; background: rgba(255, 255, 255, 0.1); border-radius: 5px; overflow: hidden; }
.category-bar i { display: block; height: 100%; width: var(--bar-width); max-width: 100%; border-radius: inherit; background: var(--bar-color); }
.tone-sage { --bar-color: var(--sage); }
.tone-navy { --bar-color: var(--sky); }
.tone-gold { --bar-color: var(--gold); }
.tone-clay { --bar-color: var(--clay); }
.tone-sky { --bar-color: #a3c6cc; }
.tone-berry { --bar-color: #cc8096; }
.tone-plum { --bar-color: #aa9cba; }
.tone-mint { --bar-color: #b7d9c1; }
.tone-coral { --bar-color: #eaa08f; }

.scenario-results { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; }
.setup-result, .horizon-result, .emergency-result { padding: 14px 16px; border-radius: 11px; }
.setup-result { background: #f8e0ae; color: var(--ink-deep); }
.setup-result span { color: #6d5832; }
.setup-result strong, .horizon-result strong { display: block; font: 400 1.45rem/1.2 var(--serif); }
.setup-result small, .horizon-result small { display: block; font-size: 0.61rem; line-height: 1.35; }
.horizon-result { color: white; border: 1px solid rgba(255, 255, 255, 0.13); background: rgba(255, 255, 255, 0.06); }
.horizon-result span { color: #b8cdc7; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; font-size: 0.52rem; }
.horizon-result small { color: #b8cdc7; }
.emergency-result { margin-top: 9px; display: flex; justify-content: space-between; gap: 18px; align-items: center; border: 1px solid rgba(255, 255, 255, 0.13); }
.emergency-result strong { display: block; font: 400 1.2rem/1.3 var(--serif); }
.emergency-result p { max-width: 145px; margin: 0; text-align: right; color: #b8cdc7; font-size: 0.64rem; line-height: 1.4; }
.local-adjustment { margin-top: 17px; color: #c9d9d5; font-size: 0.69rem; }
.local-adjustment summary { cursor: pointer; font-weight: 800; color: white; }
.local-adjustment p { margin-bottom: 0; }
.result-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 19px; }
.secondary-button { min-height: 43px; color: white; background: transparent; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 9px; font-size: 0.72rem; }
.secondary-button:hover { background: rgba(255, 255, 255, 0.08); }
.action-status { min-height: 1em; margin: 8px 0 0; color: #cfe0dc; font-size: 0.65rem; text-align: center; }

.next-step { padding-block: 90px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
.next-step h2, .faq h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.25rem); }
.next-step-intro > p:last-child { max-width: 420px; color: var(--muted); }
.quote-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.quote-list li { display: grid; grid-template-columns: 35px 1fr; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.quote-list li > span { width: 29px; height: 29px; display: grid; place-items: center; color: white; background: var(--clay); border-radius: 50%; font-size: 0.69rem; font-weight: 800; }
.quote-list p { margin: 0; font-size: 0.83rem; color: var(--muted); }
.quote-list strong { display: block; color: var(--ink-deep); font-size: 0.94rem; }

.method-strip { color: white; background: var(--clay); padding-block: 78px; }
.method-strip-inner { display: grid; grid-template-columns: 0.85fr 1.65fr; gap: 50px 70px; }
.section-kicker.light { color: #ffe3d7; }
.method-strip h2 { margin: 0; font-size: clamp(2.6rem, 4.5vw, 4.25rem); }
.source-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.source-steps article { border-top: 1px solid rgba(255, 255, 255, 0.4); padding-top: 12px; }
.source-steps span { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.58rem; font-weight: 800; color: #ffe3d7; }
.source-steps h3 { margin: 5px 0 4px; font: 400 1.35rem/1.2 var(--serif); }
.source-steps p { margin: 0; font-size: 0.72rem; color: #fff2eb; }
.text-link { width: max-content; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; font-size: 0.8rem; }
.text-link.light { color: white; grid-column: 2; }

.faq { padding-block: 92px; display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; cursor: pointer; padding: 21px 42px 21px 0; font: 400 1.25rem/1.3 var(--serif); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; top: 16px; font: 300 1.7rem/1 var(--sans); color: var(--clay); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -4px 45px 21px 0; color: var(--muted); font-size: 0.83rem; }

.care-note { display: grid; grid-template-columns: 56px 1fr auto; gap: 22px; align-items: center; margin-bottom: 90px; padding: 26px 30px; color: white; background: var(--ink); border-radius: 16px; }
.care-note-mark { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; font: italic 400 1.5rem/1 var(--serif); }
.care-note h2 { margin: 0 0 5px; font-size: 1.5rem; }
.care-note p { margin: 0; color: #c9d9d5; font-size: 0.76rem; max-width: 680px; }
.care-note a { max-width: 220px; color: #ffe0b0; font-size: 0.73rem; font-weight: 800; text-decoration: none; }

.state-guide-strip { padding-block: 82px 10px; }
.state-guide-strip > div:first-child { max-width: 720px; }
.state-guide-strip h2 { margin: 0 0 14px; font: 400 clamp(2.4rem, 5vw, 4.4rem)/1 var(--serif); letter-spacing: -0.045em; }
.state-guide-strip > div:first-child > p:last-child { color: var(--muted); }

.site-footer { color: #d1e0dc; background: #092724; padding: 58px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.7fr 0.8fr 1fr; gap: 50px; }
.footer-brand { color: white; }
.footer-grid > div:first-child > p { max-width: 300px; color: #9fb5b0; font-size: 0.72rem; }
.footer-grid h2 { color: white; text-transform: uppercase; letter-spacing: 0.12em; font: 800 0.62rem/1.3 var(--sans); margin: 0 0 13px; }
.footer-grid > div:not(:first-child) a, .footer-grid > div:not(:first-child) p { display: block; margin: 0 0 8px; color: #abc0bb; font-size: 0.69rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.13); color: #819a94; font-size: 0.61rem; }
.footer-bottom p { margin: 0; }

/* Interior pages */
.page-hero { padding-block: 80px 58px; max-width: 940px; }
.page-hero h1 { margin: 0; font: 400 clamp(3rem, 7vw, 6rem)/0.95 var(--serif); letter-spacing: -0.055em; }
.page-hero > p:last-child { max-width: 680px; color: var(--muted); font-size: 1.1rem; }
.content-shell { width: min(920px, calc(100% - 40px)); margin: 0 auto 100px; }
.content-card { padding: clamp(24px, 5vw, 50px); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.content-card + .content-card { margin-top: 22px; }
.content-card h2 { margin: 0 0 14px; font: 400 clamp(2rem, 4vw, 3.25rem)/1.05 var(--serif); letter-spacing: -0.035em; }
.content-card h3 { margin-top: 28px; font: 400 1.45rem/1.2 var(--serif); }
.content-card p, .content-card li { color: var(--muted); font-size: 0.9rem; }
.content-card a { color: var(--clay-dark); font-weight: 700; }
.source-list { list-style: none; padding: 0; }
.source-list li { padding: 15px 0; border-bottom: 1px solid var(--border); }
.source-list strong { display: block; color: var(--ink-deep); }
.formula-box { padding: 20px; border-left: 4px solid var(--clay); background: #f3eee3; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
th, td { padding: 11px 9px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--ink-deep); }
td { color: var(--muted); }
.data-version { display: inline-block; margin: 0 0 26px; padding: 8px 12px; color: var(--ink-deep) !important; background: var(--mint); border-radius: 999px; font-size: 0.72rem !important; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.download-grid article { padding: 22px; border: 1px solid var(--border); border-radius: 15px; background: #faf6ee; }
.download-grid h3 { margin: 0 0 8px; font-size: 1.35rem; }
.download-grid p { font-size: 0.78rem; }
.content-card code { padding: 0.1em 0.3em; border-radius: 4px; background: #f0eadf; color: var(--ink-deep); font-size: 0.88em; overflow-wrap: anywhere; }

.guide-hero { max-width: 1060px; }
.guide-content-shell { width: min(1060px, calc(100% - 40px)); }
.breadcrumbs { display: flex; gap: 9px; align-items: center; margin-bottom: 26px; color: var(--muted); font-size: 0.72rem; }
.breadcrumbs a { color: var(--clay-dark); font-weight: 800; text-decoration: none; }
.guide-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.guide-summary-grid article { min-height: 168px; padding: 23px; border: 1px solid var(--border); border-radius: 16px; background: #faf6ee; }
.guide-summary-grid span { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.62rem; font-weight: 800; }
.guide-summary-grid strong { display: block; margin-top: 14px; color: var(--ink-deep); font: 400 clamp(2.2rem, 4vw, 3.5rem)/0.95 var(--serif); letter-spacing: -0.045em; }
.guide-summary-grid strong small { margin-left: 4px; color: var(--muted); font: 700 0.72rem/1 var(--sans); letter-spacing: 0; }
.guide-summary-grid p { margin: 12px 0 0; font-size: 0.72rem; }
.scenario-note { padding: 18px 20px; border-left: 4px solid var(--gold); background: #f3eee3; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 24px; }
.content-card .guide-actions .primary-button { width: auto; padding: 14px 20px; color: white; background: var(--clay-dark); }
.secondary-link { color: var(--clay-dark); font-size: 0.78rem; font-weight: 800; }
.comparison-table { min-width: 760px; font-variant-numeric: tabular-nums; }
.comparison-table caption { padding: 12px 0; color: var(--muted); text-align: left; font-size: 0.7rem; }
.comparison-table th:first-child { position: sticky; left: 0; min-width: 150px; background: var(--white); box-shadow: 1px 0 0 var(--border); }
.comparison-table tbody tr:hover th, .comparison-table tbody tr:hover td { background: #faf6ee; }
.comparison-table data { color: inherit; }
.guide-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.guide-link-grid a { display: block; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: #faf6ee; text-decoration: none; }
.guide-link-grid strong, .guide-link-grid span { display: block; }
.guide-link-grid span { margin-top: 7px; color: var(--muted); font-size: 0.72rem; font-weight: 500; }
.guide-faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guide-faq article h3 { margin-top: 12px; }
.guide-faq article p { margin-bottom: 0; }

.mini-tool { display: grid; grid-template-columns: 1fr 0.8fr; gap: 24px; background: var(--ink); color: white; border-radius: var(--radius); padding: clamp(24px, 4vw, 42px); }
.mini-tool .field > span { color: white; }
.mini-tool .field small { color: #bdd0cc; }
.mini-result { padding: 24px; background: #0c302d; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; }
.mini-result span { color: #b8cdc7; text-transform: uppercase; letter-spacing: .1em; font-size: .6rem; font-weight: 800; }
.mini-result strong { display: block; margin-top: 6px; font: 400 clamp(2.7rem, 6vw, 4.3rem)/1 var(--serif); }
.mini-result p { color: #c5d5d1; font-size: .75rem; }
.progress-track { height: 9px; background: rgba(255,255,255,.12); border-radius: 9px; overflow: hidden; }
.progress-track i { display: block; height: 100%; width: var(--progress); background: var(--gold); }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { margin: 0; font: 400 clamp(5rem, 15vw, 11rem)/.8 var(--serif); color: var(--clay); }
.not-found h2 { font: 400 2rem/1.1 var(--serif); }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; }
  .site-header nav { max-width: 520px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 68px; }
  .hero-note { max-width: 500px; }
  .calculator-layout { grid-template-columns: 1fr; }
  .results-panel { position: static; }
  .next-step, .faq, .method-strip-inner { grid-template-columns: 1fr; gap: 45px; }
  .text-link.light { grid-column: 1; }
  .care-note { grid-template-columns: 50px 1fr; }
  .care-note a { grid-column: 2; }
  .guide-summary-grid, .guide-link-grid, .guide-faq { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .shell, .content-shell { width: min(100% - 24px, 1180px); }
  .site-header { width: calc(100% - 16px); margin-top: 8px; display: block; padding: 12px; }
  .site-header nav { margin-top: 13px; justify-content: flex-start; gap: 8px 16px; }
  .site-header nav a { font-size: 0.73rem; }
  .hero { min-height: 0; padding-block: 55px; }
  .hero h1 { font-size: clamp(3.1rem, 18vw, 5rem); }
  .hero-note { padding-left: 20px; }
  .calculator-band { padding-block: 12px; }
  .planner-form { padding: 24px 18px; border-radius: 15px; }
  .form-heading { display: block; }
  .form-heading > p { max-width: none; }
  .pet-choice, .two-columns, .three-columns, .check-grid, .result-actions, .scenario-results, .source-steps, .mini-tool, .download-grid, .guide-summary-grid, .guide-link-grid, .guide-faq { grid-template-columns: 1fr; }
  .emergency-fields legend span, .override-section summary span { float: none; display: block; margin-top: 3px; }
  .field-short { max-width: none; }
  .results-panel { border-radius: 15px; }
  .results-content { padding: 21px 18px; }
  .next-step, .faq { padding-block: 64px; }
  .method-strip { padding-block: 58px; }
  .care-note { grid-template-columns: 1fr; margin-bottom: 60px; padding: 24px; }
  .care-note a { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  body { background: white; color: black; }
  body::before, .site-header, .hero, .planner-form, .next-step, .method-strip, .faq, .care-note, .site-footer, .result-actions, .action-status { display: none !important; }
  .calculator-band { background: white; color: black; padding: 0; }
  .calculator-layout { display: block; width: 100%; }
  .results-panel { position: static; color: black; background: white; border: 0; box-shadow: none; }
  .results-topline { background: white; color: black; border-bottom: 1px solid #777; }
  .results-topline span, .result-amount > span, .range-card > span, .setup-result span, .horizon-result span,
  .emergency-result span, .result-amount p, .range-card small, .category-label span, .setup-result small,
  .horizon-result small, .emergency-result p, .local-adjustment { color: #333; }
  .result-amount h2 strong, .result-amount p strong, .result-section-heading h3, .category-label strong,
  .local-adjustment summary { color: black; }
  .range-card, .setup-result, .horizon-result, .emergency-result { color: black; border: 1px solid #aaa; background: white; }
  .category-bar { background: #ddd; }
  .category-bar i { background: #333; }
}
