/* Precall. Instrument Sans + IBM Plex Mono, both SIL OFL 1.1, self-hosted (see /fonts/OFL-*.txt). */
/* Shared base for the site and the app (packages/brand/ui/site-base.css).
   apps/site/scripts/stamp.ts inlines it at the top of site.css; apps/web/build.ts ships it as the app's base stylesheet.
   Brand tokens (colors.*, fonts.* in double braces) are filled from packages/brand by both. Font URLs are relative to the
   stylesheet: /fonts/ on the site, /app/assets/fonts/ in the app. The site has no dark theme; neither does the app. */
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/instrument-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/instrument-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/instrument-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --paper: #f1f2ed;
  --paper2: #e7e9e1;
  --ink: #101512;
  --ink2: #39413c;
  --mute: #646c66;
  --line: #d3d7cc;
  --flag: #ff5a1f;
  --flag-ink: #a8320a;
  --ok: #1d8a58;
  --panel: #0e1310;
  --panel2: #151b17;
  --pline: #252e28;
  --ptext: #e4e8e0;
  --pmute: #8a948d;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gut: clamp(16px, 4vw, 64px);
  --gap: clamp(28px, 3.2vw, 72px);
  /* one vertical padding for every section, top and bottom: 96px desktop, 56px mobile */
  --sp: clamp(56px, 6.7vw, 96px);
  --r: 10px;
  --card: #fff;
  --flag-soft: #fbe1d6;
  --ok-ink: #146b43;
  /* type scale for key numbers */
  --t-stat: clamp(56px, 6vw, 120px);
  --t-num: clamp(40px, 3.6vw, 72px);
  --t-num-sm: clamp(28px, 2.2vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: hidden; }
a { color: inherit; }
.w { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }

/* nav */
nav.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid transparent; }
nav.top.stuck { border-bottom-color: var(--line); }
nav.top .w { display: flex; align-items: center; gap: 28px; height: 64px; }
.mark { display: inline-flex; align-items: center; gap: 8px; font: 700 21px/1 var(--sans); letter-spacing: -0.04em; text-decoration: none; }
.mark svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.mark svg circle { fill: var(--flag); stroke: none; }
.mark.sm { font-size: 17px; }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { text-decoration: none; color: var(--ink2); font-size: 15px; }
.links a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); font: 600 15.5px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #2a322d; }
.btn:disabled { opacity: .6; cursor: default; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2.5px solid var(--flag); outline-offset: 2px; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
.lnk { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.lnk:hover { text-decoration-color: var(--flag); }

/* chips */
.out { font: 500 12.5px/1.3 var(--mono); padding: 5px 8px; border-radius: 5px; display: inline-block; white-space: nowrap; }
.out.ok { color: #146b43; background: #dcebe0; }
.out.bad { color: var(--flag-ink); background: #fbe1d6; }
.out a { color: inherit !important; }

/* forms */
.reqform { border-top: 1.5px solid var(--ink); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.fgrid .full { grid-column: 1 / -1; }
.field { display: block; margin-top: 22px; min-width: 0; }
.field > span, .yn legend { display: block; font: 500 12.5px/1 var(--mono); color: var(--mute); margin-bottom: 8px; padding: 0; }
.field em { font-style: normal; color: var(--mute); margin-left: 6px; }
.field input, .field select { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 14px; font: 400 15px/1 var(--sans); background: #fff; color: var(--ink); }
.field select { padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23101512' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center / 10px; -webkit-appearance: none; appearance: none; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.field input:focus:not(:focus-visible), .field select:focus:not(:focus-visible) { outline: none; }
.yn { border: 0; padding: 0; }
.yn label { display: inline-flex; margin-right: 8px; cursor: pointer; position: relative; }
.yn input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.yn label span { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 15px; }
.yn input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.yn input:focus-visible + span { outline: 2.5px solid var(--flag); outline-offset: 2px; }

/* footer: one pattern for the site and the app (packages/brand/footer.ts). 4 columns at desktop, brand block + 2-column groups on mobile. */
footer { margin-top: 0; border-top: 1px solid var(--line); padding: 40px 0 28px; color: var(--ink); }
.ft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ft-brand { display: grid; gap: 12px; align-content: start; justify-items: start; min-width: 0; }
.ft-logo { display: inline-flex; align-items: center; gap: 10px; font: 700 17px/1 var(--sans); letter-spacing: -0.04em; text-decoration: none; color: var(--ink); }
.ft-tile { display: inline-flex; width: 28px; height: 28px; flex: none; }
.ft-tile svg { width: 100%; height: 100%; display: block; }
.ft-mail { font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.ft-mail:hover, .ft-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-col { min-width: 0; }
.ft-h { margin: 0 0 12px; font: 600 12px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft-col a { font-size: 14px; line-height: 1.4; color: var(--ink); text-decoration: none; }
.ft-promise { margin-top: 32px; font-size: 13px; color: var(--mute); }
.ft-bottom { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.ft-bottom p { font-size: 13px; color: var(--mute); text-align: left; }

/* mobile menu (shown when the nav links are hidden) */
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; font: 600 14.5px/1 var(--sans); color: var(--ink); background: var(--paper); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: ""; width: 14px; height: 10px; background: linear-gradient(var(--ink), var(--ink)) top / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) bottom / 100% 1.5px no-repeat; }
.menu[open] summary { border-color: var(--ink); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; display: grid; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(16, 21, 18, .45); z-index: 30; }
.menu-panel a { padding: 11px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 15.5px; }
.menu-panel a:hover { background: var(--paper2); }

/* visually hidden */
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* form actions (request access, /report, /access): one row, right-aligned, primary rightmost with Back to its left;
   stacked full width below 600px with the primary last */
.step-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 14px; margin-top: 24px; }
.step-actions .fine { flex: 1 1 14em; text-align: right; }
.step-actions .fine:empty { display: none; }
.step-actions .btn { order: 2; }
.step-actions .btn.back { order: 1; }
@media (max-width: 599px) {
  .step-actions { flex-direction: column; align-items: stretch; }
  .step-actions .fine { flex: none; text-align: left; order: 0; }
  .step-actions .btn { width: 100%; }
}

/* collapsibles: one component for every <details class="acc"> (FAQ, Sources, menu). site.js animates the
   .acc-body height over 200ms on open and close; without JS, or with reduced motion, it opens instantly. */
.acc > summary { list-style: none; cursor: pointer; }
.acc > summary::-webkit-details-marker { display: none; }
.acc:not(.menu) > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0 0; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: rotate(45deg); transition: transform .2s ease; }
.acc[open]:not(.closing) > summary::after, .acc.opening > summary::after { transform: rotate(-135deg); margin-top: 4px; border-color: var(--flag); }
.acc:not(.menu) > .acc-body { display: flow-root; } /* margins stay inside, so the animated height matches the final one */
.acc.opening > .acc-body, .acc.closing > .acc-body { overflow: hidden; }

/* plan cards (pricing on the site, plan page in the app) */
.plan-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; max-width: 1000px; margin: 56px auto 0; background: var(--paper2); border-radius: 20px; padding: 10px; gap: 10px; }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 30px 26px 28px; border-radius: 14px; background: var(--paper); min-width: 0; }
.plan-stage .plan h3 { font-size: 19px; margin: 0; letter-spacing: -0.02em; } /* beats the site's .sec h3 wherever the base sits */
.plan .who { color: var(--ink2); font-size: 15px; min-height: 4.6em; }
.plan .amt { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.plan .amt b { font-size: 40px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.plan .amt span { color: var(--mute); font-size: 13.5px; line-height: 1.3; }
.plan .alt { color: var(--mute); font-size: 14px; }
.plan ul { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; font-size: 15px; color: var(--ink2); flex: 1; }
.plan li { padding-left: 20px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 5px; border-left: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: rotate(-45deg); }
.plan .btn { align-self: flex-start; margin-top: 18px; }
.plan.feat { background: var(--panel); color: var(--ptext); box-shadow: 0 0 0 1px var(--panel); }
.plan.feat h3 { color: #fff; }
.plan.feat .who { color: var(--ptext); }
.plan.feat .amt b { color: #fff; }
.plan.feat .amt span { color: var(--pmute); }
.plan.feat .alt { color: var(--pmute); }
.plan.feat ul { border-top-color: var(--pline); color: var(--ptext); }
.plan.feat li::before { border-color: var(--flag); }
.btn.hot { background: var(--flag); border-color: var(--flag); color: #1b0b03; height: 54px; padding: 0 24px; font-size: 16px; align-self: stretch !important; }
.btn.hot:hover { background: var(--flag-ink); border-color: var(--flag-ink); color: #fff; }
.btn.hot:focus-visible { outline-color: #fff; }
@media (max-width: 1020px) {
  .plan .who { min-height: 0; }
}
@media (max-width: 760px) {
  .plan-stage { grid-template-columns: minmax(0, 1fr); margin-top: 32px; padding: 8px; border-radius: 16px; }
  .plan { padding: 24px 20px; }
}

/* nav and footer breakpoints */
@media (max-width: 1020px) {
  .links { display: none; }
  .menu { display: block; }
  nav.top .w { gap: 12px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-brand { grid-column: 1 / -1; }
}


/* hero */
.hero h1 { font-size: clamp(36px, 4.2vw, 76px); line-height: 1.02; letter-spacing: -0.045em; max-width: 19em; }
.hsub p { font-size: clamp(17px, 1.1vw, 21px); color: var(--ink2); max-width: 38em; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* replay */
.rp { background: var(--panel); color: var(--ptext); border-radius: 14px; overflow: hidden; }
.rp-bar { display: flex; align-items: center; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--pline); font: 400 13px/1.3 var(--mono); color: var(--pmute); }
.rp-live { color: var(--ptext); }
.rp-repos { display: flex; gap: 14px; margin-left: auto; }
.rp-pause { background: none; border: 1px solid var(--pline); color: var(--ptext); font: 500 12.5px/1 var(--mono); padding: 7px 11px; border-radius: 6px; cursor: pointer; }
.rp-pause:hover { border-color: var(--pmute); }
.rp-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.rp-feed { list-style: none; margin: 0; padding: 8px 0; border-right: 1px solid var(--pline); overflow: hidden; height: 470px; }
.pr { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; padding: 10px 20px; height: 62px; border-bottom: 1px solid rgba(37, 46, 40, .6); animation: fade .35s ease-out; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.pr .num { font: 500 13px/1.2 var(--mono); color: var(--pmute); text-decoration: none; }
.pr .num small { display: block; font-size: 11px; color: #6b756e; margin-top: 3px; }
.pr .num:hover { color: var(--ptext); }
.pr .tt { min-width: 0; }
.pr .tt b { display: block; font-weight: 500; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ptext); }
.pr .tt > span { display: block; font: 400 12px/1.4 var(--mono); color: var(--pmute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr .tt .ad { color: #5fbf8d; }
.pr .tt .dl { color: #e0705a; }
.chip { font: 500 11.5px/1 var(--mono); padding: 6px 9px; border-radius: 5px; border: 1px solid var(--pline); color: var(--pmute); white-space: nowrap; }
.pr.flag { background: rgba(255, 90, 31, .08); }
.pr.flag .chip { border-color: var(--flag); color: #ffb08f; }
.pr.flag.fix .chip { background: var(--flag); color: #1b0b03; }
.pr.pass.fix .chip { border-color: #6b4a3d; color: #e0a088; }

.rp-find { padding: 24px; min-width: 0; }
.f-idle { color: var(--pmute); font-size: 15px; max-width: 26em; }
.find { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.find .who { font: 400 12.5px/1.4 var(--mono); color: var(--pmute); }
.find .who a { color: var(--ptext); }
.find h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; color: var(--ptext); overflow-wrap: break-word; }
/* The rule card stacks: label, rule text, counts bar. Each row is full width. */
.find .fr { display: block; background: var(--panel2); border: 1px solid var(--pline); border-radius: var(--r); padding: 16px; min-width: 0; }
.find .fr .lbl { display: block; font: 500 12px/1.4 var(--mono); color: #ffb08f; }
.find .fr .rtext { display: block; font: 500 16px/1.4 var(--mono); color: var(--ptext); margin-top: 8px; min-width: 0; overflow-wrap: break-word; }
.find .bars { display: block; margin-top: 14px; }
.find .bars .bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #222a25; }
.find .bars .bar i { display: block; height: 100%; }
.find .bars .bar .g { background: #3c6a52; }
.find .bars .bar .b { background: var(--flag); }
.find .bars .legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 8px; font: 400 12.5px/1.3 var(--mono); color: var(--pmute); }
.find .bars .legend b { color: var(--ptext); font-weight: 500; }
.find .bars .legend .lb b { color: #ffb08f; }
.find .after { font-size: 15px; color: var(--pmute); }
.find .after .res { display: inline-flex; align-items: center; gap: 8px; color: var(--ptext); }
.find .after .res::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.find .after .res.bad::before { background: var(--flag); }
.find .after .res a { color: inherit; }
.rp-tally { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 16px 20px 18px; border-top: 1px solid var(--pline); font: 400 13px/1.4 var(--mono); color: var(--pmute); }
.rp-tally b { color: var(--ptext); font-weight: 500; }
.rp-tally .t-bad b { color: #ffb08f; }
.rp-note { margin-top: 14px; font-size: 14px; color: var(--mute); }

/* sections */
/* Every section has the same top and bottom padding, so no content sits on a background change.
   Sections end with padding, never with a margin that could collapse through it. */
main section, main section.w { padding-top: var(--sp); padding-bottom: var(--sp); }
main section > :last-child { margin-bottom: 0; }
.sec h2 { font-size: clamp(30px, 2.6vw, 52px); line-height: 1.05; letter-spacing: -0.04em; }
.sec h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 14px; }
.col > p { margin-top: 14px; color: var(--ink2); font-size: 17px; max-width: 34em; }
.col > .lnk { display: inline-block; margin-top: 18px; }
.example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--gap); align-items: start; }
.trio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--gap); align-items: start; }
.reqsec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap); align-items: start; }
.sec .col { min-width: 0; }

.hrules { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.hrules li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.hrules b { display: block; font-weight: 600; font-size: 16px; overflow-wrap: break-word; }
.ev { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 12.5px; color: var(--ink2); flex-wrap: wrap; }
.evbar { display: inline-flex; width: 110px; height: 7px; border-radius: 4px; background: #b9cdbf; overflow: hidden; flex: none; }
.evbar i { display: block; height: 100%; width: calc(var(--b) / (var(--b) + var(--c)) * 100%); background: var(--flag); }

.replinks { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.replinks a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.replinks a:hover b { text-decoration: underline; text-decoration-color: var(--flag); text-underline-offset: 4px; }
.replinks a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.replinks b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; min-width: 0; overflow-wrap: anywhere; }
.replinks span { font-size: 14.5px; color: var(--ink2); white-space: nowrap; }
.replinks .num { font-style: normal; font-size: var(--t-num-sm); font-weight: 600; letter-spacing: -0.04em; color: var(--ink); margin-right: 6px; }

table.price { width: 100%; border-collapse: collapse; margin-top: 20px; border-top: 1.5px solid var(--ink); font-size: 15px; }
.price th, .price td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); }
.price th { font-weight: 600; white-space: nowrap; }
.price td:last-child { color: var(--ink2); }
.small { margin-top: 12px; color: var(--mute); font-size: 14px; }

/* tables */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1.5px solid var(--ink); }
table.rank { width: 100%; border-collapse: collapse; font-size: 15px; }
.rank th { text-align: left; font: 500 12.5px/1.2 var(--mono); color: var(--mute); padding: 12px 12px 10px 0; border-bottom: 1px solid var(--line); }
.rank td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.rank td a { color: var(--ink); }
.rank .num { text-align: right; white-space: nowrap; font-size: 13px; color: var(--ink2); }
.rank .ttl { overflow-wrap: break-word; }
.rank .ttl small { display: block; color: var(--mute); font-size: 12.5px; margin-top: 3px; }
.risk { display: inline-flex; align-items: center; gap: 10px; }
.risk i { display: inline-block; width: 90px; height: 7px; background: var(--paper2); border-radius: 4px; position: relative; overflow: hidden; }
.risk i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 1%); background: var(--flag); border-radius: 4px; }
.risk em { font-style: normal; font-size: 13px; }
.why { font: 400 13px/1.35 var(--mono); }
.why small { display: block; color: var(--mute); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mrow { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.fine { font-size: 14px; color: var(--mute); }
.fine.ok { color: var(--ok); }
.fine.err { color: var(--flag-ink); }
.priv { margin-top: 18px; font-size: 13.5px; color: var(--mute); }
.reqform.sent .fgrid, .reqform.sent .btn { opacity: .5; pointer-events: none; }


/* legal pages */
.legal { max-width: 780px; margin: 0 auto; padding-top: clamp(40px, 5vw, 80px); }
.legal h1 { font-size: clamp(38px, 4.4vw, 64px); letter-spacing: -0.045em; line-height: 1; }
.legal .lede { margin-top: 14px; }
.legal .meta { margin-top: 10px; font: 400 13px/1.4 var(--mono); color: var(--mute); }
.legal-body { margin-top: 32px; border-top: 1.5px solid var(--ink); }
.legal-body h2 { font-size: 20px; letter-spacing: -0.02em; margin-top: 30px; }
.legal-body p, .legal-body ul { margin-top: 10px; color: var(--ink2); }
.legal-body ul { padding-left: 20px; }
.legal-body code { font: 400 .9em/1 var(--mono); }

/* proof page */
.proofpage .rhead { grid-template-columns: minmax(0, 1fr); }
.proofpage .rhead .lede { max-width: 46em; }
.ptable .pooled td { border-top: 1.5px solid var(--ink); background: var(--paper2); }
.ptable tr:target td { background: #fbe1d6; }
.verdict { font: 500 12.5px/1.3 var(--mono); padding: 5px 8px; border-radius: 5px; display: inline-block; white-space: nowrap; }
.v-show { color: #146b43; background: #dcebe0; }
.v-thin { color: var(--ink2); background: var(--paper2); }
.v-hide { color: var(--flag-ink); background: #fbe1d6; }
.method { margin-top: 18px; display: grid; gap: 10px; max-width: 52em; color: var(--ink2); border-top: 1.5px solid var(--ink); padding-top: 16px; }
.rsec .empty { margin-top: 20px; padding-top: 14px; border-top: 1.5px solid var(--ink); color: var(--mute); font-size: 15px; }
.cta .acts { align-items: center; gap: 22px; }
.cta .acts .btn { margin-top: 0; }
.cta code { font: 400 .9em/1 var(--mono); }
.lnk.sm { font-size: 15px; }

/* access + gate pages */
.gate { max-width: 640px; margin: 0 auto; padding-top: 80px; }
.gate h1 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.04em; line-height: 1.05; }
.gate > p { margin-top: 16px; color: var(--ink2); font-size: 17px; }
.gate form { margin-top: 26px; border-top: 1.5px solid var(--ink); }

/* report pages */
.report { padding-top: clamp(40px, 4vw, 80px); }
.legal, .gate { padding-bottom: var(--sp); }
.rhead { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap); align-items: end; }
.rhead h1 { font-size: clamp(38px, 4.4vw, 92px); letter-spacing: -0.045em; line-height: 1; overflow-wrap: break-word; }
.lede { font-size: clamp(17px, 1.1vw, 20px); color: var(--ink2); max-width: 38em; }
.facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 8px 0 0; padding-top: 16px; border-top: 1.5px solid var(--ink); }
.facts dt { font: 500 12.5px/1.2 var(--mono); color: var(--mute); }
.facts dd { margin: 6px 0 0; font-size: var(--t-num-sm); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.facts dd small { font-size: 15px; color: var(--mute); font-weight: 500; }
.rgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.rsec { min-width: 0; }
.rsec h2 { font-size: clamp(26px, 2.2vw, 40px); letter-spacing: -0.035em; line-height: 1.1; }
.rsec > p { margin-top: 12px; color: var(--ink2); max-width: 52em; }
.rlist { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.rlist li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.rlist b { font-weight: 600; overflow-wrap: break-word; }
.rlist p { font-size: 14.5px; color: var(--ink2); margin-top: 4px; overflow-wrap: break-word; }
.rsec .tablewrap { margin-top: 24px; }
.cta .btn { margin-top: 20px; }

/* report scope line */
.rhead .scope { grid-column: 1 / -1; margin-top: calc(12px - var(--gap)); font-size: 14px; color: var(--mute); }

/* report proof strip */
.pstats { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 22px 0 0; padding-top: 16px; border-top: 1.5px solid var(--ink); }
.pstats dt { font: 500 12.5px/1.2 var(--mono); color: var(--mute); }
.pstats dd { margin: 6px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.pstats dd small { font-size: 15px; color: var(--mute); font-weight: 500; }
.pnotes { margin-top: 16px; display: grid; gap: 4px; font-size: 14px; color: var(--mute); max-width: 60em; }
.pnotes .pflag { color: var(--ink); font-size: 15px; border-left: 3px solid var(--flag); padding-left: 12px; margin-bottom: 4px; }
.proof .tablewrap { margin-top: 20px; }
.proof .caveat { margin-top: 12px; font-size: 13.5px; color: var(--mute); }

/* install block */
.install { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--gap); align-items: start; }
.isteps { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.isteps li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.isteps b { font-weight: 600; }
.isteps p { margin-top: 4px; font-size: 15px; color: var(--ink2); overflow-wrap: break-word; }
.install code { font: 400 .9em/1 var(--mono); }
.install .btn { margin-top: 22px; max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
.code { position: relative; background: var(--panel); color: var(--ptext); border-radius: var(--r); }
.code pre { margin: 0; padding: 20px 22px; overflow-x: auto; font: 400 13.5px/1.6 var(--mono); }
.code pre code { font: inherit; }
.copy { position: absolute; top: 10px; right: 10px; background: none; border: 1px solid var(--pline); color: var(--pmute); font: 500 12px/1 var(--mono); padding: 6px 10px; border-radius: 6px; cursor: pointer; }
.copy:hover { color: var(--ptext); border-color: var(--pmute); }
.inote { margin-top: 12px; font-size: 14px; color: var(--mute); }
@media (max-width: 1020px) { .install { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
@media (max-width: 760px) {
  .pstats dd { font-size: 19px; }
  .rank.pex td:first-child { grid-row: span 2; }
  .code pre { padding: 16px; font-size: 12.5px; }
}

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap); align-items: start; }
.faq-list { border-top: 1.5px solid var(--ink); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ink2); }
.faq summary:focus-visible { outline: 2.5px solid var(--flag); outline-offset: 2px; }
.faq details p { padding: 0 0 20px; margin-top: 0; color: var(--ink2); font-size: 16px; max-width: 46em; overflow-wrap: break-word; }
.faq code { font: 400 .9em/1 var(--mono); }
@media (max-width: 1020px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
@media (max-width: 760px) { .faq summary { font-size: 16.5px; padding: 16px 0; } .faq details p { font-size: 15px; } }

/* hero proof */
.proof .plead { font-size: 18px; color: var(--ink); max-width: 46em; }
.hsub .proof { font-size: clamp(17px, 1.1vw, 21px); color: var(--ink); border-left: 3px solid var(--flag); padding-left: 16px; margin-bottom: 24px; }
.hsub .proof .stat { display: block; font-size: var(--t-stat); font-weight: 600; letter-spacing: -0.05em; line-height: .95; margin-bottom: 10px; }
.hsub .proof code { font: 400 .9em/1 var(--mono); }

/* "Tested on new PRs": headline, one compact bar pair per window */
.tested h2 { font-size: clamp(26px, 2.2vw, 40px); letter-spacing: -0.035em; line-height: 1.1; max-width: 22em; }
.tsub { margin-top: 12px; color: var(--ink2); font-size: 17px; max-width: 46em; }
.pbars { margin: 24px 0 0; display: grid; gap: 14px; max-width: 760px; border-top: 1.5px solid var(--ink); padding-top: 20px; }
.pb { display: grid; grid-template-columns: 10.5em minmax(0, 1fr); align-items: center; column-gap: 16px; }
.pb dt { font-size: 16px; color: var(--ink2); }
.pb dd { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 3.4em; align-items: center; column-gap: 14px; }
.pb dd .num { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; text-align: right; }
.pb.m dd .num { color: var(--flag-ink); }
.pbt { display: block; height: 12px; border-radius: 6px; background: var(--paper2); overflow: hidden; }
.pbt i { display: block; height: 100%; border-radius: 6px; background: var(--mute); }
.pb.m .pbt i { background: var(--flag); }
.pearly { margin-top: 30px; font-size: 16px; color: var(--ink2); max-width: 46em; }
.pbars.sm { margin-top: 12px; padding-top: 14px; gap: 10px; border-top-width: 1px; border-top-color: var(--line); }
.pbars.sm .pb dt { font-size: 15px; }
.pbars.sm .pb dd .num { font-size: 19px; }
.pbars.sm .pbt { height: 8px; }
.pcap { margin-top: 22px; font-size: 15px; color: var(--mute); max-width: 52em; }
.pcap .lnk { margin-left: 4px; }
@media (max-width: 600px) {
  .pb { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
}

/* replayed case cards (hero and "What it would have flagged"): equal height, three steps each */
.caught .sub { margin-top: 14px; color: var(--ink2); font-size: 17px; max-width: 46em; }
.cases { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.case { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s; }
.case:hover { border-color: var(--ink2); }
.case-repo { font-size: 13px; color: var(--mute); }
.prb { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; text-align: left; cursor: pointer; }
.case-t { font-weight: 600; font-size: 18px; line-height: 1.35; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.case-t:hover { text-decoration: underline; text-decoration-color: var(--flag); text-underline-offset: 4px; }
.steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; flex: 1; align-content: start; }
.st { position: relative; padding: 0 0 14px 22px; }
.st:last-child { padding-bottom: 0; }
.st::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.st:not(:last-child)::after { content: ""; position: absolute; left: 4.5px; top: calc(.45em + 14px); bottom: 2px; width: 1px; background: var(--line); }
.st-flag::before { background: var(--flag); }
.st-bad::before { background: var(--flag-ink); }
.st-k { display: block; font-size: 13px; font-weight: 600; color: var(--mute); letter-spacing: .01em; }
.st-v { display: block; margin-top: 2px; font-size: 15px; line-height: 1.45; color: var(--ink2); overflow-wrap: anywhere; }
.st-bad .st-v { color: var(--flag-ink); }
.st-v a { color: inherit; }
.st-v code { font: 400 .9em/1.45 var(--mono); overflow-wrap: anywhere; }
@media (max-width: 1020px) { .cases { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .case { padding: 22px 20px; } }

/* example facts */
.bigfacts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 22px; }
.bigfacts > span { display: flex; flex-direction: column; color: var(--ink2); font-size: 15px; }
.bigfacts .num { font-size: var(--t-num); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--ink); margin-bottom: 6px; }
.agents .col > p { max-width: 40em; }

/* where it runs (pricing) and where your code goes */
.plan .runs { margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
.plan.feat .runs { border-top-color: var(--pline); color: var(--ptext); }
.plan .runs + ul { margin-top: 0; }
.where-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.where-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.where-list b { font-weight: 600; }
.where-list p { margin-top: 4px; color: var(--ink2); font-size: 15.5px; max-width: 40em; }

/* pricing */
.trio.duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.plans .plans-head { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 12px; }
.plans .plans-head p { justify-self: center; }
.plans-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: end; }
.plans-head p { color: var(--ink2); font-size: 18px; max-width: 32em; justify-self: end; }
.plans .small { margin-top: 56px; text-align: center; font-size: 15px; }
.plans .small + .small { margin-top: 12px; }
@media (max-width: 1020px) {
  .plans-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .plans-head p { justify-self: start; }
}
@media (max-width: 760px) {
  .trio.duo { grid-template-columns: minmax(0, 1fr); }
}

/* responsive */
@media (max-width: 1280px) {
  .example { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .example .wide { grid-column: 1 / -1; }
  .trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trio #pricing { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  .hero, .rhead, .rgrid, .reqsec { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .rgrid { gap: 0; }
}
@media (max-width: 760px) {
  .example, .trio { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .acts .btn { flex: 1 1 auto; }
  .rp { border-radius: 12px; }
  .rp-bar { padding: 12px 14px; gap: 10px; }
  .rp-repos { display: none; }
  .rp-pause { margin-left: auto; }
  .rp-body { grid-template-columns: minmax(0, 1fr); }
  .rp-find { order: -1; min-height: 330px; padding: 18px 16px; border-bottom: 1px solid var(--pline); }
  .rp-feed { height: 300px; border-right: 0; }
  .pr { grid-template-columns: 62px minmax(0, 1fr) auto; padding: 9px 14px; column-gap: 10px; }
  .pr .tt b { font-size: 14px; }
  .find { gap: 12px; }
  .find h3 { font-size: 17px; }
  .find .fr { padding: 13px; }
  .find .fr .rtext { font-size: 14.5px; }
  .rp-tally { padding: 14px; gap: 6px 16px; font-size: 12px; }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .rank thead { display: none; }
  .rank tr { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 10px; row-gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .rank td { border: 0; padding: 0; }
  .rank td:first-child { grid-row: span 4; }
  .rank td:nth-child(n+2) { grid-column: 2; }
  .rank .num { text-align: left; }
  .price th, .price td { display: block; padding: 0; border: 0; }
  .price tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .price td { font-size: 14.5px; }
  .out { white-space: normal; }
  .ptable tr { grid-template-columns: minmax(0, 1fr); }
  .ptable td:first-child { grid-row: auto; }
  .ptable td:nth-child(n+2) { grid-column: 1; font-size: 13px; }
  .ptable td[data-l]::before { content: attr(data-l) ": "; color: var(--mute); }
  .ptable tr.pooled { background: var(--paper2); border-top: 1.5px solid var(--ink); padding: 12px 10px; }
  .ptable .pooled td { border-top: 0; background: none; }
}
/* anchor cue: the target's heading flashes for 1.2s (site.js); targets clear the sticky nav (64px) */
[id]:not(section) { scroll-margin-top: 80px; }
.anchor-hl { animation: anchor-hl 1.2s ease-out; border-radius: 6px; }
@keyframes anchor-hl { from { background-color: color-mix(in srgb, var(--flag) 28%, transparent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--flag) 28%, transparent); } to { background-color: transparent; box-shadow: 0 0 0 6px transparent; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}


/* home: full-bleed section bands */
.band { background: var(--paper2); --mute: #5d655f; }
.band .pbt { background: var(--line); }
.band .field em { color: var(--mute); }
main > .band:last-child { margin-bottom: 0; }
main:has(> .band:last-child) + footer { margin-top: 0; }

/* home: hero grid texture (static, fades out downward) */
.heroband { position: relative; isolation: isolate; }
.heroband::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, rgba(16, 21, 18, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(16, 21, 18, .05) 1px, transparent 1px);
  background-size: 44px 44px; background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .7) 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .7) 55%, transparent 100%); }

/* home: hero (approved, then broke) and the example PR comment */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(40px, 4.4vw, 80px); max-width: 11em; }
.hlead { margin-top: 22px; font-size: clamp(18px, 1.3vw, 22px); color: var(--ink2); max-width: 30em; }
.hero .acts { align-items: center; gap: 14px 26px; margin-top: 32px; }
.hero .acts .btn { height: 52px; padding: 0 26px; font-size: 16.5px; }
.approved .sub { margin-top: 14px; color: var(--ink2); font-size: 17px; max-width: 46em; }
.hsupport { margin-top: 22px; font-size: 16px; color: var(--ink2); max-width: 52em; }
.hsupport .lnk { margin-left: 4px; }
.hcard { min-width: 0; }
@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 760px) {
  .hero .acts .btn { flex: 0 1 auto; }
}
/* hero example comment, styled like a GitHub PR-conversation comment (no GitHub marks).
   The site has no dark theme; the box keeps explicit light colors so a forced dark scheme can't break it. */
.hcard { --gh-fg: #1f2328; --gh-muted: #59636e; --gh-border: #d0d7de; --gh-head: #f6f8fa; --gh-bg: #fff; --gh-link: #0969da; --gh-code: rgba(129, 139, 152, .12);
  --gh-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif; --gh-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --av: 40px; --avgap: 16px; color-scheme: light; font-family: var(--gh-font); color: var(--gh-fg); }
.ghc-tabs { display: flex; gap: 4px; margin: 0 0 22px calc(var(--av) + var(--avgap)); border-bottom: 1px solid var(--gh-border); font-size: 14px; color: var(--gh-muted); }
.ghc-tabs span { padding: 8px 12px 9px; margin-bottom: -1px; border-bottom: 2px solid transparent; white-space: nowrap; }
.ghc-tabs .on { color: var(--gh-fg); font-weight: 600; border-bottom-color: var(--flag); }
.ghc-thread { position: relative; display: grid; grid-template-columns: var(--av) minmax(0, 1fr); gap: var(--avgap); align-items: start; }
.ghc-thread::before { content: ""; position: absolute; z-index: 0; left: calc(var(--av) / 2 - 1px); top: -22px; bottom: -28px; width: 2px; background: var(--gh-border); }
.ghc-av { position: relative; z-index: 1; width: var(--av); height: var(--av); border-radius: 50%; background: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px rgba(31, 35, 40, .15); }
.ghc-av svg { width: 55%; height: 55%; fill: none; stroke: #f1f2ed; stroke-width: 2.8; stroke-linecap: round; }
.ghc-av svg circle { fill: var(--flag); stroke: none; }
.ghc { position: relative; z-index: 1; min-width: 0; background: var(--gh-bg); border: 1px solid var(--gh-border); border-radius: 6px; }
.ghc::before, .ghc::after { content: ""; position: absolute; top: 11px; right: 100%; width: 0; height: 0; border: 8px solid transparent; pointer-events: none; }
.ghc::before { border-right-color: var(--gh-border); }
.ghc::after { margin-right: -1px; border-right-color: var(--gh-head); }
.ghc-head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; padding: 8px 16px; min-height: 40px; box-sizing: border-box; background: var(--gh-head); border-bottom: 1px solid var(--gh-border); border-radius: 6px 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--gh-muted); }
.ghc-head b { color: var(--gh-fg); font-weight: 600; }
.ghc-bot { padding: 0 7px; border: 1px solid var(--gh-border); border-radius: 2em; font-size: 12px; font-weight: 500; line-height: 18px; color: var(--gh-muted); }
.ghc-eg { padding: 0 8px; border: 1px solid var(--gh-fg); border-radius: 2em; font-size: 12px; font-weight: 600; line-height: 18px; color: var(--gh-fg); }
.ghc-more { margin-left: auto; padding-left: 8px; font-weight: 700; letter-spacing: 1px; color: var(--gh-muted); }
.ghc-body { padding: 16px; font-size: 14px; line-height: 1.5; color: var(--gh-fg); overflow-wrap: break-word; }
.ghc-body > * { margin: 0 0 16px; }
.ghc-body > :last-child { margin-bottom: 0; }
.ghc-h { font-size: 1.25em; font-weight: 600; line-height: 1.25; }
.ghc-body code { font: .85em/1.5 var(--gh-mono); background: var(--gh-code); padding: .2em .4em; border-radius: 6px; overflow-wrap: normal; word-break: normal; }
.ghc-body a { color: var(--gh-link); text-decoration: none; }
.ghc-body a:hover { text-decoration: underline; }
.ghc-ex { padding-left: 2em; list-style: disc; }
.ghc-ex li + li { margin-top: .25em; }
.ghc-fx { color: var(--gh-muted); }
@media (max-width: 760px) {
  .hcard { --av: 28px; --avgap: 10px; }
  .ghc-tabs { margin-bottom: 16px; font-size: 13px; }
  .ghc-tabs span { padding: 6px 8px 7px; }
  .ghc-thread::before { top: -16px; }
  .ghc::before, .ghc::after { top: 6px; }
  .ghc-body { padding: 12px; }
}


/* /compare: one table; scrolls sideways on narrow screens with the question column pinned */
.cmppage .rhead { grid-template-columns: minmax(0, 1fr); }
.cmppage, .cmppage .rsec { min-width: 0; }
.cmpwrap { position: relative; margin-top: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1.5px solid var(--ink); max-width: min(100%, calc(100vw - 2 * var(--gut))); }
table.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { text-align: left; vertical-align: middle; padding: 16px 14px; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.cmp tbody th { font-size: 15px; font-weight: 500; color: var(--ink); width: 26%; min-width: 13em; padding-left: 0; }
.cmp th[scope="row"], .cmp thead th:first-child { position: sticky; left: 0; background: var(--paper); z-index: 1; }
.cmp .us { background: var(--paper2); }
.cmp td { color: var(--ink); }
.cv { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.cv svg { width: 18px; height: 18px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cv.yes svg { stroke: var(--ok); }
.cv.no svg { stroke: var(--mute); }
.cv.unk { color: var(--mute); }
.cv.txt { font-size: 14.5px; }
.cmpkey { margin-top: 14px; font-size: 14px; color: var(--mute); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.cmpkey .cv { margin-left: 10px; }
.cmpkey .cv:first-child { margin-left: 0; }
.cmpkey .cv svg { width: 15px; height: 15px; }
.cmpfoot { margin-top: 10px; font-size: 13.5px; color: var(--mute); }
.cmpsrc { margin-top: 28px; }
.cmpsrc summary { cursor: pointer; font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; }
.srcs { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1.5px solid var(--ink); font-size: 14px; color: var(--ink2); }
.srcs li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4px 20px; padding: 9px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.srcs a { color: var(--ink); }
@media (max-width: 760px) {
  .cmp tbody th { min-width: 9.5em; font-size: 14px; padding-right: 10px; }
  .cmp th, .cmp td { padding: 12px 10px; }
  .cmp td { min-width: 7.5em; }
  .cmp th[scope="row"] { box-shadow: 1px 0 0 var(--line); }
  .srcs li { grid-template-columns: minmax(0, 1fr); }
}


/* PR preview card (public/pr-card.js): an overlay, so opening it never moves the page */
.prb[aria-expanded="true"] { text-decoration: underline; text-decoration-color: var(--flag); }
.rank td .prb { font: 500 14px/1.3 var(--mono); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rank tr[data-pr] { cursor: pointer; }
.rank tr[data-pr]:hover td { background: color-mix(in srgb, var(--paper2) 70%, transparent); }
.pr button.num { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: 500 13px/1.2 var(--mono); color: var(--pmute); }
.pr button.num:hover { color: var(--ptext); }
.pr[data-pr] { cursor: pointer; }
.prc { position: absolute; z-index: 40; width: 400px; max-width: calc(100vw - 24px); max-height: min(560px, calc(100vh - 24px)); overflow: auto; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 60px -24px rgba(16, 21, 18, .45); padding: 14px 18px 16px; font-size: 14px; line-height: 1.45; }
.prc[hidden] { display: none; }
.prc:focus { outline: none; }
.prc:focus-visible { outline: 2.5px solid var(--flag); outline-offset: 2px; }
.prc.sheet { position: fixed; left: 8px; right: 8px; bottom: 8px; top: auto !important; width: auto; max-width: none; max-height: 78vh; border-radius: 14px; }
.prc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--mute); }
.prc-x { flex: none; width: 32px; height: 32px; margin: -6px -8px -6px 0; border: 0; background: none; border-radius: 8px; font: 400 22px/1 var(--sans); color: var(--ink2); cursor: pointer; }
.prc-x:hover { background: var(--paper2); }
.prc-t { margin-top: 6px; font-weight: 600; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.prc-dl { margin: 12px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.prc-row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; }
.prc-row dt { font-size: 12.5px; color: var(--mute); padding-top: 1px; }
.prc-row dd { margin: 0; min-width: 0; overflow-wrap: anywhere; color: var(--ink2); }
.prc-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font: 400 12.5px/1.4 var(--mono); }
.prc-more { margin-top: 3px; font-size: 12.5px; color: var(--mute); }
.prc-d { display: block; font-size: 12.5px; color: var(--mute); }
.prc-bad { color: var(--flag-ink); font-weight: 600; }
.prc-ok { color: var(--ok); font-weight: 600; }
.prc-fix { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.prc-fix a, .prc-gh { color: #0a58b5; }
.prc-gh { display: inline-block; margin-top: 14px; font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 599px) { .prc-row { grid-template-columns: minmax(0, 1fr); gap: 2px; } }


/* /compare: notes after a mark */
.cv.part { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.cnote { font-size: 13.5px; color: var(--ink2); }

/* home: "What Precall learned from Hono" */
.orghead { display: flex; align-items: center; gap: 14px; }
.orgav { width: 40px; height: 40px; border-radius: 9px; flex: none; border: 1px solid var(--line); background: #fff; }
.col > .hstat { margin-top: 12px; font-size: 15px; color: var(--mute); }
.hrules code { font: 500 .92em/1.3 var(--mono); }
.col > .hmore { margin-top: 18px; display: inline-block; }
/* home: how it works, three steps */
.how3 { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.how3 li { min-width: 0; padding: 26px 26px 28px 0; border-top: 1.5px solid var(--ink); }
.how-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 15px/1 var(--sans); }
.how3 h3 { margin: 18px 0 0; font-size: 21px; letter-spacing: -0.02em; }
.how3 p { margin-top: 8px; color: var(--ink2); font-size: 16px; max-width: 26em; }
@media (max-width: 1020px) { .how3 { grid-template-columns: minmax(0, 1fr); gap: 0; } .how3 li { padding: 20px 0 22px; } }
.example > .col > :first-child { margin-top: 0; }
.example .orghead { align-items: flex-start; }
.example .orghead .orgav { margin-top: 2px; }
.example .col > h3:first-child { margin-bottom: 0; line-height: 1.2; }
.example .col > h3:first-child + .hrules { margin-top: 14px; }
.example > .repsec { grid-column: 1 / -1; }
.rephead { margin-top: 0; }
.example .replinks { margin-top: 14px; column-count: 3; column-gap: var(--gap); }
.example .replinks li { break-inside: avoid; }
.example .replinks b { font-size: 16px; }
.replinks .num { display: inline-block; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 1020px) { .example .replinks { column-count: 2; } }
@media (max-width: 760px) { .example .replinks { column-count: 1; } }

/* home: final call to action */
.endcta { text-align: center; }
.endcta h2 { max-width: 16em; margin: 0 auto; }
.endcta > p { margin: 16px auto 0; color: var(--ink2); font-size: 18px; max-width: 34em; }
.endcta .acts { justify-content: center; align-items: center; gap: 14px 26px; margin-top: 30px; }
.endcta .acts .btn { height: 52px; padding: 0 26px; font-size: 16.5px; }

/* /start wizard and /contact: one narrow column */
.wiz, .talk { max-width: 680px; margin: 0 auto; }
.wiz-head h1, .talk h1 { font-size: clamp(38px, 4.4vw, 64px); letter-spacing: -0.045em; line-height: 1; }
.wiz-head .lede, .talk .lede { margin-top: 14px; }
.wiz-prog { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 32px; }
.wiz-prog i { display: block; height: 4px; border-radius: 2px; background: var(--line); transition: background .2s; }
.wiz-prog i.on { background: var(--ink); }
.step { margin-top: 28px; }
.step h2 { font-size: clamp(26px, 2.2vw, 36px); letter-spacing: -0.035em; line-height: 1.1; }
.step h2:focus, .step h2:focus-visible { outline: none; }
.step-sub, .scan-p { margin-top: 10px; color: var(--ink2); font-size: 17px; }
.step .field input, .step .field select { max-width: 100%; }
.step .fine { margin-top: 14px; min-height: 1.4em; }
.step .fine:empty { min-height: 0; margin-top: 0; }
.step rr-button-row, .talk rr-button-row { margin-top: 28px; }
.stream { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.stream li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink2); overflow-wrap: anywhere; animation: fade .35s ease-out; }
.stream .num { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); margin-right: 6px; }
.stream code { font: 400 .9em/1.4 var(--mono); color: var(--ink); }
.stream .dots { color: var(--mute); }
.flagged { margin-top: 28px; animation: fade .35s ease-out; }
.flagged h3 { font-size: 18px; letter-spacing: -0.01em; }
.minis { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 10px; }
.mini { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; min-width: 0; }
.mini:hover { border-color: var(--ink2); }
.mini-t { font-weight: 600; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.mini-t:hover { text-decoration: underline; text-decoration-color: var(--flag); text-underline-offset: 4px; }
.mini-r { margin-top: 6px; font: 400 13px/1.45 var(--mono); color: var(--ink2); overflow-wrap: anywhere; }
.mini-r span { display: block; color: var(--mute); }
.mini-o { margin-top: 6px; font-size: 14px; color: var(--flag-ink); }
.mini-o a { color: inherit; }
.pick { border: 0; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pcard { position: relative; display: block; cursor: pointer; min-width: 0; }
.pcard input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; }
.pc { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.pc b { font-size: 19px; letter-spacing: -0.02em; }
.pc em { font-style: normal; color: var(--mute); font-size: 14px; }
.pc em strong { font-size: 30px; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); margin-right: 6px; }
.pc small { font-size: 14.5px; line-height: 1.45; color: var(--ink2); }
.pcard input:checked + .pc { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pcard input:focus-visible + .pc { outline: 2.5px solid var(--flag); outline-offset: 2px; }
.step-note { margin-top: 16px; font-size: 15px; color: var(--ink2); }
.next { margin: 22px 0 0; padding: 0 0 0 22px; display: grid; gap: 12px; font-size: 17px; color: var(--ink2); }
.next b { color: var(--ink); overflow-wrap: anywhere; }
.talk form { margin-top: 26px; }
.talk .mailline { margin-top: 14px; color: var(--ink2); }
.field textarea { display: block; width: 100%; min-height: 140px; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font: 400 15px/1.5 var(--sans); background: #fff; color: var(--ink); resize: vertical; }
.field textarea:focus { border-color: var(--ink); outline: none; }
.talk .fine { margin-top: 18px; }
.talk .fine:empty { margin-top: 0; }
@media (max-width: 640px) {
  .pick { grid-template-columns: minmax(0, 1fr); }
  .talk .fgrid { grid-template-columns: minmax(0, 1fr); }
}
