:root {
  --bg: #000;
  --ink: #fff;
  --muted: #a3a3a3;
  --faint: #8a8a8a;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.28);
  --blue: #2f6bff;
  --nav-h: 68px;
  --sans: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

main, .footer { position: relative; z-index: 1; }

img, svg { display: block; }

a { color: inherit; }

:focus-visible {
  outline: 1px solid #fff;
  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: -48px;
  z-index: 200;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

h1, h2, h3, p { margin: 0; }

h1, h2 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }

h2 { font-size: clamp(2rem, 4vw, 3.4rem); }

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-h);
  padding: 12px 28px;
  background: rgba(0, 0, 0, 0.55);
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.logo-eye { width: 26px; height: 16px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a:not(.btn) {
  color: #d4d4d4;
  text-decoration: none;
  font-size: 0.92rem;
  border: 1px solid var(--line-strong);
  border-radius: 9999px;
  padding: 8px 14px;
  line-height: 1;
}

.nav-links a:not(.btn):hover { color: #fff; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #000;
  color: #fff;
  position: relative;
  z-index: 2;
  border-radius: 9999px;
}

.nav-toggle-bar {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1px;
  background: #fff;
}

.nav-toggle-bar:first-of-type { top: 16px; }
.nav-toggle-bar:last-of-type { top: 24px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-of-type {
  top: 20px;
  transform: rotate(40deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-of-type {
  top: 20px;
  transform: rotate(-40deg);
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  background: #fff;
  color: #000;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  border-radius: 9999px;
  padding: 12px 18px;
  cursor: pointer;
}

.btn:hover {
  background: #000;
  color: #fff;
}

.btn-small { font-size: 0.88rem; padding: 10px 16px; }

.btn-block {
  width: 100%;
  padding: 16px 18px;
  font-size: 1rem;
}

.btn:disabled { opacity: 0.6; cursor: progress; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--nav-h) + 4px) 0 56px;
}

.hero-eye {
  width: 100%;
  height: 55vh;
  max-height: 55vh;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.hero-eye canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(1080px, calc(100% - 48px));
  min-width: 0;
  padding: 4px 0 0;
}

.hero-copy h1,
.hero-copy .second,
.hero-copy .sub,
.hero-copy .kicker {
  max-width: 40rem;
}

.hero h1 { font-size: clamp(2.15rem, 3.4vw, 3.25rem); }

.kicker, .note, .sign, .step-no, .source, .stat-num, .proof-num, .report, .unlock {
  font-family: var(--mono);
}

.kicker {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.second {
  margin-top: 16px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.sub, .founder p, .steps p, .faq-panel p {
  color: var(--muted);
}

.sub {
  margin-top: 16px;
  max-width: 42rem;
}

.hero-cta { margin-top: 28px; }

.note {
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.report-form {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  position: relative;
  width: 100%;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.modal .report-form > .btn {
  width: 100%;
  margin-top: 6px;
  padding: 14px 18px;
}

.reassure {
  margin: 4px 0 0;
  text-align: center;
  color: var(--faint);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.consent {
  margin: 6px 0 0;
  text-align: center;
  color: var(--faint);
  font-size: 0.78rem;
}

.consent a { color: var(--faint); }
.consent a:hover { color: #fff; }

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

.field { display: grid; gap: 6px; }

.field span {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #bbb;
}

.field input {
  width: 100%;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 9999px;
  padding: 12px 18px;
  font: 15px/1.4 var(--sans);
}

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

.field textarea {
  width: 100%;
  min-height: 0;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 12px 18px;
  font: 15px/1.4 var(--sans);
  resize: none;
  overflow-y: hidden;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #fff; }

.form-error {
  color: #fff;
  font-size: 0.88rem;
  border: 1px solid var(--line-strong);
  padding: 10px 12px;
}

.result-card {
  position: relative;
  border: 1px solid #333;
  border-radius: 16px;
  background: #000;
  padding: 40px 36px 36px;
  text-align: center;
  animation: result-in 300ms ease;
}

.result-card.is-error .result-mark,
.result-card.is-error .result-title { display: none; }

.result-mark {
  display: flex;
  justify-content: center;
  color: #fff;
  margin-bottom: 14px;
}

.result-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.result-text {
  margin: 8px 0 0;
  color: var(--muted);
}

.result-card.is-error .result-text {
  margin: 8px 0 0;
  color: #fff;
  font-size: 1.05rem;
}

@keyframes result-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  background: #000;
  color: #fff;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 36px 28px 28px;
  text-align: left;
}

.modal-title {
  margin: 0 32px 22px;
  text-align: center;
  font-size: clamp(1.45rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #aaa;
  cursor: pointer;
}

.modal-close:hover { color: #fff; }

.modal .report-form { margin-top: 0; }

.modal .result-card {
  border: 0;
  background: transparent;
  padding: 12px 8px 4px;
}

body.modal-open { overflow: hidden; }

.band { padding: 108px 0; }

.band h2 { margin-bottom: 36px; max-width: 16ch; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat, .steps li, .report {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.stat {
  min-height: 220px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat p:nth-child(2) {
  color: var(--muted);
  flex: 1;
}

.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-num-long { font-size: clamp(1.15rem, 2vw, 1.7rem); }

.results-head h2 { margin-bottom: 14px; max-width: 16ch; }

.results-lede {
  margin: 0 0 36px;
  max-width: 38rem;
  color: var(--muted);
}

.source {
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  text-underline-offset: 3px;
}

.source:hover { color: #fff; }

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

.steps li { padding: 24px 22px 28px; }

.step-no {
  display: block;
  margin-bottom: 28px;
  color: var(--faint);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.steps h3 { margin-bottom: 10px; }

.sample-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.report { padding: 0 0 18px; font-size: 0.86rem; }

.report-top, .report-rows div, .report-block, .fixes, .unlock {
  padding-left: 18px;
  padding-right: 18px;
}

.report-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  letter-spacing: 0.14em;
  font-size: 0.68rem;
}

.report-rows { margin: 0; }

.report-note {
  margin: 0;
  padding: 12px 18px 2px;
  color: var(--faint);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.report-rows div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding-top: 11px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.report-rows dt { color: var(--faint); }

.report-rows dd { margin: 0; text-align: right; }

.accent { color: var(--blue); }

.dim { color: var(--muted); }

.report-block {
  padding-top: 16px;
  padding-bottom: 8px;
  display: grid;
  gap: 6px;
}

.report-label {
  color: var(--faint);
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.fixes {
  list-style: none;
  margin: 8px 0 0;
  padding-top: 8px;
  display: grid;
  gap: 8px;
}

.fixes li {
  display: grid;
  grid-template-columns: 16px auto 1fr;
  gap: 8px;
  align-items: center;
}

.fixes svg { width: 16px; height: 16px; }

.blur {
  filter: blur(5px);
  color: #cfcfcf;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

.unlock {
  margin-top: 14px;
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.founder {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 28px;
  align-items: start;
  max-width: 820px;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  object-fit: cover;
}

.founder.no-photo { grid-template-columns: 1fr; }

.founder h2 { margin-bottom: 16px; }

.founder p.proof-num {
  margin: 28px 0 8px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.proof {
  margin: 22px 0 0;
  max-width: 720px;
}

.proof img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #222;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.proof figcaption {
  margin-top: 8px;
  color: var(--faint);
  font-size: 0.75rem;
  line-height: 1.4;
}

.sign {
  margin-top: 18px;
  color: var(--faint);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-wrap { max-width: 760px; }

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

.faq h3 { margin: 0; font-size: inherit; font-weight: inherit; }

.faq button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #fff;
  font: 600 1.15rem/1.3 var(--sans);
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
}

.plus {
  width: 12px;
  height: 12px;
  position: relative;
  flex: none;
}

.plus::before, .plus::after {
  content: "";
  position: absolute;
  background: #fff;
}

.plus::before { left: 0; right: 0; top: 5px; height: 1px; }
.plus::after { top: 0; bottom: 0; left: 5px; width: 1px; }

.faq-item.open .plus::after { transform: scaleY(0); }

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-item.open .faq-panel { grid-template-rows: 1fr; }

.faq-panel > div { overflow: hidden; }

.faq-panel p {
  padding: 0 0 18px;
  max-width: 62ch;
}

.close-cta .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.close-cta h2 {
  margin: 0;
  max-width: 12em;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.footer nav { display: flex; gap: 18px; }

.footer a { color: var(--faint); text-decoration: none; }
.footer a:hover { color: #fff; }

.legal {
  padding: calc(var(--nav-h) + 64px) 0 80px;
  max-width: 720px;
}

.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }

.legal p, .legal li { color: var(--muted); }

.legal p + p, .legal ul { margin-top: 14px; }

.legal ul { padding-left: 18px; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.in { animation: rise 0.7s ease forwards; }

.hero-copy > * { animation: rise 0.8s ease both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.18s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.3s; }

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

@media (max-width: 980px) {
  .hero { padding: calc(var(--nav-h) + 4px) 0 40px; }

  .hero-copy { width: min(1080px, calc(100% - 32px)); }

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

@media (max-width: 980px) {
  .nav { padding: 12px 16px; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: #000;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 32px;
  }

  .nav-links.open { display: flex; }

  .nav-links a:not(.btn) { font-size: 1.6rem; color: #fff; }
}

@media (max-width: 800px) {
  .hero-eye { height: 40vh; max-height: 40vh; }

  .modal { padding: 16px; }

  .modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 32px);
    padding: 32px 20px 24px;
  }

  .steps { grid-template-columns: 1fr; }
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .band { padding: 80px 0; }
  .founder { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .report-rows div { grid-template-columns: 1fr auto; }
}

@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 8px; }

  .stat { min-height: 0; padding: 16px 12px 14px; }

  .stat-num { font-size: 1.45rem; }

  .stat-num-long { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .hero-copy > * {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .faq-panel { transition: none; }
  .result-card,
  .modal-dialog { animation: none; }
}

/* Guides */
.guide { padding: calc(var(--nav-h) + 48px) 24px 80px; max-width: 760px; }
.guide .crumbs { font-family: var(--mono); font-size: 0.75rem; color: var(--faint); margin-bottom: 28px; }
.guide .crumbs a { color: var(--faint); text-decoration: none; }
.guide .crumbs a:hover { color: #fff; }
.guide h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; margin-bottom: 22px; }
.guide .answer { font-size: 1.15rem; color: #fff; margin-bottom: 28px; max-width: 62ch; }
.guide article h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 56px 0 16px; max-width: none; }
.guide article h3 { font-size: 1.15rem; margin: 32px 0 8px; }
.guide article p, .guide article li { color: var(--muted); max-width: 66ch; }
.guide article p + p { margin-top: 14px; }
.guide article ul { padding-left: 18px; margin: 14px 0; }
.guide article li + li { margin-top: 8px; }
.guide article strong { color: #fff; font-weight: 600; }
.guide article a, .guide .related a { color: #fff; }
.guide .faq { margin-top: 8px; }
.guide-cta { margin: 80px 0 0; padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.guide-cta h2 { margin: 0; }
.guide-cta p { color: var(--muted); max-width: 52ch; margin: 0; }
.related { margin-top: 56px; }
.related h2 { font-size: 1.2rem; margin-bottom: 14px; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.guide-list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.guide-list a { display: block; padding: 28px 0; border-bottom: 1px solid var(--line); color: #fff; text-decoration: none; }
.guide-list h2 { font-size: 1.35rem; margin: 0 0 8px; max-width: none; }
.guide-list p { color: var(--muted); margin: 0; }
.guide-list a:hover h2 { text-decoration: underline; }
