/* SOCTitan */

@font-face { font-family: "Schibsted"; src: url("../fonts/sg-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("../fonts/sg-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("../fonts/sg-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("../fonts/sg-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("../fonts/sg-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/pm-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/pm-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #14213d;
  --ink-2: #3d4a63;
  --ink-3: #6b7588;
  --paper: #f5f6f3;
  --white: #ffffff;
  --line: #d6dae0;
  --line-soft: #e7e9ec;
  --marker: #f2c14e;
  --marker-deep: #d9a21f;
  --marker-soft: #fbedc6;
  --alert: #b3261e;
  --alert-soft: #fbe4e1;
  --warn: #9a5b00;
  --warn-soft: #fdf0d8;
  --safe: #2e7d5b;
  --safe-soft: #e1f1e9;

  --sans: "Schibsted", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --s-1: 0.8235rem;  /* 14px */
  --s0: 1rem;        /* 17px */
  --s1: 1.235rem;    /* 21px */
  --s2: 1.53rem;     /* 26px */
  --s3: 1.94rem;     /* 33px */
  --s4: 2.41rem;     /* 41px */
  --s5: 3.06rem;     /* 52px */
  --s6: 3.88rem;     /* 66px */

  --wrap: 72rem;
  --measure: 40rem;
  --radius-s: 3px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--s0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marker-deep); outline-offset: 2px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
sup a { text-decoration: none; font-size: 0.75em; padding: 0 0.15em; color: var(--ink-2); }
table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.skip { position: absolute; left: -999px; top: 0; background: var(--marker); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.measure { max-width: var(--measure); }
.h1 { font-size: var(--s5); }
.h2 { font-size: var(--s4); font-weight: 800; letter-spacing: -0.02em; }
.h3 { font-size: var(--s1); font-weight: 700; }
.h4 { font-size: var(--s0); font-weight: 700; }
.lede { font-size: var(--s1); line-height: 1.45; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: var(--s-1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 700; font-size: var(--s0);
  padding: 0.62rem 1.05rem; border-radius: var(--radius-s);
  border: 2px solid var(--ink); background: var(--ink); color: var(--white);
  text-decoration: none; cursor: pointer; line-height: 1.2;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--marker { background: var(--marker); border-color: var(--marker); color: var(--ink); }
.btn--marker:hover { background: var(--marker-deep); border-color: var(--marker-deep); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--ghost-light { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--danger { background: var(--white); border-color: var(--alert); color: var(--alert); }
.btn--danger:hover { background: var(--alert); color: var(--white); border-color: var(--alert); }
.btn--small { font-size: var(--s-1); padding: 0.35rem 0.7rem; border-width: 1.5px; }
.btn--big { font-size: var(--s1); padding: 0.8rem 1.4rem; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.link-quiet { text-decoration: none; font-weight: 600; }
.link-quiet:hover { text-decoration: underline; }
.link-arrowless { font-weight: 700; }

/* Masthead */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.masthead__row { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; }
.m-ink { fill: var(--ink); }
.m-marker { fill: var(--marker); }
.brand__word { font-weight: 800; font-size: var(--s1); letter-spacing: -0.02em; }
.sitenav { display: flex; align-items: center; gap: 2rem; }
.sitenav ul { list-style: none; display: flex; gap: 1.4rem; }
.sitenav ul a { text-decoration: none; font-weight: 500; color: var(--ink-2); padding: 0.3rem 0; }
.sitenav ul a:hover, .sitenav ul a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--marker); }
.sitenav__actions { display: flex; align-items: center; gap: 1.1rem; }
.navtoggle { display: none; font: inherit; font-weight: 700; background: none; border: 1.5px solid var(--ink); border-radius: var(--radius-s); padding: 0.35rem 0.8rem; color: var(--ink); }

@media (max-width: 960px) {
  .navtoggle { display: inline-block; }
  .sitenav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: 1rem; }
  .sitenav.is-open { display: flex; }
  .sitenav ul { flex-direction: column; gap: 0.2rem; }
  .sitenav ul a { display: block; padding: 0.55rem 0; font-size: var(--s1); }
  .sitenav__actions { justify-content: space-between; }
}

/* Flash */
.flash { margin: 1.25rem 0 0; padding: 0.8rem 1rem; border-left: 4px solid var(--safe); background: var(--safe-soft); }
.flash--error { border-color: var(--alert); background: var(--alert-soft); }
.errors { margin: 0 0 1.25rem; padding: 0.8rem 1rem 0.8rem 2rem; border-left: 4px solid var(--alert); background: var(--alert-soft); }

/* Sections */
.section { padding: 5.5rem 0; }
.section--rule { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink a { color: var(--paper); }
.section--ink .lede { color: #c9d0dc; }
.section--marker { background: var(--marker); }
.section--sources { padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--line); }
.sources { padding-left: 1.2rem; font-size: var(--s-1); color: var(--ink-2); max-width: 52rem; }
.sources li { margin-bottom: 0.4rem; }
.sources li:target { background: var(--marker-soft); }

/* Hero */
.hero { padding: 4.5rem 0 5rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
.hero__title { font-size: clamp(2.3rem, 5.2vw, var(--s6)); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 1.2rem; max-width: 14ch; }
.hero__lede { font-size: var(--s1); line-height: 1.45; color: var(--ink-2); max-width: 34rem; margin-bottom: 2rem; }
.hero__fine { font-size: var(--s-1); color: var(--ink-3); margin-top: 1rem; max-width: 32rem; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 3rem; } }

/* Check form */
.checkform { max-width: 36rem; }
.checkform__label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.checkform__row { display: flex; gap: 0.5rem; }
.checkform__input {
  flex: 1; min-width: 0; font: inherit; font-family: var(--mono); font-size: var(--s1);
  padding: 0.7rem 0.85rem; border: 2px solid var(--ink); border-radius: var(--radius-s); background: var(--white); color: var(--ink);
}
.checkform__input::placeholder { color: #9aa2b1; }
.checkform__agree { display: flex; gap: 0.55rem; align-items: flex-start; margin-top: 0.85rem; font-size: var(--s-1); color: var(--ink-2); cursor: pointer; }
.checkform__agree input { margin-top: 0.25rem; accent-color: var(--ink); width: 1rem; height: 1rem; }
.checkform__result:empty { display: none; }
.checkform__result { margin-top: 1.5rem; }
@media (max-width: 560px) { .checkform__row { flex-direction: column; } }

.result { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; }
.result__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; margin-bottom: 0.8rem; }
.result__value { font-family: var(--mono); font-weight: 500; overflow-wrap: anywhere; }
.result__total { font-size: var(--s3); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0.2rem 0 0.6rem; }
.result__cats { list-style: none; border-top: 1px solid var(--line-soft); margin: 0.8rem 0 1rem; }
.result__cats li { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); }
.result__cats .n { font-family: var(--mono); font-weight: 500; text-align: right; }
.result__cats .about { grid-column: 1 / -1; font-size: var(--s-1); color: var(--ink-3); }
.result__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.result--error { border-color: var(--alert); background: var(--alert-soft); }
.result--loading { border-style: dashed; color: var(--ink-2); }

/* Specimen (signature element) */
.specimen { margin: 0; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); }
.specimen__cap { font-size: var(--s-1); color: var(--ink-3); padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
.specimen__list { list-style: none; }
.specimen__note { font-size: var(--s-1); padding: 0.9rem 1.1rem; margin: 0; border-top: 1px solid var(--line); background: var(--paper); border-radius: 0 0 var(--radius) var(--radius); }
.leak { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: 0.84rem; }
.leak:last-child { border-bottom: 0; }
.leak__who { font-weight: 500; overflow-wrap: anywhere; }
.leak__pw { grid-column: 1; display: flex; gap: 0.25rem; }
.leak__where { grid-column: 1; color: var(--ink-2); }
.leak__src { grid-column: 1; font-family: var(--sans); font-size: var(--s-1); color: var(--ink-3); }
.leak .tag { grid-column: 2; grid-row: 1; align-self: start; }
.redact { display: inline-block; background: var(--ink); color: transparent; border-radius: 1px; padding: 0 0.2rem; user-select: none; position: relative; }
.redact::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--marker); }
.redact--short { padding: 0 0.1rem; }
@media (prefers-reduced-motion: no-preference) {
  .specimen .redact { animation: redact-in 0.5s ease-out both; }
  .specimen .leak:nth-child(1) .redact { animation-delay: 0.35s; }
  .specimen .leak:nth-child(2) .redact { animation-delay: 0.55s; }
  .specimen .leak:nth-child(3) .redact { animation-delay: 0.75s; }
}
@keyframes redact-in { from { background: var(--marker); color: var(--ink); } to { background: var(--ink); color: transparent; } }

/* Tags */
.tag { display: inline-block; font-family: var(--sans); font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 99px; white-space: nowrap; border: 1px solid currentColor; }
.tag--critical { color: var(--alert); background: var(--alert-soft); }
.tag--high { color: var(--warn); background: var(--warn-soft); }
.tag--medium { color: var(--ink-2); background: var(--line-soft); }
.tag--low, .tag--ok { color: var(--safe); background: var(--safe-soft); }

/* Threats */
.threats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; margin-top: 3rem; }
.threat { border-top: 4px solid var(--ink); padding-top: 1.2rem; }
.threat p { color: var(--ink-2); }
@media (max-width: 860px) { .threats { grid-template-columns: 1fr; gap: 2rem; } }

/* Steps (a real sequence) */
.steps-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; }
.steps { list-style: none; counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 0 0 1.8rem 3.6rem; border-left: 2px solid var(--line); margin-left: 1.1rem; }
.step:last-child { border-left-color: transparent; padding-bottom: 0; }
.step::before {
  content: counter(step); position: absolute; left: -1.15rem; top: -0.15rem;
  width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--marker); color: var(--ink);
  display: grid; place-items: center; font-weight: 800;
}
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Audiences */
.audiences { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.audience { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.audience p { margin: 0; color: var(--ink-2); max-width: 40rem; }
.audience:hover .h3 { box-shadow: inset 0 -0.45em 0 var(--marker-soft); }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; gap: 0.5rem; } }

/* Trust band */
.trustband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; }
.trustband .h2 { font-size: var(--s3); }
.controls { list-style: none; }
.controls li { padding: 0.95rem 0; border-bottom: 1px solid #2f3d5c; color: #d6dbe5; }
.controls li:first-child { padding-top: 0; }
.controls strong { color: var(--white); }
@media (max-width: 860px) { .trustband { grid-template-columns: 1fr; gap: 2rem; } }

/* Comparison */
.tablewrap { overflow-x: auto; margin-top: 2rem; }
.compare { min-width: 44rem; font-size: 0.95rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: var(--s-1); color: var(--ink-2); font-weight: 600; border-bottom: 2px solid var(--ink); }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td { color: var(--ink-2); }
.compare .compare__us { background: var(--white); color: var(--ink); font-weight: 600; border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.compare thead .compare__us { color: var(--ink); background: var(--marker); border-top: 2px solid var(--ink); }
.compare tbody tr:last-child .compare__us { border-bottom: 2px solid var(--ink); }

/* Closing */
.closing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.closing .h2 { font-size: var(--s3); }
.closing .checkform__agree { color: var(--ink); }
.section--marker .btn--marker { background: var(--ink); color: var(--white); border-color: var(--ink); }
.section--marker .btn--marker:hover { background: var(--ink-2); }
@media (max-width: 860px) { .closing { grid-template-columns: 1fr; } }

/* Generic page */
.pagehead { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--line); }
.pagehead__title { font-size: clamp(2.1rem, 4.5vw, var(--s5)); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; max-width: 20ch; }
.pagehead .lede { max-width: var(--measure); margin-bottom: 0; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--s2); margin-top: 2.5rem; }
.prose h3 { font-size: var(--s1); margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1em; }
.prose li { margin-bottom: 0.35em; }
.prose address { font-style: normal; white-space: pre-line; margin-bottom: 1em; }

