/* prova.observer: graphite and focus green (see prova-observer docs/brand.md).
   IBM Plex Sans throughout. Near-black ink, the green of a camera's focus-confirm light for links, the tick and
   "passed". No red: failures are burnt orange. No gradients or glows. */
:root {
  --bg: #F5F6F6;
  --bg-band: #EBEDED;
  --surface: #FFFFFF;
  --ink: #15191B;
  --ink-soft: #4A5155;
  --muted: #646C70;
  --line: #D7DBDB;
  --accent: #1E2427;       /* graphite: primary actions */
  --accent-ink: #F3F5F5;
  --green: #276B43;        /* focus green as text: links, highlights, "passed" */
  --seal: #2F7D4F;         /* focus green as a mark: ticks, arrows, dots */
  --accent-2: #276B43;
  --code-bg: #111517;
  --code-ink: #E8ECEC;
  --code-dim: #8E979A;
  --ok: #276B43;
  --fail: #A9471A;
  --warn: #7D5600;

  --mark-frame: #15191B;
  --mark-tick: #2F7D4F;
  --display: var(--sans);
  --sans: "IBM Plex Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 10px;
  --wrap: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1112;
    --bg-band: #13171A;
    --surface: #161A1C;
    --ink: #E8ECEC;
    --ink-soft: #BAC2C5;
    --muted: #8E979A;
    --line: #2C3336;
    --accent: #DCE3E4;
    --accent-ink: #0E1112;
    --green: #7FD39E;
    --seal: #7FD39E;
    --accent-2: #7FD39E;
    --code-bg: #080A0B;
    --ok: #7FD39E;
    --fail: #F0A07A;
    --warn: #F2CF7A;

    --mark-frame: #E8ECEC;
    --mark-tick: #7FD39E;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
code { font-family: var(--mono); font-size: .88em; }
:not(pre) > code {
  background: color-mix(in srgb, var(--seal) 13%, transparent);
  padding: .1em .35em;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.band { background: var(--bg-band); border-block: 1px solid var(--line); }
.section-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; margin-bottom: 2.2rem; }
.note { color: var(--muted); font-size: .95rem; margin-top: 1rem; }
.muted { color: var(--muted); font-size: .92rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 1.25rem var(--display); }
.brand .mark { width: 34px; height: 34px; }
.brand .tld { color: var(--muted); font-weight: 400; }
.nav nav { display: flex; gap: 22px; font-size: .95rem; }
.nav nav a { color: var(--ink-soft); text-decoration: none; }
.nav nav a:hover { color: var(--ink); }
.nav nav { align-items: center; }
.nav nav a.gh { color: var(--ink); font-weight: 600; }
.nav nav a.login {
  color: var(--accent-ink); background: var(--accent); font-weight: 600;
  padding: 6px 14px; border-radius: 7px; white-space: nowrap;
}
.nav nav a.login:hover { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }

/* Hero */
.hero {
  padding: 72px 0 88px; overflow: hidden;
}
.hero-text { max-width: 760px; }
.eyebrow { font: 600 .8rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 1.2rem; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); letter-spacing: -.015em; margin-bottom: .45em; }
h1 em { color: var(--green); font-style: normal; }
.lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 52ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 8px;
  border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--surface); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font: .85rem var(--mono); color: var(--muted); }
.facts li::before { content: "◆ "; color: var(--seal); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Screenshots of the app, framed like a window */
.shot {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent);
}
.shot img { display: block; width: 100%; height: auto; }
.shot-bar {
  display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  border-bottom: 1px solid var(--line); background: var(--bg-band);
}
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.shot-bar span {
  margin: 0 auto; padding: 2px 14px; border-radius: 6px; background: var(--surface);
  font: .75rem var(--mono); color: var(--muted); transform: translateX(-20px);
}
.hero-shot { margin-top: 56px; }

