/* Deck and landing-page theme: fonts, the look's color variables, and the
   layout every look shares. Font and palette licenses sit under vendor/.
   Every font is served from this directory; no page contacts a font service. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(vendor/inter-5.3.0/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(vendor/inter-5.3.0/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(vendor/jetbrains-mono-5.3.0/jetbrains-mono-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- look ---------- */

/* The default look, "paper": a light editorial page with a dark terminal.
   Page colors are original; the link blue, red, purple, and muted gray are
   Catppuccin Latte (MIT, notice in vendor/palettes/catppuccin/). The
   terminal colors are original, saturated for projection (pastels wash out
   on a beamer): every text color keeps at least 5.5:1 contrast on the
   terminal background, and dim text renders at 0.72 opacity instead of the
   player's 0.5. Another look, such as a conference's, is a
   stylesheet overriding these variables under :root[data-theme="<name>"]
   (see README.md, Looks). */
:root {
  --bg: #f6f5f1;
  --bg-raised: #ffffff;
  --bg-sunken: #ecebe6;
  --fg: #16161d;
  --fg-soft: #3a3a45;
  --muted: #6c6f85;
  --rule: #d9d7cf;
  --accent: #1f7a3a;
  --accent-2: #1e66f5;
  --accent-3: #8839ef;
  --stop: #d20f39;
  --warn: #b86e00;
  --on-accent: #ffffff;
  --glow: rgba(31, 122, 58, 0.06);
  --term-bg: #16161d;
  --term-fg: #e6e6ea;
  --t0: #3b3b47; --t1: #ff5a5f; --t2: #3ddc84; --t3: #ffcc33;
  --t4: #5aa9ff; --t5: #e070f0; --t6: #2fd5d5; --t7: #d6d6dc;
  --t8: #8b8f9c; --t9: #ff7b7f; --t10: #5cf29a; --t11: #ffd966;
  --t12: #7fbcff; --t13: #ec8cf7; --t14: #5fe3e3; --t15: #ffffff;
}

:root {
  --sans: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono Variable", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

/* ---------- slides ---------- */

html,
body,
.reveal-viewport {
  background: var(--bg);
}

.reveal {
  font-family: var(--sans);
  font-size: 34px;
  font-weight: 420;
  color: var(--fg);
}

.reveal .slides {
  text-align: left;
}

.reveal .slides section {
  padding: 8px 40px;
  box-sizing: border-box;
}

.reveal h1,
.reveal h2,
.reveal h3 {
  font-family: var(--sans);
  color: var(--fg);
  text-transform: none;
  text-shadow: none;
  margin: 0 0 0.45em;
}

.reveal h1 {
  font-size: 3.1em;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.reveal h2 {
  font-size: 1.75em;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 21em;
}

.reveal h3 {
  font-family: var(--mono);
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7em;
}

.reveal p,
.reveal li {
  line-height: 1.38;
}

.reveal strong {
  font-weight: 700;
  color: var(--fg);
}

.reveal ul,
.reveal ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reveal ul > li,
.reveal ol > li {
  position: relative;
  padding-left: 1.2em;
}

.reveal ul > li + li,
.reveal ol > li + li {
  margin-top: 0.45em;
}

.reveal ul > li::before {
  content: "›";
  position: absolute;
  left: 0.15em;
  top: -0.02em;
  font-weight: 700;
  color: var(--accent);
}

.reveal ol {
  counter-reset: step;
}

.reveal ol > li {
  counter-increment: step;
  padding-left: 1.6em;
}

.reveal ol > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.18em;
  font-family: var(--mono);
  font-size: 0.7em;
  font-weight: 600;
  color: var(--accent);
}

.reveal a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-2) 35%, transparent);
}

.reveal code {
  font-family: var(--mono);
  font-size: 0.82em;
  font-weight: 500;
  color: var(--accent);
  background: var(--bg-sunken);
  border: 1px solid var(--rule);
  padding: 0.04em 0.32em;
  border-radius: 6px;
}

