/* remove. — one stylesheet for every page. Mobile first, no framework. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0f1e;
  --ink-2: #10172a;
  --ink-3: #172038;
  --line: #243052;
  --line-2: #33416a;
  --text: #eaf0fa;
  --muted: #a3afc8;
  --dim: #7b88a6;
  --mint: #3ee8b0;
  --mint-2: #8af3d0;
  --mint-ink: #04271c;
  --mint-soft: rgba(62, 232, 176, 0.12);
  --coral: #ff7a5c;
  --coral-2: #ffab97;
  --coral-soft: rgba(255, 122, 92, 0.13);
  --amber: #ffc46b;
  --amber-soft: rgba(255, 196, 107, 0.13);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px -24px rgba(0, 0, 0, 0.7);
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: var(--mint-2);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--mint);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.1rem, 7.4vw, 3.9rem);
}
h2 {
  font-size: clamp(1.6rem, 4.6vw, 2.5rem);
}
h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--mint);
  color: var(--mint-ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 0.78rem/1 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint-2);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}
.lead {
  font-size: clamp(1.04rem, 2.6vw, 1.2rem);
  color: var(--muted);
  max-width: 36em;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.88rem;
}
.num {
  font-variant-numeric: tabular-nums;
}

/* Wordmark: lowercase, the dot in the accent colour */
.wordmark {
  font: 700 1.55rem/1 var(--display);
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}
.wordmark .dot {
  color: var(--mint);
}
.wordmark:hover {
  color: var(--text);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 15, 30, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36, 48, 82, 0.6);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.nav {
  display: none;
  gap: 26px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover {
  color: var(--text);
}
.header-cta {
  font-size: 0.9rem;
  padding: 9px 16px;
}
@media (min-width: 860px) {
  .nav {
    display: flex;
  }
}

/* Buttons */
.btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  padding: 15px 22px;
  font: 600 1.02rem/1.2 var(--body);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--mint);
  color: var(--mint-ink);
  box-shadow: 0 10px 30px -12px rgba(62, 232, 176, 0.55);
}
.btn-primary:hover {
  background: var(--mint-2);
  color: var(--mint-ink);
}
.btn-primary:active {
  transform: translateY(1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--text);
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 18px 24px;
  font-size: 1.1rem;
}
.btn[disabled],
.btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}
.btn .arrow {
  transition: transform 0.2s ease;
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.8s linear infinite;
  flex: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 26px 0 40px;
  overflow: hidden;
}
.hero::before {
  /* one quiet wash of colour behind the stage, no busy gradients */
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(62, 232, 176, 0.05), rgba(62, 232, 176, 0.02) 55%, transparent 100%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 8px;
}
.hero-copy h1 .accent {
  color: var(--mint);
}
.hero-copy .lead {
  margin-bottom: 22px;
}
.hero-grid {
  grid-template-areas: "copy" "visual" "form";
}
.hero-copy {
  grid-area: copy;
}
.hero-visual {
  grid-area: visual;
  margin: 0 -8px 10px;
}
.form-card {
  grid-area: form;
}
@media (min-width: 980px) {
  .hero {
    padding: 48px 0 72px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    grid-template-areas: "copy visual" "form visual";
    grid-template-rows: auto 1fr;
    column-gap: 44px;
    row-gap: 4px;
    align-items: start;
  }
  .hero-visual {
    align-self: center;
    margin: 0;
  }
  .hero-copy h1 {
    font-size: clamp(2.6rem, 3.9vw, 3.35rem);
  }
}
@media (max-width: 420px) {
  .header-cta {
    font-size: 0.84rem;
    padding: 8px 13px;
  }
  .hero-copy .lead {
    font-size: 1rem;
  }
}

/* The animation stage */
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.86;
  max-height: 360px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  user-select: none;
  -webkit-user-select: none;
}
.stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stage-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 186px;
  transform: translate(-50%, -50%);
  background: rgba(16, 23, 42, 0.94);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 13px 11px;
  font-size: 0.74rem;
  line-height: 1.35;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  transition: border-color 0.6s ease;
}
.stage-card .who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.stage-card .avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font: 700 0.72rem/1 var(--display);
  color: var(--text);
  flex: none;
}
.stage-card .name {
  font: 600 0.84rem/1.15 var(--display);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-card .place {
  color: var(--dim);
  font-size: 0.7rem;
}
.stage-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 8px;
}
.stage-card dt {
  color: var(--dim);
}
.stage-card dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-card .state {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 600;
  min-height: 2.7em;
}
.stage-card .state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dim);
  flex: none;
  transition: background-color 0.4s ease;
}
.stage[data-phase="exposed"] .stage-card {
  border-color: rgba(255, 122, 92, 0.55);
}
.stage[data-phase="exposed"] .stage-card .state {
  color: var(--coral-2);
}
.stage[data-phase="exposed"] .stage-card .state i {
  background: var(--coral);
}
.stage[data-phase="removing"] .stage-card .state,
.stage[data-phase="removed"] .stage-card .state {
  color: var(--mint-2);
}
.stage[data-phase="removing"] .stage-card .state i,
.stage[data-phase="removed"] .stage-card .state i {
  background: var(--mint);
}
.stage[data-phase="removed"] .stage-card {
  border-color: rgba(62, 232, 176, 0.5);
}
.stage-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.stage-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stage-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
@media (min-width: 560px) {
  .stage {
    max-height: 440px;
  }
  .stage-card {
    width: 210px;
    font-size: 0.8rem;
  }
}
@media (min-width: 980px) {
  .stage {
    aspect-ratio: 1 / 0.96;
    max-height: 560px;
  }
  .stage-card {
    width: 226px;
    padding: 14px 15px 13px;
  }
}

