/* Fridge Filter Fit — Ice-Box & Kitchen Appliance Lab */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --frost: #F4F7FA;
  --frost-2: #EEF2F6;
  --steel: #E2E8F0;
  --steel-2: #CBD5E1;
  --steel-3: #94A3B8;
  --ice: #0284C7;
  --ice-deep: #0369A1;
  --ice-ink: #075985;
  --ice-soft: #E0F2FE;
  --ice-mid: #7DD3FC;
  --slate: #0F172A;
  --slate-2: #1E293B;
  --slate-3: #334155;
  --muted: #64748B;
  --mint: #059669;
  --mint-soft: #ECFDF5;
  --mint-ink: #047857;
  --amber: #B45309;
  --amber-soft: #FFFBEB;
  --rose: #BE123C;
  --rose-soft: #FFF1F2;
  --white: #FFFFFF;
  --shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 1px 0 rgba(15, 23, 42, 0.05), 0 4px 14px rgba(15, 23, 42, 0.05);
  --radius: 6px;
  --radius-sm: 3px;
  --radius-lg: 12px;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --display: "Manrope", "DM Sans", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
  --max: 1120px;
  --header-h: 64px;
  --hairline: 1px solid var(--steel);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--frost);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  overflow-x: hidden;
}
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
svg.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: block;
}
svg.icon-sm { width: 16px; height: 16px; flex: 0 0 auto; }
svg.icon-lg { width: 28px; height: 28px; flex: 0 0 auto; }
svg.logo-mark { width: 28px; height: 28px; flex: 0 0 auto; }
svg.diagram {
  width: 100%;
  height: auto;
  max-width: 360px;
  margin-inline: auto;
}
a { color: var(--ice-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ice); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}
.wrap-wide { width: min(100% - 32px, 1240px); margin-inline: auto; }

/* ---------- Header ---------- */
.topbar {
  background: var(--slate);
  color: #E2E8F0;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
}
.topbar a { color: var(--ice-mid); }
.topbar .ftc { color: #94A3B8; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 247, 250, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: var(--hairline);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate);
  min-width: 0;
}
.brand:hover { color: var(--slate); }
.brand-text { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}
.brand-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
}
.nav a {
  text-decoration: none;
  color: var(--slate-3);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--ice-ink);
  background: var(--ice-soft);
}
.nav-toggle {
  display: none;
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius-sm);
  padding: 7px;
  color: var(--slate);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: var(--hairline);
    padding: 8px 16px 14px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-sm);
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 8px; }
}

/* ---------- Steel panels ---------- */
.steel-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.72) 38%, var(--frost-2)),
    repeating-linear-gradient(90deg, rgba(15,23,42,0.035) 0 1px, transparent 1px 6px);
  border: 1px solid var(--steel-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.steel-inset {
  background: var(--slate);
  color: #F8FAFC;
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 0 0 1px rgba(0,0,0,0.35);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 36px 0 28px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 280px at 80% -10%, rgba(2, 132, 199, 0.10), transparent 60%),
    radial-gradient(500px 200px at 10% 110%, rgba(5, 150, 105, 0.07), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 0.92fr 1.08fr; align-items: start; gap: 36px; }
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice-ink);
  background: var(--ice-soft);
  border: 1px solid #BAE6FD;
  padding: 4px 9px;
  border-radius: 999px;
  margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 750;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  color: var(--slate);
}
.lede {
  font-size: 1.05rem;
  color: var(--slate-3);
  margin: 0 0 22px;
  max-width: 42rem;
}
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stat {
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius);
  padding: 10px 14px;
  min-width: 0;
  box-shadow: var(--shadow-sm);
}
.stat b {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--slate);
  letter-spacing: -0.02em;
}
.stat span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Finder (appliance control panel) ---------- */
.finder-panel { padding: 18px 18px 16px; }
.panel-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.panel-label h2, .section-head h2, .page-hero h1 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  margin: 0;
}
.panel-label h2 { font-size: 1.05rem; font-weight: 700; }
.panel-label .hint, .muted, .fine {
  color: var(--muted);
  font-size: 13px;
}
.led-field {
  background: #07111F;
  border-radius: 8px;
  padding: 12px 14px 10px;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.18), inset 0 8px 24px rgba(0,0,0,0.35);
  margin-bottom: 14px;
}
.led-field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7DD3FC;
  margin-bottom: 6px;
}
.led-field input {
  width: 100%;
  max-width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: #E0F2FE;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--mono);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0;
  caret-color: var(--ice-mid);
}
.led-field input::placeholder { color: #334155; text-transform: none; letter-spacing: 0.02em; font-size: 0.95rem; }
.filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (min-width: 640px) {
  .filters { grid-template-columns: 1.2fr 1fr; }
}
.filter-block label, .calc-block label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-3);
  margin-bottom: 6px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}
