:root {
  --ink: #14232e;
  --ink-2: #3d4f5c;
  --muted: #5f707c;
  --line: #dde4e9;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --brand: #0b4f6c;
  --brand-2: #0e6a8f;
  --brand-soft: #e6f1f6;
  --accent: #c2580e;
  --good: #11704a;
  --good-soft: #e5f4ec;
  --warn: #9a4a00;
  --warn-soft: #fdf1e3;
  --err: #b42318;
  --err-soft: #fdecea;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 35, 46, .06), 0 4px 16px rgba(20, 35, 46, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--brand-2); text-underline-offset: 2px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid #f2a541; outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); margin: 0 0 .5rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); margin: 2rem 0 .75rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.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: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.1rem; color: var(--ink-2); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 .5rem; text-decoration: none; }
.opt { font-weight: 400; color: var(--muted); font-size: .85em; }
.preview-bar { background: #fff3cd; color: #5c4400; text-align: center; padding: 8px 16px; font-weight: 600; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: 0 1.25rem; border-radius: 10px; border: 2px solid var(--brand); background: var(--brand); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand); }
.btn-sm { min-height: 38px; padding: 0 .9rem; font-size: .95rem; }
.icon-btn { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); }
.icon-btn:hover { color: var(--err); border-color: var(--err); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.site-nav a { display: block; padding: .5rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 550; }
.site-nav a:hover { background: var(--bg-soft); }
.has-menu { position: relative; }
.submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { display: block; }
.submenu a { font-weight: 450; }
.nav-search { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.nav-search input { border: 0; padding: .45rem .7rem; font: inherit; font-size: .95rem; width: 190px; min-height: 40px; }
.nav-search button { border: 0; background: var(--bg-soft); padding: 0 .7rem; cursor: pointer; color: var(--ink-2); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: auto; position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem; box-shadow: var(--shadow); max-height: calc(100vh - 64px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; }
  .submenu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 .75rem; min-width: 0; }
  .nav-search input { width: 100%; flex: 1; }
}

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 1rem auto 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .25rem; color: #a8b4bc; }
.crumbs a { color: var(--muted); }

/* hero */
.hero { background: linear-gradient(180deg, var(--brand-soft), #fff); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; padding-top: 3rem; padding-bottom: 3rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.hero-facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.hero-facts strong { display: block; }
.hero-facts span { color: var(--muted); font-size: .93rem; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; padding-top: 2rem; padding-bottom: 2rem; gap: 1.5rem; } }

.section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.section-tight { padding-bottom: 2.5rem; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; margin-bottom: 1.25rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.5rem 0; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.two-col h2 { margin-top: 0; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 1.5rem; } }
.checklist { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.checklist h3 { margin-top: 0; }
.checklist ul { padding-left: 1.2rem; margin: 0; }
.checklist li { margin-bottom: .4rem; }
.note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin: 1.5rem 0; }
.note h2 { margin-top: 0; font-size: 1.2rem; }
.note ul { margin: 0; padding-left: 1.2rem; }
.note li { margin-bottom: .4rem; }

/* calculator tiles */
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.calc-tile { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.calc-tile:hover { border-color: var(--brand-2); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.calc-tile-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); flex: none; }
.calc-tile-name { font-weight: 700; font-size: 1.05rem; margin-top: .35rem; }
.calc-tile-sum { color: var(--muted); font-size: .95rem; }
.calc-list { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.calc-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.calc-row h2 { font-size: 1.1rem; margin: 0 0 .2rem; }
.calc-row h2 a { color: var(--ink); text-decoration: none; }
.calc-row p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) { .calc-row { grid-template-columns: auto 1fr; } .calc-row .btn { display: none; } }

/* page heads */
.page-head { padding-top: 1.5rem; padding-bottom: 1.25rem; }
.lead-md p { font-size: 1.08rem; color: var(--ink-2); max-width: 820px; }
.lead-md p:last-child { margin-bottom: 0; }
.updated, .meta { font-size: .9rem; color: var(--muted); }

/* calculator layout */
.calc-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .calc-shell { grid-template-columns: 1fr; } }
.calc-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.calc-group { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.calc-group > legend { font-weight: 750; font-size: 1.05rem; padding: 0; margin-bottom: .75rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; min-width: 0; }
.field > label, .field legend { font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea, .search-big input {
  width: 100%; min-height: 46px; padding: .55rem .75rem; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid #c3ced6; border-radius: 9px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-2); outline: 3px solid rgba(14, 106, 143, .18); outline-offset: 0; }
.input-affix { display: flex; align-items: stretch; position: relative; }
.input-affix > span { display: flex; align-items: center; padding: 0 .7rem; background: var(--bg-soft); border: 1.5px solid #c3ced6; color: var(--ink-2); font-weight: 600; }
.input-affix > span:first-child { border-right: 0; border-radius: 9px 0 0 9px; }
.input-affix > span:first-child + input { border-radius: 0 9px 9px 0 !important; }
.input-affix.has-suffix input { border-radius: 9px 0 0 9px !important; }
.input-affix.has-suffix > span { border-left: 0; border-radius: 0 9px 9px 0; order: 2; }
.hint { display: block; font-size: .85rem; color: var(--muted); margin-top: .3rem; font-weight: 400; }
.money-words { font-size: .85rem; color: var(--brand); margin-top: .25rem; min-height: 0; }
.money-words:empty { display: none; }
.field-error { color: var(--err); font-size: .88rem; font-weight: 600; margin-top: .3rem; }
.field.invalid input, .field.invalid select { border-color: var(--err) !important; background: #fffafa; }
.form-error { background: var(--err-soft); border: 1px solid #f3b8b2; color: var(--err); border-radius: 10px; padding: .75rem 1rem; margin-bottom: 1rem; }
.form-error ul { margin: .25rem 0 0; padding-left: 1.2rem; }
.field-check { flex-direction: row; align-items: flex-start; gap: .6rem; }
.field-check input { width: 22px; height: 22px; margin: .15rem 0 0; flex: none; accent-color: var(--brand); }
.field-check label { font-weight: 550; }
.field-check .field-error { flex-basis: 100%; }
.field-check { flex-wrap: wrap; }
.field-radios { border: 0; padding: 0; margin: 0 0 1rem; }
.field-radios legend { padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .85rem; border: 1.5px solid #c3ced6; border-radius: 9px; cursor: pointer; min-height: 46px; }
.radio input { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; }
.radio:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
details.more { border: 1px dashed #c3ced6; border-radius: 10px; padding: .6rem .9rem; margin-bottom: 1rem; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--brand); }
details.more[open] summary { margin-bottom: .75rem; }
.part-row { display: grid; grid-template-columns: 1fr 1.2fr 1fr auto; gap: 0 .75rem; align-items: end; border-bottom: 1px solid var(--line); margin-bottom: .75rem; }
.part-row .icon-btn { margin-bottom: 1.05rem; }
@media (max-width: 600px) { .part-row { grid-template-columns: 1fr 1fr; } .part-row .field:first-child { grid-column: 1 / -1; } .part-row .icon-btn { justify-self: end; grid-column: 2; } }
.calc-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.calc-actions .btn { flex: 1 1 140px; }
.calc-privacy { font-size: .82rem; color: var(--muted); margin: .75rem 0 0; }

.calc-result { position: sticky; top: 84px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); min-height: 200px; }
.calc-result:focus { outline: none; }
@media (max-width: 900px) { .calc-result { position: static; } }
.result-empty { color: var(--muted); text-align: center; padding: 2rem .5rem; }
.result-empty-title { font-weight: 700; color: var(--ink-2); font-size: 1.05rem; }
.result-head { background: var(--brand); color: #fff; border-radius: 10px; padding: 1rem 1.1rem; margin-bottom: 1rem; }
.result-label { margin: 0; font-size: .92rem; opacity: .9; }
.result-amount { margin: .1rem 0; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.result-sub { margin: 0; font-size: .88rem; opacity: .9; }
.verdict-good .result-head { background: var(--good); }
.verdict-warn .result-head { background: var(--warn); }
.verdict-neutral .result-head { background: #4a5a66; }
.result-h { font-size: 1rem; margin: 1.25rem 0 .5rem; }
.result-text { color: var(--ink-2); }
.breakdown { width: 100%; border-collapse: collapse; font-size: .94rem; }
.breakdown th, .breakdown td { padding: .5rem .25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.breakdown th { text-align: left; font-weight: 500; color: var(--ink-2); }
.breakdown td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.breakdown tr.total th, .breakdown tr.total td { font-weight: 800; color: var(--ink); border-bottom: 2px solid var(--ink); }
.breakdown.compact thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 650; }
.breakdown.compact td:first-child { text-align: left; white-space: normal; }
.breakdown.compact thead th:not(:first-child) { text-align: right; }
.breakdown tr.current td { background: var(--brand-soft); font-weight: 650; }
.breakdown .muted { font-size: .85em; }
.result-notes { margin: 1rem 0 0; padding-left: 1.1rem; font-size: .92rem; color: var(--ink-2); }
.result-notes li { margin-bottom: .45rem; }
.ncb-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; padding: 0; margin: 0; }
.ncb-steps li { text-align: center; background: var(--bg-soft); border-radius: 8px; padding: .5rem .2rem; font-size: .8rem; color: var(--muted); }
.ncb-steps strong { display: block; color: var(--ink); font-size: 1.1rem; }

.calc-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; padding-top: 2rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .calc-body { grid-template-columns: 1fr; gap: 1rem; } }
.calc-aside { display: grid; gap: 1rem; align-content: start; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.aside-head { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); margin-bottom: .5rem; }
.aside-link { font-weight: 700; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.aside-list li:last-child { border-bottom: 0; }
.cols-2 { columns: 2; column-gap: 2rem; }
@media (max-width: 600px) { .cols-2 { columns: 1; } }

/* prose */
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 2.2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote { margin: 1.25rem 0; padding: .9rem 1.1rem; background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; }
.prose blockquote p:last-child { margin: 0; }
.prose code { background: var(--bg-soft); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border: 1px solid var(--line); border-radius: 10px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-wrap th, .table-wrap td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap thead th { background: var(--bg-soft); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }
.calc-card-inline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--brand-soft); border: 1px solid #c4dde8; border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.calc-card-inline p { margin: .2rem 0 0; font-size: .93rem; color: var(--ink-2); }
@media (max-width: 600px) { .calc-card-inline { flex-direction: column; align-items: flex-start; } }

/* articles */
.article-head { padding-top: 1.5rem; }
.featured { margin: 0 auto 1.5rem; }
.featured img { border-radius: var(--radius); width: 100%; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1.1rem; margin-bottom: 1.5rem; }
.toc summary { cursor: pointer; font-weight: 700; }
.toc ol { margin: .6rem 0 0; padding-left: 1.2rem; }
.toc li { margin-bottom: .25rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .9rem; color: var(--muted); }
.tags a, .chips a { display: inline-block; padding: .2rem .65rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.chips a span { color: var(--muted); }
.author-box { display: flex; gap: 1rem; align-items: flex-start; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; margin: 2rem 0 1rem; }
.author-box img { border-radius: 50%; flex: none; }
.author-name { font-weight: 700; margin-bottom: .25rem; }
.author-name span { font-weight: 400; color: var(--muted); }
.author-box-lg { border: 0; margin: .5rem 0 0; padding: 0; }
.author-role { font-weight: 600; color: var(--accent); margin-bottom: .5rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; display: block; }
.post-card-body { padding: 1rem 1.15rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.post-card-cat { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); text-decoration: none; }
.post-card h3 { margin: .35rem 0 .5rem; font-size: 1.1rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--brand-2); text-decoration: underline; }
.post-card p { color: var(--ink-2); font-size: .95rem; }
.post-card .meta { margin-top: auto; margin-bottom: 0; font-size: .85rem; }
.feature-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.feature-img img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.feature-body { padding: 1.5rem 1.6rem; display: flex; flex-direction: column; justify-content: center; }
.feature-body h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); margin: .2rem 0 .6rem; }
.feature-body h3 a { color: var(--ink); text-decoration: none; }
.feature-body h3 a:hover { color: var(--brand-2); text-decoration: underline; }
.feature-body p { color: var(--ink-2); }
.feature-body .btn { align-self: flex-start; }
@media (max-width: 760px) { .feature-card { grid-template-columns: 1fr; } .feature-body { padding: 1.1rem 1.15rem 1.25rem; } }
.pager { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2rem; }

/* search, 404, forms */
.search-big { display: flex; gap: .5rem; margin: 1rem 0; }
.search-big input { flex: 1; }
.search-results { list-style: none; padding: 0; }
.search-results li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.search-results a { font-weight: 700; font-size: 1.08rem; }
.search-results p { margin: .25rem 0 0; color: var(--ink-2); font-size: .95rem; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--brand-soft); color: var(--brand); border-radius: 6px; padding: .1rem .45rem; margin-right: .5rem; vertical-align: middle; }
.contact-form-wrap { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; }
.stack > * + * { margin-top: .25rem; }
.alert { border-radius: 10px; padding: .8rem 1rem; }
.alert-ok { background: var(--good-soft); color: var(--good); border: 1px solid #b6dfc8; }
.alert-err { background: var(--err-soft); color: var(--err); border: 1px solid #f3b8b2; }
.hp { position: absolute; left: -5000px; }
.static-page { padding-bottom: 3rem; }

/* footer */
.site-footer { background: #0f2633; color: #c9d6de; margin-top: 2rem; padding-top: 2.5rem; font-size: .95rem; }
.site-footer a { color: #e6eef2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-brand { font-weight: 800; font-size: 1.15rem; color: #fff; }
.footer-head { font-weight: 700; color: #fff; margin-bottom: .6rem; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1rem; padding-bottom: 1.5rem; font-size: .85rem; color: #9fb2be; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .calc-actions, .calc-aside { display: none; } .calc-shell { display: block; } }
