/*
 * Page styles. The report itself is styled by report.css (appended to this
 * file at build time). To re-brand, change --accent and --accent-ink below.
 */

:root {
  color-scheme: light dark;
  --page: #f9f9f7;
  --surface: #fcfcfb;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #898781;
  --line: #e1e0d9;
  --wash: #f1f0ec;
  --accent: #1c5cab;
  --accent-ink: #ffffff;
  --danger: #b3261e;
  --radius: 14px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --page: #0d0d0d;
    --surface: #1a1a19;
    --ink: #ffffff;
    --ink-2: #c3c2b7;
    --line: #2c2c2a;
    --wash: #242422;
    --accent: #6da7ec;
    --accent-ink: #0b0b0b;
    --danger: #ff8a80;
  }
}
:root[data-theme='dark'] {
  --page: #0d0d0d;
  --surface: #1a1a19;
  --ink: #ffffff;
  --ink-2: #c3c2b7;
  --line: #2c2c2a;
  --wash: #242422;
  --accent: #6da7ec;
  --accent-ink: #0b0b0b;
  --danger: #ff8a80;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--surface);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus {
  left: 0.5rem;
}

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.wrap--narrow {
  max-width: 54rem;
}

/* ── Top bar ── */
.top {
  border-bottom: 1px solid var(--line);
}
.top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  text-decoration: none;
  min-width: 0;
}
.brand__name {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.brand__product {
  color: var(--ink-2);
  font-size: 0.875rem;
  white-space: nowrap;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9375rem;
}
.top nav a {
  text-decoration: none;
  color: var(--ink-2);
  white-space: nowrap;
}
.top nav a:hover {
  color: var(--ink);
}
.top nav .lang {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
}

/* ── Hero ── */
.hero {
  padding: 4.5rem 0 3.5rem;
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 19ch;
  margin-top: 0.75rem;
  text-wrap: balance;
}
.hero__lead {
  max-width: 44rem;
  margin-top: 1.25rem;
  font-size: 1.1875rem;
  color: var(--ink-2);
}
.scan {
  display: flex;
  gap: 0.5rem;
  max-width: 38rem;
  margin-top: 2rem;
  padding: 0.375rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px rgb(0 0 0 / 0.05);
}
.scan:focus-within {
  border-color: var(--accent);
}
.scan input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.125rem;
  padding: 0.75rem 0.875rem;
}
.scan input:focus {
  outline: none;
}
.scan input::placeholder {
  color: var(--muted);
}
.btn,
.scan button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 600;
  padding: 0.75rem 1.375rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover,
