:root {
  --bg: oklch(0.925 0.003 250);
  --bg-soft: oklch(0.955 0.003 260);
  --bg-softer: oklch(0.965 0.003 260);
  --surface: #ffffff;
  --text: oklch(0.22 0.008 260);
  --text-2: oklch(0.28 0.01 260);
  --text-3: oklch(0.4 0.01 260);
  --muted: oklch(0.45 0.01 260);
  --muted-2: oklch(0.5 0.01 260);
  --border: oklch(0.85 0.004 260);
  --border-2: oklch(0.9 0.004 260);
  --border-3: oklch(0.82 0.004 260);
  --accent: oklch(0.44 0.14 268);
  --accent-hover: oklch(0.34 0.14 268);
  --ok: oklch(0.55 0.14 150);
  --warn: oklch(0.55 0.13 62);
  --warn-bright: oklch(0.66 0.15 65);
  --fail: oklch(0.52 0.19 25);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
button { font: inherit; }

/* ---------- Header bar ---------- */
.app-header {
  background: var(--surface);
  border-bottom: 4px solid var(--accent);
}
.app-header__inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand__mark {
  width: 26px; height: 26px; border-radius: 50%;
  border: 4px solid var(--accent);
  display: inline-block;
}
.brand__name {
  font-size: 16px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; white-space: nowrap;
}
.brand__tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-2);
}

.app-nav { display: flex; align-items: center; gap: 16px; font-size: 13.5px; }
.app-nav__user { color: var(--muted); }
.app-nav__link { color: var(--accent); font-weight: 600; text-decoration: none; }
.app-nav__link:hover { color: var(--accent-hover); text-decoration: underline; }
.logout-form { margin: 0; display: inline; }
.logout-btn {
  all: unset; cursor: pointer;
  color: var(--accent); font-weight: 600;
}
.logout-btn:hover { color: var(--accent-hover); text-decoration: underline; }

/* ---------- Layout ---------- */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 336px);
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 22px 24px;
}
.card--tight { padding: 18px; }
.card__title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.card__title--lg { font-size: 25px; letter-spacing: -0.02em; }
.card__title--sm { font-size: 18px; }
.card__sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.card__meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 32px 28px;
}
.auth-card__eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.auth-card__title {
  margin: 0 0 6px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.auth-card__lead {
  font-size: 14.5px;
  color: var(--text-3);
  margin: 0 0 22px;
  max-width: 42ch;
}
.auth-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-2);
  font-size: 13.5px;
  color: var(--text-3);
}

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.field__hint {
  font-size: 12.5px;
  color: var(--muted);
}
.field__error {
  font-size: 13px;
  color: var(--fail);
  font-weight: 500;
}
.input {
  font: inherit;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.44 0.14 268 / 0.15);
}
.input--mono { font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; }

.check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-3);
  user-select: none;
}
.check input { accent-color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
  transition: background 120ms ease, border-color 120ms ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--block { display: flex; width: 100%; box-sizing: border-box; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--bg-softer); color: var(--text); border-color: var(--accent); }
.btn--danger { background: var(--fail); border-color: var(--fail); }
.btn--danger:hover { background: oklch(0.42 0.19 25); border-color: oklch(0.42 0.19 25); }

/* ---------- Toggle group ---------- */
.toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  overflow: hidden;
}
.toggle a, .toggle button {
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-3);
  background: var(--surface);
  border: none;
  border-right: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
}
.toggle a:last-child, .toggle button:last-child { border-right: 0; }
.toggle a.is-active, .toggle button.is-active {
  background: var(--accent);
  color: white;
}

/* ---------- Alerts ---------- */
.alert {
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg-softer);
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert--error { border-left: 3px solid var(--fail); background: oklch(0.98 0.02 25); color: var(--text); }
.alert--ok    { border-left: 3px solid var(--ok); }
.alert__icon {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--muted-2);
  flex: 0 0 auto;
}