/* Feature rows: short text beside a screenshot */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; margin-top: 64px; }
.feature:first-of-type { margin-top: 8px; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .feature-text { order: 2; }
.feature-text h3 { font-size: 1.6rem; margin: .7rem 0 .5rem; }
.feature-text p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.extras {
  list-style: none; padding: 0; margin: 72px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.extras li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; color: var(--ink-soft); font-size: .95rem;
}
.extras li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.extras strong { color: var(--ink); }

/* Flow */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
.node {
  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 4px; font-size: .92rem; color: var(--ink-soft);
}
.node strong { font: 600 1.1rem var(--mono); color: var(--ink); }
.node-k { font: .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.node.ext { border-style: dashed; }
.node.store { background: color-mix(in srgb, var(--seal) 18%, var(--surface)); }
.node code { align-self: flex-start; margin-top: 4px; }
.arrow { position: relative; min-width: 96px; display: flex; align-items: center; justify-content: center; }
.arrow::before { content: ""; position: absolute; left: 8px; right: 14px; top: 50%; height: 2px; background: var(--accent); }
.arrow::after {
  content: ""; position: absolute; right: 8px; top: 50%; translate: 0 -50%;
  border: 6px solid transparent; border-left: 8px solid var(--accent); border-right: 0;
}
.arrow.back::after { right: auto; left: 8px; border-left: 0; border-right: 8px solid var(--accent); }
.arrow.back::before { left: 14px; right: 8px; }
.arrow span { position: relative; top: -22px; font: .72rem/1.3 var(--mono); color: var(--muted); text-align: center; padding: 0 4px; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.role-head { margin-bottom: .8rem; }
.role-head h3 { font-size: 1.4rem; margin: .5rem 0 0; }
.pill { display: inline-block; font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-2); border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; }
.role p { color: var(--ink-soft); }
.role p:last-child { margin: 0; }
.callout {
  margin-top: 24px; padding: 18px 22px; border-left: 4px solid var(--seal);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-soft);
}
.callout strong { color: var(--ink); }

/* Code */
pre {
  position: relative; margin: 0 0 1rem; padding: 18px 20px; overflow-x: auto;
  background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius);
  font: .86rem/1.6 var(--mono); tab-size: 2;
}
pre code { font-size: inherit; }
pre .c { color: var(--code-dim); }
.copy {
  position: absolute; top: 8px; right: 8px; font: 600 .72rem var(--mono);
  background: rgba(255,255,255,.08); color: var(--code-ink); border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px; padding: 4px 9px; cursor: pointer; opacity: 0; transition: opacity .15s;
}
pre:hover .copy, .copy:focus-visible { opacity: 1; }
@media (hover: none) { .copy { opacity: 1; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; max-width: 820px; }
.steps li { counter-increment: step; position: relative; padding: 0 0 32px 64px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -4px; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font: 600 1.05rem var(--display);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 2px; background: var(--line); }
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--ink-soft); }

/* Two-column + rules + table */
.two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.two > * { min-width: 0; }
.stack { display: grid; gap: 24px; max-width: 900px; }
.stack > * { min-width: 0; }
.table-title { margin-bottom: 1rem; }
.rules { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.rules dt { font-weight: 600; padding-top: 12px; border-top: 1px solid var(--line); }
.rules dt:first-child { border-top: 0; padding-top: 0; }
.rules dd { margin: 2px 0 12px; color: var(--ink-soft); font-size: .95rem; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 .75rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
td { color: var(--ink-soft); }
td code { white-space: nowrap; }

/* Status */
.status { list-style: none; padding: 0; margin: 0 0 1rem; }
.status li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); }
.status li::before { position: absolute; left: 2px; top: 9px; font: 700 1.05rem/1.6 var(--sans); }
.status .done::before { content: "✓"; color: var(--ok); }
.status .next { color: var(--ink-soft); }
.status .next::before { content: "→"; color: var(--green); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1180px; }
.plans-note { margin-top: 1.2rem; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.plan.featured { border: 2px solid var(--accent); }
.plan.featured .pill { color: var(--green); }
.plan-head h3 { font-size: 1.4rem; margin: .6rem 0 .2rem; }
.price { font: 600 2.4rem/1.1 var(--display); letter-spacing: -.01em; margin: .4rem 0 .3rem; }
.plan.featured .price { color: var(--accent); }
.features { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; flex: 1; }
.features li { position: relative; padding: 7px 0 7px 26px; color: var(--ink-soft); border-top: 1px solid var(--line); font-size: .96rem; }
.features li:first-child { border-top: 0; }
.features li::before { content: "✓"; position: absolute; left: 2px; top: 7px; color: var(--ok); font-weight: 700; }
.features strong { color: var(--ink); }
.plan .btn { align-self: flex-start; font: inherit; font-weight: 600; cursor: pointer; }
button.btn { background: transparent; }
button.btn.primary { background: var(--accent); }

/* Dialog */
.dialog {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: 28px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.45);
}
.dialog::backdrop { background: color-mix(in srgb, var(--ink) 45%, transparent); backdrop-filter: blur(3px); }
.dialog h3 { font-size: 1.5rem; margin: .6rem 0 .6rem; }
.dialog p { color: var(--ink-soft); }
.dialog-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 8px;
  border: 0; background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.dialog-close:hover { background: var(--bg-band); color: var(--ink); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.dialog-actions .btn { font: inherit; font-weight: 600; cursor: pointer; }
.dialog label { display: block; font-weight: 600; font-size: .92rem; margin-top: 14px; }
.dialog .optional { font-weight: 400; color: var(--muted); }
.dialog input, .dialog textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  font: 1rem var(--sans); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 8px;
}
.dialog textarea { resize: vertical; min-height: 84px; }
.dialog input:focus, .dialog textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.dialog input[aria-invalid="true"] { border-color: var(--fail); }
.dialog .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dialog .form-error { color: var(--fail); font-weight: 600; margin: 14px 0 0; }
.dialog button[disabled] { opacity: .6; cursor: progress; }

