/* Smirta Innovations - OncoSmart site
   Primary #FF6224 | Secondary #333333 */
:root {
  --primary: #FF6224;
  --primary-dark: #D9480F;   /* darker shade for text/links on white (AA contrast) */
  --primary-tint: #FFF3ED;
  --secondary: #333333;
  --secondary-deep: #262626;
  --ink: #262626;
  --muted: #5b5b5b;
  --line: #e7e2de;
  --bg: #ffffff;
  --soft: #faf7f5;
  --ok: #1d7a46;
  --err: #b3261e;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(38, 38, 38, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--secondary); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
section { padding: 72px 0; }
.soft { background: var(--soft); }
.tint { background: var(--primary-tint); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--primary-dark); margin-bottom: .8em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: #111; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-block; background: var(--primary); color: #fff; font-weight: 700; font-size: 1rem; border: 2px solid var(--primary); padding: 13px 26px; border-radius: 999px; text-decoration: none; cursor: pointer; font-family: var(--font); transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: #ff7a45; border-color: #ff7a45; color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--secondary); border-color: var(--secondary); }
.btn-outline:hover { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--secondary); }
.btn-sm { padding: 9px 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 46px; width: auto; }
#site-nav { display: flex; align-items: center; gap: 22px; }
#site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
#site-nav a:not(.btn), .sub-toggle { color: var(--secondary); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; font-family: var(--font); display: inline-flex; align-items: center; gap: 6px; }
#site-nav a:not(.btn):hover, .sub-toggle:hover { color: var(--primary-dark); background: var(--primary-tint); }
#site-nav a[aria-current="page"], .has-sub.current > .sub-toggle { color: var(--primary-dark); }
.sub-toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: none; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
.sub a { display: block !important; width: 100%; }
#nav-toggle { display: none; background: none; border: 2px solid var(--secondary); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-family: var(--font); color: var(--secondary); cursor: pointer; }

