/* ==========================================================================
   Autar - proposal build
   Concept: THE UNREAD PILE. 76.3% of pull requests merge without a human
   review, so the page is built out of the things nobody opened. The pile is
   the argument, not decoration. Autar's output is the opposite of a pile:
   one readable thing.

   Surface: cool newsprint, ink, one stamp red. Light is the default because
   every competitor in this category is dark slate.
   Radius rule: 2px everywhere. Paper does not have soft corners.
   ========================================================================== */

/* One family, two widths. Display runs condensed like a masthead, text runs
   normal. Same voice, real contrast, nothing borrowed from another family. */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var-latin.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  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: 'Archivo';
  src: url('../fonts/archivo-var-latin-ext.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geistmono-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  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: 'Geist Mono';
  src: url('../fonts/geistmono-latin-ext.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --paper:     #e8eae9;
  --paper-1:   #f6f7f6;
  --paper-2:   #dcdfde;
  --ink:       #14171a;
  --ink-2:     #464d4c;
  --ink-3:     #5d6463;
  --rule:      #c6c9c8;
  --rule-soft: #d6d9d8;
  --stamp:     #bf3419;
  --stamp-ink: #fdf3f0;
  --stamp-tint: rgba(191, 52, 25, 0.09);
  --shadow:    0 1px 0 rgba(20,23,26,.05), 0 10px 22px -14px rgba(20,23,26,.35);

  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Code is always dark. These never follow the page theme, which is how the
     terminal ended up white-on-white the moment dark mode kicked in. */
  --code-bg:   #14171a;
  --code-fg:   rgba(255, 255, 255, .92);
  --code-dim:  rgba(255, 255, 255, .46);
  --code-line: rgba(255, 255, 255, .16);

  --r: 2px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --maxw: 1240px;
  --sec-y: clamp(4.5rem, 10vw, 8.5rem);
  /* entering and exiting: starts fast, so the interface answers immediately */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  /* moving on screen: accelerate and decelerate */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease: var(--ease-out);
}

/* ---------- reset ---------- */
*, *::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-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* paper grain. Fixed and pointer-events:none so it never repaints on scroll. */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--stamp); color: var(--stamp-ink); }
:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; border-radius: var(--r); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--stamp); color: var(--stamp-ink); padding: .75rem 1.25rem; border-radius: var(--r); font-weight: 600; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec-y); position: relative; }
.sec--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.hero__grid > *, .two > *, .doors > *, .close__grid > *, .strip > *,
.cov > *, .people > *, .qa__i > *, .dupe__row > * { min-width: 0; }

/* ---------- type ---------- */
.d1, .d2, .d3 { font-stretch: 76%; font-weight: 800; }
.d1 { font-size: clamp(2.8rem, 7vw, 5.1rem); line-height: 0.94; letter-spacing: -0.025em; }
.d2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 0.98; letter-spacing: -0.02em; }
.d3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.body { font-size: 1rem; line-height: 1.66; color: var(--ink-2); max-width: 62ch; }
.small { font-size: .875rem; line-height: 1.55; color: var(--ink-3); }
.mono { font-family: var(--mono); }
.fg { color: var(--ink); }

.eyebrow {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.4rem;
}

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- the rotating verb ----------
   Width is measured and transitioned so the rest of the line glides rather
   than jumping. The base span keeps the baseline and the line height; the
   words themselves are taken out of flow and crossfaded through. */
