/* Public pages: homepage, about, trust, security, legal texts, request access. Uses the tokens in app.css. */
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: .5rem 1rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

.pnav { background: var(--ink); border-bottom: 1px solid var(--ink-line); position: sticky; top: 0; z-index: 40; }
.pnav::after { content: ""; display: block; height: 2px; background: var(--gradient); box-shadow: 0 0 14px var(--glow); }
.pnav-in { max-width: 1320px; margin: 0 auto; padding: 1rem 1.6rem; display: flex; align-items: center; gap: 1.6rem; position: relative; }
.pnav .brand { padding: .15rem .6rem .15rem 0; } .pnav .brand img { height: 44px; width: auto; display: block; }
.pnav-links { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.pnav-link, .mega-btn { color: var(--ink-muted); font-weight: 550; font-size: 1rem; padding: .6rem .55rem; border-radius: 9px; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.pnav-links > .btn { white-space: nowrap; }
.pnav-link:hover, .mega-btn:hover, .mega-btn[aria-expanded="true"] { color: #fff; background: var(--ink-2); text-decoration: none; }
.mega-btn .ico { width: .7em; height: .7em; transform: rotate(90deg); transition: transform .15s; } .mega-btn[aria-expanded="true"] .ico { transform: rotate(-90deg); }
.btn-demo { background: var(--gradient); border-color: transparent; color: #fff; box-shadow: 0 0 22px -4px var(--glow); }
.btn-second { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; } .btn-second:hover { background: var(--surface-2); border-color: var(--brand-b); filter: none; }
.pnav .btn-demo { margin: 0 .3rem; } .pnav .btn-second { color: #fff; border-color: var(--ink-line); } .pnav .btn-second:hover { background: var(--ink-2); }
.pnav-toggle { display: none; margin-left: auto; background: var(--ink-2); color: #fff; border: 1px solid var(--ink-line); border-radius: 8px; padding: .4rem .8rem; font: inherit; cursor: pointer; }
.mega-panel { position: absolute; left: 1.4rem; right: 1.4rem; top: calc(100% + 2px); background: var(--ink); border: 1px solid var(--ink-line); border-radius: 0 0 18px 18px; padding: 1.9rem 2rem 2.1rem; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(99, 102, 241, .12); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.9rem; } .mega-grid-4 { grid-template-columns: repeat(4, 1fr); }
.mega-group { color: #fff; font-weight: 650; font-size: .88rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .85rem; display: flex; align-items: center; gap: .5rem; }
.mega-card { display: flex; gap: .95rem; align-items: flex-start; padding: .85rem .9rem; border-radius: 12px; color: var(--ink-muted); border: 1px solid transparent; }
.mega-card:hover, .mega-card:focus-visible { background: var(--ink-2); border-color: var(--ink-line); text-decoration: none; }
.mega-card strong { color: #fff; display: block; font-weight: 600; font-size: 1.05rem; line-height: 1.35; } .mega-card .mega-text { display: block; font-size: .94rem; line-height: 1.6; margin-top: .2rem; }
.mega-card-plain { padding: .7rem .8rem; }
/* capability state: a small pill as wide as its word, outlined, with a dot. Light on purpose, so the title leads. */
.state { display: inline-flex; align-items: center; gap: .38rem; width: fit-content; font-size: .8rem; font-weight: 600; line-height: 1.5; border-radius: 999px; padding: 0 .65rem 0 .5rem; margin: .32rem 0 .1rem; border: 1px solid; background: transparent; white-space: nowrap; vertical-align: middle; }
.state::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; }
.state-available { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 38%, transparent); } .state-coming { color: var(--muted); border-color: color-mix(in srgb, var(--muted) 45%, transparent); border-style: dashed; } .state-coming::before { background: none; border: 1px solid currentColor; }
.state-review { color: var(--info); border-color: color-mix(in srgb, var(--info) 45%, transparent); border-style: dotted; } .state-review::before { background: none; border: 1px dotted currentColor; }
.pnav .state-available { color: #6ee7a8; border-color: rgba(110, 231, 168, .38); } .pnav .state-coming { color: #b3aecb; border-color: rgba(179, 174, 203, .45); } .pnav .state-review { color: #a5c8ff; border-color: rgba(165, 200, 255, .45); }
.caplist .state { margin: 0 0 0 .4rem; }

.phome { max-width: 1280px; margin: 0 auto; padding: 0 1.4rem 3rem; }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.4rem; align-items: center; padding: 3.2rem 0 2.6rem; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; margin: .6rem 0 1rem; }
.hero-sub { font-size: 1.2rem; line-height: 1.6; color: var(--text-2); max-width: 56ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.5rem 0 .8rem; }
.btn-big { padding: .75rem 1.5rem; font-size: 1.02rem; border-radius: 10px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .84rem; font-weight: 700; color: var(--muted); margin: 0 0 .3rem; }
.band { padding: 2.6rem 0; border-top: 1px solid var(--line-soft); scroll-margin-top: 80px; }
.band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; margin: 0 0 1.4rem; font-weight: 700; }
.band-lead { color: var(--text-2); max-width: 70ch; margin: -.8rem 0 1.4rem; font-size: 1.05rem; }
.pgrid { display: grid; gap: 1.1rem; } .pgrid-4 { grid-template-columns: repeat(4, 1fr); } .pgrid-3 { grid-template-columns: repeat(3, 1fr); } .pgrid-2 { grid-template-columns: repeat(2, 1fr); }
.pcard { margin: 0 0 .9rem; } .pcard h3 { margin: .8rem 0 .3rem; font-size: 1.1rem; } .pcard h4 { margin: 0 0 .2rem; font-size: 1.02rem; } .pcard p { color: var(--text-2); margin: 0; font-size: 1rem; line-height: 1.6; }
.pcard-row { display: flex; gap: .9rem; align-items: flex-start; } .pcard-row h3 { margin-top: 0; } .pcard .card-title h3 { margin: 0; }
.group-title { text-transform: uppercase; letter-spacing: .06em; font-size: .86rem; color: var(--muted); margin: 0 0 .7rem; }
.steps-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: none; }
.steps-row li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; position: relative; }
.steps-row h3 { margin: .7rem 0 .3rem; font-size: 1.1rem; } .steps-row p { margin: 0; color: var(--text-2); font-size: 1rem; line-height: 1.6; }
.step-n { width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: var(--gradient); box-shadow: 0 0 18px -4px var(--glow); }
.caplist { list-style: none; padding: 0; margin: 0; } .caplist li { padding: .75rem 0; border-top: 1px solid var(--line-soft); font-size: 1rem; } .caplist li:first-child { border-top: 0; }
.caplist strong { display: inline; } .caplist .muted { display: block; font-size: .92rem; line-height: 1.55; margin-top: .15rem; }
.cta-band { text-align: center; } .cta-band h2, .cta-band p { margin-left: auto; margin-right: auto; } .cta-band p { max-width: 60ch; color: var(--text-2); } .cta-band .hero-cta { justify-content: center; }
.pfoot { border-top: 1px solid var(--line); background: var(--ink); color: var(--ink-muted); margin-top: 2rem; }
.pfoot-in { max-width: 1280px; margin: 0 auto; padding: 2.2rem 1.4rem 1rem; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2rem; }
.pfoot .brand img { height: 44px; width: auto; display: block; } .pfoot .brand { display: inline-block; margin-bottom: .7rem; }
.pfoot h2 { font-size: .875rem; text-transform: uppercase; letter-spacing: .07em; color: #fff; margin: 0 0 .7rem; font-weight: 650; }
.pfoot nav { display: flex; flex-direction: column; gap: .55rem; } .pfoot a { color: var(--ink-muted); } .pfoot a:hover { color: #fff; } .pfoot .muted { color: var(--ink-muted); }
.pfoot-end { max-width: 1280px; margin: 0 auto; padding: .8rem 1.4rem 1.6rem; color: var(--ink-muted); }
body.public .page { min-height: 55vh; }

/* The short menu (21 November 2026) needs about 1,160px: below 1180px the links fold into the menu button (was 1320px for the
   longer menu of version 1.1). */
@media (max-width: 1180px) {
  .pnav-toggle { display: block; }
  .pnav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: .8rem 1.2rem 1.2rem; gap: .2rem; border-bottom: 1px solid var(--ink-line); max-height: calc(100vh - 70px); overflow: auto; }
  .pnav-links.open { display: flex; }
  .mega-panel { position: static; border: 0; box-shadow: none; padding: .4rem 0 .8rem; border-radius: 0; }
  .mega-grid, .mega-grid-4 { grid-template-columns: 1fr; gap: .8rem; }
}
@media (max-width: 1080px) {
  .pgrid-4 { grid-template-columns: repeat(2, 1fr); } .mega-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pfoot-in { grid-template-columns: repeat(3, 1fr); } .pfoot-in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .mega-grid, .mega-grid-4 { grid-template-columns: 1fr; gap: .8rem; }
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .pgrid-4, .pgrid-3, .pgrid-2, .steps-row { grid-template-columns: 1fr; } .pfoot-in { grid-template-columns: 1fr 1fr; } .pfoot-in > div:first-child { grid-column: 1 / -1; }
}

/* ---- pages of text: trust, security, the legal documents ---- */
.textpage h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -.02em; margin: 1.6rem 0 .6rem; } .textpage .lead { font-size: 1.1rem; line-height: 1.6; }
.textpage .card { margin-bottom: 1.1rem; scroll-margin-top: 90px; } .textpage .card p, .textpage .card li { max-width: 78ch; line-height: 1.65; } .textpage .card li { margin: .3rem 0; }
.steps-list { padding-left: 1.3rem; margin: 0; } .steps-list li { margin: .55rem 0; padding-left: .2rem; }
.s-cannot { background: var(--ok-bg); color: var(--ok); } .s-passing { background: var(--neutral-bg); color: var(--neutral); } .s-can { background: var(--info-bg); color: var(--info); }
.seetable { width: 100%; border-collapse: collapse; font-size: .97rem; }
.seetable thead th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .5rem .8rem; border-bottom: 1px solid var(--line); font-weight: 650; }
.seetable tbody th, .seetable td { padding: .8rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; text-align: left; line-height: 1.55; }
.seetable tbody th { font-weight: 600; width: 32%; } .seetable td:nth-child(2) { white-space: nowrap; width: 1%; } .seetable .subline { display: block; font-weight: 400; color: var(--text-2); font-size: .9rem; margin-top: .2rem; }
.seetable tbody tr:last-child :is(th, td) { border-bottom: 0; }
.seecard { margin: 0 0 .9rem; } .seelist ul { margin: .7rem 0 0; padding-left: 1.1rem; color: var(--text-2); } .seelist li { margin: .35rem 0; line-height: 1.5; } .seelist h3 { margin: 0; font-size: 1rem; }
.textpage-grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.6rem; align-items: start; } .textpage-grid > .prose:only-child { grid-column: 1 / -1; }
.textpage-toc { position: sticky; top: 100px; font-size: .95rem; } .textpage-toc h2 { font-size: .875rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: .3rem 0 .6rem; }
.textpage-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; } .textpage-toc a { display: block; padding: .3rem .5rem; border-radius: 7px; color: var(--text-2); }
.textpage-toc a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.prose h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; scroll-margin-top: 90px; } .prose h2:first-child { margin-top: .2rem; } .prose h3 { font-size: 1.08rem; margin: 1.3rem 0 .3rem; scroll-margin-top: 90px; } .prose h4 { font-size: 1rem; margin: 1rem 0 .2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; } .prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; } .doc-table { margin: .8rem 0; } .doc-table td, .doc-table th { white-space: normal; }
.textpage-grid > * { min-width: 0; } .prose { overflow-wrap: anywhere; }
.callout { margin: .9rem 0; padding: .7rem .95rem; border-left: 3px solid var(--brand-b); background: var(--surface-2); border-radius: 0 9px 9px 0; } .callout p { margin: 0; }
.textpage-others { margin-top: 1.2rem; }
@media (max-width: 860px) {
  .textpage-grid { grid-template-columns: minmax(0, 1fr); } .textpage-toc { position: static; }
  /* a table in a legal text becomes a list of rows, each cell under its column's name */
  .doc-table { min-width: 0; } .doc-table thead { position: absolute; left: -9999px; } .doc-table tbody tr { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
  .doc-table tbody tr:last-child { border-bottom: 0; } .doc-table td { display: block; border: 0; padding: .2rem 0; }
  .doc-table td::before { content: attr(data-label); display: block; font-size: .875rem; letter-spacing: .02em; color: var(--muted); font-weight: 650; margin-top: .35rem; }
  .doc-table td:first-child::before { display: none; } .doc-table td:first-child { font-size: 1.02rem; }
  .seetable thead { position: absolute; left: -9999px; } .seetable tbody tr { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); } .seetable tbody tr:last-child { border-bottom: 0; }
  .seetable tbody th, .seetable td { display: block; width: auto; border: 0; padding: .15rem 0; } .seetable td:nth-child(2) { width: auto; padding: .3rem 0; }
}

