/* ============================================================
   SYCENTA — Design System v2 "Editorial"
   Canvas: warm paper · Ink navy text · Single violet accent
   Type: Newsreader (display) / Inter (body)
   The only dark surfaces: product-UI mockups + footer
   ============================================================ */

:root {
  /* light editorial palette (body). The hero is dark via its own styles. */
  --paper: #fafaf7;
  --white: #ffffff;
  --ink: #1a1b25;
  --ink-soft: #454754;
  --muted: #6e7079;
  --muted-2: #9a9ca6;
  --hairline: #e8e6e0;
  --hairline-dark: #d6d3ca;
  --violet: #5b4cdb;
  --violet-bright: #8b7bff;
  --violet-soft: rgba(91, 76, 219, 0.08);
  --navy: #14151f;
  --navy-2: #1c1e2b;
  --navy-line: rgba(250, 250, 247, 0.1);
  --shadow-soft: 0 8px 30px rgba(26, 27, 37, 0.06);
  --shadow-deep: 0 16px 50px rgba(26, 27, 37, 0.12);
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Inter", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(91, 76, 219, 0.18); color: var(--ink); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

/* single accent utility (was gradient) */
.grad-text, .accent { color: var(--violet); }

.container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
}
.preloader .pre-mark { width: 52px; height: 52px; }
.preloader .pre-word {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.5em; text-indent: 0.5em;
  color: var(--muted); text-transform: uppercase;
}
.preloader.is-done { transition: opacity 0.6s, visibility 0.6s; opacity: 0; visibility: hidden; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}
.nav-inner {
  width: min(1400px, calc(100% - 48px)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo svg { width: 28px; height: 28px; }
.nav-logo .logo-word {
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--violet);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { transform: scaleX(1); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 13px 26px; border-radius: 10px;
  border: 1px solid var(--hairline-dark);
  color: var(--ink); background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}
.btn:hover { border-color: var(--ink); box-shadow: var(--shadow-soft); }
.btn.btn-solid { background: var(--violet); border-color: var(--violet); color: #fff; }
.btn.btn-solid:hover { background: #4b3dc4; border-color: #4b3dc4; box-shadow: 0 8px 24px rgba(91, 76, 219, 0.28); }

.nav-burger { display: none; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 92svh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-inner {
  position: relative; z-index: 2;
  width: min(1400px, calc(100% - 48px)); margin: 0 auto;
  padding-top: var(--nav-h);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 38px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--violet); }
.hero-title {
  font-size: clamp(52px, 7.2vw, 108px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
.hero-sub {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 32px;
}
.hero-sub p { max-width: 540px; font-size: 18px; color: var(--muted); line-height: 1.7; }
.hero-sub p strong { color: var(--ink); font-weight: 500; }
.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted-2);
}
.hero-scroll .scroll-line { width: 1px; height: 48px; background: var(--hairline-dark); }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 24px 0;
  overflow: hidden;
  background: var(--paper);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item {
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.marquee-item i { width: 5px; height: 5px; border-radius: 50%; background: var(--violet); flex-shrink: 0; opacity: 0.7; }

/* ---------- sections ---------- */
.section { position: relative; padding: 150px 0; }
.section-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 30px;
}
.section-tag::before { content: ""; width: 34px; height: 1px; background: var(--violet); }
.section-tag .num { color: var(--muted-2); }

/* ---------- statement ---------- */
.statement { padding: 170px 0 150px; }
.statement-text {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 500; line-height: 1.18; letter-spacing: -0.015em;
  max-width: 1060px;
}
.statement-text .w { display: inline-block; color: rgba(26, 27, 37, 0.16); transition: color 0.35s; }
.statement-text .w.is-lit { color: var(--ink); }
.statement-text .w.accent.is-lit { color: var(--violet); }
.statement-foot { margin-top: 56px; max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.75; }

/* ---------- services ---------- */
.services { background: var(--paper); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.services-head {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 30px; margin-bottom: 80px;
}
.services-head h2 { font-size: clamp(38px, 4.6vw, 62px); max-width: 640px; }
.services-head p { max-width: 400px; color: var(--muted); font-size: 16px; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--hairline);
  background: var(--hairline);
  gap: 1px;
  border-radius: 16px; overflow: hidden;
}
.svc-card {
  background: var(--white);
  padding: 52px 38px 52px;
  position: relative;
  min-height: 300px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  isolation: isolate;
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out), opacity 0.4s ease;
}
/* cursor-following spotlight — JS feeds --mx / --my per card */
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(91, 76, 219, 0.09), transparent 62%);
  transition: opacity 0.4s ease;
}
/* focus effect: when the grid is hovered, non-hovered cards recede */
.services-grid:hover .svc-card { opacity: 0.55; }
.services-grid:hover .svc-card:hover { opacity: 1; }
.svc-card:hover {
  box-shadow: 0 24px 60px rgba(26,27,37,0.13);
  transform: translateY(-6px);
  z-index: 2;
}
.svc-card:hover::before { opacity: 1; }
.svc-card .svc-num { display: none; }
.svc-card .svc-icon {
  width: 42px; height: 42px; margin: 0 0 22px;
  transition: transform 0.55s var(--spring);
}
.svc-card:hover .svc-icon { transform: translateY(-3px) scale(1.08); }
.svc-card .svc-icon svg { width: 100%; height: 100%; overflow: visible; }
.svc-card .svc-icon svg [stroke] { stroke: var(--ink); transition: stroke 0.4s ease; }
.svc-card .svc-icon svg [fill]:not([fill="none"]) { fill: var(--violet); }
.svc-card:hover .svc-icon svg [stroke] { stroke: var(--violet); }
.svc-card h3 { font-size: 23px; margin-bottom: 12px; transition: color 0.3s ease; }
.svc-card:hover h3 { color: var(--violet); }
.svc-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
/* Explore → reveal */
.svc-card .svc-go {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 22px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--violet); text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.svc-card .svc-go i { font-style: normal; transition: transform 0.4s var(--spring); }
.svc-card:hover .svc-go { opacity: 1; transform: translateY(0); }
.svc-card:hover .svc-go i { transform: translateX(5px); }
/* growing violet underline along the bottom edge */
.svc-card .svc-line {
  display: block; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, var(--violet), #8b7bff);
  transition: transform 0.5s var(--ease-out);
}
.svc-card:hover .svc-line { transform: scaleX(1); }
/* CTA capstone tile in the disciplines grid */
.svc-card.svc-cta { background: linear-gradient(180deg, rgba(91, 76, 219, 0.06), rgba(91, 76, 219, 0.02)); }
.svc-card.svc-cta h3 { color: var(--violet); }
.svc-card.svc-cta .svc-icon svg [stroke] { stroke: var(--violet); }
.svc-card.svc-cta .svc-go { opacity: 1; transform: none; }

/* ---------- model ---------- */
.model { overflow: clip; }
.model-sticky { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.model-left { position: sticky; top: 140px; }
.model-left h2 { font-size: clamp(38px, 4.6vw, 62px); max-width: 480px; margin-bottom: 26px; }
.model-left p { color: var(--muted); max-width: 420px; font-size: 16px; line-height: 1.75; }
.model-progress { margin-top: 46px; width: 200px; height: 1px; background: var(--hairline-dark); position: relative; }
.model-progress .mp-fill { position: absolute; inset: 0; background: var(--violet); transform: scaleX(0); transform-origin: left; }
.model-steps { display: flex; flex-direction: column; gap: 24px; }
.model-step {
  border: 1px solid var(--hairline); border-radius: 16px;
  background: var(--white);
  padding: 48px 46px 50px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.model-step .ms-num {
  position: absolute; top: 18px; right: 34px;
  font-family: var(--font-display); font-size: 120px; font-weight: 500;
  color: rgba(26, 27, 37, 0.07);
  line-height: 1; pointer-events: none;
}
.model-step h3 { font-size: 27px; margin-bottom: 14px; position: relative; }
.model-step p { color: var(--muted); font-size: 15.5px; line-height: 1.75; position: relative; max-width: 520px; }

/* ---------- stack (technology) ---------- */
.stack { background: var(--paper); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stack-head { max-width: 760px; margin-bottom: 80px; }
.stack-head h2 { font-size: clamp(38px, 4.6vw, 62px); margin-bottom: 24px; }
.stack-head p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.stack-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: start; }

/* ----- layered operating stack (the section centerpiece) ----- */
.tech-layers { position: relative; padding-left: 6px; }
.tl-spine {
  position: absolute; left: 30px; top: 30px; bottom: 30px; width: 2px;
  background: var(--hairline); overflow: hidden; border-radius: 2px;
}
.tl-pulse {
  position: absolute; left: -1px; width: 4px; height: 64px; border-radius: 4px;
  background: linear-gradient(to top, transparent, var(--violet), transparent);
  animation: tlPulse 3.8s linear infinite;
}
@keyframes tlPulse { from { top: 100%; } to { top: -64px; } }
.tlayer { position: relative; display: grid; grid-template-columns: 62px 1fr; align-items: start; }
.tlayer + .tlayer { margin-top: 14px; }
.tl-node {
  width: 15px; height: 15px; border-radius: 50%; margin: 24px auto 0;
  background: var(--paper); border: 2px solid var(--muted-2);
  position: relative; z-index: 1; transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.tl-body {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 22px 26px; box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease-out), border-color 0.4s, box-shadow 0.45s var(--ease-out);
}
.tlayer:hover .tl-body {
  transform: translateX(5px);
  border-color: rgba(91, 76, 219, 0.4);
  box-shadow: 0 18px 46px rgba(26, 27, 37, 0.12);
}
.tlayer:hover .tl-node {
  background: var(--violet); border-color: var(--violet);
  box-shadow: 0 0 0 5px rgba(91, 76, 219, 0.14);
}
.tl-top { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.tl-idx { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--violet); }
.tl-tag {
  font-family: var(--font-body); font-size: 10px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--muted-2);
  border: 1px solid var(--hairline); padding: 3px 10px; border-radius: 20px;
}
.tl-body h3 { font-size: 20px; margin-bottom: 7px; }
.tl-body p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* ----- supporting aside ----- */
.tech-aside { position: sticky; top: 130px; }
.tech-aside > h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 20px; }
.tech-aside > p { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 40px; }

/* ---------- dark app-UI mockup cards (the ONLY dark surfaces besides footer) ---------- */
.app-card {
  background: var(--navy);
  border-radius: 16px;
  box-shadow: var(--shadow-deep);
  color: #eceef6;
  overflow: hidden;
  will-change: transform;
}
.app-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--navy-line);
  background: var(--navy-2);
}
.app-chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(250,250,247,0.16); }
.app-chrome span {
  margin-left: 10px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; color: rgba(250,250,247,0.55);
}
.app-body { display: grid; grid-template-columns: 150px 1fr; }
.app-side {
  border-right: 1px solid var(--navy-line);
  padding: 18px 0; display: flex; flex-direction: column;
}
.as-item {
  font-size: 12.5px; color: rgba(250,250,247,0.45);
  padding: 9px 20px; border-left: 2px solid transparent;
}
.as-item.is-on { color: #fff; border-left-color: var(--violet); background: rgba(91,76,219,0.12); }
.app-main { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 18px; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ast {
  background: var(--navy-2); border: 1px solid var(--navy-line);
  border-radius: 10px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.ast small { font-size: 10.5px; color: rgba(250,250,247,0.45); letter-spacing: 0.04em; }
.ast b {
  font-size: 18px; font-weight: 600; color: #fff;
  font-variant-numeric: tabular-nums;
}
.ast em { font-style: normal; font-size: 11px; color: #6ee7c8; font-variant-numeric: tabular-nums; }
#sv-pulse { width: 100%; height: 72px; display: block; }
.app-rows { display: flex; flex-direction: column; }
.app-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 2px; border-top: 1px solid var(--navy-line);
  font-size: 12.5px; color: rgba(250,250,247,0.55);
}
.app-row b { font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.app-caption {
  margin-top: 14px; text-align: center;
  font-size: 12px; color: var(--muted-2);
}

/* ---------- ethos ---------- */
.close { padding: 130px 0 150px; text-align: center; }
.close-tag {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.28; letter-spacing: -0.015em;
  color: var(--ink); max-width: 840px; margin: 0 auto 40px;
}
.close .btn-outline-fill { margin: 0 auto; }
.btn-outline-fill {
  background: transparent; color: var(--violet);
  border: 1px solid var(--violet);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.btn-outline-fill:hover {
  background: var(--violet); color: #fff;
  transform: translateY(-2px);
}

/* ---------- cta ---------- */
.cta { padding: 30px 0 150px; }
.cta-panel {
  border: 1px solid var(--hairline); border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 90px 70px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 48px;
}
.cta-panel h2 { font-size: clamp(36px, 4.2vw, 58px); max-width: 620px; }
.cta-panel p { color: var(--muted); max-width: 480px; margin-top: 16px; font-size: 16px; }

/* ---------- footer (the single dark page section) ---------- */
.footer { background: var(--navy); color: rgba(250, 250, 247, 0.85); padding: 80px 0 44px; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 44px;
  padding-bottom: 54px; border-bottom: 1px solid var(--navy-line);
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; max-width: 320px; }
.footer-brand .nav-logo svg { width: 32px; height: 32px; }
.footer-brand .logo-word { color: #fff; }
.footer-brand p { color: rgba(250, 250, 247, 0.45); font-size: 14px; line-height: 1.7; }
.footer-cols { display: flex; gap: 90px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(250, 250, 247, 0.6); margin-bottom: 12px; font-weight: 600;
}
.footer-col a {
  display: block; color: rgba(250, 250, 247, 0.65); font-size: 14.5px;
  padding: 6px 0; transition: color 0.3s;
}
.footer-col a:hover { color: var(--violet-bright); }
.footer-bottom {
  padding-top: 34px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 16px;
  color: rgba(250, 250, 247, 0.35); font-size: 13px;
}

/* ---------- reveal utility ---------- */
.rv { opacity: 0; transform: translateY(20px); }

/* ============================================================
   Subpages
   ============================================================ */
.page-hero { position: relative; padding: calc(var(--nav-h) + 110px) 0 90px; }
.page-hero-tight { padding: calc(var(--nav-h) + 60px) 0 30px; }
.page-hero-tight + .serve-sec { padding-top: 60px; }
.page-hero h1 {
  font-size: clamp(46px, 6vw, 88px);
  letter-spacing: -0.02em; line-height: 1.02;
  max-width: 1000px;
}
.page-hero .ph-intro { margin-top: 34px; max-width: 640px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.page-hero .ph-intro strong { color: var(--ink); font-weight: 500; }

/* platform hero animated intro */
.plat-h1 { display: flex; flex-direction: column; gap: 2px; }
.plat-hero .ph-l2 { display: inline-block; }
.plat-hero .plat-rise { opacity: 0; transform: translateY(20px); }
.plat-hero .ph-l2 { opacity: 0; transform: translateX(90px); }
.plat-anim-done .plat-rise, .plat-anim-done .ph-l2 { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .plat-hero .plat-rise, .plat-hero .ph-l2 { opacity: 1 !important; transform: none !important; }
}

/* platform detail sections */
.plat-section { border-top: 1px solid var(--hairline); padding: 120px 0; }
.plat-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.plat-left { position: sticky; top: 130px; }
.plat-left .plat-num {
  font-family: var(--font-display); font-size: 64px; font-weight: 500;
  color: rgba(26, 27, 37, 0.1); display: block; margin-bottom: 10px; line-height: 1;
}
.plat-left h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 20px; }
.plat-left p { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 440px; }
.plat-left .plat-icon { width: 44px; height: 44px; margin-bottom: 24px; }
.plat-left .plat-icon svg { width: 100%; height: 100%; }
.plat-left .plat-icon svg [stroke] { stroke: var(--ink); }
.plat-left .plat-icon svg [fill]:not([fill="none"]) { fill: var(--violet); }
.plat-items { display: flex; flex-direction: column; }
.plat-item { border-bottom: 1px solid var(--hairline); padding: 28px 0; display: flex; gap: 24px; align-items: baseline; }
.plat-item:first-child { border-top: 1px solid var(--hairline); }
.plat-item .pi-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); flex-shrink: 0; transform: translateY(-2px); }
.plat-item h3 { font-size: 20px; margin-bottom: 8px; }
.plat-item p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* company page */
.principles { padding: 40px 0 150px; }
.principles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  border: 1px solid var(--hairline); background: var(--hairline);
  border-radius: 16px; overflow: hidden;
}
.principle { background: var(--white); padding: 50px 44px; transition: box-shadow 0.4s; position: relative; }
.principle:hover { box-shadow: var(--shadow-soft); z-index: 1; }
.principle .pr-num {
  font-family: var(--font-display); font-size: 40px; font-weight: 500;
  color: rgba(26, 27, 37, 0.1); display: block; margin-bottom: 18px; line-height: 1;
}
.principle h3 { font-size: 23px; margin-bottom: 12px; }
.principle p { color: var(--muted); font-size: 15px; line-height: 1.75; }

.structure { background: var(--paper); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.structure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.structure-copy h2 { font-size: clamp(32px, 3.8vw, 52px); margin-bottom: 24px; }
.structure-copy p { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 18px; }
.structure-copy p strong { color: var(--ink); font-weight: 500; }
/* structure diagram = dark app-UI card */
.structure-diagram { padding: 0; display: block; }
.structure-diagram .sd-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.sd-box {
  width: 100%; border-radius: 12px; padding: 20px 22px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.06em; color: #fff; text-align: left;
  background: var(--navy-2); border: 1px solid var(--navy-line);
  position: relative;
}
.sd-box small {
  display: block; font-weight: 400; color: rgba(250,250,247,0.5);
  font-size: 12.5px; letter-spacing: 0; margin-top: 6px; line-height: 1.6;
}
.sd-box.mso { border-color: rgba(91, 76, 219, 0.55); }
.sd-box.mso::after {
  content: "MSO"; position: absolute; top: 18px; right: 18px;
  font-size: 10px; letter-spacing: 0.12em; color: var(--violet);
  border: 1px solid rgba(91,76,219,0.5); border-radius: 100px; padding: 3px 9px;
}
.sd-box.clinic::after {
  content: "CLINICAL"; position: absolute; top: 18px; right: 18px;
  font-size: 10px; letter-spacing: 0.12em; color: #6ee7c8;
  border: 1px solid rgba(110,231,200,0.4); border-radius: 100px; padding: 3px 9px;
}
.sd-arrow { color: rgba(250,250,247,0.35); font-size: 18px; line-height: 1; }

/* contact page */
.contact-wrap { padding: 30px 0 150px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.contact-info h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 22px; }
.contact-info p { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 26px; max-width: 420px; }
.contact-note {
  border: 1px solid var(--hairline); border-radius: 14px; padding: 26px 28px;
  background: var(--white); box-shadow: var(--shadow-soft);
  color: var(--muted); font-size: 14.5px; line-height: 1.7;
}
.contact-note strong { color: var(--ink); font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cf-field { display: flex; flex-direction: column; gap: 9px; }
.cf-field label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.cf-field input, .cf-field select, .cf-field textarea {
  background: var(--white); border: 1px solid var(--hairline-dark);
  border-radius: 10px; padding: 15px 16px;
  color: var(--ink); font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none; -webkit-appearance: none;
}
.cf-field textarea { min-height: 140px; resize: vertical; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  outline: none; border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(91, 76, 219, 0.15);
}
.cf-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.cf-submit { margin-top: 6px; align-self: flex-start; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .model-sticky { grid-template-columns: 1fr; gap: 50px; }
  .model-left { position: static; }
  .stack-grid { grid-template-columns: 1fr; gap: 56px; }
  .tech-aside { position: static; top: auto; }
  .plat-grid { grid-template-columns: 1fr; gap: 44px; }
  .plat-left { position: static; }
  .structure-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 768px) {
  .section { padding: 100px 0; }
  .statement { padding: 120px 0 100px; }
  .nav-links { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; gap: 6px;
    background: none; border: none; padding: 8px;
  }
  .nav-burger i { width: 26px; height: 2px; background: var(--ink); transition: transform 0.35s, opacity 0.35s; }
  .nav.menu-open .nav-burger i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.menu-open .nav-burger i:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-burger i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; inset: 0; z-index: 900; background: rgba(250, 250, 247, 0.97);
    backdrop-filter: blur(20px);
    display: flex; flex-direction: column; justify-content: center; gap: 8px;
    padding: 0 34px;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; }
  .mobile-menu a {
    font-family: var(--font-display); font-size: 34px; font-weight: 500;
    padding: 12px 0; color: var(--ink); border-bottom: 1px solid var(--hairline);
  }
  .services-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
  .model-step { padding: 38px 28px 42px; }
  .model-step .ms-num { font-size: 88px; right: 22px; }
  .cta-panel { padding: 60px 30px; }
  .footer-cols { gap: 44px; }
  .hero-sub { margin-top: 32px; }
  .hero-title { font-size: clamp(40px, 11vw, 64px); }
  .principles-grid { grid-template-columns: 1fr; }
  .principle { padding: 38px 28px; }
  .cf-row { grid-template-columns: 1fr; }
  .plat-section { padding: 84px 0; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--navy-line); padding: 0; }
  .as-item { border-left: 0; border-bottom: 2px solid transparent; padding: 12px 14px; white-space: nowrap; }
  .as-item.is-on { border-bottom-color: var(--violet); }
}

/* ============================================================
   v2.1 Expansion — dropdown nav, credibility, payers,
   service pages, hero lattice, richer motion
   ============================================================ */

/* ---------- nav dropdown ---------- */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-item .caret {
  width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.3s;
}
.nav-drop {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-deep);
  padding: 10px;
  margin-top: 18px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease-out) 0.15s, transform 0.3s var(--ease-out) 0.15s, visibility 0.3s 0.15s;
}
/* invisible hover bridge across the gap between trigger and panel */
.nav-item::after {
  content: ""; position: absolute; left: -20px; right: -20px;
  top: 100%; height: 26px; display: none;
}
.nav-item:hover::after, .nav-item:focus-within::after { display: block; }
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.nav-item:hover .caret { transform: rotate(225deg) translateY(-1px); }
.nav-drop a {
  display: block; padding: 10px 14px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: background 0.25s, color 0.25s;
}
.nav-drop a::after { display: none; }
.nav-drop a:hover { background: var(--paper); color: var(--ink); }
.nav-drop .nd-overview {
  border-bottom: 1px solid var(--hairline); margin-bottom: 8px; padding-bottom: 12px;
  color: var(--ink);
}
.nav-drop .nd-overview small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- eyebrow line draw ---------- */
.section-tag::before, .hero-eyebrow::before {
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s var(--ease-out);
}
.tag-drawn .section-tag::before, .section-tag.tag-drawn::before,
.tag-drawn.hero-eyebrow::before, .hero-eyebrow.tag-drawn::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .section-tag::before, .hero-eyebrow::before { transform: none; transition: none; }
}

