/* gitbiz.sh: a minute book on paper. Paper, blue ink, a red seal. */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f3eee3;
  --paper-2: #ebe4d6;
  --paper-3: #e2d9c7;
  --ink: #1c2836;
  --ink-2: #46515f;
  --dim: #7a828c;
  --line: rgba(28, 40, 54, 0.13);
  --line-2: rgba(28, 40, 54, 0.26);
  --seal: #d8462c;
  --seal-hi: #e85a40;
  --seal-dk: #f06a4e;
  --add: #2f6b4f;
  --night: #1c2836;
  --font: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --r: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.55 var(--font); letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
/* the paper's faint ruling, on the whole page */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: repeating-linear-gradient(180deg, transparent 0 31px, rgba(28, 40, 54, 0.035) 31px 32px);
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); font-variant-ligatures: none; }

/* ---------- type ---------- */
.display { font-weight: 460; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.012em; text-wrap: balance; }
.h2 { font-weight: 470; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -0.008em; text-wrap: balance; }
.lede { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 0.8125rem; font-weight: 520; color: var(--ink-2); white-space: nowrap;
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--seal); }

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 520; font-size: 0.9875rem; border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.pill:active { transform: translateY(1px); }
.pill-ink { background: var(--ink); color: var(--paper); }
.pill-ink:hover { background: #2a3a4d; }
.pill-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.pill-ghost:hover { border-color: var(--ink); }
.pill-sm { height: 38px; padding: 0 16px; font-size: 0.875rem; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(243, 238, 227, 0.86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { height: 68px; display: flex; align-items: center; gap: 24px; width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 560; font-size: 1.1875rem; letter-spacing: 0.005em; }
.glyph { width: 24px; height: 24px; flex: none; }
.topnav { display: flex; gap: 2px; margin-inline: auto; }
.topnav a { padding: 8px 14px; border-radius: 999px; font-size: 0.9375rem; color: var(--ink-2); transition: color 0.2s, background-color 0.2s; }
.topnav a:hover { color: var(--ink); background: rgba(28, 40, 54, 0.06); }
@media (max-width: 860px) { .topnav { display: none; } .top-cta { margin-left: auto; } }

/* ---------- hero: the living minute book ---------- */
.hero { position: relative; height: 300vh; }
.hero-stick { position: sticky; top: 68px; min-height: calc(100vh - 68px); display: grid; align-items: center; padding-block: 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .tag { margin-bottom: 22px; }
.hero-copy .lede { margin-top: 20px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 26px; font-size: 0.875rem; color: var(--dim); display: flex; gap: 10px; align-items: center; }
.hero-note .mono { color: var(--ink-2); white-space: nowrap; }
.scroll-hint { margin-top: 40px; font-size: 0.8125rem; color: var(--dim); display: inline-flex; align-items: center; gap: 8px; }
.scroll-hint::before { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--line-2), transparent); }

.book { position: relative; perspective: 1800px; }
.page {
  position: relative; background: #fbf8f1; border-radius: 6px 14px 14px 6px; padding: 26px 28px 30px 44px;
  box-shadow: 0 1px 0 rgba(28, 40, 54, 0.06), 0 24px 48px -24px rgba(28, 40, 54, 0.28), 0 2px 6px rgba(28, 40, 54, 0.06);
  min-height: 640px;
}
.page::before { /* the margin line of a minute book */
  content: ""; position: absolute; top: 0; bottom: 0; left: 30px; width: 1px; background: rgba(216, 70, 44, 0.35);
}
.page::after { /* pages under it */
  content: ""; position: absolute; inset: 6px -6px -6px 6px; border-radius: inherit; background: var(--paper-3); z-index: -1;
}
.page-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.page-head b { font-weight: 560; font-size: 0.9375rem; }
.page-head span { font-family: var(--mono); font-size: 0.75rem; color: var(--dim); }
.entries { display: flex; flex-direction: column; }
.entry { position: relative; padding: 12px 0 12px; border-bottom: 1px dashed var(--line); opacity: 0.12; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transform: translateY(6px); }
.entry.on { opacity: 1; transform: none; }
.entry .meta { font-family: var(--mono); font-size: 0.75rem; color: var(--dim); display: flex; gap: 10px; flex-wrap: wrap; }
.entry .meta .who { color: var(--ink-2); }
.entry .what { margin-top: 3px; font-size: 1rem; font-weight: 520; line-height: 1.4; }
.entry .why { margin-top: 2px; font-size: 0.9rem; color: var(--ink-2); }
.entry .ev { margin-top: 7px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; background: var(--paper-2); font-size: 0.75rem; color: var(--ink-2); font-family: var(--mono); }
.entry .ev::before { content: ""; width: 9px; height: 11px; border: 1.3px solid currentColor; border-radius: 2px; }
.entry .diff { margin-top: 6px; font-family: var(--mono); font-size: 0.8125rem; line-height: 1.5; }
.entry .diff del { display: block; text-decoration: line-through; text-decoration-color: var(--seal); color: var(--dim); background: rgba(216, 70, 44, 0.07); padding: 0 6px; border-radius: 4px; }
.entry .diff ins { display: block; text-decoration: none; color: var(--add); background: rgba(47, 107, 79, 0.09); padding: 0 6px; border-radius: 4px; margin-top: 2px; }
.entry .diff del::before { content: "− "; }
.entry .diff ins::before { content: "+ "; }
.seal {
  position: absolute; right: -6px; top: 6px; width: 62px; height: 62px; border-radius: 50%;
  border: 2px solid var(--seal); color: var(--seal); display: grid; place-items: center; text-align: center;
  font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.15;
  transform: rotate(-12deg) scale(1.8); opacity: 0; transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.2s;
  background: rgba(251, 248, 241, 0.7);
}
.seal::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid var(--seal); }
.entry.sealed .seal { transform: rotate(-12deg) scale(1); opacity: 0.92; }
.entry.sealed .meta, .entry.sealed .what { padding-right: 58px; }
.turn { /* the page that turns over, between page 1 and page 2 */
  position: absolute; inset: 0; border-radius: 6px 14px 14px 6px; background: linear-gradient(90deg, #f6f1e6, #fbf8f1 40%);
  transform-origin: left center; transform: rotateY(0deg); backface-visibility: hidden; pointer-events: none; opacity: 0;
  box-shadow: 0 10px 30px -10px rgba(28, 40, 54, 0.25);
}
.page[data-page="2"] .p1, .page[data-page="1"] .p2 { display: none; }
.pager { display: flex; justify-content: space-between; margin-top: 14px; font-family: var(--mono); font-size: 0.75rem; color: var(--dim); }

@media (max-width: 900px) {
  .hero { height: auto; }
  .hero-stick { position: relative; top: 0; min-height: 0; padding-block: 40px 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
  .entry { opacity: 1; transform: none; }
  .page { padding: 22px 18px 24px 34px; min-height: 0; }
  .page::before { left: 22px; }
  .seal { width: 48px; height: 48px; right: -8px; top: 2px; font-size: 0.5rem; }
  .entry.sealed .what, .entry.sealed .meta { padding-right: 40px; }
}

/* ---------- sections ---------- */
section.sec { padding-block: clamp(80px, 11vw, 140px); }
.sec-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head .tag { margin-bottom: 20px; }
.sec-head .lede { margin-top: 16px; }
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rv.in, .no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* everyday cases */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case { background: #fbf8f1; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.case .q { font-size: 1.125rem; font-weight: 520; line-height: 1.35; }
.case .q::before { content: "“"; color: var(--seal); margin-right: 2px; }
.case .q::after { content: "”"; color: var(--seal); }
.case .who { font-size: 0.8125rem; color: var(--dim); }
.case .ans { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); font-family: var(--mono); font-size: 0.8rem; line-height: 1.55; color: var(--ink-2); }
.case .ans b { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cases { grid-template-columns: 1fr; } }

/* see it work: ask the record */
.work { background: var(--night); color: var(--paper); border-radius: 20px; padding: clamp(28px, 4.4vw, 56px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); }
.work .tag { border-color: rgba(243, 238, 227, 0.3); color: rgba(243, 238, 227, 0.8); }
.work .tag .dot { background: var(--seal-dk); }
.work .h2 { margin-top: 20px; }
.work .lede { color: rgba(243, 238, 227, 0.74); margin-top: 14px; }
.asks { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.ask {
  text-align: left; background: rgba(243, 238, 227, 0.06); border: 1px solid rgba(243, 238, 227, 0.14); color: var(--paper);
  border-radius: 12px; padding: 12px 16px; cursor: pointer; font-size: 0.9375rem; transition: background-color 0.2s, border-color 0.2s;
}
.ask:hover { background: rgba(243, 238, 227, 0.1); }
.ask[aria-pressed="true"] { border-color: var(--seal-dk); background: rgba(240, 106, 78, 0.12); }
.console { background: #fbf8f1; color: var(--ink); border-radius: 14px; padding: 22px 22px 24px; min-height: 360px; display: flex; flex-direction: column; gap: 14px; }
.console .you { align-self: flex-end; max-width: 88%; background: var(--paper-2); padding: 10px 14px; border-radius: 14px 14px 4px 14px; font-size: 0.9375rem; }
.console .ans { font-size: 0.9375rem; line-height: 1.5; }
.console .rec { border: 1px solid var(--line); border-left: 3px solid var(--seal); border-radius: 8px; padding: 12px 14px; background: #fff; }
.console .rec .meta { font-family: var(--mono); font-size: 0.75rem; color: var(--dim); }
.console .rec .what { margin-top: 3px; font-weight: 520; }
.console .rec .why { margin-top: 2px; color: var(--ink-2); font-size: 0.9rem; }
.console .rec .ev { margin-top: 6px; display: inline-block; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-2); background: var(--paper-2); padding: 2px 8px; border-radius: 5px; }
.console .rec.revert { border-left-color: var(--add); }
.console .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.console .typing { display: inline-flex; gap: 4px; padding: 6px 2px; }
.console .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); animation: dots 1.1s infinite ease-in-out; }
.console .typing i:nth-child(2) { animation-delay: 0.15s; } .console .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 0%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@media (max-width: 900px) { .work { grid-template-columns: 1fr; } }

/* capabilities */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.cap { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--line); }
.cap:not(:nth-child(3n + 1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.cap .n { font-family: var(--mono); font-size: 0.75rem; color: var(--seal); }
.cap h3 { margin-top: 10px; font-size: 1.125rem; font-weight: 540; }
.cap p { margin-top: 6px; color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 900px) {
  .caps { grid-template-columns: 1fr 1fr; }
  .cap, .cap:not(:nth-child(3n + 1)) { padding: 22px 18px 24px 0; border-left: 0; }
  .cap:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } .cap:nth-child(2n) { padding-left: 0; border-left: 0; } }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { padding: 26px; border-radius: var(--r); background: var(--paper-2); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 0.8125rem; color: var(--seal); }
.step h3 { margin-top: 12px; font-size: 1.1875rem; font-weight: 540; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.billing { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 28px; border-radius: 999px; border: 1px solid var(--line-2); }
.billing button { height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font-size: 0.875rem; font-weight: 520; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.billing button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.billing .save { font-size: 0.75rem; color: var(--seal); }
.billing button[aria-checked="true"] .save { color: var(--seal-dk); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { background: #fbf8f1; border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.plan.mid { border-color: var(--ink); box-shadow: 0 18px 40px -26px rgba(28, 40, 54, 0.45); }
.plan h3 { font-size: 1rem; font-weight: 560; display: flex; align-items: center; gap: 8px; }
.plan .pop { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--seal); }
.plan .for { margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; min-height: 3em; }
.price { margin-top: 18px; font-size: clamp(2.4rem, 3.6vw, 3rem); font-weight: 470; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.price .cur { font-size: 0.36em; color: var(--ink-2); vertical-align: 0.95em; margin-right: 4px; letter-spacing: 0; }
.price .per { font-size: 0.32em; color: var(--ink-2); letter-spacing: 0; }
.bill-note { margin-top: 8px; font-size: 0.8125rem; color: var(--dim); }
.plan .feats { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.plan .feats li { position: relative; padding-left: 22px; font-size: 0.9375rem; }
.plan .feats li::before { content: ""; position: absolute; left: 1px; top: 0.42em; width: 10px; height: 6px; border-left: 1.6px solid var(--seal); border-bottom: 1.6px solid var(--seal); transform: rotate(-45deg); }
.plan .pill { margin-top: auto; }
.plan .feats { margin-bottom: 26px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan .for { min-height: 0; } }
.compare { margin-top: 32px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.compare summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-weight: 540; font-size: 1.0625rem; }
.compare summary::-webkit-details-marker { display: none; }
.pm { width: 14px; height: 14px; position: relative; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.6px; background: currentColor; transition: transform 0.25s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] > summary .pm::after { transform: rotate(0deg); }
.cmp-scroll { overflow-x: auto; padding-bottom: 22px; }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; }
.cmp caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cmp th, .cmp td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; font-weight: 400; }
.cmp thead th { font-weight: 560; }
.cmp tbody th { text-align: left; color: var(--ink-2); padding-left: 0; }
.cmp td { width: 18%; font-variant-numeric: tabular-nums; }
.cmp .grp th { padding-top: 24px; color: var(--dim); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 0; }
.yes { display: inline-block; width: 12px; height: 7px; border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(-45deg) translate(1px, -2px); }
.no { display: inline-block; width: 10px; height: 1.4px; background: var(--dim); vertical-align: middle; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin-top: 44px; }
.note h3 { font-size: 1rem; font-weight: 560; margin-bottom: 6px; }
.note p { color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 860px) { .notes { grid-template-columns: 1fr; } }
.price-final { margin-top: 26px; font-size: 0.8125rem; color: var(--dim); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 80px); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 520; font-size: 1.0625rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa p { padding: 0 40px 22px 0; color: var(--ink-2); }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* footer */
.foot { padding-top: clamp(96px, 12vw, 160px); }
.sign { text-align: center; max-width: 38rem; margin-inline: auto; }
.sign p { margin-top: 14px; color: var(--ink-2); font-size: 1.0625rem; }
.sign .ctas { justify-content: center; }
.ledger { margin: 56px auto 0; width: min(100%, 760px); display: flex; flex-direction: column; gap: 9px; }
.ledger i { display: block; height: 6px; border-radius: 3px; background: var(--ink); opacity: 0.09; }
.ledger i:last-child { background: var(--seal); opacity: 0.85; width: 46%; }
.foot-cols { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 32px; padding: 44px 0; margin-top: 56px; border-top: 1px solid var(--line-2); }
.foot-cols .brand { align-self: start; }
.foot-cols .tagline { margin-top: 12px; color: var(--ink-2); font-size: 0.9375rem; max-width: 22em; }
.foot-cols h3 { font-size: 0.8125rem; font-weight: 600; color: var(--dim); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.foot-cols li { padding: 3px 0; font-size: 0.9375rem; color: var(--ink-2); }
.foot-cols a:hover { color: var(--ink); }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 22px 0 40px; border-top: 1px solid var(--line); }
.lang { display: flex; gap: 6px; }
.lang a { height: 34px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 0.875rem; color: var(--ink-2); border: 1px solid var(--line-2); }
.lang a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.legal { font-size: 0.8125rem; color: var(--dim); }
@media (max-width: 860px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > :first-child { grid-column: 1 / -1; } }

/* 404 */
.lost { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 96px var(--gut); }
.lost .brand { position: absolute; top: 22px; left: var(--gut); }
.lost .code { font-family: var(--mono); color: var(--seal); font-size: 0.9375rem; margin-bottom: 18px; }
.lost h1 { font-weight: 470; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.1; max-width: 16em; text-wrap: balance; }
.lost .diff { margin: 22px auto 0; font-family: var(--mono); font-size: 0.875rem; text-align: left; }
.lost .diff del { display: block; color: var(--dim); text-decoration: line-through; text-decoration-color: var(--seal); }
.lost .diff ins { display: block; color: var(--add); text-decoration: none; }
.lost .ctas { justify-content: center; }

.no-js .entry { opacity: 1; transform: none; }

/* git verbs on the record's lines */
.verb { display: inline-block; font-family: var(--mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em; padding: 0 6px; border-radius: 4px; background: rgba(28, 40, 54, 0.08); color: var(--ink); }
.v-diff { background: rgba(47, 107, 79, 0.12); color: var(--add); }
.v-revert { background: rgba(28, 40, 54, 0.14); }
.v-blame { background: rgba(216, 70, 44, 0.1); color: var(--seal); }
.hash { font-family: var(--mono); font-size: 0.75rem; color: var(--dim); margin-left: 4px; }
.console .rec .meta .verb { margin-right: 2px; }

/* Git, for your business: the mapping */
.gmap { border-top: 1px solid var(--line-2); }
.ghead { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: 32px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.grow { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.gterm code { font-family: var(--mono); font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.gterm .gloss { display: block; margin-top: 4px; font-size: 0.875rem; color: var(--ink-2); }
.gdesc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.gdesc p { color: var(--ink-2); font-size: 0.9875rem; }
.gv { background: #fbf8f1; border: 1px solid var(--line); border-left: 2px solid rgba(216, 70, 44, 0.45); border-radius: 8px; padding: 10px 14px; font-family: var(--mono); font-size: 0.8125rem; line-height: 1.6; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.gv .hash { margin: 0 6px 0 0; }
.gv b { font-weight: 600; }
.gv .gwho { display: block; color: var(--dim); font-size: 0.75rem; }
.gv-diff del { display: block; text-decoration: line-through; text-decoration-color: var(--seal); color: var(--dim); background: rgba(216, 70, 44, 0.07); padding: 0 6px; border-radius: 4px; }
.gv-diff ins { display: block; text-decoration: none; color: var(--add); background: rgba(47, 107, 79, 0.09); padding: 0 6px; border-radius: 4px; margin-top: 3px; }
.gv-diff del::before { content: "− "; } .gv-diff ins::before { content: "+ "; }
.gv-blame .bl { display: block; font-weight: 600; }
.gv-blame .bn { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 4px; background: rgba(216, 70, 44, 0.08); color: var(--seal); font-size: 0.75rem; }
.gv-blame .bn::before { content: "↳ "; }
.gv .struck { text-decoration: line-through; text-decoration-color: var(--seal); color: var(--dim); }
.gv .rv-l { color: var(--ink); }
.gtag { display: inline-flex; align-items: center; gap: 6px; padding: 1px 10px 1px 8px; border-radius: 4px 12px 12px 4px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 0.75rem; }
.gtag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--paper); }
@media (max-width: 860px) {
  .ghead { display: none; }
  .grow { grid-template-columns: 1fr; gap: 8px; }
  .gdesc { grid-template-columns: 1fr; gap: 12px; }
}