.swap {
  position: relative; display: inline-block; vertical-align: baseline;
  text-align: left; color: var(--stamp);
  transition: width 380ms var(--ease-in-out);
}
.swap__base { visibility: hidden; }
.swap__w {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  opacity: 0; transform: translateY(0.16em);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.swap__w[data-on='true'] { opacity: 1; transform: none; }
.swap__w[data-out='true'] { opacity: 0; transform: translateY(-0.16em); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 64px; display: flex; align-items: center;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
@supports not (backdrop-filter: blur(1px)) { .nav { background: var(--paper); } }
.nav__in { display: flex; align-items: center; gap: 2rem; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.nav__brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 800; letter-spacing: -0.045em; font-size: 1.2rem; }
.nav__mark { width: 22px; height: 22px; flex: none; color: var(--stamp); }
.nav__links { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .92rem; color: var(--ink-2); white-space: nowrap; transition: color .18s var(--ease); }
.nav__links a[aria-current='page'] { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: .7rem; }
.nav__burger { display: none; }

@media (max-width: 880px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 44px; height: 44px; background: none; border: 1px solid var(--rule); border-radius: var(--r); cursor: pointer; }
  .nav__burger span { display: block; width: 17px; height: 1.5px; background: var(--ink); position: relative; }
  .nav__burger span::before, .nav__burger span::after { content: ''; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--ink); }
  .nav__burger span::before { top: -5px; } .nav__burger span::after { top: 5px; }
  .nav__cta { margin-left: .6rem; }
}