/* ---------- card hover lift + icon stroke draw ---------- */
.principle, .model-step { transition: box-shadow 0.4s, transform 0.4s var(--ease-out); }
.principle:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(26,27,37,0.09); }
.svc-icon svg path, .svc-icon svg rect, .svc-icon svg circle {
  stroke-dasharray: 130; stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.9s var(--ease-out);
}
.svc-card:hover .svc-icon svg path, .svc-card:hover .svc-icon svg rect, .svc-card:hover .svc-icon svg circle {
  animation: strokeDraw 1s var(--ease-out);
}
@keyframes strokeDraw { from { stroke-dashoffset: 130; } to { stroke-dashoffset: 0; } }

/* ---------- page fade transitions ---------- */
body { opacity: 0; transition: opacity 0.4s ease; }
body.page-in { opacity: 1; }
body.page-out { opacity: 0; }
@media (prefers-reduced-motion: reduce) { body { opacity: 1; transition: none; } }

/* ---------- hero lattice (homepage) ---------- */
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-lattice { position: relative; }
.hero-lattice svg { width: 100%; height: auto; display: block; }
.hero-lattice .lat-line { stroke: rgba(26,27,37,0.18); stroke-width: 1; fill: none; }
.hero-lattice .lat-line.violet { stroke: rgba(91,76,219,0.45); }
.hero-lattice .lat-node { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.hero-lattice .lat-node.violet { stroke: var(--violet); }
.hero-lattice .lat-dot { fill: var(--violet); }
.hero-lattice .lat-label {
  font-family: var(--font-body); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; fill: var(--muted);
}
.hero-lattice .lat-pulse { animation: nodePulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes nodePulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-lattice .lat-pulse { animation: none; } }

/* ---------- company hero ---------- */
.co-hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 48px; align-items: center; }
.co-hero-visual { position: relative; }
.co-lattice { width: 100%; height: auto; display: block; max-width: 660px; margin: 0 auto; }
.co-lattice .lat-ring { fill: none; stroke: rgba(91,76,219,0.4); stroke-width: 1.3; }
.co-lattice .lat-node.center { fill: var(--paper); stroke: var(--violet); stroke-width: 1.6; }
.co-lattice .lat-label-center { font-size: 12px; font-weight: 600; fill: var(--violet); letter-spacing: 0.16em; text-transform: none; }
.co-lattice .lat-line.perimeter { stroke: rgba(26,27,37,0.22); }
.co-lattice .co-pulse { animation: nodePulse 3.4s ease-in-out infinite; animation-delay: var(--d,0s); transform-origin: center; transform-box: fill-box; }
@media (prefers-reduced-motion: reduce) { .co-lattice .co-pulse { animation: none; } }
@media (max-width: 860px) {
  .co-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .co-hero-visual { max-width: 380px; }
}

/* ---------- credibility band ---------- */
.cred { padding: 130px 0 90px; }
.cred-head { max-width: 700px; margin-bottom: 64px; }
.cred-head h2 { font-size: clamp(34px, 4.2vw, 56px); }
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; }
.cred-tile {
  background: var(--white); padding: 46px 30px 48px; position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  isolation: isolate;
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out), opacity 0.4s ease;
}
.cred-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%),
              rgba(91, 76, 219, 0.09), transparent 62%);
  transition: opacity 0.4s ease;
}
.cred-tile::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, var(--violet), #8b7bff);
  transition: transform 0.5s var(--ease-out);
}
.cred-grid:hover .cred-tile { opacity: 0.55; }
.cred-grid:hover .cred-tile:hover { opacity: 1; }
.cred-tile:hover {
  box-shadow: 0 24px 60px rgba(26,27,37,0.13);
  transform: translateY(-6px); z-index: 2;
}
.cred-tile:hover::before { opacity: 1; }
.cred-tile:hover::after { transform: scaleX(1); }
.cred-tile svg { width: 36px; height: 36px; margin-bottom: 22px; transition: transform 0.55s var(--spring); }
.cred-tile:hover svg { transform: translateY(-3px) scale(1.08); }
.cred-tile svg [stroke] { stroke: var(--ink); transition: stroke 0.4s ease; }
.cred-tile:hover svg [stroke] { stroke: var(--violet); }
.cred-tile h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; margin-bottom: 10px; transition: color 0.3s ease; }
.cred-tile:hover h3 { color: var(--violet); }
.cred-tile p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ---------- payer strip ---------- */
.payers { padding: 20px 0 120px; }
.payers-eyebrow {
  text-align: center; font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 44px;
}
.payer-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.payer-track {
  display: flex; align-items: center; gap: 72px;
  width: max-content;
  animation: payerScroll 40s linear infinite;
}
.payer-marquee:hover .payer-track { animation-play-state: paused; }
@keyframes payerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.payer-logo { flex-shrink: 0; display: flex; align-items: center; transition: opacity 0.4s; opacity: 0.45; }
.payer-logo img {
  height: 28px; width: auto; display: block;
  filter: brightness(0) saturate(100%) invert(9%) sepia(9%) saturate(1600%) hue-rotate(200deg);
}
.payer-logo:hover { opacity: 1; }
.payer-word {
  font-family: var(--font-display); font-size: 24px; font-weight: 500;
  color: var(--ink); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .payer-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 28px; }
  .payer-marquee { mask-image: none; -webkit-mask-image: none; }
  .payer-track > .payer-dup { display: none; }
}

