/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lånet – stilark. Identitet: Fjord (grangrønn + mynte) med Instrument Sans. */
:root {
  --ink: #13302e;
  --ink-soft: #3d5552;
  --muted: #5b6b67;
  --paper: #f3f6f4;
  --surface: #ffffff;
  --line: #d6dfdb;
  --line-strong: #b7c5bf;
  --action: #1d6a4c;
  --action-hover: #155139;
  --tint: #e3efe9;
  --mint: #9fd9be;
  --star: #c98a0b;
  --star-off: #cfd8d4;
  --focus: #0b63c5;

  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --track-tight: -0.025em;

  --r-sm: 6px;
  --r: 12px;
  --wrap: 1120px;
  --narrow: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--paper); font-variant-numeric: tabular-nums; }
img, svg { max-width: 100%; }
a { color: var(--action); text-underline-offset: 0.18em; }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; letter-spacing: var(--track-tight); }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.85rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow > * { max-width: var(--narrow); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* ---------- Header ---------- */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; color: var(--ink); flex: none; }
.brand-word { font-weight: 700; font-size: 1.6rem; letter-spacing: -0.04em; }
.brand-word span { color: var(--muted); font-weight: 600; }
.head-links { justify-self: end; display: flex; gap: 4px; }
.head-links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.head-links a:hover, .head-links a[aria-current="page"] { background: var(--tint); }
.head-links svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 640px) {
  .head-row { min-height: 60px; }
  .brand-word { font-size: 1.35rem; }
  .logo-mark { width: 28px; height: 28px; }
  .head-links a { padding: 10px; }
  .head-links a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.crumbs ol { list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }

/* ---------- Knapper ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 8px; background: var(--action); color: #fff; font: inherit; font-weight: 650; text-decoration: none; border: 0; font-size: 1rem; line-height: 1.2; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--action-hover); color: #fff; }
.btn-quiet { background: transparent; color: var(--action); box-shadow: inset 0 0 0 1.5px var(--action); }
.btn-quiet:hover { background: var(--tint); color: var(--action-hover); }
.btn-small { min-height: 38px; padding: 6px 14px; font-size: 0.93rem; }
.btn-big { width: 100%; min-height: 56px; font-size: 1.12rem; border-radius: 10px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Hero og modul ---------- */
.hero { padding: 44px 0 64px; background: linear-gradient(var(--surface) 0 230px, var(--paper) 230px); }
.hero-inner { max-width: 680px; margin: 0 auto; padding: 0 16px; }
.hero h1 { text-align: center; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin-bottom: 6px; letter-spacing: -0.035em; }
.hero-sub { text-align: center; color: var(--ink-soft); margin-bottom: 26px; }
.form-band { padding: 16px 0 24px; }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px 20px; box-shadow: 0 18px 40px -28px rgba(19, 48, 46, 0.45); }

/* Logo-rad */
.marquee { overflow: hidden; margin: -4px -24px 18px; padding: 2px 0 12px; border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Vurdering */
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--ink-soft); }
.stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 1px; }
.stars::before { content: "★★★★★"; color: var(--star-off); }
.stars::after { content: "★★★★★"; color: var(--star); position: absolute; left: 0; top: 0; width: var(--p); overflow: hidden; white-space: nowrap; }

/* Logo */
.logo-tile { display: flex; align-items: center; justify-content: center; width: 150px; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; flex: none; }
.logo-tile img { max-width: 132px; max-height: 34px; width: auto; height: auto; object-fit: contain; }
.logo-word { font-weight: 800; font-size: 1rem; letter-spacing: -0.01em; color: var(--ink); padding: 0 8px; text-align: center; line-height: 1.1; }
.logo-tile-sm { width: 128px; height: 42px; }
.logo-tile-sm .logo-word { font-size: 0.9rem; }

