/* SentraSolutions mockup 2 ("2099"). Loaded after ../ss.css and re-points its tokens.
   Layout concept: one continuous dark field. The page is a control surface for a business:
   a live network up top, a guide docked in the corner, sections that assemble as you scroll. */
:root {
  color-scheme: dark;
  --surface: #050a18;
  --tint: rgba(111, 155, 255, .035);
  --ink: #eef3ff;
  --ink-2: #d3ddf5;
  --body: #a3b4d8;
  --muted: #8597bf;
  --line: rgba(140, 170, 255, .16);
  --brand-solid: #305CDE;
  --brand: #7ea6ff;
  --brand-deep: #c3d3ff;
  --brand-wash: rgba(111, 155, 255, .13);
  --aqua-deep: #39e0d2;
  --aqua-wash: rgba(47, 211, 197, .11);
  --violet: #b9a4ff;
  --amber: #f6bb5b;
  --amber-wash: rgba(246, 187, 91, .12);
  --card: rgba(255, 255, 255, .035);
  --panel: rgba(8, 15, 34, .82);
  --accent-text: #8fb1ff;
  --font-display: "Unbounded", "Sora", "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --shadow-sm: 0 0 0 1px rgba(140, 170, 255, .04);
  --shadow-md: 0 24px 60px -30px rgba(0, 0, 0, .8);
}
body {
  background: var(--surface);
  background-image:
    radial-gradient(70% 50% at 80% 0%, rgba(48, 92, 222, .28), transparent 70%),
    linear-gradient(rgba(111, 155, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 155, 255, .045) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  background-attachment: fixed;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#fx-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.fx-progress { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 2px; z-index: 70; pointer-events: none; }
.fx-progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand-solid), var(--aqua)); box-shadow: 0 0 12px var(--aqua); }
.fx-sweep { position: fixed; left: 0; right: 0; top: 0; height: 30vh; z-index: 65; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(47, 211, 197, .16) 80%, rgba(47, 211, 197, .7) 99%, transparent); }
.fx-sweep.run { animation: sweep .9s cubic-bezier(.3, 0, .2, 1); }
@keyframes sweep { 0% { transform: translateY(-30vh); opacity: 1; } 100% { transform: translateY(100vh); opacity: 0; } }

/* ---------- type: Unbounded runs wide, so sizes come down ---------- */
.hero h1 { font-size: clamp(31px, 4.2vw, 54px); font-weight: 600; letter-spacing: -1.4px; line-height: 1.08; }
.hero--page h1 { font-size: clamp(27px, 3.4vw, 44px); letter-spacing: -1.1px; max-width: 20ch; }
.section-head h2 { font-size: clamp(23px, 2.6vw, 33px); font-weight: 500; letter-spacing: -.8px; line-height: 1.18; }
.cta-band h2 { font-size: clamp(25px, 3.1vw, 39px); font-weight: 500; letter-spacing: -1px; }
.card h3, .step h3, .tl-body h3 { font-size: 15.5px; font-weight: 500; letter-spacing: -.2px; line-height: 1.35; }
.pillar h3 { font-size: 17px; }
.faq summary { font-size: 14.5px; font-weight: 500; }
.quote-card .big { font-size: clamp(17px, 1.8vw, 21px); font-weight: 500; line-height: 1.45; }
.contact-side h2 { font-size: 21px; }
.prose h2 { font-size: clamp(22px, 2.5vw, 31px); }
.wordmark { font-size: 16px; font-weight: 600; }
.tree-root, .tree-kid strong, .day-head strong, .ba-col h3, .outcome h3 { font-size: 14px; font-weight: 500; }
.est-big { font-size: clamp(30px, 3.8vw, 46px); font-weight: 600; }
.eyebrow { font-size: 11.5px; }