/* Page hero / band */
.hero { background: var(--secondary); color: #fff; position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero::before { content: ""; position: absolute; right: -160px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,98,36,.55), rgba(255,98,36,0) 70%); }
.hero .container { position: relative; }
.hero h1, .hero h2 { color: #fff; }
.hero h1 sup { font-size: .4em; vertical-align: super; }
.hero .lead { color: #e6e1de; }
.hero .eyebrow { color: var(--primary); }
.hero-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: center; }
.stat-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 10px 28px; backdrop-filter: blur(4px); }
.stat { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.stat:last-child { border-bottom: 0; }
.stat strong { display: block; font-size: 2.6rem; line-height: 1; color: var(--primary); }
.stat span { color: #f1ecea; }
.page-band { background: var(--secondary); color: #fff; padding: 56px 0 52px; position: relative; overflow: hidden; }
.page-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,98,36,.5), rgba(255,98,36,0) 70%); }
.page-band .container { position: relative; z-index: 1; }
.page-band h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .3em; }
.page-band p { color: #e6e1de; max-width: 70ch; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 14px; color: #cfc8c4; }
.crumbs a { color: #fff; }
.crumbs span { margin: 0 6px; opacity: .6; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card .more { font-weight: 700; text-decoration: none; }
.card .more::after { content: " \2192"; }
.card.link { display: flex; flex-direction: column; }
.card.link .more { margin-top: auto; }
.card-media { margin: -28px -28px 20px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 210px; object-fit: cover; }
.badge { display: inline-block; background: var(--primary-tint); color: var(--primary-dark); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.module-num { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding: 6px 0 6px 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 15px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(40deg); }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin: 26px 0; }
.result { background: var(--secondary); color: #fff; border-radius: var(--radius); padding: 22px; }
.result strong { display: block; font-size: 2.3rem; line-height: 1.05; color: var(--primary); }
.quote { border-left: 5px solid var(--primary); }
.quote p { font-size: 1.05rem; }
.quote cite { font-style: normal; font-weight: 700; display: block; color: var(--secondary); }
.quote small { color: var(--muted); }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.logos figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 92px; display: grid; place-items: center; padding: 12px; }
.logos img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.video { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.meta { color: var(--muted); font-size: .95rem; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose li { margin-bottom: .4em; }
.info-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list small { display: block; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; font-size: .75rem; }
details.role { border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; background: #fff; margin-bottom: 12px; }
details.role summary { cursor: pointer; font-weight: 700; padding: 12px 0; }

/* Forms */
form.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.form legend { font-weight: 800; color: var(--secondary); font-size: 1.05rem; padding: 0; margin-bottom: 12px; border-bottom: 3px solid var(--primary); display: inline-block; }
.row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { margin-bottom: 16px; }
.field label, .field .lbl { display: block; font-weight: 600; margin-bottom: 5px; font-size: .95rem; }
.field .req { color: var(--primary-dark); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field input[type=number], .field select, .field textarea, .field input[type=file] { width: 100%; padding: 12px 14px; font: inherit; border: 1.5px solid #cfc8c4; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(255,98,36,.35); border-color: var(--primary); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.err { color: var(--err); font-size: .85rem; min-height: 1.1em; margin-top: 4px; }
.options { display: grid; gap: 8px; }
.options label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 0; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.options label:hover { border-color: var(--primary); background: var(--primary-tint); }
.options input { margin-top: 5px; accent-color: var(--primary); }
.hidden { display: none; }
.msg { display: none; border-radius: 10px; padding: 14px 16px; margin-top: 16px; font-weight: 600; }
.msg.ok { background: #e7f5ec; color: var(--ok); border: 1px solid #b7dfc7; }
.msg.bad { background: #fdeceb; color: var(--err); border: 1px solid #f3c1be; }
.msg.show { display: block; }
.demo-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }

/* Footer */
.site-footer { background: var(--secondary); color: #e6e1de; padding: 64px 0 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--primary); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-logo { width: 220px; margin: -20px 0 8px -10px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); display: grid; place-items: center; }
.social a:hover { background: var(--primary); border-color: var(--primary); }
.social a:hover svg { fill: #fff; }
.social svg { width: 18px; height: 18px; fill: #fff; }
.social-dark a { border-color: var(--secondary); }
.social-dark svg { fill: var(--secondary); }
.social-dark a:hover svg { fill: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.18); margin-top: 40px; padding-top: 22px; font-size: .9rem; }

/* Cookie banner */
#cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin-inline: auto; background: var(--secondary-deep); color: #f1ecea; border-radius: 14px; padding: 16px 20px; display: none; gap: 16px; align-items: center; z-index: 90; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
#cookie.show { display: flex; }
#cookie p { margin: 0; font-size: .92rem; }
#cookie a { color: var(--primary); }
#cookie button { flex-shrink: 0; }

/* ---- Landing page hero (home) ---- */
[id] { scroll-margin-top: 92px; }
.btn-grad { background: linear-gradient(135deg, #F2561A 0%, #D9480F 100%); color: #fff; border: 0; border-radius: 8px; box-shadow: 0 6px 16px rgba(217, 72, 15, .28); padding: 14px 28px; }
.btn-grad:hover { background: linear-gradient(135deg, #FF6224 0%, #E04A12 100%); color: #fff; border: 0; }
.btn-grad.btn-sm { padding: 11px 22px; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

.landing { padding-top: 96px !important; position: relative; overflow: hidden; isolation: isolate; padding: 56px 0; background: #fff; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.landing .container { width: min(1280px, 100% - 48px); }
.landing-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--secondary); font-weight: 600; text-decoration: none; padding: 8px 22px 8px 10px; border-radius: 999px; box-shadow: 0 4px 18px rgba(38, 38, 38, .12); margin-bottom: 28px; }
.pill:hover { color: var(--primary-dark); }
.pill-play { width: 34px; height: 34px; border-radius: 50%; background: #fff0e8; display: grid; place-items: center; }
.pill-play svg { width: 14px; height: 14px; fill: var(--secondary); }
.landing h1 { margin: 0 0 .6em; font-size: 1rem; }
.wordmark { display: block; width: fit-content; font-size: clamp(3rem, 6.5vw, 4.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: var(--primary);
  background: linear-gradient(90deg, #FF9D1F 0%, #FF6224 55%, #F0480F 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wordmark sup { font-size: .3em; vertical-align: super; }
.headline { display: block; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1.2; color: var(--secondary); margin-top: 18px; max-width: 15em; }
.landing-sub { font-size: 1.08rem; color: #2f2f2f; max-width: 52ch; margin: 0 0 30px; }

.dash-wrap { position: relative; padding-bottom: 150px; margin-bottom: 26px; }
.dash { display: flex; background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(38, 38, 38, .14); border: 1px solid #efe9e4; overflow: hidden; }
.dash-side { width: 56px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 18px 0; border-right: 1px solid #f0ebe7; color: #555; }
.dash-logo { width: 28px; height: 28px; margin-bottom: 6px; }
.ico { width: 18px; height: 18px; }
.dash-main { flex: 1; padding: 18px 20px 70px; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: .95rem; }
.chip { font-size: .72rem; border: 1px solid #e6dfd9; border-radius: 8px; padding: 5px 10px; color: #555; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border: 1px solid #efe9e4; border-radius: 10px; padding: 10px 10px 8px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.k-l { font-size: .62rem; color: #555; }
.kpi strong { font-size: 1.35rem; line-height: 1.2; color: var(--secondary); }
.k-d { font-size: .58rem; color: var(--ok); }
.spark { width: 100%; height: 26px; margin-top: 6px; }
.dash-front { position: absolute; left: 13%; right: -4%; bottom: 0; display: grid; grid-template-columns: 1.25fr 1fr .9fr; gap: 10px; background: #fff; border: 1px solid #efe9e4; border-radius: 12px; padding: 12px; box-shadow: 0 18px 50px rgba(38, 38, 38, .16); }
.panel { background: #fff; border: 1px solid #f0ebe7; border-radius: 10px; padding: 10px 12px; min-width: 0; }
.p-t { display: block; font-size: .68rem; font-weight: 700; margin-bottom: 6px; color: var(--secondary); }
.legend { display: flex; gap: 12px; font-size: .58rem; color: #555; margin-bottom: 2px; }
.legend i { display: inline-block; width: 12px; height: 0; border-top: 2px solid var(--primary); vertical-align: middle; margin-right: 4px; }
.legend i.l2 { border-top: 2px dashed #9a9a9a; }
.panel > svg { width: 100%; height: auto; display: block; }
.bar { display: grid; grid-template-columns: 66px 1fr 28px; align-items: center; gap: 6px; font-size: .58rem; margin-bottom: 7px; }
.track { height: 5px; background: #f1ece8; border-radius: 99px; overflow: hidden; }
.track i { display: block; height: 100%; background: var(--primary); border-radius: 99px; }
.bar b { text-align: right; font-weight: 600; }
.alert { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 9px; }
.a-ico { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.alert strong { display: block; font-size: .62rem; line-height: 1.2; }
.alert small { font-size: .56rem; color: #666; }
.view-all { font-size: .6rem; color: var(--primary-dark); font-weight: 700; text-decoration: none; }
.dash-note { position: absolute; right: 0; bottom: -26px; margin: 0; font-size: .72rem; color: #6b6b6b; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 52px; padding: 0 4%; }
.benefit .b-ico { width: 30px; height: 30px; color: var(--primary); margin-bottom: 12px; }
.benefit h3 { font-size: 1.05rem; margin-bottom: .3em; }
.benefit p { margin: 0; color: #3d3d3d; }
.numbers { padding: 40px 0; background: #fff; border-bottom: 1px solid var(--line); }
.numbers .container { width: 100%; max-width: none; margin: 0; padding: 0 clamp(16px, 4vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.num { padding: 6px 12px; }
.num + .num { border-left: 1px solid var(--line); }
.num strong { display: block; font-size: clamp(1.9rem, 5vw, 3.8rem); line-height: 1.05; color: var(--primary); }
.num span { color: var(--muted); }
@media (max-width: 1100px) {
  .landing-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); padding: 0; }
}
@media (max-width: 760px) {
  .landing { padding: 40px 0; }
  .dash-wrap { padding-bottom: 0; margin-bottom: 30px; }
  .dash-main { padding-bottom: 20px; }
  .dash-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-front { position: static; grid-template-columns: 1fr; margin-top: 12px; }
  .dash-note { bottom: -24px; }
  .benefits { grid-template-columns: 1fr; }
}

/* ---- Module icons ---- */
.module-icon { width: 64px; height: 64px; margin-bottom: 16px; filter: drop-shadow(0 6px 10px rgba(38, 38, 38, .18)); }
.band-id { display: flex; align-items: center; gap: 22px; }
.band-icon { width: 84px; height: 84px; flex-shrink: 0; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .35)); }
.band-id h1 { margin-bottom: .2em; }

/* ---- Client logos: full-width continuous scroll ---- */
.clients { padding: 34px 0; overflow: hidden; }
.marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 14px; padding-right: 14px; }
.marquee figure { flex: 0 0 190px; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 96px; display: grid; place-items: center; padding: 12px; }
.marquee img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .marquee-track { animation: none; } }

/* ---- Fade-up on scroll (every top-level section) ---- */
.js-reveal main > section { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal main > section.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal main > section { opacity: 1; transform: none; transition: none; } }

@media (max-width: 600px) {
  .band-id { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---- Homepage: transparent navbar over the hero, white once scrolled ---- */
.site-header { transition: background .25s, box-shadow .25s, border-color .25s; }
.site-header.over-hero { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; }
.site-header.over-hero.scrolled { background: #fff; border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(0, 0, 0, .06); }
@media (max-width: 980px) { .site-header.over-hero:not(.scrolled):has(#site-nav.open) { background: #fff; } }

/* ---- Advantage section (light) ---- */
.why { background: #fff; border-top: 1px solid var(--line); padding: 80px 0; }
.why .lead { max-width: 95ch; }
@media (max-width: 800px) { .why { padding: 56px 0; } }

/* ---- OncoSmart advantage + From insight to action ---- */
.adv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.adv-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 6px 20px rgba(0, 0, 0, .04); transition: transform .2s, box-shadow .2s, border-color .2s, background .2s; }
.adv-card:hover { transform: translateY(-4px); background: #fff; border-color: var(--primary); box-shadow: 0 16px 38px rgba(0, 0, 0, .1), 0 0 26px rgba(255, 98, 36, .22); }
.adv-icon { width: 50px; height: 50px; border-radius: 13px; background: rgba(255, 98, 36, .12); color: var(--primary); display: grid; place-items: center; margin-bottom: 20px; }
.adv-icon svg { width: 24px; height: 24px; }
.adv-card h3 { font-size: 1.15rem; margin-bottom: .4em; color: var(--primary-dark); }
.adv-card p { margin: 0; color: var(--ink); font-size: .98rem; }
.steps { display: grid; gap: 22px; margin-top: 30px; }
.step { display: flex; gap: 18px; }
.step-num { flex: 0 0 40px; height: 40px; border-radius: 11px; background: var(--primary-tint); border: 1px solid #ffd2bd; color: var(--primary-dark); font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 1.05rem; margin-bottom: .2em; }
.step p { margin: 0; color: var(--muted); }
.insight-panel { background: var(--secondary); color: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.insight-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.insight-top strong { font-size: 1.1rem; }
.insight-top span { font-size: .78rem; color: #ff9a6c; font-weight: 700; }
.bubble { border-radius: 14px; padding: 15px 18px; font-size: .95rem; margin: 14px 0; max-width: 92%; }
.bubble-user { margin-left: auto; background: #4b4b4b; color: #fff; }
.bubble-ai { background: #fff5f0; color: #2b2b2b; }
.bubble-ai b { display: block; color: var(--primary-dark); font-size: .78rem; margin-bottom: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pills span { font-size: .75rem; border: 1px solid #6a6a6a; border-radius: 999px; padding: 7px 12px; color: #e6e1de; }
@media (max-width: 980px) { .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .adv-grid { grid-template-columns: 1fr; } .insight-panel { padding: 24px 20px; } }

/* ---- Landing animations ---- */
@keyframes riseIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drawIcon { to { stroke-dashoffset: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 98, 36, .45); } 70% { box-shadow: 0 0 0 12px rgba(255, 98, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 98, 36, 0); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08) translate(-1.5%, 1%); } }
.dash { animation: riseIn .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
.dash-front { animation: riseIn .9s cubic-bezier(.2, .7, .2, 1) .45s both; }
.kpi { animation: riseIn .6s ease both; }
.kpi:nth-child(1) { animation-delay: .5s; } .kpi:nth-child(2) { animation-delay: .62s; } .kpi:nth-child(3) { animation-delay: .74s; } .kpi:nth-child(4) { animation-delay: .86s; }
.spark { animation: wipe 1.3s ease .9s both; }
.panel > svg { animation: wipe 1.5s ease 1.1s both; }
.track i { transform-origin: left center; animation: grow 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.bar:nth-child(2) .track i { animation-delay: 1.2s; } .bar:nth-child(3) .track i { animation-delay: 1.3s; } .bar:nth-child(4) .track i { animation-delay: 1.4s; } .bar:nth-child(5) .track i { animation-delay: 1.5s; } .bar:nth-child(6) .track i { animation-delay: 1.6s; }
.alert { animation: riseIn .6s ease both; }
.alert:nth-child(2) { animation-delay: 1.3s; } .alert:nth-child(3) { animation-delay: 1.45s; } .alert:nth-child(4) { animation-delay: 1.6s; }
.pill-play { animation: ring 2.4s ease-out 1.5s infinite; }
.benefit { animation: riseIn .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.9s + var(--i, 0) * .15s); }
.benefit .b-ico path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawIcon 1.2s ease forwards; animation-delay: calc(1.1s + var(--i, 0) * .15s); }
.benefit h3 { transition: color .2s; }
.benefit:hover h3 { color: var(--primary-dark); }
@media (prefers-reduced-motion: reduce) {
  .dash, .dash-front, .kpi, .spark, .panel > svg, .track i, .alert, .pill-play, .benefit, .benefit .b-ico path { animation: none !important; }
  .benefit .b-ico path { stroke-dashoffset: 0; }
}

/* ---- Video modal ---- */
.vmodal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(15, 15, 18, .82); backdrop-filter: blur(4px); animation: fadeIn .25s ease; }
.vmodal[hidden] { display: none; }
.vmodal-box { position: relative; width: min(960px, 100%); animation: popIn .3s cubic-bezier(.2, .8, .2, 1); }
.vmodal-box .video { box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.vmodal-close { position: absolute; right: 0; top: -48px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: #222; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.vmodal-close:hover { background: var(--primary); color: #fff; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
body.modal-open { overflow: hidden; }

/* ---- Typing demo (Operations intelligence) ---- */
.typing-ready .bubble { transition: opacity .3s; }
.typing-ready .bubble.pending, .typing-ready .pills.pending { opacity: 0; }
.typing-ready .pills span { transition: opacity .4s, transform .4s; }
.typing-ready .pills.pending span { transform: translateY(8px); }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.15em; background: currentColor; animation: blink 1s steps(1) infinite; }
.dots { display: inline-flex; gap: 5px; padding: 4px 0; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-dark); opacity: .35; animation: dot 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* ---- Click-to-play video poster ---- */
.yt-facade { background: #1d1d1d; }
.yt-play { position: absolute; inset: 0; display: block; cursor: pointer; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .4s; }
.yt-play:hover img { opacity: 1; transform: scale(1.02); }
.yt-btn { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: background .2s, transform .2s; }
.yt-btn svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.yt-play:hover .yt-btn { background: #ff7a45; transform: scale(1.06); }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split, .demo-wrap { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  #nav-toggle { display: block; }
  #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 20px 22px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  #site-nav.open { display: flex; }
  #site-nav > ul { flex-direction: column; align-items: stretch; }
  .sub { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .site-header .container { position: relative; }
}
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  #cookie.show { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* ---- Counters ribbon: dark background, white numbers ---- */
.numbers { background: var(--secondary); border-bottom: 0; }
.num + .num { border-left-color: rgba(255, 255, 255, .18); }
.num strong { color: #fff; }
.num span { color: #e6e1de; }

/* ---- Results KPI cards ---- */
.story { padding: 80px 0; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 36px; }
.story-org { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 18px 10px 10px; margin-bottom: 28px; }
.story-org-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; }
.story-org-ico svg { width: 22px; height: 22px; }
.story-org strong { font-size: 1.05rem; color: var(--ink); }
.story-org-meta { color: var(--muted); font-size: .95rem; }
.story-quote { margin: 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--primary); }
.story-quote blockquote { margin: 0; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.5; color: var(--secondary); }
.story-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; color: var(--muted); font-size: .95rem; line-height: 1.35; }
.story-quote figcaption strong { display: block; color: var(--ink); font-size: 1.05rem; }
.story-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; flex: none; }
.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.result-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; text-align: left; box-shadow: 0 6px 20px rgba(0, 0, 0, .04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.result-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 16px 38px rgba(0, 0, 0, .1), 0 0 26px rgba(255, 98, 36, .2); }
.result-card strong { display: block; font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.05; color: var(--primary); }
.result-card span { display: block; margin-top: 8px; color: var(--secondary); font-weight: 500; font-size: 1.05rem; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .story { padding: 56px 0; } .story-quote { padding-left: 18px; } }
@media (max-width: 520px) { .result-grid { grid-template-columns: 1fr; } }

/* ---- Client voices (featured clients style) ---- */
.voices { padding: 80px 0; }
.voice-cols { columns: 3 300px; column-gap: 24px; margin-top: 36px; }
.voice { break-inside: avoid; margin: 0 0 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px 26px; box-shadow: 0 6px 20px rgba(0, 0, 0, .04); position: relative; transition: transform .2s, box-shadow .2s, border-color .2s; }
.voice:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 16px 38px rgba(0, 0, 0, .1), 0 0 26px rgba(255, 98, 36, .2); }
.voice::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 4.2rem; line-height: .6; height: 34px; color: var(--primary); }
.voice blockquote { margin: 0 0 22px; font-size: 1.02rem; line-height: 1.65; color: var(--ink); }
.voice figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; line-height: 1.35; }
.voice figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.voice-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; flex: none; }
.voice-video { display: flex; align-items: center; gap: 14px; margin: 4px 0 22px; padding: 22px 18px; border-radius: 14px; background: var(--secondary); color: #fff; font-weight: 600; text-decoration: none; }
.voice-video:hover { background: #222; color: #fff; }
.voice-video .pill-play { background: var(--primary); animation: none; flex: none; }
.voice-video .pill-play svg { fill: #fff; }
@media (max-width: 800px) { .voices { padding: 56px 0; } }
.voice:has(.voice-video)::before { display: none; }

/* ---- Client voices: one testimonial at a time, stacking as you scroll ---- */
.voice-cols { columns: auto; display: block; max-width: 920px; margin-top: 40px; padding-bottom: 8px; }
.voice { position: sticky; top: calc(96px + var(--i, 0) * 18px); z-index: calc(1 + var(--i, 0)); margin: 0 0 56px; padding: 40px 44px 32px; border-radius: 24px; background: #fff; box-shadow: 0 -6px 30px rgba(0, 0, 0, .07), 0 12px 34px rgba(0, 0, 0, .08); }
.voice:last-child { margin-bottom: 0; }
.voice:hover { transform: none; border-color: var(--line); box-shadow: 0 -6px 30px rgba(0, 0, 0, .07), 0 12px 34px rgba(0, 0, 0, .08); }
.voice::before { font-size: 5rem; height: 44px; }
.voice blockquote { font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.65; }
.voice-video { padding: 30px 24px; font-size: 1.1rem; }
@media (max-width: 800px) {
  .voice { position: static; padding: 28px 22px 22px; margin-bottom: 20px; }
}


/* Spam honeypot: invisible to people, tempting to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Demo request popup ---- */
.form-box { background: #fff; border-radius: 20px; padding: 36px 36px 30px; max-width: 560px; max-height: calc(100vh - 48px); overflow-y: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.form-box h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.form-box .lead { margin: 0 0 22px; font-size: 1rem; }
.form-box .vmodal-close { top: 14px; right: 14px; background: var(--soft); }
.form-box .vmodal-close:hover { background: var(--primary); color: #fff; }
@media (max-width: 560px) { .form-box { padding: 28px 20px 22px; } }
.form-box .form { border: 0; box-shadow: none; padding: 0; background: none; }

/* ---- Uniform illustration frame ---- */
.viz { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; width: 100%; }
.viz-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--secondary); }
.viz-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e0d6d0; }
.viz-bar i:first-child { background: var(--primary); }
.viz-bar span { margin-left: 8px; }
.viz-body { padding: 16px 16px 10px; }
.viz svg { display: block; width: 100%; height: auto; }
.viz .vt { font-size: 11px; fill: #55555f; font-family: inherit; }
.viz .vo { fill: var(--primary-dark); font-weight: 700; }

/* ---- Before / after comparison slider ---- */
.ba { position: relative; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); background: #fff; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba-before img, .ba-after img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.ba-before { position: relative; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba .viz { border: 0; border-radius: 0; box-shadow: none; height: 100%; }
.ba-tag { position: absolute; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(51, 51, 51, .85); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; z-index: 2; }
.ba-tag-b { left: 14px; }
.ba-tag-a { right: 14px; background: var(--primary); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 0 14px rgba(0, 0, 0, .25); pointer-events: none; z-index: 3; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); display: grid; place-items: center; }
.ba-knob svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; }
.ba:focus-within .ba-knob { outline: 3px solid rgba(255, 98, 36, .45); outline-offset: 3px; }

/* webinars: two-column, white-papers card style */
.web-point{font-weight:700;color:var(--ink);margin:0 0 10px}
.web-media{padding:0;overflow:hidden}
.web-media .video{margin:0;border-radius:0}

/* Rich dropdown menu items: icon, title, description */
.sub { min-width: 340px; padding: 10px; margin-top: 6px; border-radius: 16px; box-shadow: 0 18px 44px rgba(60,30,10,.14), 0 2px 8px rgba(0,0,0,.05); }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
#site-nav .sub a:not(.btn) { display: flex !important; align-items: flex-start; gap: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 400; }
#site-nav .sub a:not(.btn):hover, #site-nav .sub a[aria-current="page"] { background: var(--primary-tint); }
.sub .mi { flex: none; width: 28px; height: 28px; display: grid; place-items: center; color: var(--primary); margin-top: 2px; }
.sub .mi svg { width: 26px; height: 26px; }
.sub .mt { display: block; }
.sub .mt strong { display: block; color: var(--secondary); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.sub .mt small { display: block; margin-top: 4px; color: var(--muted); font-size: .92rem; font-weight: 500; line-height: 1.5; }
.has-sub:hover > .sub-toggle::after, .has-sub:focus-within > .sub-toggle::after, .has-sub.open > .sub-toggle::after { transform: rotate(225deg) translate(-1px, -1px); }
@media (max-width: 980px) { .sub { min-width: 0; margin-top: 0; padding: 0 0 0 6px; box-shadow: none; } .sub::before { display: none; } #site-nav .sub a:not(.btn) { padding: 10px 12px; } }

/* Team page chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.chip { background: var(--primary-tint); color: var(--primary-dark); font-weight: 700; font-size: .92rem; padding: 7px 16px; border-radius: 999px; }

/* Legal pages */
.legal { max-width: 860px; }
.legal .legal-meta { color: var(--muted); font-size: .95rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 8px; color: var(--secondary); }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal li > p { margin: 0; }