/* Form card */
.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-card {
  padding: 20px;
  max-width: 560px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}
.form-card.leaving {
  transform: translateY(-28px) scale(0.97);
  opacity: 0;
}
@media (min-width: 560px) {
  .form-card {
    padding: 26px;
  }
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}
.field .opt {
  color: var(--dim);
  font-weight: 400;
}
.input,
select.input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: var(--ink);
  color: var(--text);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  padding: 13px 14px;
  font: 400 16px/1.2 var(--body); /* 16px stops iOS from zooming */
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder {
  color: #66738f;
}
.input:hover {
  border-color: var(--dim);
}
.input:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(62, 232, 176, 0.25);
}
.input[aria-invalid="true"] {
  border-color: var(--coral);
}
select.input {
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a3afc8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.more {
  grid-column: 1 / -1;
}
.more summary {
  cursor: pointer;
  color: var(--mint-2);
  font-size: 0.9rem;
  font-weight: 600;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}
.more summary::-webkit-details-marker {
  display: none;
}
.more summary::before {
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
}
.more[open] summary::before {
  content: "\2212";
}
.more .fields {
  margin-top: 12px;
}
.form-actions {
  margin-top: 16px;
}
.form-note {
  margin: 12px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.form-note svg {
  flex: none;
  margin-top: 2px;
}
.error-msg {
  margin: 12px 0 0;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--coral-soft);
  color: var(--coral-2);
  font-size: 0.92rem;
}

/* Sections */
.section {
  padding: 64px 0;
  border-top: 1px solid rgba(36, 48, 82, 0.55);
}
.section-head {
  max-width: 680px;
  margin-bottom: 30px;
}
.section-head p {
  color: var(--muted);
}
@media (min-width: 860px) {
  .section {
    padding: 88px 0;
  }
}

/* How it works */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.steps li {
  padding: 22px;
  position: relative;
}
.steps .n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font: 700 0.95rem/1 var(--display);
  color: var(--mint);
  margin-bottom: 14px;
}
.steps p {
  color: var(--muted);
  margin: 0;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* What we remove */
.remove-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.remove-grid li {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.remove-grid svg {
  color: var(--coral);
}
.remove-grid strong {
  font-family: var(--display);
  font-size: 1.02rem;
}
.remove-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
@media (min-width: 860px) {
  .remove-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Sites we cover */
.site-groups {
  display: grid;
  gap: 22px;
}
.site-group h3 {
  font-size: 0.82rem;
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}
.site-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.site-list li {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  background: var(--ink-2);
}
@media (min-width: 860px) {
  .site-groups {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 40px;
  }
}

/* Price */
.price-card {
  padding: 28px 22px;
  display: grid;
  gap: 24px;
  align-items: center;
}
.price {
  font: 700 clamp(3.4rem, 12vw, 5rem) / 1 var(--display);
  letter-spacing: -0.04em;
}
.price small {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 6px;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.checks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--mint-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%233ee8b0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
@media (min-width: 860px) {
  .price-card {
    grid-template-columns: 1fr 1.2fr;
    padding: 40px;
    gap: 40px;
  }
}

/* FAQ */
.faq {
  max-width: 780px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font: 600 1.05rem/1.4 var(--display);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font: 400 1.5rem/1 var(--body);
  color: var(--mint);
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  color: var(--muted);
  padding-right: 20px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: grid;
  gap: 16px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.site-footer a {
  color: var(--muted);
}
.site-footer a:hover {
  color: var(--text);
}
.site-footer p {
  margin: 0;
}
@media (min-width: 860px) {
  .site-footer .wrap {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 16px 48px;
  }
  .site-footer .foot-meta {
    grid-column: 2;
  }
}

/* App panels (scanning, results) */
.panel {
  padding: 22px 0 48px;
  animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 860px) {
  .panel {
    padding: 44px 0 72px;
  }
}
.panel-head {
  max-width: 760px;
  margin-bottom: 22px;
}
.panel-head h1,
.panel-head h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
}
.panel-head h1:focus,
.panel-head h2:focus {
  outline: none;
}

/* Scan */
.scan-top {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.counter {
  padding: 14px 14px 12px;
}
.counter b {
  display: block;
  font: 700 clamp(1.6rem, 6vw, 2.3rem) / 1 var(--display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.counter span {
  font-size: 0.8rem;
  color: var(--muted);
}
.counter.found b {
  color: var(--coral);
}
.progress {
  height: 6px;
  border-radius: 99px;
  background: var(--ink-3);
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--mint);
  border-radius: 99px;
  transition: width 0.35s ease;
}
.ticker {
  font-size: 0.92rem;
  color: var(--muted);
  min-height: 1.6em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker b {
  color: var(--text);
  font-weight: 600;
}
.scan-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 640px) {
  .scan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .scan-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.tile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  font-size: 0.86rem;
  min-width: 0;
  transition: border-color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}
.tile .nm {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile .st {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dim);
  flex: none;
}
.tile .ic {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  position: relative;
}
.tile.pending {
  opacity: 0.6;
}
.tile.checking {
  border-color: var(--line-2);
}
.tile.checking .ic {
  border-color: var(--mint);
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
.tile.checking .st {
  color: var(--mint-2);
}
.tile.clear .ic {
  border-color: transparent;
  background: var(--ink-3)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2l2 2 4-4.4' fill='none' stroke='%23a3afc8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/10px no-repeat;
}
.tile.clear .st {
  color: var(--muted);
}
.tile.found {
  border-color: rgba(255, 122, 92, 0.55);
  background: var(--coral-soft);
}
.tile.found .ic {
  border: 0;
  background: var(--coral);
}
.tile.found .ic::after {
  content: "!";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 800 0.66rem/1 var(--body);
  color: #2a0d05;
}
.tile.found .st {
  color: var(--coral-2);
}
.tile.flash {
  animation: flash 0.6s ease;
}
@keyframes flash {
  from {
    transform: scale(1.04);
  }
  to {
    transform: none;
  }
}

/* Results */
.results-layout {
  display: grid;
  gap: 26px;
}
@media (min-width: 1020px) {
  .results-layout {
    grid-template-columns: minmax(0, 1fr) 400px;
    align-items: start;
  }
  .offer {
    position: sticky;
    top: 88px;
  }
}
.exposure {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.84rem;
  background: var(--coral-soft);
  color: var(--coral-2);
  border: 1px solid rgba(255, 122, 92, 0.35);
}
.chip b {
  color: var(--text);
  font-weight: 700;
}
.chip.calm {
  background: var(--ink-3);
  color: var(--muted);
  border-color: var(--line);
}
.findings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 680px) {
  .findings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.finding {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: rise 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.finding-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.finding-site {
  font: 700 1.05rem/1.2 var(--display);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.finding-site::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  flex: none;
}
.badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex: none;
}
.badge.likely {
  background: var(--coral-soft);
  color: var(--coral-2);
}
.badge.possible {
  background: var(--amber-soft);
  color: var(--amber);
}
.finding dl {
  margin: 0;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 5px 10px;
  font-size: 0.9rem;
}
.finding dt {
  color: var(--dim);
}
.finding dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.finding .masked {
  letter-spacing: 0.02em;
}
.finding .exp {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.finding .exp li {
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--ink-3);
  color: var(--muted);
}
.why-hidden {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--dim);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.why-hidden svg {
  flex: none;
  margin-top: 3px;
}
.empty-card {
  padding: 24px;
}
.empty-card .big {
  font: 700 1.4rem/1.25 var(--display);
  margin-bottom: 8px;
  color: var(--mint-2);
}

/* Offer */
.offer {
  padding: 22px;
  border-color: rgba(62, 232, 176, 0.35);
}
.offer h2 {
  font-size: clamp(1.5rem, 5vw, 1.9rem);
  margin-bottom: 8px;
}
.offer .price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 14px;
}
.offer .price-line b {
  font: 700 2.8rem/1 var(--display);
  letter-spacing: -0.04em;
}
.offer .price-line span {
  color: var(--muted);
}
.offer .checks {
  margin: 0 0 18px;
  font-size: 0.93rem;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 14px 0 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}
.consent input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border-radius: 6px;
  border: 1.5px solid var(--line-2);
  background: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.consent input:checked {
  background: var(--mint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.3l2.7 2.7L11 4.3' fill='none' stroke='%2304271c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/14px no-repeat;
  border-color: var(--mint);
}
.consent input:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 2px;
}
.consent input[aria-invalid="true"] {
  border-color: var(--coral);
}
.fine {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--dim);
  line-height: 1.5;
}
.fine a {
  color: var(--muted);
}
.restart {
  margin-top: 18px;
  font-size: 0.9rem;
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--mint-2);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Status page */
.status-summary {
  padding: 20px;
  margin-bottom: 18px;
}
.bar {
  display: flex;
  height: 10px;
  border-radius: 99px;
  overflow: hidden;
  background: var(--ink-3);
  margin: 14px 0 12px;
}
.bar i {
  display: block;
  height: 100%;
  transition: width 0.5s ease;
}
.bar .b-removed {
  background: var(--mint);
}
.bar .b-submitted {
  background: #6aa8ff;
}
.bar .b-needs {
  background: var(--amber);
}
.bar .b-waiting {
  background: var(--line-2);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  padding: 0;
  list-style: none;
}
.legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.legend b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.needs-box {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--amber-soft);
  border: 1px solid rgba(255, 196, 107, 0.35);
  color: var(--text);
  margin-bottom: 18px;
}
.needs-box strong {
  color: var(--amber);
}
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.row .site {
  font: 600 1rem/1.3 var(--display);
}
.row .meaning {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.9rem;
}
.row .note {
  grid-column: 1 / -1;
  font-size: 0.84rem;
  color: var(--dim);
}
.pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: var(--ink-3);
  color: var(--muted);
  border: 1px solid var(--line);
}
.pill.s-removed {
  background: var(--mint-soft);
  color: var(--mint-2);
  border-color: rgba(62, 232, 176, 0.35);
}
.pill.s-submitted {
  background: rgba(106, 168, 255, 0.12);
  color: #a9cbff;
  border-color: rgba(106, 168, 255, 0.35);
}
.pill.s-needs_you {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: rgba(255, 196, 107, 0.4);
}
.pill.s-working {
  color: var(--mint-2);
}
.pill.s-failed {
  background: var(--coral-soft);
  color: var(--coral-2);
  border-color: rgba(255, 122, 92, 0.35);
}
.row.needs_you .site::after {
  content: " \2022";
  color: var(--amber);
}
@media (min-width: 760px) {
  .row {
    grid-template-columns: 220px 1fr auto;
    align-items: center;
  }
  .row .meaning {
    grid-column: 2;
    grid-row: 1;
  }
  .row .note {
    grid-column: 2;
  }
  .row .pill {
    grid-column: 3;
    grid-row: 1;
  }
}
.refresh-line {
  font-size: 0.84rem;
  color: var(--dim);
  margin: 14px 0 0;
}

/* Thanks, 404, simple centred pages */
.center-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 56px 0;
}
.center-page .box {
  max-width: 560px;
  margin: 0 auto;
}
.center-page .lead {
  margin: 0 auto 26px;
}
.big-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 26px;
  border-radius: 50%;
  border: 4px solid var(--ink-3);
  border-top-color: var(--mint);
  animation: spin 0.9s linear infinite;
}
.done-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint-soft);
  color: var(--mint);
}

