@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0d0d0d;
  --bg-2: #151514;
  --ink: #efeee6;
  --ink-2: #a9a8a0;
  --ink-3: #74736d;
  --line: rgba(239, 238, 230, 0.11);
  --line-2: rgba(239, 238, 230, 0.24);
  --ok: #a9e4b4;
  --warn: #f3c877;
  --bad: #ff9f8c;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(16px, 3vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color 160ms var(--ease), text-decoration-color 160ms var(--ease); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-weight: 360; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code, pre { font-family: var(--mono); }
code { font-size: 0.86em; color: var(--ink); background: rgba(239, 238, 230, 0.07); padding: 0.1em 0.35em; border-radius: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; margin-inline: 0; }
.dim { color: var(--ink-3); }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.bad { color: var(--bad); }
.fine { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.fine a { color: var(--ink-2); }
.wrap-any { overflow-wrap: anywhere; }

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

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 3; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; }
.logo span { color: var(--ink-2); font-weight: 400; }
.top nav { display: flex; gap: clamp(14px, 2.4vw, 30px); font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 34% at 78% 58%, #ffb98f 0%, #ff6a2a 42%, transparent 74%),
    radial-gradient(80% 90% at 88% 48%, #7300ff 0%, #2a00ff 52%, transparent 78%),
    var(--bg);
  -webkit-mask-image: linear-gradient(100deg, transparent 31%, rgba(0, 0, 0, 0.38) 54%, #000 74%), linear-gradient(to bottom, transparent 40px, #000 150px);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(100deg, transparent 31%, rgba(0, 0, 0, 0.38) 54%, #000 74%), linear-gradient(to bottom, transparent 40px, #000 150px);
  mask-composite: intersect;
}
[data-paper-shader] canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; contain: strict; opacity: 0; animation: grain-in 900ms var(--ease) forwards; }
@keyframes grain-in { to { opacity: 1; } }
.hero-in { padding-block: clamp(116px, 15vh, 148px) clamp(48px, 7vh, 72px); }
.hero h1 { font-size: clamp(46px, 6.6vw, 96px); line-height: 0.98; letter-spacing: -0.032em; font-weight: 340; max-width: 11.5em; }
.hero h1 span { display: block; color: #c4c3bb; }
.lede { text-wrap: pretty; margin-top: 22px; max-width: 38em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-2); }
.hero .lede { max-width: 31em; color: #cfcec6; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.button {
  display: inline-block;
  padding: 11px 18px;
  background: var(--ink);
  color: #111;
  border: 0;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 480;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms var(--ease);
}
.button:hover { background: #fff; }
.link { text-decoration: none; color: var(--ink); white-space: nowrap; }
.link span { display: inline-block; transition: transform 200ms var(--ease); }
.link:hover span { transform: translateX(3px); }
.ruler {
  height: 9px;
  border-top: 1px solid var(--line);
  background: repeating-linear-gradient(to right, var(--line-2) 0 1px, transparent 1px 24px);
}

/* Sections */
.sec { border-top: 1px solid var(--line); padding-block: clamp(52px, 8vw, 96px); }
.hero + .sec { border-top: 0; padding-top: clamp(32px, 4vw, 44px); }
.sec h2 { font-size: clamp(28px, 3.1vw, 42px); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.count { font: 400 13px/1.4 var(--mono); color: var(--ink-3); }
.sec-copy { margin-top: 16px; max-width: 30em; color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split .link { display: inline-block; margin-top: 20px; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.columns h2 { margin-bottom: 20px; font-size: clamp(24px, 2.4vw, 32px); }
.columns .link { display: inline-block; margin-top: 18px; }

/* Search */
.search { margin-bottom: 8px; }
.search label { display: block; margin-bottom: 8px; font-size: 15px; color: var(--ink-2); }
.search input, .submit input {
  width: 100%;
  padding: 15px 16px;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font: 400 19px/1.3 var(--sans);
  transition: border-color 160ms var(--ease);
}
.search input::placeholder, .submit input::placeholder { color: var(--ink-3); }
.search input:focus, .submit input:focus { outline: none; border-color: var(--ink); }

/* Directory rows */
.row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 2.2fr) minmax(0, 5fr) minmax(0, 2.6fr) minmax(92px, 1.1fr);
  gap: 8px 24px;
  align-items: baseline;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.row-main { display: flex; flex-direction: column; text-decoration: none; }
.row-main::after { content: ""; position: absolute; inset: 0; }
.row:hover .row-name { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.row-name { font-size: 20px; font-weight: 420; letter-spacing: -0.012em; line-height: 1.2; }
.row-domain { margin-top: 2px; font: 400 12.5px/1.4 var(--mono); color: var(--ink-3); }
.row-summary { color: var(--ink-2); font-size: 16px; line-height: 1.42; text-wrap: pretty; }
.row-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.row-tags .tag { position: relative; z-index: 1; }
.row-reports { font: 400 12.5px/1.5 var(--mono); text-align: right; }
.tag {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}
.tag:hover { border-color: var(--line-2); color: var(--ink); }
.more {
  margin-top: 18px;
  padding: 10px 16px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  font-size: 15px;
  transition: border-color 160ms var(--ease);
}
.more:hover { border-color: var(--ink); }
.empty { padding-block: 26px; color: var(--ink-2); }

/* Use cases */
.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
.uses a { display: flex; justify-content: space-between; gap: 12px; padding-block: 13px; border-bottom: 1px solid var(--line); text-decoration: none; }
.uses a:hover span:first-child { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.uses .dim { font: 400 13px/1.8 var(--mono); }
.use-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); }
.use-list a { display: block; padding-block: 24px; border-bottom: 1px solid var(--line); text-decoration: none; }
.use-list h2 { font-size: 24px; }
.use-list a:hover h2 { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.use-list p { margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.use-list p.dim { color: var(--ink-3); font-size: 14px; }

/* Code */
.code {
  margin: 0;
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.62;
  overflow-x: auto;
  white-space: pre;
}
.code code { background: none; padding: 0; font-size: inherit; color: #dcdbd3; }
.code .c { color: var(--ink-3); }

/* Page heads */
.page-head { padding-block: clamp(116px, 15vh, 160px) clamp(44px, 6vw, 72px); }
.page-head h1 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.028em; font-weight: 340; max-width: 15em; }
.crumbs { padding-top: 92px; font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs + .page-head { padding-top: 26px; }

/* Submit */
.submit { margin-top: 32px; max-width: 760px; }
.submit label { display: block; margin-bottom: 8px; color: var(--ink-2); font-size: 15px; }
.submit-row { display: flex; gap: 10px; }
.submit-row input { flex: 1; min-width: 0; }
.submit + .fine { margin-top: 12px; }
.plain li { padding-block: 5px; color: var(--ink-2); }
.ticks li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; }

/* App page */
.app { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); column-gap: clamp(32px, 5vw, 80px); padding-bottom: clamp(52px, 8vw, 96px); }
.app-head { grid-column: 1; padding-block: 26px 44px; }
.app-side { grid-column: 2; grid-row: 1 / span 2; padding-top: 26px; }
.app-file { grid-column: 1; min-width: 0; border-top: 1px solid var(--line); padding-top: 28px; }
.eyebrow { margin-bottom: 14px; font: 400 13px/1.4 var(--mono); color: var(--ink-3); }
.app-head h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.028em; font-weight: 340; }
.notice { margin-top: 18px; padding: 10px 14px; border: 1px solid rgba(243, 200, 119, 0.4); border-radius: 5px; color: var(--warn); font-size: 15px; }
.meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; margin: 34px 0 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.meta dt, .facts dt { font-size: 13px; color: var(--ink-3); }
.meta dd, .facts dd { margin: 2px 0 0; font-size: 15px; line-height: 1.4; }
.file-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 18px; }
.file-head h2, .block h2 { font-size: 24px; }
.block { padding-block: 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block h2 { margin-bottom: 14px; }
.verdict { font-size: 17px; }
.verdict::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; vertical-align: 1px; background: var(--ok); }
.verdict.is-flagged::before { background: var(--warn); }
.flags { margin-top: 10px; }
.flags li { padding-block: 5px; font-size: 15px; line-height: 1.4; color: var(--ink); }
.flags + .fine { margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 18px 0; }
.covers { margin-bottom: 14px; font-size: 15px; }
.covers li { padding-block: 3px; color: var(--ink-2); }
.covers li::before { content: "✓"; display: inline-block; width: 22px; color: var(--ok); }
.covers li.lacks { color: var(--ink-3); }
.covers li.lacks::before { content: "–"; color: var(--ink-3); }
.how { margin-block: 10px; font-size: 15px; }
.how summary { cursor: pointer; color: var(--ink-2); }
.how summary:hover { color: var(--ink); }
.how p { margin-block: 10px; color: var(--ink-2); line-height: 1.45; }
.how .code { margin-top: 10px; font-size: 12.5px; }
.sites { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.notes li { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.notes li:first-child { padding-top: 0; }
.note-head { font-size: 14px; }
.note-task { margin-block: 3px; color: var(--ink-2); }
.notes + .fine { margin-top: 10px; }

/* Long-form text */
.prose { font-size: 16.5px; line-height: 1.6; color: #d9d8d0; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { margin: 1.9em 0 0.55em; color: var(--ink); font-weight: 400; line-height: 1.2; letter-spacing: -0.012em; }
.prose h2 { font-size: 27px; }
.prose h3 { font-size: 24px; }
.prose h4 { font-size: 20px; }
.prose h5, .prose h6 { font-size: 17px; font-weight: 500; }
.prose p, .prose ul, .prose ol, .prose pre, .prose blockquote, .prose table { margin-block: 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-block: 0.28em; }
.prose li::marker { color: var(--ink-3); }
.prose blockquote { margin-inline: 0; padding-left: 14px; border-left: 2px solid var(--line-2); color: var(--ink-2); }
.prose pre { padding: 15px 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; font-size: 13px; line-height: 1.6; overflow-x: auto; overflow-wrap: normal; }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 7px 12px 7px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 500; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px 48px; }
.foot-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 36px; align-items: baseline; }
.foot-line { color: var(--ink-3); font-size: 14.5px; max-width: 44em; }
.foot nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: 14.5px; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }

@media (max-width: 1040px) {
  .row { grid-template-columns: minmax(130px, 2fr) minmax(0, 5fr) minmax(84px, 1fr); }
  .row-tags { display: none; }
  .uses { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app { grid-template-columns: minmax(0, 1fr); }
  .app-side { grid-column: 1; grid-row: auto; padding-top: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .app-file { grid-row: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top nav a:nth-child(2), .top nav a:nth-child(3) { display: none; }
  .hero-in { padding-block: 108px 54px; }
  .grain { -webkit-mask-image: linear-gradient(170deg, transparent 38%, rgba(0, 0, 0, 0.3) 64%, #000 100%); mask-image: linear-gradient(170deg, transparent 38%, rgba(0, 0, 0, 0.3) 64%, #000 100%); -webkit-mask-composite: initial; mask-composite: initial; }
  .row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding-block: 15px; }
  .row-summary { grid-column: 1 / -1; grid-row: 2; }
  .row-reports { grid-column: 2; grid-row: 1; }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-list { grid-template-columns: minmax(0, 1fr); }
  .split, .columns { grid-template-columns: minmax(0, 1fr); }
  .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .submit-row { flex-direction: column; }
  .submit-row .button { text-align: center; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  [data-paper-shader] canvas { opacity: 1; }
}

/* Added: copy lines, finder, submit ways */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-agent { margin-top: 34px; max-width: 37em; }
.hero-agent > p { margin-bottom: 8px; font-size: 14px; color: var(--ink-3); }
.copy-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 7px 7px 14px;
  background: rgba(13, 13, 13, 0.72);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.copy-line code { flex: 1; min-width: 0; background: none; padding: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.copy {
  flex: none;
  padding: 6px 12px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.copy:hover { border-color: var(--ink); background: rgba(239, 238, 230, 0.06); }
.sec-head .link { font-size: 15px; color: var(--ink-2); }
.sec-head .link:hover { color: var(--ink); }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; min-width: 0; }
.search-row .button { padding-inline: 22px; }
.matches { margin: 18px 0 8px; padding: 18px 20px 6px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg-2); }
.matches-head { margin-bottom: 6px; font-size: 15px; }
.matches-head .dim { font: 400 12.5px/1 var(--mono); margin-left: 8px; }
.matches li { padding-block: 12px; border-top: 1px solid var(--line); }
.matches li a { display: inline-flex; flex-direction: column; text-decoration: none; }
.matches li a:hover .row-name { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.matches li p { margin-top: 4px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ways > li { padding: 22px clamp(16px, 2.4vw, 32px) 6px 0; }
.ways > li + li { border-left: 1px solid var(--line); padding-left: clamp(16px, 2.4vw, 32px); }
.ways h2, .ways h3 { font-size: 23px; line-height: 1.15; letter-spacing: -0.015em; font-weight: 400; }
.ways p { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.ways .copy-line, .ways .submit { margin-top: 16px; }
.ways .submit-row input { padding: 11px 13px; font-size: 16px; }
.ways .submit-row .button { padding-inline: 16px; }
.prose .front { font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 1040px) {
  .ways { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .ways > li, .ways > li + li { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 24px; }
}
@media (max-width: 760px) {
  .hero-agent { margin-top: 28px; }
  .search-row { flex-direction: column; }
  .copy-line { flex-wrap: wrap; }
}