/* ---------- model connector line ---------- */
.model-steps { position: relative; }
.model-steps::before {
  content: ""; position: absolute; left: -28px; top: 20px; bottom: 20px;
  width: 1px; background: var(--hairline-dark);
}
.model-steps .ms-line {
  position: absolute; left: -28px; top: 20px;
  width: 1px; height: calc(100% - 40px); background: var(--violet);
  transform: scaleY(0); transform-origin: top;
}
@media (max-width: 1024px) { .model-steps::before, .model-steps .ms-line { display: none; } }

/* ---------- company diagram pulse ---------- */
.sd-arrow { position: relative; height: 26px; width: 1px; background: rgba(250,250,247,0.18); font-size: 0; }
.sd-arrow::after {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--violet); transform: translateX(-50%);
  animation: sdPulse 2.6s ease-in-out infinite;
}
@keyframes sdPulse {
  0% { top: 0; opacity: 0; }
  15% { opacity: 1; }
  50% { top: calc(100% - 5px); opacity: 1; }
  65% { opacity: 0; }
  100% { top: 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .sd-arrow::after { animation: none; top: 40%; opacity: 1; } }

/* ---------- service pages ---------- */
.sp-hero { padding: calc(var(--nav-h) + 96px) 0 90px; }
.sp-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.sp-hero h1 { font-size: clamp(42px, 5vw, 76px); letter-spacing: -0.02em; line-height: 1.03; }
.sp-hero .sp-intro { margin-top: 28px; max-width: 540px; color: var(--muted); font-size: 17.5px; line-height: 1.75; }
.sp-hero .sp-intro strong { color: var(--ink); font-weight: 500; }
.sp-visual-wrap { position: relative; }
.sp-visual-wrap .app-caption { margin-top: 14px; text-align: center; }

/* ----- light premium "operating board" (replaces dark dashboard mockups) ----- */
.op-board {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 18px;
  box-shadow: var(--shadow-soft); padding: 26px 28px 24px; font-variant-numeric: tabular-nums;
}
.ob-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.ob-title { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--ink); }
.ob-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--violet);
}
.ob-status i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--violet);
  box-shadow: 0 0 0 0 rgba(91, 76, 219, 0.4); animation: obPulse 2.4s ease-out infinite;
}
@keyframes obPulse { 0% { box-shadow: 0 0 0 0 rgba(91,76,219,0.4); } 70%,100% { box-shadow: 0 0 0 7px rgba(91,76,219,0); } }
.ob-grid { display: grid; grid-template-columns: 108px repeat(5, 1fr); gap: 7px; align-items: center; }
.ob-corner { }
.ob-day { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); text-align: center; padding-bottom: 4px; }
.ob-role { font-size: 12.5px; color: var(--ink-soft); font-weight: 500; white-space: nowrap; }
.ob-cell {
  height: 24px; border-radius: 7px; background: var(--paper); border: 1px solid var(--hairline);
  transform-origin: center; opacity: 0; transform: scale(0.6);
  animation: obCell 0.5s var(--ease-out) forwards;
}
.ob-cell.on { background: linear-gradient(180deg, rgba(91,76,219,0.22), rgba(91,76,219,0.13)); border-color: rgba(91,76,219,0.28); }
.ob-cell.soft { background: rgba(91,76,219,0.06); border-color: rgba(91,76,219,0.14); }
@keyframes obCell { to { opacity: 1; transform: scale(1); } }
.ob-cell { animation-delay: calc(var(--i, 0) * 0.045s + 0.2s); }
.ob-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.ob-foot > div { display: flex; flex-direction: column; gap: 3px; }
.ob-foot b { font-family: var(--font-display); font-weight: 500; font-size: 30px; color: var(--ink); line-height: 1; }
.ob-foot b span { font-family: var(--font-body); font-size: 14px; color: var(--muted-2); margin-left: 2px; font-weight: 500; }
.ob-foot small { font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }
@media (prefers-reduced-motion: reduce) { .ob-cell { animation: none; opacity: 1; transform: none; } .ob-status i { animation: none; } }
/* op-board roster variant (People Operations visual) */
.ob-roster { display: flex; flex-direction: column; gap: 15px; }
.obr-row { display: grid; grid-template-columns: 36px 1fr 84px; align-items: center; gap: 14px; }
.obr-av {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--violet);
  background: rgba(91, 76, 219, 0.12);
}
.obr-av.new { color: var(--muted-2); background: var(--paper); border: 1px dashed var(--hairline-dark); font-size: 16px; }
.obr-info b { display: block; font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--ink); line-height: 1.2; }
.obr-info small { font-size: 11.5px; color: var(--muted); }
.obr-bar { height: 7px; border-radius: 5px; background: var(--paper); border: 1px solid var(--hairline); overflow: hidden; }
.obr-bar i { display: block; height: 100%; width: var(--w, 80%); border-radius: 5px; background: linear-gradient(90deg, var(--violet), #8b7bff); transform-origin: left; animation: obrBar 0.9s var(--ease-out) 0.25s both; }
.obr-bar i.soft { background: rgba(91, 76, 219, 0.28); }
@keyframes obrBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .obr-bar i { animation: none; } }
/* op-board scorecard variant (owner-level dashboard) */
.ob-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.obs { background: var(--paper); border: 1px solid var(--hairline); border-radius: 10px; padding: 14px 16px; }
.obs small { display: block; font-size: 10.5px; letter-spacing: 0.03em; color: var(--muted); margin-bottom: 7px; }
.obs b { font-family: var(--font-display); font-weight: 500; font-size: 23px; color: var(--ink); line-height: 1; }
.obs b span { font-family: var(--font-body); font-size: 12px; color: var(--muted-2); margin-left: 1px; font-weight: 500; }
.ob-payers { border-top: 1px solid var(--hairline); padding-top: 20px; }
.obp-title { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-2); margin-bottom: 16px; }
.obp-row { display: grid; grid-template-columns: 108px 1fr 40px; align-items: center; gap: 12px; margin-bottom: 13px; }
.obp-row:last-child { margin-bottom: 0; }
.obp-name { font-size: 13px; color: var(--ink-soft); }
.obp-bar { height: 8px; border-radius: 5px; background: var(--paper); border: 1px solid var(--hairline); overflow: hidden; }
.obp-bar i { display: block; height: 100%; width: var(--w, 50%); border-radius: 5px; background: linear-gradient(90deg, var(--violet), #8b7bff); transform-origin: left; animation: obrBar 1s var(--ease-out) 0.3s both; }
.obp-bar i.soft { background: rgba(91, 76, 219, 0.3); }
.obp-row b { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ink); text-align: right; }
/* top CPT codes list (Revenue Cycle dashboard) */
.ob-cpts { border-top: 1px solid var(--hairline); padding-top: 20px; margin-top: 20px; }
.obc-row { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 12px; margin-bottom: 12px; }
.obc-row:last-child { margin-bottom: 0; }
.obc-code { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--violet); background: rgba(91, 76, 219, 0.1); border-radius: 6px; padding: 5px 0; text-align: center; }
.obc-desc { font-size: 13px; color: var(--ink-soft); }
.obc-row b { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ink); }
/* light checklist / status list (Technology, Compliance dashboards) */
.ob-checks { border-top: 1px solid var(--hairline); padding-top: 20px; margin-top: 20px; display: flex; flex-direction: column; gap: 13px; }
.obck-item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-soft); }
.obck-item .obck-box { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--hairline-dark); flex-shrink: 0; position: relative; }
.obck-item.done .obck-box { background: var(--violet); border-color: var(--violet); }
.obck-item.done .obck-box::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.obck-item.pending { color: var(--muted); }
.obck-item b { margin-left: auto; font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--violet); }
.obck-item.pending b { color: var(--muted-2); }
.sp-visual { font-variant-numeric: tabular-nums; }
.sp-visual .app-main { gap: 14px; }
.sp-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sp-table th {
  text-align: left; font-weight: 500; color: rgba(250,250,247,0.4);
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 8px; border-bottom: 1px solid var(--navy-line);
}
.sp-table td { padding: 8px; color: rgba(250,250,247,0.75); border-bottom: 1px solid var(--navy-line); }
.sp-table td b { color: #fff; font-weight: 500; }
.sp-table .pill {
  display: inline-block; font-size: 10px; letter-spacing: 0.06em;
  border-radius: 100px; padding: 2px 8px;
}
.pill.ok { color: #6ee7c8; border: 1px solid rgba(110,231,200,0.35); }
.pill.warn { color: #f0c674; border: 1px solid rgba(240,198,116,0.35); }
.pill.viol { color: #a99df5; border: 1px solid rgba(139,125,242,0.4); }
.sp-bar-row { display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: rgba(250,250,247,0.55); }
.sp-bar { flex: 1; height: 6px; border-radius: 4px; background: rgba(250,250,247,0.08); overflow: hidden; }
.sp-bar i { display: block; height: 100%; border-radius: 4px; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out); }
.sp-visual.in-view .sp-bar i { transform: scaleX(var(--fill, 0.7)); }
/* funnel */
.sp-funnel { display: flex; flex-direction: column; gap: 8px; }
.sp-fstage { display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: rgba(250,250,247,0.55); }
.sp-fstage .fs-bar { height: 22px; border-radius: 5px; background: rgba(91,76,219,0.28); border: 1px solid rgba(139,125,242,0.35); width: var(--w, 100%); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out); display: flex; align-items: center; padding: 0 8px; color: #fff; font-weight: 500; }
.sp-visual.in-view .fs-bar { transform: scaleX(1); }
.sp-fstage .fs-label { width: 86px; flex-shrink: 0; }
/* schedule grid */
.sp-sched { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.sp-sched .sc-day { font-size: 9.5px; letter-spacing: 0.1em; color: rgba(250,250,247,0.4); text-transform: uppercase; text-align: center; padding-bottom: 3px; }
.sp-sched .sc-slot {
  height: 15px; border-radius: 4px; background: rgba(250,250,247,0.06);
  opacity: 0; transform: scale(0.85);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), background 0.4s;
}
.sp-visual.in-view .sc-slot { opacity: 1; transform: scale(1); }
.sc-slot.f1 { background: rgba(91,76,219,0.5); }
.sc-slot.f2 { background: rgba(91,76,219,0.3); }
.sc-slot.f3 { background: rgba(110,231,200,0.35); }
/* checklist */
.sp-check { display: flex; flex-direction: column; }
.sp-check .ck-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 2px;
  border-bottom: 1px solid var(--navy-line); font-size: 12px; color: rgba(250,250,247,0.55);
}
.ck-box {
  width: 15px; height: 15px; border-radius: 4px; border: 1px solid rgba(250,250,247,0.25);
  position: relative; flex-shrink: 0; transition: border-color 0.3s, background 0.3s;
}
.ck-item.done .ck-box { background: var(--violet); border-color: var(--violet); }
.ck-item.done .ck-box::after {
  content: ""; position: absolute; left: 4.5px; top: 1.5px;
  width: 4px; height: 8px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}
.ck-item.done { color: rgba(250,250,247,0.85); }
/* timeline */
.sp-timeline { position: relative; padding: 12px 4px 6px; }
.sp-timeline .tl-track { position: relative; height: 2px; background: rgba(250,250,247,0.1); border-radius: 2px; margin: 26px 0 12px; }
.sp-timeline .tl-fill { position: absolute; inset: 0; background: var(--violet); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.sp-visual.in-view .tl-fill { transform: scaleX(0.72); }
.sp-timeline .tl-m {
  position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%;
  background: var(--navy); border: 2px solid rgba(250,250,247,0.3);
  transform: translate(-50%, -50%); transition: border-color 0.4s, background 0.4s;
}
.sp-visual.in-view .tl-m.lit { border-color: var(--violet); background: var(--violet); }
.sp-timeline .tl-labels { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250,250,247,0.4); }
/* what we run */
.sp-run { border-top: 1px solid var(--hairline); padding: 130px 0; }
.sp-run-head { max-width: 700px; margin-bottom: 70px; }
.sp-run-head h2 { font-size: clamp(32px, 4vw, 54px); margin-bottom: 20px; }
.sp-run-head p { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.sp-run-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; }
.sp-block {
  background: var(--white); padding: 42px 40px 46px; position: relative; isolation: isolate;
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out), opacity 0.4s ease;
}
.sp-block::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 76, 219, 0.08), transparent 62%);
  transition: opacity 0.4s ease;
}
.sp-block::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, var(--violet), #8b7bff);
  transition: transform 0.5s var(--ease-out);
}
.sp-run-grid:hover .sp-block { opacity: 0.55; }
.sp-run-grid:hover .sp-block:hover { opacity: 1; }
.sp-block:hover { transform: translateY(-5px); box-shadow: 0 22px 54px rgba(26, 27, 37, 0.12); z-index: 2; }
.sp-block:hover::before { opacity: 1; }
.sp-block:hover::after { transform: scaleX(1); }
.sp-block .spb-num { font-family: var(--font-display); font-size: 34px; color: rgba(26,27,37,0.12); display: block; margin-bottom: 16px; line-height: 1; transition: color 0.35s ease; }
.sp-block:hover .spb-num { color: var(--violet); }
.sp-block h3 { font-size: 21px; margin-bottom: 12px; transition: color 0.3s ease; }
.sp-block:hover h3 { color: var(--violet); }
.sp-block p { color: var(--muted); font-size: 15px; line-height: 1.72; }
/* measured band */
.sp-measured { background: var(--white); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 110px 0; }
.sp-measured-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 70px; align-items: start; }
.sp-measured h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 18px; }
.sp-measured .spm-note { color: var(--muted); font-size: 15.5px; line-height: 1.75; max-width: 380px; }
.spm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.spm-item { border-left: 2px solid var(--violet); padding: 4px 0 4px 20px; }
.spm-item h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.spm-item p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* responsive for new components */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-lattice { max-width: 560px; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .sp-measured-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .cred-grid { grid-template-columns: 1fr; }
  .sp-run-grid { grid-template-columns: 1fr; }
  .spm-list { grid-template-columns: 1fr; }
  .payer-track { gap: 44px; }
  .payer-logo img { height: 22px; }
  .payer-word { font-size: 19px; }
  .mobile-menu .mm-sub { font-size: 20px; padding: 10px 0 10px 22px; color: var(--ink-soft); border-bottom: 1px solid var(--hairline); font-family: var(--font-body); font-weight: 500; }
  .cred { padding: 90px 0 60px; }
  .payers { padding: 10px 0 90px; }
  .sp-run { padding: 90px 0; }
  .sp-measured { padding: 80px 0; }
}

