/* ============================================================================
   Voliago — home v13 (2026-10-05). Loaded after site.css (tokens, nav,
   buttons, footer, form). One sheet of paper runs down the page between two
   hairlines; every chapter is a row of that sheet. Product screens are rebuilt
   in DOM (.ui) and perform on scroll. Motion = transform / opacity / clip only.
   ========================================================================== */

:root {
  --sheet: 1120px;
  --hair: var(--line);
  --well: #FAFAFC;
  --ink-soft: #6B7190;
  --well-2: #F6F6F9;      /* chapter screen bed */
  --ink-raised: #181D40;  --ink-well: #161B3C;  --ink-console: #12172F;
  --amber: #FFB100; --amber-ink: #8A5A00; --amber-50: #FFF4D6;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
}
body.v13 { background: var(--white); }
body.v13 main { position: relative; }

/* ---------- the sheet ---------- */
.sheet { position: relative; width: min(var(--sheet), 100%); margin-inline: auto; }
.sheet::before, .sheet::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--hair); pointer-events: none; }
.sheet::before { left: 0; } .sheet::after { right: 0; }
.row { position: relative; border-bottom: 1px solid var(--hair); }
.row.pad { padding: clamp(56px, 8vw, 112px) clamp(20px, 4vw, 48px); }
.row.pad-sm { padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 48px); }
.row.center { text-align: center; }
.row.center .lede { margin-inline: auto; }
.row.well { background: var(--well); }

