/* Landing page served at the site root by the web Worker. Static: no script,
   no external fonts. Tokens mirror apps/web/src/styles/app.css so the page
   reads as the front door of the same app. */
:root {
  --bg: #f1f0ea;
  --ink: #14140f;
  --ink-2: #5f5e55;
  --ink-3: #605f57;
  --hair: rgba(20, 20, 15, 0.12);
  --canvas-line: rgba(20, 20, 15, 0.42);
  /* Golden-ratio spacing scale shared with the app: 5 / 8 / 13 / 21 / 34 / 55. */
  --s1: 5px;
  --s2: 8px;
  --s3: 13px;
  --s4: 21px;
  --s5: 34px;
  --s6: 55px;
  --r2: 13px;
  --tap: 44px;
  --serif:
    "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia,
    "Times New Roman", serif;
  --mono:
    ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0f;
    --ink: #f4f3ee;
    --ink-2: #a3a29b;
    --ink-3: #9d9c95;
    --hair: rgba(244, 243, 238, 0.14);
    --canvas-line: rgba(244, 243, 238, 0.45);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}
html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  font: 400 17px / 1.5 var(--serif);
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 61rem;
  padding: var(--s6) var(--s4) var(--s5);
  margin: 0 auto;
}
.hero {
  display: grid;
  gap: var(--s5);
  align-items: center;
}
@media (min-width: 880px) {
  .page {
    padding-block: 89px var(--s6);
  }
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--s6);
  }
}

.copy {
  min-width: 0;
}
.wordmark {
  margin: 0;
  font-size: 55px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.dot {
  color: #ee6975;
}
.tagline {
  margin: var(--s3) 0 0;
  font-size: 26px;
  line-height: 1.25;
  text-wrap: balance;
}
.lede {
  max-width: 34ch;
  margin: var(--s4) 0 0;
  color: var(--ink-2);
  text-wrap: pretty;
}

.benefits {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: var(--s3);
  padding: var(--s4) 0 0;
  margin: var(--s5) 0 0;
  list-style: none;
  border-top: 1px solid var(--hair);
}
/* Subgrid keeps the label column one width across all three lines. */
.benefits li {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: span 2;
  gap: var(--s3);
  align-items: baseline;
  text-wrap: pretty;
}
.label {
  font: 500 12.5px / 1.5 var(--mono);
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.actions {
  margin: var(--s5) 0 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11em;
  min-height: var(--tap);
  padding: 0 var(--s4);
  font-size: 17px;
  font-weight: 500;
  color: var(--bg);
  text-decoration: none;
  background: var(--ink);
  border-radius: var(--r2);
  transition: transform 0.16s ease;
}
.button:active {
  transform: scale(0.97);
}
.button:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
@media (hover: hover) {
  .button:hover {
    opacity: 0.9;
  }
}
.quiet {
  margin: var(--s3) 0 0;
  font-size: 15px;
  color: var(--ink-3);
}

.canvas {
  min-width: 0;
  margin: 0;
  color: var(--canvas-line);
}
.canvas svg {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
}
.axisLabel {
  font: 500 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  fill: var(--ink-3);
}
.caption {
  max-width: 44ch;
  margin: var(--s3) auto 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-3);
  text-align: center;
  text-wrap: pretty;
}
@media (min-width: 880px) {
  .caption {
    margin-inline: 0;
    text-align: left;
  }
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 61rem;
  padding: var(--s3) var(--s4) max(var(--s4), env(safe-area-inset-bottom));
  margin: 0 auto;
  font: 400 12.5px / 1.5 var(--mono);
  color: var(--ink-3);
  border-top: 1px solid var(--hair);
}
.footer a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--ink-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
