/* saas-web · the money and Kilele pages, on top of agentrix-ui's tokens and kit. Colours,
   fonts and radii come from the kit's custom properties only. */

.saas-nav { display: flex; gap: 18px; align-items: center; font-weight: 600; font-size: 15px; }
.saas-nav a { color: var(--ink-2); text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; }
.saas-nav a:hover, .saas-nav a[aria-current="page"] { color: var(--head); border-bottom-color: var(--coral); }
@media (max-width: 720px) { .saas-nav { display: none; } }

.hero { padding: 56px 0 32px; max-width: 860px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; color: var(--head); margin: 8px 0 16px; }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 720px; }
.hero .row { gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.section { margin: 48px 0; }
.section > h2, .section .spread h2 { font-family: var(--font-display); color: var(--head); }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.plan { display: flex; flex-direction: column; gap: 8px; }
.plan h3 { margin: 0; color: var(--head); }
.plan .price b { font-size: 34px; font-family: var(--font-display); color: var(--head); }
.plan .price { margin: 0; }
.plan ul.plain { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; }
.plan ul.plain li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan.featured { border-color: var(--indigo); box-shadow: var(--shadow-2); }

.desks .tabs { margin-bottom: 12px; }
.desks .tab[aria-selected="true"] { color: var(--head); border-bottom-color: var(--coral); }
.desk .thread { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; max-height: 420px; overflow-y: auto; }
.desk .thread li { padding: 10px 14px; border-radius: 14px; max-width: 80%; line-height: 1.5; }
.desk .thread li.me { justify-self: end; background: var(--indigo); color: var(--on-primary); border-bottom-right-radius: 4px; }
.desk .thread li.them { justify-self: start; background: var(--surface-2); color: var(--ink); border-bottom-left-radius: 4px; }
.desk .thread li.them .src { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.desk .thread li.them .src a { margin-right: 10px; }
.desk .thread li.them .next { display: inline-block; margin-top: 8px; }
.desk .thread li.wait { color: var(--muted); font-style: italic; background: transparent; }
.desk .starters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.desk .starters .chip { cursor: pointer; }
.desk .askline { display: flex; gap: 8px; }
.desk .askline input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font: inherit; background: var(--paper); color: var(--ink); }

.staff { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.staff .card { display: grid; gap: 8px; }

.os .grow { flex: 1; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 16px 0; }
.mandate .kv { margin: 10px 0; }
.mandate .progress { margin: 10px 0 4px; }
.staff-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.staff-list li p { margin: 2px 0 0 36px; }
.mono-dd dd { font-family: var(--font-mono); font-size: 14px; }

.passkey-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.passkey-line.ready { border-color: var(--ok); }
.segmented { display: inline-flex; gap: 0; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.segmented .seg { padding: 8px 16px; text-decoration: none; color: var(--ink-2); font-weight: 600; }
.segmented .seg.on { background: var(--indigo); color: var(--on-primary); }
.checklist li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.checklist { list-style: none; padding: 0; display: grid; gap: 6px; }
.sub-status.done { border-color: var(--ok); }
.sub-steps li.now { font-weight: 700; }
