/* The public pages (hellomerle.com): the Daylight brand as a poster. Flat fields of cobalt, yolk, ink and beak,
   hairline rules, Archivo set wide and heavy. The tokens are a copy of packages/core/src/tokens.css (no bundler
   here); the fonts are the same files the owner app uses (public/fonts). No inline styles or scripts: the site's
   CSP is default-src 'self'. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo.woff2) format("woff2-variations");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/fonts/instrument-sans.woff2) format("woff2-variations");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(/fonts/jetbrains-mono.woff2) format("woff2-variations");
}
:root {
  --merle-ink: #0e0f1a;
  --merle-chalk: #ffffff;
  --merle-cobalt: #2334e3;
  --merle-beak: #ff5c1a;
  --merle-yolk: #ffd12e;
  --merle-sky: #dde2ff;
  --surface: #ffffff;
  --surface-2: #f1f2f7;
  --surface-3: #e4e6f0;
  --line: #d6d8e4;
  --line-strong: var(--merle-ink);
  --text: #0e0f1a;
  --text-2: #5a5e78;
  --text-3: #676b85;
  --accent: var(--merle-cobalt);
  --accent-text: #1f2fd6;
  --accent-hover: #1a2bd1;
  --accent-soft: var(--merle-sky);
  --beak-text: #b53a0b;
  --focus: var(--merle-cobalt);
  --status-new: #2334e3;
  --status-new-dot: #2334e3;
  --status-progress: #b45309;
  --status-progress-dot: #ffd12e;
  --status-waiting: #b53a0b;
  --status-waiting-dot: #ff5c1a;
  --status-done: #15803d;
  --status-done-dot: #22c55e;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-5xl: clamp(3rem, 8.5vw, 8rem);
  --leading-tight: 1.02;
  --leading-snug: 1.15;
  --leading-normal: 1.5;
  --tracking-poster: -0.035em;
  --tracking-tight: -0.02em;
  --tracking-caps: 0.08em;
  --gutter: clamp(16px, 4vw, 56px);
  --radius-1: 3px;
  --radius-2: 6px;
  --radius-3: 12px;
  --radius-pill: 999px;
  --shadow-2: 0 4px 16px rgba(14, 15, 26, 0.12), 0 1px 2px rgba(14, 15, 26, 0.06);
  --shadow-3: 0 16px 48px rgba(14, 15, 26, 0.18), 0 2px 6px rgba(14, 15, 26, 0.08);
  --ring: 0 0 0 2px var(--surface), 0 0 0 4px var(--focus);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-snap: cubic-bezier(0.3, 1.4, 0.4, 1);
  --dur-1: 120ms;
  --dur-story: 6s;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #171929;
    --surface-2: #0e0f1a;
    --surface-3: #232640;
    --line: #2c2f48;
    --line-strong: #f4f4f8;
    --text: #f4f4f8;
    --text-2: #b3b7cf;
    --text-3: #8a8fac;
    --accent-text: #8f98ff;
    --accent-hover: #2b3cff;
    --accent-soft: #1b2159;
    --beak-text: #ff7a3d;
    --focus: #8f98ff;
    --status-new: #8f98ff;
    --status-progress: #fbbf24;
    --status-waiting: #ff7a3d;
    --status-done: #4ade80;
    --shadow-2: 0 4px 16px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-3: 0 16px 48px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #171929;
  --surface-2: #0e0f1a;
  --surface-3: #232640;
  --line: #2c2f48;
  --line-strong: #f4f4f8;
  --text: #f4f4f8;
  --text-2: #b3b7cf;
  --text-3: #8a8fac;
  --accent-text: #8f98ff;
  --accent-hover: #2b3cff;
  --accent-soft: #1b2159;
  --beak-text: #ff7a3d;
  --focus: #8f98ff;
  --status-new: #8f98ff;
  --status-progress: #fbbf24;
  --status-waiting: #ff7a3d;
  --status-done: #4ade80;
  --shadow-2: 0 4px 16px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-3: 0 16px 48px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-1: 0ms;
    --dur-story: 0ms;
  }
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
}
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-1);
}
::selection {
  background: var(--merle-yolk);
  color: var(--merle-ink);
}
.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: var(--tracking-poster);
  line-height: var(--leading-tight);
}
.heading {
  font-family: var(--font-display);
  font-stretch: 100%;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
}
.eyebrow {
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Logo: the M is the bird, the beak is the only colour */
.mark {
  width: 32px;
  height: 32px;
  flex: none;
}
.mark .m {
  fill: currentColor;
}
.mark .beak {
  fill: var(--merle-beak);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: inherit;
}