.reveal blockquote {
  width: auto;
  margin: 0.4em 0 0.8em;
  padding: 0.7em 1em;
  border-left: 6px solid var(--stop);
  border-radius: 0 12px 12px 0;
  background: var(--bg-raised);
  box-shadow: none;
  font-style: normal;
  font-size: 0.82em;
  color: var(--fg-soft);
}

/* The theorem: one italic sentence, alone on a hero slide, with the
   kicker held at the top left where the content slides keep it. */
.reveal .slides section.hero > .kicker {
  position: absolute;
  top: 56px;
  left: 40px;
  margin: 0;
}

/* The closing line, near the theorem's size rather than the title's. */
.reveal h1.closing {
  font-size: 1.8em;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.3em;
}

.reveal h1.statement {
  font-size: 1.6em;
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0;
}

.reveal h1.statement + .lede.dim {
  margin: 0.7em 0 0;
  font-size: 0.85em;
  font-style: italic;
  color: var(--muted);
}

.reveal img {
  max-width: 100%;
  max-height: 520px;
  margin: 0;
  border-radius: 10px;
}

.reveal .kicker {
  font-family: var(--mono);
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1em;
}

.reveal .kicker::before {
  content: "// ";
  color: var(--muted);
}

.reveal .lede {
  font-size: 1.05em;
  color: var(--fg-soft);
  max-width: 28em;
}

.reveal .small {
  font-size: 0.6em;
  color: var(--muted);
}

/* A section with a source line takes the full slide height, so the line
   sits at the slide's foot, at the legal text's offset. */
.reveal .slides section:has(> .source) {
  min-height: 100%;
}

.reveal .source {
  position: absolute;
  bottom: 36px;
  left: 40px;
  font-family: var(--mono);
  font-size: 0.4em;
  color: var(--muted);
}

.reveal .todo {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.45em;
  font-weight: 600;
  color: var(--warn);
  border: 1px dashed var(--warn);
  border-radius: 6px;
  padding: 0.15em 0.6em;
}

/* A figure slide is a column: the kicker and heading at the top, the image
   centered in whatever height remains. */
.reveal .slides section.figure {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

.reveal .figure .kicker,
.reveal .figure h2 {
  text-align: left;
}

/* Content slides (a figure, a demo, or a list under a heading) share one
   heading size, so the headings read as one series across the deck. */
.reveal .figure h2,
.reveal section.demo h2,
.reveal section.content h2 {
  font-size: 1.3em;
  max-width: none;
  margin: 0 0 0.4em;
}

/* Each figure image is capped so that every figure renders at one scale: the
   cap over the figure's exported height is the same fraction for each. The
   deck's figure suite pins the caps to the figures. */
.reveal .figure img {
  margin: auto;
  max-height: 540px;
}

.reveal #memory img {
  max-height: 376px;
}

.reveal #seat img {
  max-height: 442px;
}

/* A content slide is one idea under a kicker, with air above it: a short
   list, a pair table, or two columns. */
.reveal .slides section.content {
  padding-top: 56px;
}