/* explore links on platform overview */
.sp-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 24px; font-size: 14.5px; font-weight: 500; color: var(--violet);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
  width: fit-content;
}
.sp-link:hover { border-bottom-color: var(--violet); }
/* svc-card as link */
a.svc-card { color: inherit; }

/* preloader mark draw-in */
.preloader .pm-ring {
  stroke-dasharray: 132; stroke-dashoffset: 132;
  animation: pmRing 0.9s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
  transform: rotate(-90deg); transform-origin: center; transform-box: fill-box;
}
@keyframes pmRing { to { stroke-dashoffset: 0; } }
.preloader .pm-s { opacity: 0; animation: pmFade 0.5s ease 0.55s forwards; }
@keyframes pmFade { to { opacity: 1; } }
.preloader .pm-reg { opacity: 0; transform-origin: center; transform-box: fill-box; animation: pmPop 0.4s cubic-bezier(0.16,1,0.3,1) 0.85s forwards; }
@keyframes pmPop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .preloader .pm-ring { animation: none; stroke-dashoffset: 0; transform: none; }
  .preloader .pm-s, .preloader .pm-reg { animation: none; opacity: 1; }
}

/* ---------- wordmark logo (v4: no icon) ---------- */
.nav-logo .logo-word {
  font-family: var(--font-display);
  font-weight: 500; font-size: 29px;
  letter-spacing: -0.01em; text-transform: none;
  color: var(--ink); line-height: 1;
}
.nav-logo svg { width: 34px; height: 34px; }
.logo-dot { font-style: normal; color: var(--violet); }
.footer-brand .logo-word { color: #fff; font-size: 24px; }
.preloader .pre-wordmark {
  font-family: var(--font-display);
  font-weight: 500; font-size: 44px; letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0; transform: translateY(14px);
  animation: preWord 0.9s cubic-bezier(0.16,1,0.3,1) 0.15s forwards;
}
@keyframes preWord { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .preloader .pre-wordmark { animation: none; opacity: 1; transform: none; } }

/* ============================================================
   v2.2 Motion depth pass — ambient life, living cards,
   scroll choreography, micro-interactions
   ============================================================ */

:root { --spring: cubic-bezier(0.34, 1.56, 0.64, 1); }

/* ---------- hero ambient canvas ---------- */
#ambient-hero {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

/* ---------- lattice reporting pulse ---------- */
.lat-travel { fill: var(--violet); pointer-events: none; }

/* ---------- living app cards ---------- */
.app-card { transform-style: preserve-3d; }
.row-flash { animation: rowFlash 1.4s ease; }
@keyframes rowFlash {
  0% { background: rgba(91, 76, 219, 0.16); }
  100% { background: transparent; }
}
.sp-table td { transition: background 0.4s; }
.pill { transition: color 0.7s ease, border-color 0.7s ease; }

/* ---------- headline word rise ---------- */
.hw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hw-i { display: inline-block; transform: translateY(115%); will-change: transform; }
h2.rv.words-split { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hw-i { transform: none; } }

/* ---------- statement final-word underline ---------- */
.statement-text .w.accent { position: relative; }
.statement-text .w.accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.06em;
  height: 3px; background: var(--violet); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease-out);
}
.statement-text .w.accent.underline-drawn::after { transform: scaleX(1); }

/* ---------- CTA ambient gradient ---------- */
.cta-panel { position: relative; overflow: hidden; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel::before {
  content: ""; position: absolute; inset: -30%;
  background:
    radial-gradient(ellipse 40% 50% at 20% 30%, rgba(91, 76, 219, 0.07), transparent 65%),
    radial-gradient(ellipse 45% 55% at 80% 70%, rgba(91, 76, 219, 0.05), transparent 65%);
  animation: ctaDrift 26s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ctaDrift {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(6%, 4%) rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) { .cta-panel::before { animation: none; } }

/* ---------- micro-interactions ---------- */
.btn { will-change: transform; }
.sp-link { position: relative; }
.sp-link .arr { display: inline-block; transition: transform 0.5s var(--spring); }
.sp-link:hover .arr { transform: translateX(4px); }
.cf-field label { transition: transform 0.5s var(--spring), color 0.3s ease; transform-origin: left bottom; }
.cf-field:focus-within label { transform: translateY(-2px); color: var(--violet); }
.spb-num, .ms-num, .pr-num, .plat-num { will-change: transform; }

/* ============================================================
   v2.3 Correction & completion pass
   ============================================================ */

/* ---------- 2. payer static grid (marquee removed) ---------- */
.payers { padding: 30px 0 64px; }
.payers-h2 { font-size: clamp(32px, 4vw, 52px); }
.payers-note { color: var(--muted); font-size: 15.5px; margin-top: 18px; max-width: 520px; }
.payer-marquee {
  position: relative; margin-top: 74px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.payer-track {
  display: flex; align-items: center; gap: 88px; width: max-content;
  padding: 28px 0; /* room so scaled logos aren't clipped top/bottom by the marquee's overflow */
  animation: payerScroll 34s linear infinite;
}
.payer-marquee:hover .payer-track { animation-play-state: paused; }
@keyframes payerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.payer-logo { flex-shrink: 0; display: flex; align-items: center; opacity: 0.85; transition: opacity 0.4s ease; }
.payer-logo:hover { opacity: 1; }
.payer-logo img {
  width: auto; display: block;
  transform: scale(1.32); transform-origin: center;
  /* brand violet (#5B4CDB) */
  filter: brightness(0) saturate(100%) invert(28%) sepia(89%) saturate(2807%) hue-rotate(243deg) brightness(92%) contrast(96%);
}
.payer-word { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--violet); white-space: nowrap; line-height: 1; }
@media (max-width: 768px) {
  .payer-track { gap: 56px; animation-duration: 24s; }
  .payer-logo img { transform: scale(1.05); transform-origin: center; }
  .payer-word { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .payer-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 40px 56px; }
}

/* ---------- 3. lattice refinements ---------- */
.hero-lattice .lat-line { stroke: rgba(26, 27, 37, 0.6); stroke-width: 1.5; }
.hero-lattice .lat-line.violet { stroke: rgba(91, 76, 219, 1); }
.hero-lattice .lat-ring { fill: none; stroke: rgba(91, 76, 219, 0.45); stroke-width: 1.5; }
.hero-lattice .lat-node { stroke-width: 1.5; }
.hero-lattice .lat-label-center { font-size: 15px; font-weight: 600; fill: var(--violet); letter-spacing: 0.16em; }
@media (max-width: 1024px) {
  .hero-lattice { max-width: none; width: 100%; margin: 0 auto; }
}

/* ---------- 6. installation section ---------- */
.install { padding: 150px 0 130px; }
.install-head { max-width: 720px; margin-bottom: 70px; }
.install-head h2 { font-size: clamp(36px, 4.6vw, 62px); margin-bottom: 22px; }
.install-head p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.install-svg { width: 100%; height: auto; display: block; }
.install-svg rect { stroke: rgba(26, 27, 37, 0.6); stroke-width: 1.5; fill: var(--white); }
.install-svg .inst-box-main { stroke: var(--ink); fill: var(--white); }
.install-svg .inst-title { font-family: var(--font-display); font-size: 25px; font-weight: 500; fill: var(--ink); }
.install-svg .inst-sub { font-family: var(--font-body); font-size: 13.5px; fill: var(--muted); }
.install-svg .inst-layer text { font-family: var(--font-body); font-size: 15.5px; font-weight: 500; fill: var(--ink-soft); }
.install-svg .inst-line { stroke: rgba(26, 27, 37, 0.35); stroke-width: 1.2; fill: none; }
.install-svg .inst-dot { fill: var(--violet); }
/* draw-in */
.install-svg .inst-el { opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.install-svg .inst-line { stroke-dasharray: 500; stroke-dashoffset: 500; transform: none; transition: opacity 0.4s, stroke-dashoffset 1.3s var(--ease-out); }
.install-diagram.drawn .inst-el { opacity: 1; transform: none; }
.install-diagram.drawn .inst-line { stroke-dashoffset: 0; }
.install-diagram.drawn .inst-el:nth-of-type(1) { transition-delay: 0.05s; }
/* GSAP-driven timeline mode: kill CSS transitions so the timeline fully owns the elements.
   Boxes + labels start BLACK and visible; only the connectors + dots are hidden up front
   (they draw in purple on scroll, and the boxes turn violet only at the finale). */
.install-diagram.js-anim .inst-el { transition: none; opacity: 1; transform: none; }
.install-diagram.js-anim .inst-layer rect { stroke: rgba(26, 27, 37, 0.85); }
.install-diagram.js-anim .inst-layer text { fill: var(--ink); }
.install-diagram.js-anim .inst-line { opacity: 0; stroke: #5b4cdb; stroke-dashoffset: 500; }
.install-diagram.js-anim .inst-dot { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .install-svg .inst-el, .install-svg .inst-line { opacity: 1; transform: none; stroke-dashoffset: 0; transition: none; }
}
.install-stack { display: none; }
@media (max-width: 768px) {
  .install { padding: 100px 0 90px; }
  .install-svg { display: none; }
  .install-stack { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .ist-main {
    border: 1.5px solid var(--ink); border-radius: 14px; background: var(--white);
    padding: 22px 24px; font-family: var(--font-display); font-size: 22px; font-weight: 500;
  }
  .ist-main small { display: block; font-family: var(--font-body); font-size: 13px; color: var(--muted); margin-top: 4px; }
  .ist-line { width: 1.5px; height: 26px; background: var(--violet); margin: 0 auto; }
  .ist-layer {
    border: 1px solid var(--hairline-dark); border-radius: 10px; background: var(--white);
    padding: 14px 18px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
    position: relative;
  }
  .ist-layer::before { content: ""; position: absolute; left: -1px; top: 50%; transform: translateY(-50%); width: 3px; height: 55%; background: var(--violet); border-radius: 2px; }
}

/* ---------- 7. the standard band ---------- */
.stdband { padding: 120px 0; border-top: 1px solid var(--hairline); }
.stdband h2 { font-size: clamp(32px, 4.2vw, 56px); margin-bottom: 60px; }
.std-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; }
.std-tile { background: var(--white); padding: 44px 34px 46px; }
.std-val { font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 50px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; margin-bottom: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.std-tile p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.std-note { margin-top: 26px; color: var(--muted-2); font-size: 13px; }
@media (max-width: 1024px) { .std-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .std-grid { grid-template-columns: 1fr; } .stdband { padding: 90px 0; } }

/* ---------- 8. stack chips ---------- */
.stack-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 0; }
.stack-chips .chips-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-2); border: 0; padding: 0; background: none; margin-right: 4px;
}
.stack-chips span:not(.chips-label) {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--hairline-dark); border-radius: 100px;
  padding: 8px 15px; background: var(--white);
  transition: color 0.3s, border-color 0.3s;
}
.stack-chips span:not(.chips-label):hover { color: var(--violet); border-color: var(--violet); }
@media (prefers-reduced-motion: reduce) { .tl-pulse { animation: none; opacity: 0; } }

/* ============================================================
   v2.4 Cinematic pass — video hero + film band
   ============================================================ */

/* centered hero with video panel */
.hero { min-height: 92svh; padding: calc(var(--nav-h) + 40px) 0 60px; display: flex; }
.hero-eyebrow { margin-bottom: 30px; }
.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-center .hero-title { font-size: clamp(48px, 6.4vw, 96px); }
.hero-lede { max-width: 660px; margin-top: 34px; font-size: 18px; color: var(--muted); line-height: 1.7; }
.hero-lede strong { color: var(--ink); font-weight: 500; }
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.hero-video-wrap {
  position: relative; margin-top: 74px;
  width: min(1240px, 100%);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(26, 27, 37, 0.18);
}
.hero-video {
  display: block; width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}
.hv-tint {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(20, 21, 31, 0.32), transparent 45%),
    linear-gradient(120deg, rgba(91, 76, 219, 0.08), transparent 55%);
}
.hv-chip {
  position: absolute;
  background: rgba(20, 21, 31, 0.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(250, 250, 247, 0.12);
  border-radius: 12px; padding: 14px 18px;
  display: flex; flex-direction: column; gap: 2px;
  color: #fff; min-width: 150px;
  box-shadow: 0 12px 34px rgba(20, 21, 31, 0.35);
}
.hv-chip small { font-size: 10.5px; letter-spacing: 0.05em; color: rgba(250, 250, 247, 0.55); }
.hv-chip b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hv-chip em { font-style: normal; font-size: 11px; color: #6ee7c8; }
.hv-chip-a { left: 34px; bottom: 34px; animation: chipFloat 7s ease-in-out infinite; }
.hv-chip-b { right: 34px; bottom: 56px; animation: chipFloat 8.5s ease-in-out 1.2s infinite; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hv-chip-a, .hv-chip-b { animation: none; } }


/* ethos film band */
.ethos-film {
  position: relative; overflow: hidden;
  min-height: 74vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.ef-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.02);
}
.ef-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(20, 21, 31, 0.58), rgba(20, 21, 31, 0.58)),
    linear-gradient(120deg, rgba(91, 76, 219, 0.14), transparent 60%);
}
.ef-content { position: relative; z-index: 1; padding: 120px 0; }
.ef-content blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(30px, 3.8vw, 52px); font-weight: 500;
  line-height: 1.25; letter-spacing: -0.015em;
  color: #fafaf7; max-width: 980px; margin: 0 auto;
}
.ef-content cite {
  display: block; margin-top: 38px; font-style: normal;
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(250, 250, 247, 0.65);
}

