@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-opsz-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-opsz-wght-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
}

:root {
  --ink: #05070b;
  --ink-raised: #0a0d12;
  --ink-text: oklch(0.955 0.004 265);
  --ink-muted: oklch(0.76 0.012 265);
  --ink-faint: oklch(0.6 0.012 265);
  --ink-rule: oklch(0.96 0.004 265 / 0.12);
  --ink-staff: oklch(0.96 0.004 265 / 0.075);
  --ink-brand: oklch(0.74 0.12 255);

  --canvas: oklch(0.985 0.003 265);
  --band: oklch(0.962 0.006 265);
  --text: oklch(0.2 0.008 270);
  --muted: oklch(0.46 0.014 270);
  --rule: oklch(0.9 0.006 265);
  --brand: oklch(0.5 0.16 255);

  --work: oklch(0.79 0.135 80);
  --review: oklch(0.73 0.14 150);
  --done: oklch(0.7 0.13 250);
  --stop: oklch(0.82 0.01 265);

  --serif: "Source Serif 4", ui-serif, "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 48px);
  --page: 1180px;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid oklch(0.62 0.12 255 / 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: oklch(0.93 0.006 265);
}

.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;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--ink-text);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.ink {
  background: var(--ink);
  color: var(--ink-text);
  color-scheme: dark;
}

.ink :where(a:not(.button)) {
  color: var(--ink-text);
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow-dark {
  color: var(--ink-brand);
}

.display,
.headline {
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
}

.display {
  margin: 0;
  font-size: clamp(2.6rem, 1.5rem + 3.9vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.display em,
.headline-dark em {
  font-style: italic;
  font-weight: 450;
  color: var(--ink-brand);
}

.headline {
  margin: 0;
  font-size: clamp(1.95rem, 1.35rem + 2.1vw, 2.95rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 500 0.9375rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

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

.button-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.875rem;
}

.button-light {
  background: var(--ink-text);
  color: var(--ink);
}

.button-light:hover {
  background: oklch(0.9 0.006 265);
}

.button-ghost-dark {
  border-color: oklch(0.96 0.004 265 / 0.24);
  color: var(--ink-text);
}

.button-ghost-dark:hover {
  border-color: oklch(0.96 0.004 265 / 0.5);
  background: oklch(0.96 0.004 265 / 0.06);
}

.button-dark {
  background: var(--ink-raised);
  color: var(--ink-text);
}

.button-dark:hover {
  background: oklch(0.3 0.01 265);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--gutter);
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
}

.site-header.ink {
  max-width: none;
  padding-inline: max(var(--gutter), calc((100% - var(--page)) / 2));
}

.brand img {
  width: 140px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
}

.nav-link {
  font-size: 0.875rem;
  text-decoration: none;
}

.ink .nav-link {
  color: var(--ink-muted);
}

.ink .nav-link:hover {
  color: var(--ink-text);
}

.hero {
  display: grid;
  gap: clamp(48px, 6vw, 72px);
  align-items: center;
  padding: clamp(40px, 7vw, 96px) max(var(--gutter), calc((100% - var(--page)) / 2)) clamp(72px, 9vw, 128px);
}

.hero-copy {
  max-width: 620px;
}

.lede {
  margin: 28px 0 0;
  max-width: 34em;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.etymology {
  margin: 44px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ink-rule);
  max-width: 30em;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-faint);
}

.etymology em {
  color: var(--ink-muted);
}

.score {
  margin: 0;
  padding: 22px clamp(16px, 2.4vw, 26px) 18px;
  border: 1px solid var(--ink-rule);
  border-radius: 14px;
  background: var(--ink-raised);
}

.score-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-rule);
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-faint);
}

.score-title {
  color: var(--ink-muted);
}

.score-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.key {
  display: inline-block;
  width: 14px;
  height: 4px;
  border-radius: 2px;
  margin-left: 8px;
}

.key:first-child {
  margin-left: 0;
}

.key-work {
  background: var(--work);
}

.key-review {
  background: var(--review);
}

.key-done {
  background: var(--done);
}

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

.stave {
  padding: 16px 0 6px;
  border-bottom: 1px solid var(--ink-rule);
}

.stave-label {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--ink-text);
}

.stave-id {
  margin-right: 6px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-faint);
}

.stave-track {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  grid-template-rows: 17px 24px;
}

.stave-track::before {
  content: "";
  grid-column: 1 / -1;
  grid-row: 1;
  background: repeating-linear-gradient(to bottom, var(--ink-staff) 0 1px, transparent 1px 4px);
}

