/*
  The pages about the service rather than the story: 100 free audits (/start),
  integrations, custom AI agents and the methodology. Same tokens and colour
  meanings as site.css; status colours say only whether something is ready:
    available  ink on a soft green, it works today
    in progress  ink on a soft grey, built or being built, waiting for a real account or the platform
    beta       ink on soft lemon, it works and is still being checked
    coming     muted, it does not exist yet
*/

/* ---------- Status ---------- */
.status {
  display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 3px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 500; line-height: 1.4; white-space: nowrap; border: 1px solid var(--line); color: var(--mute); background: var(--bg);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.55; }
[data-status="available"] > .status, .status[data-status="available"] { color: #1b6b3a; background: rgba(46, 160, 67, 0.1); border-color: rgba(46, 160, 67, 0.3); }
[data-status="in_progress"] > .status, .status[data-status="in_progress"] { color: var(--ink-2); background: var(--surface-2); border-color: var(--line-strong); }
[data-status="beta"] > .status, .status[data-status="beta"] { color: var(--look-ink); background: var(--look-bg); border-color: var(--look-line); }
[data-status="unsupported"] > .status, .status[data-status="unsupported"] { color: var(--error-ink); background: var(--error-bg); border-color: var(--error-line); }
[data-theme="dark"] [data-status="available"] > .status, [data-theme="dark"] .status[data-status="available"] { color: #7ee2a0; }
.status-key { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; font-size: 13.5px; color: var(--mute); }
.status-key li { display: flex; align-items: center; gap: 8px; }

/* ---------- Two kinds of connection ---------- */
.kinds { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); align-items: stretch; margin-top: clamp(36px, 5vw, 56px); }
.kind { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-1); }
.kind h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.01em; }
.kind p { color: var(--mute); font-size: 15px; margin-top: 8px; }
.kind ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.kind li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.kind-said { border-top: 3px solid var(--claim-line); }
.kind-true { border-top: 3px solid var(--rule-line); }
.kind-tag { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.kinds-hub { position: relative; height: 100%; min-height: 120px; display: grid; place-items: center; }
.kinds-hub::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.hub-node {
  position: relative; z-index: 1; display: grid; place-items: center; gap: 4px; width: 92px; height: 92px; border-radius: 50%;
  background: var(--inv-bg); color: var(--inv-ink); font-size: 12.5px; font-weight: 500; text-align: center; box-shadow: var(--lift-2);
}
.hub-node svg { width: 26px; height: 26px; }
.hub-dot { position: absolute; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; opacity: 0; }
.hub-dot.from-said { left: 0; background: var(--yellow-deep); }
.hub-dot.from-true { right: 0; background: var(--orange); }
.kinds-out { grid-column: 1 / -1; justify-self: center; margin-top: 18px; font-size: 14px; color: var(--mute); display: flex; align-items: center; gap: 8px; }
.kinds-out b { color: var(--error-ink); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .kinds.is-in .hub-dot.from-said { animation: hub-in-left 2.6s var(--ease-ui) infinite; }
  .kinds.is-in .hub-dot.from-true { animation: hub-in-right 2.6s var(--ease-ui) 1.3s infinite; }
}
@keyframes hub-in-left { 0% { opacity: 0; transform: translateX(0); } 15% { opacity: 1; } 70% { opacity: 1; transform: translateX(58px); } 85%, 100% { opacity: 0; transform: translateX(58px); } }
@keyframes hub-in-right { 0% { opacity: 0; transform: translateX(0); } 15% { opacity: 1; } 70% { opacity: 1; transform: translateX(-58px); } 85%, 100% { opacity: 0; transform: translateX(-58px); } }

/* ---------- Catalogue ---------- */
.catalog-group { padding-block: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); scroll-margin-top: 88px; }
.catalog-group:first-of-type { border-top: 0; }
.catalog-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 24px 48px; }
.catalog-head h2 { font-size: clamp(22px, 1rem + 0.7vw, 28px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.2; }
.catalog-head p { color: var(--mute); font-size: 15px; margin-top: 10px; max-width: 40ch; }
.catalog-head .kind-tag { display: block; margin-bottom: 10px; }
.catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.int-card {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px;
  border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); transition: border-color 0.2s var(--ease-ui), translate 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.int-card h3 { font-size: 16px; font-weight: 500; line-height: 1.3; }
.int-card p { font-size: 14px; line-height: 1.5; color: var(--mute); margin-top: 4px; }
.int-card p a { color: var(--ink); text-decoration-color: var(--ruby); text-underline-offset: 3px; }
.int-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2);
  font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em;
}
.int-mark svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* Not supported yet (a platform that cannot tell its bot's messages apart) reads as quietly as coming soon: it is a
   fact about the platform, not an error of the reader's. */
.int-card[data-status="coming_soon"] .int-mark, .int-card[data-status="not_supported"] .int-mark { color: var(--faint); }
/* The platform's own logo, on a white plate so every brand reads in both themes (pages.js, brands.js). */
.int-mark.has-logo { background: #fff; border: 1px solid var(--line); }
.int-mark .site-brand { width: 24px; height: 24px; object-fit: contain; border-radius: 5px; }
.int-card[data-status="coming_soon"] h3, .int-card[data-status="not_supported"] h3 { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) {
  .int-card:hover { border-color: var(--line-strong); translate: 0 -2px; box-shadow: var(--lift-2); }
}
.note-line { margin-top: 16px; font-size: 14px; color: var(--mute); }
.note-line a { color: var(--ink); text-decoration-color: var(--ruby); text-underline-offset: 3px; }

/* ---------- Where the truth comes from ---------- */
.truth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.truth-grid h3 { font-size: 18px; font-weight: 400; letter-spacing: -0.01em; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.callout {
  margin-top: 16px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); border-left: 3px solid var(--ruby);
  background: var(--bg); font-size: 15px; color: var(--ink-2); max-width: 74ch;
}
.callout b { color: var(--ink); font-weight: 500; }

/* ---------- Steps, numbered down the page ---------- */
.vsteps { counter-reset: step; display: grid; gap: 0; margin-top: clamp(32px, 4vw, 48px); position: relative; }
.vsteps > li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; padding-bottom: 28px; position: relative; }
.vsteps > li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; position: relative; z-index: 1;
  background: var(--bg); border: 1px solid var(--line-strong); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink);
  transition: background-color 0.5s var(--ease-ui), border-color 0.5s var(--ease-ui), color 0.5s var(--ease-ui);
}
.vsteps > li.is-in::before { border-color: var(--ruby); color: var(--accent-ink); }
.vsteps h3 { font-size: 19px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; padding-top: 8px; }
.vsteps p { color: var(--mute); font-size: 15px; margin-top: 6px; max-width: 62ch; }
.vsteps .phase { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
/* The line fills top to bottom as the steps arrive. */
/* Each step draws its own link to the next one, under its circle, so no line ever crosses
   a circle or runs past the last step; it turns ruby once the step has come in. */
.vsteps > li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 1px; background: var(--line); transition: background-color 0.6s var(--ease-ui) 0.25s; }
.vsteps > li.is-in:not(:last-child)::after { background: var(--ruby); }
.vsteps > li:last-child { padding-bottom: 0; }
/* The circle stays solid while a step comes in; only its text rises. */
.js .vsteps > li[data-reveal] { opacity: 1; transform: none; }
.js .vsteps > li[data-reveal]::before { transform: scale(0.86); transition: transform 0.5s var(--ease), background-color 0.5s var(--ease-ui), border-color 0.5s var(--ease-ui), color 0.5s var(--ease-ui); }
.js .vsteps > li[data-reveal].is-in::before { transform: none; }
.js .vsteps > li[data-reveal] > div { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .vsteps > li[data-reveal].is-in > div { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .vsteps > li[data-reveal] > div, .js .vsteps > li[data-reveal]::before { opacity: 1; transform: none; transition: none; }
}

/* ---------- Three outcomes ---------- */
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.outcome { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-1); }
.outcome h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.outcome h3 i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.outcome.is-supported h3 i { background: var(--ink-2); }
.outcome.is-contradicted { border-color: var(--error-line); }
.outcome.is-contradicted h3 i { background: var(--error); }
.outcome.is-insufficient h3 i { background: transparent; border: 2px solid var(--faint); }
.outcome > p { color: var(--mute); font-size: 15px; }
.outcome-ex { margin-top: auto; display: grid; gap: 8px; padding: 14px; border-radius: var(--r-md); background: var(--surface); font-size: 13.5px; line-height: 1.5; }
.outcome-ex span { color: var(--faint); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; display: block; }
.outcome-ex mark { padding: 0 3px; border-radius: 3px; color: inherit; }
.outcome-ex mark.claim { background: var(--claim-bg); }
.outcome-ex mark.rule { background: var(--rule-bg); }
.outcome-then { font-size: 14px; color: var(--ink); font-weight: 500; }
.outcome.is-contradicted .outcome-then { color: var(--error-ink); }

