/* The landing page: the signed-out home.
   Layout: a charcoal hero with a full-width headline, the hero list beside one example finding, and a line
   of example pull requests that pass through a glass lens and leave reviewed; then an example review beside
   what a review covers, the steps, the limits. Cobalt is the one signal colour.
   Geist and Geist Mono 1.401 (variable, latin subset) are under the SIL Open Font License 1.1 in OFL.txt. */
@font-face { font-family: "Geist"; src: url(geist-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(geist-mono-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --text: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* "Every pull request," is 7.94em wide here; 12.1% of the column keeps it on one line. */
  --h1-size: clamp(32px, 12.1cqi, 140px);
  --h1-weight: 600;
  --h1-leading: 0.94;
  --h1-tracking: -0.05em;
  --h2-size: clamp(36px, 4.6vw, 64px);
  --h2-weight: 600;
  --h2-leading: 1;
  --h2-tracking: -0.04em;
  --h3-weight: 600;
  --h3-tracking: -0.02em;
  --numeral-size: clamp(88px, 9vw, 136px);
  --numeral-weight: 200;
  --brand-font: 600 20px/1 var(--display);
  --stamp-font: 600 13px/1 var(--text);
  --gutter: clamp(20px, 4.5vw, 56px);
  --button-radius: 10px;
  --ticket-radius: 10px;

  --page-bg: #121315;
  --ink: #141518;
  --ink-2: #565A63;
  --line: #DCDEE3;
  --brand: #2347B8;
  --focus: #7EA6FF;
  --hero-bg: #18191C;
  --hero-fg: #F6F7F9;
  --hero-muted: rgba(246, 247, 249, 0.72);
  --cta-bg: #2E54C8;
  --cta-fg: #FFFFFF;
  --cta-hover: #3A60D2;
  --ticket-in-border: rgba(255, 255, 255, 0.3);
  --ticket-in-fg: rgba(255, 255, 255, 0.8);
  --ticket-deck-bg: #26282C;
  --ticket-out-bg: #FFFFFF;
  --ticket-out-fg: #141518;
  --stamp-found: #141518;
  --stamp-ok: #2347B8;
  --proof-bg: #F2F3F5;
  --caption: #565A63;
  --card-bg: #FFFFFF;
  --card-fg: #0D1530;
  --card-muted: #56617B;
  --card-line: #DBE1EC;
  --card-soft: #F5F7FB;
  --card-shadow: 0 30px 70px -36px rgba(10, 11, 13, 0.4), 0 2px 6px rgba(10, 11, 13, 0.06);
  --avatar-bg: #18191C;
  --plus: #2347B8;
  --add-wash: #F1F5FE;
  --flag: #1D3FA4;
  --flag-on: #FFFFFF;
  --flag-wash: #DFE7FD;
  --flag-ink: #16348C;
  --steps-bg: #FFFFFF;
  --step-rule: 1px solid #141518;
  --deep: #121315;
  --deep-fg: #F6F7F9;
  --deep-muted: rgba(246, 247, 249, 0.66);
  --deep-line: rgba(255, 255, 255, 0.12);
  --deep-plate: #18191C;
  --deep-mark: #7EA6FF;
  --closing-bg: #18191C;
  --closing-fg: #F6F7F9;
  --closing-cta-bg: #2E54C8;
  --closing-cta-fg: #FFFFFF;
  --closing-cta-hover: #3A60D2;
  --footer-bg: #121315;
  --footer-fg: rgba(246, 247, 249, 0.58);
  --footer-strong: #F6F7F9;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font: 400 18px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure, pre { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.page { overflow-x: clip; }
.wrap {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Navigation */
.nav { background: var(--hero-bg); color: var(--hero-fg); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: var(--brand-font);
  letter-spacing: var(--brand-tracking, -0.01em);
  text-decoration: none;
  text-transform: var(--brand-case, none);
}
.brand img { width: auto; height: 30px; }
/* Sign up floats at the nav's right edge, so it stays in reach on every section. */
.signup-open {
  --pill-bg: linear-gradient(180deg, #3A60D2, #2347B8);
  --pill-bg-hover: linear-gradient(180deg, #4569D8, #1D3FA4);
  --pill-fg: #FFFFFF;
  --pill-edge: #2347B8;
  --pill-ring: rgba(46, 84, 200, 0.22);
  --pill-gloss: rgba(255, 255, 255, 0.28);
  position: fixed;
  z-index: 10;
  top: 14px;
  right: max(var(--gutter), env(safe-area-inset-right, 0px), calc((100% - 1320px) / 2 + var(--gutter)));
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px 13px 18px;
  border: 1px solid var(--pill-edge);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-fg);
  box-shadow: 0 0 0 5px var(--pill-ring), 0 14px 30px -12px rgba(8, 20, 60, 0.6), inset 0 1px 0 var(--pill-gloss);
  font: 650 17px/1 var(--text);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.signup-open svg { flex: none; width: 18px; height: 18px; }
.signup-open:hover { background: var(--pill-bg-hover); transform: translateY(-1px); }
/* Browsers without popovers get a plain link to the GitHub sign-in instead of the dialog. */
.signup-link { text-decoration: none; }
button.signup-open { display: none; }
@supports selector(:popover-open) {
  button.signup-open { display: inline-flex; }
  .signup-link { display: none; }
}
/* Below 360px, as at high zoom, the brand and the button no longer fit in one row: the button
   rejoins the nav and wraps under the brand instead of covering it. */
@media (max-width: 359px) {
  .nav-row { flex-wrap: wrap; }
  .signup-open { position: static; }
}

/* Hero */
/* The hero's gaps also shrink with the viewport's height, so on a short wide screen the line stays above the fold. */
.hero { padding-block: clamp(24px, min(5vw, 4vh), 64px) clamp(48px, 6vw, 80px); background: var(--hero-bg); color: var(--hero-fg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: clamp(36px, 5vw, 72px); }
.hero-copy { min-width: 0; container-type: inline-size; }
h1 {
  font-family: var(--display);
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  line-height: var(--h1-leading);
  letter-spacing: var(--h1-tracking);
  text-transform: var(--h1-case, none);
}
h1 span { display: block; }
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  align-items: start;
  gap: 28px 64px;
  margin-top: clamp(28px, min(4vw, 3.5vh), 44px);
}
.lede { display: grid; gap: 10px; max-width: 34em; padding: 0; color: var(--hero-muted); font-size: clamp(18px, 1.4vw, 20px); list-style: none; }
.lede li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 14px; }
.lede li::before { content: ""; height: 2px; margin-top: 0.8em; background: var(--hero-fg); opacity: 0.55; }
.actions { display: grid; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 26px;
  border-radius: var(--button-radius);
  background: var(--cta-bg);
  color: var(--cta-fg);
  font: 600 17px/1 var(--text);
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.button:hover { background: var(--cta-hover); transform: translateY(-1px); }
.button svg { flex: none; width: 20px; height: 20px; }
.note { color: var(--hero-muted); font-size: 15px; }
/* In place of a sign-in button the hero shows one finding as it lands on a pull request: the first
   one from the example review. Sign up stays in the corner and in the closing band. */
.snip {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #101113;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
  font-size: 14px;
  line-height: 1.5;
}
.snip-file { padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: rgba(246, 247, 249, 0.55); font: 500 12.5px/1.4 var(--mono); }
.snip-code { overflow-x: auto; padding-block: 6px; font: 400 13px/1.85 var(--mono); }
.snip-code code { display: block; min-width: max-content; }
.sl { display: block; padding-right: 16px; color: rgba(246, 247, 249, 0.82); white-space: pre; }
.sl i { display: inline-block; width: 40px; padding-right: 12px; color: rgba(246, 247, 249, 0.3); font-style: normal; text-align: right; }
.sl.flag { background: rgba(46, 84, 200, 0.26); box-shadow: inset 3px 0 0 #4D74E6; color: #FFFFFF; }
.sl.flag i { color: #9DB7FF; }
.snip-note { display: grid; gap: 6px; margin: 0 12px 12px; padding: 12px 14px 13px; border: 1px solid rgba(77, 116, 230, 0.45); border-radius: 9px; background: rgba(46, 84, 200, 0.1); color: rgba(246, 247, 249, 0.72); }
.snip-who { display: flex; align-items: center; gap: 8px; color: #F6F7F9; font-weight: 650; }
.snip-who img { width: auto; height: 18px; }
.snip-who span { color: rgba(246, 247, 249, 0.5); font-weight: 400; }
.snip-note b { color: #F6F7F9; font-weight: 650; }
.snip-note code { padding: 1px 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); color: #F6F7F9; font: 500 0.88em/1.4 var(--mono); }

/* The line: pull requests wait in a deck on the left; the top one is dealt into the lens, turns reviewed
   inside it and leaves in a row on the right. The eight tickets share one path of eight periods, each
   running i periods ahead, so one lands in the lens every period, and the lens beat on .line shares that
   period. Each ticket carries its own reviewed state, --rv. */
@property --rv { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --lw { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --lh { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --lr { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --mag { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --ab { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --logo { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --turn { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.line {
  --line-h: clamp(150px, min(15vw, 19vh), 196px);
  --period: 2.6s;
  --pitch: 272px;
  --tw: 252px;
  --th: 84px;
  --drop: calc(var(--line-h) * 0.5);
  --lw: var(--drop);
  --lh: var(--drop);
  --lr: calc(var(--drop) * 0.3);
  position: relative;
  /* Narrow enough that a ticket four pitches out is off-screen when it wraps to the back of the deck. */
  max-width: 1900px;
  height: var(--line-h);
  margin: clamp(24px, min(6vw, 3vh), 72px) auto 0;
  animation: lens-beat var(--period) infinite;
}
.line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  right: 0;
  height: 90%;
  background: radial-gradient(ellipse 60% 50% at 0 50%, rgba(255, 255, 255, 0.1), transparent);
  transform: translateY(-50%);
}
.queue { position: absolute; z-index: 1; inset: 0; margin: 0; padding: 0; list-style: none; overflow-x: clip; }
.lens .queue { overflow: visible; }
.ticket {
  position: absolute;
  top: calc(50% - var(--th) / 2);
  left: calc(50% - var(--tw) / 2);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  gap: 3px 8px;
  width: var(--tw);
  height: var(--th);
  padding: 12px 16px;
  border: 1.5px dashed color-mix(in srgb, var(--ticket-in-border) calc((1 - var(--rv)) * 100%), transparent);
  border-radius: var(--ticket-radius);
  background: color-mix(in srgb, var(--ticket-out-bg) calc(var(--rv) * 100%), var(--ticket-deck-bg));
  box-shadow: 0 12px 26px -16px rgb(4 10 36 / calc(0.6 * var(--rv)));
  color: color-mix(in srgb, var(--ticket-out-fg) calc(var(--rv) * 100%), var(--ticket-in-fg));
  font-size: 14px;
  line-height: 1.3;
  animation: deal calc(var(--period) * 8) linear infinite;
  animation-delay: calc(var(--i) * var(--period) * -1);
}
.ticket:nth-child(1) { --i: 0; --r0: -7deg; }
.ticket:nth-child(2) { --i: 1; --r0: 5deg; }
.ticket:nth-child(3) { --i: 2; --r0: -4deg; }
.ticket:nth-child(4) { --i: 3; --r0: 8deg; }
.ticket:nth-child(5) { --i: 4; --r0: 6deg; }
.ticket:nth-child(6) { --i: 5; --r0: -6deg; }
.ticket:nth-child(7) { --i: 6; --r0: -3deg; }
.ticket:nth-child(8) { --i: 7; --r0: 4deg; }
.t-num { font-weight: 700; font-variant-numeric: tabular-nums; }
.t-title { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.t-diff { grid-column: 1 / -1; font: 400 12.5px/1.3 var(--mono); opacity: 0.75; }
.stamp {
  position: absolute;
  right: 12px;
  bottom: 11px;
  padding: 4px 8px 3px;
  border: 2px solid currentColor;
  border-radius: 4px;
  color: var(--stamp-found);
  font: var(--stamp-font);
  letter-spacing: var(--stamp-tracking, 0);
  text-transform: var(--stamp-case, none);
  opacity: var(--rv);
  transform: rotate(-5deg);
  scale: calc(1.8 - 0.8 * var(--rv));
}
.stamp.ok { color: var(--stamp-ok); }
/* Slots run from -4 to 4 pitches from the centre. Left of it the tickets stack 36px apart and fade in
   at the back; each step moves every ticket up one slot with a small overshoot, then holds. */
@keyframes deal {
  0% { translate: calc(-1 * var(--pitch) - 3 * 36px) -21px; rotate: calc(var(--r0) * 1.1); scale: 0.88; opacity: 0; z-index: 6; animation-timing-function: cubic-bezier(0.62, 0, 0.28, 1.14); }
  3.625% { translate: calc(-1 * var(--pitch) - 2 * 36px) -14px; rotate: calc(var(--r0) * 0.9); scale: 0.92; opacity: 1; z-index: 7; animation-timing-function: linear; }
  12.5% { translate: calc(-1 * var(--pitch) - 2 * 36px) -14px; rotate: calc(var(--r0) * 0.9); scale: 0.92; opacity: 1; z-index: 7; animation-timing-function: cubic-bezier(0.62, 0, 0.28, 1.14); }
  16.125% { translate: calc(-1 * var(--pitch) - 1 * 36px) -7px; rotate: calc(var(--r0) * 0.7); scale: 0.96; opacity: 1; z-index: 8; animation-timing-function: linear; }
  25% { translate: calc(-1 * var(--pitch) - 1 * 36px) -7px; rotate: calc(var(--r0) * 0.7); scale: 0.96; opacity: 1; z-index: 8; animation-timing-function: cubic-bezier(0.62, 0, 0.28, 1.14); }
  28.625% { translate: calc(-1 * var(--pitch) - 0 * 36px) 0px; rotate: calc(var(--r0) * 0.5); scale: 1.00; opacity: 1; z-index: 9; animation-timing-function: linear; }
  37.5% { translate: calc(-1 * var(--pitch) - 0 * 36px) 0px; rotate: calc(var(--r0) * 0.5); scale: 1.00; opacity: 1; z-index: 9; animation-timing-function: cubic-bezier(0.62, 0, 0.28, 1.14); }
  41.125% { translate: calc(0 * var(--pitch)) 0; rotate: 0deg; scale: 1; opacity: 1; z-index: 10; animation-timing-function: linear; }
  50% { translate: calc(0 * var(--pitch)) 0; rotate: 0deg; scale: 1; opacity: 1; z-index: 10; animation-timing-function: cubic-bezier(0.62, 0, 0.28, 1.14); }
  53.625% { translate: calc(1 * var(--pitch)) 0; rotate: 0deg; scale: 1; opacity: 1; z-index: 10; animation-timing-function: linear; }
  62.5% { translate: calc(1 * var(--pitch)) 0; rotate: 0deg; scale: 1; opacity: 1; z-index: 10; animation-timing-function: cubic-bezier(0.62, 0, 0.28, 1.14); }
  66.125% { translate: calc(2 * var(--pitch)) 0; rotate: 0deg; scale: 1; opacity: 1; z-index: 10; animation-timing-function: linear; }
  75% { translate: calc(2 * var(--pitch)) 0; rotate: 0deg; scale: 1; opacity: 1; z-index: 10; animation-timing-function: cubic-bezier(0.62, 0, 0.28, 1.14); }
  78.625% { translate: calc(3 * var(--pitch)) 0; rotate: 0deg; scale: 1; opacity: 1; z-index: 10; animation-timing-function: linear; }
  87.5% { translate: calc(3 * var(--pitch)) 0; rotate: 0deg; scale: 1; opacity: 1; z-index: 10; animation-timing-function: cubic-bezier(0.62, 0, 0.28, 1.14); }
  91.125% { translate: calc(4 * var(--pitch)) 0; rotate: 0deg; scale: 1; opacity: 1; z-index: 10; animation-timing-function: linear; }
  100% { translate: calc(4 * var(--pitch)) 0; rotate: 0deg; scale: 1; opacity: 1; z-index: 10; }
  0%, 41.375% { --rv: 0; animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
  43.375%, 99.999% { --rv: 1; }
}

/* The lens: a magnified copy of the queue, clipped to the lens shape, under a glass body. Between tickets
   it is a small, partly clear square drop with the mark spinning up in it while the next ticket slides by
   behind; as the ticket lands it springs open around it, the mark dissolving, holds while the ticket
   turns reviewed, then collapses back as the mark settles. Colour fringes (--ab) show
   only while the glass changes shape. */
.lens {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(circle var(--line-h) at 50% 50%, #233C8A, var(--hero-bg) 55%);
  clip-path: inset(calc(50% - var(--lh) / 2) calc(50% - var(--lw) / 2) round var(--lr));
  /* The clip path only hides the spinning mark. Near a quarter turn its perspective box is thousands of pixels
     tall, and unclipped it lengthened the page every beat, so a scroll past the bottom jumped into blank page. */
  overflow: clip;
}
.lens::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(circle calc(var(--drop) * 0.8) at 50% 40%, #3558C8, #142C78);
  opacity: calc(var(--logo) * 0.38);
}
.lens::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: url(logo-mark.webp) center / auto calc(var(--drop) * (1.3 - 0.68 * var(--logo))) no-repeat;
  opacity: var(--logo);
  filter: blur(calc((1 - var(--logo)) * 8px)) drop-shadow(0 3px 10px rgba(8, 20, 70, 0.55));
  transform: perspective(420px) rotateY(var(--turn));
}
.lens-view {
  position: absolute;
  inset: 0;
  filter: drop-shadow(calc(var(--ab) * 8px) 0 0 rgb(255 90 120 / calc(var(--ab) * 0.75))) drop-shadow(calc(var(--ab) * -8px) 0 0 rgb(90 180 255 / calc(var(--ab) * 0.8)));
  transform: scale(var(--mag));
}
.glass {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: var(--lw);
  height: var(--lh);
  border-radius: var(--lr);
  background:
    radial-gradient(ellipse 46% 30% at 34% 20%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 70%),
    radial-gradient(ellipse 40% 22% at 66% 86%, rgba(180, 210, 255, 0.25), rgba(180, 210, 255, 0) 70%);
  box-shadow:
    inset 10px 6px 18px -6px rgba(255, 255, 255, 0.4),
    inset -10px -8px 22px -6px rgba(5, 10, 30, 0.55),
    0 0 50px rgba(70, 110, 230, 0.35),
    0 26px 50px -20px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.35) 35%, rgba(255, 255, 255, 0.2) 60%, rgba(255, 255, 255, 0.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter:
    drop-shadow(calc(var(--ab) * 6px) 0 0 rgb(255 70 110 / var(--ab)))
    drop-shadow(calc(var(--ab) * -6px) 0 0 rgb(70 170 255 / var(--ab)))
    drop-shadow(0 calc(var(--ab) * 4px) 0 rgb(255 220 90 / calc(var(--ab) * 0.8)));
}
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%;
  animation: glass-sheen var(--period) infinite;
}
@keyframes glass-sheen {
  0%, 30% { background-position: 100% 0; opacity: 0; animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
  36% { opacity: 1; }
  58%, 100% { background-position: 0% 0; opacity: 0; }
}
/* The beat, in one period: the drop holds while the tickets move (to 24%) and the mark spins up,
   tightens as one lands, springs open around it with an overshoot (29–62%), holds, collapses (80–90%)
   and settles as the mark finishes a half turn. */
@keyframes lens-beat {
  0%, 100% { --lw: var(--drop); --lh: var(--drop); --lr: calc(var(--drop) * 0.3); --mag: 1.22; --ab: 0; --logo: 1; --turn: 0deg; }
  1% { --turn: 0deg; animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.5); }
  24% { --lw: var(--drop); --lh: var(--drop); --lr: calc(var(--drop) * 0.3); --mag: 1.22; --ab: 0; --logo: 1; animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0); }
  29% { --lw: calc(var(--drop) * 0.84); --lh: calc(var(--drop) * 0.84); --lr: calc(var(--drop) * 0.3); --mag: 1.04; --ab: 0.4; animation-timing-function: linear(0, 0.22 5%, 0.6 11%, 0.95 17%, 1.12 23%, 1.16 27%, 1.12 32%, 1 41%, 0.95 48%, 0.96 55%, 1 64%, 1.015 72%, 1 85%, 1); }
  29.5% { --turn: 560deg; animation-timing-function: linear; }
  30% { --logo: 1; animation-timing-function: ease-in; }
  35% { --ab: 1; animation-timing-function: ease-in-out; }
  42% { --logo: 0; }
  42.5% { --turn: 900deg; }
  56% { --ab: 0; }
  62% { --lw: calc(var(--tw) + 24px); --lh: calc(var(--th) * 1.5); --lr: calc(var(--th) * 0.42); --mag: 1.12; animation-timing-function: ease-in-out; }
  80% { --lw: calc(var(--tw) + 18px); --lh: calc(var(--th) * 1.44); --lr: calc(var(--th) * 0.44); --mag: 1.1; --ab: 0; animation-timing-function: cubic-bezier(0.6, 0, 0.85, 0.3); }
  87% { --ab: 1; animation-timing-function: ease-out; }
  88% { --logo: 0; animation-timing-function: ease-out; }
  88.5% { --turn: -200deg; animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  90% { --lw: calc(var(--drop) * 0.88); --lh: calc(var(--drop) * 1.1); --lr: calc(var(--drop) * 0.32); --mag: 1.22; animation-timing-function: linear(0, 0.22 5%, 0.6 11%, 0.95 17%, 1.12 23%, 1.16 27%, 1.12 32%, 1 41%, 0.95 48%, 0.96 55%, 1 64%, 1.015 72%, 1 85%, 1); }
  97% { --logo: 1; }
}

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section h2 {
  max-width: 14em;
  font-family: var(--display);
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  line-height: var(--h2-leading);
  letter-spacing: var(--h2-tracking);
  text-transform: var(--h2-case, none);
  text-wrap: balance;
}
h3 {
  font-family: var(--h3-font, var(--text));
  font-size: var(--h3-size, 20px);
  font-weight: var(--h3-weight, 650);
  line-height: 1.2;
  letter-spacing: var(--h3-tracking, -0.01em);
  text-transform: var(--h3-case, none);
}

/* What a review covers, beside the example */
.proof { background: var(--proof-bg); color: var(--ink); }
.proof-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(36px, 5vw, 80px); }
.covers { display: grid; gap: 28px; margin-top: 44px; }
.covers > div { display: grid; align-content: start; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.covers p { color: var(--ink-2); font-size: 17px; }
.ref {
  justify-self: start;
  margin-top: 2px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Example review */
.example { display: grid; gap: 10px; min-width: 0; }
.example figcaption { color: var(--caption); font-size: 14px; font-weight: 600; }
.review {
  overflow: hidden;
  border: 1px solid var(--card-line);
  border-radius: var(--card-radius, 16px);
  background: var(--card-bg);
  color: var(--card-fg);
  box-shadow: var(--card-shadow);
  font-size: 15px;
  line-height: 1.5;
}
.pr-head { padding: 18px 22px 16px; border-bottom: 1px solid var(--card-line); }
.pr-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.pr-num { color: var(--card-muted); font-weight: 400; }
.pr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; color: var(--card-muted); font-size: 14px; }
.review code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--card-soft);
  color: var(--card-fg);
  font: 500 0.86em/1.4 var(--mono);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.stat { margin-left: auto; font: 500 13px/1 var(--mono); }
.plus { color: var(--plus); }
.minus { color: var(--card-muted); }
.rv-head { display: flex; align-items: center; gap: 10px; padding: 14px 22px; }
.avatar { flex: none; width: 30px; height: 30px; padding: 3px; border: 1px solid var(--card-line); border-radius: 50%; background: var(--avatar-bg); object-fit: contain; }
.pill { margin-left: auto; padding: 5px 10px; border-radius: 999px; background: var(--flag-wash); color: var(--flag-ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.path { padding: 9px 22px; border-block: 1px solid var(--card-line); background: var(--card-soft); color: var(--card-muted); font: 500 13px/1.4 var(--mono); }
.diff { overflow-x: auto; padding-block: 6px; font: 400 13px/1.8 var(--mono); tab-size: 4; -moz-tab-size: 4; }
.diff code { display: inline-block; min-width: 100%; padding: 0; border-radius: 0; background: none; font: inherit; }
.ln { position: relative; display: block; padding: 0 22px 0 48px; white-space: pre; }
.ln.add { background: var(--add-wash); }
.ln.del { background: var(--card-soft); color: var(--card-muted); }
.ln.flag { background: var(--flag-wash); box-shadow: inset 3px 0 0 var(--flag); }
.ln[data-flag]::before {
  content: attr(data-flag);
  position: absolute;
  top: 50%;
  left: 16px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--flag);
  color: var(--flag-on);
  font: 700 11px/1 var(--text);
  transform: translateY(-50%);
}
.findings { display: grid; padding: 4px 22px 6px; list-style: none; }
.findings li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-block: 14px; border-top: 1px solid var(--card-line); }
.findings li:first-child { border-top: 0; }
.badge { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--flag); color: var(--flag-on); font-size: 12px; font-weight: 700; }
.f-title { font-weight: 700; }
.f-title + p { margin-top: 2px; color: var(--card-muted); }
.checks { display: grid; gap: 8px; padding: 14px 22px 18px; border-top: 1px solid var(--card-line); background: var(--card-soft); font-size: 14px; }
.checks > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; }
.checks dt { font-weight: 700; }
.checks dd { color: var(--card-muted); }
:target { scroll-margin-top: 32px; }
.findings li:target, .checks > div:target { background: var(--flag-wash); }

/* Steps */
.steps { background: var(--steps-bg); color: var(--ink); }
.steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 56px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li { display: grid; align-content: start; gap: 10px; padding-top: 20px; border-top: var(--step-rule); counter-increment: step; }
.steps li::before {
  content: counter(step);
  margin-bottom: 14px;
  color: var(--brand);
  font-family: var(--display);
  font-size: var(--numeral-size);
  font-weight: var(--numeral-weight);
  line-height: 0.8;
  letter-spacing: -0.04em;
}
.steps p { color: var(--ink-2); font-size: 17px; }

/* What it can't do */
.limits { background: var(--deep); color: var(--deep-fg); }
.limits dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.limits dl > div {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 22px 26px;
  border: 1px solid var(--deep-line);
  border-radius: var(--plate-radius, 12px);
  background: var(--deep-plate, transparent);
}
.limits dt {
  display: grid;
  justify-items: start;
  gap: 16px;
  font-family: var(--h3-font, var(--text));
  font-size: var(--limit-size, 21px);
  font-weight: var(--h3-weight, 650);
  line-height: 1.15;
  letter-spacing: var(--h3-tracking, -0.01em);
  text-transform: var(--h3-case, none);
}
.limits dt::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid var(--deep-mark);
  border-radius: 50%;
  background: linear-gradient(135deg, transparent calc(50% - 1px), var(--deep-mark) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}
.limits dd { color: var(--deep-muted); font-size: 16px; }

/* Sign-up dialog: a popover, so it opens and closes without script. */
.signup {
  width: min(420px, calc(100% - 32px));
  padding: 40px 32px 32px;
  border: 0;
  border-radius: 16px;
  background: var(--card-bg);
  color: var(--card-fg);
  box-shadow: var(--card-shadow);
  text-align: center;
}
/* Hidden until opened, also where popovers are unsupported and only the link shows. */
.signup { display: none; }
.signup:popover-open { display: grid; justify-items: center; gap: 14px; }
.signup::backdrop { background: rgba(14, 15, 18, 0.66); }
.signup img { height: 48px; width: auto; margin-bottom: 6px; }
.signup h2 { font: 650 26px/1.2 var(--display); letter-spacing: -0.02em; }
.signup p { color: var(--card-muted); font-size: 16px; }
.signup .button { margin-top: 10px; width: 100%; justify-content: center; background: var(--brand); color: #FFFFFF; }
.signup .button:hover { background: #1D3FA4; }
.signup .signup-alt { font-size: 15px; }
.signup-alt a { color: var(--brand); font-weight: 600; }
.signup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--card-muted);
  font: 400 26px/1 var(--text);
  cursor: pointer;
}
.signup-close:hover { background: var(--card-soft); color: var(--card-fg); }

/* Closing */
.closing { background: var(--closing-bg); color: var(--closing-fg); }
.closing-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.closing h2 { max-width: 11em; }
.closing .button { background: var(--closing-cta-bg); color: var(--closing-cta-fg); }
.closing .button:hover { background: var(--closing-cta-hover); }

/* Footer */
.footer { background: var(--footer-bg); color: var(--footer-fg); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 28px 36px; font-size: 15px; }
.brand-small { gap: 8px; color: var(--footer-strong); font-size: 18px; }
.brand-small img { height: 24px; }

@media (max-width: 1000px) {
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-row { grid-template-columns: minmax(0, 1fr); }
  .actions { max-width: 560px; }
}

@media (max-width: 900px) {
  .steps ol { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .checks > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .pr-meta .stat { margin-left: 0; }
  .limits dl { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .line { --line-h: 148px; --pitch: 228px; --tw: 212px; --th: 78px; }
  /* A long line fades out at the edge and still scrolls, without a scrollbar. */
  .snip-code { font-size: 12px; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent); }
  .sl i { width: 32px; padding-right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  /* Hold still with the lens open on a reviewed ticket. */
  .line, .ticket, .glass::after { animation-play-state: paused; }
  .line { animation-delay: calc(var(--period) * -0.7); }
  .ticket { animation-delay: calc((var(--i) + 0.7) * var(--period) * -1); }
  .button, .signup-open { transition: none; }
}