.pill {
  appearance: none;
  background: var(--white);
  border: 1px solid var(--steel-2);
  color: var(--slate-2);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pill:hover { border-color: var(--ice); color: var(--ice-ink); }
.pill.is-on, .pill[aria-pressed="true"] {
  background: var(--ice);
  border-color: var(--ice);
  color: white;
}
select.steel, input.steel {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--steel-2);
  border-radius: var(--radius);
  padding: 8px 10px;
  min-height: 40px;
}
.results-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  font-size: 12.5px;
  color: var(--muted);
  margin: 4px 0 8px;
}
.result-list { display: flex; flex-direction: column; gap: 6px; }
.result-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 16px;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.result-row:hover {
  border-color: var(--ice);
  color: inherit;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}
@media (min-width: 640px) {
  .result-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; }
}
.model-badge {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  background: var(--slate);
  color: #F0F9FF;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}
.model-badge.light {
  background: var(--frost-2);
  color: var(--slate);
  border: 1px solid var(--steel-2);
}
.result-row .who { font-weight: 650; font-size: 14px; }
.result-row .meta {
  font-size: 12.5px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.result-empty {
  padding: 16px;
  background: var(--white);
  border: 1px dashed var(--steel-2);
  border-radius: var(--radius);
  color: var(--slate-3);
  font-size: 14px;
}
.result-empty .amz-row { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
[hidden] { display: none !important; }
.more-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--steel-2);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-weight: 650;
  font-size: 13.5px;
  color: var(--slate);
  text-decoration: none;
}
.more-btn:hover, .btn:hover { border-color: var(--ice); color: var(--ice-ink); }
.btn-ice {
  background: var(--ice);
  border-color: var(--ice);
  color: white;
}
.btn-ice:hover { background: var(--ice-deep); border-color: var(--ice-deep); color: white; }
.btn-mint {
  background: var(--mint);
  border-color: var(--mint);
  color: white;
}
.btn-mint:hover { background: var(--mint-ink); color: white; }

/* ---------- Cadence lab ---------- */
.lab-section { padding: 8px 0 48px; }
.lab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 960px) {
  .lab-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.lab-card { padding: 20px; }
.lab-card h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}
.lab-intro { margin: 0 0 16px; color: var(--slate-3); font-size: 14.5px; }
.calc-controls { display: grid; gap: 14px; }
.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seg button {
  min-width: 42px;
  background: var(--white);
  border: 1px solid var(--steel-2);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}
.seg button.is-on {
  background: var(--slate);
  border-color: var(--slate);
  color: white;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--ice);
}
.range-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.range-row b { color: var(--slate); font-family: var(--mono); font-weight: 500; }

