/* insecurewebsite.com: a security company that is very good at security and very bad at feelings. */

:root {
  --vault: #0f1d2b;
  --vault-2: #16283b;
  --vault-3: #233a51;
  --paper: #eef1f4;
  --white: #fbfcfd;
  --light: #fbfcfd;
  --line: #d3dae2;
  --chip: #e2e7ec;
  --ink: #0f1d2b;
  --ink-2: #3d4c5c;
  --steel: #5b6b7c;
  --mist: #aebccb;
  --caution: #ffcf3a;
  --caution-hover: #ffda66;
  --verified: #129e7a;
  --verified-ink: #0b6b52;
  --verified-soft: #d8f3ea;
  --alarm: #d93b33;
  --alarm-soft: #ff8b84;
  --focus: #3d7bff;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color .4s, color .4s;
}
[hidden] { display: none !important; }
svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; text-transform: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.05; }
p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--caution); color: var(--vault); padding: 10px 14px;
  border-radius: 4px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 84px; }

/* ---------- Caution tape ---------- */

.tape {
  position: relative;
  overflow: hidden;
  background: var(--caution);
  color: var(--vault);
  padding: 10px 0;
  transition: background-color .4s, color .4s;
}
.tape::before, .tape::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--vault) 0 8px, transparent 8px 16px);
}
.tape::before { top: 0; }
.tape::after { bottom: 0; }
.tape-track {
  display: flex;
  width: max-content;
  animation: tape 46s linear infinite;
}
.tape-track span {
  display: flex; align-items: center; gap: 12px;
  padding: 0 26px;
  font-family: var(--display);
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  font-size: 12.5px;
  line-height: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tape-track span::before {
  content: "";
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid currentColor;
}
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--vault);
  color: var(--light);
  border-bottom: 1px solid var(--vault-3);
  transition: background-color .4s;
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 750;
  font-variation-settings: "wdth" 108;
  font-size: 19px;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.logo { width: 30px; height: 30px; flex: none; }
