/* ============================================================
   findrix AI visibility audit report
   Vanilla CSS. Findrix brand: ink + pop lime + signal green,
   Fraunces display, Inter body, JetBrains Mono labels.
   ============================================================ */

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-2: #F4F4F2;
  --ink: #0A0A0A;
  --ink-2: #262626;
  --ink-3: #6B6B6B;
  --ink-4: #9A9A98;
  --line: #E7E7E4;
  --line-2: #F0F0EE;
  --primary: #00B25E;
  --primary-hi: #00E07A;
  --pop: #00FF88;
  --primary-ink: #00875A;
  --primary-soft: #ECFFF6;
  --pop-tint: #F0FFF8;
  --sand: #FFF7E6;
  --sand-ink: #8A5A00;
  --sand-strong: #FFB020;
  --error-soft: #FFF3EE;
  --error-ink: #B23410;
  --error-strong: #FF5C38;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(10, 10, 10, 0.04), 0 4px 14px rgba(10, 10, 10, 0.05);
  --shadow-2: 0 2px 6px rgba(10, 10, 10, 0.06), 0 16px 40px rgba(10, 10, 10, 0.10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --topbar-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
h1, h2 { font-family: var(--display); font-weight: 720; }
h1 { font-size: clamp(32px, 4.4vw, 48px); }
h2 { font-size: 24px; }
h3 { font-size: 16px; font-weight: 650; }
p { margin: 0; }

a { color: var(--primary-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: var(--font); cursor: pointer; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ top bar ============ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 750;
  letter-spacing: -0.01em;
  font-size: 17px;
  color: var(--ink);
}

.brand img { display: block; }

.topbar__site {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
}

.topbar__site .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.topbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ============ buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
  text-decoration: none !important;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-1);
}
.btn--primary:hover { background: #1F1F1F; }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--small { padding: 7px 14px; font-size: 13px; }

.btn--wide { width: 100%; }

/* ============ toggle switch ============ */

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: none;
  border: 0;
  padding: 6px 8px;
  border-radius: 8px;
}
.switch:hover { background: var(--surface-2); }

.switch__track {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.switch[aria-pressed="true"] .switch__track { background: var(--primary); }
.switch[aria-pressed="true"] .switch__track::after { transform: translateX(16px); }

/* ============ layout ============ */

.page { padding-top: 36px; padding-bottom: 72px; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.rail {
  position: sticky;
  top: calc(var(--topbar-h) + 24px);
  display: grid;
  gap: 16px;
}

/* ============ cards ============ */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.card__pad { padding: 24px; }

/* ============ hero ============ */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: 32px;
  overflow: hidden;
  position: relative;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-ink);
  margin-bottom: 12px;
}

.hero h1 { margin-bottom: 14px; max-width: 640px; }

.hero__narrative {
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 600px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.meta-chip {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}

/* score dial */

.score {
  width: 190px;
  text-align: center;
}

.score__ring { position: relative; width: 164px; height: 164px; margin: 0 auto; }

.score__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.score__track,
.score__fill {
  fill: none;
  stroke-width: 11;
}

.score__track { stroke: var(--line-2); }
.score__fill {
  stroke: url(#ring-grad);
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.score__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score__num {
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.score__of { font-size: 12px; color: var(--ink-3); font-weight: 550; margin-top: 4px; }

.score__verdict {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-ink);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-block;
}

/* ============ sections ============ */

.section { margin-top: 40px; }

.section__head { margin-bottom: 16px; }

.section__head h2 { display: flex; align-items: center; gap: 10px; }

.section__sub {
  color: var(--ink-3);
  font-size: 14px;
  margin-top: 6px;
  max-width: 640px;
}

.section__num {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--pop);
  border-radius: 8px;
  padding: 4px 8px;
  letter-spacing: 0.02em;
}

/* ============ category cards ============ */

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.cat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-1);
}

.cat__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }

.cat__name { font-size: 13px; font-weight: 700; }

