/* QA.pro Cloud — one light theme, dense, quiet. */
:root { --bg: #f8faf8; --bg-2: #eff2ef; --surface: #ffffff; --surface-2: #f4f6f4; --line: rgba(16,22,20,.08); --line-2: rgba(16,22,20,.16); --line-3: rgba(16,22,20,.46);
          --ink: #101614; --ink-2: #3c4744; --muted: #5e6b66;                       /* one cool-granite ramp at the accent's hue */
          --accent: #0a6e52; --accent-2: #075441; --accent-ink: #ffffff; --accent-soft: rgba(10,110,82,.09);   /* jade, not the stock emerald */
          --green: var(--accent); --green-bg: rgba(10,110,82,.09); --red: #a3232e; --red-bg: rgba(163,35,46,.08); --amber: #8a5008; --amber-bg: rgba(138,80,8,.10);
          --red-mark: #c8323f; --amber-mark: #c2740b;                                /* dots and rules: brighter than the words */
          --shadow: 0 1px 2px rgba(16,22,20,.05); --shadow-pop: 0 10px 30px -10px rgba(16,22,20,.20); --shadow-deep: 0 24px 60px -30px rgba(16,22,20,.30);
          --media-bg: #eef1ee; --glow: radial-gradient(60% 50% at 50% -10%, rgba(10,110,82,.07), transparent 70%);
          --r-s: 6px; --r-m: 10px; --r-l: 12px;
          color-scheme: light;
  --mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;   /* the OS face, tuned for, not a font we never ship */
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 15.5px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; text-underline-offset: 3px; }
main p a, main li a, .small a, .muted a, figcaption a { text-decoration: underline; text-underline-offset: 3px; }   /* table links sit in a column of links: context names them */   /* a link in prose is not colour alone */
main p a.button, main li a.button { text-decoration: none; }
code, pre, .mono, td.num { font-family: var(--mono); }

/* the brand mark: the drawn T-rex of static/dino.svg, painted through a mask so it takes the current text colour in either theme.
   Size it with font-size (the width follows the 56:50 art box); as an empty inline-block its feet sit on the text baseline. */
.dino { display: inline-block; width: 1.12em; height: 1em; flex: none; }
@supports (mask-image: url("/static/dino.svg")) or (-webkit-mask-image: url("/static/dino.svg")) {
  .dino { background-color: currentColor; -webkit-print-color-adjust: exact; print-color-adjust: exact;
    -webkit-mask: url("/static/dino.svg") no-repeat center / contain;
            mask: url("/static/dino.svg") no-repeat center / contain; }
}

/* header */
header.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 14px; padding: 0 20px; min-height: 54px;
  border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { color: var(--ink); font-family: var(--mono); font-size: 16.5px; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
.brand:hover { text-decoration: none; } .brand .org { color: var(--muted); font-weight: 400; }
.brand b { letter-spacing: -.02em; line-height: 1; }
/* the mark stands on the wordmark's baseline at cap height: the same bottom edge as the letters, feet on the line */
.brand { align-items: baseline; }
.brand .dino { font-size: 1.2em; align-self: baseline; margin-right: 1px; margin-bottom: -0.04em; }
header nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; margin-left: 6px; }
header nav a { padding: 5px 10px; border-radius: 7px; color: var(--ink-2); font-size: 14.5px; }
header nav a:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
header nav a.on { color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.who { color: var(--muted); font-size: 13px; margin-right: 4px; font-family: var(--mono); }
nav.anon { margin-left: auto; display: flex; gap: 10px; align-items: center; } nav.anon a { color: var(--ink-2); }
.orgpick { position: relative; } .orgpick summary { cursor: pointer; list-style: none; color: var(--ink-2); padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); font-size: 14.5px; }
.orgpick summary:hover { background: var(--surface-2); } .orgpick summary::-webkit-details-marker { display: none; }
.orgpick .menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: min(260px, calc(100vw - 24px)); max-width: calc(100vw - 24px); background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 6px; box-shadow: var(--shadow-pop); }
.orgpick .menu a { display: block; padding: 7px 10px; border-radius: 7px; color: var(--ink); font-size: 14.5px; } .orgpick .menu a:hover { background: var(--surface-2); text-decoration: none; }
.orgpick .menu a.on { background: var(--accent-soft); color: var(--accent-2); }
.newteam { display: flex; gap: 6px; padding: 8px 4px 2px; border-top: 1px solid var(--line); margin-top: 6px; } .newteam input { margin: 0; padding: 6px 8px; font-size: 14.5px; }

main { max-width: 1232px; margin: 0 auto; padding: 26px 20px 72px; width: 100%; flex: 1; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; font-family: var(--mono); border-top: 1px solid var(--line); }
h1 { font-size: 26.5px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
h2 { font-size: 17.5px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin: 0 0 12px; text-wrap: balance; }
.card > h2, .card .head h2 { font-size: 17.5px; }
h3 { font-size: 14.5px; margin: 18px 0 8px; color: var(--ink-2); }
p { margin: 0 0 10px; }

/* surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; margin: 0 0 16px; box-shadow: var(--shadow); }
.card.narrow { max-width: 440px; margin: 56px auto; } .card.narrow-left { max-width: 506px; }
.card.note { border-color: var(--line); background: color-mix(in srgb, var(--accent) 4%, var(--surface)); }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .row.head { justify-content: space-between; margin-bottom: 6px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0 0 14px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; box-shadow: var(--shadow); }
.tile b { display: block; font-size: 26.5px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.tile span { color: var(--muted); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono); }
.tile.warn { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-bg); }

/* tables */
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; font-family: var(--mono); }
tbody tr:hover > td { background: var(--surface-2); } tr.detail:hover > td, tr.detail td { background: transparent; }
tbody tr:last-child > td { border-bottom: 0; }
tr.off td { color: var(--muted); } tr.off td a { color: var(--muted); } td.actions { white-space: nowrap; text-align: right; }
tr.detail td { padding-top: 0; }

/* status */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .01em;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); flex: none; }
.pill:not(.green):not(.red):not(.amber) { background: none; border-color: transparent; padding: 2px 0; gap: 7px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }   /* a state, not a badge: only problems carry a tint */
.pill.green { background: var(--green-bg); color: var(--green); border-color: transparent; } .pill.green::before { background: var(--green); }
.pill.red { background: var(--red-bg); color: var(--red); border-color: transparent; } .pill.red::before { background: var(--red-mark); }
.pill.amber { background: var(--amber-bg); color: var(--amber); border-color: transparent; } .pill.amber::before { background: var(--amber-mark); }
h1 .pill { font-size: 13px; }
.chk { display: inline-block; margin: 3px 12px 3px 0; font-size: 14.5px; color: var(--muted); font-family: var(--sans); }   /* the same face as the run page */
.chk.pass, .chk.found { color: var(--green); } .chk.fail, .chk.blocked { color: var(--red); } .chk.absent { color: var(--muted); } .chk.skip { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); }
.spark { vertical-align: middle; } .spark.ok polyline { stroke: var(--green); } .spark.warn polyline { stroke: var(--amber); } .spark.bad polyline { stroke: var(--red); }

