/* v1 components: install command box, card grids, rule cards, plan cards and inner-page heroes.
   Built on the dark home tokens in home.css (body.home), so it loads after home.css. */

/* ── Home hero: a wider right column so the install commands fit on one line ── */
body.home .hd-hero-wrap.v1-hero { grid-template-columns: minmax(0, 1fr) minmax(320px, 600px); gap: 40px 56px; }
body.home .v1-hero .v1-cmd { max-width: none; }
body.home .v1-hero .v1-cmd pre { font-size: 12.5px; }
body.home .v1-hero > * { min-width: 0; }
@media (max-width: 960px) { body.home .hd-hero-wrap.v1-hero { grid-template-columns: minmax(0, 1fr); } }

/* ── Install command box ── */
.v1-cmd { position: relative; margin-top: 26px; max-width: 640px; border: 1px solid rgba(250, 250, 249, 0.14); border-radius: 12px; background: #0b0d11; overflow: hidden; }
.v1-cmd-tabs { display: flex; gap: 2px; padding: 6px 76px 0 6px; border-bottom: 1px solid rgba(250, 250, 249, 0.08); overflow-x: auto; }
.v1-cmd-tab { all: unset; cursor: pointer; padding: 8px 12px 9px; font-size: 13px; color: #8e8e96; border-radius: 8px 8px 0 0; white-space: nowrap; }
.v1-cmd-tab[aria-selected="true"] { color: #fafaf9; background: rgba(250, 250, 249, 0.06); }
.v1-cmd-tab:focus-visible { outline: 2px solid #4ade80; }
.v1-cmd-body { position: static; }
.v1-cmd pre { margin: 0; padding: 16px 18px;  font-family: var(--hd-mono, ui-monospace, monospace); font-size: 13.5px; line-height: 1.75; color: #c9d1d9; white-space: pre; overflow-x: auto; background: transparent; border: 0; }
.v1-cmd pre .p { color: #4ade80; user-select: none; }
.v1-cmd pre .c { color: #6e7681; }
.v1-cmd [role="tabpanel"][hidden] { display: none; }
.v1-copy { all: unset; position: absolute; top: 7px; right: 8px; cursor: pointer; font-size: 12px; color: #b1b1b6; padding: 6px 9px; border: 1px solid rgba(250, 250, 249, 0.16); border-radius: 6px; background: #16161a; }
.v1-copy:hover { color: #fff; border-color: rgba(250, 250, 249, 0.32); }
.v1-cmd-note { margin: 0; padding: 10px 18px 12px; font-size: 12.5px; color: #85858c; border-top: 1px solid rgba(250, 250, 249, 0.08); }
.v1-cmd-note a { color: #d4d4d8; text-decoration: underline; text-underline-offset: 3px; }

.v1-proof { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.v1-proof li { font-size: 12.5px; color: #b1b1b6; border: 1px solid rgba(250, 250, 249, 0.14); border-radius: 999px; padding: 4px 11px; }
.v1-gh-btn svg { width: 16px; height: 16px; }

/* ── Generic grids and cards ── */
.v1-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v1-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v1-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v1-card { border: 1px solid var(--df-line-strong); border-radius: 12px; background: var(--df-card); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.v1-card h3 { margin: 0; font-size: 19px; font-weight: 500; color: var(--df-ink); letter-spacing: -0.01em; }
.v1-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--df-ink-soft); }
.v1-card .v1-k { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12px; color: #4ade80; }
.v1-card pre { margin: 6px 0 0; padding: 12px 14px; border-radius: 8px; background: #0b0d11; border: 1px solid rgba(250, 250, 249, 0.08); font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12.5px; line-height: 1.7; color: #c9d1d9; overflow-x: auto; white-space: pre; }
.v1-card a.v1-more { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--df-ink); text-decoration: underline; text-underline-offset: 3px; }
.v1-card ul { margin: 2px 0 0; padding-left: 18px; color: var(--df-ink-soft); font-size: 14.5px; line-height: 1.65; }
.v1-card ul li { margin: 2px 0; }

/* ── Numbers row ── */
.v1-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 28px; }
.v1-stat { border-top: 1px solid var(--df-line-strong); padding-top: 14px; }
.v1-stat b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.02em; color: var(--df-ink); }
.v1-stat span { display: block; margin-top: 4px; font-size: 14px; color: var(--df-ink-soft); line-height: 1.5; }

/* ── Rule card ── */
.v1-rule { border: 1px solid var(--df-line-strong); border-radius: 12px; background: var(--df-card); overflow: hidden; }
.v1-rule-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 18px; border-bottom: 1px solid var(--df-line); }
.v1-rule-id { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12px; color: #4ade80; }
.v1-rule-name { font-size: 16px; font-weight: 500; color: var(--df-ink); }
.v1-rule-tag { margin-left: auto; font-size: 11.5px; color: var(--df-grey); border: 1px solid var(--df-line-strong); border-radius: 999px; padding: 2px 9px; }
.v1-rule dl { margin: 0; padding: 14px 18px 18px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px 16px; }
.v1-rule dt { font-size: 12.5px; color: var(--df-grey); }
.v1-rule dd { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--df-ink-soft); }
.v1-rule code { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12.5px; color: var(--df-ink); background: rgba(250, 250, 249, 0.06); padding: 1px 5px; border-radius: 4px; }

/* ── Architecture (where it runs) ── */
.v1-arch { display: grid; grid-template-columns: minmax(0, 1.25fr) 150px minmax(0, 1fr); align-items: stretch; }
.v1-arch-side { border: 1px dashed rgba(250, 250, 249, 0.18); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.v1-arch-side.cloud { border-color: rgba(91, 157, 255, 0.5); }
.v1-arch-head { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #8e8e96; text-align: center; }
.v1-arch-side.cloud .v1-arch-head { color: #7fb0ff; }
.v1-arch-box { background: #16161a; border: 1px solid rgba(250, 250, 249, 0.10); border-radius: 8px; padding: 11px 13px; font-size: 14px; line-height: 1.35; color: #fafaf9; }
.v1-arch-box span { display: block; margin-top: 3px; font-size: 12.5px; color: #9a9aa2; }
.v1-arch-box.engine { border-color: rgba(74, 222, 128, 0.45); }
.v1-arch-wires { display: grid; align-content: center; gap: 26px; padding: 0 12px; }
.v1-arch-wire { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 10.5px; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.45; color: #b1b1b6; text-align: center; }
.v1-arch-wire i { display: block; height: 1px; background: rgba(250, 250, 249, 0.22); margin: 8px 0; position: relative; }
.v1-arch-wire.to i::after { content: ''; position: absolute; right: 0; top: -3px; border-left: 6px solid rgba(250, 250, 249, 0.35); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.v1-arch-wire.from i::before { content: ''; position: absolute; left: 0; top: -3px; border-right: 6px solid rgba(250, 250, 249, 0.35); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.v1-facts { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 26px 0 0; padding: 0; }
.v1-facts li { list-style: none; border: 1px solid rgba(250, 250, 249, 0.12); border-radius: 999px; padding: 7px 15px; font-size: 13.5px; color: #e4e4e7; }
.v1-facts code { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12.5px; }

/* ── Plans ── */
.v1-plan { border: 1px solid var(--df-line-strong); border-radius: 14px; background: var(--df-card); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.v1-plan.pro { border-color: rgba(91, 157, 255, 0.55); }
.v1-plan-name { font-size: 14px; color: var(--df-grey); }
.v1-plan-price { font-size: clamp(34px, 3.6vw, 46px); font-weight: 500; letter-spacing: -0.02em; color: var(--df-ink); line-height: 1; }
.v1-plan-price small { font-size: 15px; font-weight: 400; color: var(--df-ink-soft); letter-spacing: 0; margin-left: 6px; }
.v1-plan p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--df-ink-soft); }
.v1-plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.v1-plan li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.55; color: var(--df-ink-soft); }
.v1-plan li::before { content: ''; position: absolute; left: 3px; top: 7px; width: 9px; height: 5px; border-left: 2px solid #4ade80; border-bottom: 2px solid #4ade80; transform: rotate(-45deg); }
.v1-plan li.locked::before { border: 0; width: 8px; height: 8px; top: 6px; left: 3px; border-radius: 2px; background: #8e8e96; transform: none; }
.v1-plan .hd-cta-row { margin-top: auto; padding-top: 6px; }

/* ── Tables ── */
.v1-table-wrap { overflow-x: auto; border: 1px solid var(--df-line-strong); border-radius: 12px; }
.v1-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.v1-table th, .v1-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--df-line); color: var(--df-ink-soft); vertical-align: top; line-height: 1.5; }
.v1-table th { color: var(--df-ink); font-weight: 500; background: rgba(250, 250, 249, 0.03); }
.v1-table tr:last-child td { border-bottom: 0; }
.v1-table td.y { color: #4ade80; }
.v1-table code { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12.5px; }

/* ── Inner page hero and prose ── */
body.home .v1-page-hero { padding: clamp(80px, 9vw, 136px) 0 clamp(48px, 6vw, 80px); }
.v1-page-hero h1 { margin: 14px 0 0; font-size: clamp(34px, 4.6vw, 60px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.06; color: #fafaf9; max-width: 20ch; text-wrap: balance; }
.v1-page-hero .v1-answer { margin: 22px 0 0; max-width: 64ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: #b1b1b6; }
.v1-page-hero .v1-answer b { color: #fafaf9; font-weight: 500; }
.v1-prose { max-width: 72ch; font-size: 16px; line-height: 1.7; color: var(--df-ink-soft); }
.v1-prose p { margin: 0 0 14px; }
.v1-prose h3 { margin: 26px 0 8px; font-size: 19px; font-weight: 500; color: var(--df-ink); }
.v1-prose a, .v1-card p a, .v1-table a { color: var(--df-ink); text-decoration: underline; text-underline-offset: 3px; }
.v1-prose code { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 13.5px; color: var(--df-ink); background: rgba(250, 250, 249, 0.06); padding: 1px 5px; border-radius: 4px; }
.v1-prose ol, .v1-prose ul { padding-left: 20px; margin: 0 0 14px; }
.v1-prose li { margin: 4px 0; }
.v1-prose pre { margin: 6px 0 16px; padding: 14px 16px; border-radius: 10px; background: #0b0d11; border: 1px solid rgba(250, 250, 249, 0.08); font-family: var(--hd-mono, ui-monospace, monospace); font-size: 13px; line-height: 1.7; color: #c9d1d9; overflow-x: auto; white-space: pre; }
.v1-prose pre code { background: none; padding: 0; color: inherit; }

@media (max-width: 980px) {
  .v1-grid, .v1-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v1-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .v1-grid, .v1-grid.two, .v1-grid.four { grid-template-columns: minmax(0, 1fr); }
  .v1-arch { grid-template-columns: minmax(0, 1fr); }
  .v1-arch-wires { padding: 16px 0; }
  .v1-arch-wire i { width: 55%; margin: 8px auto; }
  .v1-rule dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .v1-rule dd { margin-bottom: 10px; }
  .v1-cmd pre { font-size: 12.5px; }
}

/* ════════════════ v1.1: layout, links and visuals ════════════════ */

/* Accent links for every "Read more →" style CTA */
.v1-link, .v1-card a.v1-more, .v1-card .v1-more { display: inline-flex; align-items: center; gap: 6px; color: #4ade80 !important; text-decoration: none !important; font-weight: 500; font-size: 14.5px; }
.v1-link::after, .v1-card .v1-more::after { content: '\2192'; transition: transform .18s ease; }
.v1-link:hover, a.v1-card:hover .v1-more { color: #86efac !important; }
.v1-link:hover::after, a.v1-card:hover .v1-more::after { transform: translateX(3px); }
.v1-link.nofx::after { content: none; }
a.v1-card { transition: border-color .18s ease, transform .18s ease; }
a.v1-card:hover { border-color: rgba(74, 222, 128, 0.45); transform: translateY(-2px); }

/* Home hero: both columns start on the same line */
body.home .hd-hero-wrap.v1-hero { align-items: start; }
body.home .v1-hero .hd-hero-main { padding-top: 0; }
body.home .v1-hero .hd-eyebrow { line-height: 1.6; }

/* Wider centred container for v1 pages */
body.home .container.v1-wide { max-width: 1240px; margin-left: auto; margin-right: auto; }

/* Balanced section head: heading left, intro and link right */
.v1-shead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; margin-bottom: 40px; }
.v1-shead .hd-h2 { margin-top: 10px; }
.v1-shead p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--df-ink-soft); }
.v1-shead p + .v1-link { margin-top: 12px; }
.v1-shead.center { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
.v1-shead.center p { max-width: 60ch; }
@media (max-width: 860px) { .v1-shead { grid-template-columns: minmax(0, 1fr); } }

/* Numbered product sections (CodeRabbit-style): copy left, visual right */
.v1-feature { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.v1-feature.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.v1-feature.flip .v1-feature-copy { order: 2; }
.v1-num { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 13px; color: #4ade80; letter-spacing: .06em; }
.v1-feature-copy h2 { margin: 10px 0 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: var(--df-ink); }
.v1-feature-copy > p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--df-ink-soft); }
.v1-bullets { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.v1-bullets li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.5; color: var(--df-ink-soft); }
.v1-bullets li b { color: var(--df-ink); font-weight: 500; }
.v1-bullets li::before { content: ''; width: 9px; height: 5px; margin: 7px 0 0 4px; border-left: 2px solid #4ade80; border-bottom: 2px solid #4ade80; transform: rotate(-45deg); }
.v1-feature-copy .v1-link { margin-top: 22px; }
@media (max-width: 960px) { .v1-feature, .v1-feature.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; } .v1-feature.flip .v1-feature-copy { order: 0; } }

/* Window chrome for visuals */
.v1-win { border: 1px solid rgba(250, 250, 249, 0.12); border-radius: 14px; background: #121318; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9); }
.v1-win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgba(250, 250, 249, 0.08); }
.v1-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #34343b; }
.v1-win-bar span { margin-left: 10px; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12px; color: #8e8e96; }
.v1-win-bar .v1-win-tabs { margin-left: auto; display: flex; gap: 2px; }

/* Code panel with diff and finding annotation */
.v1-code-tabs { display: flex; gap: 2px; padding: 8px 10px 0; border-bottom: 1px solid rgba(250, 250, 249, 0.08); overflow-x: auto; }
.v1-code-tab { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px 9px; font-size: 13px; color: #8e8e96; border-radius: 8px 8px 0 0; white-space: nowrap; }
.v1-code-tab svg { width: 14px; height: 14px; }
.v1-code-tab[aria-selected="true"] { color: #fafaf9; background: rgba(250, 250, 249, 0.06); }
.v1-code-tab:focus-visible { outline: 2px solid #4ade80; }
.v1-finding { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 16px; border-bottom: 1px solid rgba(250, 250, 249, 0.08); font-size: 13.5px; color: #e4e4e7; }
.v1-sev { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; padding: 2px 7px; border-radius: 4px; background: rgba(245, 158, 11, 0.16); color: #fbbf24; }
.v1-sev.crit { background: rgba(248, 113, 113, 0.16); color: #f87171; }
.v1-rid { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12px; color: #4ade80; }
.v1-finding .where { margin-left: auto; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12px; color: #79c0ff; }
.v1-diff { margin: 0; padding: 12px 0; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12.5px; line-height: 1.75; color: #c9d1d9; overflow-x: auto; background: #0d0f14; }
.v1-diff span { display: block; padding: 0 16px; white-space: pre; }
.v1-diff .add { background: rgba(46, 160, 67, 0.16); color: #aff5b4; }
.v1-diff .del { background: rgba(248, 81, 73, 0.14); color: #ffdcd7; }
.v1-diff .hit { background: rgba(245, 158, 11, 0.10); box-shadow: inset 3px 0 0 #f59e0b; }
.v1-diff .mute { color: #6e7681; }
.v1-prod { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 12px 16px 14px; border-top: 1px solid rgba(250, 250, 249, 0.08); font-size: 13px; color: #b1b1b6; }
.v1-prod b { color: #fafaf9; font-weight: 500; }
.v1-prod .lbl { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; color: #f87171; border: 1px solid rgba(248, 113, 113, 0.4); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.v1-prod .spark { grid-column: 1 / -1; height: 34px; margin-top: 6px; }
.v1-code [role="tabpanel"][hidden] { display: none; }

/* Chain: production signal traced to code */
.v1-chain { display: grid; gap: 10px; padding: 18px; }
.v1-chain-step { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid rgba(250, 250, 249, 0.10); border-radius: 10px; background: #16171d; position: relative; }
.v1-chain-step + .v1-chain-step::before { content: ''; position: absolute; left: 30px; top: -11px; width: 1px; height: 10px; background: rgba(74, 222, 128, 0.6); }
.v1-chain-ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: rgba(74, 222, 128, 0.10); color: #4ade80; }
.v1-chain-ico svg { width: 17px; height: 17px; }
.v1-chain-step b { display: block; font-size: 14px; font-weight: 500; color: #fafaf9; }
.v1-chain-step span { display: block; font-size: 12.5px; color: #9a9aa2; font-family: var(--hd-mono, ui-monospace, monospace); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v1-chain-step em { font-style: normal; font-size: 11.5px; color: #8e8e96; border: 1px solid rgba(250, 250, 249, 0.14); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.v1-chain-step.hot { border-color: rgba(248, 113, 113, 0.45); }
.v1-chain-step.hot .v1-chain-ico { background: rgba(248, 113, 113, 0.12); color: #f87171; }

/* Fix timeline */
.v1-tl { list-style: none; margin: 0; padding: 22px 22px 18px; display: grid; gap: 0; }
.v1-tl li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; padding-bottom: 18px; position: relative; }
.v1-tl li::before { content: ''; width: 12px; height: 12px; margin: 4px 0 0 5px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.16); z-index: 1; }
.v1-tl li::after { content: ''; position: absolute; left: 10px; top: 16px; bottom: 0; width: 2px; background: rgba(74, 222, 128, 0.35); }
.v1-tl li:last-child::after { display: none; }
.v1-tl li.wait::before { background: #16171d; border: 2px solid #8e8e96; box-shadow: none; width: 8px; height: 8px; }
.v1-tl b { display: block; font-size: 14.5px; font-weight: 500; color: #fafaf9; }
.v1-tl span { display: block; margin-top: 2px; font-size: 13px; color: #9a9aa2; }
.v1-tl time { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12px; color: #8e8e96; }

/* Contribute flow */
.v1-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px; }
.v1-flow-step { border: 1px solid rgba(250, 250, 249, 0.10); border-radius: 10px; background: #16171d; padding: 14px; display: grid; gap: 8px; align-content: start; }
.v1-flow-step .n { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; color: #4ade80; }
.v1-flow-step b { font-size: 14px; font-weight: 500; color: #fafaf9; }
.v1-flow-step span { font-size: 12.5px; color: #9a9aa2; line-height: 1.5; }
.v1-flow-term { margin: 0 18px 18px; padding: 12px 14px; border-radius: 8px; background: #0d0f14; border: 1px solid rgba(250, 250, 249, 0.08); font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12.5px; line-height: 1.75; color: #c9d1d9; overflow-x: auto; white-space: pre; }
.v1-flow-term .p { color: #4ade80; }
.v1-flow-term .ok { color: #4ade80; }
.v1-flow-term .c { color: #6e7681; }
@media (max-width: 720px) { .v1-flow { grid-template-columns: minmax(0, 1fr); } }

/* Logo grid */
.v1-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v1-logo-group { border: 1px solid var(--df-line-strong); border-radius: 12px; background: var(--df-card); padding: 18px; }
.v1-logo-group h3 { margin: 0 0 14px; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8e8e96; }
.v1-logo-row { display: flex; flex-wrap: wrap; gap: 10px; }
.v1-logo { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: #1b1c22; border: 1px solid rgba(250, 250, 249, 0.08); font-size: 13.5px; color: #e4e4e7; }
.v1-logo svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
@media (max-width: 980px) { .v1-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .v1-logos { grid-template-columns: minmax(0, 1fr); } }

/* Architecture diagram */
.v1-archsvg { width: 100%; height: auto; display: block; }
.v1-archsvg text { font-family: var(--sans, Inter, system-ui, sans-serif); }
.v1-archsvg .mono { font-family: var(--hd-mono, ui-monospace, monospace); }
.v1-archsvg .flow { stroke-dasharray: 5 7; animation: v1flow 1.6s linear infinite; }
.v1-archsvg .flow.rev { animation-direction: reverse; }
@keyframes v1flow { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .v1-archsvg .flow { animation: none; } }
.v1-arch-scroll { overflow-x: auto; }
.v1-arch-scroll .v1-archsvg { min-width: 860px; }

/* Inner page split hero */
.v1-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.v1-split .v1-answer { max-width: none; }
.v1-split-side { min-width: 0; }
.v1-split-side img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(250, 250, 249, 0.12); }
@media (max-width: 960px) { .v1-split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Install walkthrough */
.v1-steps { display: grid; gap: 64px; }
.v1-step { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.v1-step-copy h3 { margin: 8px 0 0; font-size: 24px; font-weight: 500; color: var(--df-ink); letter-spacing: -0.01em; }
.v1-step-copy p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--df-ink-soft); }
.v1-step-copy pre { margin: 14px 0 0; padding: 12px 14px; border-radius: 8px; background: #0b0d11; border: 1px solid rgba(250, 250, 249, 0.08); font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12.5px; line-height: 1.7; color: #c9d1d9; overflow-x: auto; white-space: pre; }
.v1-step-shot img, .v1-step-shot video { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(250, 250, 249, 0.12); background: #121318; }
@media (max-width: 960px) { .v1-step { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

.v1-code-tab svg, .v1-logo svg { fill: currentColor; }
body.home .v1-wide .hd-faq { max-width: none; }
body.home .v1-wide .hd-faq-item summary { font-size: 17px; }
.v1-hero-center { text-align: center; display: grid; justify-items: center; }
.v1-hero-center h1 { margin-left: auto; margin-right: auto; max-width: 22ch; }
.v1-hero-center .v1-answer { margin-left: auto; margin-right: auto; }

/* Hero proof chips with icons */
.v1-proof li { display: inline-flex; align-items: center; gap: 7px; }
.v1-proof li svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.v1-proof-icons { display: inline-flex; gap: 4px; }

/* Follow one finding: shorter scroll, whole screenshot fitted in the frame */
body.home .st-track[data-scroll="true"] { min-height: calc(6 * 32vh + 100vh); }
body.home .st-view { aspect-ratio: 16 / 9; }
body.home .st-cam { inset: 0; height: 100%; display: flex; align-items: center; justify-content: center; padding: 14px; box-sizing: border-box; transform: none !important; }
body.home .st-cam img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
body.home .st-ring { display: none; }
@media (max-width: 900px) { body.home .st-view { aspect-ratio: 4 / 3; } body.home .st-cam { padding: 8px; } }

/* ── Home hero (2026-11-21): the label, the headline and the line under it on top, left-aligned, each on one line
   across the full width; below them two panes: the pitch, buttons, badges and Cloud link on the left, the install
   commands on the right. Overrides the split hero above and in home.css. ── */
body.home .hd-hero:has(.v1-hero) { padding: clamp(40px, 5vw, 80px) 0 clamp(36px, 5vw, 64px); }
body.home .hd-hero-wrap.v1-hero { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3vw, 44px); }
/* One line: the size follows the screen width (the text is about 15.5 em wide), capped at 88px. */
/* Headline at a calmer size (about 15.5 em wide on one line), capped at 56px. */
body.home .v1-hero h1 { white-space: nowrap; font-size: min(56px, calc((100vw - 64px) / 16.5)); line-height: 1.08; letter-spacing: -0.025em; margin-top: 16px; }
body.home .v1-hero .hd-hero-lede { margin: 18px 0 0; max-width: 40em; text-wrap: balance; }
/* The lede on one line too, from 900px up (about 41 em wide at its size), capped at 24px. */
@media (min-width: 900px) {
  body.home .v1-hero .hd-hero-lede { white-space: nowrap; max-width: none; font-size: min(20px, calc((100vw - 64px) / 42)); }
}
/* Two panes: the pitch and the buttons on the left, centred against the command box on the right (the pitch sits at
   the bottom of the first half, the buttons at the top of the second, so the pair centres on the box). */
body.home .v1-hero .hd-hero-side {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: clamp(32px, 4vw, 64px);
  grid-template-areas: "sub cmd" "cta cmd" "proof proof" "fine fine"; grid-template-rows: auto auto auto auto;
}
body.home .v1-hero .hd-hero-side .hd-hero-sub { grid-area: sub; align-self: start; max-width: 34em; }
body.home .v1-hero .v1-cmd { grid-area: cmd; margin: 0; max-width: none; align-self: end; } /* its bottom on the button row's line */
body.home .v1-hero .hd-hero-side .hd-cta-row { grid-area: cta; align-self: end; margin-top: 24px; }
/* Proof bar: what the engine supports and the Cloud offer, centred across both panes under a thin rule. */
body.home .v1-hero .v1-proof { grid-area: proof; justify-content: center; margin: clamp(32px, 4vw, 48px) 0 0; padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid rgba(250, 250, 249, 0.08); }
body.home .v1-hero .hd-hero-side .hd-fine { grid-area: fine; margin-top: 14px; text-align: center; }
/* Narrow screens: one pane under the other, commands after the pitch. */
@media (max-width: 960px) {
  body.home .v1-hero .hd-hero-side { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sub" "cmd" "cta" "proof" "fine"; grid-template-rows: none; }
  body.home .v1-hero .hd-hero-side .hd-hero-sub, body.home .v1-hero .hd-hero-side .hd-cta-row { align-self: auto; }
  body.home .v1-hero .v1-cmd { margin-top: 22px; }
}
/* Phones: too narrow for one readable line, so the headline wraps again. */
@media (max-width: 640px) {
  body.home .v1-hero h1 { white-space: normal; font-size: clamp(34px, 10vw, 46px); }
}

/* ── Follow one finding (2026-11-21): a narrow list of parts on the left, a large 16:9 window on the right. The parts
   spread over the window's height, so "Scan locally" lines up with its top and "Measure" with its bottom. If the list
   is the taller one (narrower screens), the window grows to match it. ── */
@media (min-width: 901px) {
  body.home .story { grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: stretch; }
  body.home .st-chaps { align-content: space-between; }
  body.home .st-chap.is-on .st-desc { max-height: var(--st-desc, 90px); }
  body.home .st-window { display: flex; flex-direction: column; }
  body.home .st-view { flex: 1 0 auto; aspect-ratio: 16 / 9; }
}

/* Badge icons in their own brand colours (2026-11-21). Key and "works offline" are generic symbols and stay grey.
   Rust's logo is black; on this dark chip it is shown in white, as rust-lang.org does on dark backgrounds. */
.v1-proof li svg.ic-py .py-b { fill: #3776ab; }
.v1-proof li svg.ic-py .py-y { fill: #ffd43b; }
.v1-proof li svg.ic-js { fill: #f7df1e; }              /* the letters are cut out and show the dark chip, like the black JS letters */
.v1-proof li svg.ic-ts { fill: #3178c6; }
.v1-proof li svg.ic-ts .ts-bg { fill: #fff; }          /* white behind the cut-out letters, as in the TypeScript logo */
.v1-proof li svg.ic-go { fill: #00add8; }
.v1-proof li svg.ic-rs { fill: #fafaf9; }
.v1-proof li svg.ic-otel { fill: #f5a800; }

/* ── Tomosu Agents, compact (2026-11-21): heading and intro side by side, the steps start level with the panel,
   a smaller panel, and about half the scrolling (3 steps × 40% of the screen instead of 85%). ── */
body.home #harness { padding: clamp(56px, 6vw, 80px) 0; }
#harnessStory[data-enhanced="true"] { min-height: calc(var(--ss-steps) * 40vh + 100vh); }
#harnessStory[data-enhanced="true"] .ss-stage { min-height: 0; gap: clamp(24px, 3vh, 36px); }
body.home #harness .ss-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px); align-items: end; }
body.home #harness .ss-head .hd-eyebrow { grid-column: 1; }
body.home #harness .ss-head .hd-h2 { grid-column: 1; font-size: clamp(26px, 2.6vw, 36px); margin-top: 10px; }
body.home #harness .ss-head .hd-lede { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 15.5px; line-height: 1.6; max-width: none; }
body.home #harnessStory[data-enhanced="true"] .ss-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(32px, 5vw, 72px); } /* same columns as the heading row, so the panel lines up under the intro */ /* only the scroll mode: phones keep the stacked fallback */
body.home #harness .ss-step-btn { padding: 0.85rem 0 0.5rem; font-size: clamp(17px, 1.4vw, 20px); }
body.home #harness .ss-step:first-child .ss-step-btn { padding-top: 0; }
body.home #harness .ss-body p { padding-bottom: 1rem; font-size: 14.5px; }
body.home #harness .hv { max-width: none; gap: 9px; }
body.home #harness .hd-cp-board { padding: 16px; }
body.home #harness .hd-cp-head { padding-bottom: 10px; }
body.home #harness .hv-code, body.home #harness .hv-event { padding: 9px 12px; }
body.home #harness .hv-event b { font-size: 13.5px; }
body.home #harness .hv-checks li { padding: 7px 12px; }
body.home #harness .hv-stat { padding: 10px 12px; }
body.home #harness .hv-stat b { font-size: 22px; }
body.home #harness .hv-ring { width: 84px; height: 84px; }
body.home #harness .hv-ring b { font-size: 24px; }
body.home #harness .hv-bars { height: 44px; }
@media (max-width: 900px) {
  body.home #harness .ss-head { grid-template-columns: minmax(0, 1fr); }
  body.home #harness .ss-head .hd-lede { grid-column: 1; grid-row: auto; margin-top: 12px; }
  body.home #harness .ss-step:first-child .ss-step-btn { padding-top: 0.85rem; }
}

/* Tomosu Agents: the walkthrough link sits under the steps, its bottom level with the panel's bottom edge. */
body.home #harness .ss-left { grid-column: 1; grid-row: 1; min-width: 0; }
body.home #harnessStory[data-enhanced="true"] .ss-left { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
body.home #harness .ss-left-foot .hd-cp-demo { max-width: none; margin: 0; padding: 10px 12px; }
body.home #harnessStory:not([data-enhanced="true"]) .ss-left { grid-column: 1; grid-row: auto; }
body.home #harnessStory:not([data-enhanced="true"]) .ss-left-foot { margin-top: 16px; }
/* All three panels share the tallest one's height (stats row pinned to the bottom), so the box edge stays put
   as the steps change and the walkthrough link stays level with it. */
body.home #harnessStory[data-enhanced="true"] .ss-visual { align-self: stretch; }
body.home #harnessStory[data-enhanced="true"] .ss-panel { align-self: stretch; display: flex; }
body.home #harnessStory[data-enhanced="true"] .ss-panel > .hd-cp-board { flex: 1; }
body.home #harnessStory[data-enhanced="true"] .ss-panel .hv-stats { margin-top: auto; }

/* Book a Call: the floating button is now a link (it replaced the chat widget), so keep the button look. */
a.chat-launcher, a.chat-launcher:hover { text-decoration: none; }

/* ── Add Tomosu Cloud dialog (assets/v1.js) ── */
.v1-signup { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(5, 5, 7, 0.72); backdrop-filter: blur(4px); }
.v1-signup[hidden] { display: none; }
.v1-signup-box { position: relative; width: min(440px, 100%); background: #131316; border: 1px solid rgba(250, 250, 249, 0.12); border-radius: 16px; padding: 28px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9); color: #fafaf9; }
.v1-signup-box h2 { margin: 8px 0 0; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.v1-signup-lede { margin: 10px 0 20px; font-size: 15px; line-height: 1.55; color: #b1b1b6; }
.v1-signup-x { all: unset; position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; font-size: 22px; line-height: 1; color: #8e8e96; cursor: pointer; }
.v1-signup-x:hover { color: #fafaf9; background: rgba(250, 250, 249, 0.06); }
.v1-signup-x:focus-visible, .v1-oauth:focus-visible { outline: 2px solid #4ade80; outline-offset: 2px; }
.v1-oauth { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; box-sizing: border-box; margin-top: 10px; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(250, 250, 249, 0.16); background: #fafaf9; color: #0e0e10; font-size: 15px; font-weight: 500; text-decoration: none; transition: background 0.15s; }
.v1-oauth + .v1-oauth { background: #1c1c21; color: #fafaf9; }
.v1-oauth:hover { background: #e4e4e7; }
.v1-oauth + .v1-oauth:hover { background: #26262c; }
.v1-oauth svg { width: 18px; height: 18px; flex: none; }
.v1-signup-fine { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: #8e8e96; }
.v1-signup-fine a, .v1-signup-in a:not(.hd-btn) { color: #d4d4d8; }
.v1-signup-in p { margin: 0 0 16px; color: #d4d4d8; }

/* ── /install welcome banner after a Tomosu Cloud sign-up ── */
.v1-welcome { padding: 28px 0 0; scroll-margin-top: 60px; } /* the nav is fixed: land below it, from the #cloud-next link or the script */
.v1-welcome[hidden] { display: none; }
.v1-welcome-card { border: 1px solid rgba(74, 222, 128, 0.35); background: linear-gradient(180deg, rgba(74, 222, 128, 0.07), rgba(74, 222, 128, 0.02)); border-radius: 14px; padding: 22px 24px; color: #fafaf9; }
.v1-welcome-err .v1-welcome-card, .v1-welcome-card.is-err { border-color: rgba(248, 81, 73, 0.4); background: rgba(248, 81, 73, 0.06); }
.v1-welcome-title { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.v1-welcome-sub { margin: 6px 0 16px; color: #b1b1b6; font-size: 14.5px; }
.v1-welcome-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v1-welcome-steps li { border: 1px solid rgba(250, 250, 249, 0.10); border-radius: 10px; padding: 14px 16px; background: rgba(14, 14, 16, 0.6); font-size: 14px; line-height: 1.55; color: #d4d4d8; }
.v1-welcome-steps b { display: block; color: #fafaf9; font-weight: 500; margin-bottom: 4px; }
.v1-welcome-steps .n { font-family: var(--hd-mono, monospace); font-size: 12px; color: #4ade80; margin-right: 6px; }
.v1-welcome-steps code { font-family: var(--hd-mono, monospace); font-size: 12.5px; color: #fafaf9; }
.v1-welcome-steps a { color: #4ade80; }
.v1-welcome-err .hd-btn { margin: 12px 10px 0 0; }
@media (max-width: 860px) { .v1-welcome-steps { grid-template-columns: minmax(0, 1fr); } }

/* Where it runs: simple three-zone diagram */
.v1-arch2 { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; }
.v1-az { border: 1px dashed rgba(250, 250, 249, 0.2); border-radius: 16px; padding: 16px; display: grid; gap: 10px; }
.v1-az.engine { border: 1px solid rgba(74, 222, 128, 0.55); background: linear-gradient(160deg, rgba(74, 222, 128, 0.07), transparent 60%); }
.v1-az.cloud { border-color: rgba(91, 157, 255, 0.55); }
.v1-az-head { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8e8e96; text-align: center; margin-bottom: 2px; }
.v1-az.engine .v1-az-head { color: #4ade80; }
.v1-az.cloud .v1-az-head { color: #7fb0ff; }
.v1-ab { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 10px; background: #16171d; border: 1px solid rgba(250, 250, 249, 0.08); }
.v1-ab b { display: block; font-size: 14.5px; font-weight: 500; color: #fafaf9; }
.v1-ab div > span { display: block; margin-top: 2px; font-size: 12.5px; color: #9a9aa2; }
.v1-ab-ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(250, 250, 249, 0.06); color: #e4e4e7; }
.v1-ab-ico svg { width: 18px; height: 18px; }
.v1-az.engine .v1-ab-ico { background: rgba(74, 222, 128, 0.12); color: #4ade80; }
.v1-az.cloud .v1-ab-ico { background: rgba(91, 157, 255, 0.12); color: #7fb0ff; }
.v1-ab.big { padding: 14px; background: #121a15; border-color: rgba(74, 222, 128, 0.3); }
.v1-ab.big b { font-size: 16px; }
.v1-aw { position: relative; display: grid; gap: 8px; justify-items: center; padding: 0 6px; }
.v1-aw i { display: block; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(74, 222, 128, 0.2), #4ade80); position: relative; }
.v1-aw i::after { content: ''; position: absolute; right: -1px; top: -4px; border-left: 8px solid #4ade80; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.v1-aw i.back { background: linear-gradient(270deg, rgba(91, 157, 255, 0.2), #5b9dff); }
.v1-aw i.back::after { right: auto; left: -1px; border-left: 0; border-right: 8px solid #5b9dff; }
.v1-aw span { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: #9a9aa2; text-align: center; line-height: 1.35; }
.v1-aw span:first-child { color: #4ade80; }
.v1-aw span:last-child { color: #7fb0ff; }
@media (max-width: 980px) {
  .v1-arch2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .v1-aw { padding: 12px 0; }
  .v1-aw i { width: 2px; height: 26px; background: rgba(74, 222, 128, 0.6); }
  .v1-aw i::after { right: -4px; top: auto; bottom: -1px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid #4ade80; border-bottom: 0; }
  .v1-aw.two { grid-template-columns: auto 2px 2px auto; align-items: center; gap: 12px; }
  .v1-aw i.back { background: rgba(91, 157, 255, 0.6); }
  .v1-aw i.back::after { left: -4px; right: auto; top: -1px; bottom: auto; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid #5b9dff; border-top: 0; }
}

/* ── Pricing (v1.2): Community and Enterprise ── */
.v1-pr-pill { margin-top: 26px; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; padding: 8px 8px 8px 16px; border-radius: 999px; border: 1px solid rgba(74, 222, 128, 0.45); background: rgba(74, 222, 128, 0.07); text-decoration: none; }
.v1-pr-pill b { font-size: 14px; font-weight: 600; color: #fafaf9; }
.v1-pr-pill span { font-size: 13px; color: #b1b1b6; }
.v1-pr-pill em { font-style: normal; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: #4ade80; color: #0e0e10; }
.v1-pr-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.v1-pr-card { position: relative; border: 1px solid var(--df-line-strong); border-radius: 18px; background: var(--df-card); padding: 32px 30px; display: flex; flex-direction: column; gap: 16px; }
.v1-pr-card.ent { border-color: rgba(91, 157, 255, 0.6); background: linear-gradient(170deg, rgba(91, 157, 255, 0.10), var(--df-card) 40%); }
.v1-pr-badge { position: absolute; top: -12px; left: 30px; background: #7fb0ff; color: #0e0e10; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.v1-pr-name { font-size: 16px; font-weight: 600; color: var(--df-ink); }
.v1-pr-tag { margin: -8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--df-ink-soft); }
.v1-pr-price { font-size: 52px; font-weight: 500; letter-spacing: -0.02em; color: var(--df-ink); line-height: 1; }
.v1-pr-price small { margin-left: 8px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--df-ink-soft); }
.v1-pr-credits { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(74, 222, 128, 0.45); background: rgba(74, 222, 128, 0.08); }
.v1-pr-credits svg { margin-top: 1px; }
.v1-pr-credits b { display: block; font-size: 14.5px; font-weight: 600; color: #fafaf9; }
.v1-pr-credits > div > span { display: block; margin-top: 2px; font-size: 13px; color: #b1b1b6; }
.v1-pr-seats { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; color: #fafaf9; }
.v1-pr-seats[hidden], .v1-pr-bar[hidden] { display: none; }
.v1-pr-seats i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2); }
.v1-pr-seats strong { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 15px; color: #4ade80; }
.v1-pr-bar { margin-top: 8px; height: 6px; border-radius: 999px; background: rgba(250, 250, 249, 0.10); overflow: hidden; }
.v1-pr-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: #4ade80; transition: width .2s linear; }
.v1-pr-cta { justify-content: center; width: 100%; box-sizing: border-box; }
.v1-pr-cta.light { background: #fafaf9 !important; color: #111 !important; border-color: #fafaf9 !important; }
.v1-pr-plus { margin: 4px 0 -4px; font-size: 13px; color: var(--df-grey); }
.v1-pr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v1-pr-list li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.45; color: var(--df-ink-soft); }
.v1-pr-list li b { color: var(--df-ink); font-weight: 600; }
.v1-pr-list li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 9px; height: 5px; border-left: 2px solid #4ade80; border-bottom: 2px solid #4ade80; transform: rotate(-45deg); }
.v1-pr-card.ent .v1-pr-list li::before { border-color: #7fb0ff; }
.v1-pr-group { display: grid; gap: 8px; }
.v1-pr-gt { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #7fb0ff; }
.v1-pr-foot { margin-top: auto; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11.5px; color: var(--df-grey); }
.v1-pr-byom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 44px; border-radius: 20px; border: 1px solid rgba(74, 222, 128, 0.4); background: linear-gradient(135deg, rgba(74, 222, 128, 0.10), #121318 55%); }
.v1-pr-byom p { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--df-ink-soft); }
.v1-pr-byom .hd-h2 { margin-top: 10px; }
.v1-pr-green { color: #86efac !important; font-size: 14.5px !important; }
.v1-pr-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.v1-pr-model { border: 1px solid rgba(250, 250, 249, 0.12); border-radius: 12px; background: #16171d; padding: 18px 10px; text-align: center; display: grid; gap: 4px; }
.v1-pr-model b { font-size: 14.5px; font-weight: 500; color: #fafaf9; }
.v1-pr-model span { font-size: 12px; color: #8e8e96; }
.v1-pr-table { min-width: 640px; }
.v1-pr-table th[scope="row"] { font-weight: 400; color: var(--df-ink-soft); background: none; }
.v1-pr-table td { text-align: center; }
.v1-pr-table thead th.g { color: #4ade80; text-align: center; }
.v1-pr-table thead th.b { color: #7fb0ff; text-align: center; }
.v1-pr-table tr.grp th { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--df-grey); padding-top: 18px; background: rgba(250, 250, 249, 0.02); }
body.home .v1-pr-faq .hd-faq { max-width: 860px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
  .v1-pr-plans, .v1-pr-byom { grid-template-columns: minmax(0, 1fr); }
  .v1-pr-byom { padding: 28px 20px; }
  .v1-pr-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

a.v1-card.v1-card-link { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.v1-card.v1-card-link:hover, a.v1-card.v1-card-link:focus-visible { border-color: rgba(74, 222, 128, 0.5); transform: translateY(-2px); }
/* Hero pitch: the closing "Open source…" line on its own line, set a little apart. */
body.home .v1-hero .v1-pitch-tail { display: block; margin-top: 12px; }

/* Pricing cards (2026-11-21): compact buttons right under the price, level across both cards; the free-credits
   box sits at the bottom of the Community card, under its last line. */
.v1-pr-card .v1-pr-cta { width: auto; align-self: flex-start; padding: 10px 22px; font-size: 15px; }
.v1-pr-card .v1-pr-list + .v1-pr-credits { margin-top: 6px; } /* right under the last line of the list */

/* Comparison table inside an FAQ answer ("Why not just ask a frontier model?") */
.hd-faq .v1-table-wrap { margin: 0 0 22px; }
.v1-logo img { height: 18px; width: auto; flex: none; display: block; }

/* Light "sample reports" line: home hero and pricing hero */
.v1-samples { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #8e8e96; }
.v1-samples.center { margin-top: 18px; text-align: center; }
.v1-samples a { color: #c4c4cc; text-decoration: underline; text-decoration-color: rgba(196, 196, 204, .45); text-underline-offset: 3px; }
.v1-samples a:hover { color: #fafaf9; text-decoration-color: currentColor; }
.hd-hero .hd-fine .v1-samples { display: block; margin-top: 6px; }

/* Story scene with a dark-theme screenshot (context graph): match the frame to it */
.st-scene.st-dark, .st-scene.st-dark .st-cam { background: #0e0f13; }

/* ── One-line headings (2026-11-22) ─────────────────────────────────────────
   Section and page titles were wrapping because they shared a row with a
   paragraph or a screenshot. On desktop, give each title the full width. */
@media (min-width: 961px) {
  /* Split heroes: eyebrow + h1 across the top, answer/CTA left, screenshot right */
  .v1-split { row-gap: 0; align-items: start; }
  .v1-split > div:first-child { display: contents; }
  .v1-split > div:first-child > .hd-eyebrow { grid-column: 1 / -1; grid-row: 1; }
  .v1-split > div:first-child > h1 { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .v1-split > div:first-child > .v1-answer { grid-column: 1; grid-row: 3; }
  .v1-split > div:first-child > .hd-cta-row { grid-column: 1; grid-row: 4; }
  .v1-split > .v1-split-side { grid-column: 2; grid-row: 3 / span 2; margin-top: 22px; }
  /* Feature rows: even columns, so short titles stop wrapping */
  .v1-feature, .v1-feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 861px) {
  /* Section headers: title on its own row, intro paragraph below it */
  .v1-shead { grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
  .v1-shead > :not(:first-child) { max-width: 760px; }
  .v1-shead.center > :not(:first-child) { margin-left: auto; margin-right: auto; }
}
.v1-hero-center h1 { max-width: none; }
body.home .hd-final .hd-h2 { max-width: 28ch; }

/* ── Rules database: four cards with small mono visuals (2026-11-22) ── */
.v1-viz { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; }
.v1-viz-h { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: #8e8e96; max-width: 34ch; }
.v1-viz-h b { color: #fafaf9; font-weight: 500; }
.v1-viz-panel { position: relative; height: 196px; padding: 18px 16px 34px; border: 1px solid rgba(250, 250, 249, 0.07); border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(250,250,249,.018) 0 1px, transparent 1px 22px), #0d0e12; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.v1-viz-legend { position: absolute; left: 16px; bottom: 11px; display: flex; gap: 14px; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; color: #8e8e96; }
.v1-viz-legend span { display: inline-flex; align-items: center; gap: 6px; }
.v1-viz-legend .sw { width: 8px; height: 8px; border-radius: 1px; background: #2a2c33; }
.v1-viz-legend .sw.on, .px-grid i.on, .px-wave i.on { background: #4ade80; }
.v1-viz-legend .sw.hot, .px-wave i.hot { background: #f0883e; }
.px-grid { display: grid; grid-template-columns: repeat(var(--cols), 9px); gap: 3px; align-self: center; }
.px-grid i { width: 9px; height: 9px; border-radius: 1px; background: #1f2127; opacity: .9; }
.px-grid i.on { opacity: .85; }
.px-wave { position: relative; display: flex; gap: 3px; align-items: flex-end; }
.px-wave span { display: flex; flex-direction: column-reverse; gap: 3px; }
.px-wave i { width: 7px; height: 7px; border-radius: 1px; background: #1f2127; }
.px-thr { position: absolute; left: -4px; right: -4px; bottom: calc(var(--thr) * 10px - 2px); border-top: 1px dashed rgba(240, 136, 62, .55); }
.v1-tree { list-style: none; margin: 0; padding: 0 0 0 14px; align-self: center; border-left: 1px solid rgba(250,250,249,.18); font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12.5px; color: #d4d4d8; }
.v1-tree li { position: relative; display: flex; align-items: center; gap: 9px; padding: 4px 0; }
.v1-tree li::before { content: ''; position: absolute; left: -14px; top: 50%; width: 9px; border-top: 1px solid rgba(250,250,249,.18); }
.v1-tree img { height: 16px; width: auto; padding: 3px; box-sizing: content-box; border-radius: 4px; background: #1b1c22; border: 1px solid rgba(250,250,249,.08); }
.v1-branch { width: 100%; max-width: 300px; height: auto; align-self: center; margin-bottom: -16px; }
.v1-branch .b-pill { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; fill: #0b0c0f; }
.v1-branch .b-pill.g { fill: #4ade80; }
.v1-branch .b-lbl { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; fill: #a1a1aa; }
@media (max-width: 1100px) { .v1-viz { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .v1-viz { grid-template-columns: minmax(0, 1fr); } }

/* ── Fix timeline as a branch rail (2026-11-22) ── */
.v1-tl-pill { display: inline-flex; align-items: center; gap: 7px; margin: 20px 0 0 18px; padding: 5px 12px; border-radius: 999px; background: #e7e7ea; color: #0b0c0f; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12px; }
.v1-tl.rail { padding-top: 16px; }
.v1-tl.rail li { padding-bottom: 20px; }
.v1-tl.rail li::before { width: 13px; height: 13px; margin: 3px 0 0 4px; border-radius: 2px; box-shadow: none; background: #4ade80 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M3.2 6.6l2.2 2.2 4.4-4.6' fill='none' stroke='%230b0c0f' stroke-width='1.8'/%3E%3C/svg%3E") center / 13px 13px no-repeat; }
.v1-tl.rail li::after { left: 10px; width: 1px; top: 18px; background: rgba(74, 222, 128, 0.55); }
.v1-tl.rail li.wait::before { width: 11px; height: 11px; background: #16171d; border: 1px solid #8e8e96; }
.v1-tl.rail b { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 13.5px; font-weight: 400; letter-spacing: 0; }
.v1-tl.rail li.wait b { color: #a1a1aa; }

/* Labels above a page title (engine page, 2026-11-26). */
ul.v1-pills.v1-pills-top { margin: 0 0 16px; }
.v1-pills-top + h1 { margin-top: 0; }
.v1-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.v1-title-row h1 { margin: 0; }
.v1-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v1-pills li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border: 1px solid rgba(74, 222, 128, 0.35); border-radius: 999px; background: rgba(74, 222, 128, 0.07); color: #bbf7d0; font-size: 13px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; }
.v1-pills li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.v1-subhead { margin: 16px 0 0; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -0.01em; color: #fafaf9; font-weight: 500; text-wrap: balance; }
.v1-subhead + .v1-answer { margin-top: 16px; }
/* A split hero whose screenshot sits top right, beside the title, subheading and text (engine page). */
@media (min-width: 961px) {
  .v1-split.v1-split-top > div:first-child { display: block; }
  .v1-split.v1-split-top { align-items: center; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .v1-split.v1-split-top h1 { font-size: clamp(40px, 3.8vw, 54px); }
  .v1-split.v1-split-top > .v1-split-side { grid-column: 2; grid-row: 1; margin-top: 0; }
}

/* ── Reliability Intelligence page (/rules, 2026-11-26) ── */
.ri-meta { margin: 18px 0 0; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12.5px; letter-spacing: .02em; color: #8e8e96; }
.v1-page-hero .hd-cta-row { margin-top: 26px; }
.ri-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(74, 222, 128, 0.5); color: #4ade80; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12px; }
.ri-anatomy, .ri-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ri-anatomy { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ri-anatomy li, .ri-steps li { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--df-line-strong); border-radius: 12px; background: var(--df-card); min-width: 0; }
.ri-anatomy b, .ri-steps b { font-size: 18px; font-weight: 500; color: var(--df-ink); letter-spacing: -0.01em; }
.ri-anatomy li > span:last-child, .ri-steps li > span:last-child { font-size: 15px; line-height: 1.6; color: var(--df-ink-soft); }
.ri-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.ri-steps li { position: relative; }
.ri-steps li:not(:last-child)::after { content: "\2192"; position: absolute; right: -14px; top: 22px; color: #4ade80; font-size: 16px; z-index: 1; }
.ri-tiers { margin-top: 24px; }
.ri-tiers .ri-pro { border-color: rgba(127, 176, 255, 0.35); }
.ri-tiers .ri-pro .v1-k { color: #7fb0ff; }
.ri-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.ri-pair .hd-h2 { margin-top: 12px; }
.ri-lead { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--df-ink-soft); }
.ri-lead b { color: #4ade80; font-weight: 500; }
.ri-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ri-points li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.55; color: var(--df-ink-soft); }
.ri-points li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; background: rgba(74, 222, 128, 0.14); color: #4ade80; font-size: 10px; display: grid; place-items: center; }
.ri-points b { color: var(--df-ink); font-weight: 500; }
.ri-pair .v1-viz-panel { min-height: 300px; }
.ri-cats .v1-card h3 { font-size: 17px; }
.ri-cats .v1-card p { font-size: 14px; }
.ri-cta { margin-top: 28px; }
.v1-card code { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12.5px; color: var(--df-ink); background: rgba(250, 250, 249, 0.06); padding: 1px 5px; border-radius: 4px; }
@media (max-width: 1100px) { .ri-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ri-steps li::after { display: none; } }
@media (max-width: 960px) { .ri-anatomy { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ri-pair { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 640px) { .ri-anatomy, .ri-steps { grid-template-columns: minmax(0, 1fr); } }

/* Follow one finding + Tomosu Agents, one section (2026-11-27): the six parts grouped by phase,
   a one-line lede under the headline, and the product walkthrough under the parts. */
body.home .story-lede { margin: 14px 0 0; max-width: 64ch; font-size: 16px; line-height: 1.6; color: #a1a1aa; }
body.home .st-group { display: grid; gap: 2px; }
body.home .st-phase { margin: 0 0 2px 12px; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6b6b73; transition: color .3s; }
body.home .st-group:has(.st-chap.is-on) .st-phase { color: #4ade80; }
body.home .st-chap { padding-top: 11px; padding-bottom: 11px; }
body.home .st-more .hd-cp-demo { margin: 6px 0 0; padding: 10px 12px; max-width: none; }
@media (max-width: 900px) {
  body.home .st-group:not(:has(.st-chap.is-on)) { display: none; }
  body.home .st-phase { margin-left: 0; }
  body.home .st-more { display: none; }
}

/* PRI strip under the walkthrough window (2026-11-27): the score, the change so far and the trend, moving with the parts. */
body.home .st-pri { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; align-items: center; padding: 12px 16px; border-top: 1px solid rgba(250, 250, 249, 0.08); background: #121216; }
body.home .st-pri-ring { --v: 41; --c: #f87171; position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
body.home .st-pri-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
body.home .st-pri-ring circle { fill: none; stroke-width: 9; }
body.home .st-pri-ring .t { stroke: #2a2a30; }
body.home .st-pri-ring .a { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 289.03; stroke-dashoffset: calc(289.03 * (1 - var(--v) / 100)); transition: stroke-dashoffset .8s cubic-bezier(.4, 0, .2, 1), stroke .4s; }
body.home .st-pri-ring > div { position: relative; text-align: center; }
body.home .st-pri-ring b { display: block; font-size: 20px; font-weight: 500; line-height: 1; color: #fafaf9; font-variant-numeric: tabular-nums; }
body.home .st-pri-ring span { display: block; margin-top: 3px; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 8px; letter-spacing: .05em; text-transform: uppercase; color: var(--c); transition: color .4s; }
body.home .st-pri-stat b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: #fafaf9; font-variant-numeric: tabular-nums; }
body.home .st-pri-stat.up b { color: #4ade80; }
body.home .st-pri-stat span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.35; color: #a1a1aa; }
body.home .st-pri-trend { display: flex; align-items: flex-end; gap: 12px; min-width: 0; }
body.home .st-pri-l { flex: none; padding-bottom: 1px; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: #6b6b73; }
body.home .st-pri-bars { flex: 1; display: flex; align-items: flex-end; gap: 5px; height: 44px; }
body.home .st-pri-bars i { flex: 1; height: calc(var(--h) * 0.52px); border-radius: 3px 3px 0 0; background: #24242a; transition: background .4s, opacity .4s; }
body.home .st-pri-bars i.on { background: var(--c); opacity: .45; }
body.home .st-pri-bars i.now { opacity: 1; }
@media (max-width: 900px) {
  body.home .st-pri { grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; padding: 10px 12px; }
  body.home .st-pri-trend { grid-column: 1 / -1; }
  body.home .st-pri-bars { height: 32px; }
  body.home .st-pri-bars i { height: calc(var(--h) * 0.38px); }
}
@media (min-width: 901px) {
  body.home .st-chaps { display: flex; flex-direction: column; gap: 10px; }
  body.home .st-more { margin-top: auto; }
}

/* Hero "get started" box (2026-11-27): the commands for each tab, then what each step gives you, as a quiet list. */
body.home .v1-hero .v1-start { grid-area: cmd; align-self: start; margin: 0; }
.v1-start-steps { list-style: none; margin: 0; padding: 4px 18px 16px; display: grid; gap: 10px; border-top: 1px solid rgba(250, 250, 249, 0.08); padding-top: 14px; }
.v1-start-steps li { position: relative; padding-left: 22px; font-size: 13px; line-height: 1.5; color: #a1a1aa; }
.v1-start-steps li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #4ade80; font-size: 12px; }
.v1-start-steps b { display: block; color: #fafaf9; font-weight: 500; font-size: 13.5px; }
.v1-start-steps code { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 12px; color: #d4d4d8; }
.v1-start-sev { display: inline-block; padding: 0 5px; margin-right: 2px; border-radius: 4px; background: rgba(210, 153, 34, 0.18); color: #e3b341; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 10.5px; }
body.home .v1-hero .hd-hero-side:has(.v1-start) { grid-template-rows: auto 1fr auto auto; }
body.home .v1-hero .hd-hero-side:has(.v1-start) .hd-cta-row { align-self: start; }

/* "How it works" tab (2026-11-27): the three steps, one finding with its fix, and the PRI before and after. Static. */
.v1-hiw { padding: 16px 18px 4px; }
.v1-hiw-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.v1-hiw-steps li { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(250, 250, 249, 0.10); border-radius: 8px; font-size: 12.5px; line-height: 1.3; color: #d4d4d8; background: rgba(250, 250, 249, 0.02); }
.v1-hiw-steps li + li::before { content: ""; position: absolute; left: -9px; top: 50%; width: 9px; border-top: 1px solid rgba(74, 222, 128, 0.55); }
.v1-hiw-n { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(74, 222, 128, 0.55); color: #4ade80; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; }
.v1-hiw-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: stretch; }
.v1-hiw-card { padding: 12px 14px; border: 1px solid rgba(250, 250, 249, 0.10); border-radius: 10px; background: rgba(250, 250, 249, 0.03); min-width: 0; }
.v1-hiw-top { display: flex; gap: 6px; align-items: center; }
.v1-hiw-origin { padding: 0 6px; border-radius: 4px; background: rgba(74, 222, 128, 0.12); color: #4ade80; font-size: 10.5px; font-family: var(--hd-mono, ui-monospace, monospace); }
.v1-hiw-title { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; color: #fafaf9; }
.v1-hiw-loc { display: block; margin-top: 2px; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11.5px; color: #8e8e96; }
.v1-hiw-diff { margin-top: 8px; padding: 6px 9px; border-radius: 6px; background: #0b0d11; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; line-height: 1.6; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.v1-hiw-diff span { display: block; overflow: hidden; text-overflow: ellipsis; }
.v1-hiw-diff .del { color: #f87171; }
.v1-hiw-diff .add { color: #4ade80; }
.v1-hiw-act { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 11.5px; color: #8e8e96; }
.v1-hiw-accept { padding: 3px 10px; border-radius: 6px; background: rgba(74, 222, 128, 0.14); color: #4ade80; font-weight: 500; }
.v1-hiw-pri { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 14px; border: 1px solid rgba(250, 250, 249, 0.10); border-radius: 10px; }
.v1-hiw-pri-h { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 10.5px; letter-spacing: .08em; color: #8e8e96; }
.v1-hiw-score { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.v1-hiw-ring { position: relative; width: 46px; height: 46px; display: grid; place-items: center; }
.v1-hiw-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.v1-hiw-ring circle { fill: none; stroke-width: 4; }
.v1-hiw-ring .t { stroke: #24242a; }
.v1-hiw-ring .a { stroke-dasharray: 125.66; stroke-linecap: round; }
.v1-hiw-ring.low .a { stroke: #f87171; }
.v1-hiw-ring.high .a { stroke: #4ade80; }
.v1-hiw-ring b { position: relative; font-size: 14px; font-weight: 500; color: #fafaf9; font-variant-numeric: tabular-nums; }
.v1-hiw-band { font-size: 10.5px; font-family: var(--hd-mono, ui-monospace, monospace); text-transform: uppercase; letter-spacing: .05em; }
.v1-hiw-band.low { color: #f87171; }
.v1-hiw-band.high { color: #4ade80; }
.v1-hiw-arrow { color: #4ade80; font-size: 13px; line-height: 1; }
.v1-hiw-text { padding: 14px 0 12px; margin-top: 14px; }
@media (max-width: 640px) {
  .v1-hiw-steps { grid-template-columns: minmax(0, 1fr); }
  .v1-hiw-steps li + li::before { left: 18px; top: -9px; width: 0; height: 9px; border-top: 0; border-left: 1px solid rgba(74, 222, 128, 0.55); }
  .v1-hiw-main { grid-template-columns: minmax(0, 1fr); }
  .v1-hiw-pri { flex-direction: row; gap: 14px; }
  .v1-hiw-arrow { transform: rotate(-90deg); }
}

/* The How it works graphic as its own section below the hero: steps across the top, then the finding and PRI
   beside the two sentences. */
.v1-hiw.v1-hiw-sec { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 32px; padding: 0; align-items: start; }
.v1-hiw-sec .v1-hiw-steps { grid-column: 1 / -1; margin: 0; }
.v1-hiw-sec .v1-hiw-steps li { padding: 12px 14px; font-size: 14px; }
.v1-hiw-sec .v1-hiw-title { font-size: 15.5px; }
.v1-hiw-sec .v1-hiw-diff { font-size: 12px; }
.v1-hiw-sec .v1-hiw-text { margin: 0; padding: 4px 0 0; border-top: 0; gap: 16px; }
.v1-hiw-sec .v1-hiw-text li { font-size: 14.5px; }
.v1-hiw-sec .v1-hiw-text b { font-size: 15.5px; }
@media (max-width: 900px) { .v1-hiw.v1-hiw-sec { grid-template-columns: minmax(0, 1fr); } }

/* How it works, with the end-to-end demo video beside the finding and the two sentences (2026-11-27). */
.v1-hiw.v1-hiw-sec { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "steps steps" "main video" "text video"; }
.v1-hiw-sec .v1-hiw-steps { grid-area: steps; }
.v1-hiw-sec .v1-hiw-main { grid-area: main; }
.v1-hiw-sec .v1-hiw-text { grid-area: text; }
.v1-hiw-video { grid-area: video; margin: 0; align-self: start; }
.v1-hiw-video .v1-win { overflow: hidden; }
.v1-hiw-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0b0c0f; }
.v1-hiw-video figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: #8e8e96; }
@media (max-width: 900px) {
  .v1-hiw.v1-hiw-sec { grid-template-columns: minmax(0, 1fr); grid-template-areas: "steps" "video" "main" "text"; }
}
/* Hero Tomosu Cloud tab: one line, then the Pro features as the quiet list. */
.v1-start-cloud { border-top: 1px solid rgba(250, 250, 249, 0.08); }
.v1-start-cloud > p { margin: 0; padding: 14px 18px 0; font-size: 13.5px; line-height: 1.5; color: #d4d4d8; }
.v1-start-cloud .v1-start-steps { border-top: 0; padding-top: 10px; }
.v1-start-steps a { color: #c4c4cc; text-decoration: underline; text-underline-offset: 3px; }

/* Hero get-started box, rotating (index.html script): each tab fades in as it comes round. */
.v1-rotating [role="tabpanel"]:not([hidden]) { animation: v1TabIn 0.4s ease; }
@keyframes v1TabIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* Hero: the support labels and the sample-report links, a step larger (2026-11-27). */
body.home .v1-hero .v1-proof { gap: 10px 12px; }
body.home .v1-hero .v1-proof li { font-size: 14px; padding: 6px 14px; gap: 8px; }
body.home .v1-hero .v1-proof li svg { width: 16px; height: 16px; }
body.home .v1-hero .v1-proof-icons { gap: 5px; }
body.home .v1-hero .hd-fine .v1-samples { font-size: 14.5px; margin-top: 10px; }

/* Hero sits a little lower under the nav (2026-11-27). */
body.home .hd-hero:has(.v1-hero) { padding-top: clamp(64px, 7.5vw, 120px); }

/* Hero Join the Waitlist: the same button as the nav's (size, weight, pill shape). */
body.home .v1-hero .hd-cta-row .v1-hero-wl { min-height: 0; font-size: 13px; font-weight: 600; line-height: normal; padding: 10px 20px; border-radius: 100px; border: 0; }

/* Home rule cards: six languages fit the card (2026-11-27). */
.v1-viz .v1-tree li { padding: 1px 0; gap: 8px; font-size: 12px; }
.v1-viz .v1-tree img { height: 14px; padding: 2px; }

/* Hero get-started box: under the commands, a sample of the console (Try the demo) and the scan's progress (Scan
   your repo), each filling the box to its bottom without making it taller (2026-11-27). */
body.home .v1-hero .v1-start .v1-cmd-body { display: flex; flex-direction: column; }
body.home .v1-hero .v1-start [role="tabpanel"]:not([hidden]) { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.v1-demo-ui, .v1-scan-ui { flex: 1; min-height: 0; margin: 0 18px 14px; overflow: hidden; border-radius: 8px; }
.v1-demo-ui { border: 1px solid rgba(250, 250, 249, 0.10); background: #121318; }
.v1-demo-bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-bottom: 1px solid rgba(250, 250, 249, 0.08); font-family: var(--hd-mono, ui-monospace, monospace); font-size: 10.5px; color: #8e8e96; }
.v1-demo-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a40; }
.v1-demo-bar span { margin-left: 6px; }
.v1-demo-bar em { margin-left: auto; font-style: normal; padding: 1px 6px; border-radius: 4px; background: rgba(250, 250, 249, 0.06); color: #8e8e96; }
.v1-demo-row { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid rgba(250, 250, 249, 0.06); font-size: 12px; white-space: nowrap; overflow: hidden; }
.v1-demo-row:last-child { border-bottom: 0; }
.v1-demo-row b { font-weight: 500; color: #fafaf9; overflow: hidden; text-overflow: ellipsis; }
.v1-demo-row code { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11px; color: #8e8e96; }
.v1-demo-fix { margin-left: auto; flex: none; padding: 1px 7px; border-radius: 4px; background: rgba(74, 222, 128, 0.12); color: #4ade80; font-size: 11px; }
.v1-scan-ui { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 2px 0 0; }
.v1-scan-step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; width: max-content; max-width: 100%; font-size: 12px; color: #a1a1aa; }
.v1-scan-done { margin: 0; font-size: 12px; color: #a1a1aa; }
.v1-scan-done b { font-weight: 500; color: #4ade80; }
@keyframes v1Show { from { opacity: 0; } to { opacity: 1; } }
.v1-measuring .v1-fill { display: none !important; }
/* Compact enough to fit the room under the commands at every width. */
.v1-demo-bar { height: 20px; font-size: 10px; }
.v1-demo-row { padding: 4px 10px; font-size: 11.5px; line-height: 1.35; }
.v1-demo-row code { font-size: 10.5px; }
.v1-demo-fix { font-size: 10.5px; padding: 0 6px; }
.v1-scan-ui { gap: 4px; }
.v1-scan-step { gap: 4px; font-size: 11.5px; line-height: 1.3; }
.v1-scan-done { font-size: 11.5px; line-height: 1.3; }

/* Hero counters above Join the Waitlist (2026-11-27): their own grid row between the pitch and the button, both
   pinned to the bottom so the button's bottom lines up with the get-started box's bottom. */
body.home .v1-hero .hd-hero-side:has(.v1-hero-stats) {
  grid-template-areas: "sub cmd" "stats cmd" "cta cmd" "proof proof" "fine fine";
  grid-template-rows: auto 1fr auto auto auto;
}
body.home .v1-hero .hd-hero-side .v1-hero-stats { grid-area: stats; align-self: end; }
body.home .v1-hero .hd-hero-side:has(.v1-hero-stats) .hd-cta-row { align-self: end; margin-top: 22px; }
.v1-hero-stats { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 34px; }
.v1-hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.v1-hero-stats b { font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: #fafaf9; font-variant-numeric: tabular-nums; }
.v1-hero-stats span { font-size: 13px; color: #8e8e96; }
@media (max-width: 960px) {
  body.home .v1-hero .hd-hero-side:has(.v1-hero-stats) { grid-template-areas: "sub" "cmd" "stats" "cta" "proof" "fine"; grid-template-rows: none; }
  body.home .v1-hero .hd-hero-side .v1-hero-stats { align-self: auto; }
}
/* When the left column is the taller one, the box stretches to it (its fixed height becomes the minimum) so the
   button and the box still end on the same line. */
@media (min-width: 961px) {
  body.home .v1-hero .hd-hero-side:has(.v1-hero-stats) .v1-start { align-self: stretch; display: flex; flex-direction: column; }
  body.home .v1-hero .hd-hero-side:has(.v1-hero-stats) .v1-start .v1-cmd-body { flex: 1 0 auto; }
}
.v1-hero-stats .v1-hero-more { align-self: flex-end; padding-bottom: 2px; font-size: 11.5px; letter-spacing: 0.01em; color: #8e8e96; }

/* Scan your repo: install-style progress (2026-11-27). Label, 20 blocks, percentage, in the terminal's mono type. */
.v1-scan-ui { padding-top: 4px; display: grid; grid-template-columns: minmax(0, max-content) auto 4ch; justify-content: start; align-content: start; column-gap: 14px; row-gap: 7px; }
.v1-scan-step { display: contents; }
.v1-scan-l, .v1-scan-bar, .v1-scan-pct { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11.5px; line-height: 1.4; }
.v1-scan-l { color: #a1a1aa; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v1-scan-bar { white-space: pre; letter-spacing: -0.5px; }
.v1-scan-bar .on { color: #4ade80; }
.v1-scan-bar .off { color: #34343c; }
.v1-scan-pct { text-align: right; color: #d4d4d8; font-variant-numeric: tabular-nums; }
.v1-scan-done { grid-column: 1 / -1; margin-top: 3px; font-family: var(--hd-mono, ui-monospace, monospace); }
.v1-scan-live .v1-scan-done { transition: opacity 0.3s ease; }
.v1-scan-live .v1-scan-done:not(.is-on) { opacity: 0; }
@media (max-width: 520px) { .v1-scan-ui { column-gap: 8px; } .v1-scan-l, .v1-scan-bar, .v1-scan-pct { font-size: 10.5px; } .v1-scan-bar { letter-spacing: -1px; } }
/* Four counters (with Pro rules) on one line where the column allows it. */
.v1-hero-stats { column-gap: clamp(18px, 1.8vw, 30px); }
.v1-hero-stats span { white-space: nowrap; font-size: 12.5px; }
.v1-hero-stats b { font-size: clamp(24px, 2.2vw, 30px); }
/* Hero labels (Open Source · Community Powered Rules Intelligence · Air-Gapped): text only, no leading dot. */
.v1-pills-top li { padding: 5px 12px; }
.v1-pills-top li::before { content: none; }

/* How it works (2026-11-27): the finding card and the four steps share the left column, the steps (2 x 2) pinned to
   its bottom so they end level with the video window; the caption hangs below the window, outside the row. */
.v1-hiw.v1-hiw-sec { grid-template-areas: "steps steps" "left video"; }
.v1-hiw-left { grid-area: left; align-self: stretch; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.v1-hiw-sec .v1-hiw-left .v1-hiw-main, .v1-hiw-sec .v1-hiw-left .v1-hiw-text { grid-area: auto; }
.v1-hiw-sec .v1-hiw-left .v1-hiw-text { margin-top: auto; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.v1-hiw-sec .v1-hiw-left .v1-hiw-text li { font-size: 14px; }
.v1-hiw-sec .v1-hiw-left .v1-hiw-text b { font-size: 15px; }
.v1-hiw-video { position: relative; }
.v1-hiw-video figcaption { position: absolute; left: 0; right: 0; top: 100%; }
.v1-hiw.v1-hiw-sec { margin-bottom: 44px; }
@media (max-width: 900px) {
  .v1-hiw.v1-hiw-sec { grid-template-areas: "steps" "video" "left"; margin-bottom: 0; }
  .v1-hiw-video figcaption { position: static; }
}
@media (max-width: 520px) { .v1-hiw-sec .v1-hiw-left .v1-hiw-text { grid-template-columns: minmax(0, 1fr); } }
/* Between tablet and desktop the left column outgrows the video: the steps take a full row under both instead. */
@media (min-width: 901px) and (max-width: 1180px) {
  .v1-hiw.v1-hiw-sec { grid-template-areas: "steps steps" "main video" "text text"; margin-bottom: 0; }
  .v1-hiw-left { display: contents; }
  .v1-hiw-sec .v1-hiw-left .v1-hiw-main { grid-area: main; }
  .v1-hiw-sec .v1-hiw-left .v1-hiw-text { grid-area: text; margin-top: 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .v1-hiw-video figcaption { position: static; }
}
.v1-hiw-sec .v1-hiw-left .v1-hiw-text { border-top: 0; }

/* Feature graphics (01 Prevent, 03 Prove, 04 Contribute; 2026-11-27): a narrower column, and the window spans exactly
   the copy beside it, top to bottom. The copy sets the height; in each window one part gives way (the diff, the
   timeline, the screenshot), fading out where it is cut. */
@media (min-width: 961px) {
  .v1-feature { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: stretch; }
  .v1-feature.flip { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .v1-feature-visual { position: relative; min-height: 300px; }
  .v1-feature-visual > .v1-win { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; }
  .v1-feature-visual > .v1-win > .v1-win-bar, .v1-feature-visual .v1-code-tabs, .v1-feature-visual .v1-finding,
  .v1-feature-visual .v1-prod, .v1-feature-visual .v1-tl-pill, .v1-feature-visual .v1-flow-term { flex: none; }
  .v1-feature-visual .v1-code [role="tabpanel"] { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .v1-feature-visual .v1-code [role="tabpanel"][hidden] { display: none; }
  .v1-feature-visual .v1-code .v1-diff, .v1-feature-visual .v1-tl { flex: 1 1 auto; min-height: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); }
  .v1-feature-visual .v1-tl { padding: 16px 20px 8px; }
  .v1-feature-visual .v1-tl li { padding-bottom: 12px; }
  .v1-feature-visual > .v1-win > img { flex: 1 1 0; min-height: 0; height: 0 !important; object-fit: cover; object-position: top left; }
}

/* Follow one finding (2026-11-27): the window runs from the first part's top to the last part's bottom, as wide as
   16:9 allows at that height (index.html's fit script sets the size); the last part sits at the list's foot. */
@media (min-width: 901px) {
  body.home .st-chaps > .st-group:last-child { margin-top: auto; }
  body.home .story.st-fitted { align-items: start; justify-content: center; grid-template-columns: minmax(280px, 380px) auto; }
  body.home .story.st-fitted .st-view { flex: 1 1 auto; aspect-ratio: auto; }
}
/* In that fitted window, the fixed parts are compact so the diff and the timeline keep most of the room. */
@media (min-width: 961px) {
  .v1-feature-visual .v1-code-tabs { padding-top: 4px; }
  .v1-feature-visual .v1-code-tab { padding: 6px 10px 7px; font-size: 12.5px; }
  .v1-feature-visual .v1-finding { padding: 9px 14px; gap: 4px 8px; font-size: 13px; }
  .v1-feature-visual .v1-finding .where { margin-left: 0; }
  .v1-feature-visual .v1-diff { padding: 8px 0; font-size: 12px; line-height: 1.6; }
  .v1-feature-visual .v1-prod { padding: 8px 14px 9px; gap: 2px 10px; font-size: 12.5px; }
  .v1-feature-visual .v1-prod .spark { height: 22px; margin-top: 2px; }
  .v1-feature-visual .v1-tl { padding: 12px 20px 4px; }
  .v1-feature-visual .v1-tl li { padding-bottom: 6px; gap: 12px; }
  .v1-feature-visual .v1-tl b { font-size: 14px; line-height: 1.35; }
  .v1-feature-visual .v1-tl span { margin-top: 0; font-size: 12.5px; line-height: 1.35; }
}
@media (min-width: 961px) {
  .v1-feature-visual .v1-prod .spark { display: none; }
  .v1-feature-visual .v1-tl { padding-top: 8px; }
}
@media (min-width: 961px) and (max-width: 1279px) { .v1-feature-visual .v1-finding .where { display: none; } }
/* Two links side by side under a section's intro (home: rules categories and every rule by name). */
.v1-link-row { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; }

/* Contact page (/contact, 2026-11-27): the form on the left, the partners note and email on the right. */
.ct-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; max-width: 1040px; margin: 0 auto; }
.ct-form { display: grid; gap: 16px; padding: 28px; border: 1px solid rgba(250, 250, 249, 0.12); border-radius: 14px; background: rgba(250, 250, 249, 0.04); }
.ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ct-field { display: grid; gap: 6px; font-size: 14px; color: #d4d4d8; }
.ct-field em { font-style: normal; color: #8e8e96; }
.ct-input { box-sizing: border-box; width: 100%; font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid rgba(250, 250, 249, 0.16); border-radius: 10px; background: #16161a; color: #fafaf9; }
.ct-input:focus { outline: 2px solid #4ade80; outline-offset: 1px; border-color: transparent; }
.ct-input[aria-invalid="true"] { border-color: #f87171; }
textarea.ct-input { resize: vertical; min-height: 140px; line-height: 1.55; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.ct-submit[disabled] { opacity: 0.6; cursor: progress; }
.ct-msg { margin: 0; font-size: 14px; color: #a1a1aa; }
.ct-msg.is-bad { color: #f87171; }
.ct-note { margin: 0; font-size: 12.5px; color: #8e8e96; }
.ct-done { padding: 8px 0; }
.ct-done-h { margin: 0 0 6px; font-size: 18px; font-weight: 500; color: #fafaf9; }
.ct-done p { color: #a1a1aa; }
.ct-side { display: grid; gap: 16px; }
.ct-card { padding: 20px 22px; border: 1px solid rgba(250, 250, 249, 0.12); border-radius: 14px; background: rgba(250, 250, 249, 0.04); }
.ct-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #a1a1aa; }
.ct-card p + p { margin-top: 6px; }
.ct-card-h { color: #fafaf9 !important; font-weight: 500; font-size: 15px !important; }
.ct-card a { color: #4ade80; }
.ct-partners { border-color: rgba(74, 222, 128, 0.35); background: rgba(74, 222, 128, 0.06); }
@media (max-width: 860px) { .ct-layout { grid-template-columns: minmax(0, 1fr); } .ct-row { grid-template-columns: minmax(0, 1fr); } .ct-form { padding: 20px; } }

/* Platform overview (/tomosu-platform, 2026-11-27): architecture, deploy, interfaces, guarantees, data. */
.pf-arch { margin: 0; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(170px, 0.62fr) minmax(0, 0.9fr); gap: 18px; align-items: stretch; }
.pf-zone { border: 1px solid rgba(250, 250, 249, 0.12); border-radius: 16px; padding: 18px; background: rgba(250, 250, 249, 0.04); display: flex; flex-direction: column; gap: 14px; }
.pf-zone-h { margin: 0; font-size: 15px; font-weight: 600; color: #fafaf9; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.pf-zone-h span { font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11.5px; font-weight: 400; color: #8e8e96; }
.pf-cloud { border-color: rgba(96, 165, 250, 0.35); background: rgba(96, 165, 250, 0.06); }
.pf-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pf-chips li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(250, 250, 249, 0.14); color: #d4d4d8; }
.pf-engine { border: 1px solid rgba(74, 222, 128, 0.35); background: rgba(74, 222, 128, 0.06); border-radius: 12px; padding: 14px; }
.pf-engine-h { margin: 0 0 10px; font-weight: 600; color: #fafaf9; font-size: 14.5px; }
.pf-engine-h span { margin-left: 8px; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11.5px; font-weight: 400; color: #4ade80; }
.pf-blocks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pf-blocks.one { grid-template-columns: minmax(0, 1fr); }
.pf-blocks li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #16161a; border: 1px solid rgba(250, 250, 249, 0.10); }
.pf-blocks b { font-size: 13.5px; font-weight: 500; color: #fafaf9; }
.pf-blocks span { font-size: 12px; color: #8e8e96; }
.pf-engine-f { margin: 10px 0 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-family: var(--hd-mono, ui-monospace, monospace); font-size: 11.5px; color: #a1a1aa; }
.pf-wire { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.pf-wire li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 8px; align-items: baseline; padding: 9px 12px; border-radius: 10px; border: 1px dashed rgba(250, 250, 249, 0.18); }
.pf-wire li b { font-size: 13px; font-weight: 500; color: #fafaf9; }
.pf-wire li span:not(.pf-arrow) { grid-column: 2; font-size: 12px; color: #8e8e96; }
.pf-arrow { grid-row: span 2; font-size: 16px; color: #4ade80; }
.pf-wire li.in .pf-arrow { color: #60a5fa; }
.pf-wire li.never { border-style: solid; border-color: rgba(248, 113, 113, 0.35); }
.pf-wire li.never .pf-arrow, .pf-wire li.never b { color: #f87171; }
@media (max-width: 1060px) {
  .pf-arch { grid-template-columns: minmax(0, 1fr); }
  .pf-wire { flex-direction: row; flex-wrap: wrap; }
  .pf-wire li { flex: 1 1 200px; }
  .pf-wire .pf-arrow { transform: rotate(90deg); }
}
@media (max-width: 640px) { .pf-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pf-deploy { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pf-deploy li { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; border: 1px solid rgba(250, 250, 249, 0.12); background: rgba(250, 250, 249, 0.04); }
.pf-deploy svg { width: 26px; height: 26px; color: #4ade80; margin-bottom: 4px; }
.pf-deploy b { font-size: 15px; font-weight: 500; color: #fafaf9; }
.pf-deploy span { font-size: 13px; line-height: 1.5; color: #a1a1aa; }
@media (max-width: 1060px) { .pf-deploy { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pf-deploy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pf-table .v1-table td:first-child { white-space: normal; }
.pf-pill { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pf-pill.eng { color: #4ade80; background: rgba(74, 222, 128, 0.10); border: 1px solid rgba(74, 222, 128, 0.35); }
.pf-pill.cloud { color: #60a5fa; background: rgba(96, 165, 250, 0.10); border: 1px solid rgba(96, 165, 250, 0.35); }

.pf-guard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pf-g { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; border: 1px solid rgba(250, 250, 249, 0.12); background: rgba(250, 250, 249, 0.04); }
.pf-g-wide { grid-column: 1 / -1; }
.pf-g b { font-size: 16px; font-weight: 500; color: #fafaf9; }
.pf-g span { font-size: 14px; line-height: 1.55; color: #a1a1aa; }
.pf-load { margin-top: 10px; display: grid; grid-template-columns: 3fr 2fr 1fr; gap: 4px; max-width: 640px; }
.pf-load span { padding: 7px 10px; border-radius: 8px; font-size: 12px; font-family: var(--hd-mono, ui-monospace, monospace); color: #0e0e10; }
.pf-load .n { background: #4ade80; }
.pf-load .r { background: #fbbf24; }
.pf-load .p { background: #f87171; }
@media (max-width: 860px) { .pf-guard { grid-template-columns: minmax(0, 1fr); } }


/* Prompts for Claude (docs/get-started/work-with-claude and /install, 2026-11-27): a titled box with Copy. */
.cp-box { margin: 12px 0 22px; border: 1px solid rgba(250, 250, 249, 0.14); border-radius: 12px; overflow: hidden; background: rgba(250, 250, 249, 0.04); }
.cp-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px 9px 16px; border-bottom: 1px solid rgba(250, 250, 249, 0.10); font-size: 13px; font-weight: 500; color: #fafaf9; }
.cp-bar > span::before { content: '\2726'; margin-right: 8px; color: #4ade80; }
.cp-copy { all: unset; cursor: pointer; font-size: 12.5px; padding: 5px 12px; border-radius: 8px; border: 1px solid rgba(250, 250, 249, 0.16); color: #d4d4d8; }
.cp-copy:hover, .cp-copy:focus-visible { color: #fafaf9; border-color: rgba(74, 222, 128, 0.5); }
.cp-copy.is-done { color: #4ade80; border-color: rgba(74, 222, 128, 0.5); }
.cp-text { margin: 0; padding: 14px 16px; max-height: 340px; overflow: auto; white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: 14px; line-height: 1.6; color: #d4d4d8; background: transparent; border: 0; }
