/* Rate Check HQ — styles */
:root {
  --bg: #f4f6f1;
  --surface: #ffffff;
  --ink: #0c2629;
  --ink-2: #33494c;
  --muted: #5f7275;
  --line: #dde3dc;
  --line-2: #c9d2c9;
  --teal: #0e5a5c;
  --teal-2: #13777a;
  --teal-soft: #e3efeb;
  --lime: #c9f26a;
  --lime-2: #b4e04a;
  --coral: #ff7a59;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(12, 38, 41, .05), 0 8px 24px -12px rgba(12, 38, 41, .18);
  --max: 1200px;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-2); }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 600; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 246, 241, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand-name .hq { display: inline-block; font-family: var(--font-mono); font-weight: 500; font-size: .66rem; letter-spacing: .06em; background: var(--ink); color: var(--lime); padding: 3px 6px 2px; border-radius: 6px; margin-left: 4px; vertical-align: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { font-weight: 500; font-size: .96rem; color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--teal-soft); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(120, 170, 20, .7); }
.btn-lime:hover { background: var(--lime-2); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--teal); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn svg { width: 18px; height: 18px; }
.header-cta { flex-shrink: 0; }
@media (max-width: 900px) {
  .header-row { height: auto; flex-wrap: wrap; padding: 12px 0 0; gap: 8px 12px; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px 0 10px; margin: 0 -4px; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 7px 12px; font-size: .92rem; background: var(--surface); border: 1px solid var(--line); }
}
@media (max-width: 400px) { .brand-name { font-size: 1.05rem; } .header-cta { padding: 9px 13px; font-size: .86rem; } }

/* Chips / eyebrows */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-2); box-shadow: 0 0 0 4px rgba(201, 242, 106, .35); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 500; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line); padding: 9px 15px; border-radius: 999px; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--teal); background: var(--teal-soft); color: var(--ink); }
.chip svg { width: 16px; height: 16px; color: var(--teal); }
.tag { display: inline-block; font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); background: var(--teal-soft); padding: 4px 9px; border-radius: 6px; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 2px; }
.hero-lede { font-size: 1.16rem; color: var(--ink-2); max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--teal-2); flex-shrink: 0; }
.hero-visual { position: relative; }
.hero-photo { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); background: var(--teal-soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.rate-card { position: absolute; left: -32px; bottom: -28px; width: min(300px, 78%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 40px -20px rgba(12, 38, 41, .35); padding: 18px 18px 16px; }
.rate-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rate-card-head strong { font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.rate-card-head span { font-family: var(--font-mono); font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: .86rem; margin-bottom: 9px; }
.meter b { font-weight: 500; color: var(--ink-2); }
.meter i { font-style: normal; font-family: var(--font-mono); font-size: .7rem; color: var(--muted); }
.meter .bar { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: #edf1ec; overflow: hidden; }
.meter .bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--teal-2)); }
.meter .bar span.hi { background: linear-gradient(90deg, var(--teal-2), var(--lime-2)); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .rate-card { left: 16px; bottom: -24px; }
  .hero-visual { margin-bottom: 24px; }
}
@media (max-width: 520px) { .hero { padding-top: 32px; } .hero-lede { font-size: 1.06rem; } .rate-card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -40px; margin-left: 0; } .hero-photo { margin: 0 0 0; } .hero-visual { margin-bottom: 0; } }