.cat__pct {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.cat__note { font-size: 12px; color: var(--ink-3); font-weight: 550; }

.cat__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--line-2);
  margin: 12px 0 8px;
  overflow: hidden;
}

.cat__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-hi), var(--primary));
  width: 0;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.cat__checks { font-size: 12.5px; color: var(--ink-3); }

/* ============ status chips ============ */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chip--pass { background: var(--primary-soft); color: var(--primary-ink); }
.chip--warn { background: var(--sand); color: var(--sand-ink); }
.chip--fail { background: var(--error-soft); color: var(--error-ink); }

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--surface);
  white-space: nowrap;
  flex-shrink: 0;
}

.tag--p1 { color: var(--error-ink); border-color: #F2C9BC; background: var(--error-soft); }
.tag--long { color: var(--sand-ink); border-color: #F0DEB0; background: var(--sand); }

/* ============ policy card ============ */

.policy {
  margin-top: 40px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.policy__head {
  background: linear-gradient(120deg, var(--ink), #0F2E1F);
  color: #fff;
  padding: 20px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.policy__head h2 { font-size: 17px; }
.policy__head p { font-size: 13.5px; opacity: 0.8; margin-left: auto; }

.policy__body { padding: 24px 26px 20px; }

.policy__q { font-size: 15px; font-weight: 650; margin-bottom: 14px; }

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.seg__opt {
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 16px;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.seg__opt:hover { border-color: var(--primary); }

.seg__opt--on { border-color: var(--primary); background: var(--primary-soft); }

.seg__opt-label { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }

.seg__opt-desc { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }

.seg__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.seg__opt--on .seg__dot { border-color: var(--primary); }
.seg__opt--on .seg__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

.policy__note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  border: 1px solid var(--line);
}

/* ============ plan ============ */

.plan__roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.plan__role {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.plan__role-head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan__role-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-ink);
  flex-shrink: 0;
}

.plan__role-icon svg { display: block; }

.plan__role-name { font-size: 14px; font-weight: 700; }

.plan__role-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.plan__items { padding: 8px 18px 14px; }

.plan-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.plan-item:last-child { border-bottom: 0; }

.plan-item input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--line);
  margin: 2px 0 0;
  flex-shrink: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.plan-item input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.plan-item input[type="checkbox"]:checked::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.plan-item.is-done .plan-item__title { color: var(--ink-3); text-decoration: line-through; }

.plan-item__title { font-size: 13.5px; font-weight: 550; line-height: 1.45; }

.plan-item__p { font-size: 10.5px; margin-left: 8px; }

.plan-item.is-policy-blocked { opacity: 0.55; }
.plan-item.is-policy-blocked .plan-item__title { text-decoration: line-through; }

/* ============ gaps ============ */

.gaps { display: grid; gap: 16px; }

.gap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.gap__rank {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.gap__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.gap__title { font-size: 15px; font-weight: 650; }

.gap__impact { font-size: 13.5px; color: var(--ink-2); margin-top: 5px; max-width: 720px; }

.gap__action {
  margin-top: 9px;
  font-size: 13.5px;
}

.gap__action b { color: var(--ink); font-weight: 650; }

/* ============ long term ============ */

.longterm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============ checklist ============ */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }

.filter {
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 7px 14px;
  transition: all 0.12s ease;
}

.filter:hover { border-color: var(--primary); }

.filter--on { background: var(--ink); border-color: var(--ink); color: #fff; }

.filter__count { opacity: 0.7; font-weight: 600; }

.cat-groups { display: grid; gap: 18px; }

.cat-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); overflow: hidden; }

.cat-group__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.cat-group__name { font-weight: 700; font-size: 14px; }
.cat-group__score {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-ink);
  font-variant-numeric: tabular-nums;
}
.cat-group__count { font-size: 12px; color: var(--ink-3); }

.check {
  border-bottom: 1px solid var(--line);
}

.check:last-child { border-bottom: 0; }

.check summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.12s ease;
}

.check summary::-webkit-details-marker { display: none; }

.check summary:hover { background: var(--surface-2); }