/* ---------- type ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 6px; font-size: 13px; font-weight: 500; background: var(--violet-50); color: var(--violet-ink); }
.pill.cyan { background: var(--cyan-50); color: var(--cyan-ink); }
.pill.green { background: var(--green-50); color: var(--green-ink); }
.pill.coral { background: var(--coral-50); color: var(--coral-ink); }
.pill.ink { background: var(--sunk); color: var(--ink-2); }
.pill + h1, .pill + h2, .pill + h3 { margin-top: 18px; }
.v13 h1.display { font-size: clamp(2.6rem, 2rem + 3.4vw, 4.6rem); letter-spacing: -0.045em; line-height: 1.0; font-weight: 700; max-width: 14ch; margin: 0 auto; }
.v13 h2.tt, .v13 h3.tt { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; text-wrap: pretty; margin: 0; }
.v13 h2.tt { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); max-width: 26ch; }
.v13 h3.tt { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); max-width: 30ch; }
.tt { color: var(--ink-soft); }
.tt b { color: var(--ink); font-weight: 600; }
.center h2.tt { margin-inline: auto; }
.v13 .lede { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--ink-2); max-width: 46ch; line-height: 1.55; margin: 18px 0 0; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.center .cta-row { justify-content: center; }
.v13 .btn { border-radius: 999px; height: 44px; padding: 0 20px; font-size: 15px; }
.v13 .btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.v13 .btn.secondary { box-shadow: inset 0 0 0 1px var(--line-strong); background: #fff; }
.v13 .btn.secondary:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.link-more { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 13px; font-weight: 500; color: var(--ink); background: #fff; transition: box-shadow .2s; text-decoration: none; }
.link-more svg { width: 14px; height: 14px; }
.link-more:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.eyebrow-link { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 6px 0 12px; border-radius: 999px; font-size: 13px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); background: #fff; transition: box-shadow .2s; text-decoration: none; }
.eyebrow-link i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--sunk); }
.eyebrow-link svg { width: 12px; height: 12px; }
.eyebrow-link:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.eyebrow-link .glyph { width: 14px; height: 14px; }

/* ---------- hero ---------- */
.hero13 { padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 104px)); overflow: clip; }
.hero13 .copy { text-align: center; padding: 0 clamp(20px, 4vw, 48px); }
.hero13 .lede { margin: 22px auto 0; }
.hero13 .stage { position: relative; margin-top: clamp(44px, 6vw, 72px); padding: 0 clamp(12px, 3vw, 40px) clamp(56px, 7vw, 96px); }
.hero13 .glow { position: absolute; inset: 42% 0 0; background: linear-gradient(180deg, rgba(162,89,255,0) 0%, rgba(162,89,255,.10) 55%, rgba(26,188,254,.12) 100%); pointer-events: none; }
.hero13 .glow::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(14,19,48,.045) 0 1px, transparent 1px 14px); -webkit-mask: linear-gradient(180deg, transparent, #000 60%); mask: linear-gradient(180deg, transparent, #000 60%); }
.hero13 .frame13 { position: relative; z-index: 1; }
.hero13 .float { position: absolute; z-index: 2; left: 0; bottom: 18%; width: 236px; transform: translateX(-30%); }
@media (max-width: 1100px) { .hero13 .float { display: none; } }

/* ---------- product frame (window) ---------- */
.frame13 { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgb(14 19 48 / .08), 0 1px 2px rgb(14 19 48 / .05), 0 30px 60px -24px rgb(14 19 48 / .25); overflow: hidden; }
.frame13 .bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fff; }
.frame13 .bar i { width: 9px; height: 9px; border-radius: 50%; }
.frame13 .bar i:nth-child(1) { background: var(--coral); } .frame13 .bar i:nth-child(2) { background: var(--amber); } .frame13 .bar i:nth-child(3) { background: var(--green); }
.frame13 .bar .url { margin-left: 10px; height: 22px; padding: 0 10px; border-radius: 6px; background: var(--paper); font-family: var(--mono); font-size: 11px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.frame13 .bar .url svg { width: 11px; height: 11px; color: var(--green-ink); }

/* ---------- scaled UI mock-up ---------- */
.shot { position: relative; width: 100%; overflow: hidden; aspect-ratio: var(--ar, 1100/640); }
.shot > .ui { position: absolute; left: 0; top: 0; width: var(--w, 1000px); transform-origin: 0 0; transform: scale(var(--s, 1)); }
.ui { font-family: var(--sans); font-size: 13px; line-height: 1.4; color: var(--ink); background: #fff; display: grid; grid-template-columns: 212px 1fr; -webkit-font-smoothing: antialiased; text-align: left; }
.ui * { box-sizing: border-box; }
.ui .side { border-right: 1px solid var(--line); background: var(--well); padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.ui .side .ws { display: flex; align-items: center; gap: 8px; padding: 6px 8px 12px; font-weight: 600; font-size: 13px; }
.ui .side .ws .glyph { width: 20px; height: 20px; }
.ui .side .grp { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 12px 8px 4px; }
.ui .side .it { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 6px; color: var(--ink-2); font-size: 12.5px; }
.ui .side .it svg { width: 14px; height: 14px; color: var(--ink-3); }
.ui .side .it.on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); font-weight: 500; }
.ui .side .it.on svg { color: var(--violet-ink); }
.ui .side .it .n { margin-left: auto; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ui .main { min-width: 0; display: flex; flex-direction: column; position: relative; }
.ui .top { height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.ui .top .crumb { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.ui .top .crumb b { color: var(--ink); font-weight: 600; }
.ui .top .crumb svg { width: 12px; height: 12px; }
.ui .sp { flex: 1; }
.ui .top .avs { display: flex; }
.ui .top .avs .av { margin-left: -6px; box-shadow: 0 0 0 2px #fff; }
.ui .top .act { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 7px; font-size: 12px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); background: #fff; white-space: nowrap; }
.ui .top .act.pri { background: var(--ink); color: #fff; box-shadow: none; }
.ui .top .act svg { width: 13px; height: 13px; }
.ui .body { padding: 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ui .av { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9.5px; font-weight: 600; color: #fff; background: var(--ink-2); flex: none; }
.ui .av.v { background: var(--violet); } .ui .av.c { background: var(--cyan-ink); } .ui .av.g { background: var(--green-ink); } .ui .av.o { background: var(--coral); }
.ui .badge { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11.5px; font-weight: 500; background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.ui .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.ui .badge.ok { background: var(--green-50); color: var(--green-ink); }
.ui .badge.hot { background: var(--coral-50); color: var(--coral-ink); }
.ui .badge.warm { background: var(--amber-50); color: var(--amber-ink); }
.ui .badge.info { background: var(--cyan-50); color: var(--cyan-ink); }
.ui .badge.vi { background: var(--violet-50); color: var(--violet-ink); }
.ui .badge.plain::before { display: none; }
.ui .tbl { width: 100%; border-collapse: collapse; }
.ui .tbl th { text-align: left; font-size: 11.5px; font-weight: 500; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ui .tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.ui .tbl tr.sel td { background: var(--violet-50); }
.ui .tbl .who { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.ui .tbl .who small { display: block; font-weight: 400; color: var(--ink-3); font-size: 11px; }
.ui .score { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.ui .score .trk { width: 54px; height: 5px; border-radius: 4px; background: var(--sunk); overflow: hidden; }
.ui .score .trk i { display: block; height: 100%; width: var(--p, 0%); border-radius: 4px; background: var(--c, var(--violet)); transform-origin: left; }
.ui .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ui .kpi { padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.ui .kpi .l { font-size: 11px; color: var(--ink-3); }
.ui .kpi .v { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ui .kpi .d { font-size: 11px; margin-top: 3px; color: var(--green-ink); }
.ui .kpi .d.down { color: var(--coral-ink); }
.ui .card { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; padding: 12px 14px; }
.ui .card h5 { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ui .card h5 small { font-weight: 400; color: var(--ink-3); }
.ui .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ui .three { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
/* kanban */
/* stepper */
.ui .steps { display: flex; align-items: center; padding: 4px 0; }
.ui .step { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.ui .step i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--ink-3); background: #fff; }
.ui .step.done i { background: var(--ink); color: #fff; box-shadow: none; }
.ui .step.done { color: var(--ink-2); }
.ui .step.cur i { background: var(--violet); color: #fff; box-shadow: 0 0 0 4px var(--violet-50); }
.ui .step.cur { color: var(--ink); font-weight: 500; }
.ui .step svg { width: 11px; height: 11px; }
.ui .ln { flex: 1; height: 1.5px; background: var(--line); margin: 0 10px; position: relative; overflow: hidden; }
.ui .ln i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
/* assistant */
.ui .ask { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line), var(--e1); padding: 14px 16px; }
.ui .ask .q { font-size: 14px; color: var(--ink); min-height: 20px; }
.ui .ask .q .caret { display: inline-block; width: 1.5px; height: 15px; background: var(--ink); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(2) infinite; }
.ui .ask .ft { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 11.5px; color: var(--ink-3); }
.ui .ask .ft .send { margin-left: auto; width: 26px; height: 26px; border-radius: 7px; background: var(--violet); color: #fff; display: grid; place-items: center; }
.ui .ask .ft .send svg { width: 13px; height: 13px; }
.ui .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ui .chips span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 7px; background: var(--paper); font-size: 11.5px; color: var(--ink-2); }
.ui .chips svg { width: 12px; height: 12px; }
.ui .ans { border-radius: 10px; background: var(--paper); padding: 12px 14px; font-size: 12.5px; color: var(--ink-2); }
.ui .ans b { color: var(--ink); font-weight: 600; }
.ui .ans ul { margin: 6px 0 0; padding-left: 16px; }
.ui .ans li { margin: 2px 0; }
@keyframes blink { 50% { opacity: 0; } }
/* document (invoice) */
.ui .doc { background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 10px 30px -14px rgb(14 19 48 / .25); padding: 24px 26px; position: relative; font-size: 12px; }
.ui .doc .dh { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.ui .doc .dh b { font-size: 15px; letter-spacing: -.01em; }
.ui .doc .dh small { display: block; color: var(--ink-3); margin-top: 2px; }
.ui .doc table { width: 100%; border-collapse: collapse; }
.ui .doc td, .ui .doc th { padding: 6px 0; border-bottom: 1px solid var(--line); text-align: left; }
.ui .doc th { font-size: 10.5px; color: var(--ink-3); font-weight: 500; }
.ui .doc td.r, .ui .doc th.r { text-align: right; font-variant-numeric: tabular-nums; }
.ui .doc .tot td { border: 0; font-weight: 600; font-size: 13px; padding-top: 10px; }
.ui .doc .stamp { position: absolute; right: 22px; top: 54px; padding: 4px 10px; border: 2px solid var(--green-ink); color: var(--green-ink); border-radius: 6px; font-weight: 700; letter-spacing: .08em; font-size: 12px; transform: rotate(-8deg) scale(1.4); opacity: 0; }
/* planning */
.ui .gantt { display: grid; grid-template-columns: 120px 1fr; row-gap: 8px; column-gap: 10px; font-size: 12px; align-items: center; }
.ui .gantt .lab { color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.ui .gantt .lane { position: relative; height: 22px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12.5%); border-radius: 4px; }
.ui .gantt .bar { position: absolute; top: 3px; height: 16px; border-radius: 4px; left: var(--l); width: var(--w); background: var(--c, var(--cyan)); transform-origin: left; display: flex; align-items: center; padding-left: 6px; font-size: 10px; color: #fff; font-weight: 500; overflow: hidden; white-space: nowrap; }
.ui .gantt .hdr { display: grid; grid-template-columns: repeat(8, 1fr); font-size: 10px; color: var(--ink-3); }
/* charts */
.ui .bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 0 4px 0; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.ui .bars i { flex: 1; background: var(--violet); border-radius: 4px 4px 0 0; height: var(--h); transform-origin: bottom; position: relative; }
.ui .bars i.alt { background: var(--cyan); }
.ui .bars i::after { content: attr(data-m); position: absolute; top: 100%; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--ink-3); margin-top: 6px; }
.ui .hbars { display: flex; flex-direction: column; gap: 9px; }
.ui .hbars .r { display: grid; grid-template-columns: 110px 1fr 54px; align-items: center; gap: 10px; font-size: 12px; }
.ui .hbars .r .trk { height: 8px; border-radius: 4px; background: var(--sunk); overflow: hidden; }
.ui .hbars .r .trk i { display: block; height: 100%; width: var(--p); background: var(--c, var(--violet)); transform-origin: left; border-radius: 4px; }
.ui .hbars .r b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
/* workflow canvas */
.ui .canvas { position: relative; height: 300px; background: radial-gradient(circle, var(--line-strong) 1px, transparent 1px) 0 0 / 18px 18px; border-radius: 10px; overflow: hidden; }
.ui .node { position: absolute; width: 190px; padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--e2); font-size: 12px; }
.ui .node small { display: block; color: var(--ink-3); font-size: 11px; margin-top: 2px; }
.ui .node .k { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.ui .node .k i { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; background: var(--c, var(--violet-50)); color: var(--ci, var(--violet-ink)); }
.ui .node .k svg { width: 11px; height: 11px; }
.ui .node.run { box-shadow: 0 0 0 1.5px var(--violet), var(--e3); }
.ui .wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.ui .wires path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.ui .wires path.lit { stroke: var(--violet); stroke-dasharray: 600; stroke-dashoffset: 600; }
/* toast */
.ui .toast { position: absolute; right: 18px; bottom: 18px; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), var(--e3); padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; font-size: 12px; max-width: 280px; opacity: 0; transform: translateY(12px); z-index: 4; }
.ui .toast svg { width: 16px; height: 16px; color: var(--green-ink); flex: none; margin-top: 1px; }
.ui .toast b { display: block; font-weight: 600; }
.ui .toast span { color: var(--ink-3); }
/* cursor */

/* floating mini card (hero) */

/* ---------- integrations row ---------- */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); }
.logos > div { height: 72px; display: flex; align-items: center; justify-content: center; gap: 8px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--ink-2); }
.logos > div:nth-child(5n) { border-right: 0; }
.logos > div:nth-last-child(-n+5) { border-bottom: 0; }
.logos svg { width: 18px; height: 18px; color: var(--ink-3); }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(2, 1fr); } .logos > div:nth-child(5n) { border-right: 1px solid var(--hair); } .logos > div:nth-child(2n) { border-right: 0; } .logos > div:nth-last-child(-n+5) { border-bottom: 1px solid var(--hair); } .logos > div:nth-last-child(-n+2) { border-bottom: 0; } }

/* ---------- platform chapters ---------- */
.plat { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .plat { grid-template-columns: 250px 1fr; } .plat > .chap-nav { border-right: 1px solid var(--hair); } }
.chap-nav { position: sticky; top: calc(var(--nav-h) + 8px); align-self: start; padding: 48px clamp(20px, 4vw, 44px); display: none; flex-direction: column; gap: 4px; }
@media (min-width: 1024px) { .chap-nav { display: flex; } }
.chap-nav a { position: relative; display: block; padding: 8px 0 8px 16px; font-size: 14.5px; color: var(--ink-3); transition: color .3s; text-decoration: none; }
.chap-nav a::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--violet); transform: scaleY(0); transition: transform .35s var(--ease); }
.chap-nav a[aria-current="true"] { color: var(--ink); font-weight: 500; }
.chap-nav a[aria-current="true"]::before { transform: scaleY(1); }
.chaps { min-width: 0; }
.chap { border-bottom: 1px solid var(--hair); }
.chap:last-child { border-bottom: 0; }
.chap .chap-h { padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 44px) clamp(24px, 3vw, 36px); }
.chap .chap-shot { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--well); padding: clamp(24px, 4vw, 44px); overflow: hidden; }
.chap .chap-shot .frame13 { box-shadow: 0 0 0 1px rgb(14 19 48 / .08), 0 18px 40px -22px rgb(14 19 48 / .25); }
.chap .mini { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .chap .mini { grid-template-columns: 1fr 1fr; } .chap .mini > div:first-child { border-right: 1px solid var(--hair); } }
.chap .mini > div { padding: clamp(22px, 3vw, 32px) clamp(20px, 4vw, 44px) 0; min-height: 300px; display: flex; flex-direction: column; }
.chap .mini h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.chap .mini p { margin: 0 0 18px; font-size: 14px; color: var(--ink-soft); max-width: 36ch; line-height: 1.5; }
.chap .mini .vis { margin-top: auto; position: relative; height: 170px; overflow: hidden; }
.chap .mini .vis .ui { grid-template-columns: 1fr; background: transparent; }
.chap .mini .vis .ui .body { padding: 0; }

/* ---------- self-building section ---------- */
.build .frame13 { margin: 40px auto 0; max-width: 880px; text-align: left; }
.build .cfg { display: grid; grid-template-columns: 240px 1fr; min-height: 360px; }
.build .cfg .l { padding: 16px; border-right: 1px solid var(--line); font-size: 12.5px; display: flex; flex-direction: column; gap: 6px; }
.build .cfg .l .ttl { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 0 10px 6px; }
.build .cfg .l .o { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 7px; color: var(--ink-2); }
.build .cfg .l .o i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line-strong); display: grid; place-items: center; }
.build .cfg .l .o i svg { width: 9px; height: 9px; opacity: 0; }
.build .cfg .l .o.on i { background: var(--ink); box-shadow: none; }
.build .cfg .l .o.on i svg { opacity: 1; color: #fff; }
.build .cfg .r { padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 96px; gap: 10px; align-content: start; }
.build .cfg .r .mod { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); padding: 12px; font-size: 12px; display: flex; flex-direction: column; gap: 4px; opacity: 0; transform: translateY(8px) scale(.98); }
.build .cfg .r .mod b { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.build .cfg .r .mod b i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.build .cfg .r .mod span { color: var(--ink-3); font-size: 11px; }
@media (max-width: 760px) { .build .cfg { grid-template-columns: 1fr; } .build .cfg .l { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; } .build .cfg .l .ttl { width: 100%; } .build .cfg .r { grid-template-columns: 1fr 1fr; } }

/* ---------- dark chapters ---------- */
.ink13 { background: var(--ink); color: var(--on-ink); }
.ink13 .sheet::before, .ink13 .sheet::after { background: var(--ink-line); }
.ink13 .row { border-color: var(--ink-line); }
.ink13 .tt { color: var(--on-ink-3); }
.ink13 .tt b { color: #fff; }
.ink13 .lede { color: var(--on-ink-2); }
.ink13 .pill { background: rgba(162,89,255,.18); color: #D7BBFF; }
.ink13 .btn.secondary { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.ink13 .btn.secondary:hover { box-shadow: inset 0 0 0 1px #fff; }
.ink13 .btn.primary { background: #fff; color: var(--ink); }
.ink13 .btn.primary:hover { background: var(--paper); }
.arc-bg { position: relative; height: 180px; overflow: hidden; }
.arc-bg svg { position: absolute; left: 50%; top: 0; width: 1600px; height: 100%; transform: translateX(-50%); }
.facts5 { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .facts5 { grid-template-columns: repeat(5, 1fr); } }
.facts5 > div { padding: 26px 22px 28px; border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.facts5 > div svg { width: 20px; height: 20px; color: #fff; opacity: .9; }
.facts5 > div b { display: block; margin-top: 44px; font-size: 14px; font-weight: 600; color: #fff; }
.facts5 > div p { margin: 6px 0 0; font-size: 13px; color: var(--on-ink-3); line-height: 1.5; }
.facts5 > div:nth-child(5n), .facts5 > div:last-child { border-right: 0; }
@media (max-width: 899px) { .facts5 > div:nth-child(5n) { border-right: 1px solid var(--ink-line); } .facts5 > div:nth-child(2n) { border-right: 0; } }
.signals { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .signals { grid-template-columns: 1fr 1fr; } .signals > div:first-child { border-right: 1px solid var(--ink-line); } }
.signals > div { padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); }
.sig-list { margin: 36px 0 0; padding: 0; list-style: none; display: grid; }
.sig-list li { padding: 16px 0; border-top: 1px solid var(--ink-line); display: grid; gap: 4px; }
.sig-list li b { color: #fff; font-weight: 600; font-size: 15px; }
.sig-list li span { color: var(--on-ink-3); font-size: 14px; }
.sig-feed { position: relative; height: 100%; min-height: 380px; }
.sig-feed .ev { position: absolute; left: 0; right: 0; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); font-size: 13px; opacity: 0; transform: translateY(20px); }
.sig-feed .ev i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.08); }
.sig-feed .ev i svg { width: 13px; height: 13px; color: #fff; }
.sig-feed .ev .tx { min-width: 0; }
.sig-feed .ev b { display: block; color: #fff; font-weight: 500; }
.sig-feed .ev span { color: var(--on-ink-3); font-size: 12.5px; }
.sig-feed .ev em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--on-ink-3); white-space: nowrap; }
.api-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .api-grid { grid-template-columns: 1fr 1fr; } .api-grid > div:first-child { border-right: 1px solid var(--ink-line); } }
.api-grid > div { padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); position: relative; overflow: hidden; }
.api-grid > div > * { position: relative; }
.api-grid .geo { position: absolute; inset: 0; width: 100%; height: 100%; }
.api-grid .geo path, .api-grid .geo line, .api-grid .geo circle { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1; }
.api-grid .geo .lit { stroke: rgba(162,89,255,.9); stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.code { margin: 28px 0 0; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--on-ink-2); overflow: auto; white-space: pre; }
.code .k { color: #D7BBFF; } .code .s { color: #8FE3C6; } .code .c { color: var(--on-ink-3); }

/* ---------- statement ---------- */
.statement { background: radial-gradient(circle, var(--line-strong) 1px, transparent 1px) 0 0 / 18px 18px; }
.statement figure { margin: 0; }
.statement blockquote { margin: 0 auto; max-width: 30ch; font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; font-weight: 400; }
.statement blockquote .w { display: inline-block; opacity: .18; }
.statement figcaption { margin: 28px auto 0; max-width: 52ch; font-size: 13px; color: var(--ink-3); }
.statement figcaption b { display: block; color: var(--ink); font-weight: 600; }

/* ---------- scale ---------- */
.scale { position: relative; overflow: hidden; }
.scale .curve { position: absolute; right: -1px; bottom: -1px; width: 56%; height: 100%; pointer-events: none; }
.scale .curve path { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.scale .copy { position: relative; }
.stats4 { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .stats4 { grid-template-columns: repeat(4, 1fr); } }
.stats4 > div { padding: 24px clamp(20px, 4vw, 44px) 26px; border-right: 1px solid var(--hair); }
.stats4 > div:last-child { border-right: 0; }
@media (max-width: 899px) { .stats4 > div:nth-child(2) { border-right: 0; } .stats4 > div:nth-child(-n+2) { border-bottom: 1px solid var(--hair); } }
.stats4 b { display: block; font-family: var(--display); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats4 span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-3); }

/* ---------- guides ---------- */
.guides4 { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--hair); }
@media (min-width: 760px) { .guides4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .guides4 { grid-template-columns: repeat(4, 1fr); } }
.guides4 a { display: flex; flex-direction: column; padding: 24px clamp(20px, 3vw, 28px) 28px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); color: var(--ink); transition: background .25s; min-height: 220px; text-decoration: none; }
.guides4 a:hover { background: var(--well); }
.guides4 a:nth-child(4n) { border-right: 0; }
@media (max-width: 1023px) { .guides4 a:nth-child(4n) { border-right: 1px solid var(--hair); } .guides4 a:nth-child(2n) { border-right: 0; } }
@media (max-width: 759px) { .guides4 a { border-right: 0 !important; } }
.guides4 small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.guides4 b { display: block; margin-top: 12px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.guides4 span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.guides4 .go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.guides4 .go svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.guides4 a:hover .go svg { transform: translateX(3px); }

/* ---------- demo + closing ---------- */
.demo13 { display: grid; grid-template-columns: 1fr; }
@media (min-width: 960px) { .demo13 { grid-template-columns: 1fr 1fr; } .demo13 > div:first-child { border-right: 1px solid var(--hair); } }
.demo13 > div { padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); }
.demo13 .demo-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.demo13 .demo-list li { display: flex; gap: 10px; align-items: flex-start; }
.demo13 .demo-list svg { width: 16px; height: 16px; color: var(--green-ink); margin-top: 3px; flex: none; }
.closing { text-align: center; padding: clamp(80px, 12vw, 160px) clamp(20px, 4vw, 48px); position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 56px); -webkit-mask: radial-gradient(60% 80% at 50% 50%, #000, transparent); mask: radial-gradient(60% 80% at 50% 50%, #000, transparent); pointer-events: none; }
.closing h2 { position: relative; font-family: var(--display); font-size: clamp(2rem, 1.5rem + 2.4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.04; color: #fff; max-width: 18ch; margin: 0 auto; font-weight: 600; }
.closing .cta-row { position: relative; }

/* ---------- motion defaults (JS adds .in / timelines) ---------- */
.js.mo .rv { opacity: 0; transform: translateY(14px); }
.js.mo .frame13.rv { transform: translateY(28px) scale(.985); }
.v13 .split-line { display: block; overflow: hidden; padding-block: .1em; margin-block: -.1em; }
.v13 .split-line > span { display: inline-block; }
@media (prefers-reduced-motion: reduce) { .js.mo .rv { opacity: 1; transform: none; } .ui .ask .q .caret { animation: none; } }

/* ---------- mobile ---------- */
@media (max-width: 1023px) { .hero13 .stage { padding-inline: 0; } .hero13 .frame13 { border-radius: 10px; } .frame13 .bar .url { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
@media (max-width: 760px) { .chap .mini > div { min-height: 0; padding-bottom: 24px; } .chap .mini .vis { margin-top: 18px; } .signals > div, .api-grid > div { padding-inline: 20px; } .sig-feed { min-height: 320px; } .v13 .btn { height: 44px; } }

/* ---------- mock-up line lists ---------- */
.ui .lines .r { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.ui .lines .r:last-child { border-bottom: 0; }
.ui .lines .r > span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.ui .lines .r b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ui .lines .r.tot, .ui .lines .r.tot b { font-weight: 600; }
.ui .lines .r.tot > span:first-child { color: var(--ink); }

/* ---------- workflow canvas, dark ---------- */
.ink13 .ui.flow { background: transparent; grid-template-columns: 1fr; color: #fff; }
.ink13 .ui.flow .canvas { height: 340px; border-radius: 14px; background: radial-gradient(circle, rgba(255,255,255,.14) 1px, transparent 1px) 0 0 / 18px 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.ink13 .ui.flow .node { background: var(--ink-raised); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #fff; }
.ink13 .ui.flow .node small { color: var(--on-ink-3); }
.ink13 .ui.flow .node .k i { background: rgba(255,255,255,.10); color: #fff; }
.ink13 .ui.flow .node.run { box-shadow: inset 0 0 0 1.5px var(--violet), 0 0 0 5px rgba(162,89,255,.14); }
.ink13 .ui.flow .wires path { stroke: rgba(255,255,255,.16); }
.ink13 .ui.flow .wires path.lit { stroke: var(--violet); }
.flow-run { position: absolute; left: 14px; bottom: 12px; display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--on-ink-3); }
.flow-run i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(10,207,131,.2); }

/* ---------- FAQ + glossary ---------- */
.faq13 .faq-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 960px) { .faq13 .faq-grid { grid-template-columns: 1fr 340px; } .faq13 .faq-grid > div:first-child { border-right: 1px solid var(--hair); } }
.faq13 .faq-grid > * { padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); min-width: 0; }
.faq13 .accordion { margin-top: 28px; border-top: 1px solid var(--hair); }
.faq13 .qa { border-bottom: 1px solid var(--hair); }
.faq13 .qa h3 { margin: 0; font-size: inherit; }
.faq13 .qa-q { all: unset; box-sizing: border-box; cursor: pointer; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--ink); }
.faq13 .qa-q:focus-visible { box-shadow: var(--focus); border-radius: 6px; }
.faq13 .qa-q svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; transition: transform .25s var(--ease); }
.faq13 .qa-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq13 .qa-a p { margin: 0; padding: 0 0 18px; font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.faq13 .gloss dl { margin: 20px 0 0; }
.faq13 .gloss dl > div { padding: 10px 0; border-top: 1px solid var(--hair); }
.faq13 .gloss dt { font-weight: 600; font-size: 14px; }
.faq13 .gloss dd { margin: 2px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- motion gates ---------- */
.js.mo h1[data-split] { opacity: 1; } /* LCP: the title is never hidden before fonts and JS; SplitText animates transform only */
html:not(.mo) .ui .toast, html:not(.mo) .ui .doc .stamp, html:not(.mo) .build .cfg .r .mod, html:not(.mo) .sig-feed .ev, html:not(.mo) [data-paid], html:not(.mo) [data-stop] { opacity: 1 !important; transform: none !important; }
html:not(.mo) .sig-feed .ev { position: relative; margin-bottom: 10px; }
html:not(.mo) .sig-feed { min-height: 0; }
html:not(.mo) .ui .wires path.lit { stroke-dashoffset: 0; stroke-dasharray: none; }
html:not(.mo) .statement .w { opacity: 1; }
html:not(.mo) .build .cfg .l .o i { background: var(--ink); box-shadow: none; }
html:not(.mo) .build .cfg .l .o i svg { opacity: 1; color: #fff; }
html:not(.js) .shot > .ui { position: static; transform: none; }
html:not(.js) .shot { overflow-x: auto; }

/* icon defaults inside the mock-ups, header on white */
.ui svg:not(.wires) { width: 14px; height: 14px; flex: none; }
.v13 .site-head { background: rgba(255,255,255,.86); }
.hero13 .float { bottom: 7%; transform: translateX(-56%); }

/* ---------- per-chapter feature index ---------- */
.chap .also { border-top: 1px solid var(--hair); padding: 20px clamp(20px, 4vw, 44px) 28px; }
.chap .also h5 { margin: 0 0 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.chap .also ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px 20px; }
@media (max-width: 900px) { .chap .also ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .chap .also ul { grid-template-columns: 1fr; } }
.chap .also li { font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.chap .also li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c, var(--violet)); margin-top: 7px; flex: none; }

/* ---------- modules index ---------- */
.mods-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .mods-grid { grid-template-columns: repeat(4, 1fr); } .mods-grid > div { border-right: 1px solid var(--hair); border-bottom: 0 !important; } .mods-grid > div:last-child { border-right: 0; } }
.mods-grid > div { padding: 24px clamp(18px, 2.5vw, 28px) 28px; border-bottom: 1px solid var(--hair); }
.mods-grid h3 { margin: 0 0 12px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); display: flex; align-items: center; gap: 8px; font-weight: 600; }
.mods-grid h3 i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mods-grid h3 small { font-weight: 500; color: var(--ink-3); font-size: 11px; letter-spacing: 0; margin-left: auto; font-family: var(--mono); }
.mods-grid ul { margin: 0; padding: 0; list-style: none; }
.mods-grid li { padding: 9px 0; border-top: 1px solid var(--hair); }
.mods-grid li b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.mods-grid li span { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; line-height: 1.45; }
.strip4 { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .strip4 { grid-template-columns: repeat(2, 1fr); } .strip4 > div:nth-child(2n) { border-right: 0; } }
@media (min-width: 900px) { .strip4 { grid-template-columns: repeat(4, 1fr); } .strip4 > div:nth-child(2n) { border-right: 1px solid var(--hair); } .strip4 > div:nth-child(4n) { border-right: 0; } }
.strip4 > div { padding: 22px clamp(18px, 2.5vw, 28px) 24px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.strip4 > div:nth-last-child(-n+4) { border-bottom: 0; }
@media (max-width: 899px) { .strip4 > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--hair); } .strip4 > div:last-child { border-bottom: 0; } }
.strip4 b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.strip4 p { margin: 4px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- demo form ---------- */
.v13 .demo-form { margin: 0; }
.v13 .demo-form .field { margin-bottom: 14px; }
.v13 .demo-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.v13 .demo-form input, .v13 .demo-form textarea { width: 100%; font: inherit; font-size: 15px; line-height: 1.4; padding: 12px 12px; border-radius: 10px; border: 0; box-shadow: inset 0 0 0 1px var(--line-strong); background: #fff; color: var(--ink); transition: box-shadow .2s; }
.v13 .demo-form textarea { resize: vertical; min-height: 84px; }
.v13 .demo-form input:focus, .v13 .demo-form textarea:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--ink); }
.v13 .demo-form input[aria-invalid="true"], .v13 .demo-form textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--coral-ink); }
.v13 .demo-form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 560px) { .v13 .demo-form .frow { grid-template-columns: 1fr; } }
.v13 .demo-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.v13 .demo-form .field-err { font-size: 12px; color: var(--coral-ink); margin: 4px 0 0; min-height: 0; }
.v13 .demo-form .field-err:empty { display: none; }
.v13 .demo-form button[type="submit"] { width: 100%; justify-content: center; margin-top: 4px; }
.v13 .demo-form .form-note { font-size: 12px; color: var(--ink-3); margin: 12px 0 0; line-height: 1.5; }
.v13 .demo-form .form-status { font-size: 14px; margin: 10px 0 0; }
.v13 .demo-form .form-status:empty { display: none; }

/* ---------- small screens: readable mock-ups, wrapping eyebrow ---------- */
.eyebrow-link { max-width: 100%; height: auto; min-height: 36px; padding-block: 4px; line-height: 1.3; text-align: left; }
@media (max-width: 760px) {
  .shot { --w: 720px !important; }
  .shot > .ui:not(.flow) { grid-template-columns: 1fr; }
  .shot > .ui:not(.flow) .side { display: none; }
  .ui .top .act:not(.pri) { display: none; }
}

/* ---------- v13.1: interactivity, tighter sections ---------- */
:root { --ink-soft: #60668A; }
.ui .chips span[data-q], .ui .tbl tr[data-row], .ui .step, .ui [data-doc], .build .cfg .l .o, .ui .top .act, .ui .kc { cursor: pointer; }
.ui .chips span[data-q] { transition: background .2s, color .2s; }
.ui .chips span[data-q]:hover, .ui .chips span[data-q].on { background: var(--violet-50); color: var(--violet-ink); }
.ui .tbl tr[data-row] td { transition: background .2s; }
.ui .tbl tr[data-row]:hover td { background: var(--paper); }
.ui .tbl tr.sel:hover td { background: var(--violet-50); }
.ui .step:hover i { box-shadow: inset 0 0 0 1.5px var(--violet); }
.ui .gantt .bar { cursor: grab; touch-action: none; transition: box-shadow .2s; }
.ui .gantt .bar.dragging { cursor: grabbing; box-shadow: 0 8px 18px -8px rgb(14 19 48 / .45); z-index: 2; }
.ui .node { cursor: grab; user-select: none; touch-action: none; transition: box-shadow .2s; }
.ui .node.dragging { cursor: grabbing; }
.ui .node:hover { box-shadow: 0 0 0 1.5px var(--violet), var(--e3); }
.ink13 .ui.flow .node:hover { box-shadow: inset 0 0 0 1.5px var(--violet), 0 0 0 5px rgba(162,89,255,.14); }
.ui .wires path.hot { stroke: var(--cyan); stroke-width: 2.5; }
.ui .wires .dot { fill: var(--violet); opacity: 0; filter: drop-shadow(0 0 4px rgba(162,89,255,.9)); }
.ui .tip { position: absolute; transform: translate(-50%, -100%); background: var(--ink); color: #fff; font-size: 11px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; opacity: 0; z-index: 3; font-variant-numeric: tabular-nums; }
.ui .tip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 6px; height: 6px; background: var(--ink); transform: translate(-50%, -50%) rotate(45deg); }
.ui .bars i { cursor: default; transition: filter .2s; } .ui .bars i:hover { filter: brightness(1.1); }
.ui .ask { cursor: text; }
.chap-nav a::before, .chap-nav a[aria-current="true"]::before { transform: scaleY(var(--p, 0)); transform-origin: top; transition: none; }
.chap .mini > div { min-height: 250px; }
.facts5 > div b { margin-top: 26px; }
.guides4 a { transition: background .25s, translate .35s var(--ease); }
.guides4 a:hover { translate: 0 -2px; }
.demo-steps { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.demo-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--hair); font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.demo-steps li i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11.5px; font-weight: 600; background: var(--sunk); color: var(--ink); margin-top: 1px; }
.demo-steps li b { display: block; color: var(--ink); font-weight: 600; }
.build .cfg .l .o { transition: background .2s; } .build .cfg .l .o:hover { background: var(--paper); }
@media (hover: none) { .ui .gantt .bar, .ui .node { cursor: default; } }
.frame13 > .toast { position: absolute; right: 18px; bottom: 18px; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), var(--e3); padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; font-size: 12px; max-width: 300px; opacity: 0; z-index: 4; font-family: var(--sans); text-align: left; }
.frame13 > .toast svg { width: 16px; height: 16px; color: var(--green-ink); flex: none; margin-top: 1px; }
.frame13 > .toast b { display: block; font-weight: 600; } .frame13 > .toast span { color: var(--ink-3); }

/* ---------- v13.2: closer to the reference ---------- */
.v13 h1.display { font-weight: 600; letter-spacing: -0.04em; max-width: 19ch; font-size: clamp(2.5rem, 1.9rem + 3.2vw, 4.3rem); }
.v13 h2.tt, .v13 h3.tt { font-weight: 500; }
.tt b { font-weight: 500; }
.v13 .lede { color: var(--ink-soft); }
.hero13 { padding-top: calc(var(--nav-h) + clamp(64px, 9vw, 120px)); }
.platform > .sheet > .row.pad { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(48px, 6vw, 80px); }
.chap .chap-h { padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 44px) clamp(40px, 5vw, 64px); }
.chap-nav { top: calc(var(--nav-h) + 16px); margin-top: clamp(56px, 7vw, 96px); padding-top: 0; }
.chap-nav a { color: var(--ink-3); font-size: 15px; padding: 9px 0 9px 18px; }
.chap-nav a[aria-current="true"] { color: var(--ink); font-weight: 500; }
.chap .chap-shot { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(32px, 5vw, 64px) clamp(32px, 5vw, 64px); background: var(--well-2); }
.chap .chap-shot .frame13.bare { border-radius: 12px 0 0 12px; box-shadow: 0 0 0 1px rgb(14 19 48 / .07), 0 24px 48px -28px rgb(14 19 48 / .22); margin-right: -1px; }
.chap .chap-shot .shot { --w: 1060px !important; }
.pop { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); width: min(320px, 70%); background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -24px rgb(14 19 48 / .35); padding: 14px 16px 14px; font-size: 12.5px; z-index: 3; text-align: left; }
.pop .ph b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.pop .ph span { display: block; color: var(--ink-3); font-size: 11.5px; margin-top: 2px; }
.pop .pl { margin-top: 10px; padding: 7px 10px; border-radius: 8px; background: var(--paper); font-weight: 500; }
.pop p { margin: 10px 0 0; color: var(--ink-2); line-height: 1.5; }
.pop .pb { display: flex; gap: 8px; margin-top: 12px; }
.pop .btn-p, .pop .btn-s { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 7px; font-size: 12px; font-weight: 500; }
.pop .btn-p { background: var(--violet); color: #fff; }
.pop .btn-s { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
@media (max-width: 760px) { .chap .chap-shot { padding: 20px 0 20px 16px; } .pop { position: static; width: auto; margin: 12px 16px 0 0; } }
/* dark agent console in the hero */
.console { width: 300px; background: var(--ink-console); color: #DDE1F2; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -24px rgb(14 19 48 / .55); font-family: var(--mono); font-size: 11.5px; line-height: 1.55; overflow: hidden; text-align: left; }
.console .ch { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--sans); font-size: 11px; color: var(--on-ink-3); }
.console .ch i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.14); }
.console .ch i:nth-child(1) { background: var(--coral); } .console .ch i:nth-child(2) { background: var(--amber); } .console .ch i:nth-child(3) { background: var(--green); }
.console .ch span { margin-left: 6px; }
.console .cb { padding: 10px 12px 12px; min-height: 96px; }
.console .cl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 18px; }
.console .cl::before { content: "› "; color: var(--violet); }
.console .cl:empty::before { content: ""; }
.console .cl.cur::before { content: "› "; }
.console .caret { display: inline-block; width: 7px; height: 12px; background: var(--green); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.hero13 .float.console { bottom: 10%; transform: translateX(-58%); }
/* radial agent diagram */
.orbit { position: relative; height: 170px; display: grid; place-items: center; }
.orbit .ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.orbit .ring.r1 { width: 150px; height: 150px; } .orbit .ring.r2 { width: 230px; height: 230px; border-style: dashed; opacity: .7; }
.orbit .core { position: relative; z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--e3); display: grid; place-items: center; }
.orbit .spin { position: absolute; inset: 0; animation: orbit 28s linear infinite; }
.orbit .op { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); translate: -50% -50%; white-space: nowrap; padding: 4px 9px; border-radius: 7px; font-size: 11.5px; font-weight: 500; background: var(--violet-50); color: var(--violet-ink); box-shadow: 0 0 0 1px rgba(162,89,255,.18); animation: counter 28s linear infinite; }
.orbit .op:nth-child(2) { background: var(--cyan-50); color: var(--cyan-ink); box-shadow: 0 0 0 1px rgba(26,188,254,.22); }
.orbit .op:nth-child(3) { background: var(--green-50); color: var(--green-ink); box-shadow: 0 0 0 1px rgba(10,207,131,.22); }
.orbit .op:nth-child(4) { background: var(--amber-50); color: var(--amber-ink); box-shadow: 0 0 0 1px rgba(255,177,0,.25); }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes counter { to { transform: rotate(calc(var(--a) - 360deg)) translateX(var(--r)) rotate(calc(360deg - var(--a))); } }
@media (prefers-reduced-motion: reduce) { .orbit .spin, .orbit .op { animation: none; } }
.chap .mini .vis .ui[data-mock="orbit"] .body { overflow: visible; }
.pop { --d: 1100ms; }

/* ---------- v13.3: streaming assistant panel, go-live steps ---------- */
.ui .think { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line), var(--e1); background: #fff; padding: 12px 14px; min-height: 150px; }
.ui .think .th { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; flex-wrap: wrap; }
.ui .think .th svg { width: 14px; height: 14px; color: var(--violet-ink); }
.ui .think .th .chev { font-style: normal; color: var(--ink-3); font-weight: 400; }
.ui .think .tools { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.ui .think .tools span { font-weight: 500; font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--paper); color: var(--ink-2); opacity: 0; }
.ui .think .tb { margin-top: 10px; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); min-height: 60px; }
.ui .think .tb::after { content: ""; display: inline-block; width: 7px; height: 12px; background: var(--violet); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
.ui .think .tb.done::after { display: none; }
.build-steps { position: relative; margin: 20px auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 880px; text-align: left; }
.build-steps .bs-line { position: absolute; left: 14px; right: 14px; top: 14px; height: 2px; width: auto; }
.build-steps .bs-line line { stroke: var(--line-strong); stroke-width: 2; }
.build-steps li { position: relative; padding-top: 42px; }
.build-steps li i { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-size: 12px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 6px #fff; }
.build-steps li b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.build-steps li span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 760px) { .build-steps { grid-template-columns: 1fr; gap: 18px; } .build-steps .bs-line { display: none; } .build-steps li { padding: 0 0 0 40px; } }

/* ---------- v13.4: fixes from review ---------- */
.v13 svg:has(> use), .pop svg, .console svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v13 .glyph, .v13 img { stroke: none; }
.stats4 > div > span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.stats4 b { white-space: nowrap; }
.stats4 b span { font: inherit; display: inline; margin: 0; color: inherit; }
.code { background: var(--ink-well); position: relative; z-index: 1; }
.api-grid .geo .lit { stroke: rgba(162,89,255,.55); }
.api-grid .geo { opacity: .8; }
.build-steps .bs-line { width: calc(100% - 28px); }
.chap .mini .vis:has(.orbit) { height: 210px; }
.orbit { height: 210px; }
.orbit .ring.r2 { width: 200px; height: 200px; }
.hero13 .float.console { bottom: 4%; transform: translateX(-72%); }
.ui .think .tb { min-height: 48px; }
.ink13 .sig-list li > * { transition: translate .3s var(--ease); }
.hero13 .glow { overflow: hidden; }
.hero13 .glow::after { inset: 0 -28px 0 0; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-28px); } }
@media (prefers-reduced-motion: reduce) { .hero13 .glow::after { animation: none; } }
/* orbit: the pills travel around the core and stay upright (the wrapper no longer spins) */
.orbit .spin { animation: none; }
@keyframes counter { to { transform: rotate(calc(var(--a) + 360deg)) translateX(var(--r)) rotate(calc(-1 * var(--a) - 360deg)); } }
.orbit .op { animation: counter 32s linear infinite; }

/* ---------- v13.5: mobile mock-ups — the chapter override (`.chap .chap-shot .shot`) used to beat the 720px phone rule ---------- */
@media (max-width: 760px) {
  .shot, .chap .chap-shot .shot { --w: 560px !important; }   /* 374/560 = 0.67 */
  .shot > .ui { font-size: 15px; }                           /* 15 × 0.67 ≈ 10px on screen */
  .shot > .ui .kpis { grid-template-columns: 1fr 1fr; }      /* the two 4-col KPI rows; inline-styled grids keep their own value */
  .shot > .ui .tbl th:nth-child(n+5), .shot > .ui .tbl td:nth-child(n+5) { display: none; } /* leads table: keep Prospect, Source, Véhicule, Score */
}

/* GSAP owns `transform` on revealed elements and magnetic CTAs; hover/press live on the individual translate/scale properties, which compose with it */
.v13 .btn { transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), scale 120ms var(--ease); }
.v13 .btn:active { transform: none; scale: .98; }
.ui .top .act { transition: background .2s, scale .12s var(--ease); }
.ui .chips span[data-q] { transition: background .2s, color .2s, scale .12s var(--ease); }
.ui .step i { transition: box-shadow .2s, scale .12s var(--ease); }
.build .cfg .l .o { transition: background .2s, scale .12s var(--ease); }
.link-more, .eyebrow-link { transition: box-shadow .2s, scale .12s var(--ease); }
.ui .top .act:active, .ui .chips span[data-q]:active, .build .cfg .l .o:active, .ui .step:active i { scale: .96; }
.link-more:active, .eyebrow-link:active { scale: .98; }
@media (hover: hover) and (pointer: fine) {
  .ink13 .sig-list li:hover > * { translate: 8px 0; }
  .ui .top .act:hover { background: var(--paper); }
  .ui .top .act.pri:hover { background: #1C2350; }   /* same literal as site.css .btn.primary:hover */
  .chap-nav a:not([aria-current="true"]):hover { color: var(--ink-2); }
}

/* idle loops: the gantt bar slides on transform inside its lane */
.ui .gantt .lane { contain: layout; }

/* touch targets: 44px on coarse pointers */
@media (pointer: coarse) {
  .link-more, .eyebrow-link, .foot-bot a, .v13 .btn, .v13 .btn.sm { min-height: 44px; }
  .foot-bot a { display: inline-flex; align-items: center; }
}

/* heading modifiers + copy classes (replace the inline styles of the home pages) */
.v13 .tt.sm { font-size: 1.25rem; }
.v13 .tt.xs { font-size: 1.05rem; }
.v13 .tt.mt { margin: 48px auto 0; }
.v13 .kicker { margin: 28px 0 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.integr .lede { margin: 0 auto; font-size: 15px; color: var(--ink-3); }
.demo13 .alt-contact { margin-top: 28px; font-size: 14px; color: var(--ink-3); }

/* the security curve sits behind the copy in the single-column layout */
@media (max-width: 899px) {
  .scale .curve { width: 70%; height: 45%; opacity: .5; }
  .scale .copy { padding-bottom: 24px; }
}

/* ---------- v13.6: full AI index, portal reader, mobile phones ---------- */
.ai-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ai-grid { grid-template-columns: repeat(3, 1fr); } }
.ai-grid > div { padding: 26px clamp(18px, 2.5vw, 28px) 28px; border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.ai-grid > div:nth-child(3n) { border-right: 0; }
@media (max-width: 1023px) { .ai-grid > div:nth-child(3n) { border-right: 1px solid var(--ink-line); } .ai-grid > div:nth-child(2n) { border-right: 0; } }
@media (max-width: 759px) { .ai-grid > div { border-right: 0 !important; } }
.ai-grid h3 { margin: 0 0 12px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #fff; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ai-grid h3 i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--violet)); }
.ai-grid h3 small { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--on-ink-3); letter-spacing: 0; font-weight: 500; }
.ai-grid ul { margin: 0; padding: 0; list-style: none; }
.ai-grid li { padding: 9px 0; border-top: 1px solid var(--ink-line); }
.ai-grid li b { display: block; font-size: 14px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.ai-grid li span { display: block; font-size: 12.5px; color: var(--on-ink-3); margin-top: 2px; line-height: 1.45; }
/* portal reader: a manufacturer portal on the left, the extension's reading on the right */
.ui.portal { grid-template-columns: 1fr 380px; }
.ui.portal .pg { background: #F3F4F8; padding: 16px; }
.ui.portal .pg .pbar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; background: #fff; border-radius: 8px; font-size: 11px; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.ui.portal .pg .pbar b { color: var(--ink); font-weight: 600; }
.ui.portal .form { margin-top: 12px; background: #fff; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.ui.portal .form .f { font-size: 11px; color: var(--ink-3); }
.ui.portal .form .f i { display: block; margin-top: 4px; height: 24px; border-radius: 6px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-style: normal; font-size: 12px; color: var(--ink); padding: 3px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; }
.ui.portal .form .f i.w { grid-column: span 2; }
.ui.portal .form .f.lit i { box-shadow: inset 0 0 0 1.5px var(--violet); background: var(--violet-50); }
.ui.portal .ext { border-left: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.ui.portal .ext .eh { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.ui.portal .ext .eh .glyph { width: 18px; height: 18px; }
.ui.portal .ext .eh .badge { margin-left: auto; }
.ui.portal .ext .eb { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ui.portal .ext .row { display: grid; grid-template-columns: 110px 1fr auto; gap: 8px; align-items: center; font-size: 12px; opacity: 0; transform: translateX(6px); }
.ui.portal .ext .row span:first-child { color: var(--ink-3); }
.ui.portal .ext .row b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui.portal .ext .row .cf { font-family: var(--mono); font-size: 10.5px; color: var(--green-ink); }
.ui.portal .ext .learn { margin-top: auto; border-radius: 10px; background: var(--paper); padding: 10px 12px; font-size: 12px; color: var(--ink-2); opacity: 0; transform: translateY(6px); }
.ui.portal .ext .learn b { display: block; color: var(--ink); font-weight: 600; }
.ui.portal .ext .act-row { display: flex; gap: 8px; margin-top: 10px; }
.ui.portal .ext .act-row span { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 7px; font-size: 12px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.ui.portal .ext .act-row span.pri { background: var(--violet); color: #fff; box-shadow: none; }
.ui.portal .sel-box { position: absolute; border: 1.5px dashed var(--violet); border-radius: 6px; pointer-events: none; opacity: 0; }
/* mobile: three phones in CSS, each a real screen */
.phones { display: grid; grid-template-columns: 1fr; gap: 28px; padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px); background: var(--well); }
@media (min-width: 900px) { .phones { grid-template-columns: repeat(3, 1fr); } }
.phone { width: 100%; max-width: 300px; margin: 0 auto; border-radius: 36px; background: #0E1330; padding: 10px; box-shadow: 0 30px 60px -28px rgb(14 19 48 / .5), 0 0 0 1px rgba(14,19,48,.5); }
.phone .scr { background: #fff; border-radius: 28px; overflow: hidden; height: 540px; display: flex; flex-direction: column; font-family: var(--sans); font-size: 12.5px; position: relative; }
.phone .sb { height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-size: 11px; font-weight: 600; }
.phone .sb i { width: 70px; height: 20px; background: #0E1330; border-radius: 12px; }
.phone .tab { margin-top: auto; height: 56px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; justify-items: center; font-size: 10px; color: var(--ink-3); }
.phone .tab span { display: grid; justify-items: center; gap: 3px; }
.phone .tab span.on { color: var(--violet-ink); font-weight: 600; }
.phone .tab svg { width: 16px; height: 16px; }
.mob-roles { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .mob-roles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mob-roles { grid-template-columns: repeat(4, 1fr); } }
.mob-roles > div { padding: 22px clamp(18px, 2.5vw, 28px) 26px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.mob-roles > div:nth-child(4n) { border-right: 0; }
@media (max-width: 1023px) { .mob-roles > div:nth-child(4n) { border-right: 1px solid var(--hair); } .mob-roles > div:nth-child(2n) { border-right: 0; } }
@media (max-width: 759px) { .mob-roles > div { border-right: 0 !important; } }
.mob-roles h3 { margin: 0 0 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mob-roles h3 i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mob-roles ul { margin: 0; padding: 0; list-style: none; }
.mob-roles li { padding: 7px 0; border-top: 1px solid var(--hair); font-size: 13.5px; color: var(--ink-2); }
.mob-roles li b { color: var(--ink); font-weight: 600; }
.mob-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mob-feats span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 13px; color: var(--ink-2); background: #fff; }
.mob-feats span svg { width: 13px; height: 13px; }
.bdc-grid { grid-template-columns: 1fr !important; }
.bdc-grid > div { border-right: 0 !important; padding: 8px clamp(18px, 2.5vw, 28px) 24px; }
.bdc-grid ul { display: grid; grid-template-columns: 1fr; gap: 0 32px; }
@media (min-width: 760px) { .bdc-grid ul { grid-template-columns: 1fr 1fr; } }
.bdc-grid li { padding: 12px 0; }
.bdc-grid li b { font-size: 14.5px; }
.bdc-grid li span { font-size: 13px; }
@media (max-width: 760px) { .ui.portal { grid-template-columns: 1fr; } .ui.portal .ext { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- v13.7: phones re-skinned after the real app ---------- */
.phones { perspective: 1400px; }
.phone { border-radius: 42px; background: linear-gradient(160deg, #2A3055, #0E1330 45%, #0B0F26); padding: 9px; box-shadow: 0 40px 70px -34px rgb(14 19 48 / .6), 0 0 0 1px rgba(14,19,48,.6), inset 0 1px 0 rgba(255,255,255,.18); position: relative; transform-style: preserve-3d; will-change: transform; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #1C2244; }
.phone::before { left: -3px; top: 110px; height: 56px; } .phone::after { right: -3px; top: 92px; height: 36px; }
.phone .scr { height: auto; aspect-ratio: 9 / 19.3; border-radius: 34px; position: relative; overflow: hidden; }
.phone .scr.app { background: #F4F2FA; color: #15172B; font-size: 11.5px; line-height: 1.35; display: flex; flex-direction: column; gap: 9px; padding: 0 11px; }
.phone .scr.app .sb { height: 38px; margin: 0 -11px; padding: 0 20px; font-size: 11px; font-weight: 600; }
.phone .scr.app .sb i { width: 62px; height: 18px; }
.phone .app .ah { display: flex; align-items: center; gap: 9px; padding: 2px 2px 0; }
.phone .app .ah .av { width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(135deg, #8E6CFF, #6F3DE8); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.phone .app .ah .back { width: 30px; height: 30px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(20,16,60,.08); display: grid; place-items: center; font-size: 18px; font-weight: 600; }
.phone .app .ah > div { flex: 1; min-width: 0; }
.phone .app .ah small { display: block; font-size: 9.5px; color: #6B6F8A; }
.phone .app .ah b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -.02em; }
.phone .app .ah .mono { font-family: var(--mono); font-size: 9.5px; }
.phone .app .ah .bell { position: relative; width: 32px; height: 32px; border-radius: 11px; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(20,16,60,.08); }
.phone .app .ah .bell svg { width: 15px; height: 15px; color: #15172B; }
.phone .app .ah .bell i { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; border-radius: 8px; background: #FF7262; color: #fff; font-size: 9px; font-style: normal; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.phone .app .hero { background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 6px 18px -10px rgba(20,16,60,.25); }
.phone .app .hero .big { display: flex; align-items: baseline; gap: 8px; }
.phone .app .hero .big span { font-size: 34px; font-weight: 700; color: #7A4DF0; letter-spacing: -.03em; line-height: 1; }
.phone .app .hero .big small { font-size: 12px; font-weight: 500; color: #3A3F63; }
.phone .app .cta { margin-top: 10px; height: 40px; border-radius: 13px; background: #7A4DF0; color: #fff; font-weight: 600; font-size: 12.5px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 10px 22px -10px rgba(122,77,240,.7); }
.phone .app .cta svg { width: 15px; height: 15px; }
.phone .app .cta.float { position: absolute; left: 11px; right: 11px; bottom: 66px; z-index: 3; }
.phone .app .cta.done { background: #0A7A50; box-shadow: 0 10px 22px -10px rgba(10,122,80,.6); }
.phone .app .card { background: #fff; border-radius: 18px; padding: 10px 12px; box-shadow: 0 6px 18px -12px rgba(20,16,60,.2); }
.phone .app .ct { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12.5px; padding-bottom: 6px; }
.phone .app .ct i { width: 26px; height: 26px; border-radius: 9px; background: #EEE8FF; color: #7A4DF0; display: grid; place-items: center; }
.phone .app .ct i svg { width: 13px; height: 13px; }
.phone .app .ct em { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 600; color: #7A4DF0; background: #EEE8FF; padding: 2px 8px; border-radius: 8px; }
.phone .app .lr { padding: 7px 0; border-top: 1px solid #EEEDF4; }
.phone .app .lr b { display: block; font-weight: 600; font-size: 12px; }
.phone .app .lr span { display: block; font-size: 10.5px; color: #4A4F6F; margin-top: 1px; }
.phone .app .lr.red span { color: #C0392B; }
.phone .app .kv { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid #EEEDF4; font-size: 11px; }
.phone .app .kv b { font-weight: 400; color: #6B6F8A; } .phone .app .kv span { font-weight: 600; text-align: right; }
.phone .app .stg { display: flex; justify-content: space-between; font-size: 11.5px; }
.phone .app .stg b { color: #7A4DF0; font-weight: 700; } .phone .app .stg span { color: #6B6F8A; }
.phone .app .bars6 { display: flex; gap: 3px; margin: 7px 0; }
.phone .app .bars6 i { flex: 1; height: 4px; border-radius: 2px; background: #E6E4F0; }
.phone .app .bars6 i.on { background: #7A4DF0; }
.phone .app .alert { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: #C0392B; }
.phone .app .alert svg { width: 12px; height: 12px; }
.phone .app .voi { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; }
.phone .app .voi .carimg { width: 46px; height: 34px; border-radius: 10px; background: #F4F2FA; display: grid; place-items: center; color: #6B6F8A; }
.phone .app .voi .carimg svg { width: 20px; height: 20px; }
.phone .app .voi small { display: block; font-size: 9px; letter-spacing: .08em; color: #6B6F8A; font-weight: 600; }
.phone .app .voi b { font-size: 13px; font-weight: 700; }
.phone .app .pills { display: flex; gap: 6px; }
.phone .app .pills span { height: 30px; padding: 0 12px; border-radius: 15px; background: #fff; display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; color: #3A3F63; }
.phone .app .pills span.on { background: #15172B; color: #fff; }
.phone .app .views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.phone .app .vw { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; background: #F4F2FA; display: grid; place-items: center; align-content: center; gap: 2px; font-size: 9.5px; color: #4A4F6F; }
.phone .app .vw svg { width: 16px; height: 16px; color: #8A8FAA; }
.phone .app .vw i { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #0ACF83; color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.5); }
.phone .app .vw i svg { width: 8px; height: 8px; color: #fff; }
.phone .app .vw.done { background: #E0F8EE; }
.phone .app .sig { width: 100%; height: 60px; border-radius: 10px; background: #FAFAFC; box-shadow: inset 0 0 0 1px #EEEDF4; }
.phone .app .sig path { fill: none; stroke: #15172B; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.phone .app .tab { margin: auto -11px 0; background: #fff; height: 58px; border-top: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -6px 18px -12px rgba(20,16,60,.2); padding: 0 6px; }
.phone .app .tab span { padding: 5px 10px; border-radius: 14px; }
.phone .app .tab span.on { background: #15172B; color: #fff; display: inline-flex; flex-direction: row; gap: 6px; align-items: center; font-size: 11px; }
.phone .app .tab span.on svg { width: 14px; height: 14px; }
.phone .app .notif { position: absolute; left: 10px; right: 10px; top: 8px; z-index: 5; display: flex; gap: 9px; align-items: center; padding: 9px 11px; border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 14px 30px -14px rgba(20,16,60,.45), 0 0 0 1px rgba(20,16,60,.06); font-size: 10.5px; opacity: 0; transform: translateY(-120%); }
.phone .app .notif .ni { width: 30px; height: 30px; border-radius: 9px; background: #F4F2FA; display: grid; place-items: center; }
.phone .app .notif b { display: block; font-size: 10px; color: #6B6F8A; font-weight: 500; } .phone .app .notif span { display: block; font-weight: 600; color: #15172B; }
.phone .app .sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; background: #fff; border-radius: 24px 24px 0 0; padding: 12px 14px 18px; box-shadow: 0 -20px 40px -20px rgba(20,16,60,.5); transform: translateY(105%); }
.phone .app .sheet .sh { display: flex; justify-content: center; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.phone .app .sheet .sh::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 4px; border-radius: 2px; background: #E6E4F0; transform: translateX(-50%); }
.phone .app .sheet .opt { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px; border-top: 1px solid #EEEDF4; font-size: 12px; font-weight: 600; }
.phone .app .sheet .opt i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #D4D1E3; }
.phone .app .sheet .opt.sel i { background: #7A4DF0; box-shadow: inset 0 0 0 4px #fff, 0 0 0 1.5px #7A4DF0; }
.phone .app .ptoast { position: absolute; left: 12px; right: 12px; bottom: 70px; z-index: 7; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #15172B; color: #fff; font-size: 11px; font-weight: 500; box-shadow: 0 14px 30px -12px rgba(20,16,60,.6); opacity: 0; transform: translateY(12px); }
.phone .app .ptoast svg { width: 14px; height: 14px; color: #0ACF83; flex: none; }
@media (prefers-reduced-motion: reduce) { .phone .app .notif, .phone .app .ptoast { opacity: 1; transform: none; } .phone .app .sheet { display: none; } .phone .app .vw i { opacity: 1; transform: none; } }
.phone .app .ptoast { bottom: 118px; }
.phone .app .pills span { font-size: 10.5px; padding: 0 10px; white-space: nowrap; }

/* ---------- v13.8: phone polish ---------- */
.phones .cap { text-align: center; }
.phone .scr.app { gap: 8px; }
.phone .scr.app > * { flex-shrink: 0; }
.phone .app .card { padding: 9px 11px; }
.phone .app .vw { aspect-ratio: 5 / 3; }
.phone .app .cta { height: 40px; min-height: 40px; }
.phone .app .tab { display: flex; justify-content: space-around; align-items: center; padding: 0 8px; }
.phone .app .tab span { white-space: nowrap; font-size: 9.5px; padding: 4px 8px; }
.phone .app .tab span.on { font-size: 10.5px; padding: 6px 11px; }
.phone .app .pills span { font-size: 10.5px; padding: 0 10px; white-space: nowrap; }
.phone .app .notif { top: 44px; }
/* glass reflection sweeping the screen */
.phone .scr::after { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.22) 50%, transparent 58%); transform: translateX(-70%); pointer-events: none; z-index: 20; animation: sweep 9s ease-in-out infinite; }
.phone:nth-of-type(1) .scr::after { animation-delay: 1s; }
@keyframes sweep { 0%, 72% { transform: translateX(-70%); } 100% { transform: translateX(70%); } }
/* second screen that slides over the first phone */
.phone .scr2 { position: absolute; inset: 0; z-index: 8; background: #F4F2FA; display: flex; flex-direction: column; gap: 8px; padding: 0 11px; transform: translateX(104%); box-shadow: -20px 0 40px -20px rgba(20,16,60,.4); }
.phone .scr2 .sb { height: 38px; margin: 0 -11px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 600; }
.phone .scr2 .sb i { width: 62px; height: 18px; background: #0E1330; border-radius: 12px; }
.phone .scr2 .apt { font-weight: 600; font-size: 12px; margin-top: 2px; }
.phone .scr2 .apm { font-size: 10.5px; color: #4A4F6F; margin-top: 3px; line-height: 1.4; }
.phone .scr2 .apb { display: flex; gap: 8px; margin-top: 10px; }
.phone .scr2 .apb span { flex: 1; height: 34px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 600; box-shadow: inset 0 0 0 1px #E6E4F0; }
.phone .scr2 .apb span.ok { background: #7A4DF0; color: #fff; box-shadow: none; }
.phone .scr2 .apb span.ok.done { background: #0A7A50; }
.phone .scr2 .ptoast { bottom: 24px; }
@media (prefers-reduced-motion: reduce) { .phone .scr::after { animation: none; } .phone .scr2 { display: none; } }
.hero13 .cta-row { justify-content: center; }
.hero13 .eyebrow-link { margin-inline: auto; }

/* ---------- LCP: hero lede + CTA enter with CSS only, from first paint (no .rv) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .hero13 .copy > .lede, .hero13 .copy > .cta-row { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) both; }
  .hero13 .copy > .lede { animation-delay: .35s; }
  .hero13 .copy > .cta-row { animation-delay: .45s; }
}

/* ---------- 2026-10-06 SEO blocks: chapter note (signature) and guide links under each module list ---------- */
.chap .chap-note { padding: clamp(18px, 2.5vw, 26px) clamp(20px, 4vw, 44px); border-top: 1px solid var(--hair); }
.chap .chap-note h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.chap .chap-note p { margin: 0; font-size: 14px; color: var(--ink-soft); max-width: 70ch; line-height: 1.5; }
.chap .chap-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.also .also-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.seo-def .pill + h2 { margin-top: 18px; }
.seo-def .lede { max-width: 72ch; margin-top: 18px; }
.seo-def .lede + .lede { margin-top: 12px; }
.gloss dt a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.gloss dt a:hover { text-decoration-color: var(--ink); }

/* ---------- polish 2026-10-06: layout balance, mobile overflow, French typography support ---------- */
/* integrations strip: 8 systems → 2 rows of 4 (the 5-column grid left a half-empty second row) */
.logos { grid-template-columns: repeat(4, 1fr); }
.logos > div:nth-child(5n) { border-right: 1px solid var(--hair); }
.logos > div:nth-child(4n) { border-right: 0; }
.logos > div:nth-last-child(-n+5) { border-bottom: 1px solid var(--hair); }
.logos > div:nth-last-child(-n+4) { border-bottom: 0; }
@media (max-width: 760px) {
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos > div { font-size: 13.5px; gap: 6px; padding-inline: 8px; min-width: 0; }
  .logos > div:nth-child(4n) { border-right: 1px solid var(--hair); }
  .logos > div:nth-child(2n) { border-right: 0; }
  .logos > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--hair); }
  .logos > div:nth-last-child(-n+2) { border-bottom: 0; }
}
/* chapter nav: "Facturer et encaisser" used to wrap on two lines */
@media (min-width: 1024px) { .chap-nav { padding-inline: 24px 20px; } }
/* chapter minis: a grid item never widens past the sheet (the sequence row overflowed by 12px on phones) */
.chap .mini { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .chap .mini { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.chap .mini > div { min-width: 0; }
@media (max-width: 760px) { .chap .mini .steps { flex-wrap: wrap; row-gap: 6px; } }
/* import-IA rows: the status column fits its label ("à confirmer" wrapped on two lines) */
.ui .hbars .r { grid-template-columns: 110px 1fr auto; }
.ui .hbars .r b { white-space: nowrap; }
/* AI capabilities: 7 domains of uneven length flow into balanced columns instead of a 3×3 grid with holes */
@media (min-width: 760px) {
  .ai-grid { display: block; columns: 2; column-gap: 0; column-rule: 1px solid var(--ink-line); }
  .ai-grid > div { break-inside: avoid; border-right: 0 !important; }
}
@media (min-width: 1024px) { .ai-grid { columns: 3; } }
/* closing: the CTA pair sits under the centred title, like the hero */
.closing .cta-row { justify-content: center; }
/* hero console: hangs off the stage's left edge, but never off the screen (it was cut at 1440px) */
@media (max-width: 1680px) { .hero13 .float.console { transform: translateX(-18%); } }