.block { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: 3rem; padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block__side .h2 { font-size: var(--s3); }
.block__side p { color: var(--ink-2); }
.block__main > p { max-width: var(--measure); }
.checklist { list-style: none; }
.checklist li { position: relative; padding: 0.55rem 0 0.55rem 1.9rem; border-bottom: 1px solid var(--line-soft); }
.checklist li::before { content: ""; position: absolute; left: 0.1rem; top: 0.95rem; width: 0.95rem; height: 0.5rem; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.checklist li:last-child { border-bottom: 0; }
.note { border-left: 4px solid var(--marker); background: var(--white); padding: 1rem 1.2rem; margin: 1.5rem 0; max-width: var(--measure); }
.note p:last-child { margin: 0; }
@media (max-width: 860px) { .block { grid-template-columns: 1fr; gap: 1rem; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 3rem; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.plan { padding: 1.6rem 1.4rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.plan:last-child { border-right: 0; }
.plan--focus { background: var(--marker-soft); }
.plan__name { font-size: var(--s1); font-weight: 800; margin-bottom: 0.3rem; }
.plan__for { color: var(--ink-2); font-size: var(--s-1); min-height: 3.2em; }
.plan__price { font-size: var(--s2); font-weight: 800; letter-spacing: -0.02em; margin: 0.6rem 0 0; line-height: 1.15; }
.plan__price--quote { font-size: var(--s0); font-weight: 700; }
.plan__period { font-size: var(--s-1); color: var(--ink-3); margin-bottom: 1rem; }
.plan .checklist { font-size: 0.92rem; flex: 1; margin-bottom: 1.2rem; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan:nth-child(2) { border-right: 0; } .plan:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .plan { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Forms (site + portal) */
.form { max-width: 38rem; }
.field { margin-bottom: 1.1rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.field .hint { display: block; font-size: var(--s-1); color: var(--ink-3); margin-top: 0.25rem; }
.input, select.input, textarea.input {
  width: 100%; font: inherit; padding: 0.6rem 0.75rem; border: 1.5px solid #9aa3b2; border-radius: var(--radius-s); background: var(--white); color: var(--ink);
}
.input:focus { border-color: var(--ink); }
textarea.input { min-height: 9rem; resize: vertical; }
.input--mono { font-family: var(--mono); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check { display: flex; gap: 0.55rem; align-items: flex-start; margin-bottom: 0.6rem; cursor: pointer; }
.check input { margin-top: 0.3rem; accent-color: var(--ink); }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 3.5rem 0 1.5rem; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand { font-weight: 800; font-size: var(--s1); margin-bottom: 0.5rem; }
.footer__about p { color: var(--ink-2); max-width: 26rem; }
.footer__head { font-weight: 700; margin-bottom: 0.6rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.35rem; }
.footer li a { text-decoration: none; color: var(--ink-2); }
.footer li a:hover { color: var(--ink); text-decoration: underline; }
.footer__base { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); font-size: var(--s-1); color: var(--ink-3); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ */
/* Sign-in pages                                                        */
/* ------------------------------------------------------------------ */
.authpage { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.authpage__side { background: var(--ink); color: var(--paper); padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.authpage__side a { color: var(--paper); }
.authpage__side .brand__word { color: var(--paper); }
.authpage__side .m-ink { fill: var(--paper); }
.authpage__quote { font-size: var(--s2); font-weight: 700; line-height: 1.25; max-width: 22ch; letter-spacing: -0.015em; }
.authpage__main { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
.authbox { width: 100%; max-width: 25rem; }
.authbox h1 { font-size: var(--s3); font-weight: 800; letter-spacing: -0.02em; }
.authbox .btn { width: 100%; }
.secret { font-family: var(--mono); font-size: 1.05rem; letter-spacing: 0.08em; background: var(--white); border: 1.5px dashed var(--ink); padding: 0.7rem; border-radius: var(--radius-s); overflow-wrap: anywhere; }
.qr { width: 11rem; height: 11rem; background: var(--white); padding: 0.5rem; border: 1px solid var(--line); margin: 0.5rem 0 1rem; }
.qr svg { width: 100%; height: 100%; }
@media (max-width: 860px) { .authpage { grid-template-columns: 1fr; } .authpage__side { padding: 1.5rem; } .authpage__quote { display: none; } }

/* ------------------------------------------------------------------ */
/* Portal                                                               */
/* ------------------------------------------------------------------ */
.app { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: 100vh; }
.app__side { background: var(--ink); color: #cdd4e0; padding: 1.4rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.app__side .brand { margin: 0 0.5rem 1.8rem; }
.app__side .brand__word { color: var(--paper); font-size: var(--s0); }
.app__side .m-ink { fill: var(--paper); }
.sidenav { list-style: none; margin-bottom: 1.4rem; }
.sidenav__head { font-size: var(--s-1); color: #8f9ab0; margin: 0 0.6rem 0.4rem; }
.sidenav a { display: block; padding: 0.45rem 0.6rem; border-radius: var(--radius-s); color: #dfe4ec; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.sidenav a:hover { background: #22325a; }
.sidenav a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.app__foot { margin-top: auto; font-size: var(--s-1); padding: 0 0.6rem; }
.app__foot form { margin-top: 0.6rem; }
.app__foot .btn { width: 100%; }
.app__main { padding: 2rem 2.4rem 4rem; min-width: 0; }
.app__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.app__title { font-size: var(--s3); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.app__sub { color: var(--ink-2); margin: 0.3rem 0 0; max-width: 44rem; }
.app .flash { margin: 0 0 1.4rem; }
.apptoggle { display: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .app__side { position: static; height: auto; }
  .apptoggle { display: inline-block; position: absolute; right: 1rem; top: 1.1rem; }
  .app__side .sidenav, .app__side .sidenav__head, .app__side .snav, .app__foot { display: none; }
  .app__side.is-open .sidenav, .app__side.is-open .sidenav__head, .app__side.is-open .snav, .app__side.is-open .app__foot { display: block; }
  .app__main { padding: 1.5rem 1.1rem 3rem; }
}

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.5rem; }
.panel h2 { font-size: var(--s1); }
.panel--warn { border-left: 4px solid var(--marker-deep); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 1000px) { .grid2 { grid-template-columns: 1fr; } }
.servicelist { list-style: none; }
.servicelist li { border-bottom: 1px solid var(--line-soft); }
.servicelist li:last-child { border-bottom: 0; }
.servicelist a { display: block; padding: 0.8rem 0; text-decoration: none; }
.servicelist strong { display: block; }
.servicelist span { color: var(--ink-3); font-size: var(--s-1); }
.servicelist a:hover strong { text-decoration: underline; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 1.5rem; }
.facts div { padding: 1rem 1.2rem; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: var(--s-1); color: var(--ink-3); }
.facts dd { margin: 0.15rem 0 0; font-size: var(--s2); font-weight: 800; letter-spacing: -0.02em; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.searchform { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: flex-end; }
.searchform .field { margin: 0; flex: 1 1 14rem; }
.searchform .btn { height: 2.85rem; }

.datatable { width: 100%; font-size: 0.92rem; background: var(--white); }
.datatable th, .datatable td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.datatable thead th { font-size: var(--s-1); color: var(--ink-3); font-weight: 600; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.datatable tbody tr:hover { background: #fafbf8; }
.datatable .mono, .mono { font-family: var(--mono); font-size: 0.85rem; overflow-wrap: anywhere; }
.datatable .fields { color: var(--ink-3); font-size: var(--s-1); }
.pwcell { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.tablescroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.catgrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 1.5rem; }
.catgrid li { padding: 1rem 1.2rem; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.catgrid li:nth-child(3n) { border-right: 0; }
.catgrid .n { font-size: var(--s2); font-weight: 800; display: block; }
.catgrid .name { font-weight: 600; display: block; }
.catgrid .about { font-size: var(--s-1); color: var(--ink-3); }
.catgrid .failed { color: var(--warn); font-size: var(--s-1); }
@media (max-width: 900px) { .catgrid { grid-template-columns: 1fr; } .catgrid li { border-right: 0; } }

.guidance { border-left: 4px solid var(--marker); background: var(--white); padding: 1.1rem 1.3rem; margin-bottom: 1rem; border-radius: 0 var(--radius) var(--radius) 0; }
.guidance h3 { font-size: var(--s0); margin-bottom: 0.5rem; }
.guidance ol { padding-left: 1.2rem; color: var(--ink-2); }
.guidance li { margin-bottom: 0.35rem; }
.langswitch { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--radius-s); overflow: hidden; }
.langswitch button { font: inherit; font-size: var(--s-1); font-weight: 600; padding: 0.3rem 0.7rem; border: 0; background: var(--white); color: var(--ink); cursor: pointer; }
.langswitch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.6rem 0 0.8rem; }
.toolbar h2 { margin: 0; font-size: var(--s1); }

.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: 99px; background: var(--line-soft); color: var(--ink-2); }
.badge--ok { background: var(--safe-soft); color: var(--safe); }
.badge--off { background: var(--alert-soft); color: var(--alert); }
.badge--admin { background: var(--marker-soft); color: var(--ink); }
.actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.actions form { margin: 0; }
.alerts { list-style: none; }
.alerts li { padding: 0.6rem 0; border-bottom: 1px solid var(--line-soft); }
.alerts li.unread { font-weight: 600; }
.alerts time { display: block; font-size: var(--s-1); color: var(--ink-3); font-weight: 400; }
.newpass { background: var(--marker-soft); border: 1.5px solid var(--ink); padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.grantlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.grantlist .check span small { display: block; color: var(--ink-3); font-size: var(--s-1); }
@media (max-width: 700px) { .grantlist { grid-template-columns: 1fr; } }
.empty { padding: 2rem; text-align: center; color: var(--ink-2); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }
.spinner { display: inline-block; width: 1rem; height: 1rem; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: -0.15rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.5s; } }
[hidden] { display: none !important; }

/* Definition lists (training) */
.deflist { margin: 0 0 1.5rem; }
.deflist dt { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.deflist dt:first-child { border-top: 0; padding-top: 0; }
.deflist dd { margin: 0.25rem 0 1rem; color: var(--ink-2); max-width: var(--measure); }
.check .input { display: inline-block; width: 6.5rem; padding: 0.25rem 0.45rem; margin: 0 0.3rem; }
.check small { display: block; }
.steps--compact .step { padding-left: 2.6rem; padding-bottom: 1.1rem; }
.steps--compact .step::before { width: 1.8rem; height: 1.8rem; left: -0.95rem; font-size: var(--s-1); }
.steps--compact .step p { font-size: 0.95rem; }
.facts dd.mono { font-size: var(--s0); font-family: var(--mono); font-weight: 500; padding-top: 0.4rem; }
.qr img { width: 100%; height: 100%; image-rendering: pixelated; }
code { font-family: var(--mono); font-size: 0.9em; }
.pagehead + .section { padding-top: 3rem; }
.formstatus:empty { display: none; } .formstatus { margin: 0 0 1rem; }

/* ------------------------------------------------------------------ */
/* Motion                                                               */
/* ------------------------------------------------------------------ */
.masthead { transition: box-shadow 0.25s ease, background-color 0.25s ease; }
.masthead { position: sticky; top: 0; }
.masthead.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(20, 33, 61, 0.08); background: rgba(245, 246, 243, 0.96); }
.btn { transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--marker:hover { box-shadow: 0 4px 0 var(--ink); }

/* Stats band */
.section--stats { background: var(--white); border-top: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; margin: 2.5rem 0 0; }
.stat dt { margin: 0 0 0.5rem; }
.stat__n { font-size: clamp(2.2rem, 4vw, var(--s5)); font-weight: 800; letter-spacing: -0.035em; line-height: 1; display: inline-block; box-shadow: inset 0 -0.28em 0 var(--marker); }
.stat dd { margin: 0; color: var(--ink-2); max-width: 17rem; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* Specimen: live cycling examples */
.specimen { position: relative; overflow: hidden; }
.specimen__cap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.specimen__target { font-family: var(--mono); color: var(--ink); font-weight: 500; }
.specimen__target::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--alert); margin-right: 0.45rem; vertical-align: 0.1rem; }
.specimen__scan { position: absolute; left: 0; right: 0; height: 0; top: 2.9rem; pointer-events: none; z-index: 2; }
.specimen__list { min-height: 22.5rem; }
@media (max-width: 900px) { .specimen__list { min-height: 0; } }

html.motion .hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
html.motion .hero__title .w > span { display: inline-block; transform: translateY(105%); animation: word-up 0.7s cubic-bezier(0.2, 0.7, 0.1, 1) forwards; }
html.motion .hero__title .w:nth-child(1) > span { animation-delay: 0.05s; }
html.motion .hero__title .w:nth-child(2) > span { animation-delay: 0.12s; }
html.motion .hero__title .w:nth-child(3) > span { animation-delay: 0.19s; }
html.motion .hero__title .w:nth-child(4) > span { animation-delay: 0.26s; }
html.motion .hero__title .w:nth-child(5) > span { animation-delay: 0.33s; }
html.motion .hero__title .w:nth-child(6) > span { animation-delay: 0.40s; }
html.motion .hero__title .w:nth-child(7) > span { animation-delay: 0.47s; }
@keyframes word-up { to { transform: translateY(0); } }
html.motion .hero__lede, html.motion .hero .checkform, html.motion .hero__fine { animation: fade-up 0.7s 0.55s ease-out both; }
html.motion .specimen { animation: fade-up 0.8s 0.35s ease-out both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

html.motion .specimen__scan { height: 2px; background: linear-gradient(90deg, transparent, var(--marker) 30%, var(--marker-deep) 50%, var(--marker) 70%, transparent); box-shadow: 0 0 14px var(--marker); opacity: 0; }
html.motion .specimen.is-scanning .specimen__scan { animation: scan 1.4s ease-in-out; }
@keyframes scan { 0% { top: 2.9rem; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 3.2rem); opacity: 0; } }
html.motion .leak { animation: leak-in 0.45s ease-out both; }
html.motion .leak:nth-child(2) { animation-delay: 0.35s; }
html.motion .leak:nth-child(3) { animation-delay: 0.7s; }
html.motion .leak.is-out { animation: leak-out 0.3s ease-in both; }
@keyframes leak-in { from { opacity: 0; transform: translateX(-10px); background: var(--marker-soft); } 60% { background: var(--marker-soft); } to { opacity: 1; transform: none; background: transparent; } }
@keyframes leak-out { to { opacity: 0; transform: translateX(10px); } }
html.motion .specimen .leak:nth-child(1) .redact { animation-delay: 0.45s; }
html.motion .specimen .leak:nth-child(2) .redact { animation-delay: 0.8s; }
html.motion .specimen .leak:nth-child(3) .redact { animation-delay: 1.15s; }
html.motion .leak .tag { animation: pop 0.35s ease-out both; }
html.motion .leak:nth-child(1) .tag { animation-delay: 0.6s; }
html.motion .leak:nth-child(2) .tag { animation-delay: 0.95s; }
html.motion .leak:nth-child(3) .tag { animation-delay: 1.3s; }
@keyframes pop { from { opacity: 0; transform: scale(0.7); } 70% { transform: scale(1.08); } to { opacity: 1; transform: none; } }
html.motion .specimen__target.is-swap { animation: swap 0.5s ease-out; }
@keyframes swap { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Scroll reveal: only elements below the fold at load get hidden first */
html.motion .reveal.is-pending { opacity: 0; transform: translateY(22px); }
html.motion .reveal { transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.2, 0.7, 0.1, 1); }
html.motion .reveal.is-in { opacity: 1; transform: none; }
html.motion [data-stagger] > * { transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
html.motion [data-stagger].is-pending > * { opacity: 0; transform: translateX(-14px); }

/* Steps: the line fills as you scroll */
.steps { position: relative; }
html.motion .step { border-left-color: var(--line); }
html.motion [data-steps]::before { content: ""; position: absolute; left: 1.1rem; top: 0; width: 2px; height: var(--fill, 0%); background: var(--ink); transition: height 0.2s linear; z-index: 1; }
.step::before { z-index: 2; }
html.motion .step.is-in::before { animation: pop 0.45s ease-out both; }

/* Comparison column highlight */
html.motion [data-compare].is-in .compare__us { animation: col-flash 1.4s ease-out 0.3s both; }
@keyframes col-flash { 0% { background: var(--white); } 35% { background: var(--marker-soft); } 100% { background: var(--white); } }
html.motion [data-compare].is-in thead .compare__us { animation: none; }

/* Free check: staged progress */
.progress { list-style: none; margin: 0.4rem 0 0; }
.progress li { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0; color: var(--ink-3); transition: color 0.2s; }
.progress li::before { content: ""; width: 1rem; height: 1rem; flex: none; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
.progress li.is-active { color: var(--ink); font-weight: 600; }
.progress li.is-active::before { border-color: var(--line); border-top-color: var(--ink); animation: spin 0.8s linear infinite; }
.progress li.is-done { color: var(--ink-2); }
.progress li.is-done::before { border: 0; background: var(--safe); box-shadow: inset 0 0 0 3px var(--safe-soft); }
.progressbar { height: 4px; background: var(--line-soft); border-radius: 2px; overflow: hidden; margin-top: 0.8rem; }
.progressbar > span { display: block; height: 100%; width: 0; background: var(--marker-deep); transition: width 0.6s ease-out; }
html.motion .result { animation: fade-up 0.45s ease-out both; }
html.motion .result__cats li { animation: fade-up 0.4s ease-out both; }
html.motion .result__cats li:nth-child(2) { animation-delay: 0.12s; }
html.motion .result__cats li:nth-child(3) { animation-delay: 0.24s; }
html.motion .result__cats li:nth-child(4) { animation-delay: 0.36s; }
.checkform__input { transition: border-color 0.15s, box-shadow 0.15s; }
.checkform__input:focus { box-shadow: 0 0 0 4px var(--marker-soft); outline: none; border-color: var(--ink); }

/* Portal */
html.motion .app__main > * { animation: fade-up 0.4s ease-out both; }
html.motion .datatable tbody tr { animation: fade-up 0.35s ease-out both; }
html.motion .catgrid li, html.motion .guidance, html.motion .facts div { animation: fade-up 0.4s ease-out both; }
html.motion .catgrid li:nth-child(2), html.motion .facts div:nth-child(2) { animation-delay: 0.06s; }
html.motion .catgrid li:nth-child(3), html.motion .facts div:nth-child(3) { animation-delay: 0.12s; }
html.motion .catgrid li:nth-child(4), html.motion .facts div:nth-child(4) { animation-delay: 0.18s; }
html.motion .catgrid li:nth-child(5) { animation-delay: 0.24s; }
html.motion .catgrid li:nth-child(6) { animation-delay: 0.3s; }
.servicelist a, .sidenav a, .audience { transition: background-color 0.15s, color 0.15s, padding 0.2s; }
.servicelist a:hover { padding-left: 0.4rem; }
.plan { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 10px 0 -2px var(--ink); position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
}

/* Services dropdown */
.sitenav ul.menu__list { display: block; }
.hasmenu { position: relative; display: flex; align-items: center; gap: 0.15rem; }
.hasmenu__toggle { background: none; border: 0; padding: 0.3rem 0.2rem; cursor: pointer; color: var(--ink-2); display: inline-flex; }
.hasmenu__toggle svg { width: 0.75rem; height: 0.75rem; transition: transform 0.2s ease; }
.menu { position: absolute; top: calc(100% + 0.6rem); left: -1rem; min-width: 17rem; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s; z-index: 20; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -0.8rem; height: 0.8rem; }
.hasmenu:hover .menu, .hasmenu:focus-within .menu, .hasmenu.is-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s; }
.hasmenu:hover .hasmenu__toggle svg, .hasmenu.is-open .hasmenu__toggle svg { transform: rotate(180deg); }
.sitenav .menu__list a { display: block; padding: 0.5rem 0.7rem; border-radius: var(--radius-s); color: var(--ink); font-weight: 500; box-shadow: none; }
.sitenav .menu__list a:hover { background: var(--marker-soft); box-shadow: none; }
.menu__sep { border-top: 1px solid var(--line-soft); margin-top: 0.35rem; padding-top: 0.35rem; }
@media (max-width: 960px) {
  .hasmenu { flex-wrap: wrap; }
  .hasmenu__link { flex: 1; }
  .menu { position: static; min-width: 0; width: 100%; box-shadow: none; border: 0; padding: 0 0 0 0.8rem; display: none; opacity: 1; visibility: visible; transform: none; }
  .hasmenu:hover .menu { display: none; }
  .hasmenu.is-open .menu { display: block; }
  .sitenav .menu__list a { font-size: var(--s0); padding: 0.45rem 0; }
}

/* Service cards */
.servicegrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.servicecard { display: flex; flex-direction: column; height: 100%; padding: 1.5rem 1.4rem 1.3rem; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.servicecard:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.servicecard p { color: var(--ink-2); flex: 1; }
.servicecard__kicker { font-size: var(--s-1); color: var(--ink-3); margin-bottom: 0.5rem; }
.servicecard__more { font-weight: 700; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--marker-deep); text-decoration-thickness: 2px; }
.servicecard--ink { background: var(--ink); color: var(--paper); }
.servicecard--ink p, .servicecard--ink .servicecard__kicker { color: #c9d0dc; }
.servicecard--ink:hover { box-shadow: 6px 6px 0 var(--marker); }
@media (max-width: 960px) { .servicegrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .servicegrid { grid-template-columns: 1fr; } }

.crumbs { font-size: var(--s-1); color: var(--ink-3); margin-bottom: 0.8rem; }
.crumbs a { color: var(--ink-2); }
.minifacts { display: grid; gap: 0; border-top: 2px solid var(--ink); margin: 0; }
.minifacts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.minifacts dt { color: var(--ink-3); }
.minifacts dd { margin: 0; font-weight: 700; text-align: right; }
.related { list-style: none; }
.related a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; }
.related strong { display: block; }
.related span { color: var(--ink-3); font-size: 0.95rem; }
.related a:hover strong { text-decoration: underline; }
.actions-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Training */
.pagehead--center { text-align: center; }
.pagehead--center .pagehead__title, .pagehead--center .lede { margin-left: auto; margin-right: auto; }
.pagehead--center .pagehead__title { max-width: 22ch; }
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.track { display: flex; flex-direction: column; padding: 2rem; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.track:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--marker); }
.track__n { font-size: var(--s6); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.track__unit { color: var(--ink-3); margin-bottom: 1.2rem; }
.track p { color: var(--ink-2); flex: 1; }
@media (max-width: 760px) { .tracks { grid-template-columns: 1fr; } }
.coursegrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.coursegrid--two { grid-template-columns: 1fr 1fr; }
.course { display: flex; flex-direction: column; padding: 1.5rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s; }
.course:hover { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.course p { color: var(--ink-2); }
.course > p:last-of-type { flex: 1; }
.course .checklist { margin-bottom: 1.2rem; font-size: 0.95rem; }
.course .btn { align-self: flex-start; margin-top: auto; }
.course__meta { margin: 0 0 1rem; font-size: var(--s-1); }
.course__meta div { display: flex; gap: 0.5rem; padding: 0.15rem 0; }
.course__meta dt { color: var(--ink-3); min-width: 4rem; }
.course__meta dd { margin: 0; font-weight: 600; }
.course__tag { font-weight: 600; color: var(--ink) !important; border-left: 3px solid var(--marker); padding-left: 0.7rem; }
@media (max-width: 960px) { .coursegrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .coursegrid, .coursegrid--two { grid-template-columns: 1fr; } }

/* DPA terms */
.terms { margin: 0; }
.terms dt { font-weight: 700; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.terms dt:first-child { border-top: 0; padding-top: 0; }
.terms dd { margin: 0.3rem 0 1rem; color: var(--ink-2); max-width: var(--measure); }
.toms ul { padding-left: 1.2rem; }
.sitenav > ul { align-items: center; }
.sitenav > ul > li > a { display: inline-block; line-height: 1.4; }
@media (max-width: 960px) { .sitenav > ul { align-items: stretch; } .sitenav > ul > li > a { display: block; } }
.authpage__side .m-marker, .app__side .m-marker { fill: var(--ink); }
.inlineform { display: inline-block; margin: 0 0.5rem 0.5rem 0; }


/* =====================================================================
   Portal v2: grouped menu, search hero, results, report tabs
   ===================================================================== */
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app { grid-template-columns: 16.5rem minmax(0, 1fr); }
.snav { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 1.2rem; }
.snav__link, .snav__group > summary { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.7rem; border-radius: 8px; color: #dfe4ec; text-decoration: none; font-weight: 500; font-size: 0.95rem; cursor: pointer; }
.snav__link .ico, .snav__group > summary .ico { width: 1.15rem; height: 1.15rem; color: #aab4c8; }
.snav__link:hover, .snav__group > summary:hover { background: #22325a; }
.snav__link[aria-current="page"] { background: var(--marker); color: var(--ink); }
.snav__link[aria-current="page"] .ico { color: var(--ink); }
.snav__group > summary { list-style: none; background: #1b2a4c; margin-top: 0.15rem; }
.snav__group > summary::-webkit-details-marker { display: none; }
.snav__group > summary::after { content: ""; margin-left: auto; width: 0.45rem; height: 0.45rem; border-right: 1.8px solid #aab4c8; border-bottom: 1.8px solid #aab4c8; transform: rotate(-45deg); transition: transform 0.15s; }
.snav__group[open] > summary::after { transform: rotate(45deg); }
.snav__group > summary span { flex: 1; }
.snav__group ul { list-style: none; margin: 0.2rem 0 0.4rem; padding: 0; }
.snav__group li a { display: flex; align-items: center; gap: 0.65rem; padding: 0.45rem 0.7rem 0.45rem 2.6rem; border-radius: 8px; color: #dfe4ec; text-decoration: none; font-size: 0.93rem; position: relative; }
.snav__group li a::before { content: ""; position: absolute; left: 1.35rem; width: 5px; height: 5px; border-radius: 50%; background: #6e7a93; }
.snav__group li a:hover { background: #22325a; }
.snav__group li a[aria-current="page"] { background: var(--marker); color: var(--ink); font-weight: 600; }
.snav__group li a[aria-current="page"]::before { background: var(--ink); }
.snav__badge { margin-left: auto; font-size: 0.72rem; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.snav__badge--stealer { color: #f6c768; border-color: #8a6a24; background: #3a3220; }
.snav__badge--combo { color: #ff8f8f; border-color: #8a3a3a; background: #3a2328; }
.snav__badge--raw { color: #a9a3ff; border-color: #4e4a92; background: #27274a; }
.snav__badge--darkweb { color: #74e0c8; border-color: #2f7768; background: #1d3a38; }
.snav__head { font-size: var(--s-1); color: #8f9ab0; margin: 1rem 0.7rem 0.3rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

.topbar { display: flex; justify-content: flex-end; align-items: center; gap: 0.6rem; margin: -0.6rem 0 1rem; }
.pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; border: 1px solid transparent; white-space: nowrap; }
.pill--points { color: var(--safe); border-color: #9fd3b9; background: var(--safe-soft); font-size: 0.88rem; padding: 0.3rem 0.8rem; }
.pill--user { width: 2.3rem; height: 2.3rem; justify-content: center; padding: 0; background: var(--ink); color: var(--marker); font-weight: 800; }
.pill--email { color: #1f7a4d; border-color: #8fd0ae; background: #ecf8f1; }
.pill--uname { color: #1b5fa8; border-color: #9cc3ec; background: #eef5fd; width: auto; height: auto; padding: 0.15rem 0.6rem; font-weight: 600; }
.pill--s-too_weak { color: var(--alert); border-color: #eaa59f; background: var(--alert-soft); }
.pill--s-weak { color: var(--warn); border-color: #e8c48a; background: var(--warn-soft); }
.pill--s-medium { color: #5b5f9a; border-color: #b9bbe3; background: #f0f0fb; }
.pill--s-strong { color: var(--safe); border-color: #9fd3b9; background: var(--safe-soft); }
.pill--recent { color: var(--ink); background: var(--marker); font-size: 0.7rem; padding: 0.05rem 0.45rem; }
.pill--line { color: var(--ink-3); border-color: var(--line); background: var(--white); text-transform: capitalize; }
.pill--locked { color: var(--ink-2); border-color: var(--ink-3); background: var(--white); text-transform: uppercase; letter-spacing: 0.04em; }
.pill--unlocked { color: var(--safe); border-color: #9fd3b9; background: var(--safe-soft); text-transform: uppercase; letter-spacing: 0.04em; }

/* Search hero */
.hero2 { background: radial-gradient(120% 140% at 50% 0%, #1f3260 0%, var(--ink) 60%); color: #e6eaf2; border-radius: 22px; padding: 2.2rem 2rem 1.6rem; text-align: center; margin-bottom: 1.6rem; position: relative; overflow: hidden; border-bottom: 3px solid var(--marker); }
.hero2__count { display: flex; flex-direction: column; align-items: center; }
.hero2__n { font-size: clamp(2rem, 5.2vw, 4.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.hero2__label { margin-top: 0.6rem; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: #aab4c8; border-bottom: 1px solid #44527a; padding-bottom: 0.2rem; }
.hero2__chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 1.1rem 0 1.3rem; padding: 0; }
.hero2__chips li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.8rem; border: 1px solid #34436a; border-radius: 999px; font-size: 0.86rem; color: #aab4c8; background: rgba(255,255,255,0.03); }
.hero2__chips b { color: var(--white); font-variant-numeric: tabular-nums; }
.hero2__chips .ico { color: var(--marker); }
.hero2__rule { display: flex; align-items: center; gap: 1rem; margin: 0 auto 0.8rem; max-width: 46rem; }
.hero2__rule::before, .hero2__rule::after { content: ""; flex: 1; height: 1px; background: #3a4870; }
.hero2__dataset { padding: 0.4rem 1.1rem; border-radius: 999px; border: 1px solid var(--marker-deep); color: #f3dca2; background: rgba(242,193,78,0.08); font-size: 0.95rem; }
.hero2__dataset strong { color: var(--white); }
.hero2__dataset--combo { border-color: #c45a5a; color: #ffc9c9; background: rgba(255,120,120,0.08); }
.hero2__dataset--raw { border-color: #6c66c9; color: #d2cfff; background: rgba(140,130,255,0.08); }
.hero2__dataset--darkweb { border-color: #3b9a86; color: #b9efe2; background: rgba(90,220,190,0.08); }
.hero2__about { color: #c9d1e0; max-width: 46rem; margin: 0 auto 1.2rem; }
.hero2__hint { color: #aab4c8; font-size: 0.9rem; margin: 0.9rem 0 0; display: flex; justify-content: center; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.hero2__hint .ico { color: var(--marker); }
.hero2__hint a { color: var(--white); }
.hero2__legal { color: #7f8aa3; font-size: 0.78rem; margin: 0.6rem 0 0; }
.bigsearch { max-width: 52rem; margin: 0 auto; text-align: left; }
.bigsearch__bar { display: flex; align-items: stretch; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.bigsearch__bar > .ico { align-self: center; margin-left: 1.1rem; width: 1.4rem; height: 1.4rem; color: var(--ink-3); }
.bigsearch__bar input { flex: 1; border: 0; padding: 1.15rem 0.9rem; font: inherit; font-size: 1.15rem; color: var(--ink); background: transparent; min-width: 0; }
.bigsearch__bar input:focus { outline: none; }
.bigsearch__btn { border: 0; background: var(--marker); color: var(--ink); font: inherit; font-weight: 800; font-size: 1.1rem; padding: 0 2.1rem; cursor: pointer; }
.bigsearch__btn:hover { background: var(--marker-deep); }
.bigsearch__btn:disabled { opacity: 0.6; cursor: wait; }
.bigsearch__btn--solo { border-radius: 12px; padding: 0.85rem 2.4rem; }
.bigsearch__opts { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: flex-end; margin-top: 0.9rem; }
.bigsearch__opts .field, .bigsearch__grid .field { margin: 0; }
.bigsearch label, .bigsearch .field label { color: #c9d1e0; }
.bigsearch__opts .input, .bigsearch__grid .input { background: #0f1a33; border-color: #3a4870; color: var(--white); }
.bigsearch__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0.9rem 1rem; align-items: end; margin-bottom: 0.4rem; }
.bigsearch__grid .field--wide { grid-column: span 2; }
.bigsearch--adv { max-width: 60rem; }
.bigsearch .input[type="date"] { color-scheme: dark; }
.switch { display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer; color: #c9d1e0; font-weight: 500; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { width: 2.4rem; height: 1.35rem; border-radius: 999px; background: #3a4870; position: relative; transition: background 0.15s; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 0.18rem; left: 0.2rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--white); transition: transform 0.15s; }
.switch input:checked + .switch__track { background: var(--marker-deep); }
.switch input:checked + .switch__track::after { transform: translateX(1.02rem); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--marker); outline-offset: 2px; }
.switch--small { margin-top: 0.8rem; font-size: 0.88rem; }

/* Report tabs */
.rtabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.7rem; margin-bottom: 1.2rem; }
.rtab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0.95rem 0.5rem; border: 1px solid var(--line); background: var(--white); border-radius: 14px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.rtab .ico { width: 1.5rem; height: 1.5rem; color: var(--ink-2); }
.rtab:hover { border-color: var(--ink); }
.rtab.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: 0 0 0 3px var(--marker); }
.rtab.is-active .ico { color: var(--marker); }
.rtab__n { position: absolute; top: -0.55rem; right: 0.6rem; font-size: 0.72rem; background: var(--marker); color: var(--ink); padding: 0.1rem 0.45rem; border-radius: 999px; }
@media (max-width: 900px) { .rtabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.dreport { margin-bottom: 1.2rem; }
.dreport__tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.7rem; margin-bottom: 1rem; }
.dtile { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; text-align: left; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); cursor: pointer; }
.dtile:hover { border-color: var(--ink); }
.dtile .ico { color: var(--marker-deep); width: 1.4rem; height: 1.4rem; margin-bottom: 0.3rem; }
.dtile__n { font-size: var(--s3); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.dtile__name { font-weight: 700; }
.dtile__about { font-size: 0.8rem; color: var(--ink-3); line-height: 1.35; }
@media (max-width: 1100px) { .dreport__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dreport__strength { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; }
.dreport__strength h3 { font-size: var(--s0); margin: 0 0 0.7rem; }
.srow { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 0.35rem 0; }
.srow__name { font-weight: 600; font-size: 0.92rem; }
.sbar__track { display: flex; height: 0.8rem; border-radius: 999px; overflow: hidden; background: var(--line-soft); }
.sbar__seg--too_weak { background: #c8372f; } .sbar__seg--weak { background: #e29a2d; } .sbar__seg--medium { background: #8a8fd6; } .sbar__seg--strong { background: #2e9a6b; }
.sbar__legend { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin-top: 0.35rem; font-size: 0.78rem; color: var(--ink-3); }
.sbar__key i { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 2px; margin-right: 0.3rem; vertical-align: -0.02rem; }
.sbar__key--too_weak i { background: #c8372f; } .sbar__key--weak i { background: #e29a2d; } .sbar__key--medium i { background: #8a8fd6; } .sbar__key--strong i { background: #2e9a6b; }

/* Result card and toolbar */
.rcard { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 1.5rem; }
.rtool { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.9rem 1rem; background: #eef0f4; border-bottom: 1px solid var(--line); }
.rtool__title { font-size: var(--s0); margin: 0; }
.rtool__meta { font-size: 0.8rem; color: var(--ink-3); }
.rtool__right { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.rfilter { display: flex; align-items: center; gap: 0.4rem; border: 1px solid var(--line); background: var(--white); border-radius: 8px; padding: 0 0.6rem; }
.rfilter .ico { color: var(--ink-3); }
.rfilter input { border: 0; padding: 0.5rem 0.2rem; font: inherit; font-size: 0.9rem; width: 11rem; background: transparent; }
.rfilter input:focus { outline: none; }
.input--small { padding: 0.45rem 0.6rem; font-size: 0.9rem; width: auto; }
.tbtn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.85rem; border-radius: 8px; border: 1px solid transparent; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--white); }
.tbtn:disabled { opacity: 0.5; cursor: not-allowed; }
.tbtn--green { background: #2e8a5d; } .tbtn--green:hover:not(:disabled) { background: #26744e; }
.tbtn--amber { background: var(--marker); color: var(--ink); } .tbtn--amber:hover { background: var(--marker-deep); }
.tbtn--blue { background: #2f7fc1; } .tbtn--blue:hover { background: #276ba3; }
.tbtn--violet { background: #5b56c9; } .tbtn--violet:hover { background: #4a45ad; }
.tbtn--line { background: var(--white); color: var(--ink); border-color: var(--line); } .tbtn--line:hover { border-color: var(--ink); color: var(--ink); }
.btn--pdf { display: inline-flex; align-items: center; gap: 0.35rem; }
.rcard__body .tablescroll { border: 0; border-radius: 0; }
.ltable th { white-space: nowrap; }
.ltable td { vertical-align: middle; }
.c-sel { width: 2.2rem; text-align: center; }
.c-sel input { width: 1.05rem; height: 1.05rem; accent-color: var(--ink); }
.c-url { max-width: 18rem; } .c-url .ico { color: var(--ink-3); margin-right: 0.35rem; vertical-align: -0.15rem; } .c-url span { word-break: break-all; }
.c-id { word-break: break-all; } .c-id .ico { color: var(--ink-3); margin-right: 0.3rem; vertical-align: -0.12rem; } .c-id em { color: var(--ink-2); }
.pwval { background: #f3f4f7; border: 1px solid var(--line-soft); padding: 0.1rem 0.45rem; border-radius: 5px; }
.pwval.is-full { background: #fff7e0; border-color: var(--marker); }
.pwlock { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--ink-3); font-style: italic; font-size: 0.9rem; }
.iconbtn { border: 1px solid var(--line); background: var(--white); border-radius: 6px; padding: 0.2rem 0.35rem; cursor: pointer; color: var(--ink-2); line-height: 0; }
.iconbtn:hover { border-color: var(--ink); color: var(--ink); }
.c-src__file { display: flex; gap: 0.35rem; align-items: flex-start; font-weight: 500; } .c-src__file .ico { margin-top: 0.15rem; color: var(--ink-3); }
.c-src__meta { display: block; font-size: 0.8rem; color: var(--ink-3); margin-left: 1.45rem; }
.c-date { white-space: nowrap; } .c-date__d { display: flex; align-items: center; gap: 0.35rem; } .c-date .pill { margin-top: 0.25rem; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
.c-bar { width: 35%; } .obar { display: block; height: 0.55rem; border-radius: 999px; background: linear-gradient(90deg, var(--marker), var(--marker-deep)); }
.rpager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.8rem 1rem; border-top: 1px solid var(--line); background: #fafbfc; }
.rpager__info { color: var(--ink-3); font-size: 0.9rem; }
.rpager__nav { display: flex; gap: 0.5rem; align-items: center; }
.rpager__page { font-weight: 700; font-size: 0.9rem; }
.loading { display: flex; align-items: center; gap: 0.7rem; padding: 2rem; justify-content: center; color: var(--ink-2); background: var(--white); border: 1px dashed var(--line); border-radius: 14px; }
.rcard__body > .empty { margin: 1.4rem; }

/* Raw file cards */
.rawcard { border: 1px solid var(--line); border-radius: 12px; margin: 0.9rem 1rem; padding: 0.9rem 1rem; background: #fbfbfd; }
.rawcard__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.8rem; align-items: start; }
.rawcard__ic { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #ecebfd; color: #5b56c9; display: grid; place-items: center; }
.rawcard__meta { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.rawcard__meta strong { word-break: break-all; }
.rawcard__path { font-size: 0.85rem; color: var(--ink-2); word-break: break-all; }
.rawcard__file { font-size: 0.85rem; color: var(--ink-3); word-break: break-all; }
.rawcard__tags { display: flex; gap: 0.35rem; flex-wrap: wrap; justify-content: flex-end; }
.rawcard__text { margin: 0.8rem 0 0; background: var(--ink); color: #d9dfeb; border-radius: 8px; padding: 0.7rem 0.9rem; font-family: var(--mono); font-size: 0.82rem; white-space: pre-wrap; word-break: break-all; max-height: 12rem; overflow: auto; }
.rawcard__text.is-open { max-height: 28rem; }
.rawcard__text mark { background: var(--marker); color: var(--ink); border-radius: 2px; padding: 0 0.1rem; }
.rawcard__acts { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 0.7rem; }

/* Dark-web posts */
.dwcard { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line-soft); }
.dwcard h3 { font-size: var(--s0); margin: 0 0 0.2rem; }
.dwcard__meta { font-size: 0.82rem; color: var(--ink-3); margin: 0 0 0.4rem; }
.dwcard__text { margin: 0; color: var(--ink-2); font-size: 0.93rem; }
.dwcard mark { background: var(--marker-soft); color: var(--ink); }

.rguide { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.3rem; margin-bottom: 1.5rem; }
.granthead { font-size: var(--s0); margin: 1.1rem 0 0.4rem; color: var(--ink-2); }
.is-portal .app__top .btn--pdf { align-self: flex-start; }
/* Results table refinements */
.rtool select.input--small, select.input.input--small { width: auto; min-width: 9rem; }
.hero2__n { font-variant-numeric: normal; }
.c-url { min-width: 13rem; max-width: 20rem; }
.c-url { display: table-cell; }
.c-url .ico { margin-right: 0.3rem; vertical-align: -0.12rem; }
.c-url span { word-break: normal; overflow-wrap: anywhere; font-family: var(--sans); font-size: 0.85rem; color: var(--ink-2); }
.c-id { white-space: nowrap; }
.c-id span { white-space: normal; overflow-wrap: anywhere; }
.pwlock { white-space: nowrap; }
.pwcell { flex-wrap: nowrap; }
.ltable td, .ltable th { padding-top: 0.6rem; padding-bottom: 0.6rem; }
.ltable .ico, .rtool .ico, .rawcard .ico, .pwlock .ico, .c-date .ico { display: inline-block; }
.c-url__t { overflow-wrap: anywhere; font-size: 0.85rem; color: var(--ink-2); }
.nowrap, td.nowrap { white-space: nowrap; }

/* ================================================================= */
/* v4: protection tools                                                */
/* ================================================================= */
.toolform { margin-bottom: 1rem; }
.toolform__row { display: flex; gap: 0.5rem; }
.toolform__row .input, .toolform__row .checkform__input { flex: 1; min-width: 0; }
.toolform .checkform__input { font-family: var(--mono); }
@media (max-width: 560px) { .toolform__row { flex-direction: column; } }
.toolhint { font-size: var(--s-1); color: var(--ink-3); margin-top: 0.5rem; }

/* scanning card */
.toolscan { display: flex; align-items: center; gap: 1.2rem; }
.toolscan__txt p { margin: 0.1rem 0; }
.radar { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle, rgba(242,193,78,.18) 0 30%, transparent 31%), repeating-radial-gradient(circle, #e3e6eb 0 1px, transparent 1px 16px), var(--ink); overflow: hidden; }
.radar__sweep { position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(242,193,78,.65), rgba(242,193,78,0) 70deg, transparent 360deg); border-radius: 50%; }
.radar__dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--marker); opacity: 0; }
.radar__dot--1 { top: 18%; left: 62%; } .radar__dot--2 { top: 60%; left: 24%; } .radar__dot--3 { top: 70%; left: 70%; }
html.motion .radar__sweep { animation: sweep 2.2s linear infinite; }
html.motion .radar__dot { animation: blip 2.2s ease-out infinite; }
html.motion .radar__dot--2 { animation-delay: 0.7s; } html.motion .radar__dot--3 { animation-delay: 1.4s; }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 20% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1.5); } 100% { opacity: 0; transform: scale(1); } }

/* grade */
.grade { flex: none; width: 4.4rem; height: 4.4rem; border-radius: 14px; display: grid; place-items: center; font-size: 2.4rem; font-weight: 900; color: var(--white); background: var(--ink-3); }
.grade--a { background: var(--safe); } .grade--b { background: #56963c; } .grade--c { background: var(--marker-deep); } .grade--d { background: #c45c14; } .grade--f { background: var(--alert); }
html.motion .grade { animation: pop 0.55s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes pop { from { transform: scale(.3) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.mailres__head { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.mailres__sum { flex: 1; min-width: 14rem; }
.mailres__sum p { margin: 0.1rem 0; }
.mailres__verdict { font-weight: 800; font-size: var(--s1); }
.mailres__verdict.is-bad { color: var(--alert); } .mailres__verdict.is-ok { color: var(--safe); }
.mailres__score { font-size: var(--s3); font-weight: 800; letter-spacing: -0.02em; }
.mailres__score small { font-size: var(--s-1); color: var(--ink-3); font-weight: 600; margin-left: 0.15rem; }
.mchecks { list-style: none; display: grid; gap: 0.6rem; margin: 0; padding: 0; }
.mck { border: 1px solid var(--line); border-left: 4px solid var(--ink-3); border-radius: var(--radius-s); padding: 0.75rem 0.9rem; background: var(--white); }
.mck p { margin: 0.35rem 0 0; font-size: 0.95rem; }
html.motion .mck { animation: slidein 0.45s ease-out both; }
@keyframes slidein { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.mck__top { display: flex; gap: 0.6rem; align-items: center; }
.mck__st { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.1rem 0.45rem; border-radius: 4px; color: var(--white); background: var(--ink-3); }
.mck--ok { border-left-color: var(--safe); } .mck--ok .mck__st { background: var(--safe); }
.mck--warn { border-left-color: var(--marker-deep); } .mck--warn .mck__st { background: var(--marker-deep); }
.mck--bad { border-left-color: var(--alert); } .mck--bad .mck__st { background: var(--alert); }
.mck__rec { display: block; margin-top: 0.4rem; font-family: var(--mono); font-size: 0.8rem; background: var(--paper); padding: 0.4rem 0.55rem; border-radius: 3px; overflow-wrap: anywhere; white-space: pre-wrap; }
.mck__fix { color: var(--ink-2); }
.mchecks--mini .mck p:not(.mck__fix) { display: none; }

/* lookalikes */
.lookres__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.kpi { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem; background: var(--paper); }
.kpi strong { display: block; font-size: var(--s3); line-height: 1; font-weight: 800; }
.kpi span { font-size: var(--s-1); color: var(--ink-3); }
.kpi--warn strong { color: var(--warn); } .kpi--bad strong { color: var(--alert); }
.risk { display: inline-block; font-size: 0.75rem; font-weight: 800; padding: 0.1rem 0.5rem; border-radius: 999px; }
.risk--high { color: var(--alert); background: var(--alert-soft); } .risk--medium { color: var(--warn); background: var(--warn-soft); } .risk--low { color: var(--ink-3); background: var(--line-soft); }
html.motion .rowin { animation: slidein 0.4s ease-out both; }

/* password */
.pwform { display: grid; gap: 0.7rem; }
.pwfield { position: relative; display: flex; gap: 0.5rem; }
.pwfield .checkform__input { flex: 1; }
.meter { height: 0.6rem; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.meter__bar { display: block; height: 100%; width: var(--w, 0%); background: var(--ink-3); border-radius: 999px; transition: width 0.25s ease, background-color 0.25s; }
.meter__bar--1 { background: var(--alert); } .meter__bar--2 { background: #e29a2d; } .meter__bar--3 { background: var(--marker); } .meter__bar--4 { background: var(--safe); }
.meterline { display: flex; justify-content: space-between; font-size: var(--s-1); color: var(--ink-3); }
.pwres { display: flex; gap: 1rem; align-items: flex-start; }
.pwres p { margin: 0.2rem 0; }
.pwres__icon { flex: none; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; font-weight: 900; color: var(--white); background: var(--safe); }
.pwres--bad { border-color: var(--alert); } .pwres--bad .pwres__icon { background: var(--alert); }
html.motion .pwres__icon { animation: pop 0.5s cubic-bezier(.2,1.6,.4,1) both; }
.privacynote { display: flex; gap: 0.8rem; align-items: flex-start; background: var(--safe-soft); border: 1px solid #9fd3b9; border-radius: var(--radius); padding: 0.9rem 1rem; font-size: 0.95rem; }
.privacynote svg { flex: none; width: 1.6rem; height: 1.6rem; stroke: var(--safe); fill: none; stroke-width: 2; }

/* quiz */
.quiz { max-width: 46rem; }
.qprogress { height: 0.45rem; background: var(--line-soft); border-radius: 999px; overflow: hidden; margin-bottom: 1.2rem; }
.qprogress span { display: block; height: 100%; width: var(--w, 0%); background: var(--marker-deep); transition: width 0.4s ease; }
.qcard { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 1.4rem; box-shadow: 6px 6px 0 var(--ink); }
html.motion .qcard--in { animation: qin 0.4s ease-out both; }
@keyframes qin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.qcard__n { font-size: var(--s-1); font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.8rem; }
.qcard__q { font-weight: 800; font-size: var(--s1); margin: 1rem 0 0.7rem; }
.mock { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 0.9rem 1rem; font-size: 0.95rem; }
.mock__from { display: flex; gap: 0.5rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-2); }
.mock__label { font-weight: 700; }
.mock__subject { font-weight: 800; margin-top: 0.3rem; }
.mock__body { white-space: pre-line; margin-top: 0.5rem; overflow-wrap: anywhere; }
.mock--sms, .mock--chat { background: #eef5fd; border-color: #c5dcf3; border-radius: 16px 16px 16px 4px; max-width: 32rem; }
.mock--chat { background: #e8f6ec; border-color: #b8e0c4; }
.mock--url { background: var(--ink); color: var(--marker); border-color: var(--ink); }
.mock--url .mock__body { margin: 0; font-size: 1rem; }
.qopts { display: grid; gap: 0.5rem; }
.qopt { text-align: left; font: inherit; padding: 0.75rem 0.9rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color 0.15s, background-color 0.15s, transform 0.15s; }
.qopt:hover:not(:disabled) { border-color: var(--ink); transform: translateX(3px); }
.qopt:disabled { cursor: default; }
.qopt.is-right { border-color: var(--safe); background: var(--safe-soft); font-weight: 700; }
.qopt.is-wrong { border-color: var(--alert); background: var(--alert-soft); }
.qexplain { margin: 1rem 0; padding: 0.8rem 1rem; border-radius: var(--radius-s); background: var(--paper); border-left: 4px solid var(--ink-3); }
.qexplain.is-right { border-left-color: var(--safe); } .qexplain.is-wrong { border-left-color: var(--alert); }
html.motion .qexplain { animation: qin 0.35s ease-out both; }
.qresult { text-align: center; }
.qresult__score { font-size: 4rem; font-weight: 900; line-height: 1; }
.qresult__score small { font-size: 1.2rem; color: var(--ink-3); margin-left: 0.3rem; }
.qresult.is-pass .qresult__score { color: var(--safe); } .qresult.is-fail .qresult__score { color: var(--alert); }
.qresult .btn { margin: 0.4rem; }
.certform { display: grid; gap: 0.5rem; max-width: 24rem; margin: 1rem auto; text-align: left; }
.qintro { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 1.6rem; }

/* score page */
.scoregrid { display: grid; grid-template-columns: minmax(16rem, 22rem) 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 900px) { .scoregrid { grid-template-columns: 1fr; } }
.scorecard { text-align: center; }
.scorecard__grade { font-weight: 800; font-size: var(--s1); margin: 0.2rem 0; }
.scorecard__actions { margin-top: 1rem; }
.gauge { position: relative; width: 100%; max-width: 15rem; margin: 0 auto; }
.gauge svg { display: block; width: 100%; height: auto; }
.gauge__track, .gauge__val { fill: none; stroke-width: 11; stroke-linecap: round; }
.gauge__track { stroke: var(--line-soft); }
.gauge__val { stroke: var(--ink-3); transition: stroke-dashoffset 1.3s cubic-bezier(.2,.7,.1,1); }
.gauge--a .gauge__val { stroke: var(--safe); } .gauge--b .gauge__val { stroke: #56963c; } .gauge--c .gauge__val { stroke: var(--marker-deep); } .gauge--d .gauge__val { stroke: #c45c14; } .gauge--f .gauge__val { stroke: var(--alert); }
.gauge__n { position: absolute; left: 0; right: 0; bottom: 0.2rem; font-size: 2.8rem; font-weight: 900; line-height: 1; }
.gauge__n small { font-size: 0.95rem; color: var(--ink-3); font-weight: 600; margin-left: 0.2rem; }
.factors { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.factor__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.factor__head span { color: var(--ink-3); font-size: 0.92rem; }
.factor__bar { height: 0.45rem; border-radius: 999px; background: var(--line-soft); margin: 0.35rem 0; overflow: hidden; }
.factor__bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--safe); transition: width 1.1s cubic-bezier(.2,.7,.1,1); }
.factor--warn .factor__bar span { background: var(--marker-deep); } .factor--bad .factor__bar span { background: var(--alert); }
.factor p { margin: 0; font-size: 0.93rem; color: var(--ink-2); }
.badgepreview { margin: 1rem 0; }
.badgepreview img { display: block; }
.btnrow { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.8rem; }
.copybtn { margin: 0.4rem 0 0.8rem; }
.sectionhead { margin: 1.6rem 0 0.6rem; }
.searchform--watch { flex-wrap: wrap; }
.verres { display: flex; gap: 1rem; align-items: flex-start; }
.verres p { margin: 0.2rem 0; }
.verres--bad .pwres__icon { background: var(--alert); }

/* emergency page */
.sostabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.sostabs [role="tab"] { font: inherit; font-weight: 700; padding: 0.55rem 0.95rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; }
.sostabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--white); }
.sospanel { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.sospanel ol { padding-left: 1.3rem; display: grid; gap: 0.55rem; }
.sospanel h3 { margin-top: 1.2rem; }
.sosnow { background: var(--alert); color: var(--white); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1.6rem; }
.sosnow h2 { color: var(--white); margin-top: 0; }
.sosnow ol { margin: 0.5rem 0 0; padding-left: 1.3rem; display: grid; gap: 0.35rem; }
.pagehead--sos { background: linear-gradient(135deg, #2a0f12 0%, var(--ink) 70%); color: var(--paper); }
.pagehead--sos .pagehead__title, .pagehead--sos .lede { color: var(--paper); }
.sosicon { display: inline-grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--alert); color: var(--white); font-weight: 900; margin-bottom: 0.8rem; position: relative; }
html.motion .sosicon::after, html.motion .navsos::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--alert); animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

/* nav: "Hacked?" */
.navsos { position: relative; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 800; color: var(--alert); text-decoration: none; padding: 0.2rem 0.6rem; border-radius: 999px; border: 1.5px solid var(--alert); }
.navsos:hover { background: var(--alert); color: var(--white); }
.navsos__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
html.motion .navsos__dot { animation: dotpulse 1.4s ease-in-out infinite; }
@keyframes dotpulse { 50% { opacity: 0.25; } }

/* ================================================================= */
/* Homepage: free tools                                                */
/* ================================================================= */
.section--tools { background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.section--tools::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; opacity: 0.45; pointer-events: none; }
.section--tools .wrap { position: relative; }
.eyebrow2 { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); background: var(--marker); padding: 0.25rem 0.7rem; border-radius: 999px; }
.freetools { display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.ftool { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1.5px solid var(--ink); border-radius: 14px; padding: 0 0 1.2rem; text-decoration: none; color: var(--ink); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.ftool:hover { transform: translateY(-4px); box-shadow: 6px 8px 0 var(--ink); }
.ftool__art { height: 8.5rem; background: var(--ink); position: relative; display: grid; place-items: center; overflow: hidden; border-bottom: 3px solid var(--marker); }
.ftool__body { padding: 1rem 1.2rem 0; flex: 1; display: flex; flex-direction: column; }
.ftool__body .h3 { margin: 0 0 0.35rem; }
.ftool__body p { margin: 0 0 0.8rem; font-size: 0.95rem; color: var(--ink-2); }
.ftool__go { margin-top: auto; font-weight: 800; display: inline-flex; gap: 0.35rem; align-items: center; }
.ftool__go::after { content: "→"; transition: transform 0.2s; }
.ftool:hover .ftool__go::after { transform: translateX(4px); }
.ftool__tag { position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--marker); padding: 0.1rem 0.5rem; border-radius: 999px; }
.ftool--sos { border-color: var(--alert); }
.ftool--sos .ftool__art { background: #2a0f12; border-bottom-color: var(--alert); }
.ftool--sos .ftool__go { color: var(--alert); }

/* art: envelope with checks */
.art-mail { position: relative; width: 7rem; height: 4.6rem; }
.art-mail__env { position: absolute; inset: 0; border: 3px solid var(--paper); border-radius: 6px; }
.art-mail__env::before { content: ""; position: absolute; left: 50%; top: -0.2rem; width: 4.6rem; height: 4.6rem; border-right: 3px solid var(--paper); border-bottom: 3px solid var(--paper); transform: translateX(-50%) rotate(45deg) scale(.72); transform-origin: center; top: -2.25rem; }
.art-mail__shield { position: absolute; right: -1.1rem; bottom: -1rem; width: 2.8rem; height: 3.1rem; background: var(--marker); clip-path: polygon(50% 0, 100% 16%, 100% 52%, 50% 100%, 0 52%, 0 16%); display: grid; place-items: center; color: var(--ink); font-weight: 900; font-size: 1.3rem; }
.art-mail__chips { position: absolute; left: -1.6rem; top: -0.9rem; display: grid; gap: 0.2rem; }
.art-mail__chips span { font: 700 0.62rem/1 var(--mono); color: var(--ink); background: var(--paper); padding: 0.18rem 0.35rem; border-radius: 3px; }
html.motion .art-mail__chips span { animation: chip 3.6s ease-in-out infinite both; }
html.motion .art-mail__chips span:nth-child(2) { animation-delay: 0.4s; } html.motion .art-mail__chips span:nth-child(3) { animation-delay: 0.8s; }
@keyframes chip { 0%, 8% { opacity: 0; transform: translateX(-8px); } 18%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
html.motion .art-mail__shield { animation: bob 3.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(-4deg); } }

/* art: radar with lookalike names */
.art-radar { position: relative; width: 7.4rem; height: 7.4rem; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(245,246,243,.18) 0 1px, transparent 1px 18px); border: 1px solid rgba(245,246,243,.35); }
.art-radar .radar__sweep { background: conic-gradient(from 0deg, rgba(242,193,78,.55), rgba(242,193,78,0) 70deg, transparent 360deg); }
.art-radar__label { position: absolute; left: 50%; bottom: -0.3rem; transform: translateX(-50%); white-space: nowrap; font: 700 0.72rem/1 var(--mono); color: var(--ink); background: var(--marker); padding: 0.25rem 0.45rem; border-radius: 3px; }
html.motion .art-radar__label.is-on { animation: labelin 2.6s ease both; }
@keyframes labelin { 0% { opacity: 0; transform: translate(-50%, 6px); } 15%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }
.art-radar .radar__dot { width: 7px; height: 7px; }

/* art: password meter */
.art-pw { width: 78%; display: grid; gap: 0.45rem; }
.art-pw__field { font: 700 1.1rem/1 var(--mono); letter-spacing: 0.15em; color: var(--paper); border: 2px solid rgba(245,246,243,.7); border-radius: 6px; padding: 0.5rem 0.6rem; min-height: 2.2rem; overflow: hidden; white-space: nowrap; }
.art-pw .meter { background: rgba(245,246,243,.2); }
.art-pw__label { font-size: 0.78rem; font-weight: 700; color: var(--paper); }
.art-pw.is-leaked .art-pw__label { color: #ff8a80; }
html.motion .art-pw.is-leaked .art-pw__field { animation: shake 0.4s ease; border-color: #ff8a80; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* art: phishing hook */
.art-hook { position: relative; width: 7rem; height: 6.5rem; }
.art-hook__line { position: absolute; left: 50%; top: -1rem; width: 2px; height: 3.6rem; background: var(--paper); transform-origin: top center; }
.art-hook__hook { position: absolute; left: calc(50% - 0.9rem); top: 2.5rem; width: 1.8rem; height: 1.6rem; border: 3px solid var(--paper); border-top: none; border-radius: 0 0 1rem 1rem; }
.art-hook__card { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 5.6rem; background: var(--paper); border-radius: 5px; padding: 0.35rem 0.4rem; font: 700 0.6rem/1.25 var(--sans); color: var(--ink); text-align: center; }
.art-hook__card b { display: block; color: var(--alert); font-size: 0.66rem; }
html.motion .art-hook__line, html.motion .art-hook__hook { animation: swing 2.8s ease-in-out infinite; transform-origin: 50% -1rem; }
@keyframes swing { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(-6deg); } }

/* art: SOS */
.art-sos { position: relative; width: 4.6rem; height: 4.6rem; border-radius: 50%; background: var(--alert); display: grid; place-items: center; color: var(--white); font-weight: 900; letter-spacing: 0.05em; }
.art-sos span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--alert); }
html.motion .art-sos span { animation: ring 2.4s ease-out infinite; }
html.motion .art-sos span:nth-child(2) { animation-delay: 0.8s; } html.motion .art-sos span:nth-child(3) { animation-delay: 1.6s; }

/* homepage mini e-mail check */
.toolstrip { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.4rem; margin-top: 2.4rem; background: var(--ink); color: var(--paper); border-radius: 16px; padding: 1.8rem; align-items: start; }
@media (max-width: 860px) { .toolstrip { grid-template-columns: 1fr; } }
.toolstrip .h3 { color: var(--white); margin-top: 0; }
.toolstrip p { color: #c9d0dc; }
.toolstrip .result { color: var(--ink); }
.toolstrip [data-tool-out] p { color: var(--ink-2); }
.toolstrip .mailres__verdict.is-bad { color: var(--alert); } .toolstrip .mailres__verdict.is-ok { color: var(--safe); }
.toolstrip .checkform__input { border-color: var(--paper); }

/* homepage: score + badge + suppliers band */
.scoreband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.4rem; }
@media (max-width: 900px) { .scoreband { grid-template-columns: 1fr; } }
.scoreband__item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; }
.scoreband__item .h3 { margin: 0.6rem 0 0.3rem; }
.scoreband__item p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.minigauge { position: relative; width: 9rem; }
.minigauge svg { display: block; width: 100%; }
.minigauge .gauge__val { stroke: var(--safe); stroke-dasharray: 100; stroke-dashoffset: 18; }
html.motion .reveal.is-in .minigauge .gauge__val, html.motion .minigauge.is-in .gauge__val { animation: gaugefill 1.6s cubic-bezier(.2,.7,.1,1) both; }
@keyframes gaugefill { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 18; } }
.minigauge__n { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-weight: 900; font-size: 1.8rem; line-height: 1; }
.minibadge { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--ink); color: var(--white); border-radius: 10px; padding: 0.55rem 0.9rem 0.55rem 0.6rem; border-bottom: 3px solid var(--marker); position: relative; overflow: hidden; }
.minibadge svg { width: 1.8rem; height: 1.8rem; }
.minibadge small { display: block; font-size: 0.6rem; letter-spacing: 0.1em; color: #aab4c8; }
.minibadge strong { display: block; font-size: 1rem; line-height: 1.1; }
.minibadge em { font-style: normal; font-size: 0.7rem; color: var(--marker); margin-left: 0.5rem; }
html.motion .minibadge::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.25), transparent); animation: shine 3.5s ease-in-out infinite; }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.orbit { position: relative; width: 9rem; height: 5.2rem; }
.orbit__core { position: absolute; left: 50%; top: 50%; width: 2.6rem; height: 2.6rem; margin: -1.3rem 0 0 -1.3rem; border-radius: 50%; background: var(--ink); color: var(--marker); display: grid; place-items: center; font-weight: 900; font-size: 0.8rem; }
.orbit__n { position: absolute; font: 700 0.62rem/1 var(--sans); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.45rem; white-space: nowrap; }
.orbit__n--1 { left: 0; top: 0.2rem; } .orbit__n--2 { right: 0; top: 0.6rem; } .orbit__n--3 { left: 0.6rem; bottom: 0; } .orbit__n--4 { right: 0.3rem; bottom: 0.2rem; }
html.motion .orbit__n { animation: float 4s ease-in-out infinite; }
html.motion .orbit__n--2 { animation-delay: 1s; } html.motion .orbit__n--3 { animation-delay: 2s; } html.motion .orbit__n--4 { animation-delay: 3s; }
@keyframes float { 50% { transform: translateY(-5px); } }
.orbit__n.is-hit { border-color: var(--alert); color: var(--alert); background: var(--alert-soft); }

@media (prefers-reduced-motion: reduce) {
  .ftool, .qopt, .meter__bar, .gauge__val, .factor__bar span { transition: none; }
}
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .formgrid { grid-template-columns: 1fr; } }
.checklist--light li { color: #c9d0dc; }
.toolstrip [data-tool-out] > .checklist { margin-top: 2.6rem; }
.freetools { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .freetools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .freetools { grid-template-columns: 1fr; } }
.ftool--sos { grid-column: 1 / -1; flex-direction: row; padding: 0; }
.ftool--sos .ftool__art { width: 16rem; height: auto; min-height: 8.5rem; flex: none; border-bottom: none; border-right: 3px solid var(--alert); }
.ftool--sos .ftool__body { padding: 1.2rem 1.4rem; }
@media (max-width: 600px) { .ftool--sos { flex-direction: column; } .ftool--sos .ftool__art { width: auto; border-right: none; border-bottom: 3px solid var(--alert); } }
.toolstrip .eyebrow2 { color: var(--ink); }
.art-mail__chips { left: -4.4rem; top: 0.1rem; }
.block--tool { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); padding-top: 0; border-bottom: 0; }
@media (max-width: 900px) { .block--tool { grid-template-columns: 1fr; } }
.privacynote { margin-top: 1rem; }
.lookt td.mono { white-space: nowrap; }
.quiz + p { margin-top: 1.6rem; }
.lookres__kpis--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 600px) { .lookres__kpis--4 { grid-template-columns: repeat(2, 1fr); } }
/* art: attack surface map */
.art-map { position: relative; width: 11rem; height: 6.6rem; }
.art-map__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 700 0.7rem/1 var(--mono); color: var(--ink); background: var(--marker); padding: 0.3rem 0.45rem; border-radius: 4px; z-index: 2; }
.art-map__n { position: absolute; font: 600 0.58rem/1 var(--mono); color: var(--paper); border: 1px solid rgba(245,246,243,.45); padding: 0.18rem 0.3rem; border-radius: 3px; white-space: nowrap; }
.art-map__n--1 { left: 0; top: 0; } .art-map__n--2 { right: 0; top: 0.3rem; } .art-map__n--3 { left: 0.2rem; bottom: 0.2rem; } .art-map__n--4 { right: 0.1rem; bottom: 0; } .art-map__n--5 { left: 50%; top: -0.3rem; transform: translateX(-50%); }
.art-map__n.is-risk { color: #ff8a80; border-color: #ff8a80; }
.art-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-map line { stroke: rgba(245,246,243,.3); stroke-width: 1; stroke-dasharray: 3 3; }
html.motion .art-map line { animation: dash 1.2s linear infinite; }
html.motion .art-map__n { animation: nodein 4s ease-in-out infinite both; }
html.motion .art-map__n--2 { animation-delay: 0.6s; } html.motion .art-map__n--3 { animation-delay: 1.2s; } html.motion .art-map__n--4 { animation-delay: 1.8s; } html.motion .art-map__n--5 { animation-delay: 2.4s; }
@keyframes dash { to { stroke-dashoffset: -12; } }
@keyframes nodein { 0%, 6% { opacity: 0; } 14%, 88% { opacity: 1; } 100% { opacity: 0; } }
.freetools { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .freetools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .freetools { grid-template-columns: 1fr; } }
.surft .surf__host { display: block; font-weight: 600; overflow-wrap: anywhere; }
.surft .surf__to { display: block; font-size: 0.78rem; color: var(--ink-3); overflow-wrap: anywhere; }
.surft .surf__src { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: var(--ink-3); }
.surft td:first-child { width: 42%; }
.ftool--sos { grid-column: auto; flex-direction: column; }
.ftool--sos .ftool__art { width: auto; height: 8.5rem; min-height: 0; border-right: none; border-bottom: 3px solid var(--alert); }
.ftool--sos .ftool__body { padding: 1rem 1.2rem 0; }
.ftool--sos { padding-bottom: 1.2rem; }