/* Sections */
.section { padding: 64px 0; }
.section-tight { padding: 32px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { color: var(--ink-2); max-width: 36em; margin: 0; }
.section-head h2 { margin-bottom: 8px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-label { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

/* Check band */
.check-band { position: relative; overflow: hidden; background: var(--ink); color: #e9f1ee; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.check-band::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(201, 242, 106, .08); pointer-events: none; }
.check-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.check-band h2 span { color: var(--lime); }
.check-band p { color: #b9cdc9; font-size: 1.06rem; }
.check-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.check-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; padding: 14px 16px; }
.check-steps .n { width: 40px; height: 40px; border-radius: 12px; background: var(--lime); color: var(--ink); font-family: var(--font-mono); font-weight: 500; display: grid; place-items: center; font-size: .95rem; }
.check-steps strong { display: block; color: #fff; font-weight: 600; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 2px; }
.check-steps span.d { color: #a9c0bb; font-size: .94rem; line-height: 1.5; }
.check-band .btn { margin-top: 8px; }
.fine { font-size: .8rem; color: #8ea9a4; margin: 14px 0 0; }
@media (max-width: 860px) { .check-band { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 22px; gap: 28px; } }

/* Factors */
.factor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.factor { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.factor-top { display: flex; align-items: center; justify-content: space-between; }
.factor-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.factor-icon svg { width: 24px; height: 24px; }
.factor .lvl { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.factor h3 { margin: 4px 0 0; font-size: 1.08rem; }
.factor p { font-size: .94rem; color: var(--ink-2); margin: 0; line-height: 1.55; }
.factor .you { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: .84rem; color: var(--teal); font-weight: 600; }
@media (max-width: 1080px) { .factor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .factor-grid { grid-template-columns: 1fr; } }

/* Guide cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); color: var(--ink); }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--teal-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body .tag { align-self: flex-start; }
.card-body h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.card-body p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.card-meta { margin-top: auto; padding-top: 6px; font-size: .82rem; color: var(--muted); display: flex; gap: 10px; }
.card-feature { grid-column: span 2; flex-direction: row; }
.card-feature .card-img { aspect-ratio: auto; flex: 1.2; min-height: 100%; }
.card-feature .card-body { flex: 1; padding: 28px; justify-content: center; }
.card-feature h3 { font-size: 1.6rem; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } .card-feature { grid-column: span 2; } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } .card-feature { grid-column: auto; flex-direction: column; } .card-feature .card-img { aspect-ratio: 3 / 2; } .card-feature .card-body { padding: 20px; } .card-feature h3 { font-size: 1.3rem; } }

/* Checklist split */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .box { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--teal-2); display: grid; place-items: center; color: var(--teal); margin-top: 2px; }
.checklist .box svg { width: 15px; height: 15px; }
.checklist strong { font-weight: 600; display: block; }
.checklist span.d { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* Page header (inner pages) */
.page-head { padding: 52px 0 28px; }
.page-head p.lede { font-size: 1.14rem; color: var(--ink-2); max-width: 40em; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }
.crumbs span { margin: 0 6px; }

/* Article */
.article-head { padding: 44px 0 28px; max-width: 860px; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 14px 0 16px; }
.dek { font-size: 1.2rem; color: var(--ink-2); line-height: 1.55; margin-bottom: 22px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .92rem; color: var(--muted); }
.byline .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.byline .avatar svg { width: 20px; height: 20px; }
.byline strong { color: var(--ink); font-weight: 600; }
.byline .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.article-hero { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--teal-soft); margin-bottom: 8px; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; padding: 32px 0 24px; }
.prose { max-width: 720px; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin: 1.9em 0 .55em; scroll-margin-top: 90px; }
.prose h3 { margin: 1.5em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--teal-2); }
.prose strong { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .96rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-head); font-weight: 600; background: var(--teal-soft); }
.prose tr:last-child td { border-bottom: 0; }
.summary-box { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--lime-2); border-radius: var(--radius-sm); padding: 22px 24px 10px; margin: 0 0 1.8em; }
.summary-box .label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--teal); margin: 0 0 10px; display: block; }
.summary-box ul { margin: 0 0 12px; padding-left: 1.2em; }
.summary-box li { font-size: 1rem; }
.callout { background: var(--teal-soft); border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.4em 0; font-size: 1rem; }
.callout strong { color: var(--teal); }
.inline-check { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--ink); color: #dce9e5; border-radius: var(--radius); padding: 22px 26px; margin: 2em 0; }
.inline-check strong { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1.2rem; display: block; }
.inline-check span { font-size: .95rem; color: #a9c0bb; }
.toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 18px; }
.toc-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.toc-box h2 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 500; }
.toc-box ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: t; }
.toc-box li { counter-increment: t; }
.toc-box a { display: grid; grid-template-columns: 26px 1fr; font-size: .92rem; color: var(--ink-2); text-decoration: none; padding: 5px 0; line-height: 1.4; }
.toc-box a::before { content: counter(t, decimal-leading-zero); font-family: var(--font-mono); font-size: .74rem; color: var(--teal-2); padding-top: 2px; }
.toc-box a:hover { color: var(--teal); }
.toc-cta { background: var(--lime); border-radius: var(--radius); padding: 20px; }
.toc-cta strong { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; display: block; margin-bottom: 6px; }
.toc-cta p { font-size: .92rem; margin: 0 0 14px; color: var(--ink-2); }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; order: -1; } .toc-cta { display: none; } }
@media (max-width: 520px) { .byline .sep { display: none; } }
@media (max-width: 640px) { .article-hero { aspect-ratio: 3 / 2; border-radius: 18px; } .prose { font-size: 1.04rem; } .dek { font-size: 1.08rem; } }
.related { padding: 40px 0 64px; }
.related h2 { font-size: 1.6rem; margin-bottom: 20px; }
.article-note { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 2.2em; }