/* forms */
label { display: block; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
input:not([type=checkbox]), textarea, select { display: block; width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid var(--line-3); border-radius: var(--r-s); box-shadow: inset 0 1px 2px rgba(16,22,20,.04);
  background: var(--surface); color: var(--ink); font: inherit; transition: border-color .12s, box-shadow .12s; }
input:not([type=checkbox]):focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 4.5em; font-family: var(--mono); font-size: 13px; }
input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; }
label.check { display: flex; align-items: center; gap: 8px; color: var(--ink); } label.check input { margin: 0; }
label.inl { display: inline; color: var(--ink); margin: 0; font-size: 14.5px; }
.dim { opacity: .8; } .dim input { opacity: .55; }
button, .button { font: inherit; font-size: 14.5px; font-weight: 500; padding: 7px 13px; border-radius: var(--r-s); border: 1px solid var(--line-3); background: var(--surface); color: var(--ink);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .12s, border-color .12s, transform .06s; }
button:hover, .button:hover { border-color: var(--muted); text-decoration: none; } button:active { transform: translateY(1px); }
button.primary, .button.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 600; }
button.primary:hover, .button.primary:hover { background: var(--accent-2); }
button.big, .button.big { font-size: 16.5px; padding: 10px 18px; border-radius: 10px; }
button.ghost { background: transparent; border-color: transparent; color: var(--accent); padding: 4px 8px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); } button.ghost:hover { background: var(--accent-soft); }
button.danger { color: var(--red); } button.danger:hover { background: var(--red-bg); }
button:disabled { opacity: .45; cursor: default; }
form.inline { display: inline; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; } .grid3 { display: grid; grid-template-columns: 2fr 1fr auto; gap: 0 14px; align-items: end; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } header.top { padding: 0 12px; gap: 8px; } main { padding: 18px 14px 60px; } }
.msg, .err { padding: 10px 12px; border-radius: var(--r-m); font-size: 14.5px; margin-bottom: 16px; border: 1px solid transparent; }
.msg { background: var(--green-bg); color: var(--green); border-color: color-mix(in srgb, var(--green) 30%, transparent); }
.err { background: var(--red-bg); color: var(--red); border-color: color-mix(in srgb, var(--red) 30%, transparent); }
p.note { padding: 9px 12px; border-radius: 9px; font-size: 14.5px; margin-bottom: 14px; border: 1px solid var(--line-2); background: var(--accent-soft); color: var(--ink); }
pre.err { white-space: pre-wrap; font-family: var(--mono); font-size: 13px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
[hidden] { display: none !important; }
p code, li code { overflow-wrap: break-word; box-decoration-break: clone; -webkit-box-decoration-break: clone; }   /* a token or a long command inside prose wraps instead of leaving the card */
p.tabs { margin: 0 0 10px; color: var(--muted); } p.tabs a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }   /* the author display rules on button/.button must not beat the attribute */
ul.plain { list-style: none; padding: 0; margin: 8px 0 0; } ul.plain li.row { justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); margin: 0; } ul.plain li.row:last-child { border-bottom: 0; }
pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; overflow-x: auto; font-size: 13px; line-height: 1.6; }
code { font-size: 13px; background: color-mix(in srgb, var(--ink) 5%, transparent); padding: 1px 4px; border-radius: 4px; border: 0; color: var(--ink); } pre code { background: none; border: 0; padding: 0; }
.logo { height: 26px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* landing */
.hero { text-align: center; padding: 64px 0 32px; position: relative; background: var(--glow) no-repeat top center; }
.hero::before { content: ""; position: absolute; inset: -80px 0 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px;
  mask-image: radial-gradient(60% 70% at 50% 30%, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, #000 30%, transparent 100%); }
.hero .dino { display: block; margin: 0 auto 4px; font-size: 48.5px; line-height: 1; color: var(--accent-2); filter: none; }
.hero .kicker { display: inline-block; margin: 14px 0 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.hero h1 { justify-content: center; font-size: clamp(33px, 5vw, 51px); font-weight: 650; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; max-width: 900px; margin: 8px auto 14px;
  background: linear-gradient(180deg, var(--ink), var(--ink-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 680px; margin: 0 auto 24px; font-size: 17.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; } .hero .lead b { color: var(--ink); font-weight: 600; }
.hero .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.term { max-width: 760px; margin: 28px auto 0; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; text-align: left; box-shadow: var(--shadow-deep); }
.term .bar { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.term .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.term pre { border: 0; border-radius: 0; margin: 0; background: transparent; padding: 14px 16px; font-size: 13px; }
.term .ok { color: var(--green); } .term .bad { color: var(--red); } .term .dim { color: var(--muted); opacity: 1; pointer-events: auto; }
.who3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 34px 0 14px; } .who3 .card { margin: 0; }
.who3 h2 { font-size: 16.5px; }
.who3 .card p { color: var(--ink-2); margin: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* v0.3: demo bar, one-line test box, step editor, devices, pricing, tour, terminal playback */
.demobar { background: var(--accent-soft); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); padding: 7px 20px; font-size: 14.5px; text-align: center; }
.demobar form { display: inline; }
form.oneline input { padding: 10px 12px; font-size: 16.5px; }
details.step { border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; margin: 0 0 10px; background: var(--bg-2); }
details.step summary { cursor: pointer; font-weight: 500; padding: 4px 0; } details.step summary .mono { color: var(--accent); margin-right: 8px; font-size: 13px; }
details.step[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.acts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 8px; } .acts label { margin: 0; } .acts code { font-size: 12px; }
label.check.top { align-self: end; margin-bottom: 14px; }
.devices { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 14px; margin: 0 0 14px; }
label.dev { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-2); margin: 0; }
label.dev:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.small-hero { padding: 40px 0 10px; } .small-hero h1 { font-size: clamp(29px, 4vw, 42px); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0 22px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan h3 { margin: 0; font-size: 15.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-family: var(--mono); }
.plan .price { font-size: 33px; font-weight: 600; letter-spacing: -.02em; font-family: var(--mono); } .plan .price span { font-size: 14.5px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 12px; color: var(--ink-2); font-size: 14.5px; flex: 1; } .plan ul { display: grid; gap: 8px; } .plan li { padding: 0; border-top: 0; } .plan li:first-child { border-top: 0; }
.plan .button { justify-content: center; }
.faq dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 24px; margin: 0; } .faq .qa { min-width: 0; } .faq dt { font-weight: 600; margin-bottom: 3px; } .faq dd { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.teaser { margin: 48px 0 0; } .teaser h2 { font-size: 26.5px; letter-spacing: -.02em; margin-bottom: 12px; }
.teaser .card { text-align: center; padding: 26px; } .teaser p { max-width: 640px; margin: 0 auto 10px; }
.term .bar span { margin-left: auto; font-size: 12px; color: var(--muted); }
.term.play .l { display: block; opacity: 0; animation: termline .4s ease forwards; }
.term.play .l:nth-child(1) { animation-delay: .2s } .term.play .l:nth-child(2) { animation-delay: 1s } .term.play .l:nth-child(3) { animation-delay: 1.9s }
.term.play .l:nth-child(4) { animation-delay: 2.7s } .term.play .l:nth-child(5) { animation-delay: 3.5s } .term.play .l:nth-child(6) { animation-delay: 4.4s }
.term.play .l:nth-child(7) { animation-delay: 5.2s } .term.play .l:nth-child(8) { animation-delay: 6.3s } .term.play .l:nth-child(9) { animation-delay: 7.4s }
@keyframes termline { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .term.play .l { opacity: 1; animation: none; } }

/* v0.4: alert cards with screenshots, live camera feed */
.alert { border: 0; border-top: 2px solid var(--red-mark); background: none; border-radius: 0; padding: 14px 0 0; margin: 0 0 20px; box-shadow: none; }
.alert-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; } .alert-head h2 { color: var(--red); font-size: 16.5px; margin: 0 0 2px; }
.alert-head p { color: var(--ink-2); margin: 0; font-size: 14.5px; } .alert-dino { font-size: 33px; line-height: 1; filter: drop-shadow(0 0 10px var(--red-bg)); }
.alert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
article.fail, a.fail { display: grid; grid-template-columns: 150px 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; color: var(--ink); text-decoration: none; }
.fail.link:hover { border-color: var(--red); text-decoration: none; }
.fail .shot { display: block; background: var(--bg-2); border-right: 1px solid var(--line); min-height: 110px; max-height: 210px; overflow: hidden; } .fail .shot img { display: block; width: 100%; height: 100%; min-height: 110px; max-height: 210px; object-fit: cover; object-position: top; }
article.fail, a.fail { align-items: stretch; }
.fail .shot.none { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; text-align: center; padding: 8px; }
.fail-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fail-site b { font-size: 14.5px; } .fail-test { font-size: 14.5px; } .fail-test > .pill, .fail-test > b, .fail-test > .muted { vertical-align: middle; } .fail-test > .muted { white-space: nowrap; } .fail-why { color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.fail-links a { color: var(--accent); }
.shots-more { display: flex; gap: 6px; margin-top: 6px; } .shots-more img { height: 54px; width: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); }
.alert.compact .fail { grid-template-columns: 120px 1fr; } .alert.compact .fail-body { gap: 3px; }
.live { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.live h2 { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; }
.rec { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: rec 1.4s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .35; } }
.cams { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.cams:empty::after { content: "no frames yet — the first screenshot arrives once a worker has started its browser"; color: var(--muted); font-size: 13px; }
.cam { margin: 0; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.cam img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top; background: #000; }
.cam figcaption { padding: 8px 10px; font-size: 13px; display: grid; gap: 2px; } .cam b { font-family: var(--mono); font-weight: 500; } .cam span { color: var(--accent); } .cam em { color: var(--muted); font-style: normal; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .rec { animation: none; } }

footer nav.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: 10px; font-family: var(--sans); font-size: 14.5px; }
footer nav.foot a { color: var(--ink-2); } footer nav.foot a:hover { color: var(--ink); }
.legal h2 { font-size: 16.5px; margin: 18px 0 6px; } .legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-2); max-width: 72ch; }
.cmd { position: relative; } .cmd pre { margin: 0; padding-right: 84px; } .cmd .copy { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); margin: 0; background: var(--surface); border: 1px solid var(--line-3); border-radius: var(--r-s); padding: 4px 9px; text-decoration: none; }

/* v0.5: onboarding, error page, org menu extras, plan name */
.errorpage { text-align: center; } .errorpage .dino { font-size: 53px; } .errorpage .code { font-size: 48.5px; color: var(--muted); letter-spacing: .04em; } .errorpage h1 { justify-content: center; }
.errorpage p { margin-top: 12px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.menusep { border-top: 1px solid var(--line); margin: 6px 0; }
.planname { font-size: 20px; }
.button[aria-disabled] { opacity: .45; cursor: default; }
.easy .cmd { margin: 0 0 10px; } .easy pre { white-space: pre-wrap; word-break: break-all; }
/* phones: the header becomes two rows, the nav scrolls sideways in one line */
@media (max-width: 720px) {
  header.top { height: auto; padding: 8px 12px; row-gap: 6px; flex-wrap: wrap; }
  header nav { order: 3; flex: 0 0 100%; flex-wrap: wrap; margin-left: 0; row-gap: 2px; }   /* six links wrap to two rows: nothing hides off-screen */
  header nav a { flex: none; }
  .orgpick summary { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .who { display: none; }
  nav.anon { flex: 0 0 100%; justify-content: flex-start; margin-left: 0; overflow-x: auto; }
  .demobar { font-size: 13px; padding: 6px 10px; }
  .alert-grid { grid-template-columns: 1fr; } .fail { grid-template-columns: 110px 1fr; }
  h1 { font-size: 22px; }
}
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; }   /* positioned: absolutely placed .sr labels inside stay inside */
@media (max-width: 720px) { .tablewrap table { min-width: 640px; } }
.share .shots-more img, body > main .shots-more img { height: 84px; }

/* landing: the three-step install strip */
.easy { margin-top: 48px; padding: 24px 24px 16px; border-color: color-mix(in srgb, var(--accent) 22%, transparent); background: color-mix(in srgb, var(--accent) 4%, var(--surface)); }
.easy-head { text-align: center; margin-bottom: 14px; } .easy-head h2 { letter-spacing: -.02em; font-size: 24px; margin: 0 0 4px; }
.easy-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 14px; align-items: stretch; }
.easy-steps li { display: flex; gap: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-width: 0; }
.easy-steps li > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; } .easy-steps li > div > .button { align-self: flex-start; margin-top: auto; }
.easy-steps .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--mono); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.easy-steps b { font-size: 16.5px; } .easy-steps .muted { font-size: 14.5px; }
.easy .tabs { display: flex; gap: 4px; margin-top: 4px; } .easy .tab { padding: 4px 10px; font-size: 13px; border-radius: 999px; background: transparent; border: 1px solid var(--line); color: var(--muted); }
.easy .tab.on { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.easy .cmd { margin: 0; } .easy pre { white-space: pre-wrap; word-break: break-all; margin: 0; }
@media (max-width: 900px) { .easy-steps { grid-template-columns: 1fr; } }
.easy .local { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
@media (max-width: 900px) { .easy .local { grid-template-columns: 1fr; } }

/* landing: the one-prompt flow animation */
.flow { max-width: 760px; margin: 28px auto 0; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; text-align: left; box-shadow: var(--shadow-deep); position: relative; min-height: 270px; }
.flow-bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.flow-bar span.mono { margin-left: 0; font-size: 12px; color: var(--muted); }
.flow-dots { margin-left: auto; display: flex; gap: 5px; } .flow-dots b { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); display: inline-block; transition: background .3s; }
.flow[data-scene="1"] .flow-dots b:nth-child(1), .flow[data-scene="2"] .flow-dots b:nth-child(2), .flow[data-scene="3"] .flow-dots b:nth-child(3), .flow[data-scene="4"] .flow-dots b:nth-child(4) { background: var(--accent); }
.scene { position: absolute; inset: 40px 0 0; padding: 18px 20px; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.flow[data-scene="1"] .s1, .flow[data-scene="2"] .s2, .flow[data-scene="3"] .s3, .flow[data-scene="4"] .s4 { opacity: 1; transform: none; }
.flow-label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-family: var(--mono); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.flow-input { border: 1px solid var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); border-radius: 9px; padding: 12px 14px; font-size: 17.5px; background: var(--bg); min-height: 46px; }
.caret { display: inline-block; width: 2px; height: 18px; background: var(--accent); vertical-align: -3px; margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.flow-btn { display: inline-block; margin-top: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 600; padding: 8px 14px; border-radius: 8px; font-size: 14.5px; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flow-steps li { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; opacity: 0; transform: translateX(-6px); transition: all .4s ease; }
.flow[data-scene="2"] .flow-steps li { opacity: 1; transform: none; } .flow[data-scene="2"] .flow-steps li:nth-child(2) { transition-delay: .5s; } .flow[data-scene="2"] .flow-steps li:nth-child(3) { transition-delay: 1s; }
.flow-steps .mono { color: var(--accent); font-size: 13px; margin-top: 2px; } .flow-steps b { display: block; font-size: 14.5px; } .flow-steps span:not(.mono) { color: var(--muted); font-size: 13px; }
.flow-devices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dev-head { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.frame { border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); padding: 8px; display: grid; gap: 6px; margin-bottom: 8px; }
.frame.desktop { aspect-ratio: 16/6; } .frame.phone { width: 44%; aspect-ratio: 9/10; margin-left: 0; }
.frame i { display: block; height: 8px; border-radius: 4px; background: var(--line); } .frame i:nth-child(2) { width: 70%; } .frame i:nth-child(3) { width: 40%; background: var(--accent-soft); }
.dev ul { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 13px; display: grid; gap: 4px; }
.dev li { opacity: 0; transition: opacity .3s; } .flow[data-scene="3"] .dev li:nth-child(1) { opacity: 1; transition-delay: .6s; } .flow[data-scene="3"] .dev li:nth-child(2) { opacity: 1; transition-delay: 1.6s; } .flow[data-scene="3"] .dev li:nth-child(3) { opacity: 1; transition-delay: 2.7s; }
.dev li.ok { color: var(--green); } .dev li.bad { color: var(--red); }
.flow-alert { display: grid; grid-template-columns: 120px 1fr; gap: 14px; border: 1px solid color-mix(in srgb, var(--red) 45%, transparent); background: linear-gradient(180deg, var(--red-bg), transparent 60%), var(--surface); border-radius: 12px; padding: 14px; font-size: 14.5px; }
.flow-alert > div:last-child { display: grid; gap: 4px; }
.flow-shot { border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); padding: 10px 8px; display: grid; gap: 8px; align-content: start; aspect-ratio: 9/11; }
.flow-shot i { display: block; height: 8px; border-radius: 4px; background: var(--line); } .flow-shot i:nth-child(1) { background: var(--accent-soft); } .flow-shot i:nth-child(3) { width: 55%; background: var(--red-bg); }
.flow-alert-h { color: var(--red); font-weight: 600; } .flow-red { color: var(--red); font-family: var(--mono); font-size: 13px; } .flow-why { color: var(--ink-2); font-size: 13px; } .flow-sent { color: var(--muted); font-size: 13px; font-family: var(--mono); margin-top: 4px; }
@media (max-width: 640px) { .flow { min-height: 330px; } .flow-devices { grid-template-columns: 1fr; } .frame.desktop { aspect-ratio: 16/4; } }
@media (prefers-reduced-motion: reduce) { .scene, .flow-steps li, .dev li { transition: none; } .caret { animation: none; } }
.flow { min-height: 352px; } .flow-steps { gap: 6px; } .flow-steps li { padding: 7px 12px; } .flow-steps b { font-size: 14.5px; } .flow-steps span:not(.mono) { font-size: 13px; }
.frame.desktop { aspect-ratio: 16/5; padding: 7px; gap: 5px; } .frame.phone { width: 34%; aspect-ratio: 9/9; padding: 7px; gap: 5px; } .frame i { height: 7px; }
.dev ul { font-size: 13px; } .flow-devices { align-items: start; }
@media (max-width: 640px) { .flow { min-height: 540px; } .frame.desktop { aspect-ratio: 16 / 4; } }

.easy .tabs.center { justify-content: center; margin: 0 0 10px; }
.easy .cmd.big { max-width: 640px; margin: 0 auto; } .easy .cmd.big pre { font-size: 17.5px; padding: 14px 18px; text-align: left; }
.easy .cmd.big .copy { margin: 0; } .easy p.center { text-align: center; max-width: 720px; margin: 12px auto 0; }

/* landing: use cases */
.proofs td:first-child { width: 90px; } .card.verified { border-color: color-mix(in srgb, var(--green) 40%, transparent); }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 6px 0 18px; }
.door { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow); }
.door h2 { letter-spacing: -.02em; font-size: 22px; margin: 8px 0 8px; } .door .kicker { margin: 0; } .door p { margin: 0; font-size: 14.5px; }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }
p.center { text-align: center; }

