/* ==========================================================================
   Breachbeam — design tokens
   ========================================================================== */
:root {
  --bg: #07080a;
  --bg-2: #0a0c10;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --solid: #0e1016;
  --solid-2: #12151c;
  --line: rgba(255, 255, 255, 0.085);
  --line-2: rgba(255, 255, 255, 0.15);
  --text: #e9edf3;
  --muted: #98a2b3;
  --muted-2: #6d7787;
  --mint: #7ef0c0;
  --mint-soft: rgba(126, 240, 192, 0.12);
  --cyan: #63cdff;
  --violet: #9d8cff;
  --danger: #ff6b7d;
  --danger-soft: rgba(255, 107, 125, 0.12);
  --warn: #ffc255;
  --warn-soft: rgba(255, 194, 85, 0.12);
  --ok: #63e6a6;
  --ok-soft: rgba(99, 230, 166, 0.1);
  --radius: 20px;
  --radius-lg: 26px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95), 0 2px 0 rgba(255, 255, 255, 0.03) inset;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 540px at 10% -10%, rgba(126, 240, 192, 0.14), transparent 62%),
    radial-gradient(760px 520px at 90% 2%, rgba(157, 140, 255, 0.11), transparent 64%),
    radial-gradient(900px 640px at 50% 112%, rgba(99, 205, 255, 0.07), transparent 62%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(1200px 680px at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(1200px 680px at 50% 0%, #000 0%, transparent 78%);
  opacity: 0.7;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--mint);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
}

mark {
  background: rgba(126, 240, 192, 0.18);
  color: var(--mint);
  border-radius: 4px;
  padding: 0 2px;
}

::selection {
  background: rgba(126, 240, 192, 0.28);
  color: #fff;
}

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

.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: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--mint);
  color: #04120c;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip:focus {
  top: 14px;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow {
  max-width: 860px;
}

.micro {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted-2);
}

.grad {
  background: linear-gradient(92deg, #a8ffd4 0%, #7ef0c0 38%, #63cdff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 10, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.nav__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 640;
  letter-spacing: -0.02em;
  font-size: 17px;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 28px;
  height: 28px;
  flex: none;
  filter: drop-shadow(0 0 14px rgba(126, 240, 192, 0.28));
}

.nav__links {
  display: flex;
  gap: 26px;
  margin-left: 8px;
  font-size: 13.5px;
}

.nav__links a {
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.nav__links a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.seal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.02);
}

.seal__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(126, 240, 192, 0.14);
  animation: pulse 3.2s var(--ease) infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(126, 240, 192, 0.14);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(126, 240, 192, 0.04);
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  background: var(--btn-bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 560;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition:
    transform 0.15s var(--ease),
    background 0.18s var(--ease),
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 9px 15px;
  font-size: 13px;
  border-radius: 10px;
}

.btn--primary {
  background: linear-gradient(180deg, #9bfbd0 0%, #7ef0c0 55%, #62e2b1 100%);
  border-color: rgba(126, 240, 192, 0.5);
  color: #041710;
  font-weight: 650;
  box-shadow:
    0 12px 28px -12px rgba(126, 240, 192, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.btn--primary:hover {
  background: linear-gradient(180deg, #b0ffdb 0%, #8bf7c9 55%, #6cebba 100%);
  box-shadow:
    0 16px 34px -12px rgba(126, 240, 192, 0.65),
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-2);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 92px 0 40px;
  text-align: center;
  position: relative;
}

.hero .wrap {
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}

.eyebrow__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(126, 240, 192, 0.9);
}

.hero__title {
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 680;
}

.hero__lede {
  max-width: 640px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.65;
}

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.trust svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.016) 46%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.scan-card {
  border-radius: var(--radius-lg);
  padding: 26px;
}

.scan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(90deg, transparent, rgba(126, 240, 192, 0.6), transparent);
}

.scan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.scan-card__head h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.scan-card__head p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted-2);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(126, 240, 192, 0.24);
  background: var(--mint-soft);
  color: var(--mint);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   Tabs
   ========================================================================== */
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  padding: 8px 16px;
  border-radius: 9px;
  cursor: pointer;
  transition:
    background 0.18s var(--ease),
    color 0.18s var(--ease);
}

.tab:hover {
  color: var(--text);
}