.logo .face-cool { display: none; }
.brand-in {
  display: inline-block;
  max-width: 2ch;
  overflow: hidden;
  vertical-align: bottom;
  transition: max-width .6s cubic-bezier(.3, .8, .3, 1), opacity .4s;
}
.brand-tld { color: var(--mist); font-weight: 500; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--mist); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--light); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.mood {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 6px;
  color: var(--mist); font-size: 15px;
}
.mood:hover { color: var(--light); }
.mood-track {
  position: relative;
  width: 36px; height: 20px;
  border-radius: 999px;
  background: var(--vault-3);
  transition: background-color .25s;
}
.mood-thumb {
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--light);
  transition: transform .25s;
}
.mood[aria-checked="true"] .mood-track { background: #6f6396; }
.mood[aria-checked="true"] .mood-thumb { transform: translateX(16px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 2px;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 104;
  font-size: 16px;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s, transform .08s;
}
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-caution { background: var(--caution); color: var(--vault); }
.btn-caution:hover { background: var(--caution-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--light); background: transparent; }
.btn-ghost:hover { border-color: var(--light); }
.btn-dark { background: var(--vault); color: #fbfcfd; }
.btn-dark:hover { background: var(--vault-3); }
.btn-outline { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  background: var(--vault);
  color: var(--light);
  padding: 80px 0 96px;
  transition: background-color .4s;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.greet {
  min-height: 1.6em;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  font-weight: 500;
  color: var(--mist);
}
.caret {
  display: inline-block;
  width: 3px; height: 1.05em;
  margin-left: 3px;
  vertical-align: -.16em;
  background: var(--caution);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero h1 {
  max-width: 9ch;
  font-size: clamp(3rem, 7.2vw, 6.1rem);
  font-weight: 850;
  font-variation-settings: "wdth" 120;
  line-height: .93;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.lede { margin-top: 28px; max-width: 46ch; font-size: 1.15rem; line-height: 1.6; color: #c4cfdb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.status {
  background: var(--vault-2);
  border: 1px solid var(--vault-3);
  border-top: 3px solid var(--caution);
  padding: 22px 24px 20px;
  transition: background-color .4s, border-color .4s;
}
.status-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.status-head h2 { font-size: 15px; font-weight: 700; font-variation-settings: "wdth" 104; color: var(--light); }
.status-rows { margin: 0; }
.status-rows > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--vault-3);
  font-size: 15px;
}
.status-rows dt { color: var(--mist); }
.status-rows dd { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.status-rows dd::after {
  content: "";
  width: 18px; height: 18px; flex: none;
  border-radius: 50%;
  background: var(--verified) var(--check) center / 12px no-repeat;
}
.status-rows dd.bad::after { background-color: var(--alarm); background-image: var(--cross); }
.status-rows .row-website {
  margin: 4px -12px 0;
  padding: 11px 12px;
  border-top: 0;
  background: rgba(217, 59, 51, .14);
  transition: background-color .4s;
}
.status-rows .row-website dt, .status-rows .row-website dd { color: var(--alarm-soft); }

.meters { display: grid; gap: 14px; margin-top: 18px; }
.meter-label { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; color: var(--mist); }
.meter-label span:last-child { color: var(--light); font-weight: 600; font-variant-numeric: tabular-nums; }
.meter-bar { height: 10px; overflow: hidden; border-radius: 2px; background: var(--vault-3); }
.meter-bar span {
  display: block; height: 100%; width: 100%;
  background: var(--verified);
  transition: width .7s cubic-bezier(.2, .8, .2, 1), background-color .3s;
}
.meter-esteem .meter-bar span { width: 3%; background: var(--alarm); }
.meter-esteem.mid .meter-bar span { background: var(--caution); }
.meter-esteem.high .meter-bar span { background: var(--verified); }
.meter-note { min-height: 1.45em; font-size: 13.5px; color: var(--mist); }

/* ---------- Threat intelligence ---------- */

.intel { background: var(--white); border-bottom: 1px solid var(--line); transition: background-color .4s; }
.intel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  padding-block: 64px;
}
.intel h2 { margin-bottom: 14px; font-size: 15px; font-weight: 700; font-variation-settings: "wdth" 104; color: var(--steel); }
.intel-big {
  max-width: 22ch;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 108;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.015em;
}
.intel-foot { margin-top: 14px; font-size: 14px; color: var(--steel); }
.counter { padding-left: 48px; border-left: 1px solid var(--line); }
.counter-label { margin-bottom: 10px; font-size: 15px; color: var(--steel); }
.odometer { display: flex; gap: 4px; }
.odometer span {
  display: grid; place-items: center;
  width: 38px; height: 52px;
  border-radius: 3px;
  background: var(--vault);
  color: #fbfcfd;
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 500;
}
.odometer span:last-child { background: var(--caution); color: #0f1d2b; }
.counter-foot { margin-top: 12px; font-size: 15px; color: var(--ink-2); }

/* ---------- Sections ---------- */

.section { padding: 104px 0; transition: background-color .4s; }
.section-dark { background: var(--vault); color: var(--light); }
.section-white { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  font-variation-settings: "wdth" 115;
  letter-spacing: -.02em;
}
.section-head p { max-width: 52ch; margin-top: 14px; font-size: 1.1rem; color: var(--steel); }
.section-dark .section-head p { color: var(--mist); }

/* ---------- Platform datasheet ---------- */

.sheet { border-top: 2px solid var(--ink); }
.sheet-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.sheet-row h3 { padding-top: 3px; font-size: 18px; font-weight: 750; font-variation-settings: "wdth" 108; }
.sheet-body > p { max-width: 56ch; font-size: 1.1rem; }

.sheet-fire { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; }
.sheet-fire > p { padding-bottom: 4px; }
.firewall-photo { display: block; width: 300px; max-width: 100%; height: auto; flex: none; }

.factor { display: flex; gap: 8px; max-width: 520px; margin-top: 16px; }
.factor input {
  flex: 1; min-width: 0; height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--steel);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.factor input::placeholder { color: #8a97a5; }
.factor input:hover { border-color: var(--steel); }
.factor-msg { min-height: 1.5em; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--verified-ink); }
.factor-msg.err { color: var(--alarm); }
.factor-note { margin-top: 8px; font-size: 13.5px; color: var(--steel); }

.sheet-pen { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.scribble { width: 200px; height: 46px; }
.scribble path { fill: none; stroke: #2450c8; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Free scan ---------- */

.scan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  grid-template-areas: "photo head" "photo log";
  grid-template-rows: auto 1fr;
  gap: 28px 56px;
  align-items: start;
}
.scan-grid .section-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; max-width: none; margin-bottom: 0; }
.scan-grid .terminal { grid-area: log; }
.scan-photo { grid-area: photo; display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.terminal { overflow: hidden; border: 1px solid var(--vault-3); background: #09131d; }
.terminal-bar {
  display: flex; justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--vault-3);
  font-family: var(--mono); font-size: 13px; color: var(--mist);
}
.terminal-body {
  min-height: 252px;
  padding: 18px;
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.75;
  color: #d7e0ea;
}
.t-dim { color: #7d8ea0; }
.t-ok { color: #35d49f; }
.t-warn { color: var(--caution); }
.t-bad { color: var(--alarm-soft); }
.scan-progress { height: 4px; background: var(--vault-3); }
.scan-progress span { display: block; width: 0; height: 100%; background: var(--caution); transition: width .3s linear; }

/* ---------- Verification ---------- */

.verify-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.captcha { padding: 20px; border: 1px solid #b9c2cc; background: var(--white); }
.robot {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 16px;
  border: 1px solid #b9c2cc;
  border-radius: 2px;
  background: var(--paper);
  font-size: 16px;
  text-align: left;
}
.robot-box {
  display: block; flex: none;
  width: 26px; height: 26px;
  border: 2px solid #8a97a5;
  border-radius: 3px;
  background: #fff;
}
.robot.loading .robot-box {
  border-color: var(--focus);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.robot[aria-pressed="true"] .robot-box { border-color: var(--verified); background: var(--verified) var(--check) center / 16px no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
.robot-msg { min-height: 1.5em; margin: 10px 2px 16px; font-size: 15px; color: var(--ink-2); }
.captcha-prompt { padding: 14px 16px; background: #24508f; color: #fff; font-size: 15px; }
.captcha-prompt strong { display: block; font-family: var(--display); font-size: 21px; font-weight: 800; font-variation-settings: "wdth" 106; }
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-top: 0;
  background: #fff;
}
.tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  padding: 0; border: 0;
  background: #c9d6e3 url("/img/team.jpg") no-repeat;
  background-size: 300% 300%;
  transition: transform .12s;
}
.tile[aria-pressed="true"] { transform: scale(.86); }
.tile[aria-pressed="true"]::before {
  content: "";
  position: absolute; top: 6px; left: 6px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #24508f var(--check) center / 14px no-repeat;
  box-shadow: 0 0 0 2px #fff;
}
.t0 { background-position: 0 0; } .t1 { background-position: 50% 0; } .t2 { background-position: 100% 0; }
.t3 { background-position: 0 50%; } .t4 { background-position: 50% 50%; } .t5 { background-position: 100% 50%; }
.t6 { background-position: 0 100%; } .t7 { background-position: 50% 100%; } .t8 { background-position: 100% 100%; }
.captcha-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; }
#captcha-msg { font-size: 15px; color: var(--ink-2); }

.question { padding: 32px; border-left: 6px solid var(--caution); background: var(--vault); color: var(--light); transition: background-color .4s; }
.question-label { margin-bottom: 10px; font-size: 14px; color: var(--mist); }
.question h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -.015em; }
.question-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.question-msg { min-height: 1.5em; margin-top: 16px; color: var(--caution); }

/* ---------- Trust center ---------- */

.trust-photo { display: block; width: 100%; height: clamp(200px, 36vw, 420px); margin-bottom: 32px; object-fit: cover; object-position: 50% 75%; }
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.incident {
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--alarm);
  background: var(--paper);
}
.incident-head { margin-bottom: 20px; }
.incident-head h3 { font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 110; }
.incident-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 8px 40px;
  margin: 0 0 8px;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}
.incident-meta dt { font-size: 13px; color: var(--steel); }
.incident-meta dd { margin: 2px 0 0; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.incident h4 { margin: 18px 0 4px; font-size: 15px; font-weight: 700; font-variation-settings: "wdth" 104; color: var(--steel); }
.incident p { font-size: 1.15rem; }

.cert-inner {
  padding: 36px 32px 28px;
  border: 12px solid #2a2118;
  background: #fffdf6;
  box-shadow: inset 0 0 0 2px #c9a34a, inset 0 0 0 8px #fffdf6, inset 0 0 0 9px #c9a34a, 0 12px 28px -14px rgba(15, 29, 43, .5);
  color: #3a2e1c;
  text-align: center;
  text-transform: none;
}
.cert-title { font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 700; letter-spacing: .02em; }
.cert-small { margin-top: 10px; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 16px; color: #6b5a3f; }
.cert-name { margin-top: 6px; font-family: var(--display); font-size: 25px; font-weight: 800; font-variation-settings: "wdth" 110; color: #0f1d2b; }
.cert-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 24px; text-align: left; }
.cert-sign .cert-small { display: block; margin-top: 4px; font-size: 13px; }
.sig {
  display: block;
  padding: 0 22px 2px 4px;
  border-bottom: 1px solid #6b5a3f;
  font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive;
  font-size: 30px;
  line-height: 1.2;
  color: #1d3d8f;
}
.seal { width: 64px; height: 77px; }
.cert figcaption { margin-top: 12px; font-size: 14px; color: var(--steel); text-align: center; }

.terms {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 32px;
  align-items: center;
  margin-top: 32px;
  padding: 28px 0 0;
  border-top: 2px solid var(--ink);
}
.terms h3 { font-size: 20px; font-weight: 800; font-variation-settings: "wdth" 108; }
.terms p { margin-top: 6px; font-size: 1.1rem; }
.terms-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.terms-msg { grid-column: 1 / -1; min-height: 1.5em; margin: 0; font-weight: 600; color: var(--verified-ink); }
.terms-msg:empty { display: none; }

/* ---------- Footer ---------- */

.footer { padding: 56px 0 48px; background: var(--vault); color: var(--mist); text-align: center; transition: background-color .4s; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-joke { font-family: var(--display); font-size: 22px; font-weight: 600; font-variation-settings: "wdth" 108; color: #fbfcfd; }
.footer-joke a { color: #5cff9d; text-decoration: none; }
.footer-joke a:hover { text-decoration: underline; }
.footer-joke .three { color: #ffb020; }
.footer-small { max-width: 60ch; font-size: 13px; line-height: 1.5; }
.footer-small a { color: var(--mist); }

/* ---------- Cookie banner, permission prompt, dialogs ---------- */

.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  padding: 18px max(24px, calc((100vw - 1132px) / 2));
  border-top: 3px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  transition: transform .35s ease, opacity .3s;
}
.cookie.out { transform: translateY(100%); opacity: 0; }
.cookie-icon { font-size: 34px; line-height: 1; }
.cookie-text { flex: 1; min-width: 0; }
.cookie h2 { font-size: 18px; font-weight: 800; font-variation-settings: "wdth" 106; }
.cookie p { margin-top: 2px; color: var(--ink-2); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.perm {
  position: fixed; top: 124px; left: 20px; z-index: 45;
  width: min(340px, calc(100vw - 40px));
  padding: 18px 18px 14px;
  border: 1px solid #b9c2cc;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(15, 29, 43, .28);
  transition: transform .3s, opacity .3s;
}
.perm.out { transform: translateY(-12px); opacity: 0; }
.perm-title { font-size: 15px; }
.perm-ask { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.perm-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.perm-actions button {
  min-height: 36px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--white); color: var(--ink);
  font-size: 14px; font-weight: 600;
}
.perm-actions button:hover { border-color: var(--ink); }
.perm-actions .primary { background: var(--vault); border-color: var(--vault); color: #fbfcfd; }
.perm-msg { font-size: 15px; font-weight: 600; }
.perm-msg:empty { display: none; }

.modal {
  width: min(460px, calc(100vw - 32px));
  padding: 32px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
}
.modal::backdrop { background: rgba(9, 19, 29, .62); }
.modal h2 { font-size: 28px; font-weight: 850; font-variation-settings: "wdth" 112; line-height: 1.05; letter-spacing: -.015em; }
.modal p { min-height: 1.5em; margin-top: 12px; color: var(--ink-2); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.therapy-bar { height: 6px; margin-top: 22px; overflow: hidden; border-radius: 3px; background: var(--chip); }
.therapy-bar span { display: block; width: 0; height: 100%; background: var(--verified); }
.therapy.run .therapy-bar span { width: 100%; transition: width 3.4s linear; }

.chip {
  position: fixed; top: 16px; left: 50%; z-index: 60;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 2px;
  background: var(--verified);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.chip.sad { background: #334457; }

.rain { position: fixed; top: -56px; z-index: 70; font-size: 32px; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(calc(100vh + 112px)) rotate(var(--spin, 360deg)); } }

/* ---------- Mood mode: same site, worse day ---------- */

html.mood {
  --vault: #11151b;
  --vault-2: #181d25;
  --vault-3: #29313c;
  --paper: #1b2028;
  --white: #222831;
  --light: #aab4c0;
  --line: #343d49;
  --chip: #2c343f;
  --ink: #c3cad3;
  --ink-2: #9aa4b0;
  --steel: #8792a0;
  --mist: #8d98a6;
  --caution: #b9a35e;
  --caution-hover: #c8b26c;
  --verified: #4f8a7b;
  --verified-ink: #7fb7a7;
  --verified-soft: #24352f;
  --alarm: #a35a55;
}
html.mood body { text-transform: lowercase; }
html.mood .tape-track { animation-duration: 140s; }
html.mood .captcha-prompt { background: #33465f; }
html.mood img, html.mood .tile { filter: grayscale(.75) brightness(.8); }

/* ---------- Confident mode (after therapy, for ten seconds) ---------- */

html.confident .tape { background: var(--verified); color: #fff; }
html.confident .brand-in { max-width: 0; opacity: 0; }
html.confident .logo .face-normal { display: none; }
html.confident .logo .face-cool { display: inline; }
html.confident .caret { display: none; }
html.confident .hero h1 { font-variation-settings: "wdth" 125; letter-spacing: -.035em; }
html.confident .status-rows .row-website { background: rgba(18, 158, 122, .18); }
html.confident .status-rows .row-website dt, html.confident .status-rows .row-website dd { color: #5fe3b5; }

/* ---------- 404 ---------- */

.lost { min-height: calc(100vh - 40px - 69px - 150px); display: grid; place-items: center; padding: 80px 0; background: var(--vault); color: var(--light); text-align: center; }
.lost .logo { width: 96px; height: 96px; margin: 0 auto 28px; }
.lost h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 850; font-variation-settings: "wdth" 118; letter-spacing: -.025em; line-height: .95; }
.lost p { margin-top: 16px; font-size: 1.2rem; color: var(--mist); }
.lost .btn { margin-top: 32px; }

/* ---------- Smaller screens ---------- */

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero-grid, .scan-grid, .verify-grid, .trust-grid, .intel-grid { grid-template-columns: minmax(0, 1fr); }
  .scan-grid { grid-template-areas: "head" "log" "photo"; grid-template-rows: auto; }
  .scan-photo { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .hero-grid { gap: 48px; }
  .counter { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .cert { max-width: 480px; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 52px 0 64px; }
  .greet { min-height: 3.2em; }
  .sheet-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .terms { grid-template-columns: minmax(0, 1fr); }
  .incident { padding: 24px 20px; }
  .incident-meta { grid-template-columns: repeat(2, auto); }
  .question { padding: 26px 22px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .nav-inner { gap: 12px; height: 60px; }
  #nav-cta { display: none; }
  .brand { font-size: 17px; }
  .sheet-fire { flex-direction: column; align-items: flex-start; }
  .cookie { flex-wrap: wrap; gap: 10px 14px; padding: 14px 18px; }
  .cookie-actions { width: 100%; }
  .perm { top: 76px; left: 12px; }
  .chip { white-space: normal; text-align: center; width: max-content; max-width: calc(100vw - 32px); }
  .odometer span { width: 34px; height: 48px; font-size: 26px; }
  .cert-inner { padding: 28px 18px 22px; }
}

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

/* ---------- A headline someone "edited" in the fake admin ---------- */

.hero h1.custom { max-width: 16ch; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; overflow-wrap: anywhere; }

/* ---------- The fake admin: /admin/ ---------- */

.admin-page { min-height: 100vh; display: flex; flex-direction: column; }
.admin-page .footer { margin-top: auto; }
.admin-who { font-size: 14px; color: var(--mist); }

.admin-login { display: grid; place-items: start center; padding: 72px 18px 96px; }
.login-box {
  display: grid;
  width: min(400px, 100%);
  padding: 32px;
  border: 1px solid #b9c2cc;
  border-top: 4px solid var(--ink);
  background: var(--white);
}
.login-box h1 { margin-bottom: 20px; font-size: 26px; font-weight: 800; font-variation-settings: "wdth" 110; }
.login-box label { margin: 12px 0 6px; font-size: 14px; font-weight: 600; }
.login-box input, .control input[type="text"] {
  height: 44px; min-width: 0;
  padding: 0 12px;
  border: 1.5px solid var(--steel);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit; font-size: 16px;
}
.login-box .btn { margin-top: 6px; }
.login-msg { min-height: 1.5em; margin: 10px 0 4px; font-size: 14.5px; font-weight: 600; color: var(--alarm); }
.login-forgot {
  justify-self: start;
  margin-top: 14px; padding: 4px 0;
  border: 0; background: none;
  color: #24508f; font-size: 14.5px; text-decoration: underline;
}
.login-hint { margin-top: 10px; padding: 12px 14px; border-left: 4px solid var(--caution); background: #fff7d9; font-size: 15px; }

.admin-console { padding: 48px 0 80px; }
.admin-console h1 { margin-bottom: 28px; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; font-variation-settings: "wdth" 115; letter-spacing: -.02em; }
.console-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.console-panel { padding: 22px 24px 24px; border: 1px solid #b9c2cc; background: var(--white); }
.console-panel h2 { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 750; font-variation-settings: "wdth" 106; }
.console-wide { grid-column: 1 / -1; }
.console-gap { margin-top: 28px; }

.control { display: grid; gap: 6px; padding: 12px 0; }
.control + .control { border-top: 1px solid var(--line); }
.control label, .control-inline > span { font-size: 15px; font-weight: 600; }
.control-row { display: flex; align-items: center; gap: 12px; }
.control-row input { flex: 1; }
.control-row output { min-width: 3.2em; font-family: var(--mono); font-size: 15px; text-align: right; }
.control-inline { display: flex; align-items: center; justify-content: space-between; }
.control-note { min-height: 1.4em; font-size: 14px; color: var(--ink-2); }
input[type="range"] { accent-color: #24508f; height: 28px; }
.switch { color: var(--ink-2); }
.switch:hover { color: var(--ink); }
.switch .mood-track { background: #9aa6b3; }
.switch[aria-checked="true"] .mood-track { background: var(--verified); }

.console-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.console-table th { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--steel); text-align: left; }
.console-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.console-table td:last-child { padding-right: 0; text-align: right; }
.link-button { padding: 0; border: 0; background: none; color: var(--alarm); font-size: 14.5px; font-weight: 600; text-decoration: underline; }

.inbox { margin: 0; padding: 0; list-style: none; }
.inbox li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.inbox-from { font-weight: 700; }

.activity { margin: 0; padding: 0; list-style: none; max-height: 320px; overflow: auto; font-family: var(--mono); font-size: 14px; line-height: 1.5; }
.activity li { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.activity time, .activity-empty { color: var(--steel); }
.activity .activity-empty { display: block; border-bottom: 0; }

.danger { border-color: var(--alarm); }
.danger h2 { color: var(--alarm); }
.danger-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.btn-danger { min-width: 170px; background: var(--alarm); color: #fff; }
.btn-danger:hover { background: #bf2f28; }
.console-fine { margin-top: 24px; font-size: 13.5px; color: var(--steel); }

@media (max-width: 820px) {
  .console-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-who { display: none; }
  .inbox li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