@media (max-width: 768px) {
  .hero { padding: calc(var(--nav-h) + 60px) 0 20px; }
  .hero-video-wrap { margin-top: 48px; border-radius: 16px; width: calc(100% - 0px); }
  .hero-video { aspect-ratio: 4 / 3; }
  .hv-chip { padding: 10px 14px; min-width: 120px; }
  .hv-chip b { font-size: 16px; }
  .hv-chip-a { left: 14px; bottom: 14px; }
  .hv-chip-b { right: 14px; bottom: 26px; }
  .ethos-film { min-height: 60vh; }
}

/* ============================================================
   v2.5 hero product mockup (replaces hero stock video)
   ============================================================ */
.hero-product { position: relative; margin-top: 74px; width: min(1240px, 100%); }
.hero-app {
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(26, 27, 37, 0.18);
}
.hero-app .app-chrome { padding: 16px 20px; }
.hc-range {
  margin-left: auto !important;
  font-size: 11px !important; color: rgba(250,250,247,0.45) !important;
  border: 1px solid rgba(250,250,247,0.14); border-radius: 100px; padding: 4px 12px;
}
.hero-app .app-body { grid-template-columns: 190px 1fr; }
.hero-app .app-side { padding: 24px 0; }
.hero-app .as-item { font-size: 13.5px; padding: 11px 24px; }
.hero-app .app-main { padding: 28px 32px 32px; gap: 22px; }
.hero-stats { grid-template-columns: repeat(4, 1fr) !important; gap: 14px !important; }
.hero-app .ast { padding: 16px 18px; }
.hero-app .ast b { font-size: 22px; }
#hero-chart { width: 100%; height: 150px; display: block; }
.hero-app-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.hero-funnel { display: flex; flex-direction: column; gap: 13px; padding-top: 8px; }
.hero-product .app-caption { margin-top: 16px; text-align: center; }
@media (max-width: 900px) {
  .hero-product { margin-top: 48px; }
  .hero-app .app-body { grid-template-columns: 1fr; }
  .hero-app .app-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--navy-line); padding: 0; }
  .hero-app .as-item { border-left: 0; border-bottom: 2px solid transparent; padding: 12px 14px; white-space: nowrap; }
  .hero-app .as-item.is-on { border-bottom-color: var(--violet); }
  .hero-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-app-cols { grid-template-columns: 1fr; }
  #hero-chart { height: 110px; }
  .hero-app .app-main { padding: 20px 18px 22px; }
}

/* ============================================================
   v2.6 hero film + scroll-drawn lattice overlay
   ============================================================ */
