:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: rgba(18, 21, 28, 0.78);
  --panel-solid: #11151c;
  --panel-soft: #161b23;
  --line: rgba(255, 255, 255, 0.095);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: #f6f7f9;
  --muted: #929aa8;
  --muted-light: #bbc1cb;
  --acid: #c8ff55;
  --acid-dark: #7aa91c;
  --cyan: #5edcf2;
  --warning: #ffc96b;
  --danger: #ff7474;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.page-glow--one {
  width: 520px;
  height: 520px;
  top: -310px;
  right: 5%;
  background: radial-gradient(circle, rgba(200, 255, 85, 0.12), transparent 68%);
}

.page-glow--two {
  width: 640px;
  height: 640px;
  top: 640px;
  left: -420px;
  background: radial-gradient(circle, rgba(94, 220, 242, 0.075), transparent 68%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(200, 255, 85, 0.4);
  border-radius: 10px;
  color: var(--acid);
  background: rgba(200, 255, 85, 0.06);
}

.brand svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.brand__muted {
  color: #606975;
}

.header-status,
.live-indicator {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-light);
  font-size: 12px;
}

.status-dot,
.live-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(200, 255, 85, 0.6);
}

.status-dot.is-warning {
  background: var(--warning);
  box-shadow: 0 0 14px rgba(255, 201, 107, 0.55);
}

.status-dot.is-error {
  background: var(--danger);
  box-shadow: 0 0 14px rgba(255, 116, 116, 0.5);
}

.hero {
  padding-block: 100px 74px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}