.reveal .pains li.done {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.reveal .pains li.done::before {
  color: var(--muted);
}

/* What you get: the complaints in the order the team works, one click
   each: the complaint appears, the next click swaps it for its owner in
   place, then the next complaint appears. */
.reveal .addressed {
  font-size: 0.85em;
}

.reveal .addressed ul > li {
  display: grid;
  min-height: 1.4em;
}

.reveal .addressed ul > li > span {
  grid-area: 1 / 1;
}

.reveal .addressed ul > li + li {
  margin-top: 0.35em;
}

.reveal .addressed ul > li::before {
  opacity: 0;
  transition: opacity 0.2s ease, color 0.35s ease;
}

.reveal .addressed li:has(.problem.visible)::before,
.reveal .addressed li:has(.owner.visible)::before {
  opacity: 1;
}

.reveal .slides section .addressed .problem {
  color: var(--stop);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal .slides section .addressed li:has(.owner.visible) .problem {
  opacity: 0;
  transform: translateY(-0.6em);
}

.reveal .addressed .owner,
.reveal .addressed .owner strong {
  color: var(--fg);
  font-weight: 600;
}

.reveal .addressed .owner .small {
  font-weight: 420;
}

/* A heading that swaps in place on its last fragment. */
.reveal h2.swap {
  display: grid;
}

.reveal h2.swap > span {
  grid-area: 1 / 1;
}

.reveal h2.swap .before {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal .slides section h2.swap:has(.after.visible) .before {
  opacity: 0;
  transform: translateY(-0.6em);
}

/* The written slide: excerpts from the demo run's memory files, quoted
   unedited, in the memory figure's two bands. The short-term band's card
   is sunken and dashed: it is the part that gets cleared. */
.reveal .bands {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 26px;
  align-items: start;
}

.reveal .bandlabel {
  font-family: var(--mono);
  font-size: 0.42em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.9em;
}

.reveal .bandlabel code {
  text-transform: none;
  font-size: 1em;
}

.reveal .excerpts {
  display: grid;
  gap: 16px;
  font-size: 0.53em;
}

.reveal .excerpts.pair {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  font-size: 0.6em;
}

.reveal .excerpts.pair strong {
  color: var(--fg);
}

.reveal .excerpts > .yours {
  border: 2px solid var(--accent);
}

.reveal .step {
  position: relative;
  padding-left: 1.2em;
  font-size: 0.85em;
  color: var(--fg-soft);
  margin: 0 0 0.45em;
}

.reveal .step::before {
  content: "\203A";
  position: absolute;
  left: 0.15em;
  top: -0.02em;
  font-weight: 700;
  color: var(--accent);
}

.reveal .step strong {
  color: var(--accent);
}

.reveal .excerpts.pair + .step,
.reveal div + .step {
  margin-top: 0.8em;
}

.reveal .facts {
  font-size: 0.85em;
}

.reveal .facts > li + li {
  margin-top: 0.35em;
}

.reveal .facts + div > table.pairs {
  margin-top: 0.9em;
  font-size: 0.75em;
}

.reveal .excerpts > div {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 16px 22px;
  color: var(--fg-soft);
}

.reveal .band.short .excerpts > div {
  background: var(--bg-sunken);
  border-style: dashed;
}

.reveal .excerpts p {
  margin: 0;
}

.reveal .excerpts p + p {
  margin-top: 0.5em;
}

.reveal .excerpts .file {
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--accent);
  margin-bottom: 0.6em;
}

.reveal .excerpts .done {
  color: var(--muted);
}

/* An ellipsis line above and below each excerpt: quoted from the middle
   of a longer file. */
.reveal .excerpts .file + p::before,
.reveal .excerpts > div::after {
  content: "\2026";
  display: block;
  color: var(--muted);
  line-height: 1;
}

.reveal .excerpts .file + p::before {
  margin-bottom: 0.45em;
}

.reveal .excerpts > div::after {
  margin-top: 0.55em;
}

.reveal .excerpts code {
  font-size: 0.92em;
}

/* The open-closed columns: each item's explanation on its own line. */
.reveal .columns li .small {
  display: block;
  margin-top: 0.05em;
}

.reveal .columns li + li {
  margin-top: 0.55em;
}

/* The seat slide: the open-closed columns' two cards, the narrow one a list
   naming each seat, the wide one the renders of one figure swapped in
   place. The card, not the height cap, sets this figure's size. */
.reveal .columns.seats {
  grid-template-columns: 386px minmax(0, 1fr);
  gap: 20px;
}

/* The list's card is as narrow as its text allows: the side padding shrinks,
   the text keeps the width it wraps at. */
.reveal .columns.seats > div:first-child {
  padding-left: 18px;
  padding-right: 14px;
}

/* The figure's card keeps its padding and loses its plate, so the figure
   sits on the slide's paper beside the list's card. */
.reveal .columns.seats > div:last-child {
  padding-left: 8px;
  padding-right: 0;
  background: none;
  border-color: transparent;
}

.reveal .columns.seats .renders {
  margin-top: 1.1em;
}

.reveal .columns.seats .renders img {
  max-width: 100%;
  margin: 0;
}

/* The build slides: the repository tree growing on the left, the five
   pains struck on the right as each step removes one. */
.reveal .build {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.reveal pre.tree {
  margin: 0;
  width: auto;
  box-shadow: none;
  font-family: var(--mono);
  font-size: 0.5em;
  line-height: 1.55;
  white-space: pre;
  color: var(--fg-soft);
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px 28px;
}

.reveal pre.tree .new {
  color: var(--accent);
  font-weight: 600;
}

.reveal pre.tree .why {
  color: var(--muted);
}

.reveal .build .pains {
  font-size: 0.85em;
}

/* The list's first line names the human's seat at this step, as the seat
   slide named it; the accent and the weight set it apart from the pains. */
.reveal .pains li.seat {
  margin-bottom: 0.5em;
  font-weight: 700;
  color: var(--accent);
}

/* The pair table: the results' first-to-latest cells. Rules only between
   rows; no chrome. */
.reveal table.pairs {
  border-collapse: collapse;
  margin: 0.2em 0 0;
  font-size: 0.85em;
}

.reveal table.pairs th,
.reveal table.pairs td {
  text-align: left;
  padding: 0.38em 2.2em 0.38em 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.reveal table.pairs th {
  font-family: var(--mono);
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.reveal table.pairs td:last-child {
  color: var(--accent);
  font-weight: 600;
}

.reveal .columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  font-size: 0.85em;
}

.reveal .columns > div {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 26px 30px;
}

.reveal .stat {
  font-size: 2.6em;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin: 0.1em 0 0.15em;
}

.reveal .stat + p {
  margin: 0;
  font-size: 0.72em;
  color: var(--muted);
}

/* The title slide's byline sits at the foot of the slide, apart from the
   centered title block. */
.reveal .byline {
  position: absolute;
  left: 40px;
  bottom: 36px;
  margin: 0;
}

/* Title and closing slides: vertically centered over a dot grid, with a
   terminal-prompt line above the title. */
.reveal .slides section.hero {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  background:
    radial-gradient(circle at 85% 20%, var(--glow), transparent 45%),
    radial-gradient(var(--rule) 1px, transparent 1.5px) 0 0 / 28px 28px;
}

/* The title, about, and closing blocks sit on the golden section: the free
   space above and below each splits 38.2 : 61.8 instead of centering. */
.reveal .slides section#title,
.reveal .slides section#about,
.reveal .slides section#legal {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.reveal .slides section#title::before,
.reveal .slides section#about::before,
.reveal .slides section#legal::before {
  content: "";
  flex: 38.2;
}

.reveal .slides section#title::after,
.reveal .slides section#about::after,
.reveal .slides section#legal::after {
  content: "";
  flex: 61.8;
}

/* The title slide's headline and subtitle each stay on one line. */
.reveal section#title .lede {
  max-width: none;
  white-space: nowrap;
  font-size: 0.85em;
}

.reveal section#title h1 {
  font-size: 2em;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.reveal .prompt {
  font-family: var(--mono);
  font-size: 0.6em;
  color: var(--muted);
  margin: 0 0 1.4em;
}

.reveal .prompt b {
  color: var(--accent);
  font-weight: 600;
}

.reveal .prompt .cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.05em;
  vertical-align: -0.2em;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* The closing slide pairs the thanks with a scan code to the repository,
   matching the link beside it. The code is a static SVG, dark on white with its quiet zone, so any camera
   reads it; see README.md, Scan code. */
.reveal .thanks .lede {
  font-size: 0.85em;
  margin: 0.2em 0 0.6em;
}

.reveal .thanks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  /* Centered in the hero; the bottom margin lifts it clear of the legal text. */
  margin-bottom: 150px;
}