/* Legal pages */
.prose {
  max-width: 720px;
  padding: 40px 0 72px;
}
.prose h1 {
  font-size: clamp(2rem, 6vw, 2.8rem);
}
.prose h2 {
  font-size: 1.3rem;
  margin-top: 2em;
}
.prose p,
.prose li {
  color: #cfd7e8;
}
.prose ul {
  padding-left: 1.2em;
}
.prose li {
  margin-bottom: 0.4em;
}
.draft-note {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink-2);
  border: 1px dashed var(--line-2);
  font-size: 0.88rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .tile.checking .ic,
  .spinner,
  .big-spinner {
    animation: spin 1.6s linear infinite !important;
  }
}

/* Phones: give the site name the whole tile; the icon and colour show the state,
   and the word stays readable for screen readers. */
@media (max-width: 639px) {
  .tile {
    padding: 10px;
    font-size: 0.84rem;
  }
  .tile .st {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .counter span {
    font-size: 0.74rem;
    line-height: 1.3;
    display: block;
    margin-top: 4px;
  }
}

/* Results: "show all" and the phone pay bar */
.show-all {
  margin: 14px 0 0;
}
.paybar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-radius: 16px;
  background: rgba(16, 23, 42, 0.96);
  border: 1px solid rgba(62, 232, 176, 0.4);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
  animation: rise 0.3s ease both;
}
.paybar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.paybar b {
  font: 700 1.25rem/1 var(--display);
  color: var(--text);
  margin-right: 4px;
}
.paybar .btn {
  padding: 11px 16px;
  font-size: 0.95rem;
  flex: none;
}
@media (min-width: 1020px) {
  .paybar {
    display: none !important;
  }
}
@media (max-width: 1019px) {
  #results {
    padding-bottom: 96px;
  }
}