.scan button:hover {
  color: var(--accent-ink);
  filter: brightness(1.08);
}
.btn[disabled],
.scan button[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.875rem;
}
.btn--ghost:hover {
  color: var(--ink);
  border-color: var(--ink-2);
  filter: none;
}
.form-error {
  margin-top: 0.75rem;
  color: var(--danger);
  font-weight: 500;
}
.hero__note {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.points li::before {
  content: '';
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.15em;
}

/* ── Result ── */
.result {
  padding: 0 0 3.5rem;
  scroll-margin-top: 1rem;
}
.status {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 1.75rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.status:empty {
  display: none;
}
.status.is-busy::before {
  content: '';
  flex: none;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .status.is-busy::before {
    animation-duration: 2.4s;
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.report-card {
  margin-top: 1rem;
  padding: 2rem;
}
.report-card:focus {
  outline: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* ── Lead form ── */
.lead {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem;
  margin-top: 2rem;
  padding: 2rem;
  scroll-margin-top: 1rem;
}
.lead h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.lead__intro p {
  margin-top: 0.75rem;
  color: var(--ink-2);
}
.lead__gated {
  font-size: 0.9375rem;
}
.lead__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem 1rem;
  align-content: start;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 0;
}
.field em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}
.field--wide {
  grid-column: 1 / -1;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}
.field textarea {
  resize: vertical;
  min-height: 4.5rem;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: transparent;
}
.consent {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.consent input {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.2rem 0 0;
  accent-color: var(--accent);
}
.lead__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.lead__submit .form-error {
  margin: 0;
  font-size: 0.9375rem;
}
/* Honeypot: off-screen for people, present for scripts that fill every field. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lead__success {
  grid-column: 2;
  align-self: center;
}
.lead__success h3 {
  font-size: 1.25rem;
}
.lead__success p {
  margin-top: 0.5rem;
  color: var(--ink-2);
}

/* ── Free monitoring offer (under the report) ── */
.watch {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem;
  margin-top: 2rem;
  padding: 2rem;
}
.watch h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.watch__intro p {
  margin-top: 0.75rem;
  color: var(--ink-2);
}
.watch__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.875rem 1rem;
  align-items: end;
  align-content: start;
}
.watch__notice {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.watch__form .form-error {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9375rem;
}
.watch__sent {
  align-self: center;
}
.watch__sent h3 {
  font-size: 1.25rem;
}
.watch__sent p {
  margin-top: 0.5rem;
  color: var(--ink-2);
}
.watch + .lead {
  margin-top: 1rem;
}

/* ── Account page ── */
.acct {
  --good: #0ca30c;
  --warning: #fab219;
  --serious: #ec835a;
  --critical: #d03b3b;
  padding: 3rem 0 4rem;
  min-height: 60vh;
}
.acct h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.acct .status {
  margin-top: 1rem;
}
.acct code {
  font-family: var(--mono);
  font-size: 0.875em;
  background: var(--wash);
  border-radius: 5px;
  padding: 0.08em 0.3em;
  overflow-wrap: anywhere;
}
.acct-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--wash);
  border-radius: 10px;
  color: var(--ink-2);
}
.acct-card {
  margin-top: 1.5rem;
  padding: 2rem;
}
.acct-card h2 {
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.acct-card > p {
  margin-top: 0.75rem;
  color: var(--ink-2);
}
.acct-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem 1rem;
  align-items: end; /* a label that wraps must not push its field out of line with its neighbour */
  margin-top: 1.25rem;
}
.acct-form__submit {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.acct-form__submit .form-error {
  margin: 0;
  font-size: 0.9375rem;
}
.acct-inline {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 34rem;
}
.acct-inline input {
  flex: 1;
  min-width: 0;
  font: inherit;
  color: var(--ink);
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}
.acct-inline input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: transparent;
}
.acct-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.acct-bar p {
  margin-right: auto;
  overflow-wrap: anywhere;
}
.acct-tier {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.acct-empty {
  margin-top: 1.5rem;
  color: var(--ink-2);
}
.acct-upgrade .acct-upgrade__price {
  font-weight: 600;
  color: var(--ink);
}
.acct-what {
  font-weight: 600;
}
.acct-danger {
  margin-top: 2.5rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.acct-danger summary,
.plan > summary,
.pstep__more summary {
  cursor: pointer;
  width: fit-content;
}
.acct-danger p {
  margin-top: 0.75rem;
  max-width: 40rem;
}
.btn--danger {
  background: var(--danger);
  color: var(--page);
}
.btn--danger:hover {
  color: var(--page);
}
.btn.is-armed {
  border-color: var(--danger);
  color: var(--danger);
}

/* A monitored domain */
.mon {
  margin-top: 1.5rem;
  padding: 2rem;
}
.mon__head {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.mon__grade {
  --tone: var(--muted);
  flex: none;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 12px;
  border: 2px solid var(--tone);
  background: color-mix(in srgb, var(--tone) 12%, var(--surface));
  line-height: 1;
}
.mon__grade span {
  align-self: end;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.mon__grade strong {
  align-self: start;
  font-size: 2rem;
}
.mon__grade--A,
.mon__grade--B {
  --tone: var(--good);
}
.mon__grade--C {
  --tone: var(--warning);
}
.mon__grade--D {
  --tone: var(--serious);
}
.mon__grade--F {
  --tone: var(--critical);
}
.mon__id {
  min-width: 0;
}
.mon__id h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.mon__headline {
  margin-top: 0.25rem;
  font-weight: 500;
}
.mon__meta {
  margin-top: 0.25rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.mon__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.mon__note {
  margin-top: 0.75rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.mon__note:empty {
  display: none;
}
.mon__section,
.plan {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.mon__section h3,
.plan > summary,
.pstep__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.mon__quiet {
  margin-top: 0.5rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.mon__changes {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}
.mon__when {
  font-size: 0.875rem;
  color: var(--ink-2);
}
.change {
  display: flex;
  gap: 0.625rem;
  align-items: baseline;
  margin-top: 0.375rem;
}
.change__tag {
  --tone: var(--muted);
  flex: none;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tone) 45%, var(--surface));
  background: color-mix(in srgb, var(--tone) 10%, var(--surface));
}
.change--worse .change__tag {
  --tone: var(--critical);
}
.change--better .change__tag {
  --tone: var(--good);
}

/* The fix plan */
.plan__body {
  margin-top: 1rem;
}
.plan__summary {
  font-size: 1.0625rem;
}
.plan__ai {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--wash);
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.plan__ai strong {
  color: var(--ink);
}
.plan__meta {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.plan__warn {
  margin-top: 0.75rem;
  color: var(--danger);
  font-size: 0.9375rem;
}
.plan__steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
.pstep {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.875rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.pstep::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--wash);
  font-weight: 600;
  font-size: 0.9375rem;
}
.pstep h4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.3;
}
.plan__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.05rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-2);
}
.pstep__why {
  margin-top: 0.375rem;
  color: var(--ink-2);
}
.pstep__how {
  display: grid;
  gap: 0.375rem;
  margin: 0.75rem 0 0 1.25rem;
  list-style: decimal;
}
.pstep__findings {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
}
.pstep__more {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
}
.pstep__more summary {
  color: var(--ink-2);
}
.pstep__label {
  margin-top: 1rem;
}
.prec {
  margin-top: 0.5rem;
  padding: 0.875rem 1rem;
  background: var(--wash);
  border-radius: 10px;
}
.prec__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.prec__type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.prec__value {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.prec__value code {
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.625rem;
}
.prec__copy {
  flex: none;
}
.prec__delta,
.prec__note,
.prec__origin {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.prec__origin {
  font-size: 0.8125rem;
}
.pstep__wait {
  margin-top: 0.875rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.pstep__links {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
}
.plan__generate {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.plan__generate p + p {
  margin-top: 0.625rem;
}
.plan__generate .form-error {
  font-size: 0.9375rem;
}
.plan__generate .btn {
  white-space: normal; /* a long label must wrap on a phone rather than widen the page */
  text-align: center;
}
.step__paid {
  font-size: 0.875rem;
  color: var(--ink-2);
}

/* ── Content bands ── */
.band {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 0.5rem;
}
.band--alt {
  background: var(--surface);
}
.band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.band__intro {
  max-width: 46rem;
  margin-top: 0.875rem;
  color: var(--ink-2);
  font-size: 1.0625rem;
}
.band__cta {
  margin-top: 2rem;
}
.grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.grid--checks {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1040px) {
  .grid--checks {
    grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  }
}
.grid--steps {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.grid .card h3 {
  font-size: 1.0625rem;
}
.grid .card p {
  margin-top: 0.5rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.band--alt .card {
  background: var(--page);
}
.step {
  position: relative;
}
.grid .step .step__n {
  margin: 0 0 0.75rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wash);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
}
.grid .step .step__price {
  margin-top: 0.25rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
}
.step ul {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.step ul li {
  position: relative;
  padding-left: 1.125rem;
}
.step ul li + li {
  margin-top: 0.375rem;
}
.step ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--muted);
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 3rem;
  margin-top: 2rem;
  max-width: 58rem;
}
@media (max-width: 760px) {
  .facts {
    grid-template-columns: 1fr;
  }
}
.facts li {
  border-left: 2px solid var(--line);
  padding-left: 1rem;
}
.facts__source {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.faq {
  border-bottom: 1px solid var(--line);
  max-width: 50rem;
}
.faq:first-of-type {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  padding: 1rem 2rem 1rem 0;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 0.85rem;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--ink-2);
}
.faq[open] summary::after {
  content: '−';
}
.faq p {
  padding: 0 0 1.125rem;
  color: var(--ink-2);
  max-width: 46rem;
}

/* ── Footer ── */
.foot {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.foot__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}
.notfound {
  padding: 6rem 0;
}
.notfound .btn {
  margin-top: 2rem;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .top nav a:not(.lang):not(.nav__account) {
    display: none;
  }
  .brand__product {
    display: none;
  }
  .hero {
    padding: 2.5rem 0 2.5rem;
  }
  .hero__lead {
    font-size: 1.0625rem;
  }
  .scan {
    flex-direction: column;
  }
  .scan button {
    width: 100%;
  }
  .report-card,
  .lead,
  .watch,
  .acct-card,
  .mon {
    padding: 1.25rem;
  }
  .lead,
  .watch {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .lead__form,
  .watch__form,
  .acct-form {
    grid-template-columns: 1fr;
  }
  .watch__form .btn {
    width: 100%;
  }
  .acct {
    padding: 2rem 0 3rem;
  }
  .mon__head {
    gap: 0.875rem;
  }
  .mon__grade {
    width: 3.75rem;
    height: 3.75rem;
  }
  .pstep {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .prec__value {
    flex-direction: column;
  }
  .acct-inline {
    flex-direction: column;
  }
  .lead__success {
    grid-column: 1;
  }
  .band {
    padding: 2.75rem 0;
  }
}

@media print {
  body {
    background: #fff;
    font-size: 11pt;
  }
  .top,
  .hero,
  .status,
  .actions,
  .lead,
  .watch,
  .band,
  .foot,
  .skip {
    display: none !important;
  }
  .result {
    padding: 0;
  }
  .wrap {
    max-width: none;
    padding: 0;
  }
  .report-card {
    border: 0;
    padding: 0;
    margin: 0;
    background: #fff;
  }
}

/*
 * Report styles. Shared by the website and by the standalone HTML reports the
 * CLI writes, so everything is scoped under .mec-report and self-contained.
 *
 * Colour roles: ink and surfaces are neutral; the four status colours mean
 * state (good / warning / serious / critical) and always sit next to a label.
 */

.mec-report {
  --mec-surface: #fcfcfb;
  --mec-ink: #0b0b0b;
  --mec-ink-2: #52514e;
  --mec-muted: #898781;
  --mec-line: #e1e0d9;
  --mec-wash: #f3f2ee;
  --mec-good: #0ca30c;
  --mec-warning: #fab219;
  --mec-serious: #ec835a;
  --mec-critical: #d03b3b;
  --mec-neutral: #898781;
  --mec-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  color: var(--mec-ink);
  font: 16px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  text-align: left;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .mec-report {
    --mec-surface: #1a1a19;
    --mec-ink: #ffffff;
    --mec-ink-2: #c3c2b7;
    --mec-line: #2c2c2a;
    --mec-wash: #242422;
  }
}
:root[data-theme='dark'] .mec-report {
  --mec-surface: #1a1a19;
  --mec-ink: #ffffff;
  --mec-ink-2: #c3c2b7;
  --mec-line: #2c2c2a;
  --mec-wash: #242422;
}

.mec-report * {
  box-sizing: border-box;
}
/* :where() keeps these resets at the specificity of a single class, so the
   component rules below can set their own margins without fighting them. */
.mec-report :where(h2, h3, p, ul, dl, dd) {
  margin: 0;
  padding: 0;
}
.mec-report :where(h3) {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mec-ink-2);
  margin-bottom: 0.75rem;
}
.mec-report :where(section, footer) {
  margin-top: 2rem;
}
.mec-report code {
  font-family: var(--mec-mono);
  font-size: 0.875em;
  background: var(--mec-wash);
  border-radius: 4px;
  padding: 0.1em 0.35em;
  overflow-wrap: anywhere;
}
.mec-report a {
  color: inherit;
}
.mec-sub {
  color: var(--mec-ink-2);
  font-size: 0.875rem;
}

/* ── Header ── */
.mec-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mec-ink-2);
}
.mec-domain {
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  margin-top: 0.25rem;
}
.mec-meta {
  color: var(--mec-ink-2);
  font-size: 0.875rem;
  margin-top: 0.375rem;
}

/* ── Verdict ── */
.mec-report .mec-verdict {
  --tone: var(--mec-neutral);
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding: 1rem 1.125rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--tone) 45%, var(--mec-surface));
  background: color-mix(in srgb, var(--tone) 10%, var(--mec-surface));
}
.mec-report .mec-verdict--open {
  --tone: var(--mec-critical);
}
.mec-report .mec-verdict--partial {
  --tone: var(--mec-warning);
}
.mec-report .mec-verdict--protected {
  --tone: var(--mec-good);
}
.mec-verdict__icon {
  flex: none;
  display: flex;
  color: color-mix(in srgb, var(--tone) 80%, var(--mec-ink));
  margin-top: 0.1rem;
}
.mec-report .mec-verdict h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mec-ink);
  margin-bottom: 0.25rem;
  overflow-wrap: anywhere;
}
.mec-verdict p {
  color: var(--mec-ink-2);
  font-size: 0.9375rem;
}

/* ── Score ── */
.mec-score__main {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.mec-grade {
  --fill: var(--mec-neutral);
  flex: none;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--fill);
  background: color-mix(in srgb, var(--fill) 12%, var(--mec-surface));
}
.mec-grade__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mec-ink-2);
}
.mec-grade__letter {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 700;
}
.mec-score__figure {
  flex: 1;
  min-width: 0;
}
.mec-score__value {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}
.mec-score__value strong {
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mec-score__value span {
  color: var(--mec-ink-2);
}
.mec-note {
  color: var(--mec-ink-2);
  font-size: 0.8125rem;
  margin-top: 0.375rem;
}

/* Meter: the fill carries the state, the track is a lighter step of the same hue. */
.mec-meter {
  --fill: var(--mec-neutral);
  --track: color-mix(in srgb, var(--fill) 18%, var(--mec-surface));
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 0.5rem;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--track);
  color: var(--fill);
}
.mec-meter::-webkit-progress-bar {
  background: var(--track);
  border-radius: 4px;
}
.mec-meter::-webkit-progress-value {
  background: var(--fill);
  border-radius: 4px;
}
.mec-meter::-moz-progress-bar {
  background: var(--fill);
  border-radius: 4px;
}
.mec-meter--sm {
  height: 6px;
  margin-top: 0.375rem;
}
/* State bands. Declared after the grade tile and the meter, and more specific,
   so they override the neutral default both of those start from. */
.mec-report .mec-band--good {
  --fill: var(--mec-good);
}
.mec-report .mec-band--warning {
  --fill: var(--mec-warning);
}
.mec-report .mec-band--serious {
  --fill: var(--mec-serious);
}
.mec-report .mec-band--critical {
  --fill: var(--mec-critical);
}

.mec-cats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 0.875rem 1.25rem;
  margin-top: 1.5rem;
}
.mec-cat__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}
.mec-cat__name {
  font-weight: 600;
  font-size: 0.9375rem;
}
.mec-cat__val {
  color: var(--mec-ink-2);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mec-cat__help {
  color: var(--mec-ink-2);
  font-size: 0.8125rem;
  line-height: 1.4;
  margin-top: 0.375rem;
}
.mec-cat--na .mec-cat__name,
.mec-cat--na .mec-cat__help {
  color: var(--mec-muted);
}

/* ── At a glance ── */
.mec-facts dl {
  border-top: 1px solid var(--mec-line);
}
.mec-facts dl > div {
  display: grid;
  grid-template-columns: 12.5rem 1fr;
  gap: 0.25rem 1rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--mec-line);
}
.mec-facts dt {
  color: var(--mec-ink-2);
  font-size: 0.875rem;
}
.mec-facts dd {
  min-width: 0;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}
