* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--ledger);
  color: var(--ink);
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
}
body {
  font-size: 17px;
  line-height: 1.65;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 6rem;
}

.masthead {
  margin-bottom: 3rem;
}
.masthead__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.masthead__icon {
  display: block;
  flex: none;
}
.masthead__brand .masthead__kicker {
  margin: 0;
}
.masthead__mark {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}
.masthead__rule {
  width: 48px;
  height: 3px;
  background: var(--ink-blue);
  border: 0;
  margin: 0.9rem 0;
}
.masthead__kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0;
}

.lede {
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 1.25rem;
  max-width: 62ch;
}
.lede strong { font-weight: 600; }

p { margin: 0 0 1.1rem; max-width: 62ch; }
p.sub { color: var(--graphite); }
strong { color: var(--ink); font-weight: 600; }

/* Docket line — the product's own signature device, simplified for explanation */
.docket-wrap {
  margin: 2.25rem 0 2.75rem;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.5rem 1.75rem 2.25rem;
}
.docket-wrap__caption {
  font-size: 0.85rem;
  color: var(--graphite);
  margin: 0 0 1.6rem;
}
.docket {
  position: relative;
  height: 56px;
  margin: 0 0.5rem;
}
.docket__line {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule);
}
.docket__point {
  position: absolute;
  top: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--ink-blue);
  background: var(--sheet);
  transform: translateX(-50%);
}
.docket__point--fired { background: var(--ink-blue); }
.docket__point--today {
  border-color: var(--deadline-red);
  background: var(--deadline-red);
}
.docket__label {
  position: absolute;
  top: 26px;
  transform: translateX(-50%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--graphite);
  white-space: nowrap;
  text-align: center;
}
.docket__label--today { color: var(--deadline-red); font-weight: 600; }

h2 {
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--graphite);
  margin: 3rem 0 1.4rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}
h2:first-of-type { border-top: none; padding-top: 0; }

.guides {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.guide {
  display: block;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.4rem 1.6rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.12s ease;
}
.guide:hover, .guide:focus-visible {
  border-color: var(--ink-blue);
}
.guide__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.guide__audience {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-blue);
  margin: 0 0 0.4rem;
}
.guide__title {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
  text-wrap: balance;
}
.guide__desc {
  font-size: 0.95rem;
  color: var(--graphite);
  margin: 0;
  max-width: 56ch;
}
.guide__arrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--ink-blue);
  flex: none;
  white-space: nowrap;
}

footer {
  margin-top: 3.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--graphite);
  letter-spacing: 0.02em;
}

@media (max-width: 520px) {
  .page { padding: 3rem 1.25rem 4rem; }
  .lede { font-size: 1.1rem; }
  .guide__row { flex-direction: column; gap: 0.3rem; }
  .docket__label { font-size: 0.6rem; }
}
