/* Studio tokens, the same contract the app uses (docs/design/design-system-v1.md).
   Kept as plain CSS: this site is four static pages and has no build step. */
:root {
  --canvas: #f7f8f6;
  --surface: #ffffff;
  --surface-alt: #edf3ef;
  --sage: #dce8e0;
  --forest: #1f4d3a;
  --forest-ink: #143626;
  --on-forest: #ffffff;
  --on-forest-muted: #bfd6c8;
  --ink: #1f2522;
  --text: #2b2f2c;
  --text-muted: #626862;
  --line: #eef1ee;
  --line-strong: #e3e8e4;
  --measure: 68ch;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family:
    'Inter Tight',
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

h1,
h2,
h3 {
  font-family:
    'Plus Jakarta Sans',
    'Inter Tight',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.35rem;
  margin: 2.75rem 0 0.75rem;
}

h3 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
}

a {
  color: var(--forest);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--forest-ink);
}

/* The product treats accessibility as a feature; the site should not be worse than the app. */
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site {
  background: var(--forest);
  color: var(--on-forest);
  padding: 1.1rem 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

header.site a {
  color: var(--on-forest);
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

header.site a:focus-visible {
  outline-color: var(--on-forest);
}

/* The tally: three cuneiform wedges, the brand's signature mark. */
.tally {
  display: inline-flex;
  gap: 3px;
  align-items: flex-end;
}

.tally span {
  display: block;
  width: 4px;
  background: var(--on-forest-muted);
  border-radius: 1px;
}

.tally span:nth-child(1) {
  height: 10px;
}

.tally span:nth-child(2) {
  height: 15px;
}

.tally span:nth-child(3) {
  height: 20px;
  background: var(--on-forest);
}

main {
  padding: 3rem 0 4rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
}

.card.quiet {
  background: var(--surface-alt);
  border-color: var(--line-strong);
}

dl.facts {
  margin: 0;
}

dl.facts dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 1rem;
}

dl.facts dd {
  margin: 0.15rem 0 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--line-strong);
}

th {
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.table-scroll {
  overflow-x: auto;
}

footer.site {
  border-top: 1px solid var(--line-strong);
  padding: 2rem 0 3rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.updated {
  font-size: 0.92rem;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