.mec-report .mec-record {
  display: inline-block;
  max-width: 100%;
  padding: 0.25em 0.5em;
  line-height: 1.45;
}
.mec-pill {
  --tone: var(--mec-neutral);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  margin-right: 0.25rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tone) 50%, var(--mec-surface));
  background: color-mix(in srgb, var(--tone) 12%, var(--mec-surface));
  white-space: nowrap;
  vertical-align: 0.05em;
}
.mec-pill::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--tone);
}
.mec-pill--none {
  --tone: var(--mec-critical);
}
.mec-pill--unknown {
  --tone: var(--mec-neutral);
  white-space: normal;
}
.mec-pill--partial {
  --tone: var(--mec-warning);
}
.mec-pill--quarantine,
.mec-pill--reject {
  --tone: var(--mec-good);
}

/* ── Findings ── */
.mec-finding {
  --tone: var(--mec-neutral);
  border: 1px solid var(--mec-line);
  border-radius: 10px;
  background: var(--mec-surface);
  margin-top: 0.5rem;
  break-inside: avoid;
}
.mec-sev--critical {
  --tone: var(--mec-critical);
}
.mec-sev--high {
  --tone: var(--mec-serious);
}
.mec-sev--medium {
  --tone: var(--mec-warning);
}
.mec-sev--pass {
  --tone: var(--mec-good);
}
.mec-finding summary {
  display: grid;
  grid-template-columns: 5.25rem 1fr auto;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  list-style: none;
}
.mec-finding summary::-webkit-details-marker {
  display: none;
}
.mec-finding summary:focus-visible {
  outline: 2px solid var(--mec-ink);
  outline-offset: 2px;
  border-radius: 10px;
}
.mec-sev {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mec-ink-2);
  white-space: nowrap;
}
.mec-dot {
  flex: none;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--tone);
}
.mec-sev--info .mec-dot {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--mec-neutral);
}
.mec-finding__title {
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.mec-tag {
  font-size: 0.75rem;
  color: var(--mec-ink-2);
  border: 1px solid var(--mec-line);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  white-space: nowrap;
}
.mec-finding__body {
  padding: 0 1rem 0.875rem 7rem;
  color: var(--mec-ink-2);
  font-size: 0.9375rem;
}
.mec-finding__body p + p {
  margin-top: 0.5rem;
}
.mec-fix strong {
  color: var(--mec-ink);
  font-weight: 600;
}
.mec-fix strong::after {
  content: ' — ';
  font-weight: 400;
  color: var(--mec-muted);
}

/* ── Lookalike domains ── */
.mec-count {
  display: inline-block;
  min-width: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--mec-wash);
  color: var(--mec-ink);
  text-align: center;
  letter-spacing: 0;
}
.mec-report .mec-locked {
  margin-top: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  background: var(--mec-wash);
  font-size: 0.9375rem;
}
.mec-tablewrap {
  margin-top: 0.75rem;
  overflow-x: auto;
  border: 1px solid var(--mec-line);
  border-radius: 10px;
}
.mec-report table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.mec-report th,
.mec-report td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.875rem;
  border-bottom: 1px solid var(--mec-line);
}
.mec-report th {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mec-ink-2);
  background: var(--mec-wash);
  white-space: nowrap;
}
.mec-report tbody tr:last-child td {
  border-bottom: 0;
}
.mec-report td code {
  background: none;
  padding: 0;
  font-size: 0.9375em;
  overflow-wrap: normal;
  white-space: nowrap;
}