/* =====================================================================================================
   The homepage's moving parts: cursor light, the research stage, the workspace miniature, the six-step
   story, the evidence chain. Everything shown is invented. With "reduce motion" set, a gentle version plays.
   ===================================================================================================== */
.spot { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .5s;
        background: radial-gradient(540px circle at var(--mx, 50%) var(--my, 30%), rgba(124, 92, 246, .17), transparent 66%); }
.spot.on { opacity: 1; } .phome > section { position: relative; z-index: 1; }
/* a border that lights up under the cursor */
.glow { position: relative; }
.glow::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .25s;
               background: radial-gradient(280px circle at var(--gx, 50%) var(--gy, 50%), #c084fc, #6366f1 45%, transparent 72%);
               -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.glow:hover::after { opacity: 1; }

/* ---- the hero's background: two soft lights that drift very slowly ---- */
.hero { position: relative; }
body.public { overflow-x: hidden; overflow-x: clip; }
.aurora { position: absolute; top: -5rem; left: 50%; width: 100vw; margin-left: -50vw; height: 46rem; pointer-events: none; z-index: 0; overflow: hidden; }
.aurora i { position: absolute; width: 44rem; height: 44rem; border-radius: 50%; will-change: transform; }
.aurora i:first-child { left: -6rem; top: -12rem; background: radial-gradient(closest-side, rgba(124, 92, 246, .2), transparent 72%); animation: drift-a 38s ease-in-out infinite alternate; }
.aurora i:last-child { right: -8rem; top: -4rem; background: radial-gradient(closest-side, rgba(99, 102, 241, .16), transparent 72%); animation: drift-b 47s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(9rem, 5rem, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-8rem, 6rem, 0) scale(.94); } }
.hero-text, .hero-visual { position: relative; z-index: 1; min-width: 0; }
.eyebrow .badge { margin-right: .5rem; }
.hero-points { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; color: var(--text-2); font-size: 1rem; }
.hero-points li { display: flex; gap: .55rem; align-items: baseline; } .hero-points .ico { width: 1rem; height: 1rem; color: var(--ok); flex-shrink: 0; position: relative; top: .15rem; }