.gauge-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  margin: 18px 0 8px;
}
@media (max-width: 480px) {
  .gauge-row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
.gauge {
  width: 132px;
  height: 132px;
}
.gauge svg { width: 132px; height: 132px; }
.gauge-copy h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.gauge-copy p { margin: 0; font-size: 13.5px; color: var(--slate-3); }
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 420px) { .cost-grid { grid-template-columns: 1fr; } }
.cost-card {
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius);
  padding: 12px;
}
.cost-card .lbl {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
.cost-card .amt {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 4px 0 2px;
}
.cost-card.oem .amt { color: var(--amber); }
.cost-card.nsf .amt { color: var(--mint-ink); }
.cost-card p { margin: 0; font-size: 12px; color: var(--muted); }
.disclaimer {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Maintenance map ---------- */
.map-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
@media (min-width: 700px) {
  .map-layout { grid-template-columns: minmax(200px, 280px) 1fr; }
}
.fridge-stage {
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  justify-content: center;
}
.part-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.part-card {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: start;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 10px 10px;
  color: inherit;
  text-decoration: none;
  width: 100%;
}
.part-card:hover, .part-card.is-on {
  border-color: var(--ice);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
  color: inherit;
}
.part-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--slate);
  color: white;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.part-card.is-on .part-num { background: var(--ice); }
.part-card h3 { margin: 0; font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; }
.part-card p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.hotspot-dot {
  cursor: pointer;
}
.hotspot-dot:hover circle, .hotspot-dot.is-on circle {
  fill: #0284C7;
}

/* ---------- Sections / cards ---------- */
.section { padding: 12px 0 48px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.section-head h2 { font-size: 1.45rem; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.step .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice);
  font-weight: 500;
}
.step h3 {
  font-family: var(--display);
  margin: 6px 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.step p { margin: 0; color: var(--slate-3); font-size: 14.5px; }

.brand-grid, .type-grid, .guide-grid, .amz-grid, .spec-grid, .similar-grid {
  display: grid;
  gap: 10px;
}
.brand-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.type-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.guide-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.amz-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.spec-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.similar-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius);
  padding: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.tile:hover { border-color: var(--ice); color: inherit; }
.tile h3, .tile .name {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.tile .count, .tile .sub {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

.amz {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--steel-2);
  border-radius: var(--radius);
  padding: 9px 11px;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.amz:hover { border-color: var(--ice); color: var(--ice-ink); }
.amz.block { display: flex; width: 100%; justify-content: space-between; align-items: flex-start; }
.amz .go { color: var(--ice); font-family: var(--mono); font-size: 11px; flex: 0 0 auto; }

/* ---------- Page chrome ---------- */
.page-hero { padding: 28px 0 10px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ice-deep); }
.crumbs span { overflow-wrap: anywhere; }
.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 8px;
}
.page-hero .lede { margin-bottom: 12px; }

.spec-plate { padding: 20px; margin: 8px 0 24px; }
.spec-plate-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.spec-plate-top h1 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: 0 0 6px;
  line-height: 1.25;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--steel-2);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 650;
}
.copy-btn.copied { border-color: var(--mint); color: var(--mint-ink); background: var(--mint-soft); }
.flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 650;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--frost-2);
  border: 1px solid var(--steel);
  color: var(--slate-3);
  max-width: 100%;
}
.flag.mint { background: var(--mint-soft); border-color: #A7F3D0; color: var(--mint-ink); }
.flag.ice { background: var(--ice-soft); border-color: #BAE6FD; color: var(--ice-ink); }
.flag.amber { background: var(--amber-soft); border-color: #FDE68A; color: var(--amber); }
.flag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }

.spec-item .k {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
.spec-item .v {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.record {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13.5px;
}
.record th, .record td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: var(--hairline);
  vertical-align: top;
}
.record th {
  width: 38%;
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
  letter-spacing: 0.03em;
}
.record td { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; max-width: 100%; border-radius: var(--radius); }
.table-wrap table { min-width: 480px; width: 100%; }

.callout {
  background: var(--ice-soft);
  border: 1px solid #BAE6FD;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--slate-2);
  margin: 0 0 16px;
}
.callout.warn {
  background: var(--amber-soft);
  border-color: #FDE68A;
}

.prose { max-width: 42rem; }
.prose h2 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  font-size: 1.35rem;
  margin: 1.6em 0 0.5em;
}
.prose h3 { font-size: 1.05rem; margin: 1.3em 0 0.4em; }
.prose p, .prose li { color: var(--slate-2); }
.prose ul { padding-left: 1.2em; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: var(--hairline);
  background: var(--white);
  padding: 36px 0 28px;
  margin-top: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.site-footer h2 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
  font-weight: 500;
}
.site-footer a { display: inline-block; color: var(--slate-3); text-decoration: none; margin: 3px 0; }
.site-footer a:hover { color: var(--ice-deep); }
.legal {
  margin-top: 24px;
  padding-top: 16px;
  border-top: var(--hairline);
  font-size: 12px;
  color: var(--muted);
}
.legal p { margin: 0 0 8px; }

/* ---------- Misc ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.note-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 20px;
}
.toc a { margin-right: 12px; }
