@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/public-sans.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/jetbrains-mono.woff2") format("woff2");
}

:root {
  --bg: hsl(150 8% 5%);
  --fg: hsl(44 24% 93%);
  --card: hsl(150 8% 8%);
  --muted: hsl(142 9% 63%);
  --line: hsl(150 8% 17%);
  --lime: hsl(74 94% 60%);
  --ink: hsl(150 26% 6%);
  --paper: hsl(44 30% 93%);
  --paper-fg: hsl(150 14% 9%);
  --paper-muted: hsl(150 6% 32%);
  --paper-line: hsl(44 14% 79%);
  --coral: hsl(14 88% 58%);
  --font-display: "Bricolage Grotesque", "Arial Black", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 72rem;
  --pad: 1.25rem;
  --bar: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
  overflow-x: clip;
}

body.has-bar {
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.5rem;
  z-index: 50;
  transform: translateY(-150%);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.signal {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--lime);
  flex: none;
}

.icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-height: 2.75rem;
}

.mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-role {
  display: block;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav {
  display: none;
  margin-left: auto;
  gap: 0.25rem 1.25rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  color: var(--fg);
}

a.btn.header-cta {
  display: none;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  filter: none;
}

.btn-ink {
  background: var(--ink);
  color: var(--lime);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 35%, transparent);
}

.hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  right: -8rem;
  top: -10rem;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--lime) 28%, transparent), transparent 62%),
    radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--coral) 16%, transparent), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 2rem 0 2.25rem;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  padding: 0.4rem 0.6rem;
  color: var(--fg);
}

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

h1 {
  margin-top: 1.1rem;
  font-size: clamp(2.2rem, 8vw, 4.05rem);
  max-width: none;
}

h1 .lime {
  color: var(--lime);
}

.fast {
  margin-top: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin: 1.5rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0.3rem 0 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
}

.section {
  padding: 3.25rem 0;
}

.paper {
  background: var(--paper);
  color: var(--paper-fg);
}

.paper .mono,
.lede {
  color: var(--paper-muted);
}

h2 {
  margin-top: 0.85rem;
  font-size: clamp(1.85rem, 6.4vw, 2.7rem);
  max-width: 22ch;
}

h2.kicker {
  margin-top: 0;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.paper h2.kicker {
  color: var(--paper-muted);
}

.subhead {
  margin-top: 1.75rem;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  max-width: 12ch;
}

.path {
  margin-top: 0.8rem;
  max-width: 40rem;
}

.close-lead {
  margin-top: 1rem;
  max-width: 36rem;
}

.handle {
  margin-top: 0.85rem;
}

.pitch-line {
  margin-top: 0.35rem;
}

h2 .quiet {
  color: var(--muted);
}

.paper h2 .quiet {
  color: var(--paper-muted);
}

.stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  max-width: 42rem;
}

.stack p,
.prose p {
  font-size: 1.0625rem;
  line-height: 1.6;
}

.paper .stack p {
  color: var(--paper-muted);
}

.loop {
  border: 1px solid var(--line);
  background: var(--card);
}

.loop-head,
.loop-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  color: var(--muted);
}

.loop-head {
  border-bottom: 1px solid var(--line);
}

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

.grid-paper {
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--line) 80%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--line) 80%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
  padding: 0.85rem;
}

.steps {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border: 1px solid var(--line);
  padding: 1rem;
}