/* ---------- Doc style sections on a marketing page ---------- */
.prose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: clamp(24px, 3vw, 40px); }
.prose-grid .doc-section:nth-child(-n + 2) { border-top: 0; }
.prose-grid .doc-section { padding-block: 28px; }

/* ---------- Custom agent: any model, any assistant ---------- */
.agent-map { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.1fr) 96px minmax(0, 0.9fr); align-items: center; margin-top: clamp(36px, 5vw, 56px); }
.agent-col { display: grid; gap: 10px; }
.agent-box { padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-1); }
.agent-box h3 { font-size: 15px; font-weight: 500; }
.agent-box p { font-size: 13.5px; color: var(--mute); margin-top: 4px; }
.agent-box .chips { margin-top: 12px; }
.agent-app { border-color: var(--ink); }
.agent-us { background: var(--inv-bg); color: var(--inv-ink); border-color: transparent; }
.agent-us p { color: var(--inv-mute); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.agent-us .chips li { background: rgba(255, 255, 255, 0.08); border-color: var(--inv-line); color: var(--inv-ink); }
.agent-wire { position: relative; height: 2px; background: var(--line-strong); overflow: visible; }
.agent-wire::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--line-strong); border-right: 0; }
.agent-wire i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ruby); opacity: 0; }
.agent-wire small { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; font-size: 11px; color: var(--faint); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .agent-map.is-in .agent-wire i { animation: wire 2.4s var(--ease-ui) infinite; }
  .agent-map.is-in .agent-wire + .agent-col + .agent-wire i { animation-delay: 1.2s; }
}
@keyframes wire { 0% { opacity: 0; transform: translateX(0); } 12% { opacity: 1; } 75% { opacity: 1; transform: translateX(84px); } 90%, 100% { opacity: 0; transform: translateX(84px); } }