/* accessibility: skip link, visually hidden labels, anchored rows land below the sticky header */
.skip { position: absolute; left: 8px; top: -40px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 6px 10px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; padding: 0; border: 0; margin: -1px; }
html { scroll-padding-top: 70px; } :target { scroll-margin-top: 70px; } @media (max-width: 720px) { html { scroll-padding-top: 130px; } :target { scroll-margin-top: 130px; } }
article.fail:target { outline: 2px solid var(--red); outline-offset: 3px; }
@media (forced-colors: active) { input:focus, textarea:focus, select:focus { outline: 2px solid Highlight; outline-offset: 1px; }
  .hero, .card, .tile, .alert, .plan, .door, .case { border: 1px solid CanvasText; }
  .pill::before, .rec, .flow-dots b { forced-color-adjust: none; background: CanvasText; }
  button.primary, .button.primary, .easy-steps .n { forced-color-adjust: none; background: ButtonText; color: Canvas; }
}
/* footer: the version line and the theme switch share one row */
.foot-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; }
.who a { color: inherit; } .who a:hover { color: var(--ink); text-decoration: none; }
a.tile { color: inherit; text-decoration: none; transition: border-color .12s; } a.tile:hover { border-color: var(--line-2); text-decoration: none; }
.orgpick .menu a[href="/account"] { display: block; }
@media (max-width: 720px) { .orgpick .menu a[href="/account"] { display: block; } .foot-row { flex-direction: column; } }
.cams .empty { grid-column: 1 / -1; margin: 0; }
.shot img, .cam img, .tour img { background: var(--media-bg); }
.inl-details { display: inline; } .inl-details summary { display: inline; cursor: pointer; color: var(--accent); } .inl-details summary.danger { color: var(--red); }
.docmd pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-x: auto; font-size: 13px; line-height: 1.5; }
.docmd h2 { margin-top: 18px; } .docmd h2:first-child { margin-top: 0; }
.hero.small-hero { padding: 26px 0 8px; } .hero.small-hero h1 { font-size: 33px; }