.reveal .thanks .qr {
  width: 220px;
  height: 220px;
  max-height: none;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--rule);
  image-rendering: pixelated;
}

/* The closing slide's fine print sits at the foot of the slide, like the
   title slide's byline. */
.reveal .legal {
  position: absolute;
  left: 40px;
  bottom: 36px;
  margin: 0;
  max-width: 46em;
  font-size: 0.48em;
  line-height: 1.5;
  color: var(--muted);
}

.reveal .legal p {
  margin: 0 0 0.6em;
}

.reveal .about {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}

/* The about slide's list of encoded preferences, quieter than the lede. */

.reveal .about .encoded {
  margin-top: 0.9em;
  font-size: 0.9em;
}

/* The two beliefs on AI stand apart from the four on craft. */

.reveal .about .beliefs {
  margin-top: 1.6em;
}

.reveal .avatar {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px var(--bg-raised), 0 0 0 8px var(--accent);
}

.reveal .avatar::before {
  content: attr(data-initials);
  font-size: 3.4em;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--on-accent);
}

.reveal .avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}

.reveal .progress {
  height: 4px;
  color: var(--accent);
  background: transparent;
}

.reveal .controls {
  color: var(--muted);
}

.reveal .slide-number {
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
  right: 18px;
  bottom: 14px;
}