/* Footer */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.foot p { margin: 0; }
.brand.small { font-size: 1.05rem; }
.brand.small .mark { width: 26px; height: 26px; }

/* Responsive */
@media (max-width: 980px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
  .feature.flip .feature-text { order: 0; }
  .extras { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .arrow { min-height: 56px; }
  .arrow::before { left: 50%; right: auto; top: 6px; bottom: 14px; width: 2px; height: auto; }
  .arrow::after, .arrow.back::after { left: 50%; right: auto; top: auto; bottom: 6px; translate: -50% 0; border: 6px solid transparent; border-top: 8px solid var(--accent); border-bottom: 0; }
  .arrow.back::after { top: 6px; bottom: auto; border-top: 0; border-bottom: 8px solid var(--accent); }
  .arrow.back::before { top: 14px; bottom: 6px; left: 50%; }
  .arrow { justify-content: flex-start; }
  .arrow span { top: 0; text-align: left; margin-left: calc(50% + 12px); padding: 0; }
}
@media (max-width: 760px) {
  .nav nav a:not(.gh):not(.login) { display: none; }
  .nav nav { gap: 14px; }
  .hero { padding: 48px 0 56px; }
  .hero-shot { margin-top: 36px; }
  .shot-bar span { display: none; }
  .extras { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .steps li { padding-left: 54px; }
}

/* ---------- Prova additions ---------- */
section.slim { padding: 64px 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-text { max-width: none; }
.brand .mark { width: 32px; height: 32px; }

/* Status chips and badges */
.st {
  display: inline-block; font: 600 .72rem/1.5 var(--mono); padding: 1px 8px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
.st.pass { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.st.fail { color: var(--fail); background: color-mix(in srgb, var(--fail) 14%, transparent); }
.st.big { font-size: .8rem; padding: 3px 12px; }
.badge { display: inline-block; font: 600 .68rem/1.5 var(--mono); padding: 0 7px; border-radius: 5px; border: 1px solid currentColor; white-space: nowrap; }
.badge.warn { color: var(--warn); }
.badge.ok { color: var(--ok); }
.bot { font: 600 .66rem var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; margin: 0 2px; }

/* Mock UI frames (drawn in HTML, not screenshots) */
.mock {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent);
  font-size: .92rem; min-width: 0;
}
.mock .muted { font-size: .82rem; }
.mock table { font-size: .86rem; }
.mock th, .mock td { padding: 8px 10px; }

/* PR comment */
.pr-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-band); }
.pr-head strong { font-size: 1rem; }
.pr-num { color: var(--muted); }
.pr-state { font: 600 .75rem var(--sans); color: #fff; background: #1F883D; border-radius: 999px; padding: 3px 10px; }
.pr-comment { padding: 16px 18px 18px; }
.pr-author { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.avatar { width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--bg-band); border: 1px solid var(--line); }
.avatar svg { width: 22px; height: 22px; }
.pr-body { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.pr-title { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.seal-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--seal); }
.proof-table td:nth-child(3), .proof-table td:nth-child(4) { white-space: nowrap; }
.proof-table a { text-decoration: none; color: var(--green); }
.pr-foot { margin: 8px 0 0; color: var(--muted); font-size: .82rem; }

/* Why */
.why { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.why .section-lede { margin-bottom: 0; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.stats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; color: var(--ink-soft); }
.stats li strong { display: block; font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.stats li.after { border: 2px solid var(--accent); color: var(--ink); }
.stats li.after strong { color: var(--green); }

/* How it works */
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.how li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.how li:not(:last-child)::after {
  content: "→"; position: absolute; right: -17px; top: 50%; translate: 0 -50%;
  color: var(--seal); font: 700 1.3rem var(--sans); z-index: 1;
}
.how-k { font: 600 .75rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--seal); }
.how h3 { font-size: 1.3rem; margin: .5rem 0 .4rem; }
.how p { color: var(--ink-soft); margin: 0; }

/* Proof page mock */
.proof { padding: 18px 20px 20px; }
.proof-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.proof-head h4 { font: 600 1.25rem/1.2 var(--display); margin: 2px 0 0; }
.crumb { font: .75rem var(--mono); color: var(--muted); margin: 0; }
.proof-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0; padding: 10px 0; border-block: 1px solid var(--line); }
.proof-meta dt { font: 600 .66rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.proof-meta dd { margin: 0; font-size: .86rem; }
.proof-steps { margin: 0; padding: 0; list-style: none; counter-reset: ps; }
.proof-steps li { counter-increment: ps; display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.proof-steps li:last-child { border-bottom: 0; }
.proof-steps li::before { content: counter(ps); flex: none; width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; font: 600 .72rem var(--mono); background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.proof-steps li > span:first-child { flex: 1; }
.proof-steps .ev { flex: none; font: .75rem var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 0 6px; }

/* API exchange mock */
.exchange { padding: 16px 18px 18px; }
.ex-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.method { font: 600 .75rem var(--mono); color: var(--accent-ink); background: var(--accent); padding: 2px 8px; border-radius: 5px; }
.ex-status { margin-left: auto; font: 600 .78rem var(--mono); color: var(--ok); }
.ex-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ex-cols > div { min-width: 0; }
.ex-k { font: 600 .68rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 4px; }
pre.ex { font-size: .74rem; padding: 12px 14px; margin: 0; }
.redacted { color: #F0A07A; background: rgba(240,160,122,.16); border-radius: 3px; padding: 0 4px; }
.ex-foot { margin: 12px 0 0; font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }

/* PR timeline mock */
.timeline { list-style: none; margin: 0; padding: 14px 18px 16px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 22px; bottom: 26px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 8px 0 8px 28px; color: var(--ink-soft); font-size: .88rem; }
.timeline li.hl { background: color-mix(in srgb, var(--accent) 7%, transparent); border-radius: 8px; margin: 2px -8px; padding-left: 36px; padding-right: 8px; }
.timeline li.hl .tl-dot { left: 8px; }
.tl-dot { position: absolute; left: 4px; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--muted); }
.tl-dot.seal { background: var(--seal); border-color: var(--seal); }
.tl-dot.ok { background: var(--ok); border-color: var(--ok); }
.timeline strong { color: var(--ink); }

/* Agents mock */
.agents { padding: 8px 18px 12px; }
.agent { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.agent:last-child { border-bottom: 0; }
.agent > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.a-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font: 600 .78rem var(--mono); background: color-mix(in srgb, var(--seal) 16%, transparent); color: var(--seal); }
.a-ico.gh { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--ink); }
.revoke { flex: none; font: 600 .78rem var(--sans); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font: 600 1.3rem/1 var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 0 0 16px; max-width: 70ch; }

/* Closing CTA */
.closing-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing-inner .section-lede { margin-bottom: .6rem; }
.mark.big { width: 72px; height: 72px; margin-bottom: 16px; }
.closing .cta { justify-content: center; }

@media (max-width: 980px) {
  .hero-grid, .why { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .how li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -24px; translate: -50% 0; }
  .how { gap: 28px; }
}
@media (max-width: 560px) {
  .proof-table th:nth-child(3), .proof-table td:nth-child(3) { display: none; }
  .ex-cols { grid-template-columns: 1fr; }
  .proof-head { flex-direction: column; }
}