.orgpick .menu form.switch { margin: 0; } .orgpick .menu form.switch button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 7px 10px; border-radius: 8px; color: var(--ink); font: inherit; cursor: pointer; }
.orgpick .menu form.switch button:hover { background: var(--surface-2); } .orgpick .menu form.switch button.on { background: var(--accent-soft); color: var(--accent-2); }

/* share page: evidence a client can actually look at */
.evidence { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; grid-auto-rows: 1fr; }
.ev { margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ev img { display: block; width: 100%; aspect-ratio: 16 / 10; max-height: none; object-fit: cover; object-position: top; background: var(--media-bg); }
.ev figcaption { padding: 8px 10px; font-size: 13px; }
.share .logo { max-width: 160px; object-fit: contain; }
@media (max-width: 720px) { .share .tablewrap table { min-width: 560px; } .tablewrap::after { content: "scroll sideways for the rest →"; display: block; font-size: 12px; color: var(--muted); padding: 4px 0; } }

/* ---- run page, redesigned: a summary strip, evidence cards, a tests × results grid */
.tiles.stats .tile b small { font-size: 15.5px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.tile.good b { color: var(--green); } .tile.bad b { color: var(--red); }
.row.actions { gap: 8px; align-items: center; }
details.more { position: relative; } details.more > summary { list-style: none; cursor: pointer; font-size: 20px; line-height: 1; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); letter-spacing: .1em; }
details.more > summary::-webkit-details-marker { display: none; } details.more > summary:hover { color: var(--ink); background: var(--surface-2); }
details.more .menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 6px; box-shadow: var(--shadow-pop); min-width: 180px; }
details.more .menu form { margin: 0; } details.more .menu button { width: 100%; text-align: left; }
.sharebar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: -4px 0 14px; font-size: 14.5px; }
.sharebar a { font-family: var(--mono); font-size: 13px; min-width: 0; overflow-wrap: anywhere; }
.attention { margin: 0 0 16px; padding: 4px 0 0; border-top: 2px solid var(--red-mark); }
.attention > .row.head { align-items: baseline; margin: 10px 0 10px; } .attention h2 { color: var(--red); margin: 0; }
.fails { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; }
.failcard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.failcard:target { box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 45%, transparent), var(--shadow); outline: none; }
.failcard .pic { display: block; background: var(--media-bg); aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.failcard .pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.failcard .pic.phone { display: flex; justify-content: center; background: color-mix(in srgb, var(--media-bg) 70%, var(--surface-2)); }
.failcard .pic.phone img { width: auto; max-width: 46%; height: 100%; object-fit: cover; object-position: top; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.failcard .pic.none { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14.5px; aspect-ratio: auto; padding: 18px; }
.failcard .body { padding: 12px 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.failcard .where { font-size: 14.5px; } .failcard .where b { font-size: 14.5px; }
.failcard h3.fail-name { margin: 6px 0 0; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); display: flex; gap: 8px; align-items: baseline; }
.failcard .x { color: var(--red); font-weight: 700; }
.failcard .why { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.failcard .meta { margin: 0; } .failcard .tools { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.grid-card .row.head { margin-bottom: 8px; } .grid-card label.check { font-weight: 400; color: var(--muted); }
table.grid { border-collapse: separate; border-spacing: 0; font-size: 14.5px; width: auto; min-width: 0; }   /* as wide as its columns, never stretched over an empty card */
table.grid th.rowhead { text-align: left; font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 500; color: var(--ink); white-space: nowrap; position: sticky; left: 0; background: var(--surface); z-index: 1; border-right: 1px solid var(--line); }
table.grid thead th.rowhead { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; font-family: var(--mono); }
table.grid th.colhead { text-align: center; font-family: var(--sans); text-transform: none; letter-spacing: 0; vertical-align: bottom; min-width: 96px; padding: 8px 6px; }
table.grid th.colhead .site { display: block; font-size: 13px; font-weight: 600; color: var(--ink); max-width: 150px; margin: 0 auto; overflow-wrap: break-word; line-height: 1.25; }
table.grid th.colhead .site.url { overflow-wrap: anywhere; }   /* a bare URL has no spaces to break at */
table.grid th.colhead .site a { color: inherit; } table.grid th.colhead .dev { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
table.grid th.colhead.red .site { color: var(--red); }
table.grid td.cell { text-align: center; padding: 6px 6px; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.2; vertical-align: middle; }
table.grid td.cell.pass, table.grid td.cell.found { color: var(--ink-2); font-weight: 400; } table.grid td.cell.fail, table.grid td.cell.blocked { color: var(--red); background: color-mix(in srgb, var(--red) 5%, transparent); }
table.grid td.cell.fail a, table.grid td.cell.blocked a { color: var(--red); font-weight: 600; font-size: 16.5px; text-decoration: none; display: inline-block; min-width: 24px; }
table.grid td.cell.fail a:hover { text-decoration: underline; }
table.grid tr.has-fail th.rowhead { color: var(--ink); font-weight: 600; }
table.grid td.cell .dur { display: none; font-size: 12px; color: var(--muted); font-family: var(--mono); margin-left: 2px; }
.grid-card.with-dur td.cell .dur { display: inline-block; } .grid-card.with-dur td.cell.foot .dur { display: block; margin: 2px 0 0; }
table.grid tfoot td.cell { border-bottom: 0; border-top: 2px solid var(--line-2); padding-top: 8px; font-size: 14.5px; }
table.grid tfoot .links { display: block; font-size: 12px; margin-top: 3px; } table.grid tfoot .links a { display: inline-block; padding: 5px 4px; } table.grid tfoot .green { color: var(--green); } table.grid tfoot .red, .red { color: var(--red); } .green { color: var(--green); }
table.grid tfoot th.rowhead { border-top: 2px solid var(--line-2); }
.legend { margin: 10px 0 0; }
@media (max-width: 720px) { .fails { grid-template-columns: 1fr; } .tablewrap table.grid { min-width: 0; } table.grid th.colhead { min-width: 72px; } table.grid th.colhead .site { max-width: 90px; } }
/* phone: the summary strip keeps one line per tile — smaller figures, captions under them, the date in one piece */
@media (max-width: 600px) {
  .tiles.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tiles.stats .tile { padding: 10px 12px; } .tiles.stats .tile b { font-size: 21px; white-space: nowrap; }
  .tiles.stats .tile b small { font-size: 13px; white-space: normal; }
  .tiles.stats .tile span { font-size: 11.5px; }
  .nowrap { white-space: nowrap; }
}
.nowrap { white-space: nowrap; }

/* landing v2: compact use cases, animated peeks, a visual how-it-works */
.cases { margin: 48px 0 0; } .cases-head { text-align: center; margin-bottom: 18px; }
.cases-head h2 { letter-spacing: -.02em; font-size: 26.5px; margin: 0 0 6px; } .cases-head p { margin: 0; }
.cases-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.case { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: border-color .2s, transform .2s; }
.case:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.case-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.case h3 { margin: 0; font-size: 17.5px; letter-spacing: -.015em; line-height: 1.25; text-wrap: balance; }
.case p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.moment { margin-top: auto; padding: 9px 11px; background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.moment span { font-family: var(--mono); color: var(--muted); margin-right: 8px; } .moment b { color: var(--ink); }
.case-go { font-size: 14.5px; color: var(--accent); font-weight: 500; } .case:hover .case-go { text-decoration: underline; }
@media (max-width: 1040px) { .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cases-grid { grid-template-columns: 1fr; } }

.peeks { margin: 48px 0 0; }
.peek-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } @media (max-width: 760px) { .peek-grid { grid-template-columns: 1fr; } }
.peek { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.peek-frame { flex: 1; min-width: 0; } .peek-body { min-width: 0; }
.peek-frame { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-deep); transform-origin: 50% 60%; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s; }
.peek.wait .peek-frame { opacity: .75; } .peek.in .peek-frame { transform: none; opacity: 1; }
.peek-frame:hover { transform: scale(1.015); }
.peek-bar { display: flex; gap: 6px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.peek-bar span { margin-left: 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.peek-body { padding: 14px 16px 16px; min-height: 226px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.peek figcaption { order: -1; padding: 0 2px 2px; display: grid; gap: 2px; } .peek figcaption b { color: var(--ink); font-size: 18.5px; letter-spacing: -.015em; line-height: 1.25; } .peek figcaption span { color: var(--ink-2); font-size: 14.5px; }
.mini-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .mini-tiles div { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.mini-tiles b { display: block; font: 600 18.5px/1.1 var(--sans); color: var(--ink); letter-spacing: -.02em; margin-bottom: 2px; }
.mini-table { width: 100%; border-collapse: collapse; } .mini-table td { padding: 6px 4px; border-top: 1px solid var(--line); vertical-align: middle; } .mini-table td:first-child { color: var(--ink); }
.mini-table td:last-child { text-align: right; white-space: nowrap; }
.bar { display: inline-block; width: 6px; height: 14px; margin-left: 3px; border-radius: 2px; background: var(--green); opacity: .7; vertical-align: middle; } .bar.b2 { height: 10px; } .bar.b4 { height: 16px; } .bar.r { background: var(--red); }
.mpill { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px 1px 6px; border-radius: 999px; font-size: 12px; font-weight: 600; } .mpill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.mpill.ok { background: var(--green-bg); color: var(--accent-2); } .mpill.bad { background: var(--red-bg); color: var(--red); }
.mini-grid { width: 100%; border-collapse: collapse; } .mini-grid th { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted); text-align: center; padding: 2px 4px 6px; letter-spacing: .04em; }
.mini-grid td { padding: 5px 4px; border-top: 1px solid var(--line); } .mini-grid td:first-child { color: var(--ink); } .mini-grid td:not(:first-child) { text-align: center; width: 30%; }
.v { display: inline-flex; width: 20px; height: 20px; border-radius: 6px; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; } .v.ok { background: var(--green-bg); color: var(--green); } .v.bad { background: var(--red-bg); color: var(--red); }
.mini-why { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border: 1px solid color-mix(in srgb, var(--red) 40%, transparent); background: var(--red-bg); border-radius: 8px; line-height: 1.35; margin-top: auto; }
.mini-why .x, .mini-alert .x, .hv-row .x { color: var(--red); font-weight: 700; } .mini-why span:not(.x), .mini-alert span:not(.x) { color: var(--ink-2); font-size: 13px; }
.mini-input { overflow: hidden; border: 1px solid var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); border-radius: 8px; padding: 9px 12px; background: var(--surface); font-size: 14.5px; min-height: 36px; }
.mini-typed { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: bottom; max-width: 100%; border-right: 2px solid var(--accent); }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mini-steps li { display: flex; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; align-items: flex-start; }
.mini-steps span { font-family: var(--mono); color: var(--accent); font-size: 12px; margin-top: 2px; } .mini-steps b { display: block; font-size: 13px; } .mini-steps i { font-style: normal; color: var(--muted); font-size: 12px; }
.mini-btn { align-self: flex-start; background: var(--accent); color: var(--accent-ink); font-weight: 600; padding: 6px 12px; border-radius: 7px; font-size: 13px; }
.mini-brand { font-size: 14.5px; color: var(--ink-2); } .mini-brand b { color: var(--ink); }
.mini-shot { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: stretch; }
.mini-shot .ph { border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); padding: 10px 8px; display: grid; gap: 7px; align-content: start; }
.mini-shot .ph i { display: block; height: 7px; border-radius: 4px; background: var(--line); } .mini-shot .ph i:first-child { background: var(--accent-soft); } .mini-shot .ph i.wide { height: 22px; background: var(--red-bg); border: 1px dashed color-mix(in srgb, var(--red) 55%, transparent); }
.mini-alert { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--surface); line-height: 1.4; font-size: 14.5px; align-self: start; }
.mini-foot { display: flex; gap: 8px; align-items: center; margin-top: auto; font-size: 13px; }
/* the peeks animate once they scroll into view */
.peek.in .mini-table tr, .peek.in .mini-grid tr, .peek.in .mini-steps li, .peek.in .mini-btn, .peek.in .mini-why, .peek.in .mini-alert, .peek.in .mini-foot { animation: peekin .5s ease both; }
.peek.in .mini-table tr:nth-child(2), .peek.in .mini-grid tr:nth-child(2) { animation-delay: .1s } .peek.in .mini-table tr:nth-child(3), .peek.in .mini-grid tr:nth-child(3) { animation-delay: .2s } .peek.in .mini-table tr:nth-child(4), .peek.in .mini-grid tr:nth-child(4) { animation-delay: .3s } .peek.in .mini-grid tr:nth-child(5) { animation-delay: .4s }
.peek.in .mini-why { animation-delay: .6s } .peek.in .mini-steps li:nth-child(1) { animation-delay: 1.1s } .peek.in .mini-steps li:nth-child(2) { animation-delay: 1.25s } .peek.in .mini-steps li:nth-child(3) { animation-delay: 1.4s } .peek.in .mini-btn { animation-delay: 1.6s }
.peek.in .mini-alert { animation-delay: .3s } .peek.in .mini-foot { animation-delay: .5s }
.peek.in .mini-typed { animation: typing 1s steps(52) both, caretline 1s step-end 3; }
@keyframes caretline { 50% { border-right-color: transparent; } }
.peek.in .mpill.bad, .peek.in .v.bad { animation: peekin .5s ease both; }
@keyframes peekin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes typing { from { max-width: 0; } to { max-width: 100%; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px var(--red-bg); } }
@media (prefers-reduced-motion: reduce) { .peek-frame, .peek.in * { animation: none !important; transition: none !important; } }

.how { margin: 48px 0 0; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; position: relative; }
.how-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; position: relative; box-shadow: var(--shadow); }
.how-n { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 600 15.5px/30px var(--mono); text-align: center; }
.how-steps li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 33px; width: 14px; height: 1px; background: var(--line-3); }
.how-steps h3 { margin: 2px 0 0; font-size: 17.5px; letter-spacing: -.01em; } .how-steps p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.how-vis { margin-top: auto; padding-top: 10px; display: grid; gap: 6px; font-size: 13px; }
.hv-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.hv-row.dim { opacity: .85; } .hv-row.dim .hv-tag { color: var(--ink-2); } .hv-row.bad { border-color: color-mix(in srgb, var(--red) 40%, transparent); background: var(--red-bg); }
.hv-url { color: var(--ink); font-family: var(--mono); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; } .hv-tag { color: var(--muted); font-size: 12px; white-space: nowrap; }
.hv-url .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.hv-chips { display: flex; gap: 6px; } .hv-chip { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--muted); } .hv-chip.on { background: var(--green-bg); color: var(--green); border-color: transparent; font-weight: 600; }
@media (max-width: 820px) { .how-steps { grid-template-columns: 1fr; } .how-steps li:not(:last-child)::after { display: none; } }

/* pricing: questions as cards */
.faq h2 { text-align: center; font-size: 24px; letter-spacing: -.02em; margin-bottom: 16px; }
.faq dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.faq .qa { min-width: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 44px; position: relative; }
.faq .qa::before { content: "?"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 14.5px/22px var(--mono); text-align: center; }
.faq dt { font-weight: 600; margin-bottom: 4px; font-size: 15.5px; } .faq dd { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 900px) { .faq dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .faq dl { grid-template-columns: 1fr; } }

/* dashboard: getting started as a progress strip, failures one per test */
.onboarding { padding: 16px 20px 18px; }
.onboarding .row.head { margin-bottom: 10px; } .onboarding .row.head h2 { display: flex; align-items: center; gap: 10px; }
.progress { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; margin: 0 0 14px; } .progress i { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width .6s ease; }
.onboarding .steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; counter-reset: st; }
.onboarding .steps li { counter-increment: st; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); position: relative; min-width: 0; font-size: 14.5px; }
.onboarding .steps li::before { content: counter(st); width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.onboarding .steps li.ok::before { content: "✓"; background: var(--green-bg); color: var(--green); border-color: transparent; }
.onboarding .steps li.ok { background: var(--bg-2); } .onboarding .steps li.ok a { color: var(--ink-2); }
.onboarding .steps li.next { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); } .onboarding .steps li.next::before { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.onboarding .steps li a { font-weight: 600; color: var(--ink); } .onboarding .steps li .hint { color: var(--muted); font-size: 13px; line-height: 1.4; }
.onboarding .steps li.next .hint { color: var(--ink-2); } .onboarding .steps li .go { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--accent); font-weight: 600; }
@media (max-width: 900px) { .onboarding .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 480px) { .onboarding .steps { grid-template-columns: 1fr; } }
.failrows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } @media (max-width: 820px) { .failrows { grid-template-columns: 1fr; } }
a.failrow { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 12px 8px 8px; color: var(--ink); text-decoration: none; min-width: 0; transition: border-color .2s, transform .2s; }
a.failrow:hover { border-color: var(--red); text-decoration: none; transform: translateY(-1px); }
.failrow .thumb { width: 92px; height: 60px; border-radius: 7px; overflow: hidden; background: var(--media-bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.failrow .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; } .failrow .thumb.phone img { width: auto; max-width: 54%; }
.failrow .thumb.none { color: var(--muted); font-size: 11.5px; text-align: center; padding: 4px; font-family: var(--mono); }
.failrow .fr-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.failrow .fr-name { font-weight: 600; font-size: 15.5px; display: flex; gap: 6px; align-items: baseline; } .failrow .fr-name .x { color: var(--red); }
.failrow .fr-why { color: var(--ink-2); font-size: 13px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.failrow .fr-meta { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .failrow .fr-meta b { color: var(--ink-2); font-weight: 500; }
.failrow .chev { color: var(--muted); font-size: 20px; } a.failrow:hover .chev { color: var(--red); }

/* the hero demo panel is the one dark thing on the page: it reads as a screen */
.flow { --bg: #0a0c0a; --bg-2: #0f120f; --surface: #121612; --surface-2: #171c17; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14); --line-3: rgba(255,255,255,.38); --ink: #e7eae4; --ink-2: #b7bdb4; --muted: #7f877d; --accent: #2ecf9b; --accent-2: #a7f3d0; --accent-ink: #04241a; --accent-soft: rgba(52,211,153,.12); --green: #34d399; --green-bg: rgba(52,211,153,.12); --red: #f87171; --red-bg: rgba(248,113,113,.12); --amber: #fbbf24; --amber-bg: rgba(251,191,36,.12); --media-bg: #000; color-scheme: dark; color: var(--ink); border-color: rgba(255,255,255,.12); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }

/* a finger, not a mouse: the small evidence links and checkboxes grow */
@media (pointer: coarse) { table.grid tfoot .links a, .failcard .tools a, .sharebar a { display: inline-block; padding: 8px 6px; } input[type=checkbox] { width: 24px; height: 24px; } }
/* the run grid card hugs its table; the runs page tabs are a real control */
.grid-card { width: fit-content; max-width: 100%; min-width: min(100%, 520px); }
.seg { display: inline-flex; gap: 4px; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--bg-2); }
.seg a { padding: 4px 12px; border-radius: 999px; font-size: 14.5px; color: var(--muted); text-decoration: none; } .seg a[aria-current] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.seg a:hover { text-decoration: none; color: var(--ink); }
.spark.big { max-width: 100%; height: auto; }
.flow-chips { display: flex; flex-wrap: wrap; gap: 6px; } .flow-chips span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); background: var(--surface); }
.flow-hint { margin-top: 14px; font-size: 13px; color: var(--muted); }
.flow-after { margin-top: 12px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; } .flow-after .ok { color: var(--green); font-weight: 700; }
table.grid td.cell .passive small { font-size: 10px; vertical-align: super; color: var(--muted); margin-left: 1px; }   /* a pass earned without acting */
/* the client's report on a phone: one stacked card per site and device, not a sideways table */
.share .chk.passive small { font-size: 10px; vertical-align: super; color: var(--muted); }
@media (max-width: 720px) {
  .share .tablewrap table { min-width: 0; width: 100%; }
  .share .tablewrap::after { display: none; }
  .share .tablewrap thead { display: none; }
  .share .tablewrap tr, .share .tablewrap td { display: block; width: 100%; box-sizing: border-box; }
  .share .tablewrap tr { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 0 0 10px; background: var(--surface); }
  .share .tablewrap tr.detail { border-top: 0; border-radius: 0 0 10px 10px; margin-top: -11px; padding-top: 4px; }
  .share .tablewrap td { border: 0; padding: 4px 0; }
  .share .tablewrap td[data-l]::before { content: attr(data-l); display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
}
@media (max-width: 480px) { .orgpick .menu { left: auto; right: 0; } }
header.top .inline button.ghost { color: var(--muted); text-decoration: none; font-size: 14.5px; } header.top .inline button.ghost:hover { color: var(--ink); background: var(--surface-2); }
.share .chk { display: inline-block; min-width: 180px; margin: 2px 8px 2px 0; }
td.when, td.dur { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.tiles.stats .tile-note { display: block; font-style: normal; font-size: 13px; color: var(--muted); font-family: var(--sans); text-transform: none; letter-spacing: 0; margin-top: 2px; }
.devg { display: inline-block; width: 12px; height: 9px; border: 1.5px solid currentColor; border-radius: 2px; vertical-align: -1px; margin-right: 6px; opacity: .8; }
.devg.mobile { width: 8px; height: 12px; vertical-align: -2px; }

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
fieldset.bare{border:0;padding:0;margin:0;min-width:0}
fieldset.bare:disabled .card{opacity:.85}

/* about page: facts strip, illustrated principle cards, a timeline and the mascot */
.about-facts { margin: 6px 0 0; }
.about-facts .tile { text-align: center; }
.about-cards { margin-top: 24px; }
.about-cards .card { display: flex; flex-direction: column; gap: 10px; }
.about-cards h2 { margin: 6px 0 0; }
.about-viz { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; display: grid; gap: 10px; min-height: 118px; align-content: center; }
.about-viz .mono { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0; }
.about-verdict { display: flex; align-items: center; gap: 10px; }
.about-shot { flex: 1; display: grid; gap: 4px; padding: 6px 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; }
.about-shot i { display: block; height: 6px; border-radius: 3px; background: var(--line-2); width: 85%; }
.about-shot i.w60 { width: 60%; } .about-shot i.w40 { width: 40%; } .about-shot i.w70 { width: 70%; } .about-shot i.w30 { width: 30%; }
.about-shot.red { border-color: color-mix(in srgb, var(--red) 45%, transparent); } .about-shot.red i:first-child { background: color-mix(in srgb, var(--red) 55%, transparent); }
.about-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; }
.about-flow .node { padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); }
.about-flow .node.accent { border-color: var(--accent); color: var(--accent-2); }
.about-flow .arrow { color: var(--muted); }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 13px; }
.about-split b { display: block; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 6px; }
.about-split div:last-child b { color: var(--accent); }
.about-split ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--ink-2); }
.about-split li::before { content: "✓ "; color: var(--accent); }
.how-vis .accent-text { color: var(--accent-2); font-weight: 600; }
.how-vis s { color: var(--muted); }
.about-story { margin-top: 48px; }
.about-timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.about-timeline::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; background: var(--line-2); }
.about-timeline li { position: relative; padding-top: 22px; }
.about-timeline .dot { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line-2); }
.about-timeline b { display: block; margin-bottom: 4px; }
.about-timeline p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.about-dino { display: flex; gap: 22px; align-items: center; margin-top: 14px; }
.about-dino .dino.big { font-size: 96px; color: var(--accent-2); width: 1.12em; height: 1em; }
.about-dino p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .about-timeline { grid-template-columns: 1fr; gap: 14px; } .about-timeline::before { left: 7px; right: auto; top: 7px; bottom: 7px; width: 2px; height: auto; }
  .about-timeline li { padding-top: 0; padding-left: 26px; }
  .about-dino { flex-direction: column; text-align: center; } .about-split { grid-template-columns: 1fr; }
}