/* ---------- Code with tabs and a copy button ---------- */
.code-card { margin-top: clamp(28px, 4vw, 40px); border-radius: var(--r-lg); overflow: hidden; background: #0b1a2b; color: #dbe6f3; box-shadow: var(--lift-2); }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); flex-wrap: wrap; }
.code-tabs { display: flex; gap: 2px; flex-wrap: wrap; }
.code-tab { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: var(--r-sm); border: 0; background: transparent; color: #8fa3ba; cursor: pointer; transition: background-color 0.2s var(--ease-ui), color 0.2s var(--ease-ui); }
.code-tab[aria-selected="true"] { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.code-tab:focus-visible { outline: 2px solid var(--yellow); outline-offset: 1px; }
.copy-btn {
  font: inherit; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-sm); cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.16); background: transparent; color: #dbe6f3; transition: border-color 0.2s var(--ease-ui), color 0.2s var(--ease-ui);
}
.copy-btn:hover { border-color: rgba(255, 255, 255, 0.4); }
.copy-btn.is-done { color: #7ee2a0; border-color: rgba(126, 226, 160, 0.5); }
.code-card pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.65; tab-size: 2; white-space: pre; }
.code-card code { font-family: inherit; }
.code-note { padding: 10px 20px 14px; font-size: 12.5px; color: #8fa3ba; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.code-note b { color: #ffd552; font-weight: 500; }

/* ---------- States list ---------- */
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 24px; }
.states li { padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); }
.states b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }
.states b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.states .s-ok b::before { background: #2ea043; }
.states .s-wait b::before { background: var(--yellow-deep); }
.states .s-bad b::before { background: var(--error); }
.states .s-lock b::before { background: var(--ruby); }
.states span { display: block; font-size: 13.5px; color: var(--mute); margin-top: 4px; }

/* ---------- The subscription gate ---------- */
.gate { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 28px; align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--inv-bg); color: var(--inv-ink); position: relative; overflow: hidden; isolation: isolate; }
.gate::before { content: ""; position: absolute; inset: -40% -10% auto 45%; height: 160%; z-index: -1; background: radial-gradient(closest-side, rgba(234, 34, 97, 0.35), transparent 70%), radial-gradient(closest-side at 70% 60%, rgba(255, 144, 20, 0.22), transparent); }
.gate-lock { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--inv-line); }
.gate-lock svg { width: 24px; height: 24px; fill: none; stroke: #ffd552; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gate h2, .gate h3 { font-size: clamp(20px, 1rem + 0.6vw, 26px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.25; color: var(--inv-ink); }
.gate p { color: var(--inv-mute); font-size: 15px; margin-top: 6px; max-width: 60ch; }
.gate .hero-actions { margin: 0; }
.gate .btn-ghost { color: var(--inv-ink); border-color: var(--inv-line); }
.gate .btn-ghost:hover { border-color: var(--inv-ink); }

/* ---------- 100 free audits ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.offer-box .core { display: grid; gap: 16px; }
.offer-count { display: flex; align-items: baseline; gap: 12px; }
.offer-count b { font-size: clamp(56px, 2.4rem + 3vw, 88px); font-weight: 300; letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.offer-count span { font-size: 15px; color: var(--mute); }
/* One square per free audit: 100 in five rows of 20, lit from the first row to the last. */
.offer-grid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; }
.offer-grid i { aspect-ratio: 1; border-radius: 1.5px; background: var(--ruby); opacity: var(--o, 1); }
@media (prefers-reduced-motion: no-preference) {
  .js .offer-grid i { transform: scale(0.3); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s var(--ease-ui); transition-delay: calc(var(--n) * 4ms); }
  .offer-box.is-in .offer-grid i { transform: none; opacity: var(--o, 1); }
}
.offer-state[hidden] { display: none; }
.offer-state h2 { font-size: 20px; font-weight: 400; letter-spacing: -0.01em; }
.offer-state p { color: var(--mute); font-size: 15px; margin-top: 6px; }
.offer-state .btn { margin-top: 16px; }
.offer-state form .btn { margin-top: 20px; }
.methods { display: grid; gap: 10px; margin-top: 8px; }
.method { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); }
.method b { font-size: 15px; font-weight: 500; }
.method p { grid-column: 1 / -1; font-size: 14px; color: var(--mute); }
.compare th, .compare td { text-align: left; }
.compare td:first-child { min-width: 180px; }
.compare .yes { color: var(--ink); }
.compare .no { color: var(--mute); }