.check__title { font-size: 14px; font-weight: 550; min-width: 0; order: 3; }
.check summary .chip { order: 1; }
.check summary .tag { order: 2; }
.check__chev { order: 4; }

.check__chev {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  transition: transform 0.18s ease;
  flex-shrink: 0;
}

.check[open] .check__chev { transform: rotate(180deg); }

.check__body {
  padding: 18px 20px 20px;
  color: var(--ink-2);
  font-size: 14px;
  max-width: 780px;
}

.check__body p { margin-bottom: 8px; }
.check__body p:last-child { margin-bottom: 0; }
.check__body b { color: var(--ink); }

.check.is-filtered-out { display: none; }

/* ============ code blocks ============ */

.snippet {
  display: none;
  margin-top: 12px;
}

.impl-on .snippet { display: block; }

.code {
  background: #0A0A0A;
  color: #E9F2EC;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
}

.code .c { color: #6E8B7B; }
.code .k { color: var(--primary-hi); }

.impl-note {
  display: none;
  font-size: 12.5px;
  color: var(--primary-ink);
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 10px;
}

.impl-on .impl-note { display: block; }

/* ============ rail ============ */

.rail-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: 20px; }

.rail-card__title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.rail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.rail-stat { background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px; text-align: center; }

.rail-stat b {
  display: block;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.rail-stat span { font-size: 11px; color: var(--ink-3); font-weight: 550; }

.rail-stat--pass b { color: var(--primary-ink); }
.rail-stat--warn b { color: var(--sand-ink); }
.rail-stat--fail b { color: var(--error-ink); }

.rail-cta { background: linear-gradient(160deg, #0A0A0A, #0F2E1F); color: #fff; }

.rail-cta h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }

.rail-cta p { font-size: 13.5px; opacity: 0.88; line-height: 1.55; }

.rail-cta .btn--primary { background: var(--pop); color: var(--ink); }
.rail-cta .btn--primary:hover { background: var(--primary-hi); }

.rail-cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.rail-cta .btn--ghost:hover { border-color: var(--pop); }

.rail-cta__fine { font-size: 11.5px; opacity: 0.7; text-align: center; margin-top: 10px; }

.rail-cta__btns { display: grid; gap: 9px; margin-top: 16px; }

/* ============ bottom bar ============ */

.bottombar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  align-items: center;
  gap: 14px;
}

.bottombar .btn { margin-left: auto; }

.bottombar__score { font-size: 13px; font-weight: 700; }
.bottombar__score span { color: var(--primary-ink); }

/* ============ floating filter ============ */

.float-btn {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 46;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: var(--pop);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.float-btn svg { display: block; }

.float-btn--on { display: inline-flex; }

.float-pop {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 136px;
  z-index: 46;
  width: min(320px, calc(100vw - 36px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  padding: 12px;
  flex-direction: column;
  gap: 10px;
}

.float-pop--open { display: flex; }

.float-pop__group { display: flex; flex-wrap: wrap; gap: 8px; }
.float-pop .filter { white-space: nowrap; }

/* ============ footer ============ */

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--ink-3);
  font-size: 13px;
}

.footer__inner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

.footer .brand { font-size: 15px; color: var(--ink-2); }

/* ============ responsive ============ */

@media (max-width: 1020px) {
  .layout { grid-template-columns: 1fr; }
  .rail { position: static; grid-template-columns: 1fr 1fr; }
  .plan__roles { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding: 26px; }
  .score { width: 100%; }
  .cats { grid-template-columns: 1fr; }
  .longterm { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr; }
  .gap__head .gap__title { flex-basis: 100%; }
  .check summary { flex-wrap: wrap; }
  .check summary .check__chev { order: 3; margin-left: auto; }
  .check summary .check__title { order: 4; flex-basis: 100%; }
  .topbar__site { display: none; }
  .topbar__actions .switch-label { display: none; }
  .bottombar { display: flex; }
  .policy__head p { margin-left: 0; }
  body { padding-bottom: 70px; }
}

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

@media (min-width: 721px) {
  .float-btn, .float-pop { display: none !important; }
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
