@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/plexmono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #13203A;
  --ink-2: #1C2C4D;
  --steel: #56657F;
  --fog: #EEF2F7;
  --line: #D6DEE9;
  --paper: #FFFFFF;
  --leak: #F2541B;
  --leak-soft: #FFE6DB;
  --blocked: #2BB673;
  --wrap: 1160px;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }
body {
  margin: 0;
  font-family: var(--display);
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--leak); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rotate { display: inline; border-bottom: 0.08em solid var(--leak); }
.rotate.is-out { opacity: 0; }
.rotate { transition: opacity 0.25s ease; }

/* Wordmark */
.wordmark {
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.01em;
  font-size: 1.3rem;
  line-height: 1;
}
.wm-leak { color: var(--leak); }
.wm-to { color: var(--steel); }
.wm-locked { color: var(--ink); }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.top__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a { text-decoration: none; color: var(--steel); font-weight: 500; font-size: 0.95rem; }
.top__nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; cursor: pointer;
  background: var(--ink); color: var(--paper);
  font: inherit; font-weight: 700; text-decoration: none;
}
.btn:hover { background: var(--ink-2); }
.btn--small { padding: 10px 16px; font-size: 0.95rem; }
.btn--big { padding: 16px 26px; font-size: 1.05rem; font-stretch: 108%; }
.btn--light { background: var(--leak); color: var(--ink); }
.btn--light:hover { background: #FF6A35; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { min-height: 4.1em;
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(2.1rem, 3.9vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.lede { margin-top: 22px; font-size: 1.2rem; color: var(--steel); max-width: 34em; }

.scan { margin-top: 32px; }
.scan__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 0.85rem; font-weight: 600; font-stretch: 90%; color: var(--steel); }
.field input {
  font: inherit; font-size: 1rem;
  padding: 14px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
}
.field input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--leak-soft); }
.field input[aria-invalid="true"] { border-color: var(--leak); }
.scan__note { margin-top: 10px; font-size: 0.9rem; color: var(--steel); }
.scan__msg { margin-top: 10px; font-weight: 600; min-height: 1.6em; }
.scan__msg.is-error { color: #C2410C; }
.scan__msg.is-ok { color: #1F7A50; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mythos {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.92rem; font-weight: 600; color: var(--steel);
}

/* Log panel: the one loud element */
.log {
  margin: 0;
  background: var(--ink);
  color: #C9D3E3;
  border-radius: 16px;
  padding: 18px 0 0;
  font-family: "Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(19, 32, 58, 0.55);
}
.log__head {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 0 20px 14px; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--display); font-size: 0.85rem;
}
.log__title { color: #93A1BA; display: inline-flex; align-items: center; gap: 10px; }
.log__real { background: var(--leak); color: var(--ink); font-weight: 700; font-size: 0.75rem; padding: 3px 8px; border-radius: 6px; }
.log__note { margin: 0; padding: 12px 20px 16px; font-family: var(--display); font-size: 0.88rem; color: #A9B6CC; }
.log__count { color: var(--paper); font-weight: 700; font-variant-numeric: tabular-nums; }
.log__lines { list-style: none; margin: 0; padding: 12px 20px; height: 300px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.log__lines li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.85; }
.log__lines .ip { color: #93A1BA; }
.log__lines .path { color: #FF8A5C; }
.log__lines .code { color: #6F7E98; }
.log__verdict {
  margin: 0; padding: 14px 20px;
  background: rgba(43, 182, 115, 0.12); color: #6EE7A8;
  font-weight: 500; border-top: 1px solid rgba(43,182,115,0.25);
  visibility: hidden;
}
.log__verdict.is-on { visibility: visible; }
.log.is-blocked .path { color: #6F7E98; text-decoration: line-through; }

/* Story */
.story { background: var(--fog); padding: 88px 0; }
.story__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.story h2, .how h2, .checks h2, .who h2, .shield h2, .badge h2, .faq h2, .final h2 {
  font-weight: 800; font-stretch: 118%; letter-spacing: -0.015em;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}
.story__grid > div p { margin-top: 18px; color: var(--steel); max-width: 30em; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--leak); border: 2px solid var(--fog);
}
.timeline li:last-child::before { background: var(--ink); }
.timeline time { font-weight: 700; font-stretch: 78%; font-size: 1.05rem; }
.timeline p { margin-top: 4px; }

/* Steps */
.how { padding: 96px 0; }
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before {
  content: counter(step);
  display: block; font-weight: 800; font-stretch: 62%; font-size: 3rem; line-height: 1;
  color: var(--line); margin-bottom: 12px;
}
.steps h3 { font-size: 1.25rem; font-weight: 800; font-stretch: 110%; }
.steps p { margin-top: 10px; color: var(--steel); font-size: 1rem; }
.steps .steps__meta { margin-top: 12px; color: var(--ink); font-weight: 600; font-stretch: 85%; font-size: 0.92rem; }

/* Checks */
.checks { padding: 96px 0; background: var(--fog); }
.checks__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.checks__group h3 { font-size: 1.15rem; font-weight: 800; font-stretch: 110%; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.checks__group ul { list-style: none; margin: 14px 0 0; padding: 0; }
.checks__group li { position: relative; padding-left: 18px; margin-bottom: 10px; font-size: 0.98rem; line-height: 1.45; }
.checks__group li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--leak);
}
.checks__fix { margin-top: 40px; font-size: 1.1rem; max-width: 40em; }

/* Who */
.who { padding: 96px 0; }
.who__list { margin: 36px 0 0; }
.who__list > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; padding: 22px 0; border-top: 1px solid var(--line); }
.who__list > div:last-child { border-bottom: 1px solid var(--line); }
.who__list dt { font-weight: 800; font-stretch: 110%; font-size: 1.2rem; }
.who__list dd { margin: 0; color: var(--steel); }

/* Form Shield */
.shield { padding: 96px 0; }
.shield__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.shield__grid > div > p { margin-top: 16px; color: var(--steel); max-width: 32em; }
.shield__form { background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 24px 50px -32px rgba(19,32,58,0.45); }
.shield__title { font-weight: 700; font-stretch: 90%; color: var(--steel); font-size: 0.9rem; }
.shield__list { list-style: none; margin: 12px 0 0; padding: 0; }
.shield__list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--fog); font-size: 0.95rem; }
.shield__list em { font-style: normal; font-weight: 700; font-stretch: 85%; font-size: 0.85rem; white-space: nowrap; }
.shield__list .is-spam span { color: #8A97AD; text-decoration: line-through; }
.shield__list .is-spam em { color: #C2410C; }
.shield__list .is-real em { color: #1F7A50; }
.shield__sum { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; }

/* Badge */
.badge { padding: 88px 0; background: var(--fog); }
.badge__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.badge__grid p { margin-top: 16px; color: var(--steel); max-width: 34em; }
.badge__demo { display: flex; justify-content: center; }
.ltl-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 18px 12px 14px;
  box-shadow: 0 12px 30px -18px rgba(19,32,58,0.35);
}
.ltl-badge__text { display: flex; flex-direction: column; gap: 3px; }
.ltl-badge__small { font-size: 0.75rem; font-weight: 600; color: var(--steel); line-height: 1; }
.ltl-badge__name { font-weight: 800; font-stretch: 112%; font-size: 1.1rem; line-height: 1; }

/* FAQ */
.faq { padding: 96px 0; }
.faq__wrap { max-width: 820px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px;
  font-size: 1.6rem; font-weight: 400; color: var(--steel);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; color: var(--steel); max-width: 40em; }

/* Final CTA */
.final { background: var(--ink); color: var(--paper); padding: 88px 0; }
.final__inner { max-width: 820px; }
.final .field__label { color: #A9B6CC; }
.final .field input { background: var(--ink-2); border-color: #34466B; color: var(--paper); }
.final .field input::placeholder { color: #7F8EA8; }
.final .field input:focus { border-color: var(--leak); box-shadow: none; }
.final .scan__msg.is-ok { color: #6EE7A8; }
.final .scan__msg.is-error { color: #FF9B73; }

/* Footer */
.foot { padding: 32px 0; border-top: 1px solid var(--line); }
.foot__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 0.92rem; color: var(--steel); }
.logo--foot .wordmark { font-size: 1.05rem; }
.foot nav { margin-left: auto; }

/* Legal page */
.legal { padding: 64px 0 96px; }
.legal__body { max-width: 760px; }
.legal__body h1 { font-weight: 800; font-stretch: 118%; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal__body h2 { font-weight: 800; font-stretch: 105%; font-size: 1.35rem; margin: 40px 0 12px; }
.legal__body p, .legal__body li { color: #2C3A55; }
.legal__body p { margin: 0 0 14px; }
.legal__body ul { padding-left: 22px; margin: 0 0 14px; }
.legal__body li { margin-bottom: 6px; }
.legal__body hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.legal__body table { border-collapse: collapse; width: 100%; margin: 8px 0 18px; font-size: 0.95rem; }
.legal__body th, .legal__body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal__body th { background: var(--fog); }

/* Responsive */
@media (max-width: 980px) {
  .hero__grid, .story__grid, .badge__grid, .shield__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { min-height: 0; }
  .steps, .checks__grid { grid-template-columns: repeat(2, 1fr); }
  .top__nav { display: none; }
  .top__inner .btn { margin-left: auto; }
}
@media (max-width: 620px) {
  .hero { padding: 44px 0 64px; }
  .scan__row { grid-template-columns: 1fr; }
  .btn--big { width: 100%; }
  .steps, .checks__grid { grid-template-columns: 1fr; }
  .who__list > div { grid-template-columns: 1fr; gap: 6px; }
  .log__lines { height: 240px; }
  .story, .how, .checks, .who, .badge, .faq, .final, .shield { padding: 64px 0; }
  .foot nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