/* ---------- terminal slot ---------- */

/* A demo slide gives the terminal nearly the whole slide: the heading takes
   the content-slide size and the caption stays one line, so the recorded
   90x24 grid renders large. */
.reveal .slides section.demo {
  padding: 0;
}

.term {
  position: relative;
  width: 100%;
  height: 600px;
  background: var(--term-bg);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.term .ap-wrapper,
.term .ap-player {
  height: 100%;
}

.term-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--term-fg);
}

.term-caption {
  margin-top: 0.45em;
  font-family: var(--mono);
  font-size: 0.4em;
  color: var(--muted);
}

.asciinema-player-theme-deck {
  --term-color-foreground: var(--term-fg);
  --term-color-background: var(--term-bg);
  --term-color-0: var(--t0);
  --term-color-1: var(--t1);
  --term-color-2: var(--t2);
  --term-color-3: var(--t3);
  --term-color-4: var(--t4);
  --term-color-5: var(--t5);
  --term-color-6: var(--t6);
  --term-color-7: var(--t7);
  --term-color-8: var(--t8);
  --term-color-9: var(--t9);
  --term-color-10: var(--t10);
  --term-color-11: var(--t11);
  --term-color-12: var(--t12);
  --term-color-13: var(--t13);
  --term-color-14: var(--t14);
  --term-color-15: var(--t15);
  --term-font-family: var(--mono);
}

.asciinema-player-theme-deck pre.ap-term-text .ap-faint {
  opacity: 0.72;
}

/* ---------- landing page ---------- */

.landing {
  margin: 0;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

.landing main {
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 16px 64px;
}

.landing .prompt {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--muted);
  margin: 0 0 1em;
}

.landing .prompt b {
  color: var(--accent);
  font-weight: 600;
}

.landing h1 {
  font-size: clamp(2.4em, 7vw, 4.2em);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 0.35em;
}

.landing h2 {
  font-family: var(--mono);
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 3em 0 1em;
}

.landing h2::before {
  content: "// ";
  color: var(--muted);
}

.landing .lede {
  font-size: 1.2em;
  color: var(--fg-soft);
  max-width: 36em;
}

.landing a {
  color: var(--accent-2);
}

.landing .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.landing .card {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.landing .card h3 {
  margin: 0;
  font-size: 1.25em;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.landing .card p {
  margin: 0;
  color: var(--fg-soft);
}

.landing .card .meta {
  font-family: var(--mono);
  font-size: 0.78em;
  color: var(--muted);
}

.landing main > .meta {
  margin-top: 2.5em;
  font-family: var(--mono);
  font-size: 0.78em;
  color: var(--muted);
}

.landing .card .actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
}

.landing .button {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
}

.landing .button.icon {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
}

.landing .button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.landing table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92em;
}

.landing th,
.landing td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.landing th {
  font-family: var(--mono);
  font-size: 0.8em;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.landing code,
.landing kbd {
  font-family: var(--mono);
  font-size: 0.85em;
}

.landing kbd {
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 0 6px;
  background: var(--bg-raised);
}

.landing footer {
  margin-top: 4em;
  padding-top: 1.2em;
  border-top: 1px solid var(--rule);
  font-size: 0.85em;
  color: var(--muted);
}
