/* OpsPilot site styles. Mobile-first. */
:root {
  --navy: #0a1630;
  --navy-2: #102349;
  --navy-3: #1a315f;
  --blue: #2563ff;
  --blue-soft: #e8efff;
  --lime: #b6f23a;
  --ink: #0a1630;
  --text: #435068;
  --muted: #5d6a82;
  --line: #e3e8f2;
  --tint: #f5f7fc;
  --white: #fff;
  --ok: #0f7a4a;
  --warn: #9a5b00;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 22, 48, .06), 0 8px 24px rgba(10, 22, 48, .06);
  --shadow-lg: 0 24px 60px rgba(4, 10, 28, .35);
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Consolas, Menlo, monospace;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; font-size: 1rem; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.section-navy :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.icon { flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .98rem; padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s; min-height: 48px; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-primary { background: linear-gradient(180deg, #3f78ff, #1f4fe0); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { background: linear-gradient(180deg, #4d84ff, #1b45cc); box-shadow: 0 6px 18px rgba(37, 99, 255, .35); }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: #c6f75c; box-shadow: 0 6px 20px rgba(182, 242, 58, .3); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: fixed; top: 10px; left: 0; right: 0; z-index: 50; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; padding: 0 8px 0 18px; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; box-shadow: 0 8px 30px rgba(4, 10, 28, .22); transition: box-shadow .2s; }
.site-header.is-scrolled .header-inner { box-shadow: 0 8px 30px rgba(4, 10, 28, .28), 0 0 0 1px var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark { font-size: 1.3rem; font-weight: 600; letter-spacing: -.03em; }
.wordmark b { font-weight: 800; color: var(--blue); }
.descriptor { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; font-weight: 600; }
.logo-dark { color: #fff; }
.logo-dark .wordmark b { color: #6f9bff; }
.logo-dark .descriptor { color: #a8b5d0; }
.menu-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: inline; }
.nav { position: absolute; inset: calc(100% + 8px) 0 auto 0; background: #fff; padding: 8px 18px 20px; border-radius: 24px; box-shadow: 0 20px 40px rgba(4, 10, 28, .28); display: none; flex-direction: column; gap: 16px; }
body.menu-open .nav { display: flex; }
.nav a:not(.btn) { display: block; padding: 14px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav a:not(.btn):hover { color: var(--blue); }
.nav .btn { width: 100%; }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav { position: static; inset: auto; display: flex; flex-direction: row; align-items: center; background: none; padding: 0; border: 0; box-shadow: none; gap: 28px; }
  .nav ul { display: flex; gap: 6px; }
  .nav a:not(.btn) { padding: 8px 12px; border: 0; border-radius: 8px; font-weight: 500; font-size: .95rem; }
  .nav a:not(.btn):hover { background: var(--tint); }
  .nav .btn { width: auto; padding: 10px 22px; min-height: 46px; }
}

/* Hero */
.hero { background: var(--navy); color: #c9d4ea; position: relative; overflow: hidden; padding: calc(var(--header-h) + 10px + clamp(40px, 7vw, 88px)) 0 clamp(64px, 9vw, 120px); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 10%, rgba(37, 99, 255, .28), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.hero h1 span { display: block; color: var(--lime); background: linear-gradient(90deg, #b6f23a 10%, #e9ffa6 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { margin: 22px 0 32px; font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 34em; color: #c9d4ea; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-size: .92rem; color: #b6c3de; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--lime); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1b45b8; background: var(--blue-soft); border: 1px solid #cfdcff; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.eyebrow-dark::before { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.eyebrow-dark { color: #bcd0ff; background: rgba(111, 155, 255, .14); border-color: rgba(111, 155, 255, .35); }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; } }
.hero-grid > * { min-width: 0; }
.dash-hero .hide-sm { display: none; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: #c9d4ea; }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; max-width: 38rem; }
.section h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.lead { margin-top: 18px; font-size: 1.1rem; color: var(--text); }

/* Problems */
.problem-list { display: grid; gap: 14px; }
.problem { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.problem-from { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.problem-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--navy); flex: none; }
.problem-arrow { color: var(--blue); display: none; }
.problem-to h3 { font-size: 1.08rem; letter-spacing: -.01em; color: var(--blue); }
.problem-to p { margin-top: 6px; font-size: .96rem; }
.problem-to { padding-left: 14px; border-left: 3px solid var(--lime); }
@media (min-width: 860px) {
  .problem { grid-template-columns: 1fr 40px 1.2fr; align-items: center; padding: 22px 28px; gap: 24px; }
  .problem-arrow { display: block; }
}

/* Cards */
.card-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card, .industry, .work-card, .engage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { padding: 26px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(10, 22, 48, .06), 0 16px 36px rgba(10, 22, 48, .1); }
.card h3 { font-size: 1.2rem; margin: 18px 0 8px; letter-spacing: -.015em; }
.card p { font-size: .98rem; }
.card-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; background: var(--navy); color: var(--lime); flex: none; }
.card-ico-blue { background: var(--blue-soft); color: var(--blue); }

/* Industries */
.industry-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
.industry { padding: 28px; }
.industry h3 { font-size: 1.4rem; margin: 18px 0 4px; }
.industry-sub { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.ticks .icon { color: var(--blue); margin-top: 3px; }

/* Work */
.work-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card { overflow: hidden; display: flex; flex-direction: column; }
.work-preview { position: relative; background: var(--navy); padding: 22px; }
.pv-bg { fill: #14274f; } .pv-card { fill: #1d3566; } .pv-busy { fill: #2d4f99; }
.pv-line { fill: #5b78b5; } .pv-accent { fill: var(--lime); }
.pv-rows circle, .pv-rows rect { fill: #4a68a8; } .pv-bars rect { fill: #4f86ff; }
.work-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.work-body h3 { font-size: 1.4rem; }
.status-pill { align-self: flex-start; font-size: .76rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.pill-dev { background: #fff1d6; color: #7a4a00; }
.pill-demo { background: #dff5e8; color: #0b6139; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags li { font-size: .78rem; font-weight: 600; color: var(--navy-3); background: var(--blue-soft); padding: 4px 11px; border-radius: 999px; }

/* Process */
.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step-num { font-weight: 800; font-size: 2.4rem; color: var(--blue); letter-spacing: -.04em; line-height: 1; }
.step-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue); color: #fff; }
.step h3 { font-size: 1.25rem; margin: 18px 0 8px; }
.step p { font-size: .96rem; }

/* About */
.about-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.principles { display: grid; gap: 14px; }
.principle { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.principle h3 { font-size: 1.1rem; margin-bottom: 4px; }
.principle p { font-size: .96rem; }

/* Engagement */
.engage-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .engage-grid { grid-template-columns: repeat(3, 1fr); } }
.engage { padding: 28px; }
.engage-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--lime); font-weight: 800; }
.engage h3 { font-size: 1.25rem; margin: 16px 0 8px; }
.agreement-note { display: flex; gap: 12px; align-items: center; margin-top: 24px; padding: 18px 22px; border-radius: var(--radius); background: var(--blue-soft); color: var(--navy); font-weight: 600; }
.agreement-note .icon { color: var(--blue); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.08rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue); transition: transform .2s; }
.faq[open] summary .icon { transform: rotate(45deg); }
.faq p { padding: 0 4px 22px; max-width: 42rem; }

/* Contact */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.section-navy h2 { color: #fff; }
.section-navy .lead { color: #c9d4ea; }
.lead-dark { color: #c9d4ea; }
.contact-person { margin-top: 32px; padding-left: 16px; border-left: 3px solid var(--lime); display: grid; gap: 2px; }
.contact-person span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #8fa3cc; font-weight: 700; }
.contact-person strong { color: #fff; font-size: 1.2rem; }
.form { background: #fff; border-radius: 18px; padding: clamp(20px, 4vw, 32px); display: grid; gap: 16px; box-shadow: var(--shadow-lg); color: var(--text); }
.form-notice { display: flex; gap: 10px; align-items: flex-start; background: #fff6d6; border: 1px solid #f0d98a; color: #5c4000; border-radius: 10px; padding: 12px 14px; font-size: .9rem; }
.form-notice .icon { margin-top: 2px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 600; font-size: .9rem; color: var(--ink); }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #c5cee0; border-radius: 10px; padding: 12px 14px; width: 100%; min-height: 48px; }
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #8d9bb8; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
[aria-invalid="true"] { border-color: #c0261d; background: #fff5f4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-status { font-weight: 600; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status[data-kind="error"] { color: #b3261e; }
.form-status[data-kind="success"] { color: var(--ok); }
.form-status[data-kind="info"] { color: var(--muted); }

/* Footer */
.site-footer { background: #060e22; color: #a8b5d0; padding: 40px 0; }
.footer-inner { display: grid; gap: 16px; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: auto 1fr; align-items: center; } .footer-small { grid-column: 1 / -1; } .footer-tag { text-align: right; } }
.footer-tag { color: #fff; font-weight: 600; }
.footer-small { font-size: .82rem; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 16px; }

/* Reveal animation (only when JS is available) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) { .ch-axis { font-size: 14px; } }

/* Hero extras: floating badges + facts */
.hero-visual { position: relative; }
.float-badge { position: absolute; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--navy-2); border: 1px solid rgba(143, 176, 255, .35); color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .4); max-width: 250px; }
.float-badge .icon { color: var(--lime); }
.float-badge strong { display: block; font-size: .82rem; line-height: 1.25; }
.float-badge span { display: block; font-size: .72rem; color: #b6c3de; line-height: 1.3; }
.fb-top { top: -54px; right: 10px; }
@media (max-width: 979px) { .hero-visual { margin-top: 48px; } }
.fb-bottom { bottom: -22px; left: 10px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.facts dt { font-size: 2rem; font-weight: 800; color: #6f9bff; letter-spacing: -.03em; line-height: 1; }
.facts dd { margin: 6px 0 0; font-size: .82rem; color: #a8b5d0; }
@media (min-width: 520px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* Capability ticker */
.ticker { background: #081125; color: #c9d4ea; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0 26px; overflow: hidden; }
.ticker-label { text-align: center; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #8fa3cc; margin-bottom: 16px; font-weight: 600; }
.ticker-viewport { display: flex; width: max-content; animation: ticker 70s linear infinite; mask-image: none; }
.ticker:hover .ticker-viewport { animation-play-state: paused; }
.ticker-track { display: flex; flex: none; gap: 12px; padding-right: 12px; }
.ticker-track li { white-space: nowrap; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(143, 176, 255, .22); background: rgba(255, 255, 255, .04); font-size: .9rem; font-weight: 500; }
/* 4 identical tracks: shifting by one track (25%) loops seamlessly while the viewport is under 3 track-widths */
@keyframes ticker { to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-viewport { width: auto; flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .ticker-track[aria-hidden="true"] { display: none; }
  .ticker-track { flex-wrap: wrap; justify-content: center; padding: 0; }
}

/* Card link */
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .92rem; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* Project preview window frame */
.win-bar { display: flex; align-items: center; gap: 7px; margin: -22px -22px 18px; padding: 12px 16px; background: #0e1d3d; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b5e; }
.win-bar i:nth-child(2) { background: #ffc43d; } .win-bar i:nth-child(3) { background: #3ed16b; }
.win-bar span { margin-left: 10px; flex: 1; max-width: 240px; text-align: center; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #b6c8ee; background: rgba(255, 255, 255, .07); border-radius: 999px; padding: 4px 12px; }

/* Process step header */
.step-top { display: flex; justify-content: space-between; align-items: center; }

/* Scope builder */
.scope { display: grid; gap: 22px; align-items: start; }
@media (min-width: 960px) { .scope { grid-template-columns: 1.5fr 1fr; gap: 28px; } .scope-summary { position: sticky; top: 96px; } }
.scope-main { display: grid; gap: 28px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.scope-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.scope-group legend { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 0; margin-bottom: 14px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.scope-group legend small { font-weight: 500; font-size: .82rem; color: var(--muted); }
.scope-n { color: var(--blue); font-weight: 800; }
.choice-grid { display: grid; gap: 10px; }
.choice-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .choice-4 { grid-template-columns: repeat(4, 1fr); } .choice-2 { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-box { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border: 1.5px solid #c5cee0; border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.choice-box strong { font-size: .95rem; line-height: 1.3; }
.choice-box small { font-size: .78rem; color: var(--muted); }
.choice-row { flex-direction: row; align-items: center; gap: 12px; font-size: .95rem; }
.choice-row .icon { color: var(--muted); }
.choice:hover .choice-box { border-color: #8d9bb8; }
.choice input:checked + .choice-box { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:checked + .choice-box .icon { color: var(--blue); }
.choice input:focus-visible + .choice-box { outline: 3px solid var(--blue); outline-offset: 2px; }
.scope-summary { background: var(--navy); color: #c9d4ea; border-radius: 18px; padding: clamp(22px, 3vw, 30px); display: grid; gap: 14px; box-shadow: var(--shadow); }
.scope-summary h3 { color: #fff; font-size: 1.3rem; }
.scope-type-line { color: var(--lime); font-weight: 700; font-size: .9rem; margin-top: -8px; }
.scope-list { display: grid; gap: 8px; }
.scope-list:empty::before { content: "No modules selected yet."; color: #8fa3cc; font-size: .92rem; }
.scope-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #fff; }
.scope-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--lime); }
.scope-count { font-size: .86rem; color: #a8b5d0; }
.scope-count:empty { display: none; }
.scope-pricing { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 14px; font-size: .86rem; display: grid; gap: 8px; }
.scope-pricing strong { color: #fff; }
.scope-pricing ul { display: grid; gap: 4px; padding-left: 18px; list-style: disc; }
.scope-summary .btn { width: 100%; }
.scope-summary .btn:disabled { background: #2a3d66; color: #8fa3cc; border-color: transparent; cursor: not-allowed; transform: none; box-shadow: none; }
.scope-hint { font-size: .84rem; color: #a8b5d0; text-align: center; }
.noscript-note { text-align: center; padding: 12px; background: var(--tint); border-radius: 10px; margin-bottom: 20px; }

/* ---------- Premium / tech layer ---------- */
html { color-scheme: light; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 100%; transform: scaleX(var(--p, 0)); transform-origin: left; background: linear-gradient(90deg, var(--blue), var(--lime)); box-shadow: 0 0 10px rgba(37, 99, 255, .7); }

/* faint technical grid on tinted sections */
.section-tint { background-image: radial-gradient(rgba(10, 22, 48, .08) 1px, transparent 1px); background-size: 22px 22px; }

/* cursor spotlight on cards */
[data-spot] { position: relative; }
[data-spot]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 255, .11), transparent 70%); }
[data-spot]:hover::before { opacity: 1; }
.card:hover, .industry:hover, .engage:hover, .step:hover { border-color: rgba(37, 99, 255, .4); }

/* solutions: bento layout */
.card-idx { position: absolute; top: 20px; right: 22px; font-family: var(--mono); font-size: .72rem; color: #a3afc8; letter-spacing: .08em; }
.card-ico { box-shadow: 0 0 0 1px rgba(182, 242, 58, .28), 0 8px 22px rgba(10, 22, 48, .28); }
@media (min-width: 1000px) {
  .card-grid.bento { grid-template-columns: repeat(4, 1fr); }
  .bento .b0, .bento .b5 { grid-column: span 2; }
  .bento .b6 { grid-column: span 4; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 24px; align-items: center; background: linear-gradient(110deg, var(--navy), var(--navy-3)); border-color: var(--navy-3); }
  .bento .b6 h3 { color: #fff; margin: 0; } .bento .b6 p { color: #c9d4ea; }
  .bento .b6 .card-link { color: var(--lime); margin: 0; } .bento .b6 .card-idx { color: #8fa3cc; }
  .bento .b6 .card-ico { background: rgba(255, 255, 255, .08); }
  .bento .b6 .b6-copy { display: grid; gap: 6px; }
}

/* Dashboard showcase band */
.dash-section { position: relative; overflow: hidden; background: radial-gradient(70% 60% at 50% 0%, #15306a 0%, var(--navy) 62%); color: #c9d4ea; }
.dash-section::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(143, 176, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 176, 255, .06) 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent); pointer-events: none; }
.dash-section .container { position: relative; }
.dash-stage { position: relative; }
.dash-stage::before { content: ""; position: absolute; inset: 8% 4% -6%; background: radial-gradient(50% 50% at 50% 50%, rgba(61, 123, 255, .35), transparent 70%); filter: blur(40px); z-index: 0; pointer-events: none; }
.dash-stage > .app { z-index: 1; }
.dash-foot { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 26px; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #9fb0d3; }
.dash-foot span::before { content: "// "; color: var(--lime); }

/* Hero: orbit rings (brand's guidance motif) + 3D tilt */
.hero::before { background: radial-gradient(55% 60% at 88% 8%, rgba(37, 99, 255, .38), transparent 70%), radial-gradient(40% 45% at 5% 95%, rgba(182, 242, 58, .08), transparent 70%); }
.orbit { position: absolute; inset: -8% -10%; z-index: 0; pointer-events: none; }
.orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(143, 176, 255, .25); animation: spin 90s linear infinite; }
.orbit i:nth-child(2) { inset: 12%; border-style: solid; border-color: rgba(143, 176, 255, .12); animation-duration: 140s; animation-direction: reverse; }
.orbit i::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px 4px rgba(182, 242, 58, .55); }
.orbit i:nth-child(2)::after { background: #6f9bff; box-shadow: 0 0 14px 3px rgba(111, 155, 255, .6); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual > .app, .hero-visual > .float-badge { position: relative; z-index: 1; }
.hero-visual > .float-badge { position: absolute; z-index: 2; }
@media (min-width: 980px) {
  .hero-visual { perspective: 1800px; }
  .app-hero { transform: rotateY(-9deg) rotateX(3deg) rotateZ(.4deg); transform-origin: 60% 50%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
  .hero-visual:hover .app-hero { transform: rotateY(-2deg) rotateX(1deg); }
}

/* Contact: tech backdrop */
.section-navy { position: relative; overflow: hidden; }
.section-navy::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 0%, rgba(37, 99, 255, .3), transparent 70%), linear-gradient(rgba(143, 176, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 176, 255, .05) 1px, transparent 1px); background-size: auto, 52px 52px, 52px 52px; mask-image: linear-gradient(to bottom, #000, transparent 90%); pointer-events: none; }
.section-navy > .container { position: relative; }
.site-footer { background-image: linear-gradient(rgba(143, 176, 255, .04) 1px, transparent 1px); background-size: 100% 40px; }
.step-ico { box-shadow: 0 0 0 6px var(--blue-soft); }

@media (prefers-reduced-motion: reduce) { .orbit i { animation: none !important; } .app-hero { transition: none; transform: none !important; } }

.dash-section h2 { color: #fff; }
.dash-section .lead { color: #c9d4ea; }

/* Work: concept prototypes */
.pill-concept { background: var(--blue-soft); color: #1b45b8; }
.work-group-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 8px 0 18px; font-size: .78rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.work-group-h::after { content: ""; flex: 1 1 60px; height: 1px; background: var(--line); order: 3; }
.work-group-h small { font-size: .72rem; letter-spacing: .04em; text-transform: none; font-weight: 500; }
.work-grid + .work-group-h { margin-top: 44px; }
@media (min-width: 900px) { .work-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .work-grid-3 { grid-template-columns: repeat(2, 1fr); } }
.work-concept .work-preview { padding: 16px; }
.work-concept .win-bar { margin: -16px -16px 14px; }
.work-concept .work-body { padding: 20px; gap: 10px; }
.work-concept .work-body h3 { font-size: 1.15rem; }
.work-concept .work-body p { font-size: .94rem; }
.work-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; padding: 22px 26px; border-radius: var(--radius); background: linear-gradient(110deg, var(--navy), var(--navy-3)); color: #c9d4ea; }
.work-cta strong { display: block; color: #fff; font-size: 1.1rem; }
.work-cta span { font-size: .95rem; }

/* Project previews: readable mini-interfaces with sample content */
.win-bar em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: #ffe6a3; background: rgba(255, 196, 61, .12); border: 1px solid rgba(255, 196, 61, .4); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.win-bar span { max-width: 190px; }
.pvx { display: grid; gap: 10px; padding: 14px; background: #0d1b3a; border: 1px solid rgba(143, 176, 255, .18); border-radius: 12px; color: #e6edff; font-size: .78rem; line-height: 1.35; text-align: left; }
.pvx-h { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-weight: 700; color: #fff; font-size: .84rem; }
.pvx-h small { font-weight: 500; color: #a5b4d6; font-size: .7rem; }
.pv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pv-stats-2 { grid-template-columns: repeat(2, 1fr); }
.pv-stat { background: #12234a; border: 1px solid rgba(143, 176, 255, .14); border-radius: 9px; padding: 8px 10px; min-width: 0; }
.pv-stat small { display: block; color: #a5b4d6; font-size: .66rem; }
.pv-stat b { display: block; color: #fff; font-size: .98rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
.pv-rows-t { display: grid; gap: 6px; }
.pv-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; background: #12234a; border-radius: 9px; }
.pv-row .l { min-width: 0; }
.pv-row strong { display: block; color: #fff; font-size: .78rem; }
.pv-row small { display: block; color: #a5b4d6; font-size: .68rem; }
.pvx .status { font-size: .64rem; padding: 2px 8px; flex: none; white-space: nowrap; }
.pv-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; align-items: start; }
.pv-bays { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.pv-bay { display: grid; gap: 5px; padding: 8px 10px; background: #12234a; border-radius: 9px; }
.pv-bay strong { color: #fff; font-size: .76rem; }
.pv-tab, .pv-sign { display: grid; gap: 6px; padding: 10px 12px; background: #12234a; border-radius: 9px; }
.pv-tab-h { font-weight: 700; color: #fff; font-size: .78rem; }
.pv-line { display: flex; justify-content: space-between; gap: 10px; color: #c9d4ea; font-size: .74rem; }
.pv-line b { color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.pv-total { border-top: 1px solid rgba(143, 176, 255, .2); padding-top: 6px; font-weight: 700; color: #fff; }
.pv-btn { text-align: center; background: var(--lime); color: var(--navy); font-weight: 700; border-radius: 8px; padding: 7px; font-size: .76rem; }
.pv-check { display: grid; gap: 7px; padding: 10px 12px; background: #12234a; border-radius: 9px; }
.pv-check li { display: flex; align-items: center; gap: 9px; font-size: .76rem; color: #c9d4ea; }
.pv-check .is-done { color: #fff; }
.pv-box { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #6b83b8; flex: none; position: relative; }
.is-done .pv-box { background: var(--lime); border-color: var(--lime); }
.is-done .pv-box::after { content: ""; position: absolute; left: 3.5px; top: 1px; width: 4px; height: 7px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pv-sign svg { width: 100%; height: 40px; }
.work-concept .pvx { padding: 12px; font-size: .74rem; }

/* Contact details */
.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--lime); margin-top: 3px; }
.contact-list span { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #8fa3cc; font-weight: 700; }
.contact-list a, .contact-list address, .contact-list p { color: #fff; font-size: 1.08rem; font-style: normal; font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.form-notice a { color: inherit; font-weight: 700; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .9rem; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
@media (min-width: 800px) { .footer-contact { grid-column: 1 / -1; } }

/* Solution cards: checklist + pinned link (reference-style service cards) */
.card { display: flex; flex-direction: column; }
.card .card-link { margin-top: auto; padding-top: 18px; }
.card [class*="-copy"] { display: block; }
.card-points { display: grid; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-points li { display: flex; gap: 9px; align-items: flex-start; font-size: .88rem; color: var(--ink); line-height: 1.4; }
.card-points .icon { color: var(--blue); margin-top: 2px; }
@media (min-width: 1000px) {
  .bento .b6 { display: grid; grid-template-columns: auto 1fr auto; }
  .bento .b6 .b6-copy { display: grid; gap: 6px; }
  .bento .b6 .card-points { grid-template-columns: repeat(3, 1fr); border-top-color: rgba(255, 255, 255, .15); gap: 12px 24px; }
  .bento .b6 .card-points li { color: #fff; }
  .bento .b6 .card-points .icon { color: var(--lime); }
  .bento .b6 .card-link { padding-top: 0; }
}

/* =====================================================================
   DARK PREMIUM THEME (sitewide). Tokens first, then component overrides.
   ===================================================================== */
:root {
  --ink: #f2f6ff;            /* headings / primary text on dark */
  --text: #b9c6e2;           /* body text */
  --muted: #93a4c8;
  --line: rgba(143, 176, 255, .16);
  --tint: rgba(255, 255, 255, .05);
  --blue-soft: rgba(61, 123, 255, .16);
  --link: #8db2ff;
  --glass: linear-gradient(160deg, rgba(22, 42, 88, .72), rgba(11, 23, 51, .82));
  --glass-border: rgba(143, 176, 255, .18);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 60px rgba(0, 0, 0, .38);
  --shadow: var(--card-shadow);
}
html { color-scheme: dark; }
body { background: #060d1f; color: var(--text); }
::selection { background: #2563ff; color: #fff; }
a { color: var(--link); }
:focus-visible { outline-color: #a9c6ff; }

/* aurora + fine grid behind everything */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 40% at 92% 6%, rgba(37, 99, 255, .30), transparent 70%),
    radial-gradient(40% 35% at 4% 38%, rgba(18, 165, 148, .16), transparent 70%),
    radial-gradient(45% 40% at 90% 80%, rgba(61, 123, 255, .16), transparent 70%),
    linear-gradient(rgba(143, 176, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 176, 255, .045) 1px, transparent 1px);
  background-size: auto, auto, auto, 56px 56px, 56px 56px; }

/* sections: glowing hairline separators, alternating depth */
.section { position: relative; background: transparent; }
.section:not(.section-navy):not(.dash-section)::before { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(111, 155, 255, .45), transparent); }
.section-tint { background-color: rgba(10, 21, 48, .62); background-image: radial-gradient(rgba(143, 176, 255, .09) 1px, transparent 1px); background-size: 24px 24px; }
.section h2 { background: linear-gradient(180deg, #ffffff 30%, #b7c9f2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eyebrow { color: #bcd0ff; background: rgba(111, 155, 255, .13); border-color: rgba(111, 155, 255, .35); }
.eyebrow::before { background: var(--lime); box-shadow: 0 0 10px var(--lime); }

/* header pill */
.header-inner { background: rgba(9, 19, 43, .72); border-color: rgba(143, 176, 255, .28); box-shadow: 0 10px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08); }
.site-header.is-scrolled .header-inner { box-shadow: 0 10px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(143, 176, 255, .25); }
.wordmark b, .logo-dark .wordmark b { color: #7ea6ff; }
.menu-btn { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(143, 176, 255, .3); }
.nav { background: #0a1733; border: 1px solid var(--glass-border); }
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .07); }
@media (min-width: 900px) { .nav { background: none; border: 0; } }

/* glass surfaces */
.problem, .card, .industry, .work-card, .engage, .step, .principle, .scope-main {
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--card-shadow); }
.card:hover { box-shadow: var(--card-shadow), 0 0 40px rgba(61, 123, 255, .18); }
.card:hover, .industry:hover, .engage:hover, .step:hover { border-color: rgba(125, 165, 255, .5); }
[data-spot]::before { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(95, 140, 255, .2), transparent 70%); }
.problem-ico { background: rgba(111, 155, 255, .12); color: #cfdcff; }
.problem-arrow, .step-num, .scope-n { color: #7ea6ff; }
.problem-to h3 { color: #8db2ff; }
.card-idx { color: #7e90b8; }
.card-ico { background: #0b1733; box-shadow: 0 0 0 1px rgba(182, 242, 58, .35), 0 0 22px rgba(182, 242, 58, .12); }
.card-ico-blue { background: rgba(61, 123, 255, .18); color: #9ec0ff; box-shadow: 0 0 0 1px rgba(111, 155, 255, .35); }
.card-points .icon, .ticks .icon, .faq summary .icon { color: #7ea6ff; }
.card-points { border-top-color: var(--line); }
.card-link { color: var(--link); }
.tags li { color: #cfdcff; background: rgba(111, 155, 255, .14); border: 1px solid rgba(111, 155, 255, .25); }
.pill-dev { background: rgba(255, 196, 61, .13); color: #ffd98a; border: 1px solid rgba(255, 196, 61, .4); }
.pill-demo { background: rgba(60, 207, 130, .13); color: #86e8ae; border: 1px solid rgba(60, 207, 130, .4); }
.pill-concept { background: rgba(61, 123, 255, .18); color: #aac4ff; border: 1px solid rgba(111, 155, 255, .4); }
.step-ico { box-shadow: 0 0 0 6px rgba(61, 123, 255, .16), 0 0 24px rgba(61, 123, 255, .35); }
.engage-n { background: rgba(182, 242, 58, .12); color: var(--lime); box-shadow: 0 0 0 1px rgba(182, 242, 58, .4); }
.agreement-note { background: rgba(61, 123, 255, .14); color: #e8f0ff; border: 1px solid rgba(111, 155, 255, .3); }
.agreement-note .icon { color: var(--lime); }
.faq-list, .faq { border-color: var(--line); }
.faq summary:hover { color: #fff; }
.work-group-h { color: #9fb2da; }
.work-preview { background: #07112a; }

/* scope builder */
.choice-box { background: rgba(255, 255, 255, .04); border-color: rgba(143, 176, 255, .3); color: var(--ink); }
.choice:hover .choice-box { border-color: rgba(143, 176, 255, .65); }
.choice input:checked + .choice-box { border-color: #6f9bff; background: rgba(61, 123, 255, .2); box-shadow: inset 0 0 0 1px #6f9bff, 0 0 24px rgba(61, 123, 255, .2); }
.choice input:checked + .choice-box .icon { color: #9ec0ff; }
.scope-summary { border: 1px solid var(--glass-border); background: linear-gradient(160deg, #0f2150, #0a1733); box-shadow: var(--card-shadow), 0 0 60px rgba(61, 123, 255, .15); }

/* contact form */
.form { background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--card-shadow), 0 0 80px rgba(61, 123, 255, .16); color: var(--text); }
input, select, textarea { background: rgba(255, 255, 255, .05); color: #fff; border-color: rgba(143, 176, 255, .32); }
input::placeholder, textarea::placeholder { color: #8396c2; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: rgba(143, 176, 255, .6); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: #a9c6ff; border-color: #8db2ff; background: rgba(255, 255, 255, .08); }
option { background: #0b1733; color: #fff; }
[aria-invalid="true"] { border-color: #ff8a80; background: rgba(255, 90, 80, .12); }
.form-notice { background: rgba(255, 196, 61, .12); border-color: rgba(255, 196, 61, .4); color: #ffe6a3; }
.form-status[data-kind="error"] { color: #ff9b92; }
.form-status[data-kind="success"] { color: #7be3ab; }
.form-status[data-kind="info"] { color: var(--muted); }
.noscript-note { background: rgba(255, 255, 255, .06); color: var(--text); }
.btn-lime:hover { box-shadow: 0 0 28px rgba(182, 242, 58, .45); }
.btn-primary:hover { box-shadow: 0 0 28px rgba(61, 123, 255, .55); }

/* hero glow/continuity */
.hero { background: linear-gradient(180deg, #0a1630, #07122a); }
.ticker { background: rgba(5, 11, 28, .8); }
.section-navy { background: linear-gradient(180deg, rgba(7, 15, 36, .6), rgba(10, 22, 52, .85)); }
.site-footer { background-color: #040a1a; }

/* Consent, contact actions, meet card, privacy */
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: 2px; accent-color: #b6f23a; }
.check a { font-weight: 600; }
.form-status[data-kind="notice"] { color: #ffe6a3; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.meet { display: flex; gap: 16px; align-items: center; margin-top: 28px; padding: 18px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--card-shadow); }
.meet-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.meet-initials { display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: var(--navy); background: linear-gradient(135deg, #b6f23a, #6fe0c4); }
.meet strong { display: block; color: #fff; font-size: 1.1rem; }
.meet > div span { display: block; font-size: .92rem; color: var(--text); }
.meet-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: .92rem; }
.privacy { padding-block: clamp(40px, 6vw, 72px); background: rgba(5, 11, 28, .6); }
.privacy-wrap { max-width: 760px; display: grid; gap: 14px; font-size: .95rem; }
.privacy h2 { font-size: 1.5rem; }
.privacy ul { display: grid; gap: 10px; padding-left: 18px; list-style: disc; }
.privacy strong { color: #fff; }
.footer-small a { color: #fff; }

/* Readability: raise the smallest text sizes */
.pvx { font-size: .84rem; } .pvx-h { font-size: .9rem; } .pvx-h small, .pv-stat small, .pv-row small { font-size: .74rem; }
.pv-row strong, .pv-tab-h, .pv-check li, .pv-bay strong { font-size: .84rem; } .pv-line { font-size: .8rem; } .pv-btn { font-size: .82rem; }
.pvx .status { font-size: .72rem; } .win-bar span { font-size: .74rem; } .win-bar em { font-size: .7rem; }
.work-concept .pvx { font-size: .82rem; }
.contact-list span { font-size: .76rem; } .card-idx { font-size: .78rem; } .eyebrow { font-size: .76rem; }
.work-group-h { font-size: .82rem; } .work-group-h small { font-size: .8rem; }
.hero-points { font-size: .98rem; } .facts dd { font-size: .88rem; } .float-badge span { font-size: .78rem; } .float-badge strong { font-size: .88rem; }
.ticker-label { font-size: .78rem; } .dash-foot { font-size: .8rem; }

/* =========================== Multi-page layer =========================== */
.nav a[aria-current="page"] { color: #fff; background: rgba(111, 155, 255, .16); box-shadow: inset 0 0 0 1px rgba(143, 176, 255, .3); }
@media (max-width: 899px) { .nav a[aria-current="page"] { background: rgba(111, 155, 255, .12); border-radius: 8px; } }

.section h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; background: linear-gradient(180deg, #ffffff 30%, #b7c9f2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section h2.work-group-h { font-size: .82rem; font-weight: 700; letter-spacing: .12em; background: none; -webkit-text-fill-color: currentColor; line-height: 1.4; }

.page-hero { position: relative; padding: calc(var(--header-h) + 10px + clamp(44px, 7vw, 92px)) 0 clamp(28px, 4vw, 48px); }
.page-hero h1 { max-width: 20em; font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; background: linear-gradient(180deg, #ffffff 30%, #b7c9f2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-lead { margin-top: 18px; max-width: 46rem; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--text); }
.page-hero + .section { padding-top: clamp(28px, 4vw, 48px); }
.page-hero + .section::before { display: none; }
.section-top { padding-top: calc(var(--header-h) + 10px + clamp(44px, 6vw, 84px)); }

.cta-band { position: relative; padding: clamp(40px, 6vw, 80px) 0; }
.cta-inner { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding: clamp(26px, 4vw, 46px); border-radius: 22px; background: linear-gradient(115deg, #0f2a66, #0a1733 62%); border: 1px solid var(--glass-border); box-shadow: var(--card-shadow), 0 0 80px rgba(61, 123, 255, .2); }
.cta-inner::before { content: ""; position: absolute; width: 380px; height: 380px; right: -80px; top: -160px; border-radius: 50%; border: 1px dashed rgba(143, 176, 255, .3); pointer-events: none; }
.cta-inner::after { content: ""; position: absolute; right: 96px; top: -166px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px 4px rgba(182, 242, 58, .5); pointer-events: none; }
.cta-inner h2 { color: #fff; font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
.cta-inner p { margin-top: 8px; max-width: 34rem; color: #c9d4ea; }
.cta-inner > * { position: relative; z-index: 1; }

.mini-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mini { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--card-shadow); text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s, box-shadow .2s; }
.mini:hover { transform: translateY(-3px); border-color: rgba(125, 165, 255, .55); box-shadow: var(--card-shadow), 0 0 36px rgba(61, 123, 255, .2); }
.mini h3 { font-size: 1.08rem; margin-top: 10px; color: var(--ink); }
.mini p { font-size: .93rem; }
.mini-more { margin-top: auto; padding-top: 10px; display: inline-flex; gap: 6px; align-items: center; color: var(--link); font-weight: 600; font-size: .9rem; }
.mini-cta { background: transparent; border-style: dashed; box-shadow: none; }
.more-link { text-align: center; margin-top: 34px; }

.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split-rev .split-copy { order: 2; } }
.split-copy .card-ico { margin-bottom: 18px; }
.split-copy h2 { margin-bottom: 14px; }
.split-copy .ticks { margin: 22px 0 6px; }
.chips-label { margin: 22px 0 10px; font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.split-copy .btn-row { margin-top: 26px; }
.industry-visual { overflow: hidden; }
.center-block { max-width: 720px; text-align: center; }
.center-block .lead { margin-top: 14px; }
.center-row { justify-content: center; margin-top: 24px; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: #c9d4ea; text-decoration: none; font-size: .95rem; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 800px) { .footer-nav { grid-column: 1 / -1; } }
.win-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* =====================================================================
   LIGHT "DAYLIGHT" SECTIONS (warmer, easier reading) interleaved with dark
   ===================================================================== */
.section.theme-light {
  --ink: #0b1a3a; --text: #41506b; --muted: #5b6a86; --line: #d9e1f0; --link: #1f4fe0; --blue-soft: #e6eeff;
  --glass: linear-gradient(160deg, #ffffff, #f5f8fe); --glass-border: #d9e1f0;
  --card-shadow: 0 1px 2px rgba(10, 22, 48, .05), 0 16px 36px rgba(10, 22, 48, .08);
  color: var(--text);
  background:
    radial-gradient(45% 55% at 100% 0%, rgba(37, 99, 255, .10), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(18, 165, 148, .08), transparent 70%),
    radial-gradient(rgba(37, 99, 255, .10) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(180deg, #f4f7fd, #e9eff9);
}
.theme-light h1, .theme-light h2 { background: linear-gradient(180deg, #0b1a3a 40%, #27427f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.theme-light h3 { color: var(--ink); }
.theme-light .eyebrow { color: #1b45b8; background: #e3ebff; border-color: #c4d4fa; }
.theme-light .eyebrow::before { background: #2563ff; box-shadow: 0 0 8px rgba(37, 99, 255, .6); }
.theme-light.section::before { background: linear-gradient(90deg, transparent, rgba(37, 99, 255, .35), transparent); }
.theme-light .problem-ico { background: #e6eeff; color: #1b45b8; }
.theme-light .problem-arrow, .theme-light .step-num, .theme-light .scope-n { color: #2563ff; }
.theme-light .problem-to h3 { color: #1f4fe0; }
.theme-light .card-idx { color: #8a99b8; }
.theme-light .card-ico { box-shadow: 0 6px 16px rgba(10, 22, 48, .2); }
.theme-light .card-ico-blue { background: #e6eeff; color: #2563ff; box-shadow: 0 0 0 1px #c4d4fa; }
.theme-light .card-points .icon, .theme-light .ticks .icon, .theme-light .faq summary .icon { color: #2563ff; }
.theme-light .tags li { color: #1b45b8; background: #e6eeff; border-color: #c4d4fa; }
.theme-light .pill-dev { background: #fff1d6; color: #7a4a00; border-color: #f0d98a; }
.theme-light .pill-demo { background: #dff5e8; color: #0b6139; border-color: #a9e0c2; }
.theme-light .pill-concept { background: #e6eeff; color: #1b45b8; border-color: #c4d4fa; }
.theme-light .step-ico { box-shadow: 0 0 0 6px #e6eeff; }
.theme-light .engage-n { background: #0b1a3a; color: var(--lime); box-shadow: none; }
.theme-light .agreement-note { background: #e6eeff; color: #0b1a3a; border-color: #c4d4fa; }
.theme-light .agreement-note .icon { color: #2563ff; }
.theme-light .faq summary:hover { color: #1f4fe0; }
.theme-light .work-group-h { color: var(--muted); }
.theme-light .chips-label { color: var(--muted); }
.theme-light .choice-box { background: #fff; border-color: #c5cee0; color: var(--ink); }
.theme-light .choice:hover .choice-box { border-color: #8d9bb8; }
.theme-light .choice input:checked + .choice-box { background: #e6eeff; border-color: #2563ff; box-shadow: inset 0 0 0 1px #2563ff; }
.theme-light .choice input:checked + .choice-box .icon { color: #2563ff; }
.theme-light .choice input:focus-visible + .choice-box { outline-color: #2563ff; }
.theme-light :focus-visible { outline-color: #2563ff; }
.theme-light .meet strong { color: var(--ink); }
.theme-light .mini h3 { color: var(--ink); }
.theme-light .card:hover, .theme-light .mini:hover { box-shadow: var(--card-shadow), 0 0 0 1px rgba(37, 99, 255, .35); }
.theme-light [data-spot]::before { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 255, .10), transparent 70%); }
.theme-light .noscript-note { background: #fff; }
.theme-light .scope-summary a { color: #8db2ff; }

/* Page headings: centred, consistent with section headings */
.page-hero { text-align: center; }
.page-hero h1, .page-lead { margin-inline: auto; }
.page-hero .btn-row { justify-content: center; }

/* Collapsible checklists */
.card-more { margin-top: 4px; }
.card-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 600; font-size: .9rem; color: var(--link); padding: 6px 0; }
.card-more summary::-webkit-details-marker { display: none; }
.card-more summary::after { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .95rem; line-height: 1; }
.card-more[open] summary::after { content: "–"; }
.card-more .card-points { margin-top: 10px; }
@media (min-width: 700px) { .js .card-more summary { display: none; } .card-more { margin-top: 0; } .card-more .card-points { margin-top: 18px; } }

/* Horizontal swipe strips (phones only) */
.strip-hint { display: none; }
@media (max-width: 699px) {
  .strip-hint { display: block; margin: -6px 0 12px; font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .work-strip { display: flex !important; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin-inline: -16px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .work-strip > .work-card { flex: 0 0 86%; scroll-snap-align: center; }
  .work-strip:focus-visible { outline-offset: -2px; }
}

/* Compact solution tiles on phones */
@media (max-width: 699px) {
  .mini-grid { grid-template-columns: 1fr; gap: 10px; }
  .mini { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 16px; }
  .mini .card-ico { grid-row: 1 / 3; width: 44px; height: 44px; }
  .mini h3 { margin: 0; font-size: 1rem; }
  .mini p { font-size: .88rem; }
  .mini-more { display: none; }
}

/* Polish: solid header over light sections; roomier preview label */
.header-inner { background: rgba(8, 17, 40, .94); }
.win-bar span { max-width: none; flex: 1 1 auto; font-size: .68rem; letter-spacing: .03em; }
.win-bar em { flex: none; }

/* ============================ Illustrations ============================ */
.il { display: block; width: 100%; height: auto; overflow: visible; }
.il-line { fill: none; stroke: #8db2ff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.il-thin { stroke-width: 1.4; opacity: .75; }
.il-dash { stroke-dasharray: 5 7; }
.il-fill { fill: rgba(61, 123, 255, .16); stroke: #8db2ff; stroke-width: 2.2; stroke-linejoin: round; }
.il-solid { fill: #12234a; }
.il-stroke { stroke: #8db2ff; stroke-width: 2; }
.il-lime { fill: #b6f23a; }
.il-limeline { fill: none; stroke: #b6f23a; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.il-glow { filter: drop-shadow(0 0 6px rgba(182, 242, 58, .75)); }
.il-glow-blue { filter: drop-shadow(0 0 10px rgba(47, 107, 255, .8)); }
.il-limeline.il-dash { animation: il-flow 2.4s linear infinite; }
@keyframes il-flow { to { stroke-dashoffset: -24; } }

.il-banner { position: relative; margin: -28px -28px 22px; overflow: hidden; border-bottom: 1px solid rgba(143, 176, 255, .25);
  background: radial-gradient(60% 90% at 82% 0%, rgba(61, 123, 255, .5), transparent 70%), radial-gradient(40% 70% at 0% 100%, rgba(18, 165, 148, .22), transparent 70%), linear-gradient(180deg, #102a66, #0a1733); }
.il-banner::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(143, 176, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 176, 255, .08) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, #000, transparent 95%); }
.il-banner .il { position: relative; padding: 10px 14px 0; }
.il-banner-photo img { width: 100%; height: auto; display: block; }
.il-banner-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 17, 40, .55)); }
.industry { overflow: hidden; }

/* story illustration: scattered records -> one system */
.story { margin: 0 0 clamp(28px, 4vw, 44px); }
.story-art { position: relative; border-radius: 22px; padding: clamp(10px, 2vw, 22px); border: 1px solid rgba(143, 176, 255, .28); box-shadow: var(--card-shadow), 0 20px 60px rgba(10, 22, 48, .25);
  background: radial-gradient(60% 80% at 85% 0%, rgba(61, 123, 255, .5), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(18, 165, 148, .22), transparent 70%), linear-gradient(180deg, #102a66, #0a1733); overflow: hidden; }
.story-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(143, 176, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 176, 255, .07) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, #000, transparent 90%); pointer-events: none; }
.story-art .il { position: relative; }
.story-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 16px; font-size: .95rem; color: var(--text); text-align: center; }
.story-cap b { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #1b45b8; }
.story-cap span { max-width: 22rem; }
.story-arrow { font-size: 1.6rem; color: #2563ff; }

/* orbit art behind inner-page headings */
.page-hero { overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -140px; top: 50%; width: 560px; height: 560px; margin-top: -250px; border-radius: 50%; border: 1px dashed rgba(143, 176, 255, .22); pointer-events: none; animation: spin 120s linear infinite;
  background: radial-gradient(circle at 50% 0, #b6f23a 0 5px, rgba(182, 242, 58, .35) 6px, transparent 14px); }
.page-hero::after { content: ""; position: absolute; left: -160px; top: 50%; width: 420px; height: 420px; margin-top: -180px; border-radius: 50%; border: 1px solid rgba(143, 176, 255, .12); pointer-events: none; animation: spin 160s linear infinite reverse;
  background: radial-gradient(circle at 50% 0, #6f9bff 0 4px, rgba(111, 155, 255, .35) 5px, transparent 12px); }
.page-hero > .container { position: relative; z-index: 1; }
@media (max-width: 699px) { .page-hero::before { width: 360px; height: 360px; margin-top: -160px; right: -160px; } .page-hero::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .page-hero::before, .page-hero::after, .il-limeline.il-dash { animation: none !important; } }
@media (max-width: 699px) { .story-cap { flex-direction: column; } .story-arrow { transform: rotate(90deg); line-height: 1; } }
.meet-kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #1b45b8; font-weight: 700; margin-bottom: 4px; }
.meet-initials { color: var(--navy); }

/* ===== Story illustration animation (pauses off-screen; disabled for reduced motion) ===== */
.il-bob { animation: il-bob 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes il-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.il-flow path, path.il-flow { animation: il-flow 1.6s linear infinite; }
.il-pulse { transform-box: fill-box; transform-origin: center; animation: il-pulse 2.8s ease-out infinite; }
@keyframes il-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.il-spin { animation: il-rot 30s linear infinite; }
.il-orbit { animation: il-rot 8s linear infinite; }
@keyframes il-rot { to { transform: rotate(360deg); } }
.il-packet { display: none; fill: #b6f23a; filter: drop-shadow(0 0 5px rgba(182, 242, 58, .9)); }
@supports (offset-path: path('M0 0')) {
  .il-packet { display: block; offset-rotate: 0deg; offset-distance: 0%; animation: il-travel 3.15s linear infinite; }
}
@keyframes il-travel { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.il-draw { stroke-dasharray: 1; }
.story.is-visible .il-draw { animation: draw 2s cubic-bezier(.3, .7, .2, 1) both; animation-delay: .6s; }
.story.is-visible .il-draw.il-late { animation-delay: 1s; stroke-dasharray: 5 4; animation-name: il-fadein; animation-duration: 1.2s; }
@keyframes il-fadein { from { opacity: 0; } to { opacity: 1; } }
.il-end { animation: il-blink 1.8s ease-in-out infinite; }
@keyframes il-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.il-toast { opacity: 0; animation: il-toast 8s ease-in-out infinite; }
@keyframes il-toast { 0% { opacity: 0; transform: translateY(8px); } 6%, 40% { opacity: 1; transform: translateY(0); } 48%, 100% { opacity: 0; transform: translateY(-6px); } }
.js .story:not(.is-live) * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .il-toast:first-of-type { opacity: 1; } .il-toast + .il-toast { display: none; } }

/* ===== Industry banner animation + sample data ===== */
.il-drive { animation: il-drive 7s ease-in-out infinite; }
@keyframes il-drive { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(90px); } }
.il-pass { animation: il-pass 7s ease-in-out infinite alternate; }
@keyframes il-pass { from { transform: translateX(-70px); } to { transform: translateX(60px); } }
.il-twinkle { transform-box: fill-box; transform-origin: center; animation: il-twinkle 2.8s ease-in-out infinite; }
@keyframes il-twinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.1); } }
.il-check { stroke-dasharray: 1; animation: il-check 6s ease-in-out infinite both; }
@keyframes il-check { 0%, 6% { stroke-dashoffset: 1; } 16%, 86% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 1; } }
.il-ping { fill: none; stroke: #b6f23a; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: il-ping 2.2s ease-out infinite; }
@keyframes il-ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.il-ball { display: none; fill: #b6f23a; filter: drop-shadow(0 0 7px rgba(182, 242, 58, .95)); }
@supports (offset-path: path('M0 0')) { .il-ball { display: block; offset-rotate: 0deg; animation: il-shot 3.4s linear infinite; } }
@keyframes il-shot { 0% { offset-distance: 0%; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.il-ring { transform-box: fill-box; transform-origin: center; animation: il-land 3.4s ease-out infinite; }
@keyframes il-land { 0%, 84% { transform: scale(1); opacity: 1; } 92% { transform: scale(1.5); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
.il-wave { transform-box: fill-box; transform-origin: left center; animation: il-wave 1.5s ease-in-out infinite; }
@keyframes il-wave { 0%, 100% { transform: scaleX(1) skewY(0deg); } 50% { transform: scaleX(.8) skewY(7deg); } }
.il-steam { animation: il-steam 2.6s ease-out infinite; }
@keyframes il-steam { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-12px); } }
.il-drop { animation: il-drop 1.1s linear infinite; }
@keyframes il-drop { 0% { transform: translateY(-14px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(40px); opacity: 0; } }
.il-rise { animation: il-rise 4s ease-in-out infinite; }
@keyframes il-rise { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

.il-sample { position: absolute; top: 12px; right: 12px; z-index: 2; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: #ffe6a3; background: rgba(255, 196, 61, .12); border: 1px solid rgba(255, 196, 61, .45); border-radius: 999px; padding: 3px 9px; }
.il-chips { position: absolute; top: 12px; left: 12px; z-index: 2; height: 28px; }
.il-chip { position: absolute; left: 0; top: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(8, 17, 40, .82); border: 1px solid rgba(182, 242, 58, .55); color: #fff; font-size: .78rem; font-weight: 600; opacity: 0; animation: il-chip 8s ease-in-out infinite; }
.il-chip i { width: 7px; height: 7px; border-radius: 50%; background: #b6f23a; box-shadow: 0 0 8px #b6f23a; }
@keyframes il-chip { 0% { opacity: 0; transform: translateY(8px); } 6%, 42% { opacity: 1; transform: translateY(0); } 50%, 100% { opacity: 0; transform: translateY(-6px); } }
.il-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(143, 176, 255, .18); border-top: 1px solid rgba(143, 176, 255, .28); }
.il-stats div { padding: 9px 12px; background: rgba(8, 17, 40, .78); }
.il-stats small { display: block; font-size: .7rem; color: #a5b4d6; }
.il-stats b { display: block; font-size: .98rem; color: #fff; letter-spacing: -.01em; }
.js .il-banner:not(.is-live) * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .il-chip:first-child { opacity: 1; } .il-chip + .il-chip { display: none; } }
@media (max-width: 420px) { .il-stats div { padding: 8px 9px; } .il-stats b { font-size: .88rem; } .il-chip { font-size: .72rem; padding: 4px 10px; } }
.il-banner .il { padding-top: 34px; }
.il-chips { right: 112px; }
.il-chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* ===== More industries ===== */
.also { margin-top: 34px; text-align: center; }
.also-h { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.also-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.also-list a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid #c4d4fa; background: #fff; color: #1b45b8; font-weight: 600; font-size: .92rem; text-decoration: none; box-shadow: 0 1px 2px rgba(10, 22, 48, .05); transition: transform .15s, border-color .15s, box-shadow .15s; }
.also-list a:hover { transform: translateY(-2px); border-color: #2563ff; box-shadow: 0 8px 20px rgba(37, 99, 255, .18); }
.also-list .icon { color: #2563ff; }
.more-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.more-card { display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--card-shadow); scroll-margin-top: 100px; transition: border-color .2s, box-shadow .2s; }
.more-card:hover { border-color: rgba(125, 165, 255, .5); }
.more-card .card-ico { margin-bottom: 14px; }
.more-card h3 { font-size: 1.3rem; }
.more-card .ticks { margin: 14px 0 16px; gap: 8px; }
.more-card .ticks li { font-size: .94rem; }
.more-card .tags { margin: 0 0 14px; }
.more-card .tags li { font-size: .74rem; }
.more-note { display: flex; gap: 9px; align-items: flex-start; margin: 2px 0 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 196, 61, .1); border: 1px solid rgba(255, 196, 61, .35); color: #ffe6a3; font-size: .84rem; line-height: 1.4; }
.more-note .icon { flex: none; margin-top: 2px; color: #ffc43d; }
.more-card .card-link { margin-top: auto; padding-top: 6px; }
.choice-4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (min-width: 640px) { .choice-4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.theme-light .scope-summary h3 { color: #fff; }

/* Dashboard "command center" (dark app UI). Series: blue #3d7bff (billed, dashed), teal #12a594 (collected). Lime = highlight only. */
.app {
  --d-bg: #081127; --d-panel: #0d1b3a; --d-panel-2: #12234a; --d-line: rgba(143, 176, 255, .16);
  --d-text: #eef3ff; --d-muted: #a5b4d6; --s-billed: #3d7bff; --s-paid: #12a594;
  position: relative; display: flex; color: var(--d-text); background: linear-gradient(180deg, #0b1a3a, var(--d-bg));
  border: 1px solid var(--d-line); border-radius: 20px; font-size: .85rem; text-align: left;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 30px 80px rgba(2, 8, 24, .6), 0 0 80px rgba(61, 123, 255, .18);
}
.app::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(143, 176, 255, .6), rgba(143, 176, 255, 0) 30%, rgba(182, 242, 58, 0) 70%, rgba(182, 242, 58, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.app-main { flex: 1; min-width: 0; padding: 16px; display: grid; gap: 14px; align-content: start; }
.app-side { display: none; flex-direction: column; align-items: center; gap: 8px; width: 60px; padding: 16px 0; border-right: 1px solid var(--d-line); color: #7f93c0; }
.app-logo { color: #fff; margin-bottom: 10px; }
.side-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; }
.side-ico.is-on { background: rgba(61, 123, 255, .22); color: #fff; box-shadow: inset 0 0 0 1px rgba(111, 155, 255, .5); }
@media (min-width: 760px) { .app-side { display: flex; } .app-main { padding: 20px; } }

.app-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; justify-content: space-between; }
.dash-title { font-weight: 700; font-size: 1.05rem; color: #fff; letter-spacing: -.01em; }
.dash-sub { font-size: .74rem; color: var(--d-muted); }
.app-search { display: none; flex: 1; max-width: 300px; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--d-line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: #8396c2; font-size: .8rem; }
@media (min-width: 900px) { .app-search { display: flex; } }
.dash-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-illus { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #cfdcff; border: 1px solid rgba(143, 176, 255, .35); border-radius: 999px; padding: 4px 11px; }
.badge-sample { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: #ffe6a3; background: rgba(255, 196, 61, .12); border: 1px solid rgba(255, 196, 61, .4); border-radius: 999px; padding: 4px 11px; }
.badge-sample i { width: 6px; height: 6px; border-radius: 50%; background: #ffc43d; }

/* KPI tiles */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .kpis-full { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .kpis-full { grid-template-columns: repeat(6, 1fr); } }
.kpi { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--d-panel-2), var(--d-panel)); border: 1px solid var(--d-line); border-radius: 14px; padding: 12px 14px; }
.kpi::after { content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 1px; background: linear-gradient(90deg, transparent, rgba(182, 242, 58, .55), transparent); }
.kpi-label { font-size: .72rem; color: var(--d-muted); font-weight: 600; }
.kpi-value { font-size: 1.28rem; font-weight: 800; color: #fff; letter-spacing: -.02em; margin-top: 3px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.kpis-hero .kpi-value { font-size: 1.12rem; }
.kpi-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: 4px; }
.kpi-note { font-size: .7rem; color: var(--d-muted); line-height: 1.3; }
.spark { width: 64px; height: 24px; flex: none; overflow: visible; }
.spark-line { fill: none; stroke: #6f9bff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.spark-dot { fill: var(--lime); stroke: var(--d-panel); stroke-width: 1.5; }

/* Panels */
.dash-grid { display: grid; gap: 14px; }
.dash-panel { background: linear-gradient(170deg, rgba(18, 35, 74, .75), rgba(13, 27, 58, .92)); border: 1px solid var(--d-line); border-radius: 14px; padding: 16px; min-width: 0; }
.dash-h-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.dash-h { font-size: .88rem; font-weight: 700; color: #fff; letter-spacing: 0; display: flex; align-items: center; gap: 8px; }
.dash-h .icon { color: #ffc43d; }
@media (min-width: 1000px) {
  .dash-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .span-chart { grid-column: span 8; } .span-rings { grid-column: span 4; }
  .span-map { grid-column: span 5; } .span-table { grid-column: span 7; } .span-attn { grid-column: span 12; }
}

/* Chart */
.chart { position: relative; outline-offset: 4px; border-radius: 8px; touch-action: pan-y; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.ch-grid { stroke: rgba(143, 176, 255, .13); stroke-width: 1; }
.ch-axis { fill: var(--d-muted); font-size: 11px; font-family: var(--font); }
.ch-billed { fill: none; stroke: var(--s-billed); stroke-width: 2; stroke-dasharray: 6 5; stroke-linecap: round; opacity: .95; }
.ch-paid { fill: none; stroke: var(--s-paid); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; filter: drop-shadow(0 0 6px rgba(18, 165, 148, .7)); }
.ch-end { stroke: var(--d-panel); stroke-width: 2; }
.ch-end-b { fill: var(--s-billed); } .ch-end-p { fill: var(--s-paid); }
.ch-cross { stroke: rgba(182, 242, 58, .7); stroke-width: 1; stroke-dasharray: 3 3; }
.ch-hot { stroke: var(--d-panel); stroke-width: 2; } .ch-hot-b { fill: var(--s-billed); } .ch-hot-p { fill: var(--s-paid); }
.ch-tip { position: absolute; top: 4px; z-index: 3; min-width: 150px; padding: 10px 12px; border-radius: 10px; background: rgba(6, 14, 34, .96); border: 1px solid rgba(143, 176, 255, .35); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); pointer-events: none; transform: translateX(-50%); }
.ch-tip[hidden], .ch-hover[hidden] { display: none; }
.ch-tip b { display: block; font-size: .78rem; color: #fff; margin-bottom: 6px; }
.ch-tip span { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--d-text); justify-content: space-between; }
.ch-tip span i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.ch-tip em { font-style: normal; font-weight: 700; margin-left: auto; padding-left: 14px; font-variant-numeric: tabular-nums; }
.ch-tip small { display: block; margin-top: 6px; color: var(--d-muted); font-size: .68rem; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .74rem; color: var(--d-muted); margin-top: 6px; }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend small { font-size: .7rem; opacity: .85; }
.legend-unit { margin-left: auto; font-family: var(--mono); font-size: .68rem; }
.sw { width: 18px; height: 0; display: inline-block; border-top: 3px solid; border-radius: 2px; }
.sw-billed { border-top: 2px dashed var(--s-billed); } .sw-paid { border-color: var(--s-paid); }
.tbl-view { margin-top: 10px; font-size: .8rem; color: var(--d-muted); }
.tbl-view summary { cursor: pointer; width: max-content; color: #9fbcff; font-weight: 600; }
.tbl-view[open] summary { margin-bottom: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Gauge rings */
.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 1000px) and (max-width: 1280px) { .rings { grid-template-columns: 1fr; } }
.ring { text-align: center; }
.ring svg { width: 100%; max-width: 96px; margin: 0 auto; filter: drop-shadow(0 0 8px rgba(61, 123, 255, .35)); }
.ring-bg { fill: none; stroke: rgba(143, 176, 255, .16); stroke-width: 7; }
.ring-fg { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: var(--p) 100; }
.ring-num { fill: #fff; font-size: 17px; font-weight: 800; font-family: var(--font); }
.ring-label { font-size: .76rem; font-weight: 700; color: #fff; margin-top: 8px; line-height: 1.25; }
.ring-sub { font-size: .7rem; color: var(--d-muted); }

/* Dot-matrix map */
.map-wrap { display: grid; gap: 14px; align-items: center; }
@media (min-width: 560px) { .map-wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.map { max-width: 300px; margin-inline: auto; width: 100%; }
.map-dots circle { fill: rgba(143, 176, 255, .5); }
.hot-halo { fill: rgba(182, 242, 58, .14); transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s); }
.hot-core { fill: var(--lime); stroke: #06101f; stroke-width: 1.5; filter: drop-shadow(0 0 5px rgba(182, 242, 58, .9)); }
@keyframes pulse { 0%, 100% { transform: scale(.75); opacity: .5; } 50% { transform: scale(1.15); opacity: 1; } }
.site-list { display: grid; gap: 9px; }
.site-list li { display: grid; grid-template-columns: minmax(70px, 96px) 1fr 22px; gap: 10px; align-items: center; font-size: .78rem; color: var(--d-text); }
.site-bar { height: 6px; border-radius: 999px; background: rgba(143, 176, 255, .14); overflow: hidden; }
.site-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #3d7bff, #b6f23a); }
.site-list b { text-align: right; font-variant-numeric: tabular-nums; }
.map-note { font-size: .72rem; color: var(--d-muted); margin-top: 12px; }

/* Table */
.table-wrap { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: .8rem; color: var(--d-text); }
.dash-table th, .dash-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--d-line); white-space: nowrap; }
.dash-table thead th { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--d-muted); font-weight: 600; }
.dash-table tbody th { color: #fff; font-weight: 700; font-family: var(--mono); font-size: .76rem; }
.dash-table tbody tr:last-child > * { border-bottom: 0; }
.dash-table tbody tr { transition: background-color .15s; }
.dash-table tbody tr:hover { background: rgba(61, 123, 255, .08); }
.dash-table .num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .hide-sm { display: none; } }
@media (max-width: 1340px) { .hide-md { display: none; } }
.prog { display: block; width: 84px; height: 6px; border-radius: 999px; background: rgba(143, 176, 255, .16); overflow: hidden; }
.prog i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #3d7bff, #6fe0c4); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: .72rem; border: 1px solid; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-progress { color: #aac4ff; background: rgba(61, 123, 255, .16); border-color: rgba(111, 155, 255, .4); }
.st-sched { color: #c4cee6; background: rgba(196, 206, 230, .1); border-color: rgba(196, 206, 230, .3); }
.st-wait { color: #ffd98a; background: rgba(255, 196, 61, .12); border-color: rgba(255, 196, 61, .4); }
.st-done { color: #86e8ae; background: rgba(60, 207, 130, .12); border-color: rgba(60, 207, 130, .4); }

/* Attention */
.attention { display: grid; gap: 10px; }
@media (min-width: 700px) { .attention { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .attention { grid-template-columns: repeat(4, 1fr); } }
.attention li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: rgba(255, 196, 61, .06); border: 1px solid rgba(255, 196, 61, .28); }
.att-ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: rgba(255, 196, 61, .14); color: #ffc43d; }
.attention div { display: grid; gap: 2px; min-width: 0; }
.att-tag { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: #ffd98a; font-weight: 700; }
.attention strong { color: #fff; font-size: .84rem; line-height: 1.3; }
.att-text { color: var(--d-muted); font-size: .76rem; line-height: 1.35; }

/* Hero variant */
.app-hero { display: block; }
.app-hero .chart-panel { padding: 14px; }

/* Entrance animations (JS adds .is-visible via .reveal or .in-view) */
.in-view .spark-line, .is-visible .spark-line, .app-hero .spark-line { animation: draw 1.4s ease both; }
.in-view .ch-paid, .is-visible .ch-paid, .app-hero .ch-paid { animation: draw 1.6s cubic-bezier(.3, .7, .2, 1) both; }
.in-view .ring-fg, .is-visible .ring-fg { animation: ringfill 1.4s cubic-bezier(.3, .7, .2, 1) both; }
.in-view .site-bar i, .in-view .prog i, .is-visible .site-bar i, .is-visible .prog i { animation: grow-x 1.1s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ringfill { from { stroke-dasharray: 0 100; } }
@keyframes grow-x { from { width: 0; } }
@media (prefers-reduced-motion: reduce) { .hot-halo { animation: none !important; } }

/* Outstanding by age */
.aging { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--d-line); }
.aging-h { font-size: .76rem; font-weight: 700; color: #fff; display: flex; justify-content: space-between; margin-bottom: 10px; }
.aging-h small { font-weight: 600; color: var(--d-muted); font-variant-numeric: tabular-nums; }
.aging-bar { display: flex; gap: 2px; height: 10px; }
.aging-bar i { border-radius: 4px; }
.ag0 { background: #3d7bff; } .ag1 { background: #7fa6ff; } .ag2 { background: #c3d5ff; }
.aging-key { display: grid; gap: 6px; margin-top: 12px; font-size: .74rem; color: var(--d-muted); }
.aging-key li { display: flex; align-items: center; gap: 8px; }
.aging-key i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.aging-key b { margin-left: auto; color: var(--d-text); font-variant-numeric: tabular-nums; }
.is-visible .aging-bar i { animation: grow-x 1.1s cubic-bezier(.3, .7, .2, 1) both; }

/* Readability: raise the smallest dashboard text */
.kpi-label { font-size: .8rem; } .kpi-note { font-size: .78rem; } .dash-sub { font-size: .8rem; }
.badge-illus, .badge-sample { font-size: .74rem; } .dash-table { font-size: .86rem; } .dash-table thead th { font-size: .7rem; } .dash-table tbody th { font-size: .82rem; }
.status { font-size: .78rem; } .att-tag { font-size: .7rem; } .att-text { font-size: .84rem; } .attention strong { font-size: .9rem; }
.ring-label { font-size: .84rem; } .ring-sub { font-size: .78rem; } .site-list li { font-size: .86rem; } .map-note { font-size: .8rem; }
.legend { font-size: .8rem; } .legend small, .legend-unit { font-size: .74rem; } .ch-axis { font-size: 12px; } .aging-key { font-size: .8rem; } .aging-h { font-size: .84rem; }
.tbl-view { font-size: .86rem; } .ch-tip span { font-size: .84rem; } .ch-tip small { font-size: .74rem; }

/* Phones: keep the dashboard short; map and job table behind a button */
.dash-expand { display: none; }
@media (max-width: 759px) {
  .js .dash-expand { display: block; width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(143, 176, 255, .4); background: rgba(61, 123, 255, .14); color: #dbe6ff; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
  .js .dash-expand:hover { background: rgba(61, 123, 255, .24); }
  .js .app-full:not(.is-expanded) .span-map, .js .app-full:not(.is-expanded) .span-table { display: none; }
}

/* ===== More industries: tabbed showcase with animated sample dashboards ===== */
.ind-tabs { display: none; }
.js .ind-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.ind-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(143, 176, 255, .3); background: rgba(255, 255, 255, .04); color: #cfdcff; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; white-space: nowrap; transition: border-color .15s, color .15s, background-color .15s, box-shadow .15s; }
.ind-tab:hover { border-color: #8db2ff; color: #fff; }
.ind-tab .icon { color: #8db2ff; }
.ind-tab.is-active { background: linear-gradient(180deg, #3f78ff, #1f4fe0); border-color: transparent; color: #fff; box-shadow: 0 0 28px rgba(61, 123, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .25); }
.ind-tab.is-active .icon { color: #fff; }
.ind-tab:focus-visible { outline: 3px solid #b6f23a; outline-offset: 3px; }
@media (max-width: 699px) { .js .ind-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding: 4px 16px 12px; scrollbar-width: thin; } }

.ind-panel { scroll-margin-top: 100px; margin-bottom: 44px; }
.js .ind-panel:not(.is-active) { display: none; }
.js .ind-panel { margin-bottom: 0; }
.ind-panel:focus-visible { outline: 3px solid rgba(182, 242, 58, .6); outline-offset: 6px; border-radius: 16px; }
.js .ind-panel.is-active { animation: ind-in .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ind-in { from { opacity: 0; transform: translateY(14px); } }

.ind-top { display: grid; gap: 20px 32px; margin-bottom: 20px; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--card-shadow); }
@media (min-width: 960px) { .ind-top { grid-template-columns: minmax(200px, .8fr) minmax(0, 1.3fr) minmax(240px, 1fr); align-items: start; } }
.ind-info { display: flex; gap: 16px; align-items: flex-start; }
.ind-info h3 { font-size: 1.5rem; }
.ind-ticks { gap: 9px; }
.ind-ticks li { font-size: .95rem; }
.ind-side .tags { margin-bottom: 14px; }
.ind-side .tags li { font-size: .74rem; }
.ind-side .btn-row { margin-top: 4px; }

/* dashboard frame */
.app-ind { display: block; }
.ind-grid .ind-chart, .ind-grid .ind-special, .ind-grid .ind-table, .ind-grid .ind-attn { min-width: 0; }
@media (min-width: 1000px) {
  .ind-chart { grid-column: span 7; } .ind-special { grid-column: span 5; }
  .ind-table { grid-column: span 7; } .ind-attn { grid-column: span 5; }
}
.ind-attn .attention { grid-template-columns: 1fr; }
.ind-toasts { position: relative; height: 32px; margin-top: -4px; }
.ind-toast { position: absolute; left: 0; top: 0; max-width: 100%; display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: rgba(182, 242, 58, .1); border: 1px solid rgba(182, 242, 58, .45); color: #eaffbb; font-size: .8rem; font-weight: 600; opacity: 0; animation: ind-toast 12s ease-in-out infinite; }
.ind-toast i { width: 7px; height: 7px; border-radius: 50%; background: #b6f23a; box-shadow: 0 0 8px #b6f23a; flex: none; }
@keyframes ind-toast { 0% { opacity: 0; transform: translateY(8px); } 4%, 28% { opacity: 1; transform: translateY(0); } 33%, 100% { opacity: 0; transform: translateY(-6px); } }

.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.lg-done { background: #12a594; } .lg-live { background: #3d7bff; } .lg-next { border: 1.5px dashed #6f9bff; } .lg-low { background: #e0a100; } .lg-now { background: #b6f23a; } .lg-brk { background: repeating-linear-gradient(45deg, #5c6f9c 0 3px, #3b4d78 3px 6px); }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }

/* clinics: timeline */
.tl { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
.tl-labels { display: flex; flex-direction: column; gap: 8px; }
.tl-labels > * { height: 38px; display: flex; align-items: center; font-size: .78rem; color: #fff; }
.tl-labels > span { height: 18px; }
.tl-area { position: relative; display: flex; flex-direction: column; gap: 8px; padding-bottom: 26px; }
.tl-hours { display: grid; grid-template-columns: repeat(10, 1fr); height: 18px; font-size: .68rem; color: var(--d-muted, #a5b4d6); }
.tl-track { position: relative; height: 38px; border-radius: 8px; background-color: rgba(143, 176, 255, .07); background-image: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(143, 176, 255, .14) calc(10% - 1px) 10%); }
.tl-b { position: absolute; top: 4px; bottom: 4px; border-radius: 6px; animation: grow-x .9s cubic-bezier(.3, .7, .2, 1) both; animation-delay: var(--d, 0s); }
.tl-b.done { background: linear-gradient(90deg, #0f8f80, #2dd4bf); opacity: .9; }
.tl-b.live { background: linear-gradient(90deg, #2f6bff, #6f9bff); box-shadow: 0 0 14px rgba(61, 123, 255, .7); }
.tl-b.next { border: 1.5px dashed #6f9bff; background: rgba(111, 155, 255, .08); }
.tl-b.live { animation: grow-x .9s cubic-bezier(.3, .7, .2, 1) both, glow-pulse 2s ease-in-out infinite 1s; animation-delay: var(--d, 0s), 1s; }
@keyframes glow-pulse { 0%, 100% { box-shadow: 0 0 8px rgba(61, 123, 255, .5); } 50% { box-shadow: 0 0 20px rgba(111, 155, 255, .95); } }
.tl-now { position: absolute; top: 22px; bottom: 0; width: 2px; background: #b6f23a; box-shadow: 0 0 10px #b6f23a; animation: now-pulse 1.8s ease-in-out infinite; }
.tl-now em { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .62rem; font-weight: 800; color: #0a1630; background: #b6f23a; padding: 1px 6px; border-radius: 99px; }
@keyframes now-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* dental: chairs */
.chairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chair { display: grid; grid-template-columns: 44px 1fr; grid-template-areas: "ring name" "ring chip"; gap: 4px 10px; align-items: center; padding: 10px; border-radius: 12px; background: #12234a; border: 1px solid rgba(143, 176, 255, .14); animation: pop .5s both; animation-delay: var(--d, 0s); }
.chair svg { grid-area: ring; width: 44px; height: 44px; }
.chair > div { grid-area: name; min-width: 0; }
.chair .status { grid-area: chip; justify-self: start; }
.chair strong { display: block; color: #fff; font-size: .86rem; }
.chair small { display: block; color: var(--d-muted, #a5b4d6); font-size: .74rem; }
.rg-bg { fill: none; stroke: rgba(143, 176, 255, .18); stroke-width: 5; }
.rg-fg { fill: none; stroke: #6fe0c4; stroke-width: 5; stroke-linecap: round; stroke-dasharray: var(--p) 100; animation: ringfill 1.4s cubic-bezier(.3, .7, .2, 1) both; animation-delay: var(--d, 0s); }

/* tourist buses: fleet progress */
.fl { display: grid; gap: 14px; }
.fl li { display: grid; gap: 6px; }
.fl-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.fl-h b { color: #fff; font-size: .88rem; }
.fl-h > span:not(.status) { flex: 1; min-width: 0; color: var(--d-muted, #a5b4d6); font-size: .8rem; }
.fl small { color: var(--d-muted, #a5b4d6); font-size: .74rem; }
.fl .prog { width: 100%; height: 7px; }
.prog-live i { position: relative; overflow: hidden; }
.prog-live i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); transform: translateX(-100%); animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* taxi: bars */
.bars { display: grid; gap: 6px; }
.bars-plot { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; align-items: end; height: 190px; margin-top: 22px; border-bottom: 1px solid rgba(143, 176, 255, .25); }
.bar { position: relative; height: var(--h); align-self: end; }
.bar i { display: block; width: 100%; height: 100%; border-radius: 6px 6px 2px 2px; transform-origin: bottom; animation: bar-up .9s cubic-bezier(.3, .7, .2, 1) both; animation-delay: var(--d, 0s); }
.bar b { position: absolute; left: 0; right: 0; bottom: 100%; text-align: center; padding-bottom: 3px; font-size: .64rem; color: #fff; font-weight: 700; white-space: nowrap; animation: pop .5s both; animation-delay: calc(var(--d, 0s) + .5s); }
.bar i.ok { background: linear-gradient(180deg, #2dd4bf, #0f8f80); box-shadow: 0 0 14px rgba(45, 212, 191, .35); }
.bar i.low { background: linear-gradient(180deg, #f2b84b, #b97a00); }
.bars-x { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.bars-x span { text-align: center; font-size: .7rem; color: var(--d-muted, #a5b4d6); }
.bars-target { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px dashed #b6f23a; z-index: 2; pointer-events: none; }
.bars-target em { position: absolute; left: 0; top: -19px; font-style: normal; font-size: .66rem; color: #0a1630; background: #b6f23a; font-weight: 800; padding: 1px 7px; border-radius: 99px; }
@keyframes bar-up { from { transform: scaleY(0); } }

/* salons: heat grid */
.heat { display: grid; gap: 6px; }
.heat-h, .heat-r { display: grid; grid-template-columns: 64px repeat(8, minmax(0, 1fr)); gap: 5px; align-items: center; }
.heat-h span { font-size: .68rem; color: var(--d-muted, #a5b4d6); text-align: center; }
.heat-r b { font-size: .74rem; color: #fff; font-weight: 600; }
.hc { height: 26px; border-radius: 6px; animation: pop .45s both; animation-delay: var(--d, 0s); }
.hc.booked { background: linear-gradient(180deg, #4d82ff, #2f5fd8); opacity: .85; }
.hc.free { border: 1.5px dashed rgba(143, 176, 255, .45); background: rgba(143, 176, 255, .06); }
.hc.break { background: repeating-linear-gradient(45deg, #5c6f9c 0 3px, #3b4d78 3px 6px); opacity: .75; }
.hc.now { background: #b6f23a; box-shadow: 0 0 14px rgba(182, 242, 58, .85); animation: pop .45s both, hc-pulse 1.8s ease-in-out infinite; animation-delay: var(--d, 0s), 0s; }
@keyframes hc-pulse { 0%, 100% { box-shadow: 0 0 6px rgba(182, 242, 58, .5); } 50% { box-shadow: 0 0 20px rgba(182, 242, 58, 1); } }

/* laundry: pipeline */
.pl { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-height: 210px; }
.pl-c { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: #12234a; border: 1px solid rgba(143, 176, 255, .14); }
.pl-c p { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: .72rem; color: var(--d-muted, #a5b4d6); font-weight: 600; line-height: 1.2; }
.pl-c b { font-size: 1.3rem; color: #fff; }
.pl-t { font-style: normal; font-family: var(--mono); font-size: .68rem; padding: 5px 6px; border-radius: 7px; text-align: center; background: rgba(61, 123, 255, .18); border: 1px solid rgba(111, 155, 255, .35); color: #cfe0ff; }
.pl-move { position: absolute; top: 100px; left: 2%; width: 21%; font-style: normal; font-family: var(--mono); font-size: .68rem; font-weight: 800; padding: 5px 6px; border-radius: 7px; text-align: center; background: #b6f23a; color: #0a1630; box-shadow: 0 0 16px rgba(182, 242, 58, .8); opacity: 0; animation: pl-move 10s ease-in-out infinite; }
@keyframes pl-move { 0% { left: 2%; opacity: 0; } 5% { opacity: 1; } 18% { left: 2%; } 30% { left: 27%; } 44% { left: 27%; } 56% { left: 52%; } 70% { left: 52%; } 82% { left: 77%; } 94% { opacity: 1; } 100% { left: 77%; opacity: 0; } }
@media (max-width: 520px) { .pl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pl-move { display: none; } .bars { gap: 5px; } .bar b { font-size: .56rem; } }

/* auto repair: bays */
.bays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bays li { display: grid; gap: 6px; padding: 10px; border-radius: 12px; background: #12234a; border: 1px solid rgba(143, 176, 255, .14); }
.bays li b { display: block; color: #fff; font-size: .86rem; }
.bays li div span { display: block; color: var(--d-muted, #a5b4d6); font-size: .74rem; }
.bays .status { justify-self: start; }
.bays .prog { width: 100%; height: 6px; }

/* pause when off-screen; reduced motion shows the first notification */
.js .ind-dash:not(.is-live) * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .ind-toast:first-child { opacity: 1; } .ind-toast + .ind-toast { display: none; } .js .ind-panel.is-active { animation: none; } }
@media (max-width: 460px) { .chairs, .bays { grid-template-columns: 1fr; } }
.ind-dash .prog i { animation: grow-x 1.2s cubic-bezier(.3, .7, .2, 1) both; animation-delay: var(--d, 0s); }
.tl-area { padding-bottom: 34px; }
.tl + .legend { margin-top: 10px; }
.pl-move { top: 138px; }
.ind-toast { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ind-toasts { margin-bottom: 4px; }
@media (max-width: 520px) { .ind-toast { font-size: .74rem; padding: 5px 11px; } }