/* Produktvalg */
.ptabs { border: 0; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.ptab { position: relative; cursor: pointer; }
.ptab input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ptab-box { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; text-align: center; background: var(--surface); }
.ptab-box svg { width: 30px; height: 30px; }
.ptab:hover .ptab-box { border-color: var(--action); color: var(--ink); }
.ptab input:checked + .ptab-box { background: var(--ink); border-color: var(--ink); color: #fff; }
.ptab input:checked + .ptab-box svg { color: var(--mint); }
.ptab input:focus-visible + .ptab-box { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Beløp og nedbetaling */
.amount, .years { margin-bottom: 20px; }
.amount label, .years label, .field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.amount-input { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 4px 0 2px; }
.amount-input input { font: inherit; font-weight: 700; letter-spacing: -0.035em; font-size: clamp(2.3rem, 1.7rem + 2.6vw, 3.1rem); color: var(--ink); width: 7.2ch; text-align: center; border: 0; border-bottom: 2px solid var(--line); background: transparent; padding: 0 2px; }
.amount-input input:focus { outline: none; border-bottom-color: var(--action); }
.amount-input span { font-size: 1.5rem; color: var(--muted); }
.range { width: 100%; margin: 12px 0 2px; accent-color: var(--action); height: 28px; }
.range-ends { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); }
.years-head { display: flex; justify-content: space-between; align-items: baseline; }
.years-head label { margin: 0; }
.years-head output { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; }
.years .range { margin-top: 6px; }
.field-hint { font-size: 0.9rem; color: var(--muted); margin: -10px 0 16px; }

/* Kontakt */
.field { margin-bottom: 14px; min-width: 0; }
.field input { width: 100%; font: inherit; font-size: 1.02rem; color: var(--ink); padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); }
.field input:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--action); }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.field-wide { grid-column: 1 / -1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 0.88rem; color: var(--ink-soft); margin: 4px 0 18px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--action); }
.form-error { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--r-sm); background: #fdecea; color: #8a1c12; font-size: 0.93rem; }
.lead-legal { font-size: 0.85rem; color: var(--muted); margin: 12px 0 6px; text-align: center; }
.lead-example { font-size: 0.85rem; color: var(--ink-soft); margin: 0; text-align: center; }

/* Tilbydere inne i modulen */
.module-results:focus { outline: none; }
.mr-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mr-thanks { margin: 0; font-size: 0.88rem; color: var(--action-hover); font-weight: 600; }
.mr-summary { margin: 0; font-weight: 700; font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.025em; }
.mr-count { margin: 14px 0 2px; font-size: 0.95rem; color: var(--ink-soft); }
.mr-sort { margin: 0 0 14px; font-size: 0.82rem; color: var(--muted); }
.m-offers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.m-offer { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.m-offer[hidden] { display: none; }
.m-offer-top { display: flex; align-items: center; gap: 14px; }
.m-offer .logo-tile { width: 140px; }
.m-offer-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 0.88rem; color: var(--muted); }
.m-facts { margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; }
.m-facts dt { font-size: 0.78rem; color: var(--muted); }
.m-facts dd { margin: 0; font-weight: 600; font-size: 0.95rem; }
.m-example { margin: 10px 0 0; font-size: 0.85rem; border-top: 1px dashed var(--line); padding-top: 8px; }
.mr-none { background: var(--paper); padding: 14px; border-radius: var(--r-sm); }
.mr-help { margin: 16px 0 0; font-size: 0.85rem; color: var(--muted); }