/* ---- the stage: one case, built up selector by selector. Every part has a fixed place, so nothing below it moves. ---- */
.stage { background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 40px 90px -45px var(--glow), 0 0 0 1px rgba(99, 102, 241, .1); }
.stage-play > * { transition: opacity .45s; } .stage.fade .stage-play > * { opacity: 0; }
.stage-bar { display: flex; align-items: center; gap: .7rem; padding: .65rem 1rem; border-bottom: 1px solid var(--line-soft); color: var(--text-2); font-size: .875rem; }
.stage-dots { display: inline-flex; gap: .35rem; } .stage-dots i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--line); } .stage-name { display: flex; gap: .5rem; align-items: center; font-weight: 600; }
.motion-btn { margin-left: auto; background: transparent; border: 1px solid var(--line); color: var(--text-2); border-radius: 999px; padding: .15rem .85rem; font: inherit; font-size: .875rem; cursor: pointer; min-height: 1.75rem; }
.motion-btn:hover { border-color: var(--brand-b); color: var(--text); } .motion-btn-inline { margin-left: .5rem; }
.stage-input { display: flex; align-items: center; gap: .6rem; margin: 1rem 1rem .7rem; padding: .7rem .9rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; min-height: 3.1rem; }
.stage-input .ico { width: 1.05rem; height: 1.05rem; color: var(--muted); flex-shrink: 0; } .stage-input .tag { margin-left: auto; } .stage-input .tag:empty { visibility: hidden; }
.stage-typed { font-family: var(--mono); font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; min-width: 0; transition: opacity .35s; } .stage-typed.swap { opacity: 0; }
/* the caret follows the last letter, on whichever line that is */
.stage-typed::after { content: ""; display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: text-bottom; background: var(--brand-b); animation: blink 1s steps(2) infinite; }
.stage-input.is-review .stage-typed { font-family: var(--sans); font-weight: 600; } .stage-input.is-review .stage-typed::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.stage-sources { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 1rem; padding: 0; min-height: 1.9rem; align-content: flex-start; }
.src-chip { border: 1px solid var(--line); border-radius: 999px; padding: .1rem .75rem; font-size: .875rem; color: var(--text-2); transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.src-chip.is-busy { border-color: var(--brand-b); color: var(--text); box-shadow: 0 0 14px -2px var(--glow); }
.src-chip.is-ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); } .src-chip.is-bad { background: var(--err-bg); border-color: transparent; color: var(--err); font-weight: 600; }
.src-chip.is-sum { border-style: dashed; }
.stage-body { padding: .4rem 1rem 0; }
.stage-graph { width: 100%; height: auto; display: block; overflow: visible; } .stage-graph-tall { display: none; }
.ge { fill: none; stroke: var(--text-2); stroke-opacity: .5; stroke-width: 1.8; stroke-linecap: round; }
.ge-found { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s ease-out; } .ge-found.on { stroke-dashoffset: 0; }
.ge-possible { stroke-dasharray: 5 6; opacity: 0; transition: opacity .6s; } .ge-possible.on { opacity: 1; }
.ge-label { font-size: 13.5px; font-family: var(--sans); fill: var(--text-2); stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; paint-order: stroke; opacity: 0; transition: opacity .6s; } .ge-label.on { opacity: 1; }
.gn { opacity: 0; transition: opacity .5s; } .gn.on { opacity: 1; }
.gn .dot { fill: #3b82f6; stroke: var(--surface); stroke-width: 3; }
.gn .ring { fill: none; stroke: #c084fc; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.gn.on .ring { animation: ring 1.1s ease-out 1; }
@keyframes ring { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(2.5); } }
.gn text { fill: var(--text-2); font-size: 14.5px; font-family: var(--sans); paint-order: stroke; stroke: var(--surface); stroke-width: 7px; stroke-linejoin: round; }
.gn-sel text { fill: var(--text); font-weight: 650; }
.gn-root .dot { fill: #a855f7; filter: drop-shadow(0 0 8px rgba(168, 85, 247, .85)); }
.gn-ip .dot { fill: #14b8a6; } .gn-org .dot { fill: #8b5cf6; } .gn-email .dot { fill: #6366f1; } .gn-phone .dot { fill: #f59e0b; } .gn-name .dot { fill: #f43f5e; }
/* each node rests on its own slow beat */
.gn.on .dot { animation: rest 7s ease-in-out infinite alternate; } .gn:nth-of-type(2n).on .dot { animation-duration: 9s; animation-delay: -3s; } .gn:nth-of-type(3n).on .dot { animation-duration: 11s; animation-delay: -6s; }
@keyframes rest { from { transform: translateY(-1.6px); } to { transform: translateY(1.6px); } }
.gn:hover .dot { stroke: #c084fc; }
.stage-totals { margin: .3rem 0 .6rem; color: var(--text-2); font-size: .875rem; font-variant-numeric: tabular-nums; }
.stage-totals b { color: var(--text); font-weight: 650; display: inline-block; min-width: 1.3ch; text-align: right; }
.stage-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(3.9rem, auto); gap: .45rem; min-height: 8.25rem; align-content: start; }
.stage-facts li { display: flex; flex-direction: column; justify-content: space-between; gap: .3rem; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 9px; padding: .45rem .6rem;
                  font-size: .875rem; line-height: 1.35; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s, border-color .3s, box-shadow .3s; }
.stage-facts li.on { opacity: 1; transform: none; } .stage-facts li.is-deciding { border-color: var(--brand-b); box-shadow: 0 0 16px -4px var(--glow); }
.sf-tags { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.stage-note { margin: .6rem 1rem 1rem; padding: .5rem .8rem; border-radius: 9px; font-size: .875rem; line-height: 1.4; min-height: 2.25rem; opacity: 0; border: 1px solid transparent; }
.stage-notes { display: grid; } .stage-notes > .stage-note { grid-area: 1 / 1; } .stage-note-room { visibility: hidden; }
.stage-note.on { opacity: 1; } .stage-note.is-bad { background: var(--err-bg); color: var(--err); } .stage-note.is-info { background: var(--surface-2); color: var(--text-2); border-color: var(--line-soft); }
.node-card { position: absolute; z-index: 5; background: var(--ink); color: #f8fafc; border: 1px solid #818cf8; border-radius: 9px; padding: .4rem .7rem; font-size: .875rem; line-height: 1.4; max-width: min(21rem, 86%);
             box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); pointer-events: none; }
@media (max-width: 560px) {
  .stage-graph-wide { display: none; } .stage-graph-tall { display: block; max-width: 26rem; margin: 0 auto; }
  .stage-sources { min-height: 4.1rem; } .stage-note { min-height: 3.5rem; } .stage-dots { display: none; } .stage-name { white-space: nowrap; }
  /* the selector box holds two lines and the kind beneath them, whatever is typed, so it never changes height */
  .stage-input { flex-wrap: wrap; align-items: flex-start; align-content: flex-start; height: 6.1rem; overflow: hidden; row-gap: .25rem; }
  .stage-input .ico { margin-top: .2rem; } .stage-typed { flex: 1 1 calc(100% - 2rem); font-size: .875rem; height: 2.5rem; overflow: hidden; } .stage-input .tag { flex: 0 0 auto; margin-left: 1.65rem; }
  .stage-facts { grid-auto-rows: minmax(4.9rem, auto); min-height: 10.25rem; } .stage-facts li { padding: .4rem .5rem; overflow-wrap: anywhere; } .sf-tags { gap: .25rem; }
  .stage-facts .badge { padding: .1rem .25rem; letter-spacing: 0; gap: .2rem; } .stage-facts .chip-ev { padding: 0 .25rem; }
}

/* ---- the workspace miniature ---- */
.band-head { max-width: 780px; } .capsum { margin-top: .2rem; } .capsum .pcard p, .compact .pcard p { font-size: .95rem; }
.pv { position: relative; display: grid; grid-template-columns: 186px minmax(0, 1fr) minmax(0, 1.35fr); border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
      box-shadow: 0 50px 100px -55px var(--glow); min-height: 410px; font-size: .875rem; margin: 0 0 1.6rem; }
.pv-side { background: var(--ink); color: var(--ink-muted); padding: 1rem .8rem; display: flex; flex-direction: column; gap: .3rem; border-radius: 17px 0 0 17px; }
.pv-side img { border-radius: 7px; margin: 0 0 .5rem .3rem; } .pv-side .ico { width: 1rem; height: 1rem; }
.pv-new { background: var(--gradient); color: #fff; font-weight: 650; border-radius: 9px; padding: .5rem .6rem; display: flex; gap: .4rem; align-items: center; justify-content: center; margin-bottom: .45rem; }
.pv-nav { display: flex; gap: .55rem; align-items: center; padding: .35rem .5rem; border-radius: 8px; } .pv-nav.on { background: var(--ink-2); color: #fff; }
.pv-list { border-right: 1px solid var(--line); min-width: 0; } .pv-head { padding: .8rem .9rem; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.pv-row { display: flex; gap: .65rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line-soft); transition: background .3s, box-shadow .3s; }
.pv-row > div { min-width: 0; display: flex; flex-direction: column; gap: .15rem; } .pv-row strong { overflow-wrap: anywhere; } .pv-row span { color: var(--text-2); } .pv-chips { display: flex; gap: .3rem; }
.pv-pane { position: relative; min-width: 0; padding: 0 1rem 1rem; }
.pv-tabs { display: flex; flex-wrap: wrap; gap: .1rem .95rem; border-bottom: 1px solid var(--line); padding: .8rem 0 0; color: var(--text-2); font-weight: 600; font-size: .9rem; overflow: hidden; } .pv-tabs span { padding-bottom: .55rem; white-space: nowrap; }
.pv-tabs .on { color: var(--text); box-shadow: inset 0 -2px 0 var(--brand-b); }
.pv-empty { display: none; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; color: var(--text-2); text-align: center; position: absolute; inset: 3rem 0 0; }
.pv-profile { padding-top: .9rem; transition: opacity .45s, transform .45s; } .pv-title { display: block; font-family: var(--mono); font-size: 1.1rem; margin: .3rem 0 .5rem; overflow-wrap: anywhere; }
.pv-reading { border-left: 3px solid var(--brand-b); background: var(--surface-2); padding: .5rem .7rem; border-radius: 0 8px 8px 0; margin: 0 0 .6rem; color: var(--text); }
.pv-fact { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr) auto auto; gap: .6rem; align-items: center; padding: .5rem .4rem; border-bottom: 1px solid var(--line-soft); border-radius: 7px; transition: background .3s; }
.pv-fact span:first-child { color: var(--muted); }
.pv-drawer { position: absolute; right: .9rem; bottom: .9rem; width: min(280px, 82%); background: var(--surface); border: 1px solid #818cf8; border-radius: 12px; padding: .7rem .85rem; z-index: 2;
             box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: .3rem; transition: opacity .4s, transform .4s; }
.pv-drawer div { display: grid; grid-template-columns: 5.6rem 1fr; gap: .5rem; } .pv-drawer div span:first-child { color: var(--muted); }
.pv-cursor { position: absolute; z-index: 3; width: 22px; height: 22px; left: 80%; top: 80%; fill: #fff; stroke: #07060d; stroke-width: 1.5; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5));
             transition: left 1.1s cubic-bezier(.5, .1, .2, 1), top 1.1s cubic-bezier(.5, .1, .2, 1); display: none; pointer-events: none; }
.pv.playing .pv-cursor { display: block; }
/* the three steps: 0 the list · 1 a row is opened in the reading pane · 2 the evidence behind one fact */
.pv[data-phase="0"] :is(.pv-profile, .pv-drawer), .pv[data-phase="1"] .pv-drawer { opacity: 0; transform: translateY(8px); }
.pv[data-phase="0"] .pv-empty { display: flex; } .pv[data-phase="0"] .pv-cursor { left: 34%; top: 40%; }
.pv:is([data-phase="1"], [data-phase="2"]) .pv-row-2 { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--brand-b); }
.pv[data-phase="1"] .pv-cursor { left: 70%; top: 49%; } .pv[data-phase="2"] .pv-fact-1 { background: var(--surface-2); } .pv[data-phase="2"] .pv-cursor { left: 84%; top: 78%; }

/* ---- the six steps: one case builds up as you scroll ---- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: start; }
.story-step { display: flex; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid transparent; border-radius: var(--radius); margin: 0 0 .5rem -1.2rem; transition: background .3s, border-color .3s, opacity .3s; }
.story-step h3 { margin: .15rem 0 .2rem; font-size: 1.15rem; } .story-step p { margin: 0; color: var(--text-2); font-size: 1rem; } .story-step .step-n { flex-shrink: 0; }
.js-story .story-step { opacity: .78; padding-block: 2.1rem; } .js-story .story-step.on { opacity: 1; background: var(--surface); border-color: var(--line); }
.story-visual { position: sticky; top: 100px; }
.casefile { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .65rem; box-shadow: 0 40px 90px -55px var(--glow); font-size: .95rem; }
.cf { border: 1px solid var(--line-soft); border-radius: 11px; padding: .6rem .8rem; background: var(--surface-2); transition: opacity .45s, transform .45s; } .cf strong { display: block; font-size: 1.05rem; margin-top: .25rem; }
/* A part that has not arrived yet takes no room: the panel is as tall as what it holds, at every step, and never shows an empty area. */
.js-story .cf { display: none; } .js-story .cf.on { display: block; animation: cf-in .45s ease both; }
@keyframes cf-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes cf-fade { from { opacity: 0; } to { opacity: 1; } }
.cf-label { display: block; color: var(--muted); font-size: .875rem; font-weight: 600; margin-bottom: .15rem; } .cf ul { margin: .15rem 0 0; padding-left: 1.1rem; } .cf p { margin: .2rem 0; }
.cf-assess { border-left: 3px solid var(--brand-b); padding-left: .6rem; color: var(--text-2); } .cf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .5rem; align-items: center; padding: .22rem 0; }
.cf-report { background: #ffffff; color: #14101f; border-radius: 8px; padding: .7rem .85rem; display: flex; flex-direction: column; gap: .15rem; font-size: .875rem; } .cf-report strong { margin: 0; } .cf-quiet { color: var(--muted); } .cf-report .cf-quiet { color: #5f5978; }
.cf-bad { color: #a11a1a; font-weight: 600; }
/* a passage that is still to be written by the owner: unmistakable, so that it cannot be published by oversight */
.tofill { border: 1px dashed var(--warn); border-radius: 10px; padding: .7rem .9rem; background: var(--warn-bg); color: var(--warn); }

/* ---- the evidence chain ---- */
.chain { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem; }
.chain-block { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; display: flex; flex-direction: column; gap: .35rem; transition: border-color .3s; }
.chain-block + .chain-block::before { content: ""; position: absolute; left: -2.4rem; top: 50%; width: 2.4rem; height: 2px; background: var(--gradient); }
.chain-block + .chain-block::after { content: ""; position: absolute; left: -2.4rem; top: calc(50% - 3px); width: 8px; height: 8px; border-radius: 50%; background: #c084fc; box-shadow: 0 0 10px #c084fc; animation: travel 2.6s linear infinite; }
@keyframes travel { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(2.4rem); opacity: 0; } }
.chain-n { width: fit-content; } .chain-line { display: flex; flex-direction: column; } .chain-k { color: var(--muted); font-size: .875rem; } .chain .hash { font-size: .9rem; color: var(--text); }
.chain.altered .chain-target { border-color: var(--warn); } .chain.altered .chain-target .chain-line:not(.chain-link) .hash { color: var(--warn); font-weight: 700; }
.chain.altered .chain-after { border-color: var(--err); } .chain.altered .chain-after::before { background: var(--err); } .chain.altered .chain-after::after { display: none; }
.chain.altered .chain-target + .chain-after .chain-link .hash { color: var(--err); text-decoration: line-through; }
.chain-foot { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin: 0 0 .4rem; } #chain-verdict { font-weight: 600; color: var(--ok); } .chain.altered ~ .chain-foot #chain-verdict { color: var(--err); }

/* ---- rhythm: split and compact sections ---- */
.band-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: 2.6rem; align-items: start; } .band-split .band-lead { margin-top: -.6rem; }
.who-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; } .who-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.who-list li { display: flex; gap: .7rem; align-items: center; font-weight: 550; } .compact .pcard h3 { margin: 0 0 .15rem; font-size: 1.04rem; } .compact .pcard:not(.pcard-row) h3 { margin-top: .6rem; }

@media (max-width: 1080px) { .pv { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); } .pv-side { display: none; } .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chain-block:nth-child(odd)::before, .chain-block:nth-child(odd)::after { display: none; } }
@media (max-width: 860px) {
  .story, .band-split, .who-groups, .pv { grid-template-columns: 1fr; } .story-visual { position: static; } .js-story .story-step { padding-block: 1rem; } .pv-list { border-right: 0; }
  .pv-cursor, .pv-empty { display: none !important; } .chain { grid-template-columns: 1fr; gap: 1rem; } .chain-block::before, .chain-block::after { display: none !important; } .story-step { margin-left: 0; }
}
/* Paused by the visitor: everything holds still. */
body.motion-paused .phome *, body.motion-paused .phome *::before, body.motion-paused .phome *::after { animation-play-state: paused !important; }
/* The device asks for less motion: the gentle version. Nothing slides, types, drifts or follows the cursor. What
   changes, fades, and takes its time. The script slows its steps to match. */
@media (prefers-reduced-motion: reduce) {
  .phome *, .phome *::before, .phome *::after { animation: none !important; }
  :is(.stage, .pv, .casefile) *, .story-step { transition-property: opacity, color, background-color, border-color, box-shadow !important; transition-duration: .9s !important; }
  .stage-facts li, .js-story .cf, .pv-profile, .pv-drawer { transform: none !important; }
  .js-story .cf.on { animation: cf-fade .9s ease both !important; }      /* a new part of the case file fades in; it does not slide */
  .ge-found { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; } .ge-found.on { opacity: 1; }
  .spot, .pv-cursor, .stage-typed::after { display: none !important; }
}

/* "Get the app" on the homepage */
.applist { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; } .applist li { color: var(--text-2); line-height: 1.55; }

/* Links inside running text are underlined: colour alone does not tell them apart for everyone (WCAG 1.4.1) */
main p a:not(.btn), main li a:not(.btn), main td a:not(.btn), main dd a:not(.btn), .textpage a:not(.btn) { text-decoration: underline; text-underline-offset: .15em; }

/* ---------- version 1.1: who it's for (free access or plans), the pricing page, "which one is for me?" ---------- */
.who-list li { align-items: flex-start; }
.who-link { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; color: inherit; text-decoration: none; }
.who-link:hover > span:first-of-type, .who-link:focus-visible > span:first-of-type { text-decoration: underline; }
.who-badge { display: inline-block; font-size: .8rem; font-weight: 600; line-height: 1.4; padding: .05rem .55rem; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.who-free { color: var(--ok); border-color: var(--ok); background: var(--ok-bg); }
.who-plans { color: var(--text-2); }
.mega-card .who-badge { margin-top: .35rem; }
.tag-soon { font-size: .8rem; margin-left: .25rem; vertical-align: middle; color: var(--warn); background: var(--warn-bg); border-color: var(--warn); }
.pgrid-5 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.plans .plan { display: flex; flex-direction: column; }
.plans .plan h2 { margin: 0 0 .2rem; font-size: 1.25rem; }
.plan-price { font-size: 1.05rem; font-weight: 700; margin: .1rem 0 .3rem; }
.plan-list { margin: .6rem 0 1rem; }
.plan-list li { display: flex; gap: .5rem; align-items: flex-start; margin: .4rem 0; font-size: .92rem; }
.plan-list .ico { flex: none; width: 1.05rem; height: 1.05rem; margin-top: .2rem; }
.plan-cta { margin: auto 0 0; }
.plan-public_interest { border-color: var(--ok); }
.btn.is-disabled { opacity: .6; cursor: not-allowed; pointer-events: none; }
/* A label in a button's place ("Opening soon"): not a link, so nothing to press; full contrast, unlike a faded button. */
.btn.btn-soon { cursor: default; pointer-events: none; }
.pricing-head { text-align: left; }
.which .pcard h3 { margin-top: .6rem; }
.outbox-item .pre { white-space: pre-wrap; word-break: break-word; }
@media (max-width: 720px) { .pgrid-5 { grid-template-columns: 1fr; } }

/* The real Analysis tab, under the miniature (roadmap v2): a picture of the demonstration case, served from our own server. */
.shot { margin: 1.6rem auto 0; max-width: 820px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.shot img { display: block; width: 100%; height: auto; vertical-align: top; }
.shot figcaption { padding: .6rem .9rem; color: var(--muted); font-size: .875rem; border-top: 1px solid var(--line-soft); }

/* ---- round 1 of the review (17 November 2026): no section leaves large empty areas ---- */
/* a menu never taller than the screen: its own scrolling when it must */
.mega-panel { max-height: calc(100vh - 96px); overflow-y: auto; overscroll-behavior: contain; }
.mega-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.mega-col { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.mega-group-link { color: #fff; text-decoration: none; margin-bottom: .1rem; } .mega-group-link:hover { text-decoration: underline; }
.mega-count { color: var(--ink-muted); font-size: .85rem; margin: 0 0 .45rem; }
.mega-item { display: block; padding: .45rem .55rem; border-radius: 10px; color: var(--ink-muted); border: 1px solid transparent; }
.mega-item:hover, .mega-item:focus-visible { background: var(--ink-2); border-color: var(--ink-line); text-decoration: none; }
.mega-item strong { display: block; color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.mega-item .state { margin: .25rem 0 0; font-size: .8rem; white-space: normal; }
.mega-all { color: #c4b5fd; font-size: .9rem; font-weight: 600; padding: .4rem .55rem; margin-top: auto; }
.mega-foot { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--ink-line); display: flex; justify-content: center; }
.pnav .mega-foot .btn-quiet { color: #fff; border-color: var(--ink-line); background: transparent; }
@media (max-width: 1320px) {
  .mega-panel { max-height: none; overflow: visible; }            /* the folded menu scrolls as a whole */
  .mega-grid-5 { grid-template-columns: 1fr 1fr; gap: .4rem 1rem; }
  .mega-panel-cap .mega-item { display: none; }                   /* folded: the groups, their counts and a link to each */
  .mega-col { padding: .3rem 0; } .mega-all { margin-top: 0; padding-left: 0; }
}
@media (max-width: 560px) { .mega-grid-5 { grid-template-columns: 1fr; } }

/* the precise states: what an item that is not available waits for */
.state { white-space: normal; text-align: left; }
.wait-account, .wait-installing { color: var(--info); border-color: color-mix(in srgb, var(--info) 45%, transparent); }
.wait-permission, .wait-paid { color: var(--warn, #b45309); border-color: color-mix(in srgb, var(--warn, #b45309) 45%, transparent); }
.pnav .wait-account, .pnav .wait-installing { color: #a5c8ff; border-color: rgba(165, 200, 255, .45); }
.pnav .wait-permission, .pnav .wait-paid { color: #fcd34d; border-color: rgba(252, 211, 77, .45); }

/* the five summary cards: five across, or three and two centred; never a lone card */
.capsum { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.capsum-card { color: inherit; text-decoration: none; } .capsum-card:hover { text-decoration: none; border-color: var(--brand-b); }
.capsum-card h3 { margin: .7rem 0 .3rem; font-size: 1.05rem; } .capsum-card p { margin: 0; color: var(--text-2); }
@media (max-width: 1180px) {
  .capsum { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .capsum > * { grid-column: span 2; } .capsum > :nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 640px) { .capsum { grid-template-columns: 1fr; } .capsum > *, .capsum > :nth-child(4) { grid-column: auto; } }

/* the capability list: one group at a time, a balanced grid of cards, a filter by state */
.capnav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.2rem; margin: 1.2rem 0 1.1rem; }
.captabs { display: flex; flex-wrap: wrap; gap: .45rem; }
.captab { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 600; font-size: .95rem; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem .35rem .4rem; cursor: pointer; }
.captab:hover { border-color: var(--brand-b); color: var(--text); }
.captab[aria-selected="true"] { color: var(--text); border-color: var(--brand-b); box-shadow: 0 0 0 1px var(--brand-b) inset, 0 0 18px -6px var(--glow); }
.captab .tile { width: 1.7rem; height: 1.7rem; } .captab-n { font-size: .875rem; color: var(--muted); font-weight: 600; }
.capfilter { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: .2rem; background: var(--surface); }
.capfilter-btn { font: inherit; font-size: .88rem; font-weight: 600; color: var(--text-2); background: transparent; border: 0; border-radius: 999px; padding: .3rem .8rem; cursor: pointer; }
.capfilter-btn[aria-pressed="true"] { background: var(--gradient); color: #fff; }
.cappanel + .cappanel { margin-top: 1.6rem; }
.cappanel-title { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; font-size: 1.1rem; margin: 0 0 .8rem; }
.capcards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: .9rem; }
.capcards li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .95rem 1.05rem; display: flex; flex-direction: column; gap: .3rem; }
.capcards strong { font-size: 1rem; line-height: 1.35; } .capcards .state { margin: 0; } .capcards .muted { font-size: .92rem; line-height: 1.55; }
.capcards li[hidden] { display: none; }
.js-caps .cappanel[hidden] { display: none; } .js-caps .cappanel + .cappanel { margin-top: 0; } .js-caps .cappanel-title { display: none; }
@media (max-width: 860px) { .capnav { flex-direction: column; align-items: stretch; } .captabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .3rem; } .captab { flex: 0 0 auto; } .capfilter { align-self: flex-start; } }

/* Get the app: the three platforms, and under them the three details */
.pcard-detail { background: color-mix(in srgb, var(--surface) 70%, transparent); }

/* Who it's for: one card per group, the badge at its foot */
.who-groups .who-group { display: flex; flex-direction: column; padding: 1.2rem 1.3rem; }
.who-group .group-title { margin-top: 0; } .who-foot { margin: auto 0 0; padding-top: .9rem; }
#who .who-groups { margin-top: 1.4rem; }
#capabilities, #who, #reports, #get-the-app { scroll-margin-top: 96px; }
/* the tabs: five equal columns on a wide screen, a row that scrolls sideways on a narrow one */
.capnav { flex-direction: column; align-items: stretch; }
.captabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.captab { border-radius: 14px; padding: .5rem .7rem .5rem .5rem; text-align: left; line-height: 1.3; }
.captab .captab-name { flex: 1; } .capfilter { align-self: flex-start; }
@media (max-width: 1080px) { .captabs { display: flex; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .3rem; } .captab { flex: 0 0 auto; } }
/* Get the app: the intro sits level with the cards */
#get-the-app.band-split { align-items: center; }
/* Who it's for: the free group on the left, the two paid groups stacked on the right */
#who .who-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#who .who-group:first-child { grid-row: span 2; } #who .who-group:first-child .who-list { gap: .95rem; }
@media (max-width: 860px) { #who .who-groups { grid-template-columns: 1fr; } #who .who-group:first-child { grid-row: auto; } }
#who .who-group:first-child .who-list { flex: 1; justify-content: space-evenly; }
/* the tab row never widens the page: it scrolls sideways inside its own width */
.capnav, .capnav > * { min-width: 0; max-width: 100%; }

/* ---- the homepage since the redesign (21 November 2026): a calm first screen, dark in both themes, with a network of
   points slowly linking behind one headline, one line and two buttons (app/static/js/hero.js) */
.home2 { display: block; }
.home-hero { position: relative; isolation: isolate; min-height: min(86vh, 820px); display: grid; place-items: center; overflow: hidden;
             background: #07060d; color: #ecebf5; border-bottom: 1px solid #1e1b30; }
.home-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.home-hero-scrim { position: absolute; inset: 0; z-index: -1;
                   background: radial-gradient(ellipse 62% 56% at 50% 47%, rgba(7, 6, 13, .93) 0%, rgba(7, 6, 13, .78) 46%, rgba(7, 6, 13, .18) 100%); }
.home-hero-in { max-width: 47rem; padding: 4.5rem 1.4rem 5.5rem; text-align: center; }
.home-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: #bfbbd2; margin: 0 0 1.1rem; }
.home-hero h1 { font-size: clamp(2.05rem, 4.6vw, 3.4rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 1.1rem; color: #fff; }
.home-line { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d6d3e8; margin: 0 auto 2.1rem; max-width: 36rem; line-height: 1.55; }
.home-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin: 0; }
.home-hero .btn { background: #5b4bdb; border-color: #5b4bdb; color: #fff; }
.home-hero .btn-ghost { background: rgba(7, 6, 13, .55); color: #fff; border: 1px solid #5a5385; box-shadow: none; }
.home-hero .btn-ghost:hover { background: rgba(255, 255, 255, .07); }
.home-hero .btn:focus-visible, .home-motion:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 3px; }
.home-motion { position: absolute; right: 1rem; bottom: 1rem; min-height: 36px; background: rgba(16, 14, 26, .85); color: #ecebf5;
               border: 1px solid #3a3456; border-radius: 999px; padding: .4rem .95rem; font: inherit; font-size: .875rem; cursor: pointer; }
.home-motion:hover { border-color: #818cf8; }
.home-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.4rem 3rem; }
.home-intro { max-width: 48rem; margin: 0 auto; padding: 2.6rem 0 .4rem; text-align: center; }
.home-intro p { font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--text-2); margin: 0; }
.home-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 2.4rem 0 1.4rem; }
.home-trust .pcard, .home-steps .pcard, .home-demos .pcard { margin: 0; }
.home-trust h2 { font-size: 1.08rem; margin: .1rem 0 .35rem; }
.home-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.home-step-n { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1px solid var(--line); font-weight: 700; color: var(--text-2); }
.home-demos .tag { margin: 0 0 .5rem; }
@media (max-width: 900px) {
  .home-trust, .home-steps, .home-demos { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-hero { min-height: 92vh; }
  .home-hero-in { padding: 3rem 1.2rem 6.5rem; }
  .home-hero-scrim { background: radial-gradient(ellipse 95% 50% at 50% 46%, rgba(7, 6, 13, .95) 0%, rgba(7, 6, 13, .82) 55%, rgba(7, 6, 13, .3) 100%); }
}
/* the short menu */
.pnav-links .pnav-cta { margin-left: .3rem; }
.what-top { border-top: 0; padding-bottom: 1rem; } .what-top h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.15; margin: .3rem 0 .7rem; }
/* the public-data demonstrations (app/demos.py) */
.home-demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.home-demos .tag { margin: 0 .2rem .5rem 0; }
.demo-step h2 { margin-bottom: .2rem; }
.demo-findings { padding-left: 1.2rem; display: grid; gap: .85rem; max-width: 62rem; }
.demo-findings li { line-height: 1.55; }
.demo-label { margin-right: .3rem; }
.demo-source { display: block; color: var(--muted); font-size: .875rem; margin-top: .2rem; overflow-wrap: anywhere; }
.demo-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.demo-figure { margin: 0; padding: .6rem; } .demo-figure img { width: 100%; height: auto; display: block; border-radius: 8px; }
.demo-figure figcaption { font-size: .875rem; color: var(--text-2); margin-top: .5rem; }
@media (max-width: 900px) { .home-demos, .demo-images { grid-template-columns: 1fr; } }

/* The explainer video (21 November 2026): served from our own server, nothing plays on its own. */
.vid { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #07060d; border-radius: 10px; }
.vid-figure { margin: 1.6rem auto 0; max-width: 960px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.vid-figure .vid { border-radius: 0; }
.vid-figure figcaption { padding: .6rem .9rem; color: var(--muted); font-size: .875rem; border-top: 1px solid var(--line-soft); }
.vid-dialog { width: min(1100px, 94vw); max-width: none; padding: 0; border: 1px solid #2a2644; border-radius: 14px; background: #07060d; color: #ecebf5; }
.vid-dialog::backdrop { background: rgba(4, 3, 10, .82); }
.vid-in { padding: .75rem; }
.vid-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 .15rem .65rem; }
.vid-head h2 { margin: 0; font-size: 1.05rem; color: #ecebf5; }
.vid-close { min-width: 44px; min-height: 44px; padding: .4rem .9rem; border-radius: 10px; border: 1px solid #5a5385; background: transparent; color: #ecebf5; font: inherit; font-size: .95rem; cursor: pointer; }
.vid-close:hover { border-color: #818cf8; }
.vid-close:focus-visible { outline: 2px solid #818cf8; outline-offset: 2px; }
.vid-note { margin: .6rem .15rem 0; color: #a7a2c2; font-size: .875rem; }