.drawer { position: fixed; inset: 64px 0 0 0; z-index: 49; background: var(--paper); padding: 1.5rem var(--gut) 2.5rem; display: none; flex-direction: column; overflow-y: auto; }
.drawer[data-open='true'] { display: flex; }
body:has(.drawer[data-open='true']) .nav__cta { display: none; }
.drawer a { text-decoration: none; font-size: 1.1rem; padding: .95rem 0; border-bottom: 1px solid var(--rule-soft); color: var(--ink); min-height: 44px; display: flex; align-items: center; }
.drawer a.btn { margin-top: 1.5rem; border-bottom: 0; justify-content: center; font-size: .98rem; color: var(--stamp-ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .76rem 1.25rem; border-radius: var(--r);
  font-size: .93rem; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  transition: transform 150ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--sig { background: var(--stamp); color: var(--stamp-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
@media (hover: hover) and (pointer: fine) {
  .btn--sig:hover { background: color-mix(in srgb, var(--stamp) 86%, #000); }
  .btn--ghost:hover { border-color: var(--ink-3); background: var(--paper-1); }
}
.btn--sm { padding: .5rem .9rem; font-size: .86rem; }
.btn--wide { width: 100%; }

.tlink { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--stamp); font-size: .93rem; font-weight: 600; border-bottom: 1px solid color-mix(in srgb, var(--stamp) 40%, transparent); padding-bottom: 2px; }
.tlink .arw { transition: transform 180ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tlink:hover .arw { transform: translateX(3px); }
  .tlink:hover { border-color: var(--stamp); }
  .door:hover { border-color: var(--ink-3); }
  .nav__links a:hover { color: var(--ink); }
  .foot__l a:hover { color: var(--ink); }
  .cmd__copy:hover { border-color: var(--ink-3); color: var(--ink); }
  .turn__acts .btn--ghost:hover { background: rgba(255,255,255,.08); }
}

/* ==========================================================================
   THE WALL
   You do not look at the pile from outside. You land inside it, and the
   headline is cut into the one clear space left.
   ========================================================================== */
.canvas {
  position: relative; min-height: 94svh;
  display: flex; align-items: flex-end;
  overflow: hidden; border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.canvas__in { position: relative; z-index: 3; width: 100%; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 4rem); }
/* rem, not ch: a ch here resolves against the 16px parent, not the display size */
.canvas__lead { max-width: 56rem; }
@media (max-width: 939px) { .canvas__lead { max-width: 100%; } }
/* two short clauses, so the hero can carry a giant statement */
.canvas .d1 { font-size: clamp(2.2rem, 7.4vw, 5.4rem); letter-spacing: -0.048em; }
.hero__sub { margin-top: 1.3rem; }
.hero__acts { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
.canvas__note { margin-top: 2rem; max-width: 54ch; }

.wall {
  position: absolute; inset: -9% -6% -14%; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  transform: rotate(-2.1deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 74%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 74%, transparent 100%);
}
@media (max-width: 1099px) { .wall { grid-template-columns: repeat(2, 1fr); inset: -10% -14% -16%; } }
@media (max-width: 700px)  { .wall { grid-template-columns: repeat(2, 1fr); inset: -6% -9% -12%; gap: 11px; transform: rotate(-2.6deg); } }
.wall__col { position: relative; }

/* the one clear space: text sits on paper, the wall recedes behind it */
.scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to top, var(--paper) 0%, var(--paper) 34%, color-mix(in srgb, var(--paper) 80%, transparent) 66%, transparent 100%),
    linear-gradient(to right, var(--paper) 0%, var(--paper) 30%, color-mix(in srgb, var(--paper) 88%, transparent) 58%, transparent 86%);
}
/* on a phone the copy runs full width, so the side wash only hides the wall */
@media (max-width: 939px) {
  .scrim {
    background: linear-gradient(to top, var(--paper) 0%, var(--paper) 44%,
      color-mix(in srgb, var(--paper) 72%, transparent) 70%, transparent 100%);
  }
}

.slip {
  position: absolute; left: 0; right: 0; top: 0;
  background: var(--paper-1);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 1rem 1.05rem .95rem;
  box-shadow: var(--shadow);
  transform-origin: 50% 0%;
  --step: 150px;
  transform: translate3d(0, calc(var(--i) * var(--step)), 0) rotate(calc(var(--rot) * 1deg));
  z-index: calc(40 - var(--i));
  /* overshoot and settle: paper lands, it does not glide */
  transition: transform 520ms cubic-bezier(.22,1.24,.36,1), opacity 300ms var(--ease-out);
}
.slip[data-entering='true'] { transform: translate3d(0, -78px, 0) rotate(calc(var(--rot) * 2.4deg)); opacity: 0; }

/* The stamp is a separate physical act, so it lands after the paper does.
   Down hard from slightly oversize, then settles. This is the page's signature. */
@keyframes stamp-hit {
  from { opacity: 0; transform: rotate(-11deg) scale(1.42); }
  55%  { opacity: 1; }
  to   { opacity: 1; transform: rotate(-1.5deg) scale(1); }
}
.slip[data-fresh='true'] .stamp {
  animation: stamp-hit 220ms var(--ease-out) 240ms both;
}

.slip__top { display: flex; align-items: baseline; gap: .7rem; }
.slip__id { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); letter-spacing: .02em; }
.slip__age { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); margin-left: auto; white-space: nowrap; }
.slip__t {
  margin-top: .45rem; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.022em;
  line-height: 1.3; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  /* every slip is the same height, so the stack reads as a stack */
  min-height: 2.6em;
}
.slip__bot { margin-top: .8rem; display: flex; align-items: center; gap: .7rem; }
.slip__who { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.stamp {
  margin-left: auto; flex: none;
  font-family: var(--mono); font-size: .62rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--stamp); border: 1px solid color-mix(in srgb, var(--stamp) 55%, transparent);
  background: var(--stamp-tint);
  padding: .22rem .45rem .2rem; border-radius: var(--r);
  transform: rotate(-1.5deg);
}

.pile__note { margin-top: 1.1rem; }

/* the persistent counter: the argument, still running, wherever you are */
.tally {
  position: fixed; right: var(--gut); bottom: 1.1rem; z-index: 45;
  display: flex; align-items: center; gap: .6rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--rule); border-radius: var(--r);
  padding: .5rem .75rem;
  font-family: var(--mono); font-size: .72rem; color: var(--ink-2);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tally[data-on='true'] { opacity: 1; transform: none; }
.tally__l { color: var(--ink-3); }
.tally__m { display: inline-flex; gap: .4rem; padding-left: .6rem; border-left: 1px solid var(--rule); }
.tally b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--stamp); }
/* the second number is the whole argument: it does not move on its own */
.tally__m--out { color: var(--ink-3); }
.tally__m--out b { color: var(--ink-3); }
.tally__m--out[data-moved='true'] { color: var(--ink); }
.tally__m--out[data-moved='true'] b { color: #2f7d33; }
@media (max-width: 600px) { .tally { display: none; } }

/* ---------- stat strip ---------- */
.strip { display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(3, 1fr); } }
.strip__i { padding: 1.6rem 0; border-bottom: 1px solid var(--rule-soft); }
@media (min-width: 760px) {
  .strip__i { border-bottom: 0; border-right: 1px solid var(--rule-soft); padding-inline: 1.8rem; }
  .strip__i:first-child { padding-left: 0; } .strip__i:last-child { border-right: 0; padding-right: 0; }
}
.strip__n { font-family: var(--mono); font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; font-weight: 500; }
.strip__t { margin-top: .7rem; font-size: .95rem; color: var(--ink-2); line-height: 1.5; max-width: 30ch; }
.strip__s { margin-top: .5rem; font-family: var(--mono); font-size: .69rem; letter-spacing: .04em; color: var(--ink-3); }