.hero { min-height: 0; padding: calc(var(--nav-h) + 80px) 0 40px; display: block; }
.hero-head { max-width: 1000px; }
.hero-film {
  position: relative; margin-top: 70px;
  width: 100%;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(26, 27, 37, 0.2);
  background: var(--navy);
}
.hero-film video {
  display: block; width: 100%; aspect-ratio: 16 / 7.6; object-fit: cover;
}
.hf-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(20, 21, 31, 0.52), rgba(20, 21, 31, 0.62)),
    linear-gradient(115deg, rgba(91, 76, 219, 0.16), transparent 55%);
}
.film-lattice {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  height: 92%; width: auto; max-width: 92%;
}
.film-lattice .lat-line { stroke: rgba(250, 250, 247, 0.55); stroke-width: 1.5; fill: none; }
.film-lattice .lat-line.faint { stroke: rgba(250, 250, 247, 0.18); }
.film-lattice .lat-line.violet { stroke: #a89cf7; }
.film-lattice .lat-node { fill: rgba(20, 21, 31, 0.85); stroke: rgba(250, 250, 247, 0.85); stroke-width: 1.5; }
.film-lattice .lat-node.violet { stroke: #a89cf7; }
.film-lattice .lat-node.center { stroke: #a89cf7; }
.film-lattice .lat-ring { fill: none; stroke: rgba(168, 156, 247, 0.55); stroke-width: 1.5; }
.film-lattice .lat-dot { fill: #a89cf7; }
.film-lattice .lat-label {
  font-family: var(--font-body); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; fill: rgba(250, 250, 247, 0.8);
}
.film-lattice .lat-label-center { font-size: 15px; font-weight: 600; fill: #c3baf9; letter-spacing: 0.16em; }
@media (max-width: 768px) {
  .hero-film { margin-top: 44px; border-radius: 14px; }
  .hero-film video { aspect-ratio: 4 / 3.4; }
  .film-lattice { height: 84%; }
}

/* hero-scroll retired: film panel owns the hero bottom */
.hero-scroll { display: none; }

/* ============================================================
   v2.7 full-bleed cinematic hero (Frontier-style: video fills
   the hero, text sits on top, muted ink overlay)
   ============================================================ */
.hero { padding: 0; min-height: 0; }
.hero-inner { width: 100%; padding-top: 0; }
.hero-stage {
  position: relative;
  width: 100vw; margin-left: calc(50% - 50vw);
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-stage video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-stage .hf-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(20, 21, 31, 0.86) 0%, rgba(20, 21, 31, 0.66) 50%, rgba(20, 21, 31, 0.72) 100%),
    linear-gradient(to bottom, rgba(20, 21, 31, 0.45), transparent 28%, transparent 72%, rgba(20, 21, 31, 0.55));
}
.hs-grid {
  position: relative; z-index: 2;
  width: min(1400px, calc(100% - 48px)); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 60px; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 60px;
}
.hs-copy .hero-eyebrow { color: rgba(250, 250, 247, 0.7); }
.hs-copy .hero-title { color: #fafaf7; font-size: clamp(48px, 6.6vw, 96px); }
.hs-copy .hero-title .accent { color: #a89cf7; }
/* optical alignment: pull the leading capital "T" flush with the lines below it */
.hs-copy .hero-title .line:first-child > span { margin-left: -0.045em; }
.hs-lede { margin-top: 32px; max-width: 540px; font-size: 17.5px; line-height: 1.7; color: rgba(250, 250, 247, 0.72); }
.hs-lede strong { color: #fff; font-weight: 500; }
.hs-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.btn-ghost {
  background: transparent; border-color: rgba(250, 250, 247, 0.4); color: #fff;
}
.btn-ghost:hover { border-color: #fff; background: rgba(250, 250, 247, 0.08); box-shadow: none; }
.hs-lattice .film-lattice {
  position: static; transform: none;
  width: 100%; height: auto; max-width: none;
}

/* nav over dark hero: white until scrolled */
body.dark-hero .nav:not(.is-scrolled) .logo-word { color: #fafaf7; }
body.dark-hero .nav:not(.is-scrolled) .logo-dot { color: #a89cf7; }
body.dark-hero .nav:not(.is-scrolled) .nav-links a { color: rgba(250, 250, 247, 0.72); }
body.dark-hero .nav:not(.is-scrolled) .nav-links a:hover,
body.dark-hero .nav:not(.is-scrolled) .nav-links a.is-active { color: #fff; }
/* the dropdown panel is always a light card — keep its links dark even over the dark hero */
body.dark-hero .nav:not(.is-scrolled) .nav-drop a { color: var(--ink-soft); }
body.dark-hero .nav:not(.is-scrolled) .nav-drop .nd-overview,
body.dark-hero .nav:not(.is-scrolled) .nav-drop a:hover { color: var(--ink); }
/* nav CTA stays brand violet even over the dark hero */
body.dark-hero .nav:not(.is-scrolled) > .nav-inner > .btn.btn-solid { background: var(--violet); border-color: var(--violet); color: #fff; }
body.dark-hero .nav:not(.is-scrolled) .nav-burger i { background: #fafaf7; }

@media (max-width: 1024px) {
  .hs-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 70px; }
  .hs-lattice { max-width: 540px; }
}
@media (max-width: 768px) {
  .hero-stage { min-height: 100svh; }
  .hs-copy .hero-title { font-size: clamp(42px, 11vw, 64px); }
}

/* v3.0 lattice: magenta ball travels the lines, lighting them */
.hs-lattice { will-change: transform; }
.film-lattice .mag-perim, .film-lattice .mag-spoke { stroke: #8b7bff; stroke-width: 2; fill: none; }
.film-lattice .mag-perim { filter: drop-shadow(0 0 5px rgba(139,123,255,0.7)); }
.film-lattice .mag-ball { fill: #ffffff; filter: drop-shadow(0 0 7px #8b7bff) drop-shadow(0 0 14px rgba(139,123,255,0.8)); }
.film-lattice .lat-node.lit-mag { stroke: #8b7bff; fill: rgba(139,123,255,0.4); }
.film-lattice .lat-ring.lit-mag { stroke: #8b7bff; }
.film-lattice .lat-node.center.lit-mag { stroke: #8b7bff; fill: rgba(139,123,255,0.5); }
.film-lattice .lat-dot.lit-mag { fill: #c9bdff; }
.film-lattice .lat-node, .film-lattice .lat-ring, .film-lattice .lat-dot { transition: stroke 0.4s ease, fill 0.4s ease; }


/* ============================================================
   v3.1 warm light hero (no video) — headline + lattice on paper
   ============================================================ */
.light-hero { position: relative; background: var(--paper); padding: calc(var(--nav-h) + 30px) 0 40px; min-height: 0; overflow: hidden; }
.light-hero .hero-inner { position: relative; z-index: 2; padding-top: 0; }
.light-hero .hs-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center;
  padding: 40px 0 20px;
}
.light-hero .hs-copy .hero-eyebrow { color: var(--muted); }
.light-hero .hs-copy .hero-title { color: var(--ink); font-size: clamp(48px, 6.6vw, 100px); }
.light-hero .hs-copy .hero-title .accent { color: var(--violet); }
.light-hero .hs-lede { margin-top: 32px; max-width: 540px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.light-hero .hs-lede strong { color: var(--ink); font-weight: 500; }
.light-hero .hs-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* soft warm ambient glow behind the lattice */
.hero-warmth {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 60% at 82% 30%, rgba(255, 214, 170, 0.5), transparent 62%),
    radial-gradient(ellipse 40% 55% at 68% 74%, rgba(91, 76, 219, 0.09), transparent 60%),
    radial-gradient(ellipse 60% 50% at 12% 88%, rgba(255, 224, 196, 0.28), transparent 62%);
}

/* lattice: dark ink strokes on paper (overrides the dark-video theme) */
.light-hero .film-lattice { position: static; transform: none; width: 100%; height: auto; max-width: none; }
.light-hero .film-lattice .lat-line { stroke: rgba(26, 27, 37, 0.55); stroke-width: 1.4; }
.light-hero .film-lattice .lat-line.faint { stroke: rgba(26, 27, 37, 0.16); }
.light-hero .film-lattice .lat-line.violet { stroke: rgba(91, 76, 219, 0.9); }
.light-hero .film-lattice .lat-node { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.light-hero .film-lattice .lat-node.violet { stroke: var(--violet); }
.light-hero .film-lattice .lat-node.center { stroke: var(--violet); }
.light-hero .film-lattice .lat-ring { fill: none; stroke: rgba(91, 76, 219, 0.45); stroke-width: 1.5; }
.light-hero .film-lattice .lat-dot { fill: var(--violet); }
.light-hero .film-lattice .lat-label { font-family: var(--font-body); font-size: 9.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--muted); }
.light-hero .film-lattice .lat-label-center { font-size: 15px; font-weight: 600; fill: var(--violet); letter-spacing: 0.16em; }
.light-hero .hero-scroll { display: flex; color: var(--muted-2); }
.light-hero .hero-scroll .scroll-line { background: var(--hairline-dark); }

@media (max-width: 1024px) {
  .light-hero .hs-grid { grid-template-columns: 1fr; gap: 36px; }
  .light-hero .hs-lattice { max-width: 560px; }
}
@media (max-width: 768px) {
  .light-hero .hs-copy .hero-title { font-size: clamp(42px, 12vw, 68px); }
}

/* magenta ball must read on the paper hero */
.light-hero .film-lattice .mag-ball { fill: #8b7bff; filter: drop-shadow(0 0 6px rgba(139,123,255,0.8)); }
.light-hero .film-lattice .lat-node.lit-mag { fill: rgba(139,123,255,0.22); }

/* ============================================================
   v3.2 brighter magenta + SYCENTA center label lights magenta
   ============================================================ */
.film-lattice .mag-perim, .film-lattice .mag-spoke { stroke: #8b7bff; stroke-width: 2.6; }
.film-lattice .mag-perim { filter: drop-shadow(0 0 7px rgba(139,123,255,0.95)); }
.film-lattice .mag-spoke { filter: drop-shadow(0 0 5px rgba(139,123,255,0.8)); }
.film-lattice .mag-ball { fill: #ffffff; filter: drop-shadow(0 0 9px #8b7bff) drop-shadow(0 0 20px rgba(139,123,255,0.95)); }
.film-lattice .lat-node.lit-mag { stroke: #8b7bff !important; fill: rgba(139,123,255,0.5) !important; }
.film-lattice .lat-ring.lit-mag { stroke: #8b7bff !important; }
.film-lattice .lat-node.center.lit-mag { stroke: #8b7bff !important; fill: rgba(139,123,255,0.6) !important; }
.film-lattice .lat-dot.lit-mag { fill: #c9bdff !important; }
.film-lattice .lat-label-center { transition: fill 0.45s ease; }
.film-lattice .lat-label-center.lit-mag { fill: #a696ff !important; }

/* ============================================================
   v3.3 bigger, more intentional hero lattice + calmer magenta
   ============================================================ */
.hero .hs-grid { grid-template-columns: 1fr 1.12fr; gap: 48px; }
.hero .hs-lattice { transform: scale(1.16); transform-origin: center; }
/* slightly finer strokes so bigger reads elegant, not heavy */
.film-lattice .mag-perim, .film-lattice .mag-spoke { stroke-width: 2.2; }
.film-lattice .lat-label { font-size: 10.5px; }
.film-lattice .lat-label-center { font-size: 16px; }
@media (max-width: 1024px) {
  .hero .hs-grid { grid-template-columns: 1fr; }
  .hero .hs-lattice { transform: none; max-width: 560px; margin: 0 auto; }
}


/* v3.4 wordmark: violet leading "S" matches the violet period */
.logo-lead { font-style: normal; color: var(--violet); }
.footer-brand .logo-lead { color: #8A7DF2; }
body.dark-hero .nav:not(.is-scrolled) .logo-lead { color: #a89cf7; }
.preloader .logo-lead { color: var(--violet); }

/* v3.5 seat the SYCENTA center label on a subtle chip (hides the crossing line) */
.film-lattice .lat-label-backing { fill: rgba(20, 21, 31, 0.55); }
.light-hero .film-lattice .lat-label-backing { fill: rgba(250, 250, 247, 0.75); }

/* v3.6 staged diagram reveal: node pop origin + soft violet glow */
.film-lattice .lat-node { transform-box: fill-box; transform-origin: center; }
.film-lattice .lat-node { filter: drop-shadow(0 0 3px rgba(139, 123, 255, 0.55)); }
.film-lattice .lat-node.violet, .film-lattice .lat-node.center { filter: drop-shadow(0 0 5px rgba(139, 123, 255, 0.8)); }
.film-lattice .lat-line.violet { filter: drop-shadow(0 0 4px rgba(139, 123, 255, 0.6)); }

/* v3.7 diagram completion flare — whole lattice flashes to glowing brand violet */
.film-lattice .lat-line, .film-lattice .lat-node, .film-lattice .lat-ring,
.film-lattice .lat-dot, .film-lattice .lat-label { transition: stroke 0.45s ease, fill 0.45s ease, filter 0.45s ease; }
.film-lattice.flared .lat-line { stroke: #a293ff; filter: drop-shadow(0 0 6px rgba(139,123,255,0.95)); }
.film-lattice.flared .lat-line.faint { stroke: rgba(162,147,255,0.45); }
.film-lattice.flared .lat-line.violet { stroke: #c3b6ff; filter: drop-shadow(0 0 8px rgba(139,123,255,1)); }
.film-lattice.flared .lat-node { stroke: #bcafff; fill: rgba(139,123,255,0.45); filter: drop-shadow(0 0 7px rgba(139,123,255,1)); }
.film-lattice.flared .lat-node.center { stroke: #c9bdff; filter: drop-shadow(0 0 10px rgba(139,123,255,1)); }
.film-lattice.flared .lat-ring { stroke: #c9bdff; filter: drop-shadow(0 0 9px rgba(139,123,255,0.95)); }
.film-lattice.flared .lat-dot { fill: #e2daff; }
.film-lattice.flared .lat-label { fill: #d4c9ff; }
.film-lattice.flared .lat-label-center { fill: #ece6ff; }

/* ---------- careers page ---------- */
.nav-links .nav-item > a { cursor: pointer; }
.careers-sec { padding-top: 20px; }
.careers-head { max-width: 720px; margin-bottom: 56px; }
.careers-head h2 { font-size: clamp(32px, 4.2vw, 54px); margin: 18px 0 20px; }
.careers-head p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; }
.job-card {
  background: var(--white); padding: 36px 36px 32px; position: relative; isolation: isolate;
  display: flex; flex-direction: column; color: inherit;
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out), opacity 0.4s ease;
}
.job-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(340px circle at var(--mx,50%) var(--my,0%), rgba(91,76,219,0.08), transparent 62%); transition: opacity 0.4s ease; }
.job-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--violet), #8b7bff); transition: transform 0.5s var(--ease-out); }
.jobs:hover .job-card { opacity: 0.55; }
.jobs:hover .job-card:hover { opacity: 1; }
.job-card:hover { transform: translateY(-5px); box-shadow: 0 22px 54px rgba(26,27,37,0.12); z-index: 2; }
.job-card:hover::before { opacity: 1; }
.job-card:hover::after { transform: scaleX(1); }
.job-card h3 { font-size: 21px; margin-bottom: 10px; transition: color 0.3s ease; }
.job-card:hover h3 { color: var(--violet); }
.job-desc { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 22px; }
.job-salary { margin-top: auto; font-family: var(--font-body); font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.job-salary span { font-weight: 400; color: var(--muted); font-size: 13px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0; margin-bottom: 18px; }
.job-meta span { font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); border: 1px solid var(--hairline-dark); border-radius: 100px; padding: 5px 12px; }
.job-go { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--violet); }
.job-go i { font-style: normal; transition: transform 0.4s var(--spring); }
.job-card:hover .job-go i { transform: translateX(5px); }
@media (max-width: 768px) { .jobs { grid-template-columns: 1fr; } }

/* ---------- company: light "how it fits together" diagram ---------- */
.fit-diagram { display: flex; flex-direction: column; }
.fit-box { background: var(--white); border: 1px solid var(--hairline); border-radius: 16px; padding: 26px 30px; box-shadow: var(--shadow-soft); }
.fit-box.core { border-color: rgba(91, 76, 219, 0.4); }
.fit-tag { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.fit-box h4 { font-family: var(--font-display); font-weight: 500; font-size: 21px; margin-bottom: 8px; color: var(--ink); }
.fit-box p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.fit-link { display: flex; align-items: center; gap: 14px; padding: 16px 6px; }
.fit-link span { flex: 1; height: 1px; background: var(--hairline-dark); }
.fit-link em { font-style: normal; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }

/* ---------- company: who we serve ---------- */
.serve-head { max-width: 760px; }
.serve-head h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 18px 0 20px; }
.serve-head p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; margin-top: 50px; }
.serve-tile { background: var(--white); padding: 42px 34px 44px; position: relative; isolation: isolate; transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out), opacity 0.4s ease; }
.serve-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(320px circle at var(--mx,50%) var(--my,0%), rgba(91,76,219,0.08), transparent 62%); transition: opacity 0.4s ease; }
.serve-tile::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--violet), #8b7bff); transition: transform 0.5s var(--ease-out); }
.serve-grid:hover .serve-tile { opacity: 0.55; }
.serve-grid:hover .serve-tile:hover { opacity: 1; }
.serve-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(26,27,37,0.1); z-index: 2; }
.serve-tile:hover::before { opacity: 1; }
.serve-tile:hover::after { transform: scaleX(1); }
.serve-tile h3 { font-size: 21px; margin-bottom: 11px; transition: color 0.3s ease; }
.serve-tile:hover h3 { color: var(--violet); }
.serve-tile p { color: var(--muted); font-size: 15px; line-height: 1.62; }
.serve-foot { margin-top: 34px; color: var(--muted-2); font-size: 15px; font-style: italic; max-width: 720px; }
@media (max-width: 900px) { .serve-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .serve-grid { grid-template-columns: 1fr; } }

/* who-we-serve: full-width "and many others" tile */
.serve-tile.serve-more { grid-column: 1 / -1; background: linear-gradient(180deg, rgba(91,76,219,0.09), rgba(91,76,219,0.03)); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 30px; padding: 40px 34px; }
.serve-tile.serve-more h3 { color: var(--violet); margin-bottom: 0; white-space: nowrap; font-size: 26px; }
.serve-tile.serve-more p { flex: 1; min-width: 320px; margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-soft, #3a3b45); }

/* ---------- footer address + legal pages ---------- */
.footer-addr { color: rgba(250,250,247,0.5); font-size: 13.5px; line-height: 1.5; margin-top: 0; }
.legal-hero { padding: calc(var(--nav-h) + 70px) 0 40px; border-bottom: 1px solid var(--hairline); }
.legal-hero .hero-eyebrow { margin-bottom: 22px; }
.legal-hero h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.02em; line-height: 1.05; }
.legal-hero .legal-date { margin-top: 22px; color: var(--muted); font-size: 14px; }
.legal-body { max-width: 760px; padding: 60px 0 40px; }
.legal-body h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); margin: 44px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--ink-soft); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.legal-body ul { margin: 0 0 16px 0; padding-left: 22px; }
.legal-body li { color: var(--ink-soft); font-size: 16px; line-height: 1.75; margin-bottom: 8px; }
.legal-body a { color: var(--violet); }
.legal-body a:hover { text-decoration: underline; }
.legal-note { margin-top: 40px; padding: 22px 26px; background: var(--white); border: 1px solid var(--hairline); border-radius: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }

.footer-email { display: inline-block; margin-top: 0; color: rgba(250,250,247,0.5); font-size: 13.5px; transition: color 0.3s; }
.footer-email:hover { color: var(--violet-bright); }

/* ================= platform product demo ================= */
.pd-demo { padding: 20px 0 120px; }
.pd-lead { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.pd-lead .section-tag { justify-content: center; }
.pd-lead h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.02em; line-height: 1.08; margin-top: 14px; }
.pd-lead p { margin-top: 18px; color: var(--muted); font-size: 17.5px; line-height: 1.7; }

.pd-window { max-width: 1080px; margin: 0 auto; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid var(--hairline);
  box-shadow: 0 40px 90px -30px rgba(26,27,37,0.32), 0 8px 24px rgba(26,27,37,0.06); }
.pd-chrome { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f3f3ef; border-bottom: 1px solid var(--hairline); }
.pd-dot { width: 11px; height: 11px; border-radius: 50%; background: #d6d6cf; }
.pd-dot:nth-child(1){ background:#f0655b; } .pd-dot:nth-child(2){ background:#f4bf4f; } .pd-dot:nth-child(3){ background:#5bc46a; }
.pd-url { margin-left: 14px; display: flex; align-items: center; gap: 7px; padding: 5px 14px; background: #fff; border: 1px solid var(--hairline); border-radius: 8px;
  font-family: var(--font-body); font-size: 12.5px; color: var(--muted); letter-spacing: 0.01em; }
.pd-url svg { color: #9a9a90; opacity: 0.8; }

.pd-screen { position: relative; height: 500px; background: var(--paper); overflow: hidden; }

/* login */
.pd-login { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 50% 0%, #fbfbf8, #f2f1ea 70%); }
.pd-login-card { width: 340px; background: #fff; border: 1px solid var(--hairline); border-radius: 14px; padding: 34px 32px 30px;
  box-shadow: 0 20px 50px -24px rgba(26,27,37,0.22); text-align: left; }
.pd-logo { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.01em; margin-bottom: 18px; color: var(--ink); }
.pd-logo .logo-lead { color: var(--violet); } .pd-logo .logo-dot { color: var(--violet); }
.pd-login-h { font-family: var(--font-display); font-size: 19px; color: var(--ink); margin-bottom: 20px; }
.pd-field { margin-bottom: 14px; }
.pd-field label { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2, #8a8a80); margin-bottom: 6px; }
.pd-input { font-family: var(--font-body); font-size: 13.5px; color: var(--ink-soft, #3a3b45); padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 8px; background: #fcfcfa; }
.pd-pw { letter-spacing: 2px; color: #b7b7ad; }
.pd-signin { margin-top: 8px; width: 100%; padding: 11px; border: none; border-radius: 9px; background: var(--violet); color: #fff;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.3s ease, background 0.3s ease; }
.pd-signin.press { transform: scale(0.96); box-shadow: 0 0 0 4px rgba(91,76,219,0.18); background: #4b3dc7; }
.pd-cursor { position: absolute; width: 18px; height: 18px; left: 50%; top: 78%; z-index: 5; opacity: 0; pointer-events: none;
  background: no-repeat center/contain; }
.pd-cursor::before { content: ""; display: block; width: 0; height: 0; border-left: 11px solid #1a1b25; border-bottom: 8px solid transparent; transform: rotate(-32deg); filter: drop-shadow(0 1px 1px rgba(0,0,0,0.3)); }
.pd-login.out { opacity: 0; transform: translateY(-8px); transition: opacity 0.5s ease, transform 0.5s ease; }

/* dashboard */
.pd-dash { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: 194px 1fr; opacity: 0; transition: opacity 0.6s ease; }
.pd-dash.show { opacity: 1; }
.pd-side { background: #14151f; padding: 20px 14px; display: flex; flex-direction: column; gap: 22px; }
.pd-side-logo { font-family: var(--font-display); font-size: 20px; color: #fff; padding: 4px 8px; }
.pd-side-logo .logo-lead, .pd-side-logo .logo-dot { color: #a89cf7; }
.pd-nav { display: flex; flex-direction: column; gap: 3px; }
.pd-navi { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.55); }
.pd-navi .pd-ico { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: 0.7; }
.pd-navi.active { background: rgba(139,123,255,0.16); color: #fff; }
.pd-navi.active .pd-ico { background: #8b7bff; border-color: #8b7bff; opacity: 1; }

.pd-main { padding: 22px 26px; overflow: hidden; }
.pd-topbar { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.pd-prac { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.pd-crumb { font-family: var(--font-body); font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.pd-live { display: flex; align-items: center; gap: 7px; font-family: var(--font-body); font-size: 12px; font-weight: 600; color: #3a9d5d; padding: 5px 11px; background: rgba(58,157,93,0.1); border-radius: 20px; }
.pd-live i { width: 7px; height: 7px; border-radius: 50%; background: #3a9d5d; animation: pdBlink 1.8s ease-in-out infinite; }
@keyframes pdBlink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.pd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.pd-stat { background: #fff; border: 1px solid var(--hairline); border-radius: 11px; padding: 14px 15px; }
.pd-stat small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.03em; color: var(--muted); margin-bottom: 8px; }
.pd-stat b { font-family: var(--font-display); font-size: 26px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.pd-delta { display: inline-block; margin-top: 6px; font-family: var(--font-body); font-size: 11.5px; font-weight: 600; }
.pd-delta.up { color: #3a9d5d; } .pd-delta.down { color: #c77b3a; }

.pd-lower { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.pd-card { background: #fff; border: 1px solid var(--hairline); border-radius: 11px; padding: 16px 18px; }
.pd-card-h { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; color: var(--ink-soft, #3a3b45); margin-bottom: 16px; }
.pd-bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.pd-bar { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.pd-bar i { display: block; width: 100%; height: 0; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #8b7bff, var(--violet)); transition: height 0.9s cubic-bezier(0.22,1,0.36,1); }
.pd-chart.go .pd-bar i { height: var(--h); }
.pd-xaxis { display: flex; gap: 10px; margin-top: 8px; }
.pd-xaxis span { flex: 1; text-align: center; font-family: var(--font-body); font-size: 10.5px; color: var(--muted); }

.pd-payer { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.pd-payer:last-child { margin-bottom: 0; }
.pd-pn { width: 104px; font-family: var(--font-body); font-size: 12px; color: var(--ink-soft, #3a3b45); }
.pd-track { flex: 1; height: 8px; border-radius: 6px; background: #efeee8; overflow: hidden; }
.pd-track i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--violet), #8b7bff); transition: width 1s cubic-bezier(0.22,1,0.36,1); }
.pd-track i.soft { background: #c9c3ec; }
.pd-payers.go .pd-track i { width: var(--w); }
.pd-payer b { width: 34px; text-align: right; font-family: var(--font-display); font-size: 14px; color: var(--ink); }

@media (max-width: 820px) {
  .pd-screen { height: auto; min-height: 440px; }
  .pd-dash { position: relative; grid-template-columns: 1fr; }
  .pd-side { flex-direction: row; align-items: center; gap: 14px; overflow-x: auto; }
  .pd-nav { flex-direction: row; }
  .pd-navi span.pd-ico { display: none; }
  .pd-stats { grid-template-columns: repeat(2, 1fr); }
  .pd-lower { grid-template-columns: 1fr; }
  .pd-login { position: absolute; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-login { display: none; }
  .pd-dash { position: relative; opacity: 1; }
  .pd-chart .pd-bar i { height: var(--h); transition: none; }
  .pd-payers .pd-track i { width: var(--w); transition: none; }
}

/* ---- product demo: app views, training, caption ---- */
.pd-cursor { z-index: 6; }
.pd-side { justify-content: flex-start; }
.pd-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 8px; border-top: 1px solid rgba(255,255,255,0.08); }
.pd-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #8b7bff, var(--violet)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 11px; font-weight: 600; }
.pd-user-t b { display: block; font-family: var(--font-body); font-size: 12.5px; color: #fff; font-weight: 600; }
.pd-user-t small { font-family: var(--font-body); font-size: 11px; color: rgba(255,255,255,0.5); }

.pd-main { position: relative; padding: 0; }
.pd-view { position: absolute; inset: 0; padding: 22px 26px; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease; }
.pd-view.active { opacity: 1; visibility: visible; }

/* training */
.pd-progress-pill { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--violet); background: rgba(91,76,219,0.1); padding: 5px 12px; border-radius: 20px; }
.pd-roles { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.pd-role { font-family: var(--font-body); font-size: 12px; color: var(--muted); padding: 6px 13px; border: 1px solid var(--hairline); border-radius: 20px; background: #fff; }
.pd-role.active { color: #fff; background: var(--violet); border-color: var(--violet); }
.pd-modules { height: 300px; overflow: hidden; position: relative; }
.pd-modules-inner { display: flex; flex-direction: column; gap: 9px; }
.pd-mod { display: flex; align-items: center; gap: 13px; padding: 13px 15px; background: #fff; border: 1px solid var(--hairline); border-radius: 11px; }
.pd-mod-check { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; border: 1.7px solid #d3d3ca; position: relative; }
.pd-mod.done .pd-mod-check { background: #3a9d5d; border-color: #3a9d5d; }
.pd-mod.done .pd-mod-check::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pd-mod.prog .pd-mod-check { border-color: var(--violet); }
.pd-mod.prog .pd-mod-check::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--violet); }
.pd-mod-body { flex: 1; }
.pd-mod-body b { display: block; font-family: var(--font-body); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pd-mod-body small { font-family: var(--font-body); font-size: 11.5px; color: var(--muted); }
.pd-mod-stat { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--muted-2, #8a8a80); }
.pd-mod.done .pd-mod-stat { color: #3a9d5d; }
.pd-mod.prog .pd-mod-stat { color: var(--violet); }
.pd-mod.prog { border-color: rgba(91,76,219,0.4); box-shadow: 0 0 0 1px rgba(91,76,219,0.12); }

/* module detail */
.pd-module-detail { position: absolute; inset: 0; padding: 22px 26px; background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease; }
.pd-view-training.detail .pd-module-detail { opacity: 1; visibility: visible; transform: none; }
.pd-md-back { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--violet); margin-bottom: 14px; }
.pd-md-title { font-family: var(--font-display); font-size: 24px; color: var(--ink); margin-bottom: 6px; }
.pd-md-meta { font-family: var(--font-body); font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.pd-md-video { height: 118px; border-radius: 11px; background: linear-gradient(135deg, #1c1d29, #2b2540); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; position: relative; overflow: hidden; }
.pd-play { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.14); border: 1.5px solid rgba(255,255,255,0.6); position: relative; }
.pd-play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.pd-md-vlabel { font-family: var(--font-body); font-size: 12px; color: rgba(255,255,255,0.72); }
.pd-md-lessons { display: flex; flex-direction: column; gap: 2px; }
.pd-lesson { display: flex; align-items: center; gap: 11px; padding: 9px 4px; font-family: var(--font-body); font-size: 13px; color: var(--ink-soft, #3a3b45); border-bottom: 1px solid var(--hairline); }
.pd-lesson span { width: 16px; height: 16px; border-radius: 50%; border: 1.6px solid #d3d3ca; flex-shrink: 0; position: relative; }
.pd-lesson.done span { background: #3a9d5d; border-color: #3a9d5d; }
.pd-lesson.done span::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.pd-lesson.now span { border-color: var(--violet); }
.pd-lesson.now span::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--violet); }
.pd-lesson.now { color: var(--ink); font-weight: 600; }

/* caption reveal */
.pd-caption { position: relative; height: 60px; margin-top: 40px; text-align: center; }
.pd-cap-a, .pd-cap-b { position: absolute; left: 0; right: 0; top: 8px; font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.015em; opacity: 0; transform: translateY(12px); }
.pd-cap-a { color: var(--ink); }
.pd-cap-b { color: var(--violet); }
@media (prefers-reduced-motion: reduce) {
  .pd-view-overview { opacity: 1; visibility: visible; }
  .pd-cap-b { opacity: 1; transform: none; }
}

/* ---- product demo finale (window drops away, title card takes over) ---- */
.pd-demo .container { position: relative; }
.pd-window { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1); transform-origin: center 40%; }
.pd-window.gone { opacity: 0; transform: scale(0.94) translateY(10px); pointer-events: none; }
.pd-finale { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease; }
.pd-finale.show { opacity: 1; visibility: visible; }
.pf-lines { text-align: center; line-height: 1.14; }
.pf-line1, .pf-line2 { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 5.2vw, 68px); letter-spacing: -0.02em; opacity: 0; transform: translateY(22px); }
.pf-line1 { color: var(--ink); }
.pf-line2 { color: var(--violet); position: relative; display: inline-block; margin-top: 4px; }
.pf-line2::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.14em; height: 3px; border-radius: 3px; background: var(--violet); transform: scaleX(0); transform-origin: left center; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.pf-line2.drawn::after { transform: scaleX(1); }
.pf-replay { display: inline-flex; align-items: center; gap: 11px; padding: 11px 22px 11px 16px; border-radius: 40px; border: 1px solid var(--hairline); background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; opacity: 0; transform: translateY(14px); transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; box-shadow: var(--shadow-soft); }
.pf-replay:hover { background: var(--violet); color: #fff; transform: translateY(-2px); }
.pf-play { width: 30px; height: 30px; border-radius: 50%; background: var(--violet); position: relative; flex-shrink: 0; transition: background 0.3s ease; }
.pf-replay:hover .pf-play { background: #fff; }
.pf-play::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; transition: border-left-color 0.3s ease; }
.pf-replay:hover .pf-play::after { border-left-color: var(--violet); }

.stack-oneline { margin-top: 26px; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; letter-spacing: -0.01em; color: var(--violet); }

/* finale: sequential single-element reveals, each centered on screen */
.pd-finale { display: block; }
.pf-lines { position: absolute; inset: 0; }
.pf-line1, .pf-line2 { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: auto; margin: 0; white-space: nowrap; }
.pf-replay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
.pf-replay:hover { transform: translate(-50%, -50%) translateY(-2px); }
.pf-line2::after { transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }

/* bigger replay button so it clearly reads as a video control */
.pf-replay { padding: 16px 32px 16px 22px; gap: 15px; font-size: 17px; }
.pf-play { width: 48px; height: 48px; }
.pf-play::after { left: 19px; top: 14px; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }

.close-sub { margin: -16px auto 34px; font-family: var(--font-body); font-size: 18px; color: var(--ink); max-width: 640px; }

/* ---- realistic browser chrome + real sidebar icons ---- */
.pd-tabbar { display: flex; align-items: center; gap: 7px; padding: 9px 14px 0; background: #dcdcd4; }
.pd-tabbar .pd-dot { width: 11px; height: 11px; border-radius: 50%; }
.pd-tab { display: flex; align-items: center; gap: 8px; margin-left: 10px; padding: 8px 11px; background: var(--paper); border-radius: 9px 9px 0 0; max-width: 240px; }
.pd-fav { width: 16px; height: 16px; border-radius: 4px; background: linear-gradient(135deg, #8b7bff, var(--violet)); color: #fff; font-family: var(--font-display); font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pd-tab-title { font-family: var(--font-body); font-size: 12px; color: var(--ink-soft, #3a3b45); white-space: nowrap; }
.pd-tab-x { color: #a0a096; display: flex; margin-left: 2px; }
.pd-newtab { color: #78786e; display: flex; padding: 5px; }

.pd-chrome { display: flex; align-items: center; gap: 12px; padding: 9px 16px; background: var(--paper); border-bottom: 1px solid var(--hairline); }
.pd-navbtns { display: flex; align-items: center; gap: 6px; color: #86867c; }
.pd-navbtns svg { width: 18px; height: 18px; }
.pd-navbtns .pd-fwd { opacity: 0.35; }
.pd-urlbar { flex: 1; display: flex; align-items: center; gap: 9px; padding: 6px 15px; background: #fff; border: 1px solid var(--hairline); border-radius: 20px; font-family: var(--font-body); font-size: 12.5px; color: var(--muted); }
.pd-urlbar svg { color: #8a8a80; flex-shrink: 0; }
.pd-urlbar span { color: var(--ink-soft, #3a3b45); }
.pd-kebab { display: flex; flex-direction: column; gap: 3px; padding: 5px 3px; }
.pd-kebab i { width: 3.5px; height: 3.5px; border-radius: 50%; background: #9a9a90; }

/* sidebar icons: real line icons, not checkboxes */
.pd-navi .pd-ico { width: 17px; height: 17px; border: none; border-radius: 0; background: none; opacity: 0.62; flex-shrink: 0; }
.pd-navi.active .pd-ico { color: #8b7bff; opacity: 1; background: none; border: none; }

/* ==================================================================
   MOBILE PASS (2026-08-02) — comprehensive phone layout overrides
   ================================================================== */
/* platform demo mobile stand-in (base: hidden on desktop) */
.pd-mobile { display: none; }
.pd-m-line { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 8vw, 36px); letter-spacing: -0.02em; line-height: 1.14; color: var(--ink); }
.pd-m-accent { color: var(--violet); margin-top: 2px; }
.pd-m-sub { margin: 18px auto 0; max-width: 420px; font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--muted); }

@media (max-width: 768px) {
  /* ---- tighten section rhythm everywhere ---- */
  .section { padding: 58px 0; }
  .statement { padding: 50px 0 44px; }
  .statement-foot { margin-top: 24px; }
  .services-head { margin-bottom: 32px; }
  .services-head h2 { font-size: clamp(30px, 8vw, 40px); }
  .sp-run { padding: 50px 0; }
  .sp-run-head { margin-bottom: 30px; }
  .sp-measured { padding: 50px 0; }
  .plat-section { padding: 46px 0; }
  .plat-grid { gap: 28px; }
  .stdband { padding: 50px 0; }
  .stdband h2 { margin-bottom: 30px; }
  .install { padding: 50px 0 46px; }
  .install-head { margin-bottom: 34px; }
  .cta { padding: 14px 0 54px; }
  .close { padding: 46px 0 52px; }
  .close-tag { font-size: clamp(23px, 7.2vw, 30px); margin-bottom: 24px; }
  .close-sub { margin: -10px auto 24px; }
  .structure-grid, .co-hero-grid, .sp-hero-grid { gap: 30px; }
  .sp-hero { padding: calc(var(--nav-h) + 42px) 0 40px; }
  .page-hero { padding: calc(var(--nav-h) + 46px) 0 34px; }
  .page-hero-tight { padding: calc(var(--nav-h) + 40px) 0 20px; }
  .serve-head { margin-bottom: 8px; }

  /* ---- kill sticky :hover states + shrink ALL interactive boxes ---- */
  .services-grid:hover .svc-card,
  .sp-run-grid:hover .sp-block,
  .serve-grid:hover .serve-tile,
  .cred-grid:hover .cred-tile { opacity: 1; }
  .svc-card:hover, .sp-block:hover, .serve-tile:hover, .cred-tile:hover, .job-card:hover {
    transform: none; box-shadow: none;
  }

  /* homepage service cards: 2-up, compact */
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-card { min-height: 0; padding: 24px 15px 26px; }
  .svc-card .svc-icon { width: 32px; height: 32px; margin-bottom: 10px; }
  .svc-card h3 { font-size: 15.5px; margin-bottom: 6px; }
  .svc-card p { font-size: 12.5px; line-height: 1.5; }
  .svc-card .svc-go { display: none; }

  /* service-page "What we run" blocks: single column, compact */
  .sp-run-grid { grid-template-columns: 1fr; }
  .sp-block { padding: 24px 22px 26px; }
  .sp-block .spb-num { font-size: 24px; margin-bottom: 10px; }
  .sp-block h3 { font-size: 18px; margin-bottom: 8px; }
  .sp-block p { font-size: 14px; }

  /* platform discipline rows */
  .plat-item { padding: 20px 0; gap: 16px; }
  .plat-left h2 { margin-bottom: 14px; }

  /* company "who we serve" + standards tiles */
  .serve-tile { padding: 26px 22px; }
  .serve-tile.serve-more { padding: 26px 22px; }
  .serve-tile.serve-more h3 { font-size: 22px; }

  /* careers job cards */
  .jobs { grid-template-columns: 1fr; }
  .job-card { padding: 26px 22px; }
  .job-card h3 { font-size: 19px; }
  .job-desc { font-size: 14px; margin-bottom: 18px; }
  .careers-head { margin-bottom: 30px; }

  /* the standard: 2x2, compact (overrides the 1-col @520 rule) */
  .std-grid { grid-template-columns: 1fr 1fr; }
  .std-tile { padding: 22px 15px 24px; }
  .std-val { font-size: 28px; margin-bottom: 7px; }
  .std-tile p { font-size: 12.5px; line-height: 1.5; }

  /* ---- hero: center copy + buttons, enlarge lattice ---- */
  .hs-grid { text-align: center; gap: 20px; padding: calc(var(--nav-h) + 22px) 0 28px; }
  .hs-copy { display: flex; flex-direction: column; align-items: center; }
  .hs-copy .hero-title { text-align: center; }
  .hs-copy .hero-title .line:first-child > span { margin-left: 0; }
  .hs-lede { margin: 16px auto 0; text-align: center; }
  .hs-ctas { justify-content: center; margin-top: 22px; gap: 12px; }
  .hero .hs-lattice { max-width: 100%; margin: 0 auto; transform: scale(1.08); }

  /* ---- payer logos: force brand violet (iOS Safari drops long filter chains) ---- */
  .payer-logo img {
    -webkit-filter: brightness(0) saturate(100%) invert(28%) sepia(89%) saturate(2807%) hue-rotate(243deg) brightness(92%) contrast(96%) !important;
    filter: brightness(0) saturate(100%) invert(28%) sepia(89%) saturate(2807%) hue-rotate(243deg) brightness(92%) contrast(96%) !important;
  }

  /* ---- platform product demo: hide the film, show static stand-in ---- */
  .pd-demo { padding: 6px 0 50px; }
  .pd-window, .pd-finale { display: none !important; }
  .pd-mobile { display: block; text-align: center; padding: 6px 0; }

  /* ---- contact form: center the submit button ---- */
  .contact-form .cf-submit { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }

  /* ---- mobile menu: Platform standalone + Services accordion ---- */
  .mobile-menu { overflow-y: auto; }
  .mobile-menu .mm-group { border-bottom: 1px solid var(--hairline); }
  .mobile-menu .mm-services {
    width: 100%; background: none; border: none; cursor: pointer; text-align: left;
    font-family: var(--font-display); font-size: 34px; font-weight: 500; color: var(--ink);
    padding: 12px 0; display: flex; align-items: center; gap: 12px;
  }
  .mobile-menu .mm-caret {
    width: 11px; height: 11px; border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2);
    transform: rotate(45deg); transition: transform 0.3s ease; margin-bottom: 5px;
  }
  .mobile-menu .mm-group.open .mm-caret { transform: rotate(-135deg); margin-bottom: -3px; }
  .mobile-menu .mm-panel { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.4s ease, opacity 0.3s ease; }
  .mobile-menu .mm-group.open .mm-panel { max-height: 460px; opacity: 1; }
  .mobile-menu .mm-panel a {
    display: block; font-family: var(--font-body); font-size: 18px; font-weight: 500;
    color: var(--ink-soft); padding: 11px 0 11px 4px; border-bottom: 1px solid var(--hairline);
  }
  .mobile-menu .mm-panel a:last-child { border-bottom: none; padding-bottom: 16px; }
}

/* ==================================================================
   MOBILE PASS v2 (2026-08-02) — hero position, payer iOS fix,
   installation spine, platform static dashboard
   ================================================================== */
/* platform mobile static dashboard (base hidden; shown in the 768 block below) */
.pdm-card { display: none; }

@media (max-width: 768px) {
  /* ---- hero: sit lower, slightly smaller, bigger diagram ---- */
  .hero-stage { align-items: flex-start; }
  .hs-grid { padding-top: calc(var(--nav-h) + 58px); padding-bottom: 30px; }
  .hs-copy .hero-title { font-size: clamp(38px, 9.6vw, 54px); }
  .hero .hs-lattice { transform: scale(1.3); transform-origin: center top; margin-top: 8px; }

  /* ---- payer logos: drop transform (iOS drops filter when combined) so the violet filter renders ---- */
  .payer-logo img { transform: none !important; }

  /* ---- installation: one clean connected spine (no animation on mobile) ---- */
  .install-stack { position: relative; padding-left: 26px; display: block; }
  .install-stack::before {
    content: ""; position: absolute; left: 5px; top: 16px; bottom: 14px; width: 2px;
    background: linear-gradient(180deg, var(--violet), rgba(91, 76, 219, 0.22));
  }
  .install-stack .ist-main {
    position: relative; border: 1.5px solid var(--violet); border-radius: 12px; background: var(--white);
    padding: 16px 20px; margin-bottom: 0; font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ink);
  }
  .install-stack .ist-main small { display: block; font-family: var(--font-body); font-size: 13px; color: var(--muted); margin-top: 3px; }
  .install-stack .ist-main::before {
    content: ""; position: absolute; left: -24.5px; top: 50%; transform: translateY(-50%);
    width: 11px; height: 11px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 3px var(--paper);
  }
  .ist-run {
    font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--violet); margin: 14px 0 14px 2px;
  }
  .ist-layers { display: flex; flex-direction: column; gap: 10px; }
  .install-stack .ist-layer {
    position: relative; border: 1px solid var(--hairline-dark); border-radius: 10px; background: var(--white);
    padding: 13px 18px; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--ink-soft);
  }
  .install-stack .ist-layer::before {
    content: ""; position: absolute; left: -24px; top: 50%; transform: translateY(-50%);
    width: 8px; height: 8px; border-radius: 50%; background: var(--violet); opacity: 0.7; box-shadow: 0 0 0 3px var(--paper);
  }

  /* ---- platform demo: static dashboard card + tagline ---- */
  .pd-m-line { font-size: clamp(24px, 7vw, 32px); line-height: 1.18; }
  .pd-m-accent { display: inline; margin-top: 0; }
  .pdm-card {
    display: block; text-align: left; max-width: 380px; margin: 0 auto 26px;
    border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; background: #fff;
    box-shadow: 0 22px 54px -26px rgba(26, 27, 37, 0.28);
  }
  .pdm-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f3ef; border-bottom: 1px solid var(--hairline); }
  .pdm-chrome span { width: 9px; height: 9px; border-radius: 50%; background: #d6d6cf; }
  .pdm-chrome span:nth-child(1) { background: #f0655b; } .pdm-chrome span:nth-child(2) { background: #f4bf4f; } .pdm-chrome span:nth-child(3) { background: #5bc46a; }
  .pdm-chrome em { margin-left: 8px; font-family: var(--font-body); font-size: 11.5px; font-style: normal; color: var(--muted); }
  .pdm-inner { padding: 16px; }
  .pdm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .pdm-top b { font-family: var(--font-display); font-size: 16px; color: var(--ink); }
  .pdm-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 10.5px; font-weight: 600; color: #3a9d5d; background: rgba(58, 157, 93, 0.1); padding: 4px 9px; border-radius: 20px; }
  .pdm-live i { width: 6px; height: 6px; border-radius: 50%; background: #3a9d5d; }
  .pdm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
  .pdm-stats > div { border: 1px solid var(--hairline); border-radius: 9px; padding: 10px 12px; }
  .pdm-stats small { display: block; font-family: var(--font-body); font-size: 10.5px; color: var(--muted); margin-bottom: 5px; }
  .pdm-stats b { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
  .pdm-chart-h { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; }
  .pdm-chart { display: flex; align-items: flex-end; gap: 7px; height: 84px; }
  .pdm-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #8b7bff, var(--violet)); }
}

/* legal pages: the .section wrapper's 150px top stacked with .legal-body's own padding,
   leaving a huge gap under the hero. Collapse the wrapper's top padding (desktop + mobile). */
.section:has(.legal-body) { padding-top: 0; padding-bottom: 80px; }
.legal-body { padding-top: 46px; }

@media (max-width: 768px) {
  /* give the hero hexagon's bottom point (Technology) space before the marquee band */
  .hero .hs-grid { padding-bottom: 66px; }
  .hero .hs-lattice { margin-bottom: 30px; }
}

/* payer logos: bulletproof recolor via mask (SVG shape masks a solid violet fill).
   Works on iOS Safari where the filter approach failed on some logos (magenta Humana). */
.payer-mask {
  display: inline-block;
  background-color: var(--violet);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
@media (max-width: 768px) {
  /* slightly premium install diagram: soft shadows + glowing lead node */
  .install-stack .ist-layer { box-shadow: 0 2px 10px rgba(26, 27, 37, 0.045); }
  .install-stack .ist-main { box-shadow: 0 10px 34px -14px rgba(91, 76, 219, 0.3); }
  .install-stack .ist-main::before { box-shadow: 0 0 0 3px var(--paper), 0 0 10px rgba(91, 76, 219, 0.55); }
}

/* platform mobile mini-film: login overlay + animated dashboard populate */
@media (max-width: 768px) {
  .pdm-screen { position: relative; }
  .pdm-login {
    position: absolute; inset: 0; z-index: 2; background: var(--paper);
    display: flex; flex-direction: column; justify-content: center; padding: 24px 20px;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .pdm-login.out { opacity: 0; transform: translateY(-8px); pointer-events: none; }
  .pdm-logo { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin-bottom: 16px; }
  .pdm-logo .logo-lead, .pdm-logo .logo-dot { color: var(--violet); }
  .pdm-login-h { font-family: var(--font-display); font-size: 17px; color: var(--ink); margin-bottom: 18px; }
  .pdm-lfield { margin-bottom: 12px; }
  .pdm-lfield label { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 5px; }
  .pdm-lfield > div { font-family: var(--font-body); font-size: 13px; color: var(--ink-soft); padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 8px; background: #fcfcfa; }
  .pdm-pw { letter-spacing: 2px; color: #b7b7ad; }
  .pdm-signin { margin-top: 6px; width: 100%; padding: 11px; border: none; border-radius: 9px; background: var(--violet); color: #fff; font-family: var(--font-body); font-size: 14px; font-weight: 600; transition: transform 0.15s ease, background 0.3s ease, box-shadow 0.3s ease; }
  .pdm-signin.press { transform: scale(0.97); background: #4b3dc7; box-shadow: 0 0 0 4px rgba(91,76,219,0.16); }

  /* bars start collapsed, grow when .go is added */
  .pdm-chart i { height: 0; transition: height 0.85s cubic-bezier(0.22,1,0.36,1); }
  .pdm-chart.go i { height: var(--h); }
  .pdm-chart i:nth-child(1) { transition-delay: 0.02s; } .pdm-chart i:nth-child(2) { transition-delay: 0.08s; }
  .pdm-chart i:nth-child(3) { transition-delay: 0.14s; } .pdm-chart i:nth-child(4) { transition-delay: 0.20s; }
  .pdm-chart i:nth-child(5) { transition-delay: 0.26s; } .pdm-chart i:nth-child(6) { transition-delay: 0.32s; }
  .pdm-chart i:nth-child(7) { transition-delay: 0.38s; }
}

/* contact form thank-you state */
.cf-thanks {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 20px;
  box-shadow: var(--shadow-soft); padding: 64px 40px; text-align: center;
}
.cf-thanks-check {
  width: 54px; height: 54px; border-radius: 50%; background: var(--violet);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
  box-shadow: 0 10px 26px -8px rgba(91, 76, 219, 0.5);
}
.cf-thanks h3 { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--ink); margin-bottom: 10px; }
.cf-thanks p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 380px; margin: 0 auto; }

/* 404 page */
.nf-wrap { min-height: calc(100svh - var(--nav-h) - 120px); display: flex; align-items: center; }
.nf-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.nf-code { font-family: var(--font-display); font-weight: 500; font-size: clamp(90px, 14vw, 150px); line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.nf-code .accent { color: var(--violet); }
.nf-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 34px); color: var(--ink); margin: 18px 0 12px; }
.nf-sub { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 34px; }
.nf-inner .btn { margin: 0 auto; }