/* landing: the two doors and the price ladder */
.doors-wrap { margin: 48px 0 0; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 14px; }
.door { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 18px; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.door:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.door-kicker { display: inline-block; align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding: 3px 9px; border-radius: 999px; }
.door-kicker.alt { color: var(--ink-2); background: var(--bg-2); border-color: var(--line-2); }
.door h3 { margin: 4px 0 0; font-size: 20px; letter-spacing: -.015em; color: var(--ink); }
.door p { margin: 0; color: var(--ink-2); }
.door ul { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; gap: 6px; color: var(--ink-2); font-size: 14.5px; }
.door li::before { content: "✓"; color: var(--accent); font-weight: 600; margin-right: 8px; }
.door-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.door-foot .mono { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.door-go { color: var(--accent); font-weight: 600; font-size: 14.5px; }
.ladder { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.rung { flex: 1 1 130px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: baseline; padding: 6px 10px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); }
.rung b { font-size: 14.5px; } .rung > span { font-family: var(--mono); font-size: 14.5px; color: var(--ink); text-align: right; }
.rung small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.rung.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.ladder .button { align-self: center; margin-left: auto; }
@media (max-width: 720px) { .doors { grid-template-columns: 1fr; } .ladder .button { margin-left: 0; width: 100%; justify-content: center; } }

/* docs: jump nav, option lists, four-step start, reference table; pricing: compare table */
.docs-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 22px; }
.docs-nav a { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line-2); background: var(--surface); padding: 5px 11px; border-radius: 999px; }
.docs-nav a:hover { border-color: var(--accent); color: var(--accent-2); text-decoration: none; }
.docs-sec { scroll-margin-top: 70px; }
.docs-sec + .docs-sec { margin-top: 18px; }
.docs-sec h2 .muted { font-family: var(--mono); font-weight: 400; text-transform: uppercase; letter-spacing: .07em; margin-left: 8px; }
.docs-opts { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px 18px; color: var(--ink-2); font-size: 14.5px; }
.docs-opts code { margin-right: 6px; }
.docs-list { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 6px; }
.how-steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .how-steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .how-steps.four { grid-template-columns: 1fr; } }
.docs-ref th { text-align: left; white-space: nowrap; color: var(--ink); font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 600; vertical-align: top; padding-right: 18px; }
.docs-ref td code { margin: 1px 0; display: inline-block; }
.compare { margin-top: 26px; }
.compare td:first-child { color: var(--ink); font-weight: 500; }
.compare td, .compare th { text-align: center; } .compare td:first-child, .compare th:first-child { text-align: left; }
.compare th:nth-child(4), .compare td:nth-child(4) { background: var(--accent-soft); }
.plan p.muted { min-height: 1.5em; }
.doors + .plans { margin-top: 22px; }

p.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

/* auth cards */
.auth { padding: 30px 30px 26px; }
.auth-head { text-align: center; margin-bottom: 18px; } .auth-head .dino { font-size: 40px; color: var(--accent-2); display: block; margin: 0 auto 6px; width: 1.12em; height: 1em; }
.auth-head h1 { justify-content: center; margin: 0 0 4px; } .auth-head p { margin: 0; }
.auth label { position: relative; }
.auth-forgot { position: absolute; right: 0; top: 0; }
button.wide, .button.wide { width: 100%; justify-content: center; margin-top: 4px; }
.auth-alt { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.docs-opts { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 18px; }
.docs-opts li { display: grid; gap: 2px; } .docs-opts code { justify-self: start; }

.plans-wrap { margin: 14px 0 0; }

.share td.again { color: var(--muted); }
@media (max-width: 720px) { .share td.again { color: var(--ink); } }