.mec-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mec-ink-2);
  white-space: nowrap;
}
.mec-report td:nth-child(2) {
  white-space: nowrap;
}
.mec-flag--mx {
  --tone: var(--mec-serious);
  color: var(--mec-ink);
  font-weight: 600;
}
.mec-lookalikes > .mec-sub + .mec-sub {
  margin-top: 0.5rem;
}

/* ── Methodology ── */
.mec-method {
  border-top: 1px solid var(--mec-line);
  padding-top: 1.25rem;
  color: var(--mec-ink-2);
  font-size: 0.875rem;
}
.mec-brand {
  margin-top: 0.75rem;
  color: var(--mec-muted);
}

@media (max-width: 560px) {
  .mec-facts dl > div {
    grid-template-columns: 1fr;
  }
  .mec-finding summary {
    grid-template-columns: 1fr auto;
  }
  .mec-finding .mec-sev {
    grid-column: 1 / -1;
  }
  .mec-finding__body {
    padding-left: 1rem;
  }
  .mec-score__value strong {
    font-size: 2.5rem;
  }
}

@media print {
  .mec-report {
    --mec-surface: #fff;
    --mec-ink: #000;
    --mec-ink-2: #3a3a38;
    --mec-line: #d5d4cd;
    --mec-wash: #f1f0ec;
    font-size: 11pt;
  }
  .mec-report :where(section, footer) {
    margin-top: 1.25rem;
  }
  .mec-finding summary {
    cursor: default;
  }
  .mec-tablewrap {
    overflow: visible;
  }
  .mec-report tr {
    break-inside: avoid;
  }
}
