/* ─────────────────────────────────────────────────────────────────────────
   Botlight — a dark instrument for reading a site the way a machine does.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --ink: #08090b;
  --surface-1: #101217;
  --surface-2: #171a21;
  --surface-3: #1e222a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #f3f5f8;
  --text-2: #9aa1ad;
  --text-3: #656b77;

  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.14);
  --pass: #30d158;
  --warn: #ffd60a;
  --fail: #ff453a;
  --info: #64d2ff;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;

  --gutter: clamp(20px, 5vw, 56px);
  --measure: 1120px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo, monospace;

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── The light itself ───────────────────────────────────────────────────── */

.beam {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(58% 40% at 50% -6%, rgba(10, 132, 255, 0.18), transparent 70%),
    radial-gradient(40% 30% at 88% 8%, rgba(100, 210, 255, 0.07), transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* ── Masthead ───────────────────────────────────────────────────────────── */

.masthead {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 26px var(--gutter) 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark__dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3.5px rgba(10, 132, 255, 0.18), 0 0 18px rgba(10, 132, 255, 0.65);
}

.masthead__reset {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.masthead__reset:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

main {
  position: relative;
  z-index: 2;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(56px, 11vh, 120px) 0 0;
  max-width: 780px;
}

.hero__title {
  font-size: clamp(38px, 6.6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.038em;
  font-weight: 640;
  text-wrap: balance;
}

.hero__title-dim {
  color: var(--text-3);
}

.hero__lede {
  margin-top: 26px;
  max-width: 610px;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

/* ── The one control ────────────────────────────────────────────────────── */

.probe {
  margin-top: 44px;
  max-width: 620px;
}

.probe__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 7px 7px 20px;
  background: var(--surface-1);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}

.probe__field:focus-within {
  border-color: rgba(10, 132, 255, 0.75);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.16), 0 18px 50px -18px rgba(10, 132, 255, 0.5);
}

.probe__icon {
  flex: none;
  width: 19px;
  height: 19px;
  color: var(--text-3);
  transition: color 0.25s;
}

.probe__field:focus-within .probe__icon {
  color: var(--accent);
}

.probe__input {
  flex: 1;
  min-width: 0;
  padding: 13px 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.probe__input::placeholder {
  color: var(--text-3);
}

.probe__input:focus {
  outline: none;
}

.probe__go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 590;
  letter-spacing: -0.012em;
  transition: transform 0.2s var(--ease), background 0.2s, opacity 0.2s;
}

.probe__go svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.probe__go:hover {
  background: #3d9bff;
}

.probe__go:hover svg {
  transform: translateX(2.5px);
}

.probe__go:active {
  transform: scale(0.97);
}

.probe__go[disabled] {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.probe__error {
  margin-top: 13px;
  padding-left: 4px;
  font-size: 15px;
  color: var(--fail);
}

/* ── Samples + promises ─────────────────────────────────────────────────── */

.samples {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.samples__label {
  font-size: 15px;
  color: var(--text-3);
  margin-right: 2px;
}

.samples__chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 14.5px;
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.samples__chip:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.promises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 68px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.promises li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.promises strong {
  font-size: 15.5px;
  font-weight: 590;
  letter-spacing: -0.014em;
}

.promises span {
  font-size: 14.5px;
  color: var(--text-3);
}

/* ── Scanning ───────────────────────────────────────────────────────────── */

.scanning {
  padding: clamp(70px, 16vh, 150px) 0;
  max-width: 640px;
}

.scanning__target {
  font-size: clamp(26px, 4.4vw, 40px);
  font-weight: 620;
  letter-spacing: -0.032em;
  line-height: 1.15;
  word-break: break-word;
  background: linear-gradient(96deg, var(--text) 20%, rgba(10, 132, 255, 0.95) 42%, var(--text) 64%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sweep 2.1s var(--ease-in-out) infinite;
}

@keyframes sweep {
  from {
    background-position: 165% 0;
  }
  to {
    background-position: -65% 0;
  }
}

.scanning__log {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scanning__log li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 16px;
  color: var(--text-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  animation: rise 0.5s var(--ease) both;
}

.scanning__log li[data-state="done"] {
  color: var(--text-2);
}

.scanning__log .tick {
  flex: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: border-color 0.3s, background 0.3s;
}

.scanning__log li[data-state="done"] .tick {
  border-color: var(--pass);
  background: rgba(48, 209, 88, 0.16);
}

.scanning__log li[data-state="done"] .tick::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pass);
}

.scanning__log li[data-state="active"] .tick {
  border-color: var(--accent);
  animation: pulse 1.15s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.42);
  }
  60% {
    box-shadow: 0 0 0 7px rgba(10, 132, 255, 0);
  }
}

/* ── Reveal rhythm ──────────────────────────────────────────────────────── */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  animation: rise 0.62s var(--ease) both;
}

/* ── Verdict ────────────────────────────────────────────────────────────── */

.report {
  padding-top: clamp(40px, 7vh, 72px);
}

.verdict {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding-bottom: clamp(40px, 6vh, 64px);
  border-bottom: 1px solid var(--line);
}

.dial {
  position: relative;
  flex: none;
  width: clamp(160px, 22vw, 208px);
  height: clamp(160px, 22vw, 208px);
}

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

.dial__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 10;
}

.dial__value {
  fill: none;
  stroke: var(--dial-color, var(--accent));
  stroke-width: 10;
  stroke-linecap: round;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--dial-color, var(--accent)) 55%, transparent));
  transition: stroke-dashoffset 1.25s var(--ease), stroke 0.6s;
}