.tab.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 6px 16px -10px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   Dropzone
   ========================================================================== */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  min-height: 232px;
  padding: 30px 24px;
  border: 1px dashed rgba(126, 240, 192, 0.26);
  border-radius: 18px;
  background:
    radial-gradient(560px 190px at 50% 0%, rgba(126, 240, 192, 0.09), transparent 72%),
    rgba(255, 255, 255, 0.014);
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.dropzone:hover {
  border-color: rgba(126, 240, 192, 0.5);
  background:
    radial-gradient(560px 190px at 50% 0%, rgba(126, 240, 192, 0.13), transparent 72%),
    rgba(255, 255, 255, 0.025);
}

.dropzone.is-dragging {
  border-color: var(--mint);
  border-style: solid;
  background:
    radial-gradient(560px 220px at 50% 0%, rgba(126, 240, 192, 0.2), transparent 72%),
    rgba(126, 240, 192, 0.06);
  transform: scale(1.004);
}

.dropzone__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 12px;
  background: rgba(126, 240, 192, 0.1);
  border: 1px solid rgba(126, 240, 192, 0.22);
  color: var(--mint);
}

.dropzone__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dropzone__title {
  font-size: 15.5px;
  font-weight: 560;
}

.dropzone__title strong {
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.94em;
}

.dropzone__sub {
  font-size: 13px;
  color: var(--muted-2);
}

.dropzone__hint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted-2);
  font-family: var(--mono);
  letter-spacing: 0.01em;
}

.linkish {
  color: var(--mint);
  border-bottom: 1px solid rgba(126, 240, 192, 0.35);
}

/* ==========================================================================
   Paste
   ========================================================================== */
.paste {
  display: block;
  width: 100%;
  min-height: 232px;
  resize: vertical;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(4, 6, 9, 0.6);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  outline: none;
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.paste::placeholder {
  color: #4d5766;
}

.paste:focus {
  border-color: rgba(126, 240, 192, 0.45);
  box-shadow: 0 0 0 3px rgba(126, 240, 192, 0.1);
}

.paste__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.scan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.alert {
  margin-top: 16px;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 125, 0.3);
  background: var(--danger-soft);
  color: #ffc2ca;
  font-size: 13px;
}

.alert--info {
  border-color: rgba(255, 194, 85, 0.28);
  background: var(--warn-soft);
  color: #ffe0a8;
}

/* ==========================================================================
   Progress
   ========================================================================== */
.progress {
  padding: 22px 2px 4px;
}

.progress__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.progress__label {
  font-size: 14px;
  color: var(--text);
}

.progress__pct {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mint);
}

.progress__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  position: relative;
}

.progress__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #7ef0c0, #63cdff);
  box-shadow: 0 0 18px rgba(126, 240, 192, 0.5);
  transition: width 0.25s var(--ease);
}

.progress__note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted-2);
  max-width: 62ch;
}

.progress__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Results header
   ========================================================================== */
.verdict {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.gauge-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  flex: none;
}

.gauge {
  width: 92px;
  height: 92px;
  transform: rotate(-90deg);
}

.gauge__track,
.gauge__arc {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.gauge__track {
  stroke: rgba(255, 255, 255, 0.07);
}

.gauge__arc {
  stroke: var(--mint);
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 0.8s var(--ease), stroke 0.4s var(--ease);
  filter: drop-shadow(0 0 6px rgba(126, 240, 192, 0.45));
}

.gauge-wrap.is-danger .gauge__arc {
  stroke: var(--danger);
  filter: drop-shadow(0 0 6px rgba(255, 107, 125, 0.45));
}

.gauge-wrap.is-warn .gauge__arc {
  stroke: var(--warn);
  filter: drop-shadow(0 0 6px rgba(255, 194, 85, 0.4));
}

.gauge__text {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1px;
}

.gauge__text span {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.gauge__text small {
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.verdict__copy h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: -0.022em;
}

.verdict__copy p {
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted-2);
}

.verdict__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line);
}

.stat {
  background: rgba(9, 11, 15, 0.86);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat__num {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.stat--danger .stat__num {
  color: var(--danger);
}

.stat--warn .stat__num {
  color: var(--warn);
}

.stat--ok .stat__num {
  color: var(--ok);
}

.banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 194, 85, 0.3);
  background: var(--warn-soft);
  margin-bottom: 18px;
}

.banner svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--warn);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.banner p {
  font-size: 13px;
  color: #ffe2b0;
  flex: 1;
}

