/*
 * The landing page's one stylesheet (docs/design/ui/landing.md U16): the console's values — black on white, Geist —
 * written by hand, because this page ships no script and no framework. Light only; a narrow screen stacks.
 */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --ground: #ffffff;
  --tint: #fafafa;
  --well: #f5f5f5;
  --line: #e5e5e5;
  --soft: #525252;
  --softer: #737373;
  --on-dark: #fafafa;
  --on-dark-soft: #d4d4d4;
  --on-dark-softer: #a1a1a1;
  --dark-line: #262626;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--soft); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; }
code, pre { font-family: var(--mono); }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.band { background: var(--tint); border-top: 1px solid var(--line); }
.rule { border-top: 1px solid var(--line); }
.section { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 44px; }
.muted { color: var(--softer); }
.small { font-size: 14px; color: var(--softer); }
.note { font-size: 14px; color: var(--softer); }

/* Top of page */
.top { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); }
.small-mark { width: 24px; height: 24px; border-radius: 7px; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.top-nav { display: flex; flex-wrap: wrap; gap: 0 24px; flex-grow: 1; font-size: 14px; }
.top-nav a, .foot-nav a { text-decoration: none; color: var(--soft); padding: 12px 0; }
.top-nav a:hover, .foot-nav a:hover { color: var(--ink); }
.plain { font-size: 14px; font-weight: 500; text-decoration: none; padding: 12px 8px; }
.button { display: inline-block; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ground); background: var(--ink); border: 1px solid var(--ink); border-radius: 8px; padding: 11px 16px; }
.button:hover { color: var(--ground); background: #262626; }
.button.large { font-size: 15px; padding: 12px 20px; }
.button.outline { color: var(--ink); background: var(--ground); border-color: var(--line); }
.button.outline:hover { color: var(--ink); background: var(--tint); }

.hero { padding-top: 64px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; max-width: 900px; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4rem); line-height: 1.03; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
.lead { font-size: 19px; color: var(--soft); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

.pair { display: flex; flex-wrap: wrap; gap: 16px; }
.board { flex: 3 1 480px; min-width: 0; background: var(--ink); color: var(--on-dark); border-radius: 16px; padding: 28px 30px; display: flex; flex-direction: column; gap: 6px; }
.board-title { margin-bottom: 10px; font-size: 13px; color: var(--on-dark-softer); }
.pointer { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--dark-line); }
.pointer-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; min-width: 132px; }
.pointer-version { font-size: 17px; }
.pointer-who { font-size: 13px; color: var(--on-dark-softer); flex-grow: 1; text-align: right; }
.chip { display: flex; align-items: center; justify-content: center; width: 28px; height: 20px; border-radius: 6px; background: var(--on-dark); }
.tag { font-size: 12px; font-weight: 500; color: var(--ink); background: var(--on-dark); border-radius: 6px; padding: 2px 8px; }
.board-note { margin-top: 6px; font-size: 14px; color: var(--on-dark-soft); }

.card { flex: 1 1 340px; min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.pair .card { flex: 2 1 340px; border-radius: 16px; }
.card.tinted { background: var(--tint); }
.card.white { background: var(--ground); }
.card.strong { border-color: var(--ink); }
.card-title { font-size: 16px; font-weight: 600; }
.card-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; justify-content: space-between; }
.card ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--soft); }
.card h3 { font-size: 17px; font-weight: 600; }
.commands { font-size: 13px; line-height: 2; overflow-x: auto; white-space: pre; }
.prompt { color: var(--softer); }

.eyebrow { font-size: 14px; font-weight: 500; color: var(--soft); }
.install { font-size: 14px; background: var(--well); border-radius: 8px; padding: 12px 14px; white-space: nowrap; overflow-x: auto; max-width: 100%; }
.dim { color: var(--on-dark-softer); }

/* Sections */
.heading { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
.heading p { font-size: 18px; color: var(--soft); }
.three { display: flex; flex-wrap: wrap; gap: 32px; }
.three > div { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.three h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.three p { color: var(--soft); }
.two { display: flex; flex-wrap: wrap; gap: 20px; }
.two > * { flex: 1 1 380px; min-width: 0; }
.two.stretch { align-items: stretch; }

.figure { display: flex; flex-direction: column; gap: 12px; }
.figure figcaption { font-size: 14px; color: var(--softer); }
.shot { width: 100%; border: 1px solid var(--line); border-radius: 14px; }
.shot.lifted { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06); }
.code { background: var(--ground); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; font-size: 13px; line-height: 1.7; overflow-x: auto; white-space: pre; }
.figure figcaption code { font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.grid .card { gap: 8px; padding: 22px; }
.grid .card p { color: var(--soft); font-size: 15px; }
.two.center { align-items: center; }
.output { background: var(--ink); color: var(--on-dark); border-radius: 14px; padding: 22px 24px; font-size: 13px; line-height: 1.7; overflow-x: auto; white-space: pre; }

.table-wrap { overflow-x: auto; background: var(--ground); border: 1px solid var(--line); border-radius: 14px; }
/* On a narrow screen the table keeps its shape and its box scrolls sideways; squeezed columns read worse. */
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 13px 18px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font-size: 13px; font-weight: 500; color: var(--softer); white-space: nowrap; }
tbody th { font-weight: 600; white-space: nowrap; }
td { color: var(--soft); }
td code, th code, .heading code { font-size: 13px; background: var(--well); border-radius: 5px; padding: 2px 6px; color: var(--ink); }
.yes { color: var(--ink); font-weight: 600; }
.section > .heading + .table-wrap { margin-top: -16px; }
.section > .table-wrap + .small { margin-top: -28px; }

.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; }
.step { flex: 1 1 220px; min-width: 0; background: var(--ground); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step h3 { font-size: 17px; font-weight: 600; }
.step p { font-size: 15px; color: var(--soft); }
.step-where { font-size: 12px; font-weight: 500; color: var(--soft); }
.step.dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.step.dark p { color: var(--on-dark-soft); }
.step.dark .step-where { color: var(--on-dark-softer); }
.inline { font-size: 12px; background: var(--well); border-radius: 6px; padding: 6px 8px; overflow-x: auto; white-space: nowrap; }
.step.dark .inline { background: var(--dark-line); }

.plan { gap: 18px; padding: 28px; }
.plan ul { flex-grow: 1; }
.plan strong { color: var(--ink); font-weight: 600; }
.plan .button { align-self: flex-start; }
.price { margin-top: 4px; }
.amount { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.pill { font-size: 12px; font-weight: 500; border: 1px solid #d4d4d4; border-radius: 999px; padding: 2px 10px; }

.foot { padding-top: 40px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 24px; flex-grow: 1; font-size: 14px; }
.notfound { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; gap: 36px; }
  .hero { padding-top: 40px; padding-bottom: 64px; gap: 36px; }
  .board { padding: 22px 20px; }
  .pointer-name { min-width: 0; flex-basis: 100%; }
  .pointer-who { text-align: left; flex-basis: 100%; }
  .lead { font-size: 17px; }
  /* The two links that only jump within the page give way, so the menu stays on one line. */
  .wide-only { display: none; }
}