.dial__readout {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.dial__number {
  font-size: clamp(46px, 7vw, 62px);
  font-weight: 640;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dial__of {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
}

.verdict__body h2 {
  font-size: clamp(25px, 3.6vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.032em;
  font-weight: 630;
  text-wrap: balance;
}

.verdict__host {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-3);
  font-family: var(--mono);
}

.verdict__summary {
  margin-top: 16px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 60ch;
  text-wrap: pretty;
}

.verdict__cap {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 15px 18px;
  border-radius: var(--radius-m);
  background: rgba(255, 214, 10, 0.07);
  border: 1px solid rgba(255, 214, 10, 0.24);
  font-size: 15.5px;
  line-height: 1.55;
  color: #f5e6a8;
  max-width: 62ch;
}

.verdict__cap strong {
  color: var(--warn);
  font-weight: 600;
}

/* ── Citation card ──────────────────────────────────────────────────────── */

.citation {
  margin-top: 26px;
  max-width: 560px;
}

.citation__label {
  font-size: 12.5px;
  font-weight: 560;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 11px;
}

.citation__card {
  padding: 17px 19px;
  border-radius: var(--radius-m);
  background: var(--surface-1);
  border: 1px solid var(--line);
}

.citation__url {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--mono);
  margin-bottom: 6px;
}

.citation__favicon {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: var(--surface-3);
  flex: none;
}

.citation__title {
  font-size: 17px;
  font-weight: 560;
  letter-spacing: -0.016em;
  color: #78b9ff;
  line-height: 1.32;
}

.citation__snippet {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}

.citation__snippet em {
  color: var(--text-3);
  font-style: italic;
}

/* ── Capture ────────────────────────────────────────────────────────────── */

.capture {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(40px, 6vh, 64px);
  padding: clamp(26px, 3.4vw, 36px);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--line-strong);
  box-shadow: 0 26px 70px -40px rgba(10, 132, 255, 0.55);
}

/* Ohne diese Zeile schlägt display:grid das UA-hidden und das Modul steht auch
   vor dem ersten Ergebnis da. */
.capture[hidden] {
  display: none;
}

.capture__text h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  letter-spacing: -0.028em;
  font-weight: 620;
  line-height: 1.16;
}

.capture__text p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 46ch;
  text-wrap: pretty;
}

.capture__trap {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

.capture__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.capture__input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 13px 17px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  letter-spacing: -0.012em;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.capture__input::placeholder {
  color: var(--text-3);
}

.capture__input:focus {
  outline: none;
  border-color: rgba(10, 132, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.16);
}

.capture__go {
  flex: none;
  padding: 13px 21px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 590;
  letter-spacing: -0.012em;
  transition: transform 0.2s var(--ease), background 0.2s, opacity 0.2s;
}

.capture__go:hover {
  background: #3d9bff;
}

.capture__go:active {
  transform: scale(0.97);
}

.capture__go[disabled] {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.capture__consent {
  margin-top: 13px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-3);
}

.capture__status {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--pass);
}

.capture__status[data-state="error"] {
  color: var(--warn);
}

/* ── Blocks ─────────────────────────────────────────────────────────────── */

.block {
  padding: clamp(52px, 8vh, 88px) 0 0;
}

.block__head {
  max-width: 640px;
  margin-bottom: 30px;
}