/* ---------- Partners: the commission ---------- */
.commission { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.commission-figure { display: grid; gap: 8px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--inv-bg); color: var(--inv-ink); position: relative; overflow: hidden; isolation: isolate; }
.commission-figure::before { content: ""; position: absolute; inset: auto -20% -60% 20%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(249, 107, 238, 0.32), transparent), radial-gradient(closest-side at 30% 40%, rgba(255, 97, 24, 0.3), transparent); }
.commission-figure b { font-size: clamp(72px, 3rem + 4vw, 120px); font-weight: 300; letter-spacing: -0.05em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.commission-figure p { color: var(--inv-mute); font-size: 15px; max-width: 34ch; }
.commission-months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-top: 16px; }
.commission-months i { height: 26px; border-radius: 3px; background: linear-gradient(180deg, var(--magenta), var(--ruby)); transform-origin: bottom; }
.commission-months span { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 12px; color: var(--inv-mute); margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .js .commission-figure .commission-months i { transform: scaleY(0.1); opacity: 0.3; transition: transform 0.6s var(--ease), opacity 0.4s var(--ease-ui); transition-delay: calc(var(--n) * 60ms + 200ms); }
  .commission-figure.is-in .commission-months i { transform: none; opacity: 1; }
}
.who-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 24px; }
.who-list li { padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); font-size: 15px; color: var(--ink); }

/* ---------- Layout on smaller screens ---------- */
@media (max-width: 1023px) {
  .agent-map { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .agent-wire { width: 2px; height: 40px; justify-self: center; }
  .agent-wire::after { right: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top-color: var(--line-strong); border-bottom: 0; }
  .agent-wire small { left: 14px; bottom: auto; top: 50%; translate: 0 -50%; }
  .agent-wire i { left: -3px; }
  @keyframes wire { 0% { opacity: 0; transform: translateY(0); } 12% { opacity: 1; } 75% { opacity: 1; transform: translateY(30px); } 90%, 100% { opacity: 0; transform: translateY(30px); } }
  .offer, .commission { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .kinds { grid-template-columns: minmax(0, 1fr); }
  .kinds-hub { min-height: 132px; }
  .kinds-hub::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .hub-dot { display: none; }
  .catalog-head, .catalog, .truth-grid, .outcomes, .prose-grid { grid-template-columns: minmax(0, 1fr); }
  .prose-grid .doc-section:nth-child(2) { border-top: 1px solid var(--line); }
  .int-card { grid-template-columns: 36px minmax(0, 1fr); }
  .int-card .status { grid-column: 2; justify-self: start; }
  .int-mark { width: 36px; height: 36px; }
  .gate { grid-template-columns: minmax(0, 1fr); }
  .offer-grid { grid-template-columns: repeat(25, 1fr); }
}

/* ---------- Numbered cards ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.steps-grid h3 { font-size: 19px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; margin-top: 14px; }
.steps-grid p { color: var(--mute); font-size: 15px; margin-top: 8px; }
.step-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ruby); color: var(--accent-ink); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) { .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .steps-grid { grid-template-columns: minmax(0, 1fr); } }
.commission-months em { font-style: normal; }
.code-card pre.prompt-pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.agent-status .status { margin-left: 4px; vertical-align: 1px; }