/* Buttons: every one says what happens */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  font-family: var(--font-display);
  font-stretch: 105%;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  border-radius: var(--radius-2);
  cursor: pointer;
  transition:
    background var(--dur-1),
    transform var(--dur-1),
    color var(--dur-1),
    border-color var(--dur-1);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-yolk {
  background: var(--merle-yolk);
  color: var(--merle-ink);
}
.btn-yolk:hover {
  background: #ffdb57;
}
.btn-ink {
  background: var(--merle-ink);
  color: #fff;
}
.btn-ink:hover {
  background: #22243a;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: currentColor;
}
.btn-ghost:hover {
  background: var(--surface-3);
}
.btn-ghost.on-field {
  color: #fff;
}
.btn-ghost.on-field:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

/* Status: an 8 px dot and a word */
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.status-new {
  color: var(--status-new);
}
.status-new::before {
  background: var(--status-new-dot);
}
.status-progress {
  color: var(--status-progress);
}
.status-progress::before {
  background: var(--status-progress-dot);
}
.status-waiting {
  color: var(--status-waiting);
}
.status-waiting::before {
  background: var(--status-waiting-dot);
}
.status-done {
  color: var(--status-done);
}
.status-done::before {
  background: var(--status-done-dot);
}

/* ---- Page ---- */
.wrap {
  width: min(100% - 2 * var(--gutter), 1320px);
  margin-inline: auto;
}
section {
  position: relative;
}

/* Nav over the hero */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  color: #fff;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  font-size: 15px;
}
.nav-links a {
  text-decoration: none;
  opacity: 0.92;
}
.nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav-links .btn {
  margin-left: 8px;
}
@media (max-width: 760px) {
  .nav-links {
    gap: 16px;
  }
  .nav-links a:not(.btn):not(.keep) {
    display: none;
  }
}
@media (max-width: 560px) {
  /* the button is the way in; the link beside it would run into the wordmark */
  .nav-links a.keep {
    display: none;
  }
}