/* ==========================================================================
   Table controls
   ========================================================================== */
.table-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  appearance: none;
  font: inherit;
  font-size: 12.5px;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition:
    background 0.16s var(--ease),
    color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.chip:hover {
  color: var(--text);
  border-color: var(--line-2);
}

.chip.is-active {
  background: rgba(126, 240, 192, 0.12);
  border-color: rgba(126, 240, 192, 0.35);
  color: var(--mint);
}

.chip__count {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.7;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
}

.search svg {
  position: absolute;
  left: 12px;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--muted-2);
  stroke-width: 1.7;
  stroke-linecap: round;
  pointer-events: none;
}

.search input {
  width: 240px;
  padding: 9px 12px 9px 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(4, 6, 9, 0.55);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  outline: none;
  transition:
    border-color 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}

.search input::placeholder {
  color: var(--muted-2);
}

.search input:focus {
  border-color: rgba(126, 240, 192, 0.42);
  box-shadow: 0 0 0 3px rgba(126, 240, 192, 0.09);
}

.search input::-webkit-search-cancel-button {
  filter: invert(0.6);
}

/* ==========================================================================
   Table
   ========================================================================== */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(6, 8, 11, 0.45);
}

.results {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.results thead th {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(12, 15, 20, 0.9);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.results thead th.num {
  text-align: right;
}

.results tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.results tbody tr:last-child td {
  border-bottom: 0;
}

.results tbody tr {
  transition: background 0.14s var(--ease);
}

.results tbody tr:hover {
  background: rgba(255, 255, 255, 0.028);
}

.results tbody tr td:first-child {
  position: relative;
}

.results tbody tr.row--critical td:first-child {
  box-shadow: inset 2px 0 0 var(--danger);
}

.results tbody tr.row--exposed td:first-child {
  box-shadow: inset 2px 0 0 var(--warn);
}

.results tbody tr.row--reused td:first-child,
.results tbody tr.row--weak td:first-child {
  box-shadow: inset 2px 0 0 rgba(255, 194, 85, 0.5);
}

.results tbody tr.row--unknown td:first-child {
  box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.14);
}

.pw {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
}

.pw__value {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text);
  overflow-wrap: anywhere;
}

.pw__value.is-revealed {
  letter-spacing: 0;
  color: #ffe0a8;
}

.pw__len {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 5px;
  flex: none;
}

.icon-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted-2);
  padding: 4px;
  border-radius: 7px;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: none;
  transition:
    color 0.15s var(--ease),
    background 0.15s var(--ease);
}

.icon-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.icon-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.labels {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted-2);
  line-height: 1.4;
  max-width: 34ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

.badge--danger {
  color: #ffb3bd;
  border-color: rgba(255, 107, 125, 0.32);
  background: var(--danger-soft);
}

.badge--warn {
  color: #ffdca0;
  border-color: rgba(255, 194, 85, 0.28);
  background: var(--warn-soft);
}

.badge--ok {
  color: #9df0c6;
  border-color: rgba(99, 230, 166, 0.24);
  background: var(--ok-soft);
}

.badge--muted {
  color: var(--muted-2);
}

.count {
  font-family: var(--mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  display: block;
}

.count--danger {
  color: var(--danger);
}

.count--warn {
  color: var(--warn);
}

.count--zero {
  color: var(--muted-2);
}

.strength {
  display: flex;
  align-items: center;
  gap: 9px;
}

.bars {
  display: flex;
  gap: 3px;
}

.bars i {
  display: block;
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.bars i.on {
  background: var(--warn);
}

.strength--strong .bars i.on {
  background: var(--ok);
}

.strength--strong .strength__label {
  color: var(--ok);
}

.strength--weak .strength__label {
  color: var(--warn);
}

.strength__label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: lowercase;
}

.empty {
  padding: 34px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted-2);
}

.table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted-2);
  font-family: var(--mono);
}

.scan-aside {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: center;
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 12.5px;
  color: var(--muted-2);
  text-align: center;
}

.scan-aside svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 1px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 96px 0 20px;
}

.section--tight {
  padding-top: 72px;
}

.section__head {
  max-width: 660px;
  margin-bottom: 40px;
}

.section__head h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  letter-spacing: -0.032em;
}

.section__lede {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.steps {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 240, 192, 0.35), transparent);
  opacity: 0.7;
}

.step__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mint);
  margin-bottom: 14px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(126, 240, 192, 0.22);
  background: rgba(126, 240, 192, 0.07);
}