@media (max-width: 560px) {
  .hero { padding-top: 24px; }
  .module { padding: 16px 14px; border-radius: 12px; }
  .marquee { margin: -4px -14px 16px; }
  .ptab-box { font-size: 0.82rem; padding: 12px 2px 10px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .m-offer-top { flex-wrap: wrap; }
  .m-offer .m-cta { width: 100%; order: 3; }
  .m-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mr-summary { font-size: 1.15rem; }
}

/* ---------- Store lister ---------- */
.home-list { padding-bottom: 32px; }
.compare { padding: 24px 0 8px; }
.compare-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }
.compare-head h2 { margin: 0; }
.sort { font-size: 0.93rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sort select { font: inherit; color: var(--ink); padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); max-width: 100%; }
.compare-note { font-size: 0.93rem; color: var(--muted); max-width: 80ch; margin: 10px 0 16px; }
.offers { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.offer { display: grid; grid-template-columns: 190px minmax(0, 1fr) 200px; grid-template-areas: "name facts cta" "ex ex ex"; gap: 14px 28px; align-items: center; background: var(--surface); border-bottom: 1px solid var(--line); padding: 20px 20px 16px; }
.offer-name { grid-area: name; display: flex; flex-direction: column; gap: 8px; }
.offer-facts { grid-area: facts; display: grid; grid-template-columns: 1.3fr 1.1fr 0.7fr 1fr; gap: 12px 20px; margin: 0; }
.offer-facts dt { font-size: 0.82rem; color: var(--muted); }
.offer-facts dd { margin: 0; font-weight: 600; }
.big-num { font-size: 1.15rem; letter-spacing: -0.02em; }
.offer-cta { grid-area: cta; display: flex; flex-direction: column; align-items: stretch; gap: 6px; text-align: center; }
.offer-more { font-size: 0.85rem; color: var(--muted); }
.offer-example { grid-area: ex; margin: 0; font-size: 0.93rem; border-top: 1px dashed var(--line); padding-top: 10px; }
@media (max-width: 960px) {
  .offer { grid-template-columns: 1fr; grid-template-areas: "name" "facts" "ex" "cta"; padding: 18px 16px; }
  .offer-name { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .offer-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- SEO-innhold på forsiden ---------- */
.seo { background: var(--surface); border-top: 1px solid var(--line); padding-top: 64px; }
.seo-intro { max-width: 64ch; color: var(--ink-soft); margin-bottom: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 2px solid var(--ink); }
.steps li { padding-top: 16px; }
.step-n { display: block; font-weight: 700; font-size: 1.8rem; color: var(--action); letter-spacing: -0.03em; }
.steps h3 { margin: 4px 0 6px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.seo-topics { padding-top: 48px; padding-bottom: 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.seo-topics h2 { font-size: 1.35rem; margin-bottom: 8px; }
.seo-topics p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 10px; }
.seo-topics a, .seo-cost a { font-weight: 600; }
.seo-cost { padding-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.seo-cost p { color: var(--ink-soft); font-size: 1rem; }
.cost-table { background: var(--paper); border-radius: 12px; overflow: hidden; }
.cost-table caption { text-align: left; font-size: 0.88rem; color: var(--muted); padding-bottom: 8px; }
.cost-table th { font-weight: 500; }
.cost-table td { text-align: right; font-weight: 700; }
.cost-table th, .cost-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cost-table tr:last-child th, .cost-table tr:last-child td { border-bottom: 0; }
.seo .faq { padding-bottom: 72px; }
.seo .faq-list { max-width: var(--narrow); }
@media (max-width: 760px) {
  .steps, .seo-topics, .seo-cost { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ---------- Generelt innhold ---------- */
.page-head { padding-top: 28px; padding-bottom: 4px; }
.page-head h1 { max-width: 30ch; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.byline { font-size: 0.9rem; color: var(--muted); }
.prose { padding-top: 32px; padding-bottom: 8px; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
table { border-collapse: collapse; width: 100%; background: var(--surface); font-size: 0.97rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { border-bottom: 2px solid var(--ink); font-size: 0.9rem; }
tbody th { font-weight: 600; }
.faq { padding-top: 48px; padding-bottom: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--action); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 16px; color: var(--ink-soft); }

/* ---------- Lånemegler-sider ---------- */
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-top: 24px; }
.review-facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.review-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.facts-table th { width: 48%; color: var(--ink-soft); }
.review-facts .offer-example { border-top: 0; padding: 12px 0 14px; }
.pros, .cons { list-style: none; padding: 0; }
.pros li, .cons li { padding-left: 26px; position: relative; margin-bottom: 6px; }
.pros li::before { content: "+"; position: absolute; left: 4px; color: var(--action); font-weight: 700; }
.cons li::before { content: "–"; position: absolute; left: 4px; color: #9a3b1e; font-weight: 700; }
@media (max-width: 860px) { .review-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Refinansieringskalkulator ---------- */
.refi-calc-wrap { padding-top: 24px; }
.refi-calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.refi-calc fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.refi-calc legend { font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.refi-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.refi-row label { display: block; min-width: 0; font-weight: 600; font-size: 0.93rem; }
.calc-input { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); margin-top: 6px; }
.calc-input:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }
.calc-input input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; font: inherit; font-size: 1.05rem; padding: 10px 12px; color: var(--ink); outline: none; }
.calc-input span { padding: 0 12px; color: var(--muted); font-size: 0.93rem; }
.calc-out { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.calc-out > div { background: var(--surface); padding: 12px 14px; }
.calc-out span { display: block; font-size: 0.85rem; color: var(--muted); }
.calc-out strong { font-size: 1.25rem; letter-spacing: -0.02em; }
.calc-note { grid-column: 1 / -1; font-size: 0.85rem; color: var(--muted); margin: 0; }
@media (max-width: 760px) { .refi-calc { grid-template-columns: minmax(0, 1fr); padding: 18px; } .calc-out { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Guider ---------- */
.guides { padding-top: 8px; padding-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 22px; font: inherit; font-size: 0.93rem; font-weight: 600; cursor: pointer; background: var(--surface); color: var(--ink-soft); border: 1.5px solid var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; background: var(--ink); color: #fff; border-radius: 16px; padding: 36px 40px; margin-bottom: 32px; text-decoration: none; }
.featured[hidden] { display: none; }
.featured:hover { color: #fff; }
.featured span { display: block; }
.f-topic { font-size: 0.88rem; color: var(--mint); font-weight: 600; margin-bottom: 8px; }
.f-title { font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.03em; margin-bottom: 10px; }
.f-desc { color: #d5e2dd; margin-bottom: 16px; }
.f-cta { display: inline-flex !important; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 650; width: max-content; }
.f-data { background: #1f4744; border-radius: 12px; padding: 22px 24px; }
.f-data p { margin: 0 0 12px; font-size: 0.88rem; color: #a9c2bb; }
.f-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; font-size: 0.95rem; }
.f-h { color: #a9c2bb; }
.guide-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line-strong); }
.guide-grid li { border-bottom: 1px solid var(--line); }
.guide-grid li[hidden] { display: none; }
.guide-grid a { display: block; padding: 22px 0; text-decoration: none; color: var(--ink); }
.guide-grid a span { display: block; }
.g-topic { display: block; font-size: 0.88rem; color: var(--action); font-weight: 600; margin-bottom: 4px; }
.g-title { font-weight: 700; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 6px; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.guide-grid a:hover .g-title { text-decoration-color: var(--action); }
.g-desc { color: var(--ink-soft); font-size: 1rem; }
.g-date { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }
.cta-band { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px; }
.cta-band h2 { margin: 0 0 4px; font-size: 1.5rem; }
.cta-band p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .featured, .guide-grid { grid-template-columns: minmax(0, 1fr); } .featured { padding: 24px; } }

.article-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 24px; padding-bottom: 48px; }
.article { flex: 999 1 560px; min-width: 0; max-width: 720px; }
.article h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.6rem); letter-spacing: -0.035em; }
.prose-article { padding-top: 8px; font-size: 1.06rem; line-height: 1.65; }
.prose-article .lead { font-size: 1.25rem; line-height: 1.55; }
.faq-article { padding-top: 32px; }
.article-aside { flex: 1 1 280px; display: flex; flex-direction: column; gap: 20px; padding-top: 48px; }
.aside-cta { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.aside-cta h2 { font-size: 1.25rem; margin-bottom: 6px; }
.aside-cta p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 14px; }
.aside-cta .btn { width: 100%; }
.aside-ex { margin: 10px 0 0 !important; font-size: 0.78rem !important; color: var(--muted) !important; }
.aside-related h2 { font-size: 0.93rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.aside-related a { display: block; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 600; }
.aside-related a:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #d5e2dd; font-size: 0.95rem; }
main { padding-bottom: 64px; }
main:has(> .seo:last-child) { padding-bottom: 0; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.site-foot h2 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 10px; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 6px; }
.brand-foot { color: #fff; margin-bottom: 12px; }
.brand-foot .logo-mark { color: #2d5a54; }
.brand-foot .brand-word span { color: #a9c2bb; }
.foot-legal { border-top: 1px solid #2c4a47; padding-top: 20px; padding-bottom: 32px; font-size: 0.88rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