.eyebrow span {
  padding: 4px 7px;
  border: 1px solid rgba(200, 255, 85, 0.28);
  border-radius: 5px;
  color: var(--acid);
  background: rgba(200, 255, 85, 0.06);
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7.2vw, 86px);
  font-weight: 640;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero h1 em {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero__copy {
  max-width: 610px;
  margin: 28px auto 0;
  color: var(--muted-light);
  font-size: 18px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: 160ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button--primary {
  color: #0c1104;
  background: var(--acid);
  box-shadow: 0 12px 34px rgba(200, 255, 85, 0.12);
}

.button--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  background: #d5ff7d;
  box-shadow: 0 16px 42px rgba(200, 255, 85, 0.2);
}

.button--primary.is-loading svg {
  animation: spin 800ms linear infinite;
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.button--ghost:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.privacy-note {
  display: flex;
  width: fit-content;
  max-width: 570px;
  align-items: center;
  gap: 12px;
  margin: 27px auto 0;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}

.privacy-note svg {
  flex: 0 0 auto;
  width: 20px;
  fill: none;
  stroke: var(--acid);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.privacy-note p {
  margin: 0;
}

.privacy-note strong {
  color: var(--muted-light);
}

.diagnostics,
.results {
  padding-block: 68px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.section-kicker {
  margin: 0;
  color: var(--acid);
}

.text-button {
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted-light);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.text-button:hover {
  color: var(--text);
}

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

.readiness-card {
  display: flex;
  min-height: 116px;
  align-items: center;
  gap: 16px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(16px);
}

.readiness-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(200, 255, 85, 0.18);
  border-radius: 12px;
  color: var(--acid);
  background: rgba(200, 255, 85, 0.055);
}

.readiness-card__icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.readiness-card__label,
.readiness-card strong,
.readiness-card small {
  display: block;
}

.readiness-card__label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.readiness-card strong {
  font-size: 15px;
}

.readiness-card strong.is-positive {
  color: var(--acid);
}

.readiness-card strong.is-warning {
  color: var(--warning);
}

.readiness-card strong.is-negative {
  color: var(--danger);
}

.readiness-card small {
  margin-top: 5px;
  color: #68717f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
}

.results {
  padding-top: 75px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.summary-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
}

.summary-card--accent {
  border-color: rgba(200, 255, 85, 0.22);
  background: linear-gradient(135deg, rgba(200, 255, 85, 0.1), rgba(200, 255, 85, 0.025));
}

.summary-card span,
.summary-card small,
.summary-card strong {
  display: block;
}

.summary-card span {
  color: var(--muted);
  font-size: 11px;
}

.summary-card strong {
  overflow: hidden;
  margin: 12px 0 7px;
  font-size: clamp(19px, 2.6vw, 28px);
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-card--accent strong {
  color: var(--acid);
}

.summary-card small {
  overflow: hidden;
  color: #6f7885;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.map-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.map-card h3,
.limitations h3 {
  margin: 0;
  font-size: 15px;
}

.map-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 10px;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-primary {
  background: var(--acid);
}

.legend-current {
  background: var(--cyan);
}

.screen-map {
  position: relative;
  height: 310px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 13px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    #0b0e13;
  background-size: 22px 22px;
}

.map-screen {
  position: absolute;
  display: flex;
  overflow: hidden;
  min-width: 72px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 8px;
  color: var(--muted-light);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.map-screen.is-primary {
  border-color: rgba(200, 255, 85, 0.72);
  background: linear-gradient(145deg, rgba(200, 255, 85, 0.13), rgba(200, 255, 85, 0.035));
}

.map-screen.is-current::after {
  position: absolute;
  width: 7px;
  height: 7px;
  top: 8px;
  right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(94, 220, 242, 0.7);
  content: "";
}

.map-screen strong,
.map-screen small {
  display: block;
}

.map-screen strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-screen small {
  margin-top: 4px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 8px;
}

.section-heading--details {
  margin-top: 64px;
}

.last-updated {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
}

.section-caption {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: right;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.screen-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.screen-card.is-current {
  border-color: rgba(94, 220, 242, 0.28);
}

.screen-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 22px 19px;
  border-bottom: 1px solid var(--line);
}

.screen-card__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.screen-card__number {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--acid);
  background: rgba(255, 255, 255, 0.025);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.screen-card__identity h3 {
  overflow: hidden;
  margin: 0 0 5px;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-card__identity p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.badges {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: end;
  gap: 5px;
}

.badge {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge--primary {
  border-color: rgba(200, 255, 85, 0.25);
  color: var(--acid);
  background: rgba(200, 255, 85, 0.055);
}

.badge--current {
  border-color: rgba(94, 220, 242, 0.24);
  color: var(--cyan);
  background: rgba(94, 220, 242, 0.055);
}

.screen-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px 10px 10px;
}

.metric {
  min-width: 0;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
}

.metric:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.metric span,
.metric strong,
.metric small {
  display: block;
}

.metric span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.metric strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric small {
  overflow: hidden;
  margin-top: 4px;
  color: #626b78;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.14);
}

.screen-card__actions small {
  color: #626b78;
  font-size: 9px;
}

.mini-button {
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted-light);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.mini-button:hover {
  border-color: rgba(200, 255, 85, 0.35);
  color: var(--acid);
}

.signal-panel {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.signal-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.signal-panel__heading h3 {
  margin: 0;
  font-size: 13px;
}

.data-kind {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.data-kind--reported {
  border-color: rgba(94, 220, 242, 0.2);
  color: var(--cyan);
  background: rgba(94, 220, 242, 0.045);
}

.data-kind--derived {
  border-color: rgba(200, 255, 85, 0.2);
  color: var(--acid);
  background: rgba(200, 255, 85, 0.045);
}

.data-kind--estimated,
.data-kind--inferred {
  border-color: rgba(255, 201, 107, 0.22);
  color: var(--warning);
  background: rgba(255, 201, 107, 0.045);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-card {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-card:nth-child(4n) {
  border-right: 0;
}

.signal-card:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.signal-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
}

.signal-card__top span:first-child {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.045em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.signal-card strong,
.signal-card small {
  display: block;
}

.signal-card strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-card small {
  overflow: hidden;
  margin-top: 5px;
  color: #626b78;
  font-size: 9px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.raw-data {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.raw-data summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 22px;
  cursor: pointer;
  list-style: none;
}

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

.raw-data summary strong,
.raw-data summary small {
  display: block;
}

.raw-data summary strong {
  font-size: 13px;
}

.raw-data summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.raw-data summary svg {
  width: 19px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.raw-data[open] summary svg {
  transform: rotate(180deg);
}

.raw-data__body {
  position: relative;
  border-top: 1px solid var(--line);
}

.raw-data pre {
  max-height: 460px;
  overflow: auto;
  margin: 0;
  padding: 24px;
  color: #b7c995;
  font: 11px/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  tab-size: 2;
}

.copy-button {
  position: absolute;
  z-index: 1;
  top: 13px;
  right: 13px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted-light);
  background: #161b22;
  cursor: pointer;
  font-size: 10px;
}

.limitations {
  display: flex;
  align-items: start;
  gap: 14px;
  margin-top: 14px;
  padding: 21px 23px;
  border: 1px solid rgba(255, 201, 107, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 201, 107, 0.035);
}

.limitations__icon {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 201, 107, 0.3);
  border-radius: 50%;
  color: var(--warning);
  font-family: Georgia, serif;
  font-size: 13px;
}

.limitations p {
  max-width: 930px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.capture-lab {
  padding-block: 76px;
  border-top: 1px solid var(--line);
}

.capture-lab__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
}

.capture-lab__header h2 {
  margin: 7px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.045em;
}

.capture-lab__header p:not(.section-kicker) {
  max-width: 650px;
  margin: 13px 0 0;
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.65;
}

.capture-lab__header .button {
  flex: 0 0 auto;
}

.permission-explainer {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 27px;
  padding: 15px 18px;
  border: 1px solid rgba(94, 220, 242, 0.15);
  border-radius: 13px;
  background: rgba(94, 220, 242, 0.035);
}

.permission-explainer svg {
  width: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.permission-explainer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.permission-explainer strong {
  color: var(--muted-light);
}

.capture-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.capture-summary article {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
}

.capture-summary span,
.capture-summary strong,
.capture-summary small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capture-summary span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.capture-summary strong {
  margin: 9px 0 5px;
  font-size: 15px;
}

.capture-summary small {
  color: #626b78;
  font-size: 9px;
}

.capture-device-list {
  margin-top: 14px;
}

.capture-empty {
  display: flex;
  min-height: 110px;
  align-items: center;
  gap: 15px;
  padding: 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.015);
}

.capture-empty > span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #535c69;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.025);
}

.capture-empty strong {
  color: var(--muted-light);
  font-size: 13px;
}

.capture-empty p {
  margin: 5px 0 0;
  font-size: 10px;
}

.capture-device {
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.capture-device:first-child {
  margin-top: 0;
}

.capture-device--probable {
  border-color: rgba(200, 255, 85, 0.28);
}

.capture-device--possible {
  border-color: rgba(255, 201, 107, 0.25);
}

.capture-device--virtual {
  border-color: rgba(94, 220, 242, 0.24);
}

.capture-device__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.capture-device__identity {
  min-width: 0;
}

.capture-device__identity h3,
.capture-device__identity p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capture-device__identity h3 {
  margin: 0;
  font-size: 14px;
}

.capture-device__identity p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.capture-verdict {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.capture-device--probable .capture-verdict {
  border-color: rgba(200, 255, 85, 0.3);
  color: var(--acid);
}

.capture-device--possible .capture-verdict {
  border-color: rgba(255, 201, 107, 0.3);
  color: var(--warning);
}

.capture-device--virtual .capture-verdict {
  border-color: rgba(94, 220, 242, 0.3);
  color: var(--cyan);
}

.capture-device__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capture-device__metrics .metric {
  border-right: 1px solid var(--line);
  border-bottom: 0;
  padding: 16px 20px;
}

.capture-device__metrics .metric:last-child {
  border-right: 0;
}

.capture-device__evidence {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.capture-warning {
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 201, 107, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 201, 107, 0.035);
}

.capture-warning strong {
  color: var(--warning);
  font-size: 11px;
}

.capture-warning p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.empty-state {
  padding-block: 96px 120px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.empty-state__visual {
  position: relative;
  width: 160px;
  height: 102px;
  margin: 0 auto 28px;
}

.empty-screen {
  position: absolute;
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #0e1218;
}

.empty-screen::after {
  position: absolute;
  width: 38px;
  height: 4px;
  bottom: -12px;
  left: 50%;
  border-radius: 5px;
  background: #202630;
  transform: translateX(-50%);
  content: "";
}

.empty-screen--back {
  width: 100px;
  height: 66px;
  top: 0;
  right: 0;
  opacity: 0.55;
  transform: rotate(3deg);
}

.empty-screen--front {
  width: 110px;
  height: 74px;
  bottom: 7px;
  left: 0;
  border-color: rgba(200, 255, 85, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.empty-screen--front i {
  position: absolute;
  width: 8px;
  height: 8px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 15px rgba(200, 255, 85, 0.5);
  transform: translate(-50%, -50%);
}

.empty-state h2 {
  margin: 0;
  color: var(--muted-light);
  font-size: 18px;
}

.empty-state p {
  margin: 9px 0 0;
  font-size: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  color: #555e6b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100% - 44px));
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--text);
  background: #161b22;
  box-shadow: var(--shadow);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .readiness-grid,
  .summary-grid,
  .capture-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .screen-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-card:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .signal-card:nth-child(2n) {
    border-right: 0;
  }

  .signal-card:nth-last-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .signal-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    height: 70px;
  }

  .header-status {
    max-width: 140px;
    justify-content: end;
    text-align: right;
  }

  .hero {
    padding-block: 70px 56px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 66px);
  }

  .hero__copy {
    font-size: 15px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .privacy-note {
    align-items: start;
  }

  .diagnostics,
  .results {
    padding-block: 54px;
  }

  .section-heading {
    align-items: start;
  }

  .readiness-grid,
  .summary-grid,
  .capture-summary {
    grid-template-columns: 1fr;
  }

  .readiness-card {
    min-height: 98px;
  }

  .map-card__header {
    flex-direction: column;
  }

  .screen-map {
    height: 250px;
  }

  .screen-card__top,
  .screen-card__actions {
    align-items: start;
    flex-direction: column;
  }

  .badges {
    justify-content: start;
  }

  .screen-card__metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .metric:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section-heading--details {
    align-items: start;
    flex-direction: column;
  }

  .section-caption {
    text-align: left;
  }

  .signal-grid,
  .capture-device__metrics {
    grid-template-columns: 1fr;
  }

  .signal-card,
  .signal-card:nth-child(2n),
  .signal-card:nth-child(4n),
  .signal-card:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-card:last-child,
  .capture-device__metrics .metric:last-child {
    border-bottom: 0;
  }

  .capture-lab__header,
  .capture-device__header {
    align-items: stretch;
    flex-direction: column;
  }

  .capture-lab__header .button {
    width: 100%;
  }

  .capture-device__metrics .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