.errors { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.errors li { color: var(--fail); font-size: 13px; }

/* ---------- Score bar (report) ---------- */
.score-bar {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-3);
}
.score-bar__grade {
  color: white;
  font-weight: 700;
  font-size: 15px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.score-bar__grade small {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em;
}
.score-bar__cells {
  flex: 1;
  display: flex;
  min-width: 0;
}
.score-bar__cell {
  flex: 1;
  border-left: 1px solid oklch(0.86 0.004 260);
}

/* ---------- Bullet list (summary) ---------- */
.bullets {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 9px;
}
.bullet { display: flex; align-items: flex-start; gap: 10px; }
.dot {
  flex: 0 0 auto;
  width: 19px; height: 19px; border-radius: 50%;
  color: white;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.dot--sm { width: 18px; height: 18px; font-size: 11px; }
.dot--md { width: 24px; height: 24px; font-size: 14px; margin-top: 0; }
.dot--empty { background: var(--surface); border: 1px solid oklch(0.75 0.005 260); }

/* status colors */
.is-ok    { background: var(--ok); }
.is-warn  { background: var(--warn-bright); }
.is-fail  { background: var(--fail); }
.is-skip  { background: var(--surface); border: 1px solid oklch(0.75 0.005 260); color: var(--muted); }

.text-ok   { color: var(--ok); }
.text-warn { color: oklch(0.5 0.13 65); }
.text-fail { color: var(--fail); }
.text-muted { color: var(--muted); }

.bg-ok   { background: var(--ok); }
.bg-warn { background: var(--warn-bright); }
.bg-fail { background: var(--fail); }
.bg-skip { background: var(--surface); border: 1px solid oklch(0.75 0.005 260); }

.grade-A { background: oklch(0.55 0.14 150); }
.grade-B { background: oklch(0.58 0.13 140); }
.grade-C { background: oklch(0.55 0.13 62); }
.grade-D { background: oklch(0.52 0.19 25); }
.grade-F { background: oklch(0.52 0.19 25); }

/* ---------- Fix list ---------- */
.fix-item {
  border-top: 1px solid var(--border-2);
  padding: 16px 0;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
}
.fix-item__num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--muted-2);
  padding-top: 2px;
}
.fix-item__body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fix-item__head {
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline;
}
.fix-item__title {
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em;
}
.sev-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: white;
  padding: 3px 7px;
  white-space: nowrap;
}
.fix-item__effort { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.fix-item__desc {
  font-size: 15px; line-height: 1.6; color: var(--text-2);
  max-width: 70ch;
}
.fix-box {
  background: var(--bg-softer);
  border-left: 3px solid var(--accent);
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.fix-box__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted);
}
.fix-box__pre {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px; line-height: 1.6;
  color: oklch(0.26 0.01 260);
  white-space: pre-wrap; word-break: break-word;
}

/* ---------- Category rows ---------- */
.cat-header { display: flex; align-items: center; gap: 11px; }
.cat-header h2 {
  margin: 0;
  font-size: 21px; font-weight: 700; letter-spacing: -0.015em;
}
.cat-header__meta {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
.cat-desc {
  margin: 12px 0 0;
  font-size: 16px; line-height: 1.62;
  color: var(--text-2);
  max-width: 72ch;
}
.cat-rows {
  margin-top: 14px;
  background: var(--bg-soft);
  border: 1px solid oklch(0.89 0.004 260);
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.cat-row {
  background: var(--surface);
  border: 1px solid oklch(0.87 0.004 260);
}
.cat-row__head {
  all: unset;
  cursor: pointer;
  display: flex; align-items: center; gap: 11px;
  width: 100%; box-sizing: border-box;
  padding: 11px 13px;
}
.cat-row__head:hover { background: oklch(0.975 0.003 260); }
.cat-row__name {
  font-size: 15px; font-weight: 500;
  text-align: left; min-width: 0; flex: 1;
}
.cat-row__verdict {
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.cat-row__caret {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; color: var(--muted-2);
  width: 12px; text-align: center;
}
.cat-row__body {
  border-top: 1px solid oklch(0.91 0.004 260);
  padding: 13px;
  display: flex; flex-direction: column; gap: 12px;
}
.cat-row__section > label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.cat-row__section p, .cat-row__section div.body {
  margin: 0;
  font-size: 14.5px; line-height: 1.6;
  color: var(--text-2);
  max-width: 74ch;
}
.cat-row pre.raw {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px; line-height: 1.55;
  color: oklch(0.26 0.01 260);
  background: var(--bg-softer);
  border: 1px solid oklch(0.91 0.004 260);
  padding: 11px;
  overflow-x: auto;
  white-space: pre-wrap; word-break: break-word;
}

/* ---------- Plain-mode: security headers checklist ---------- */
.header-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--border-2);
  background: var(--surface);
}
.header-list__row {
  display: flex; gap: 12px;
  padding: 11px 13px;
  border-top: 1px solid var(--border-2);
}
.header-list__row:first-child { border-top: none; }
.header-list__row--ok   { background: oklch(0.985 0.02 150 / 0.55); }
.header-list__row--fail { background: oklch(0.985 0.03 25 / 0.5); }
.header-list__glyph {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  color: #fff;
  border-radius: 50%;
  margin-top: 1px;
}
.header-list__glyph.is-ok   { background: var(--ok); }
.header-list__glyph.is-fail { background: var(--fail); }
.header-list__body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.header-list__name {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13.5px; font-weight: 600;
}
.header-list__tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  color: #fff;
}
.header-list__tag--ok   { background: var(--ok); }
.header-list__tag--fail { background: var(--fail); }
.header-list__purpose {
  font-size: 13.5px; line-height: 1.55; color: var(--text-2);
  max-width: 74ch;
}
.header-list__value {
  font-size: 11.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Plain-mode: broken links list ---------- */
.link-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--border-2);
  background: var(--surface);
}
.link-list__row {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px;
  border-top: 1px solid var(--border-2);
  min-width: 0;
}
.link-list__row:first-child { border-top: none; }
.link-list__row:hover { background: var(--bg-softer); }
.link-list__url {
  flex: 1; min-width: 0;
  font-size: 12.5px; line-height: 1.4;
  color: var(--accent);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Sidebar: domains ---------- */
.domain-btn {
  all: unset;
  cursor: pointer;
  border: 1px solid var(--border);
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  width: 100%; box-sizing: border-box;
  text-decoration: none; color: inherit;
}
.domain-btn:hover { border-color: var(--accent); }
.domain-btn.is-active {
  border-color: var(--accent);
  background: var(--bg-softer);
}
.domain-btn__host {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
  text-align: left;
}
.domain-btn__host .h {
  font-size: 14.5px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.domain-btn__host .s {
  font-size: 12.5px; color: var(--muted);
}
.domain-btn__grade {
  width: 26px; height: 24px;
  color: white; font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}

/* ---------- Sidebar: progress bars ---------- */
.hist-row {
  display: flex; align-items: center; gap: 10px;
}
.hist-row__date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; color: var(--muted);
  flex: 0 0 66px;
}
.hist-row__bar {
  flex: 1; height: 12px;
  background: oklch(0.94 0.003 260);
  border: 1px solid oklch(0.89 0.004 260);
  display: block; min-width: 0;
}
.hist-row__fill {
  display: block; height: 10px;
}
.hist-row__score {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px; font-weight: 500;
  flex: 0 0 26px; text-align: right;
}

/* ---------- Legend ---------- */
.legend { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.legend > div { display: flex; gap: 9px; align-items: flex-start; }

/* ---------- Utility ---------- */
.foot-lines {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-2);
  display: flex; flex-direction: column; gap: 7px;
  font-size: 13.5px;
  color: var(--text-3);
}
.foot-lines > div { display: flex; gap: 8px; align-items: baseline; }
.foot-lines .k {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--muted-2);
}
.mono { font-family: 'IBM Plex Mono', monospace; }
.hr { border: 0; border-top: 1px solid var(--border-2); margin: 12px 0; }