.step-kicker {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.step-index {
  color: var(--lime);
}

.step h3 {
  font-size: 1.15rem;
  line-height: 1.15;
}

.step-title {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.step p {
  margin-top: 0.75rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  color: var(--lime);
}

.pillars {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.pillar {
  border-top: 2px solid var(--paper-fg);
  padding-top: 0.9rem;
}

.pillar-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--paper-muted);
}

.pillar h3 {
  margin-top: 0.7rem;
  font-size: 1.3rem;
  line-height: 1.15;
}

.pillar p {
  margin-top: 0.55rem;
  color: var(--paper-muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  border: 1px solid var(--paper-line);
  color: var(--paper-muted);
  padding: 0.35rem 0.5rem;
}

.promises {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.promise {
  border: 1px solid var(--paper-line);
  padding: 1rem;
}

.promise h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.promise p {
  margin-top: 0.5rem;
  color: var(--paper-muted);
}

.receipt-intro {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.receipt-intro p {
  color: var(--muted);
  max-width: 36rem;
}

.receipts {
  display: grid;
  gap: 1px;
  background: var(--line);
  margin-top: 1.5rem;
}

.receipt {
  background: var(--bg);
  padding: 1.25rem 1.1rem 1.15rem;
}

.receipt .mono {
  color: var(--muted);
}

.metric {
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 5vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lime);
}

.metric-note {
  margin-top: 0.45rem;
  color: var(--muted);
}

.receipt p {
  margin-top: 0.9rem;
}

.footnote {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.disclaimer {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1rem;
}

.figure {
  margin: 1.5rem 0 0;
}

.figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.figure figcaption {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.7rem;
}

.figure figcaption span:last-child {
  color: var(--muted);
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

.portrait {
  margin: 0;
}

.portrait img {
  width: 100%;
  height: auto;
  border: 1px solid var(--paper-line);
}

.portrait figcaption {
  margin-top: 0.65rem;
}

.about-copy .stack {
  margin-top: 1rem;
}

.about-copy .stack p {
  color: var(--paper-muted);
}

.interests {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.interests li {
  border: 1px solid var(--paper-line);
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  font-weight: 500;
}

.timeline {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--paper-line);
}

.timeline li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--paper-line);
}

.timeline .mono {
  color: var(--paper-muted);
}

.timeline h3 {
  font-size: 1.15rem;
  line-height: 1.2;
  margin-top: 0.2rem;
}

.timeline p {
  margin-top: 0.35rem;
  color: var(--paper-muted);
}

.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: 1rem;
  min-height: 3.25rem;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--lime);
  font-size: 1.25rem;
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  padding: 0 0 1.1rem;
  max-width: 42rem;
  color: var(--muted);
}

.close {
  background: var(--lime);
  color: var(--ink);
}

.close .mono,
.close .quiet-ink {
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.close-grid {
  display: grid;
  gap: 1.5rem;
}

.close-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.close-actions .btn {
  width: 100%;
}

.pdf-row {
  margin: 0.2rem 0 0;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.pdf-link:hover {
  color: color-mix(in srgb, var(--ink) 70%, transparent);
}

.dialogue {
  display: grid;
  gap: 0.75rem;
}

.bubble {
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  padding: 1rem;
}

.bubble.me {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

.bubble p {
  margin-top: 0.45rem;
  font-size: 1.02rem;
}

.share-fallback {
  width: 100%;
  min-height: 8rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  background: var(--paper);
  color: var(--paper-fg);
  font: inherit;
  font-size: 1rem;
}

.status {
  min-height: 1.4rem;
  margin-top: 0.65rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-line {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 18ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--lime);
}

.copy {
  color: var(--muted);
  margin-top: 0.8rem;
}

.bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  padding: 0.55rem var(--pad) calc(0.55rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.bar .btn {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 720px) {
  :root {
    --pad: 2rem;
  }

  .facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps,
  .promises,
  .receipts {
    grid-template-columns: 1fr 1fr;
  }

  .receipts {
    grid-template-columns: repeat(3, 1fr);
  }

  .close-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .close-actions .btn {
    width: auto;
  }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  a.btn.header-cta {
    display: inline-flex;
  }

  body.has-bar {
    padding-bottom: 0;
  }

  .bar {
    display: none;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid,
  .close-grid,
  .receipt-intro {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 2.5rem;
  }

  .receipt-intro {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .footer-links,
  .copy {
    justify-content: flex-end;
  }

  .copy {
    text-align: right;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