/* ---------- surfaces re-pointed for a dark field ---------- */
.night { background: radial-gradient(90% 80% at 85% 0%, rgba(48, 92, 222, .26) 0%, transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(47, 211, 197, .1) 0%, transparent 60%); }
.site-header { background: rgba(5, 10, 24, .78); }
.site-footer { background: rgba(3, 7, 18, .9); border-top: 1px solid var(--line); }
.btn--primary, .nav a.btn--primary { color: #fff; background: linear-gradient(135deg, var(--brand-solid) 0%, #3f7fe6 55%, #2bbfd0 125%); box-shadow: 0 0 0 1px rgba(143, 177, 255, .35), 0 12px 34px -12px rgba(63, 127, 230, .9); }
.btn--ghost { background: rgba(255, 255, 255, .05); }
.card { position: relative; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform-style: preserve-3d; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(111, 155, 255, .2), transparent 70%); }
.card:hover::before { opacity: 1; }
.card--lift:hover { border-color: rgba(47, 211, 197, .5); box-shadow: 0 0 0 1px rgba(47, 211, 197, .12), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.estimator, .faq details, .ind-pill, .connects span, .ba-col, .form, .filter, .contact-wrap { background: var(--card); }
.outcomes .grid { background: var(--panel); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ba-col--after { background: linear-gradient(180deg, var(--aqua-wash), transparent 60%); }
.chip--customers { background: rgba(185, 164, 255, .14); color: var(--violet); }
.filter[aria-pressed="true"] { background: linear-gradient(120deg, #8fb1ff, var(--aqua)); border-color: transparent; color: #04101f; }
.placeholder { border-color: rgba(140, 170, 255, .3); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 12px, rgba(255, 255, 255, .045) 12px 24px); }
.tl-body .does { color: #bff5ef; }
.flow li::before { background: var(--surface); border-color: #5a6c94; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { background: rgba(255, 255, 255, .04); border-color: var(--line); }
.form select option { background: #0b142c; color: var(--ink); }
.sol-card--voice { background: linear-gradient(160deg, rgba(48, 92, 222, .32), rgba(47, 211, 197, .08)); border-color: rgba(143, 177, 255, .35); }
.ind-pill:hover { border-color: var(--aqua); color: var(--aqua); }

/* ---------- hero with live network ---------- */
.hero--fx { padding-block: clamp(40px, 5vw, 72px) clamp(72px, 8vw, 110px); }
.hero--fx .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.net-wrap { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin-inline: auto; }
.net-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-wrap::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(143, 177, 255, .18); animation: spin 60s linear infinite; }
.net-tag { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@keyframes spin { to { transform: rotate(360deg); } }
.cfg { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--aqua); margin-top: 18px; min-height: 1.6em; }
.cfg::before { content: "> "; opacity: .6; }

/* ---------- the guide dock ---------- */
.agent { position: fixed; z-index: 55; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: flex-end; gap: 10px; flex-direction: row-reverse; max-width: min(400px, calc(100vw - 36px)); }
.agent-orb { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(143, 177, 255, .4); background: #081230; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 24px -4px rgba(47, 211, 197, .7); }
.agent-orb i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9fffb, var(--aqua) 40%, var(--brand-solid) 100%); animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.82); box-shadow: 0 0 0 0 rgba(47, 211, 197, .5); } 50% { transform: scale(1); box-shadow: 0 0 0 9px rgba(47, 211, 197, 0); } }
.agent-body { min-width: 0; flex: 1; background: var(--panel); border: 1px solid rgba(143, 177, 255, .28); border-radius: 16px; padding: 12px 14px; display: grid; gap: 9px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 70px -30px #000; }
.agent.is-closed .agent-body { display: none; }
.agent-top { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.agent-top strong { color: var(--ink); font-weight: 500; }
.agent-top span { color: var(--aqua); }
.agent-top em { margin-left: auto; font-style: normal; border: 1px solid var(--line); border-radius: 999px; padding: 2px 7px; letter-spacing: .08em; }
.agent-line { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.5; color: var(--ink-2); min-height: 3em; }
.agent-line::after { content: "▍"; color: var(--aqua); animation: blink 1s steps(2) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.agent-live { display: grid; gap: 9px; }
.agent-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.agent-chips button { font: 500 12px var(--font-body); color: var(--ink-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.agent-chips button:hover, .agent-chips button[aria-pressed="true"] { border-color: var(--aqua); color: var(--aqua); }
.agent-cmd { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 4px 4px 4px 10px; font-family: var(--font-mono); color: var(--aqua); }
.agent-cmd input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 400 12.5px var(--font-mono); padding: 6px 0; }
.agent-cmd:focus-within { border-color: var(--aqua); }
.agent-cmd button { font: 600 12px var(--font-body); color: #04101f; background: var(--aqua); border: 0; border-radius: 7px; padding: 7px 11px; cursor: pointer; }
.agent-home { font-size: 12.5px; display: none; }
.agent--lite .agent-live { display: none; }
/* once the visitor scrolls on, the dock shrinks to its narration; hover or focus brings the controls back */
.agent--mini:not(:hover):not(:focus-within) .agent-live { display: none; }
.agent--lite .agent-home { display: block; }

/* ---------- workflow that assembles on scroll ---------- */
.asm { position: relative; }
.fx .asm { height: 280vh; }
.asm-stage { padding-block: 56px; display: grid; align-content: center; gap: 36px; }
.fx .asm-stage { position: sticky; top: 64px; height: calc(100vh - 64px); padding-block: 24px; overflow: hidden; }
.asm-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.asm-head .section-head { margin: 0; }
.asm-cap { font-family: var(--font-mono); font-size: 12.5px; color: var(--aqua); letter-spacing: .04em; }
.asm-track { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.asm-line { position: absolute; left: 8.33%; right: 8.33%; top: 23px; height: 2px; background: rgba(140, 170, 255, .14); }
.asm-line i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 1)); background: linear-gradient(90deg, var(--brand), var(--aqua)); box-shadow: 0 0 14px var(--aqua); transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.asm-line b { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 3px var(--aqua); opacity: 0; }
.asm.done .asm-line b { animation: packet 2.4s linear infinite; }
.asm.done .asm-line b + b { animation-delay: .8s; }
.asm.done .asm-line b + b + b { animation-delay: 1.6s; }
@keyframes packet { 0% { left: 0; opacity: 0; } 8%, 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.asm-node { display: grid; justify-items: center; gap: 12px; text-align: center; position: relative; transition: opacity .5s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }
.asm-node .dot { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #0a1634; border: 1px solid rgba(143, 177, 255, .3); color: var(--brand); position: relative; z-index: 1; transition: box-shadow .5s ease, border-color .5s ease, color .5s ease; }
.asm-node b { font-family: var(--font-display); font-weight: 500; font-size: 13px; color: var(--ink); line-height: 1.35; }
.asm-node small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.fx .asm-node:not(.on) { opacity: .22; transform: translateY(18px) scale(.94); }
.asm-node.on .dot { border-color: var(--aqua); color: var(--aqua); box-shadow: 0 0 0 5px rgba(47, 211, 197, .1), 0 0 30px -4px var(--aqua); }

/* ---------- agents at work ---------- */
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wall-tile { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); padding: 16px; display: grid; gap: 12px; align-content: start; min-width: 0; min-height: 232px; }
.wall-top { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.wall-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 10px var(--aqua); animation: blink 1.6s steps(2) infinite; }
.wall-top em { margin-left: auto; font-style: normal; color: var(--muted); }
.wall-log { display: grid; gap: 9px; }
.wall-log li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; font-size: 13px; line-height: 1.4; color: var(--ink-2); animation: logIn .5s ease; }
.wall-log time { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); padding-top: 1px; font-variant-numeric: tabular-nums; }
.wall-log li:first-child { color: #fff; }
.wall-log li:nth-child(n+3) { opacity: .55; }
@keyframes logIn { from { opacity: 0; transform: translateY(-8px); } }
.demo-note { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--muted); margin-top: 16px; }

/* ---------- solutions constellation ---------- */
.cosmos { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.cosmos-stage { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.cosmos-core, .cos-ring { display: none; }
.cos-node { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-2); font: 500 11.5px var(--font-body); text-align: left; }
.cos-dot { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #0a1634; border: 1px solid rgba(143, 177, 255, .35); color: var(--brand); transition: all .25s ease; }
.cos-dot svg.ic { width: 15px; height: 15px; }
.cos-node:hover .cos-dot, .cos-node[aria-pressed="true"] .cos-dot { border-color: var(--aqua); color: #04101f; background: var(--aqua); box-shadow: 0 0 24px -2px var(--aqua); }
.cos-node.hot .cos-dot { border-color: var(--aqua); color: var(--aqua); box-shadow: 0 0 0 4px rgba(47, 211, 197, .14), 0 0 22px -4px var(--aqua); }
.cos-node.hot .cos-label { color: var(--aqua); }
.cos-node.dim { opacity: .2; }
.cosmos.is-live .cosmos-stage { display: block; width: 100%; max-width: 640px; aspect-ratio: 1 / 1; margin-inline: auto; }
.cosmos.is-live .cos-node { position: absolute; left: 50%; top: 50%; margin: -17px 0 0 -17px; will-change: transform; }
.cosmos.is-live .cos-label { position: absolute; left: 50%; top: 38px; transform: translateX(-50%); width: 96px; text-align: center; line-height: 1.25; pointer-events: none; }
.cosmos.is-live .cos-ring { display: block; position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(143, 177, 255, .13); transform: translate(-50%, -50%); }
.cosmos.is-live .cos-ring:nth-child(1) { width: 44%; height: 44%; }
.cosmos.is-live .cos-ring:nth-child(2) { width: 70%; height: 70%; border-style: dashed; }
.cosmos.is-live .cos-ring:nth-child(3) { width: 94%; height: 94%; }
.cosmos.is-live .cosmos-core { display: grid; place-items: center; position: absolute; inset: 0; margin: auto; width: 21%; height: 21%; border-radius: 50%; text-align: center; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff; line-height: 1.4;
  background: radial-gradient(circle at 35% 30%, rgba(47, 211, 197, .55), rgba(48, 92, 222, .6) 55%, rgba(48, 92, 222, .12)); box-shadow: 0 0 60px -6px rgba(63, 127, 230, .9); animation: breathe 5s ease-in-out infinite; }
.cosmos-panel { border: 1px solid rgba(143, 177, 255, .28); border-radius: var(--r-md); background: var(--panel); padding: 22px; display: grid; gap: 12px; align-content: start; min-height: 250px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cosmos-panel .kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.cosmos-panel h3 { font-size: 18px; font-weight: 500; }
.cosmos-panel p { font-size: 14.5px; }
.cosmos-panel .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cosmos-panel .replaces { font-size: 13px; color: var(--muted); }
.cosmos-panel .replaces b { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-right: 6px; }

/* estimator split readout */
.est-split { display: grid; gap: 7px; }
.est-split .bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.est-split .bar i { display: block; width: 50%; transition: width .4s cubic-bezier(.22, 1, .36, 1); }
.est-split .bar i:first-child { background: var(--brand); }
.est-split .bar i:last-child { background: var(--aqua); }
.est-split .key { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--on-night-muted); }

/* scroll reveal: starts dimmed and offset, never fully hidden */
.fx-pre { opacity: .14; transform: translateY(26px); }
.fx-in { transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }

@media (max-width: 980px) {
  .hero--fx .hero-grid, .cosmos { grid-template-columns: minmax(0, 1fr); }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .net-wrap { max-width: 420px; }
}
@media (max-width: 700px) {
  .cosmos.is-live .cos-label { display: none; }
  .asm-track { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .asm-line { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
  .asm-line i { width: 100%; transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
  .asm-line b { display: none; }
  .asm-node { grid-template-columns: 48px minmax(0, 1fr); justify-items: start; text-align: left; align-items: center; column-gap: 14px; row-gap: 0; }
  .asm-node .dot { grid-row: span 2; }
  .asm-node b { align-self: end; }
  .asm-node small { align-self: start; }
  .asm-stage { gap: 18px; }
  .asm-head .section-head p { display: none; }
  .wall { grid-template-columns: minmax(0, 1fr); }
  .wall-tile { min-height: 0; }
  .agent { left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: none; }
  .site-footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .net-wrap::before, .agent-orb i, .cosmos.is-live .cosmos-core, .wall-top i, .agent-line::after { animation: none; }
  .fx .asm { height: auto; }
  .fx .asm-stage { position: static; height: auto; }
  .asm.done .asm-line b { animation: none; }
  .wall-log li { animation: none; }
}