/* ---------- quote ---------- */
.quote { max-width: 50rem; }
.quote__b { font-size: clamp(1.4rem, 2.9vw, 2.2rem); line-height: 1.26; letter-spacing: -0.03em; font-weight: 600; color: var(--ink); }
.quote__a { margin-top: 1.5rem; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }

/* ==========================================================================
   THE TURN: one thing, open and readable
   ========================================================================== */
.turn { background: var(--code-bg); color: var(--code-fg); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.turn__top { display: flex; align-items: center; gap: .8rem; padding: .95rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.turn__id { font-family: var(--mono); font-size: .76rem; color: rgba(255,255,255,.62); }
.turn__state { margin-left: auto; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: #8fd18a; border: 1px solid rgba(143,209,138,.45); padding: .22rem .45rem .2rem; border-radius: var(--r); }
.turn__body { padding: 1.4rem 1.2rem 1.5rem; }
.turn__t { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.028em; color: #fff; line-height: 1.22; }
.turn__why { margin-top: .8rem; font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 54ch; }

.diff { margin-top: 1.3rem; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); overflow-x: auto; font-family: var(--mono); font-size: .76rem; line-height: 1.85; }
.diff div { padding: 0 .85rem; white-space: pre; }

/* The fix assembling is the payoff, so it is worth watching rather than
   arriving finished. Lines land in the order they were written. */
.turn .diff div, .turn .turn__acts { opacity: 0; transform: translateY(5px); }
.turn.is-live .diff div, .turn.is-live .turn__acts { opacity: 1; transform: none; }
.turn .diff div, .turn .turn__acts {
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.turn.is-live .diff div:nth-child(1) { transition-delay: 60ms; }
.turn.is-live .diff div:nth-child(2) { transition-delay: 105ms; }
.turn.is-live .diff div:nth-child(3) { transition-delay: 150ms; }
.turn.is-live .diff div:nth-child(4) { transition-delay: 195ms; }
.turn.is-live .diff div:nth-child(5) { transition-delay: 240ms; }
.turn.is-live .diff div:nth-child(6) { transition-delay: 285ms; }
.turn.is-live .diff div:nth-child(7) { transition-delay: 330ms; }
.turn.is-live .turn__acts { transition-delay: 400ms; }
.diff .h { color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }
.diff .m { color: rgba(255,255,255,.55); }
.diff .a { color: #8fd18a; background: rgba(143,209,138,.10); }
.diff .r { color: #ff9e85; background: rgba(255,158,133,.10); }

/* these two are a depiction of the decision, not live controls: nothing
   should invite a click that cannot go anywhere */
.turn__acts { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.turn__acts .btn { cursor: default; pointer-events: none; }
.turn__acts .btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.turn__note { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ---------- duplication: the same thing, four times ---------- */
.dupe { border-top: 2px solid var(--ink); }
.dupe__row { display: grid; grid-template-columns: 1fr; gap: .25rem .9rem; padding: 1.05rem 0; border-bottom: 1px solid var(--rule-soft); align-items: baseline; }
@media (min-width: 760px) { .dupe__row { grid-template-columns: 9rem 1fr 7rem; gap: 1.2rem; } }
.dupe__team { font-family: var(--mono); font-size: .74rem; color: var(--ink-3); letter-spacing: .04em; }
.dupe__t { font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.dupe__when { font-family: var(--mono); font-size: .74rem; color: var(--ink-3); }
@media (min-width: 760px) { .dupe__when { text-align: right; } }
.dupe__row--hit .dupe__t { color: var(--stamp); }

/* ---------- the three products, as an index rather than three boxes ----------
   No borders, no panels. A rule between entries, the name set large, the
   scope in the margin. This is a contents page, not a card grid. */
.doors { border-top: 2px solid var(--ink); }
.door {
  display: grid; grid-template-columns: 1fr; gap: .55rem;
  padding: clamp(1.9rem, 3.4vw, 2.8rem) 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .door { grid-template-columns: 13rem minmax(0, 1fr) 15rem; gap: 2.5rem; align-items: start; }
}
.door__k {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); padding-top: .55rem;
}
.door__h {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-stretch: 76%; font-weight: 800;
  line-height: .98; letter-spacing: -0.02em;
}
.door__p { margin-top: .7rem; font-size: 1rem; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.door__meta { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; padding-top: .5rem; }
@media (min-width: 900px) { .door__meta { flex-direction: column; align-items: flex-start; gap: .8rem; } }
/* status reads as a label in the margin, not a pill. One dot, and only because
   availability is real state rather than decoration. */
.tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: .45rem;
}
.tag::before { content: ''; width: 5px; height: 5px; background: currentColor; flex: none; }
.tag--live { color: #276b2b; }
.tag--sig { color: var(--stamp); }
.term { margin-top: 1.25rem; background: var(--code-bg); border-radius: var(--r); font-family: var(--mono); font-size: .76rem; line-height: 1.8; padding: 1rem 1.05rem; overflow-x: auto; color: var(--code-fg); max-width: 46ch; }
.term > div { white-space: pre; }
.term b { color: #fff; font-weight: 500; }
.term .c { color: #f2694a; }
.term .d { color: var(--code-dim); }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 760px) { .people { grid-template-columns: 1fr 1fr; } }
/* A masthead, not two cards. Names set like a byline, rule above each,
   no empty photo frames pretending to be content. */
.people { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 820px) { .people { grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem, 5vw, 5rem); } }
.person { padding: clamp(1.6rem, 3vw, 2.2rem) 0 clamp(1.8rem, 3vw, 2.4rem); border-bottom: 1px solid var(--rule); }
.person__n { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-stretch: 76%; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.person__r { margin-top: .5rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stamp); }
.person__p { margin-top: 1rem; font-size: .97rem; line-height: 1.62; color: var(--ink-2); max-width: 44ch; }

/* ---------- trust page: questions ---------- */
.qa { border-top: 2px solid var(--ink); }
.qa__i { border-bottom: 1px solid var(--rule-soft); padding: 1.9rem 0; display: grid; grid-template-columns: 1fr; gap: .85rem; }
@media (min-width: 820px) { .qa__i { grid-template-columns: .82fr 1.18fr; gap: 2.5rem; } }
.qa__q { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.qa__a { font-size: .96rem; line-height: 1.66; color: var(--ink-2); }
.qa__a p + p { margin-top: .8rem; }
.todo { display: inline-block; font-family: var(--mono); font-size: .72rem; line-height: 1.6; color: var(--stamp); background: var(--stamp-tint); border: 1px dashed color-mix(in srgb, var(--stamp) 45%, transparent); border-radius: var(--r); padding: .4rem .6rem; }

/* ---------- inner page head ---------- */
.phead { padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(2.25rem, 4.5vw, 3.5rem); }
.phead .lede { margin-top: 1.2rem; max-width: 50ch; }
.phead__acts { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }

/* ---------- what the CLI reads: a spec list, not eight tiles ---------- */
.cov { border-top: 2px solid var(--ink); display: grid; grid-template-columns: 1fr; }
@media (min-width: 780px) { .cov { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4.5rem); } }
.cov__i {
  display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.25rem;
  align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--rule);
}
.cov__h { font-size: 1rem; font-weight: 700; letter-spacing: -0.015em; }
.cov__l { font-family: var(--mono); font-size: .76rem; line-height: 1.65; color: var(--ink-3); }

/* ---------- commands: the code is dark, the chrome around it is nothing ---------- */
.cmd + .cmd { margin-top: 1.1rem; }
.cmd__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; }
.cmd__lab { font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.cmd__copy {
  background: transparent; border: 0; padding: .3rem 0; cursor: pointer; min-height: 32px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--rule);
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.cmd__copy[data-done='true'] { color: #2f7d33; border-color: #2f7d33; }
.cmd__code {
  margin: 0; padding: 1rem 1.1rem; border-radius: var(--r);
  background: var(--code-bg); color: var(--code-fg);
  font-family: var(--mono); font-size: .79rem; line-height: 1.75; overflow-x: auto;
}

/* ---------- plain statement lists ---------- */
.two { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.25rem); }
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; } }
.plain li { padding: .8rem 0; border-bottom: 1px solid var(--rule-soft); font-size: .96rem; line-height: 1.54; color: var(--ink-2); display: flex; gap: .75rem; }
.plain li:last-child { border-bottom: 0; }
.plain .mk { font-family: var(--mono); font-size: .78rem; color: var(--stamp); flex: none; padding-top: 2px; }
.plain .mk--no { color: var(--ink-3); }

/* ---------- close + footer ---------- */
/* The page has been paper the whole way down. It ends on ink-on-red so the
   last thing you see is the brand at full strength, not another grey band. */
.close {
  background: var(--stamp); color: var(--stamp-ink);
  border-top: 0; position: relative; overflow: hidden;
}
.close .d2, .close .body { color: var(--stamp-ink); }
.close .body { opacity: .82; }
.close .btn--sig { background: var(--stamp-ink); color: var(--stamp); }
.close .btn--ghost { color: var(--stamp-ink); border-color: rgba(255,255,255,.4); }
@media (hover: hover) and (pointer: fine) {
  .close .btn--sig:hover { background: #fff; }
  .close .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
}
/* the mark, oversized and bled off the corner */
.close__mark {
  position: absolute; right: -5%; bottom: 6%; width: min(30vw, 350px);
  color: var(--stamp-ink); opacity: .14; pointer-events: none;
}
@media (max-width: 860px) { .close__mark { width: 46vw; right: -8%; bottom: auto; top: 6%; opacity: .1; } }
.close__grid { display: grid; grid-template-columns: 1fr; gap: 1.8rem; align-items: end; }
@media (min-width: 860px) { .close__grid { grid-template-columns: 1.25fr .75fr; gap: 3.5rem; } }
.close__acts { display: flex; flex-wrap: wrap; gap: .7rem; }

.foot { border-top: 1px solid var(--rule); padding-block: 3rem 2.25rem; }
.foot__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.foot__h { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .9rem; }
.foot__l a { display: block; text-decoration: none; font-size: .91rem; color: var(--ink-2); padding: .3rem 0; }
.foot__bot { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--rule-soft); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.foot__bot p { font-size: .84rem; color: var(--ink-3); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out); }
.no-motion [data-reveal], .is-in[data-reveal] { opacity: 1; transform: none; }

/* Reduced motion means gentler, not none: opacity still aids comprehension,
   movement does not. */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .slip { transition: none !important; }
  .slip[data-fresh='true'] .stamp { animation: none !important; }
  .turn .diff div, .turn .turn__acts { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:active { transform: none; }
  /* the counter only means something while it is ticking, and it cannot tick
     here, so it would read as a contradiction rather than an argument */
  .tally { display: none !important; }
  * { animation-duration: .001ms !important; }
}