/* Hero: cobalt */
.hero {
  background: var(--merle-cobalt);
  color: #fff;
  padding: 140px 0 72px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 40px 72px;
  align-items: start;
}
.hero h1 {
  grid-column: 1 / -1;
  font-size: clamp(3rem, 9.2vw, 9.5rem);
  max-width: 14ch;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  color: var(--merle-yolk);
}
.hero .lede {
  margin-top: 0;
  font-size: var(--text-xl);
  line-height: 1.4;
  max-width: 34ch;
  color: #e6e8ff;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero .install {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 14px;
  color: #c9ceff;
}
.hero .install code {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: #fff;
  overflow-wrap: anywhere;
}
.hero .install code b {
  color: var(--merle-yolk);
  font-weight: 500;
}
@media (max-width: 1000px) {
  .hero {
    padding-top: 110px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero h1 {
    max-width: none;
    margin-bottom: 0;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }
}

/* The story: button pressed, request lands, customer hears back. Six seconds; the end state stands still. */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  color: var(--merle-ink);
}
.story-app {
  grid-row: 1 / 3;
  position: relative;
  background: #fff;
  border-radius: var(--radius-2);
  min-height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.story-app .bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid #e6e7ef;
  font-size: 13px;
  color: #6d7190;
}
.story-app .bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e1e3ee;
}
.story-app .bar i:first-child {
  background: #c9cce0;
}
.story-app .lines {
  padding: 18px 14px;
  display: grid;
  gap: 10px;
}
.story-app .lines b {
  display: block;
  height: 10px;
  border-radius: 3px;
  background: #eceef5;
}
.story-app .lines b:nth-child(1) {
  width: 60%;
  height: 14px;
  background: #dfe1ec;
}
.story-app .lines b:nth-child(3) {
  width: 80%;
}
.story-app .lines b:nth-child(4) {
  width: 45%;
}
.story-app .lines b:nth-child(5) {
  width: 70%;
}
.fb-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 10px;
  border-radius: var(--radius-pill);
  background: var(--merle-ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  box-shadow: var(--shadow-2);
}
.fb-btn .mark {
  width: 16px;
  height: 16px;
  color: #fff;
}
.fb-panel {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #fff;
  border: 1.5px solid var(--merle-ink);
  border-radius: var(--radius-3);
  padding: 14px;
  box-shadow: var(--shadow-3);
}
.fb-panel .q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}
.fb-panel .typed {
  margin-top: 10px;
  min-height: 62px;
  border: 1px solid #d6d8e4;
  border-radius: var(--radius-2);
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--merle-ink);
}
.fb-panel .typed span {
  display: inline-block;
}
.fb-panel .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: #6d7190;
}
.fb-panel .row .btn-sm {
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
  background: var(--merle-cobalt);
  color: #fff;
  border-radius: var(--radius-2);
}
.story-card {
  background: #fff;
  border-radius: var(--radius-2);
  padding: 16px;
  box-shadow: var(--shadow-3);
}
.story-card .eyebrow {
  color: #6d7190;
}
.story-card .title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
}
.story-card .meta {
  margin-top: 12px;
  display: grid;
  gap: 7px;
  font-size: 14px;
}
.story-card .meta div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.story-card .meta span:first-child {
  color: #6d7190;
}
.story-card .next {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6e7ef;
  font-size: 14px;
}
.story-card .next b {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--merle-cobalt);
}
.story-reply {
  background: var(--merle-yolk);
}
.story-reply .title {
  font-size: 17px;
}
.story-reply .from {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #4b4a30;
}
.story-reply .from .mark {
  width: 18px;
  height: 18px;
  color: var(--merle-ink);
}
.story-reply .answers {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.story-reply .answers span {
  padding: 6px 12px;
  border-radius: var(--radius-2);
  border: 1.5px solid var(--merle-ink);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
}
.story-reply .answers span:first-child {
  background: var(--merle-ink);
  color: #fff;
}
.st-done,
.st-progress {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.st-done::before,
.st-progress::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.st-done {
  color: #15803d;
}
.st-done::before {
  background: #22c55e;
}
.st-progress {
  color: #b45309;
}
.st-progress::before {
  background: #ffd12e;
}
.story .swap {
  position: relative;
  display: inline-grid;
}
.story .swap > * {
  grid-area: 1 / 1;
}
.story .swap .st-progress {
  opacity: 0;
}
@media (max-width: 560px) {
  .story {
    grid-template-columns: 1fr;
  }
  .story-app {
    grid-row: auto;
    min-height: 320px;
  }
}
/* Orchestration, only when motion is welcome. The default above is the finished state. */
@media (prefers-reduced-motion: no-preference) {
  .fb-btn {
    animation: press var(--dur-story) var(--ease-snap) both;
  }
  .fb-panel {
    animation: panel var(--dur-story) var(--ease-out) both;
  }
  .fb-panel .typed span {
    animation: typed var(--dur-story) steps(44, end) both;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    vertical-align: top;
  }
  .story-request {
    animation: land var(--dur-story) var(--ease-out) both;
  }
  .story-reply {
    animation: land2 var(--dur-story) var(--ease-out) both;
  }
  .story .swap .st-progress {
    animation: swapA var(--dur-story) linear both;
  }
  .story .swap .st-done {
    animation: swapB var(--dur-story) linear both;
  }
  @keyframes press {
    0%,
    6% {
      transform: scale(1);
    }
    9% {
      transform: scale(0.92);
    }
    12%,
    100% {
      transform: scale(1);
    }
  }
  @keyframes panel {
    0%,
    12% {
      opacity: 0;
      transform: translateY(16px);
    }
    18%,
    100% {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes typed {
    0%,
    20% {
      width: 0;
    }
    44%,
    100% {
      width: 100%;
    }
  }
  @keyframes land {
    0%,
    48% {
      opacity: 0;
      transform: translateX(-24px);
    }
    56%,
    100% {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes land2 {
    0%,
    78% {
      opacity: 0;
      transform: translateY(24px);
    }
    88%,
    100% {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes swapA {
    0%,
    54% {
      opacity: 0;
    }
    56%,
    74% {
      opacity: 1;
    }
    76%,
    100% {
      opacity: 0;
    }
  }
  @keyframes swapB {
    0%,
    76% {
      opacity: 0;
    }
    78%,
    100% {
      opacity: 1;
    }
  }
}

/* Section head: eyebrow and a big heading, left aligned, a rule above */
.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-top: 24px;
  border-top: 1.5px solid currentColor;
}
.sec-head h2 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  max-width: 16ch;
}
@media (min-width: 900px) {
  .sec-head {
    grid-template-columns: 220px 1fr;
  }
}

/* How it works: yolk */
.how {
  background: var(--merle-yolk);
  color: var(--merle-ink);
  padding: 88px 0 96px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1.5px solid var(--merle-ink);
}
.step {
  padding: 28px 28px 36px 0;
  border-right: 1.5px solid var(--merle-ink);
}
.step + .step {
  padding-left: 28px;
}
.step:last-child {
  border-right: 0;
}
.step .n {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(5rem, 9vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.step h3 {
  margin-top: 28px;
  font-size: var(--text-xl);
}
.step p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
  max-width: 30ch;
  color: #3c3a1e;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    border-top: 0;
  }
  .step {
    border-right: 0;
    border-top: 1.5px solid var(--merle-ink);
    padding: 24px 0 36px;
  }
  .step + .step {
    padding-left: 0;
  }
}

/* The product: the inbox, drawn */
.product {
  background: var(--surface);
  color: var(--text);
  padding: 88px 0 96px;
}
.product .sec-head {
  border-color: var(--line-strong);
}
.product .lede {
  font-size: var(--text-lg);
  color: var(--text-2);
  max-width: 48ch;
  margin-top: 16px;
}
.frame {
  margin-top: 56px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-2);
  overflow: hidden;
  background: var(--surface);
}
.frame .url {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1.5px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
}
.frame .url i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
}
.inbox {
  display: grid;
  grid-template-columns: 200px 300px 1fr;
}
.inbox > * {
  min-width: 0;
}
.rail {
  background: var(--surface-2);
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  font-size: 14px;
}
.rail .eyebrow {
  color: var(--text-3);
  padding: 0 8px 10px;
}
.rail a {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  border-radius: var(--radius-1);
  text-decoration: none;
  color: var(--text-2);
}
.rail a.on {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 600;
}
.rail a span:last-child {
  font-variant-numeric: tabular-nums;
}
.list {
  border-right: 1px solid var(--line);
}
.list .row {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.list .row.on {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1.5px var(--accent-text);
}
.list .row.on .status,
.list .row.on .s,
.list .row:hover .status,
.list .row:hover .s {
  color: var(--text);
}
.list .row .t {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.list .row .t small {
  font-weight: 400;
  color: var(--text-3);
  font-size: 12px;
  white-space: nowrap;
}
.list .row .s {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-2);
  font-size: 13px;
}
.detail {
  padding: 24px 28px;
}
.detail h3 {
  font-size: var(--text-xl);
}
.detail .sub {
  color: var(--text-2);
  font-size: 14px;
  margin-top: 4px;
}
.quote {
  margin: 20px 0 0;
  padding: 16px 18px;
  background: var(--surface-2);
  font-size: 15.5px;
  line-height: 1.5;
  border-radius: var(--radius-2);
}
.quote small {
  display: block;
  margin-top: 10px;
  color: var(--text-3);
  font-size: 12px;
}
.facts {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;
  font-size: 14px;
}
.facts dt {
  color: var(--text-3);
  font-size: 12px;
}
.facts dd {
  margin: 2px 0 0;
  font-weight: 500;
}
.nextline {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--accent-text);
  border-radius: var(--radius-2);
  font-size: 15px;
}
.nextline b {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-text);
}
.decide {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.decide .btn {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}
.decide .btn-ghost {
  border-color: var(--line-strong);
}
.told {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-2);
}
.log {
  margin: 28px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.log li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
}
.log li span:first-child {
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.log b {
  color: var(--text);
  font-weight: 600;
}
@media (max-width: 1000px) {
  .inbox {
    grid-template-columns: 1fr 1fr;
  }
  .rail {
    display: none;
  }
}
@media (max-width: 680px) {
  .inbox {
    grid-template-columns: 1fr;
  }
  .list {
    display: none;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .detail {
    padding: 18px 16px;
  }
}
.annot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.annot div {
  padding-top: 14px;
  border-top: 1.5px solid var(--line-strong);
}
.annot h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}
.annot p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 15px;
}
@media (max-width: 760px) {
  .annot {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* What it captures: ink */
.captures {
  background: var(--merle-ink);
  color: #fff;
  padding: 96px 0;
}
.captures .sec-head {
  border-color: #fff;
}
.cap-list {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}
.cap {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid #3a3d5c;
}
.cap .k {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--merle-beak);
}
.cap h3 {
  font-size: var(--text-2xl);
}
.cap p {
  margin-top: 10px;
  color: #c6c9de;
  font-size: 16px;
  max-width: 36ch;
}
.cap-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #3a3d5c;
  font-size: var(--text-lg);
  color: #c6c9de;
  max-width: 60ch;
}
.cap-note b {
  color: #fff;
}
@media (max-width: 860px) {
  .cap-list {
    grid-template-columns: 1fr;
  }
}

/* Where bugs go */
.where {
  background: var(--surface-2);
  padding: 88px 0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .where {
    background: var(--surface);
  }
}
:root[data-theme="dark"] .where {
  background: var(--surface);
}
.where .sec-head {
  border-color: var(--line-strong);
}
.where .lede {
  font-size: var(--text-lg);
  color: var(--text-2);
  max-width: 46ch;
  margin-top: 16px;
}
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.tool {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 24px 0 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-2);
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.tool i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--merle-beak);
}

/* Closing: beak */
.close {
  background: var(--merle-beak);
  color: var(--merle-ink);
  padding: 96px 0 104px;
}
.close .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.close h2 {
  font-size: var(--text-5xl);
  max-width: 10ch;
}
.close p {
  margin-top: 20px;
  font-size: var(--text-lg);
  max-width: 36ch;
}
@media (max-width: 860px) {
  .close .wrap {
    grid-template-columns: 1fr;
  }
}

/* Footer: ink, the legal links, and the name cropped at the floor */
.foot {
  background: var(--merle-ink);
  color: #c6c9de;
  padding: 48px 0 0;
  font-size: 14px;
  overflow: hidden;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
}
.foot .wordmark {
  color: #fff;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.foot nav a {
  text-decoration: none;
}
.foot nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.foot .note {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid #3a3d5c;
  color: #8a8fac;
}
.foot .big {
  width: 100%;
  margin-top: 24px;
  margin-bottom: -0.16em;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(6rem, 23vw, 22rem);
  letter-spacing: -0.06em;
  line-height: 0.78;
  color: #fff;
  user-select: none;
  white-space: nowrap;
}
.foot .big span {
  color: var(--merle-beak);
}

/* ---- The legal pages: one reading column on chalk, the same header and footer ---- */
.top {
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.top .btn-ghost {
  border-color: var(--line-strong);
}
.doc {
  max-width: 720px;
  padding: 48px 0 80px;
  font-size: 17px;
  line-height: 1.6;
}
.doc h1 {
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: 8px;
}
.doc h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
  padding-top: 20px;
  border-top: 1.5px solid var(--line-strong);
}
.doc p,
.doc ul,
.doc ol {
  margin: 0 0 14px;
}
.doc li {
  margin-bottom: 6px;
}
.doc .q {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 28px;
}
.doc a {
  color: var(--accent-text);
  text-underline-offset: 3px;
}
.doc .scroll {
  overflow-x: auto;
  margin: 0 0 14px;
}
.doc table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
}
.doc th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}