.block__head h2 {
  font-size: clamp(24px, 3.2vw, 33px);
  letter-spacing: -0.03em;
  font-weight: 620;
  line-height: 1.15;
}

.block__head p {
  margin-top: 11px;
  font-size: 16.5px;
  line-height: 1.58;
  color: var(--text-2);
  text-wrap: pretty;
}

/* ── Gate board ─────────────────────────────────────────────────────────── */

.gates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 12px;
}

/* Tiles carry only bounded content (name, verdict, up to three agents), so a
   uniform row height reads as a board rather than a ragged pile. Long prose
   belongs in the legend below. */
.gate__agents {
  margin-top: auto;
}

.gate {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 19px;
  border-radius: var(--radius-l);
  background: var(--surface-1);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.gate::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--gate-color);
  opacity: 0.85;
}

.gate[data-cite="yes"] {
  --gate-color: var(--pass);
}

.gate[data-cite="partial"] {
  --gate-color: var(--warn);
}

.gate[data-cite="no"] {
  --gate-color: var(--fail);
}

.gate:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

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

.gate__name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.gate__vendor {
  font-size: 12.5px;
  color: var(--text-3);
}

.gate__verdict {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 560;
  color: var(--gate-color);
}

.gate__verdict::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gate-color);
  box-shadow: 0 0 10px var(--gate-color);
}

.gate__agents {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
}

.gate__agent {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11.5px;
  letter-spacing: -0.015em;
  font-family: var(--mono);
  color: var(--text-3);
  line-height: 1.4;
}

.gate__agent[data-allowed="false"] {
  color: #ff8a80;
}

.gate__agent-mark {
  flex: none;
  width: 8px;
}

/* Crawler tokens are single words with hyphens; let them shrink rather than
   break, so "OAI-SearchBot" never renders as two stacked fragments. */
.gate__agent-token {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gate__agent-role {
  flex: none;
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
  opacity: 0.72;
  white-space: nowrap;
}

.gates__legend {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}

.gates__legend p {
  max-width: 84ch;
  text-wrap: pretty;
}

.gates__legend p + p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.gates__legend strong {
  color: var(--text);
  font-weight: 570;
}

/* ── Bot View ───────────────────────────────────────────────────────────── */

.botview {
  border-radius: var(--radius-l);
  background: var(--surface-1);
  border: 1px solid var(--line);
  overflow: hidden;
}

.botview__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  flex-wrap: wrap;
}

.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.seg button {
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 520;
  color: var(--text-3);
  transition: color 0.2s, background 0.2s;
}

.seg button[aria-pressed="true"] {
  background: var(--surface-3);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.botview__stats {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.botview__stats b {
  color: var(--text-2);
  font-weight: 560;
}

.botview__pane {
  max-height: 480px;
  overflow-y: auto;
  padding: 22px 24px;
}

.botview__readout {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-word;
}

.botview__empty {
  padding: 30px 0;
  text-align: center;
  color: var(--fail);
  font-size: 16px;
}

.chunk {
  padding: 15px 17px;
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}

.chunk__index {
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.chunk__heading {
  font-size: 15.5px;
  font-weight: 570;
  letter-spacing: -0.014em;
  margin-bottom: 5px;
}

.chunk__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-3);
}

.outline__row {
  display: flex;
  gap: 12px;
  padding: 7px 0;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.outline__level {
  flex: none;
  width: 26px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}

.botview__truncated {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-3);
  font-style: italic;
}

/* ── Pillars + findings ─────────────────────────────────────────────────── */

.pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar {
  border-radius: var(--radius-l);
  background: var(--surface-1);
  border: 1px solid var(--line);
  overflow: hidden;
}

.pillar__head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 19px 22px;
  text-align: left;
  transition: background 0.2s;
}

.pillar__head:hover {
  background: rgba(255, 255, 255, 0.026);
}

.pillar__score {
  flex: none;
  width: 52px;
  font-size: 25px;
  font-weight: 630;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: var(--pillar-color);
}

.pillar__meta {
  flex: 1;
  min-width: 0;
}

.pillar__name {
  font-size: 17px;
  font-weight: 590;
  letter-spacing: -0.018em;
}

.pillar__promise {
  font-size: 14.5px;
  color: var(--text-3);
  margin-top: 2px;
}

.pillar__bar {
  flex: none;
  width: clamp(60px, 14vw, 130px);
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pillar__bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--pillar-color);
  transform-origin: left;
  animation: grow 0.95s var(--ease) both;
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }
}

.pillar__chevron {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--text-3);
  transition: transform 0.3s var(--ease);
}