.step h3 {
  font-size: 17px;
  margin-bottom: 9px;
  letter-spacing: -0.018em;
}

.step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.62;
}

.split-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(99, 205, 255, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.split-panel__copy h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.split-panel__copy p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.split-panel__copy p + p {
  margin-top: 14px;
}

.split-panel__copy code {
  color: var(--mint);
  background: rgba(126, 240, 192, 0.09);
  border: 1px solid rgba(126, 240, 192, 0.18);
  border-radius: 5px;
  padding: 1px 5px;
}

.split-panel__demo {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(4, 6, 9, 0.62);
  padding: 18px;
  font-family: var(--mono);
}

.demo-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 13px;
  margin-bottom: 13px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}

.demo-label {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.demo-row code {
  font-size: 12.5px;
  color: var(--text);
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.demo-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
}

.demo-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  min-width: 0;
}

.demo-col--sent {
  border-color: rgba(126, 240, 192, 0.3);
  background: rgba(126, 240, 192, 0.07);
}

.demo-col code {
  font-size: 12px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.demo-col--sent code {
  color: var(--mint);
  letter-spacing: 0.1em;
}

.demo-tag {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.demo-col--sent .demo-tag {
  color: rgba(126, 240, 192, 0.85);
}

.demo-sub {
  font-size: 10px;
  color: var(--muted-2);
}

/* ==========================================================================
   Privacy duo
   ========================================================================== */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.list-card {
  padding: 26px;
}

.list-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.list-card__title svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.list-card__title--ok svg {
  stroke: var(--mint);
}

.list-card__title--no svg {
  stroke: var(--danger);
}

.ticks,
.crosses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.ticks li,
.crosses li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.ticks li::before,
.crosses li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.ticks li::before {
  background: var(--mint-soft);
  box-shadow: inset 0 0 0 1px rgba(126, 240, 192, 0.28);
}

.ticks li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 7.5px;
  width: 5px;
  height: 3px;
  border-left: 1.5px solid var(--mint);
  border-bottom: 1.5px solid var(--mint);
  transform: rotate(-45deg);
}

.crosses li::before {
  background-color: var(--danger-soft);
  background-image: linear-gradient(
    45deg,
    transparent 44%,
    var(--danger) 44%,
    var(--danger) 56%,
    transparent 56%
  );
  box-shadow: inset 0 0 0 1px rgba(255, 107, 125, 0.25);
}

.crosses li::after {
  content: none;
}

.honest {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  font-size: 12.8px;
  line-height: 1.7;
  color: var(--muted-2);
}

.honest strong {
  color: var(--muted);
  font-weight: 600;
}

/* ==========================================================================
   Tips
   ========================================================================== */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tip {
  padding: 26px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.tip:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 240, 192, 0.24);
}

.tip__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(126, 240, 192, 0.22);
  background: rgba(126, 240, 192, 0.08);
  color: var(--mint);
  margin-bottom: 16px;
}

.tip__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tip h3 {
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.tip p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.62;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  list-style: none;
  transition: color 0.16s var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--mint);
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  border-color: rgba(126, 240, 192, 0.35);
  color: var(--mint);
}

.faq details p {
  padding: 0 44px 22px 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 72ch;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 9, 0.6);
  padding: 34px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__word {
  font-weight: 640;
  letter-spacing: -0.02em;
  font-size: 15px;
  margin-bottom: 2px;
}

.footer__note {
  font-size: 11.5px;
  color: var(--muted-2);
  max-width: 46ch;
  line-height: 1.6;
}

.footer__note a {
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #2a1116;
  border: 1px solid rgba(255, 107, 125, 0.4);
  color: #ffd3d8;
  font-size: 13px;
  z-index: 200;
}

/* ==========================================================================
   Entrance animation
   ========================================================================== */
.reveal {
  animation: rise 0.75s var(--ease) both;
}

.reveal:nth-child(1) {
  animation-delay: 0.04s;
}

.reveal:nth-child(2) {
  animation-delay: 0.12s;
}

.reveal:nth-child(3) {
  animation-delay: 0.2s;
}