.seg {
  grid-row: 1;
  align-self: center;
  height: 7px;
  border-radius: 4px;
  transform-origin: left center;
}

.seg-work {
  background: var(--work);
}

.seg-review {
  background: var(--review);
}

.seg-queued,
.seg-wait {
  height: 0;
  border-top: 1px dashed var(--ink-faint);
  border-radius: 0;
}

.seg-open {
  border-radius: 4px 0 0 4px;
}

.note {
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  z-index: 1;
}

.note::before {
  content: "";
  width: 9px;
  height: 9px;
  margin: 4px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--ink-raised);
  box-shadow: 0 0 0 2px var(--ink-text);
}

.note b {
  margin: 7px 0 0 -4.5px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink-muted);
}

.note-pr::before {
  border-radius: 1px;
  transform: rotate(45deg);
  background: var(--ink-text);
  box-shadow: none;
}

.note-done::before {
  border-radius: 1px;
  transform: rotate(45deg);
  background: var(--done);
  box-shadow: none;
}

.note-review::before {
  background: var(--review);
  box-shadow: none;
}

.note-ask::before {
  background: var(--ink-raised);
  box-shadow: 0 0 0 1.5px var(--ink-muted);
}

.note-stop::before {
  border-radius: 1px;
  background: var(--stop);
  box-shadow: none;
}

.note-pr b,
.note-done b,
.note-review b,
.note-stop b {
  color: var(--ink-text);
}

.s1-queued { grid-column: 1 / 2; }
.s1-work { grid-column: 2 / 10; }
.s1-review { grid-column: 10 / 17; }
.s1-pr { grid-column: 10 / span 1; }
.s1-merged { grid-column: 17 / span 1; }
.s2-work { grid-column: 11 / 16; }
.s2-approved { grid-column: 16 / span 1; }
.s3-work-a { grid-column: 3 / 13; }
.s3-wait { grid-column: 13 / 18; }
.s3-work-b { grid-column: 18 / 25; }
.s3-ask { grid-column: 13 / span 1; }
.s3-answer { grid-column: 18 / span 1; }
.s4-work { grid-column: 5 / 8; }
.s4-stop { grid-column: 8 / span 1; }

.score-axis {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--ink-faint);
}

.score-axis span {
  grid-row: 1;
  justify-self: start;
  width: max-content;
}

.score-axis span:nth-child(1) { grid-column: 1; }
.score-axis span:nth-child(2) { grid-column: 7; transform: translateX(-50%); }
.score-axis span:nth-child(3) { grid-column: 13; transform: translateX(-50%); }
.score-axis span:nth-child(4) { grid-column: 19; transform: translateX(-50%); }
.score-axis span:nth-child(5) { grid-column: 24; justify-self: end; }

.score figcaption {
  margin-top: 14px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ink-faint);
}

.section {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 136px) var(--gutter);
  box-sizing: content-box;
}

.why {
  display: grid;
  gap: 24px 64px;
}

.why .eyebrow,
.why .headline {
  max-width: 15em;
}

.why-body {
  max-width: 36em;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
}

.why-body p {
  margin: 0 0 1.1em;
}

.why-body p:last-child {
  margin-bottom: 0;
  color: var(--text);
}

.how {
  display: grid;
  gap: 24px 64px;
  padding-top: 0;
}

.how-intro {
  align-self: start;
}

.steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  padding: 26px 0 28px;
  border-top: 1px solid var(--rule);
  counter-increment: step;
}

.step:last-child {
  border-bottom: 1px solid var(--rule);
}

.step::before {
  content: counter(step);
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 0.9;
  color: var(--brand);
}