.pillar[open] .pillar__chevron {
  transform: rotate(180deg);
}

.pillar__list {
  padding: 0 22px 8px;
}

.finding {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.finding__dot {
  margin-top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 9px var(--dot);
}

.finding[data-status="pass"] {
  --dot: var(--pass);
}
.finding[data-status="warn"] {
  --dot: var(--warn);
}
.finding[data-status="fail"] {
  --dot: var(--fail);
}
.finding[data-status="info"] {
  --dot: var(--info);
}

.finding__label {
  font-size: 16px;
  font-weight: 560;
  letter-spacing: -0.014em;
}

.finding__detail {
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.58;
  color: var(--text-2);
  max-width: 74ch;
  text-wrap: pretty;
}

.finding__jump {
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 530;
  color: var(--accent);
  transition: gap 0.2s var(--ease);
}

.finding__jump:hover {
  gap: 9px;
}

/* ── Commerce + revenue ─────────────────────────────────────────────────── */

.panel {
  border-radius: var(--radius-l);
  background: var(--surface-1);
  border: 1px solid var(--line);
  padding: 22px;
}

.panel + .panel {
  margin-top: 12px;
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.panel__score {
  font-size: 25px;
  font-weight: 630;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.panel__title {
  font-size: 17px;
  font-weight: 590;
  letter-spacing: -0.018em;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-2);
}

.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 12px;
}

.option {
  padding: 21px;
  border-radius: var(--radius-l);
  background: var(--surface-1);
  border: 1px solid var(--line);
}

.option h3 {
  font-size: 17px;
  font-weight: 590;
  letter-spacing: -0.018em;
  line-height: 1.3;
}

.option p {
  margin-top: 9px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  text-wrap: pretty;
}

.situation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

/* ── Fixes ──────────────────────────────────────────────────────────────── */

.fixes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fix {
  border-radius: var(--radius-l);
  background: var(--surface-1);
  border: 1px solid var(--line);
  overflow: hidden;
  scroll-margin-top: 24px;
}

.fix__head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 19px 22px;
  text-align: left;
  transition: background 0.2s;
}

.fix__head:hover {
  background: rgba(255, 255, 255, 0.026);
}

.fix__title {
  font-size: 17px;
  font-weight: 590;
  letter-spacing: -0.018em;
}

.fix__subtitle {
  font-size: 14.5px;
  color: var(--text-3);
  margin-top: 2px;
}

.fix__body {
  padding: 0 22px 22px;
}

.fix__why {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 74ch;
  padding-bottom: 16px;
  text-wrap: pretty;
}

.code {
  position: relative;
  border-radius: var(--radius-m);
  background: #0a0b0e;
  border: 1px solid var(--line);
  overflow: hidden;
}

.code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px 9px 15px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-3);
  letter-spacing: 0.03em;
}

.code__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 530;
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.code__copy:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.code__copy[data-copied="true"] {
  color: var(--pass);
  border-color: rgba(48, 209, 88, 0.4);
  background: rgba(48, 209, 88, 0.1);
}

.code pre {
  margin: 0;
  padding: 17px;
  max-height: 400px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  color: #cdd3dd;
  tab-size: 2;
}

.fix__note {
  margin-top: 13px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-3);
  max-width: 74ch;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  counter-increment: step;
  max-width: 74ch;
  text-wrap: pretty;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 570;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

/* ── Failure ────────────────────────────────────────────────────────────── */

.failure {
  max-width: 560px;
  padding: 28px;
  border-radius: var(--radius-l);
  background: rgba(255, 69, 58, 0.07);
  border: 1px solid rgba(255, 69, 58, 0.26);
}

.failure h2 {
  font-size: 22px;
  font-weight: 610;
  letter-spacing: -0.024em;
}

.failure p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.58;
  color: var(--text-2);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 2;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 32px var(--gutter) 56px;
  border-top: 1px solid var(--line);
}

.footer p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 76ch;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .verdict {
    grid-template-columns: 1fr;
    gap: 26px;
    justify-items: start;
  }

  .capture {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .probe__field {
    padding-left: 16px;
  }

  .probe__go span {
    display: none;
  }

  .probe__go {
    padding: 12px 14px;
  }

  .botview__stats {
    margin-left: 0;
    width: 100%;
    gap: 14px;
  }

  .pillar__promise {
    display: none;
  }
}

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

  .scanning__target {
    color: var(--text);
    -webkit-text-fill-color: currentColor;
  }
}