.reveal:nth-child(4) {
  animation-delay: 0.28s;
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .steps,
  .trio {
    grid-template-columns: 1fr;
  }

  .split-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: start;
  }

  .step__num {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .step h3 {
    margin-bottom: 6px;
  }
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }

  .verdict {
    grid-template-columns: auto 1fr;
    row-gap: 18px;
  }

  .verdict__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .duo {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .search input {
    width: 200px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 64px;
  }

  .scan-card {
    padding: 18px;
    border-radius: 20px;
  }

  .scan-card__head {
    flex-direction: column;
    gap: 12px;
  }

  .seal {
    display: none;
  }

  .table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .results thead {
    display: none;
  }

  .results,
  .results tbody,
  .results tr,
  .results td {
    display: block;
    width: 100%;
  }

  .results tbody tr {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.022);
    padding: 12px 14px;
    margin-bottom: 10px;
  }

  .results tbody td {
    border: 0;
    padding: 6px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .results tbody td::before {
    content: attr(data-label);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-2);
    flex: none;
  }

  .results tbody tr td:first-child,
  .results tbody tr.row--critical td:first-child,
  .results tbody tr.row--exposed td:first-child,
  .results tbody tr.row--reused td:first-child,
  .results tbody tr.row--weak td:first-child,
  .results tbody tr.row--unknown td:first-child {
    box-shadow: none;
  }

  .results tbody tr.row--critical {
    border-color: rgba(255, 107, 125, 0.35);
    border-left: 3px solid var(--danger);
    background: rgba(255, 107, 125, 0.05);
  }

  .results tbody tr.row--exposed {
    border-color: rgba(255, 194, 85, 0.28);
    border-left: 3px solid var(--warn);
  }

  .results tbody tr.row--reused,
  .results tbody tr.row--weak {
    border-left: 3px solid rgba(255, 194, 85, 0.45);
  }

  .results tbody tr.row--unknown {
    border-left: 3px solid rgba(255, 255, 255, 0.16);
  }

  .results tbody tr:hover {
    background: rgba(255, 255, 255, 0.022);
  }

  .pw {
    justify-content: flex-end;
    text-align: right;
  }

  .labels {
    display: none;
  }

  .count {
    text-align: right;
  }

  .stat {
    padding: 14px;
  }

  .stat__num {
    font-size: 22px;
  }

  .table-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search input {
    width: 100%;
  }

  .section {
    padding-top: 72px;
  }

  .scan-foot,
  .paste__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .scan-foot .btn,
  .paste__foot .btn {
    width: 100%;
  }

  .verdict__copy h3 {
    font-size: 17px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .faq details p {
    padding-right: 12px;
  }

  .demo-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .wrap {
    padding: 0 16px;
  }

  .nav__inner {
    padding: 12px 16px;
  }

  .hero__title {
    font-size: 34px;
  }

  .gauge-wrap,
  .gauge {
    width: 74px;
    height: 74px;
  }

  .gauge__text span {
    font-size: 16px;
  }
}

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

/* ==========================================================================
   Document pages — legal, security, contact
   ========================================================================== */
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px 40px;
  align-items: start;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12.5px;
}

.footer__nav a {
  color: var(--muted);
}

.footer__nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.footer__nav a[aria-current="page"] {
  color: var(--mint);
}

.footer__note {
  grid-column: 1 / -1;
  max-width: 78ch;
}