.step h3 {
  margin: 4px 0 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.step p {
  margin: 0;
  max-width: 38em;
  color: var(--muted);
}

.band {
  background: var(--band);
  border-block: 1px solid var(--rule);
}

.spec {
  margin: 44px 0 0;
  max-width: 980px;
}

.spec-row {
  display: grid;
  gap: 4px 40px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}

.spec-row:last-child {
  border-bottom: 1px solid var(--rule);
}

.spec dt {
  font-weight: 600;
}

.spec dd {
  margin: 0;
  max-width: 40em;
  color: var(--muted);
}

.not-list {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 8px 48px;
}

.not-list li {
  padding-top: 20px;
  border-top: 2px solid var(--text);
}

.not-list h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.not-list p {
  margin: 0 0 24px;
  color: var(--muted);
}

.faq {
  padding-top: 0;
}

.qa {
  margin: 44px 0 0;
}

.qa-row {
  display: grid;
  gap: 6px 48px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}

.qa-row:last-child {
  border-bottom: 1px solid var(--rule);
}

.qa dt {
  font-weight: 600;
  line-height: 1.4;
}

.qa dd {
  margin: 0;
  max-width: 40em;
  color: var(--muted);
}

.waitlist {
  padding: clamp(72px, 10vw, 128px) max(var(--gutter), calc((100% - var(--page)) / 2));
}

.waitlist-inner {
  display: grid;
  gap: 40px 72px;
  align-items: start;
}

.waitlist-copy {
  max-width: 30em;
}

.waitlist-copy p {
  margin: 22px 0 0;
  font-size: 1.0625rem;
  color: var(--ink-muted);
}

.waitlist-copy .fineprint {
  font-size: 0.875rem;
  color: var(--ink-faint);
}

.headline-dark {
  color: var(--ink-text);
}

.waitlist-form {
  display: grid;
  gap: 18px;
  max-width: 460px;
}

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

.field-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.optional {
  margin-left: 6px;
  font-weight: 400;
  color: var(--ink-faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid oklch(0.96 0.004 265 / 0.2);
  border-radius: 8px;
  background: oklch(0.17 0.008 265);
  color: var(--ink-text);
  font: 400 1rem/1.4 var(--sans);
  transition: border-color 160ms var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: oklch(0.96 0.004 265 / 0.36);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--ink-brand);
  outline: 3px solid oklch(0.74 0.12 255 / 0.35);
  outline-offset: 0;
}

.waitlist-form .button {
  justify-self: start;
  margin-top: 6px;
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 32px var(--gutter) 40px;
  box-sizing: content-box;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.wordmark {
  font-weight: 600;
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page .site-header {
  width: 100%;
}

.prose {
  flex: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 88px) var(--gutter) clamp(56px, 8vw, 96px);
  box-sizing: content-box;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.prose h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 1.6rem + 2vw, 2.9rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.prose h2 {
  margin: 2.2em 0 0.5em;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.prose p,
.prose ul {
  margin: 0 0 1em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose .updated {
  color: var(--muted);
  font-size: 0.9375rem;
}

.token-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
  margin: 24px 0;
}

.token-form .field input {
  border-color: var(--rule);
  background: oklch(1 0 0 / 0.6);
  color: var(--text);
  border: 1px solid oklch(0.82 0.008 265);
}

.token-form .field input::placeholder {
  color: oklch(0.6 0.01 265);
}

.token-form .field input:focus-visible {
  border-color: var(--brand);
  outline: 3px solid oklch(0.5 0.16 255 / 0.25);
}

.token-form .button {
  justify-self: start;
}

.page .site-footer {
  width: 100%;
  border-top: 1px solid var(--rule);
}

@media (min-width: 720px) {
  .spec-row,
  .qa-row {
    grid-template-columns: minmax(180px, 1fr) minmax(0, 2.4fr);
  }

  .not-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

@media (min-width: 960px) {
  .why {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  .why .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .why-body {
    padding-top: 10px;
  }

  .how {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }

  .how-intro {
    position: sticky;
    top: 40px;
  }

  .how .headline {
    max-width: 9em;
  }

  .steps {
    margin-top: 0;
  }

  .waitlist-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    justify-content: space-between;
  }
}

@media (min-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-optional {
    display: none;
  }

  .brand img {
    width: 118px;
  }

  .note b {
    font-size: 0.625rem;
  }

  .score-head .score-key {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .seg-work,
  .seg-review {
    animation: draw 900ms var(--ease) both;
  }

  #stave-1 .seg { animation-delay: 120ms; }
  #stave-1 .s1-review { animation-delay: 520ms; }
  #stave-2 .seg { animation-delay: 640ms; }
  #stave-3 .seg { animation-delay: 260ms; }
  #stave-3 .s3-work-b { animation-delay: 760ms; }
  #stave-4 .seg { animation-delay: 380ms; }

  .note {
    animation: appear 500ms var(--ease) both;
    animation-delay: 900ms;
  }
}

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

  .button:active {
    transform: none;
  }
}

@keyframes draw {
  from {
    transform: scaleX(0);
  }
}

@keyframes appear {
  from {
    opacity: 0;
  }
}