@media print {
  [data-noprint] { display: none !important; }
  body { background: white; }
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  white-space: nowrap;
}
.pill::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent);
}
.pill--up   { background: var(--ok); }
.pill--down { background: var(--fail); }
.pill--warn { background: var(--warn-bright); color: white; }
.pill--muted { background: oklch(0.6 0.01 260); }

.pill--up.pill--live::before   { animation: pill-live 1.6s ease-in-out infinite; }
@keyframes pill-live {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 25%, transparent); }
  50%      { box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 15%, transparent); }
}

.stat-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-3);
}
.stat-line .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  min-width: 90px;
}
.stat-line .v { color: var(--text-2); font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; }

.mx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.mx-table th, .mx-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border-2);
  text-align: left;
}
.mx-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.mx-table td.mono { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; }
.mx-table tr:last-child td { border-bottom: 0; }

/* ---------- Scan loader (Shazam-style) ---------- */
.scan-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
  padding: 24px;
  opacity: 0;
  transition: opacity 200ms ease;
}
.scan-loader.is-open {
  display: flex;
  opacity: 1;
}

.scan-pulse {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scan-pulse__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--accent);
  opacity: 0;
  transform: scale(0.25);
  animation: scan-ripple 2.6s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}
.scan-pulse__ring:nth-child(2) { animation-delay: 0.5s; }
.scan-pulse__ring:nth-child(3) { animation-delay: 1.0s; }
.scan-pulse__ring:nth-child(4) { animation-delay: 1.5s; }

@keyframes scan-ripple {
  0%   { opacity: 0.9; transform: scale(0.18); border-width: 5px; }
  50%  { opacity: 0.55; }
  100% { opacity: 0; transform: scale(1); border-width: 1px; }
}

.scan-pulse__mark {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 10px solid var(--accent);
  background: var(--surface);
  animation: scan-breathe 1.4s ease-in-out infinite;
  box-shadow: 0 8px 24px oklch(0.44 0.14 268 / 0.18);
}

@keyframes scan-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.scan-loader__text {
  text-align: center;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scan-loader__eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.scan-loader__host {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  font-family: 'IBM Plex Mono', monospace;
  word-break: break-all;
}
.scan-loader__status {
  font-size: 14.5px;
  color: var(--text-3);
  min-height: 1.4em;
  transition: opacity 200ms ease;
}
.scan-loader__hint {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}

.scan-dots::after {
  content: '';
  display: inline-block;
  width: 1em;
  text-align: left;
  animation: scan-dots 1.4s steps(4, end) infinite;
}
@keyframes scan-dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

@media (prefers-reduced-motion: reduce) {
  .scan-pulse__ring, .scan-pulse__mark { animation: none; }
  .scan-pulse__ring { opacity: 0.35; transform: scale(1); }
  .scan-dots::after { animation: none; content: '…'; }
}