.footer__legal {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.footer__legal a {
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
}

.doc {
  padding: 64px 0 24px;
}

.doc__title {
  font-size: clamp(32px, 4.6vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.doc__meta {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.doc__notice {
  margin: 28px 0 8px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 194, 85, 0.28);
  background: var(--warn-soft);
  font-size: 13px;
  line-height: 1.65;
  color: #ffe0b3;
}

.ph {
  background: rgba(255, 194, 85, 0.13);
  border-bottom: 1px dashed rgba(255, 194, 85, 0.5);
  color: #ffd999;
  padding: 0 3px;
  border-radius: 4px 4px 0 0;
}

.prose {
  margin-top: 26px;
  color: #c2cad6;
  font-size: 15px;
  line-height: 1.75;
}

.prose .lead {
  font-size: 17px;
  line-height: 1.7;
  color: #d7dde6;
}

.prose h2 {
  margin: 44px 0 14px;
  font-size: clamp(20px, 2.4vw, 24px);
  letter-spacing: -0.02em;
  color: #eef2f7;
  scroll-margin-top: 96px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 26px 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #e9eef5;
}

.prose p {
  margin: 14px 0;
}

.prose ul,
.prose ol {
  margin: 14px 0;
  padding-left: 22px;
}

.prose li {
  margin: 8px 0;
}

.prose li::marker {
  color: rgba(126, 240, 192, 0.6);
}

.prose a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(126, 240, 192, 0.35);
}

.prose strong {
  color: #f0f4f9;
  font-weight: 600;
}

.prose code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: 0.86em;
  color: #dce6f2;
  overflow-wrap: anywhere;
}

.table-scroll {
  margin: 18px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 520px;
}

.prose th {
  text-align: left;
  padding: 11px 14px;
  background: rgba(12, 15, 20, 0.9);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
}

.prose td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  color: #b9c2cf;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.doc__foot {
  margin: 40px 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-2);
}

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-form {
  margin-top: 30px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.field label {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(4, 6, 9, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 15px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #4d5766;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(126, 240, 192, 0.45);
  box-shadow: 0 0 0 3px rgba(126, 240, 192, 0.1);
}

.field [aria-invalid="true"] {
  border-color: rgba(255, 107, 125, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 107, 125, 0.12);
}

.field__hint {
  margin-top: 7px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 6px 0 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: #7ef0c0;
}

.check a {
  color: var(--mint);
}

.contact-form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-form__foot .micro {
  max-width: 40ch;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 18px;
  padding: 12px 15px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  line-height: 1.55;
}

.form-status--ok {
  border-color: rgba(99, 230, 166, 0.32);
  background: var(--ok-soft);
  color: #a9f2cc;
}

.form-status--error {
  border-color: rgba(255, 107, 125, 0.32);
  background: var(--danger-soft);
  color: #ffc2ca;
}

.contact-direct {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-direct h2 {
  margin-bottom: 16px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list span {
  font-size: 13px;
  color: var(--muted-2);
}

/* ==========================================================================
   404
   ========================================================================== */
.page-404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.notfound {
  padding: 48px 0;
  text-align: center;
}

.notfound__mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 22px rgba(126, 240, 192, 0.28));
}

.notfound__title {
  margin-top: 6px;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.035em;
}

.notfound__text {
  max-width: 44ch;
  margin: 16px auto 0;
  font-size: 15px;
  color: var(--muted);
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.notfound__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  margin-top: 34px;
  font-size: 12.5px;
}

.notfound__links a {
  color: var(--muted-2);
}

/* ==========================================================================
   Touch and small-screen polish
   ========================================================================== */
@media (hover: none) {
  .btn:active {
    background: rgba(255, 255, 255, 0.09);
  }

  .tip:hover {
    transform: none;
  }
}

@media (max-width: 860px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .doc {
    padding-top: 44px;
  }

  .prose {
    font-size: 14.5px;
  }

  .prose .lead {
    font-size: 16px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 18px;
  }

  .contact-list li {
    flex-direction: column;
    gap: 2px;
  }

  .chip {
    min-height: 36px;
    padding: 8px 13px;
  }

  .icon-btn {
    padding: 8px;
  }

  .faq summary {
    padding: 22px 4px;
  }
}

@media (max-width: 420px) {
  .doc__title {
    font-size: 30px;
  }

  .doc__notice {
    font-size: 12.5px;
  }
}


/* ==========================================================================
   Email check + open source band
   ========================================================================== */
.email-card {
  padding: clamp(18px, 3vw, 30px);
  display: grid;
  gap: 16px;
}

.email-form {
  display: grid;
  gap: 10px;
}

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

.email-input {
  flex: 1 1 260px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--text);
  font: inherit;
  font-size: 15px;
}

.email-input::placeholder {
  color: var(--muted-2);
}

.email-input:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
  border-color: transparent;
}

.email-form .micro {
  margin: 0;
  color: var(--muted-2);
  font-size: 12.5px;
}

.breaches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.breaches[hidden] {
  display: none;
}

.breach {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--surface);
  display: grid;
  gap: 6px;
}

.breach__top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  justify-content: space-between;
}

.breach__title {
  font-weight: 650;
  font-size: 15px;
}

.breach__meta {
  color: var(--muted);
  font-size: 12.5px;
}

.breach__classes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.breach__class {
  font-size: 11.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}

.oss {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 34px);
}

.oss__copy {
  display: grid;
  gap: 8px;
  max-width: 62ch;
}

.oss__copy h2 {
  font-size: clamp(21px, 2.4vw, 29px);
  margin: 0;
}

.oss__copy p {
  margin: 0;
  color: var(--muted);
}

.oss .btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}