/* Guides list */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.guide-list { display: grid; gap: 16px; }
.guide-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; scroll-margin-top: 100px; }
.guide-row:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--ink); }
.guide-row .thumb { border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--teal-soft); }
.guide-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.guide-row h2 { font-size: 1.3rem; margin: 8px 0 6px; }
.guide-row p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.guide-row .go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; margin-right: 10px; color: var(--teal); }
.guide-row .go svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .guide-row { grid-template-columns: 1fr; gap: 12px; padding: 12px 12px 18px; } .guide-row .go { display: none; } .guide-row > div:not(.thumb) { padding: 0 6px; } }

/* Legal / simple pages */
.legal { max-width: 780px; padding-bottom: 64px; }
.legal h2 { font-size: 1.45rem; margin: 2em 0 .5em; }
.legal h3 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.legal .updated { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); letter-spacing: .03em; }
.address-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; font-style: normal; line-height: 1.7; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; padding-bottom: 72px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.contact-card .factor-icon { width: 44px; height: 44px; }
.contact-card h2 { font-size: 1.05rem; margin: 0 0 4px; }
.contact-card p, .contact-card address { margin: 0; font-style: normal; color: var(--ink-2); font-size: .98rem; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.form h2 { font-size: 1.4rem; margin: 0; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .94rem; }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(19, 119, 122, .14); background: #fff; }
.form textarea { min-height: 140px; resize: vertical; }
.form .note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } .form { padding: 20px; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 40px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.value h3 { font-size: 1.1rem; margin: 12px 0 6px; }
.value p { font-size: .95rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

.notfound { text-align: center; padding: 80px 0 100px; }
.notfound .code { font-family: var(--font-mono); font-size: .9rem; color: var(--teal); letter-spacing: .1em; }
.notfound h1 { margin: 12px auto 16px; max-width: 14em; }
.notfound p { color: var(--ink-2); max-width: 32em; margin: 0 auto 28px; }
.notfound .hero-actions { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h2 { font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--teal); text-decoration: underline; }
.footer-about p { color: var(--ink-2); max-width: 26em; margin: 14px 0 0; }
.footer-legal { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 14px; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal nav a { color: var(--ink); font-weight: 500; text-decoration: none; }
.footer-legal nav a:hover { color: var(--teal); text-decoration: underline; }
.footer-disclosure { color: var(--muted); font-size: .86rem; margin: 0; max-width: 64em; }
.footer-copy { color: var(--muted); font-size: .86rem; margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
