/* ============================================================
   Orixa — LIGHT THEME
   Soft white surfaces, solid violet (#5C17E5) as primary,
   teal (#94CACA/#B8DBDB) as secondary decorative accent.
   ============================================================ */

body.theme-light {
  /* Surface */
  --bg-0: #ffffff;
  --bg-1: #ffffff;
  --bg-2: #f6f5fb;
  --bg-3: #ecebf4;

  /* Brand */
  --mint: #94CACA;
  --mint-soft: #B8DBDB;
  --mint-deep: #3F7B7B;
  --purple: #5C17E5;
  --purple-deep: #4710B8;
  --purple-soft: #B7A6F2;
  --blue: #5C17E5;
  --blue-deep: #4710B8;

  /* Text */
  --fg: #0c1230;
  --fg-mute: #5a607a;
  --fg-dim: #9296ab;

  /* Strokes */
  --line: rgba(12,18,48,0.08);
  --line-strong: rgba(12,18,48,0.14);
}

/* ---------- Page background ---------- */
body.theme-light {
  background: var(--bg-0);
  background-attachment: fixed;
}

/* ---------- Eyebrow chip → minimal dash + label ---------- */
body.theme-light .eyebrow {
  color: var(--fg-mute);
  border: none;
  background: none;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  gap: 14px;
  border-radius: 0;
}
body.theme-light .eyebrow .dot {
  width: 28px;
  height: 1px;
  border-radius: 0;
  background: var(--fg-mute) !important;
  box-shadow: none !important;
  animation: none !important;
}

/* ---------- Gradient text → solid violet inline highlight ---------- */
body.theme-light .grad-text {
  background: none;
  -webkit-background-clip: initial; background-clip: initial;
  color: var(--purple);
}
body.theme-light .lede__hl { color: var(--purple); }

/* ---------- Buttons: solid violet, no glow ---------- */
body.theme-light .btn--mint {
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(92,23,229,0.25);
  border-radius: 999px;
}
body.theme-light .btn--mint:hover {
  background: var(--purple-deep);
  box-shadow: 0 8px 22px -10px rgba(92,23,229,0.55);
}
body.theme-light .btn--ghost {
  border-color: var(--line-strong);
  color: var(--fg);
  background: transparent;
  border-radius: 999px;
}
body.theme-light .btn--ghost:hover { background: rgba(12,18,48,0.04); }

/* ---------- Nav ---------- */
body.theme-light .nav {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
html { scroll-behavior: smooth; }
body.theme-light .nav__lang { cursor: pointer; user-select: none; transition: color 0.15s ease; }
body.theme-light .nav__menu { background: #ffffff; }
body.theme-light .nav__lang:hover { color: var(--fg); }
body.theme-light .product[id] { scroll-margin-top: 92px; }
/* Old product block hidden per request — restore by removing this rule */
body.theme-light #prodotti { display: none; }
/* Engine blueprint hidden per request — restore by removing this rule */
body.theme-light #soluzione .engine-scale { display: none; }
body.theme-light .nav__logo-mark {
  background:
    radial-gradient(circle at 30% 30%, var(--mint), transparent 55%),
    radial-gradient(circle at 70% 70%, var(--purple), transparent 55%),
    var(--bg-2);
  box-shadow: inset 0 0 0 1px rgba(12,18,48,0.10);
}

/* ---------- Hero — clean & airy ---------- */
body.theme-light .hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 32px;
}
body.theme-light .hero__chips .chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(92,23,229,0.06);
  border: 1px solid rgba(92,23,229,0.24);
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 500;
  white-space: nowrap;
}

body.theme-light .hero__bg {
  display: block !important;
  position: absolute;
  top: 270px;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 270px 0 0 0;
  background-color: transparent;
  background-image:
    linear-gradient(to right, rgba(92,23,229,0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(92,23,229,0.12) 1px, transparent 1px);
  background-size: 110px 110px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.35) 14%, rgba(0,0,0,0.85) 38%, #000 70%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.35) 14%, rgba(0,0,0,0.85) 38%, #000 70%);
  opacity: 1;
  filter: none;
  pointer-events: none;
  animation: none;
}
body.theme-light .hero__grid { opacity: 0; }
body.theme-light .hero__orb--1,
body.theme-light .hero__orb--2 { display: none; }

/* ---------- Hero visual frame ---------- */
body.theme-light .hero__visual {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(12,18,48,0.18);
  border-radius: 24px;
}
body.theme-light .hero__visual::before {
  background: radial-gradient(700px 400px at 50% 0%, rgba(92,23,229,0.08), transparent 60%);
}

/* ---------- Stat cards ---------- */
body.theme-light .stat {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -22px rgba(12,18,48,0.18);
  border-radius: 18px;
}
body.theme-light .stat::before {
  background: radial-gradient(420px 220px at 50% 110%, rgba(92,23,229,0.06), transparent 55%);
}
body.theme-light .step__num-big { color: #5C17E5; }
body.theme-light .step__num-big::before { background: #5C17E5; }
body.theme-light .stat__num { color: var(--purple); }
body.theme-light .stat__num .unit { color: var(--purple); }

/* ---------- Feature cards ---------- */
body.theme-light .feat,
body.theme-light .feature {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px -24px rgba(12,18,48,0.18);
  border-radius: 22px;
}
body.theme-light .feature::before {
  background: var(--feat-glow, radial-gradient(500px 280px at 0% 50%, rgba(92,23,229,0.06), transparent 60%));
  opacity: 0.7;
}
body.theme-light .feature.is-mint   { --feat-color: var(--mint-deep); }
body.theme-light .feature.is-blue   { --feat-color: var(--purple); }
body.theme-light .feature.is-purple { --feat-color: var(--purple); }
body.theme-light .feature__num span { color: var(--fg); }

/* ---------- Platform overview card ---------- */
body.theme-light .platform__card,
body.theme-light .step {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px -28px rgba(12,18,48,0.18);
  border-radius: 22px;
}
body.theme-light .platform__visual {
  background: linear-gradient(135deg, rgba(12,18,48,0.02), rgba(12,18,48,0));
}

/* ---------- Use-case cards ---------- */
body.theme-light .usecase {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px -24px rgba(12,18,48,0.18);
  border-radius: 22px;
}

/* ---------- Audience flip cards ---------- */
body.theme-light .aud { background: transparent; }
body.theme-light .aud__face {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px -24px rgba(12,18,48,0.18);
  border-radius: 22px;
}

/* ---------- Impact scene ---------- */
body.theme-light .impact-scene__pin {
  background: linear-gradient(180deg, transparent, rgba(246,245,251,0.7) 30%, rgba(246,245,251,0.7) 70%, transparent);
}
body.theme-light .impact-scene__bg {
  background:
    radial-gradient(900px 500px at 50% 50%, rgba(148,202,202,0.18), transparent 65%),
    radial-gradient(700px 420px at 30% 70%, rgba(92,23,229,0.06), transparent 60%);
}
body.theme-light .ih-sans { color: var(--fg); }
body.theme-light .ih-serif--dim { color: rgba(12,18,48,0.55); }
body.theme-light .ih-serif--mint { color: var(--purple); }
body.theme-light .impact-scene__headline,
body.theme-light .ih-sans,
body.theme-light .ih-serif {
  font-family: var(--font-display);
  font-style: normal;
}
body.theme-light .ih-serif--dim { color: #3a3f55; }

body.theme-light .ic-card {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -16px rgba(12,18,48,0.16);
  border-radius: 18px;
}
body.theme-light .ic-card__chaos { color: rgba(12,18,48,0.65); }
body.theme-light .ic-card__clean { color: var(--fg); }
body.theme-light .ic-row { background: rgba(12,18,48,0.05); }
body.theme-light .ic-row--dup { background: rgba(245,140,40,0.14); color: #b35a00; }
body.theme-light .ic-files li { background: rgba(12,18,48,0.05); }
body.theme-light .ic-file__ic { background: rgba(245,140,40,0.18); color: #b35a00; }
body.theme-light .ic-file__name { color: rgba(12,18,48,0.65); }
body.theme-light .ic-bignum { color: var(--purple); }
body.theme-light .ic-bignum span { color: var(--mint-deep); }
body.theme-light .ic-badge--bad  { background: rgba(220,40,40,0.10); color: #c42121; border-color: rgba(220,40,40,0.32); }
body.theme-light .ic-badge--good { background: rgba(148,202,202,0.22); color: var(--mint-deep); border-color: rgba(148,202,202,0.45); }
body.theme-light .ic-avatar { color: #ffffff; }
body.theme-light .ic-avatar--q { background: rgba(12,18,48,0.06); color: var(--fg-dim); }
body.theme-light .ic-chip { background: rgba(12,18,48,0.05); color: var(--fg-mute); }
body.theme-light .ic-chip--mint { background: rgba(148,202,202,0.22); color: var(--mint-deep); }
body.theme-light .ic-spin__ring { border-color: rgba(12,18,48,0.10); border-top-color: var(--purple); }
body.theme-light .ic-live { color: var(--purple); }
body.theme-light .ic-live__dot { background: var(--purple); box-shadow: 0 0 10px rgba(92,23,229,0.55); }
body.theme-light .ic-warn { background: rgba(245,140,40,0.14); color: #b35a00; border-color: rgba(245,140,40,0.32); }
body.theme-light .ic-good { background: rgba(148,202,202,0.22); color: var(--mint-deep); border-color: rgba(148,202,202,0.45); }
body.theme-light .ic-eyebrow--mint { color: var(--purple); }
body.theme-light .ic-eyebrow--blue { color: var(--purple); }
body.theme-light .ic-dot { background: var(--fg-dim); }
body.theme-light .ic-dot--mint { background: var(--mint); box-shadow: 0 0 6px rgba(148,202,202,0.6); }
body.theme-light .ic-dot--blue { background: var(--purple); }
body.theme-light .ic-dot--purple { background: var(--purple-soft); }
body.theme-light .ic-sticky {
  background: linear-gradient(180deg, #fde680, #f1c84a);
  color: #4a3500;
}

/* ---------- Demo: full-bleed violet block ---------- */
body.theme-light .demo {
  background: #360090;
  border: 1px solid #260060;
  box-shadow: 0 30px 80px -30px rgba(54,0,144,0.45);
  color: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
body.theme-light .demo::before,
body.theme-light .demo::after { display: none; }
body.theme-light .demo .h-1,
body.theme-light .demo .h-2,
body.theme-light .demo .h-display { color: #ffffff; }
body.theme-light .demo .lede,
body.theme-light .demo .muted,
body.theme-light .demo .dim { color: rgba(255,255,255,0.78); }
body.theme-light .demo .eyebrow {
  color: #ffffff;
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.30);
}
body.theme-light .demo .eyebrow .dot {
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}
body.theme-light .demo .grad-text {
  background: linear-gradient(105deg, var(--mint-soft), #ffffff);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
body.theme-light .demo .btn--mint {
  background: #ffffff;
  color: #360090;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.25);
}
body.theme-light .demo .form .dim,
body.theme-light .demo .form .dim a { color: rgba(255,255,255,0.85) !important; }
body.theme-light .demo .form .dim a { text-decoration: underline; }
body.theme-light .demo .btn--mint:hover { background: #f4f1ff; }
body.theme-light .demo ul li { color: #ffffff !important; }
body.theme-light .demo ul li > span:first-child { background: rgba(255,255,255,0.15) !important; border-color: rgba(255,255,255,0.35) !important; color: #ffffff !important; }


/* Form inputs on violet */
body.theme-light .demo .field label { color: rgba(255,255,255,0.85); }
body.theme-light .demo .field input,
body.theme-light .demo .field select,
body.theme-light .demo .field textarea {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.30);
  color: #0c1230;
}
body.theme-light .demo .field input::placeholder,
body.theme-light .demo .field textarea::placeholder { color: rgba(12,18,48,0.45); }
body.theme-light .demo .field input:focus,
body.theme-light .demo .field select:focus,
body.theme-light .demo .field textarea:focus {
  border-color: #ffffff;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
}
body.theme-light .demo .field select { color: #0c1230; }
body.theme-light .demo .field select option { background: #ffffff; color: #0c1230; }
body.theme-light .demo .field select {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.30);
  color: #0c1230;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%230c1230' stroke-width='2' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
}
body.theme-light .demo .field select option { background: #ffffff; color: #0c1230; }

/* Floating decorative blobs inside the violet block */
body.theme-light .demo .demo__grid { position: relative; z-index: 2; }
body.theme-light .demo::before {
  display: block;
  content: '';
  position: absolute;
  top: -90px; right: -110px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,219,219,0.55), transparent 65%);
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
}
body.theme-light .demo::after {
  display: block;
  content: '';
  position: absolute;
  bottom: -120px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148,202,202,0.40), transparent 65%);
  filter: blur(24px);
  z-index: 1;
  pointer-events: none;
}

/* ---------- Footer ---------- */
body.theme-light .footer {
  background: transparent;
  border-top: 1px solid var(--line);
  color: var(--fg-mute);
}

/* ---------- Generic surface fallbacks ---------- */
body.theme-light .card,
body.theme-light .panel,
body.theme-light .surface {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

/* ---------- Headings keep contrast ---------- */
body.theme-light .h-display,
body.theme-light .h-1,
body.theme-light .h-2,
body.theme-light .h-3 { color: var(--fg); }
body.theme-light .muted { color: var(--fg-mute); }

/* ---------- Dashboard mock (light) ---------- */
body.theme-light .dash { background: #f5f6f8; }
body.theme-light .dash__side { background: #ffffff; border-right: 1px solid var(--line); }
body.theme-light .dash__avatar { background: linear-gradient(135deg, #5C17E5, #4710B8); color:#fff; }
body.theme-light .dash__user-name { color: var(--fg); }
body.theme-light .dash__user-role { color: var(--fg-dim); }
body.theme-light .dash__nav-item { color: var(--fg-mute); }
body.theme-light .dash__nav-item.active { background: #EFE9FE; color: #5C17E5; border-color: transparent; }
body.theme-light .dash__nav-item .di { background: currentColor; opacity: 0.7; }
body.theme-light .dash__main { background: #f5f6f8; }
body.theme-light .dash__page-title { color: var(--fg); }
body.theme-light .dash__page-sub { color: var(--fg-mute); }
body.theme-light .dash__filter { display: flex; flex-direction: column; align-items: stretch; gap: 6px; background: transparent; border: none; padding: 0; }
body.theme-light .dash__filter-label { color: var(--fg-mute); font-size: 11px; }
body.theme-light .dash__filter-val {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(12,18,48,0.02);
}
body.theme-light .dash__filter-val i { color: var(--fg-mute); font-size: 14px; }
body.theme-light .dash__filter-val .ph-fill.ph-warning { color: #e08a4a; }
body.theme-light .dash__alert {
  background: #FFF4EA; border: 1px solid #F4D4B0; color: #8a4a18;
}
body.theme-light .dash__alert-btn {
  background: #E5571A; color:#fff; border-radius: 8px; border: none; padding: 8px 14px; font-weight: 500;
}
body.theme-light .dash__searchbar-row { display:flex; gap:10px; align-items:center; }
body.theme-light .dash__search-input {
  flex: 1; display:flex; align-items:center; gap:8px;
  background:#fff; border:1px solid var(--line); border-radius:10px; padding:10px 14px; font-size:11px;
}
body.theme-light .dash__cta {
  background: #5C17E5; color:#fff; border:none; border-radius:10px; padding:10px 16px; font-weight:500;
}
body.theme-light .dash__filter-btn {
  background:#fff; border:1px solid var(--line); color: var(--fg); border-radius:10px; padding:10px 14px;
}
body.theme-light .dash__table { background:#fff; border:1px solid var(--line); border-radius:12px; padding:4px 12px; }
body.theme-light .dash__thead { color: var(--fg-dim); border-bottom: 1px solid var(--line); padding: 12px 4px; }
body.theme-light .dash__trow { border-bottom: 1px solid var(--line); padding: 14px 4px; }
body.theme-light .dash__trow:last-of-type { border-bottom: 0; }
body.theme-light .dash__trow .link { color: #5C17E5; }
body.theme-light .dash__trow .dim { color: var(--fg-mute); }
body.theme-light .dash__eng { display:flex; align-items:center; gap:8px; }
body.theme-light .dash__trend-pill {
  width:22px; height:22px; border-radius:5px; display:inline-flex; align-items:center; justify-content:center;
  font-size:11px; color:#0a0d1f;
}
body.theme-light .dash__prio { padding: 4px 12px; border-radius: 6px; font-size: 11px; font-weight: 500; align-self:flex-start; }
body.theme-light .dash__prio--hot  { background:#FFE4E4; color:#C44141; }
body.theme-light .dash__prio--warm { background:#FFF4D6; color:#A87B0F; }
body.theme-light .dash__pager { display:flex; justify-content:space-between; align-items:center; padding: 14px 4px 8px; border-top: 1px solid var(--line); margin-top: 4px; }
body.theme-light .dash__pages { display:flex; gap:4px; align-items:center; font-size:12px; color:var(--fg-mute); }
body.theme-light .dash__page { width:24px; height:24px; display:inline-flex; align-items:center; justify-content:center; border-radius:6px; }
body.theme-light .dash__page.is-active { background:#5C17E5; color:#fff; }

/* Conflict */
body.theme-light .dash__crumbs { color: var(--fg-mute); }
body.theme-light .dash__crumbs .dim { color: var(--fg-dim); }
body.theme-light .dash__match-bar { background:#fff; border:1px solid var(--line); color: var(--fg); }
body.theme-light .dash__confidence { background:#FFF4EA; color:#A55518; padding: 4px 10px; border-radius: 999px; border: 1px solid #F4D4B0; }
body.theme-light .dash__confidence--low { background:#FFF4EA; color:#A55518; border-color:#F4D4B0; }
body.theme-light .dash__dup-alert { background:#FFF4EA; border:1px solid #F4D4B0; color:#7a3f10; }
body.theme-light .dash__dup-head { display:flex; align-items:center; gap:8px; }
body.theme-light .dash__dup-head strong { color:#C26020; font-family: var(--font-mono); font-size:10px; letter-spacing:0.08em; }
body.theme-light .dash__view-logic { margin-left:auto; color:#5C17E5; font-size:11px; cursor:pointer; }
body.theme-light .dash__attr-table { background:#fff; border:1px solid var(--line); border-radius:12px; padding: 0 14px; }
body.theme-light .dash__attr-head { color: var(--fg-dim); border-bottom: 1px solid var(--line); padding: 12px 0; }
body.theme-light .dash__attr-head .link { color:#5C17E5; }
body.theme-light .dash__attr-row { border-bottom: 1px solid var(--line); padding: 14px 0; color: var(--fg); }
body.theme-light .dash__attr-row:last-child { border-bottom: 0; }
body.theme-light .dash__attr-row--meta { color: var(--fg-dim); }
body.theme-light .dash__dot { width:18px; height:18px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; }
body.theme-light .dash__dot--ok { background:#22A86A; color:#fff; }
body.theme-light .dash__dot--warn { background:#F0A653; color:#fff; }
body.theme-light .dash__swap { background:#eef0f4; color:#7a7f95; width:26px; height:26px; border-radius:6px; display:inline-flex; align-items:center; justify-content:center; }
body.theme-light .dash__attr-foot { padding: 14px 0 0; gap: 10px; }
body.theme-light .dash__primary-btn {
  background:#0a0d1f; color:#fff; border-radius:10px; padding:10px 18px; font-weight:500; border:none;
}

/* Modal */
body.theme-light .dash__modal-wrap { background: rgba(12,18,48,0.30); }
body.theme-light .dash__modal { background:#fff; color: var(--fg); border:1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(12,18,48,0.35); border-radius:14px; }
body.theme-light .dash__modal-title { color: var(--fg); }
body.theme-light .dash__modal-sub { color: var(--fg-mute); }
body.theme-light .dash__modal-head { color: var(--fg-dim); border-bottom: 1px solid var(--line); }
body.theme-light .dash__modal-row { border-bottom: 1px solid var(--line); color: var(--fg); }
body.theme-light .dash__chip { padding:4px 12px; border-radius:6px; font-size:11px; font-weight:500; }
body.theme-light .dash__chip.is-match { background:#D6F4DF; color:#177A3D; }
body.theme-light .dash__chip.is-kept { background:#E5DBFD; color:#5C17E5; }
body.theme-light .dash__attr-foot--modal { padding: 14px 0 0; }

body.theme-light .clear-back {
  display: inline-flex;
  align-items: center;
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
body.theme-light .clear-back:hover { text-decoration: underline; }
body.theme-light .clear-name-prefix {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
}
body.theme-light .clear-name-suffix {
  font-weight: 600;
  color: var(--purple);
}
body.theme-light .clear-hero { padding-top: clamp(40px, 4vw, 80px); padding-bottom: clamp(40px, 4vw, 60px); }

/* ---------- Integration section ---------- */
body.theme-light .section--integration {
  padding: clamp(48px, 5.5vw, 88px) 0;
}
body.theme-light .integration__head {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
body.theme-light .integration__title { margin: 0; }
body.theme-light .integration__lede { margin: 0; }
body.theme-light .integration__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  body.theme-light .integration__cards { grid-template-columns: 1fr; }
}
body.theme-light .int-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  box-shadow: 0 14px 36px -24px rgba(12,18,48,0.18);
}
body.theme-light .int-card__illo {
  color: rgba(70,75,95,0.65);
  height: 200px;
  display: grid;
  place-items: center;
  background: var(--int-bg, #E7DEFB);
  position: relative;
  overflow: hidden;
}
body.theme-light .int-card__illo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(12,18,48,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12,18,48,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle at center, #000 35%, transparent 88%);
  mask-image: radial-gradient(circle at center, #000 35%, transparent 88%);
  pointer-events: none;
}
body.theme-light .int-card__illo .line-illo,
body.theme-light .int-card__illo .line-illo * {
  stroke-width: 0.45;
}
body.theme-light .int-card__illo .line-illo {
  position: relative;
  z-index: 1;
  width: 65%;
  max-width: 220px;
  height: auto;
}
body.theme-light .int-card__illo .line-illo,
body.theme-light .int-card__illo .line-illo * {
  stroke-width: 0.45;
}
body.theme-light .int-card__title {
  margin: 32px 32px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--fg);
}
body.theme-light .int-card__desc {
  margin: 14px 32px 36px;
  color: var(--fg-mute);
  font-size: 14.5px;
  line-height: 1.6;
}
body.theme-light .integration__cards .int-card:nth-child(1) { --int-bg: #E7DEFB; --int-bg-deep: #C7B0F2; }
body.theme-light .integration__cards .int-card:nth-child(2) { --int-bg: #D6EAEA; --int-bg-deep: #A8CCCC; }
body.theme-light .integration__cards .int-card:nth-child(3) { --int-bg: #1c1c1c; }
body.theme-light .integration__cards .int-card:nth-child(3) .int-card__illo { color: #ffffff; }

/* Zero-IT animation */
.zit-stage {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 0 28px;
  font-family: 'Poppins', system-ui, sans-serif;
  position: relative;
}
.zit-list { display: flex; flex-direction: column; gap: 10px; }
.zit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.92);
}
.zit-x { color: #FF6B5C; font-size: 12px; flex-shrink: 0; }
.zit-label { position: relative; display: inline-block; }
.zit-strike {
  position: absolute;
  left: -2px; right: -2px;
  top: 50%;
  height: 1.5px;
  background: #FF6B5C;
  transform-origin: left center;
  transform: scaleX(0);
}
.zit-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(94,158,158,0.18);
  border: 1px solid rgba(148,202,202,0.55);
  color: #B8DBDB;
  font-size: 13px;
  font-weight: 500;
}
.zit-badge__check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #5E9E9E;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ---------- Line illustration animations ---------- */
.line-illo { display: block; overflow: visible; }

/* draw lines in continuously */
.line-illo .li-line {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: li-draw 3.4s ease-in-out infinite;
}
@keyframes li-draw {
  0%   { stroke-dashoffset: 120; opacity: 0.2; }
  20%  { opacity: 1; }
  60%  { stroke-dashoffset: 0; opacity: 1; }
  80%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -120; opacity: 0; }
}

/* nodes/circles softly pulse in */
.line-illo .li-node {
  transform-origin: center;
  animation: li-node-pop 3.4s ease-in-out infinite;
}
.line-illo .li-node--big {
  animation: li-node-glow 2.2s ease-in-out infinite;
}
@keyframes li-node-pop {
  0%, 100% { transform: scale(0.85); opacity: 0.55; }
  40%, 70% { transform: scale(1); opacity: 1; }
}
@keyframes li-node-glow {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

/* pulse dot */
.line-illo .li-pulse {
  animation: li-pulse 1.6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes li-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* spinning dashed ring */
.line-illo .li-spin {
  transform-origin: 60px 40px;
  animation: li-spin 8s linear infinite;
}
@keyframes li-spin {
  to { transform: rotate(360deg); }
}

/* sync arrow rotation */
.line-illo .li-rotate {
  transform-origin: 60px 40px;
  animation: li-rotate-cw 4s ease-in-out infinite;
}
@keyframes li-rotate-cw {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(180deg); }
}

/* slow compass rotation */
.line-illo .li-rotate-slow {
  transform-origin: 106px 38px;
  animation: li-rotate-cw 18s linear infinite;
}

/* rocket float */
.line-illo .li-float {
  transform-origin: 70px 36px;
  animation: li-float 2.6s ease-in-out infinite;
}
@keyframes li-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(2px, -4px) rotate(-3deg); }
}

/* star twinkle */
.line-illo .li-twinkle {
  animation: li-twinkle 1.8s ease-in-out infinite;
  transform-origin: center;
}
.line-illo .li-twinkle-group > * {
  animation: li-twinkle 1.8s ease-in-out infinite;
}
@keyframes li-twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50%      { opacity: 1; transform: scale(1.1); }
}

/* dedup rows: duplicate rows fade in/out */
.line-illo .li-row-dup {
  animation: li-fade 3.4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes li-fade {
  0%, 20% { opacity: 1; transform: translateX(0); }
  60%     { opacity: 0; transform: translateX(20px); }
  90%, 100% { opacity: 0; transform: translateX(20px); }
}

/* clean record fade in */
.line-illo .li-record {
  animation: li-record-in 3.4s ease-in-out infinite;
}
@keyframes li-record-in {
  0%, 50% { opacity: 0.2; }
  70%, 100% { opacity: 1; }
}

/* bars rising */
.line-illo .li-bar {
  transform-origin: bottom center;
  animation: li-bar-grow 3.2s ease-in-out infinite;
}
.line-illo .li-bar--top {
  stroke: var(--purple);
  fill: var(--purple);
  fill-opacity: 0.12;
}
@keyframes li-bar-grow {
  0%      { transform: scaleY(0); opacity: 0; }
  20%     { opacity: 1; }
  60%, 80% { transform: scaleY(1); opacity: 1; }
  100%    { transform: scaleY(1); opacity: 1; }
}

/* typing lines */
.line-illo .li-typing {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: li-type 2.6s ease-in-out infinite;
}
@keyframes li-type {
  0%, 10% { stroke-dashoffset: 80; }
  60%     { stroke-dashoffset: 0; }
  90%, 100% { stroke-dashoffset: 0; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .line-illo * { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Sectors marquee ---------- */
body.theme-light .section--sectors {
  padding: clamp(48px, 5.5vw, 88px) 0 clamp(40px, 4.5vw, 68px);
  background: #360090;
  position: relative;
  overflow: hidden;
}
body.theme-light .sectors__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 76px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-align: center;
  margin: 0 0 60px;
  color: #ffffff;
  text-wrap: balance;
}
body.theme-light .sectors__title em {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  color: #B8DBDB;
}
body.theme-light .sectors__marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
body.theme-light .sectors__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: sectors-scroll 38s linear infinite;
  padding: 8px 0;
}
body.theme-light .sectors__marquee:hover .sectors__track { animation-play-state: paused; }
body.theme-light .sector-pill {
  display: inline-flex;
  align-items: center;
  padding: 18px 32px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: none;
}
body.theme-light .sector-pill.is-active {
  background: #ffffff;
  color: #360090;
  border-color: #ffffff;
}
@keyframes sectors-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  body.theme-light .sectors__track { animation: none; }
}

/* ---------- Final CTA ---------- */
body.theme-light .section--final {
  padding: clamp(60px, 7vw, 110px) 0 clamp(48px, 5.5vw, 88px);
  text-align: center;
}
body.theme-light .final {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
body.theme-light .final__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 84px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: var(--fg);
  text-wrap: balance;
}
body.theme-light .final__title-em {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
}
body.theme-light .final__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
}
body.theme-light .final .btn--mint {
  padding: 18px 32px;
  font-size: 16px;
}
body.theme-light .final .btn--ghost {
  padding: 18px 32px;
  font-size: 16px;
}
body.theme-light .final__caption {
  color: var(--fg-mute);
  font-size: 15px;
  margin: 0;
  max-width: 580px;
}

/* ---------- Products section ---------- */
body.theme-light .section--products { padding: clamp(48px, 5.5vw, 88px) 0; }
body.theme-light .section--clear-features { padding: clamp(40px, 5vw, 80px) 0 clamp(80px, 9vw, 140px); }

body.theme-light .products {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 56px;
}
body.theme-light .product {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 14px 40px -28px rgba(12,18,48,0.18);
}
@media (max-width: 980px) {
  body.theme-light .product { grid-template-columns: 1fr; }
}

body.theme-light .product__col-text {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
body.theme-light .product__col-text .product__cta { margin-top: 12px; }

body.theme-light .product__col-visual {
  padding: 28px 28px 28px 0;
  display: flex;
  align-items: stretch;
}
@media (max-width: 980px) {
  body.theme-light .product__col-visual { padding: 0 28px 28px; }
}

body.theme-light .product__visual-placeholder {
  flex: 1;
  position: relative;
  border-radius: 20px;
  background: var(--product-visual-bg, #f3f5fa);
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
body.theme-light .product__visual-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(12,18,48,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12,18,48,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 85%);
  mask-image: radial-gradient(circle at center, #000 30%, transparent 85%);
}
body.theme-light .product__visual-inner {
  position: relative;
  z-index: 1;
  color: rgba(70,75,95,0.65);
  width: 66%;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ---------- Hero animation (HeroMock) ---------- */
body.theme-light .hero__visual {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(12,18,48,0.18);
  border-radius: 24px;
  padding: 0;
}
body.theme-light .hero__visual::before {
  background: radial-gradient(700px 400px at 50% 0%, rgba(92,23,229,0.06), transparent 60%);
}

body.theme-light .hm-stage {
  position: relative;
  width: 100%;
  height: 540px;
  font-family: 'Poppins', system-ui, sans-serif;
  color: rgba(45,50,70,0.92);
  overflow: hidden;
  border-radius: 24px;
}
body.theme-light .hm-stage * { font-family: 'Poppins', system-ui, sans-serif; }
.hm-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(92,23,229,0.10) 0.6px, transparent 0.6px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hm-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3F7B7B;
}

/* Table */
.hm-table {
  position: absolute;
  left: 28px; right: 28px; top: 28px;
  background: #ffffff;
  border: 1px solid rgba(45,50,70,0.12);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 14px 40px -28px rgba(45,50,70,0.30);
  z-index: 1;
}
.hm-table__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.hm-table__count { font-size: 11px; color: rgba(45,50,70,0.5); font-family: var(--font-mono); }
.hm-thead {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1.4fr 0.5fr 0.8fr;
  gap: 12px;
  padding: 0 10px 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(45,50,70,0.4);
  border-bottom: 1px solid rgba(45,50,70,0.08);
}
.hm-row {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1.4fr 0.5fr 0.8fr;
  gap: 12px;
  align-items: center;
  padding: 11px 10px;
  border: 1px solid rgba(45,50,70,0.08);
  border-radius: 8px;
  margin-top: 6px;
  font-size: 12px;
  background: #ffffff;
}
.hm-mono { font-family: var(--font-mono); font-size: 11px; }
.hm-dim { color: rgba(45,50,70,0.55); }
.hm-name { font-weight: 600; color: rgba(45,50,70,1); }
.hm-icp { font-weight: 600; color: #5C17E5; }
.hm-prio {
  justify-self: start;
  font-size: 10.5px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
}
.hm-prio--hot  { background: rgba(232,108,30,0.14); color: #B85A00; }
.hm-prio--warm { background: rgba(92,23,229,0.10);  color: #5C17E5; }
.hm-prio--cold { background: rgba(45,50,70,0.07);   color: rgba(45,50,70,0.6); }

.hm-alert {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px;
  padding: 11px 14px;
  background: #FCEEDD;
  border: 1px solid rgba(232,108,30,0.40);
  border-radius: 10px;
  font-size: 11.5px;
  color: #8A4F18;
}
.hm-alert__ic { color: #B85A00; }
.hm-alert__btn {
  margin-left: auto;
  background: #E8661E; color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 6px 14px; border-radius: 8px;
}

/* Comparison panel */
.hm-compare {
  position: absolute;
  left: 28px; right: 28px; bottom: 28px;
  background: #ffffff;
  border: 1px solid rgba(45,50,70,0.14);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 24px 60px -24px rgba(45,50,70,0.35);
  z-index: 3;
}
.hm-compare__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
}
.hm-compare__title { font-size: 14px; font-weight: 600; color: rgba(45,50,70,1); }
.hm-compare__cols, .hm-compare-row {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 1.5fr;
  gap: 14px;
  align-items: center;
}
.hm-compare__col-label {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(45,50,70,0.4);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(45,50,70,0.08);
}
.hm-compare-row {
  padding: 9px 0;
  border-bottom: 1px solid rgba(45,50,70,0.06);
  font-size: 12px;
}
.hm-compare__attr { font-style: italic; color: rgba(45,50,70,0.55); font-size: 11.5px; }
.hm-compare__new { display: inline-flex; align-items: center; gap: 8px; color: rgba(45,50,70,1); }
.hm-dot {
  width: 16px; height: 16px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.hm-dot--ok   { background: #5E9E9E; }
.hm-dot--warn { background: #E8661E; }
.hm-merge-btn {
  margin-top: 14px;
  display: inline-block;
  background: #1c2236; color: #fff;
  font-size: 12px; font-weight: 500;
  padding: 10px 18px; border-radius: 10px;
}

/* Golden record */
.hm-golden {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  background: #ffffff;
  border: 1px solid #94CACA;
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 24px 60px -20px rgba(94,158,158,0.45);
  z-index: 4;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.hm-golden__check {
  width: 38px; height: 38px; border-radius: 50%;
  background: #5E9E9E; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0;
}
.hm-golden__name { font-size: 20px; font-weight: 700; color: rgba(45,50,70,1); margin-top: 6px; letter-spacing: -0.01em; }
.hm-golden__meta { font-size: 12.5px; color: rgba(45,50,70,0.6); margin-top: 4px; }
.hm-golden__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hm-golden__tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(94,158,158,0.16);
  border: 1px solid rgba(94,158,158,0.40);
  color: #3F7B7B;
}

.hm-cursor { position: absolute; left: 50%; top: 50%; z-index: 6; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .hm-stage *, .hm-stage *::before, .hm-stage *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Orixa Clear · GSAP stage (HTML cards) ---------- */
body.theme-light .product__visual-inner:has(.oc-stage) {
  width: 100%;
  max-width: none;
  height: 100%;
  align-items: stretch;
}
body.theme-light .oc-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  font-family: 'Poppins', system-ui, sans-serif;
  color: rgba(45,50,70,0.92);
  overflow: hidden;
  perspective: 1400px;
}

/* Background log — right half, faded behind cards */
.oc-bglog {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.32;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 25%, #000 50%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 25%, #000 50%, #000 100%);
}
.oc-bglog__inner {
  position: absolute;
  left: 24px; right: 24px;
  display: flex; flex-direction: column;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(45,50,70,0.85);
  white-space: nowrap;
}

/* Cloud container */
.oc-cloud {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  transform-style: preserve-3d;
}

/* HTML cards */
.oc-card {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  background: #ffffff;
  border: 1px solid rgba(45,50,70,0.20);
  border-radius: 14px;
  padding: 14px 22px;
  min-width: 170px;
  max-width: 230px;
  box-shadow:
    0 1px 1px rgba(45,50,70,0.04),
    0 8px 22px -12px rgba(45,50,70,0.30);
  transform-origin: center;
  font-family: var(--font-mono);
  will-change: transform, background-color;
}
.oc-card__title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(45,50,70,1);
  letter-spacing: 0.005em;
  line-height: 1.2;
}
.oc-card__meta {
  font-size: 12.5px;
  color: rgba(45,50,70,0.65);
  margin-top: 5px;
}
.oc-card__detail {
  font-size: 11.5px;
  color: rgba(45,50,70,0.5);
  font-style: italic;
  margin-top: 2px;
}
.oc-card--merged {
  border: 1px solid #94CACA;
  box-shadow:
    0 1px 1px rgba(94,158,158,0.10),
    0 10px 26px -14px rgba(94,158,158,0.45);
}

/* Scrolling list (after the merge) */
.oc-list {
  position: absolute;
  inset: 24px 32px 24px 32px;
  z-index: 3;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.oc-list__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.oc-list__row {
  display: grid;
  grid-template-columns: 44px 1.3fr 1.6fr 28px;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  background: #ffffff;
  border: 1px solid rgba(45,50,70,0.16);
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(45,50,70,0.03);
  font-family: var(--font-mono);
  position: relative;
}
.oc-list__tag {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(45,50,70,0.55);
  text-transform: uppercase;
}
.oc-list__row--hcp .oc-list__tag { color: #5E9E9E; }
.oc-list__row--hco .oc-list__tag { color: #94CACA; }
.oc-list__title { font-size: 13px; font-weight: 600; color: rgba(45,50,70,1); }
.oc-list__meta  { font-size: 11.5px; color: rgba(45,50,70,0.6); }
.oc-list__signal {
  font-size: 10.5px;
  color: #3F7B7B;
  background: rgba(94,158,158,0.18);
  border: 1px solid rgba(94,158,158,0.45);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.oc-list__check { color: #5E9E9E; font-weight: 700; text-align: center; font-size: 20px; }

/* Conflict-resolution event row (highlighted during pause) */
.oc-row-event-1, .oc-row-event-2, .oc-row-event-3 {
  position: relative;
}
.oc-row-event-1 .oc-list__check,
.oc-row-event-2 .oc-list__check,
.oc-row-event-3 .oc-list__check { color: #3F7B7B; }
.oc-row-event__badge {
  position: absolute;
  right: 16px; top: calc(100% + 8px);
  font-family: var(--font-mono);
  font-size: 13px;
  color: #1F4A4A;
  background: #B8DBDB;
  border: 1px solid #94CACA;
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  z-index: 4;
}

@media (prefers-reduced-motion: reduce) {
  .oc-stage *, .oc-stage *::before, .oc-stage *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* ---------- Orixa Lead Compass · two-pass scanner ---------- */
body.theme-light .product__visual-inner:has(.lc-stage) {
  width: 100%;
  max-width: none;
  height: 100%;
  align-items: stretch;
}
body.theme-light .lc-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  font-family: 'Poppins', system-ui, sans-serif;
  color: rgba(45,50,70,0.92);
  overflow: hidden;
}

.lc-pill {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  background: #EFE7FA;
  border: 1px solid rgba(92,23,229,0.32);
  color: #2B0080;
  z-index: 5;
  white-space: nowrap;
}

.lc-hcp-layer, .lc-hco-layer {
  position: absolute;
  inset: 0;
}
.lc-hcp-layer { z-index: 3; }
.lc-hco-layer { z-index: 1; }

.lc-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(45,50,70,0.16);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 1px 1px rgba(45,50,70,0.04), 0 8px 22px -12px rgba(45,50,70,0.30);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  font-family: var(--font-mono);
  box-sizing: border-box;
}

.lc-hcp-card {
  top: 12%;
  width: 31.5%;
  height: 80%;
}

.lc-hco-card {
  top: 12%;
  width: 48%;
  height: 78%;
}

.lc-card__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(45,50,70,0.08);
}
.lc-card__name {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(45,50,70,1);
  line-height: 1.2;
}
.lc-card__role, .lc-card__meta {
  font-size: 10.5px;
  color: rgba(45,50,70,0.55);
}

.lc-card__signals {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.lc-card__minis {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 4px;
}
.lc-mini-hcp {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px;
  background: #FAF8FF;
  border: 1px solid rgba(92,23,229,0.18);
  border-radius: 8px;
}
.lc-mini-hcp__name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(45,50,70,1);
  line-height: 1.2;
}
.lc-mini-hcp__meta {
  font-size: 10px;
  color: rgba(45,50,70,0.55);
}
.lc-card__signals li {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  color: rgba(45,50,70,0.85);
  position: relative;
  background-color: transparent;
}
.lc-hco-card .lc-card__signals li {
  grid-template-columns: 1fr auto;
}
.lc-card__ch {
  width: 16px; height: 16px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 600;
  background: #F0EEF5;
  color: #5C17E5;
}
.lc-card__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-pop {
  font-size: 10px;
  font-weight: 700;
  color: #5C17E5;
  opacity: 0;
}

.lc-card__score {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(45,50,70,0.08);
}
.lc-card__score-num {
  font-size: 28px;
  font-weight: 700;
  color: #5C17E5;
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
  line-height: 1;
}
.lc-hco-card .lc-card__score-num { font-size: 32px; }
.lc-card__score-tier {
  font-size: 10.5px;
  color: rgba(45,50,70,0.6);
}

/* Scanner */
.lc-scanner {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  border: 1px solid rgba(92,23,229,0.35);
  border-radius: 8px;
  background: rgba(92,23,229,0.05);
  box-sizing: border-box;
  opacity: 0;
}
.lc-scanner__corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1.5px solid #5C17E5;
}
.lc-scanner__corner--tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.lc-scanner__corner--tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.lc-scanner__corner--bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.lc-scanner__corner--br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.lc-scanner__line {
  position: absolute;
  left: 4px; right: 4px;
  height: 1px;
  background: linear-gradient(to right, transparent, #5C17E5, transparent);
  top: 50%;
  animation: lc-scan-pulse 1.4s ease-in-out infinite;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(92,23,229,0.45);
}
@keyframes lc-scan-pulse {
  0%, 100% { top: 8%; opacity: 0.55; }
  50%      { top: 92%; opacity: 1; }
}

/* Callout */
.lc-callout {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #5C17E5;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  box-shadow: 0 10px 28px -10px rgba(92,23,229,0.55);
  white-space: nowrap;
}
.lc-callout__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #B8DBDB;
  animation: lc-pulse 1.4s ease-in-out infinite;
}
@keyframes lc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

@media (prefers-reduced-motion: reduce) {
  .lc-stage *, .lc-stage *::before, .lc-stage *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Orixa Sentio · listening room ---------- */
body.theme-light .product__visual-inner:has(.sn-stage) {
  width: 100%;
  max-width: none;
  height: 100%;
  align-items: stretch;
}
body.theme-light .sn-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  font-family: 'Poppins', system-ui, sans-serif;
  color: rgba(45,50,70,0.92);
  overflow: hidden;
  box-sizing: border-box;
}

/* Models row above chat — carousel passing under the center */
.sn-models {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 340px;
  height: 64px;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.sn-models__track {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 0 14px;
  width: max-content;
  z-index: 1;
}
.sn-model {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(45,50,70,0.14);
  box-shadow: 0 4px 14px -8px rgba(45,50,70,0.20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: rgba(45,50,70,0.85);
  flex-shrink: 0;
}
.sn-model span { display: block; line-height: 1; }
.sn-model--center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: #1c1c1c;
  color: #ffffff;
  border-color: #1c1c1c;
  box-shadow: 0 6px 22px -8px rgba(0,0,0,0.45), 0 0 0 2px rgba(28,28,28,0.55), 0 0 22px 2px rgba(28,28,28,0.40);
  font-size: 24px;
  z-index: 3;
}

.sn-chat {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(45,50,70,0.16);
  border-radius: 14px;
  padding: 20px 22px 24px;
  min-height: 320px;
  box-shadow: 0 1px 1px rgba(45,50,70,0.04), 0 8px 22px -12px rgba(45,50,70,0.30);
  z-index: 3;
  box-sizing: border-box;
}
.sn-chat__label {
  font-size: 9.5px;
  color: rgba(45,50,70,0.45);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.sn-chat__header {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(45,50,70,0.08);
}
.sn-chat__icon {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: #2a2f48;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-family: monospace;
}
.sn-chat__title { font-size: 11px; color: rgba(45,50,70,0.7); font-weight: 500; }
.sn-chat__query {
  padding: 12px 0;
  font-size: 11.5px;
  color: rgba(45,50,70,0.95);
  border-bottom: 1px solid rgba(45,50,70,0.08);
  line-height: 1.9;
  word-break: break-word;
  overflow-wrap: break-word;
}
.sn-prompt { color: #1c1c1c; font-weight: 700; margin-right: 6px; }
.sn-query-text { display: inline; word-break: break-word; overflow-wrap: break-word; }
.sn-q-ch { display: inline; opacity: 0; }
.sn-chat__answer {
  font-size: 11.5px;
  line-height: 2.5;
  color: rgba(45,50,70,0.82);
  padding-top: 14px;
  word-break: break-word;
  overflow-wrap: break-word;
}
.sn-seg { display: inline; }
.sn-brand {
  border-bottom: 1.5px solid #1c1c1c;
  padding-bottom: 1px;
  color: rgba(45,50,70,1);
  font-weight: 600;
}
.sn-brand--yours {
  background: linear-gradient(180deg, transparent 75%, rgba(28,28,28,0.18) 75%);
}
.sn-brand__tag {
  display: inline-block;
  font-size: 8px;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: super;
  font-weight: 600;
  background: rgba(28,28,28,0.08);
  color: rgba(28,28,28,0.85);
  border: 1px solid rgba(28,28,28,0.25);
  letter-spacing: 0.02em;
}
.sn-brand__tag--warn {
  background: rgba(232,108,30,0.16);
  color: #B85A00;
  border-color: rgba(232,108,30,0.55);
}
.sn-risk-phrase {
  display: inline;
  padding: 0 2px;
  border-radius: 2px;
  transition: background-color 0.3s;
}

.sn-side {
  position: absolute;
  right: 14px; top: 90px;
  width: 200px;
  background: #ffffff;
  border: 1px solid rgba(28,28,28,0.30);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 10.5px;
  box-shadow: 0 8px 22px -10px rgba(45,50,70,0.30);
  z-index: 4;
}
.sn-side__title { font-weight: 600; color: rgba(45,50,70,1); margin-bottom: 6px; font-size: 11px; }
.sn-side__title strong { color: #1c1c1c; }
.sn-side__row { color: rgba(45,50,70,0.7); margin-top: 3px; }
.sn-side__row--warn { color: #B85A00; }

.sn-zoom {
  position: absolute;
  left: 14px; bottom: 18px;
  background: #ffffff;
  border: 1px solid rgba(232,108,30,0.55);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 11px;
  box-shadow: 0 10px 24px -10px rgba(232,108,30,0.40);
  z-index: 5;
  max-width: 60%;
}
.sn-zoom__header {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600;
  color: #B85A00;
  font-size: 13px;
  margin-bottom: 6px;
}
.sn-zoom__icon {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: rgba(232,108,30,0.20);
  display: inline-flex; align-items: center; justify-content: center;
  color: #B85A00;
}
.sn-zoom__note { color: rgba(45,50,70,0.88); margin-bottom: 4px; }
.sn-zoom__ref { color: rgba(45,50,70,0.55); font-size: 10px; }

.sn-grid {
  position: absolute;
  left: 14px; right: 14px; top: 80px;
  bottom: 40%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  z-index: 2;
}
.sn-mini {
  background: #ffffff;
  border: 1px solid rgba(45,50,70,0.12);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 2px 6px -4px rgba(45,50,70,0.18);
}
.sn-mini__q { color: rgba(45,50,70,0.7); line-height: 1.3; }
.sn-mini__brand { color: rgba(45,50,70,0.55); font-size: 8.5px; }
.sn-mini.is-yours { border-color: rgba(28,28,28,0.35); background: rgba(28,28,28,0.04); }
.sn-mini.is-yours .sn-mini__brand { color: #1c1c1c; font-weight: 600; }
.sn-mini.has-issue .sn-mini__brand { color: #B85A00; }

.sn-board {
  position: absolute;
  left: 14px; right: 14px;
  bottom: 18px;
  background: #ffffff;
  border: 1px solid rgba(45,50,70,0.16);
  border-radius: 12px;
  padding: 12px 16px;
  z-index: 4;
  box-shadow: 0 10px 28px -14px rgba(45,50,70,0.25);
}
.sn-board__title {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(45,50,70,0.55);
  margin-bottom: 8px;
}
.sn-board__row {
  display: grid;
  grid-template-columns: 130px 1fr 48px auto;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  font-size: 11px;
  color: rgba(45,50,70,0.65);
}
.sn-board__bar {
  height: 6px;
  background: rgba(45,50,70,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.sn-board__bar-fill {
  height: 100%;
  background: rgba(45,50,70,0.35);
  border-radius: 999px;
}
.sn-board__pct { text-align: right; font-weight: 600; color: rgba(45,50,70,0.85); }
.sn-board__issues {
  font-size: 9.5px;
  color: #B85A00;
  background: rgba(232,108,30,0.16);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(232,108,30,0.45);
  white-space: nowrap;
}
.sn-board__row.is-yours { color: #1c1c1c; font-weight: 700; }
.sn-board__row.is-yours .sn-board__bar-fill { background: #1c1c1c; }

@media (prefers-reduced-motion: reduce) {
  .sn-stage *, .sn-stage *::before, .sn-stage *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* Poppins for all in-stage animation content */
body.theme-light .oc-stage *,
body.theme-light .lc-stage *,
body.theme-light .sn-stage * {
  font-family: 'Poppins', system-ui, sans-serif !important;
}

/* Restore generic illo sizing for the other products */
body.theme-light .product__visual-inner .line-illo,
body.theme-light .product__visual-inner .line-illo * {
  stroke-width: 0.45;
}
body.theme-light .product__visual-inner .line-illo { width: 100%; height: auto; }
body.theme-light .product__visual-note {
  position: absolute;
  bottom: 16px; right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(12,18,48,0.32);
  z-index: 2;
}

/* Specific per-product background overrides via id-based class */
body.theme-light .product:has(.product__name-suffix) .product__col-visual { /* keeps consistent */ }

/* Hide the redundant left-column illo block now that the visual is on the right */
body.theme-light .product__illo { display: none; }
body.theme-light .product__side { display: none; }
body.theme-light .product__side,
body.theme-light .product__body { background: #ffffff; padding: 44px 40px; }
body.theme-light .product__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
body.theme-light .product__illo {
  color: var(--product-accent, var(--purple));
  height: 70px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}
body.theme-light .product__illo .line-illo {
  width: 100%;
  max-width: 150px;
  height: auto;
}
body.theme-light .product__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--product-accent, var(--purple));
}
body.theme-light .product__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
body.theme-light .product__name-prefix {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
body.theme-light .product__name-suffix { font-weight: 600; }
body.theme-light .product__name--join { gap: 0; }
body.theme-light .product__subtitle {
  margin: 0;
  color: var(--fg-mute);
  font-size: 14.5px;
  line-height: 1.5;
}

body.theme-light .product__body {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
body.theme-light .product__desc {
  margin: 0;
  color: var(--fg);
  font-size: 15.5px;
  line-height: 1.6;
}
body.theme-light .product__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}
@media (max-width: 720px) {
  body.theme-light .product__bullets { grid-template-columns: 1fr; }
}
body.theme-light .product__bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-mute);
}
body.theme-light .product__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--product-accent, var(--purple));
  flex-shrink: 0;
  margin-top: 8px;
}
body.theme-light .product__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--product-accent, var(--purple));
  color: var(--product-accent, var(--purple));
  font-weight: 500;
  font-size: 14.5px;
  transition: background .2s ease, color .2s ease;
}
body.theme-light .product__cta:hover {
  background: var(--product-accent, var(--purple));
  color: #ffffff;
}
body.theme-light .product__cta .arrow { transition: transform .2s ease; display: inline-flex; }
body.theme-light .product__cta:hover .arrow { transform: translateX(3px); }

body.theme-light .product--teal   { --product-accent: #3F7B7B; }
body.theme-light .product--violet { --product-accent: var(--purple); }

/* Sentio card in the duplicated section: black CTA (monochrome theme) */
body.theme-light #prodotti-2 .product:has(.cs-wrap--sentio) { --product-accent: #1c1c1c; }
body.theme-light #prodotti-2 .product:has(.cs-wrap--sentio) .product__cta { border-color: #1c1c1c; color: #1c1c1c; }
body.theme-light #prodotti-2 .product:has(.cs-wrap--sentio) .product__cta:hover { background: #1c1c1c; color: #fff; }

/* ---------- Solution flow ---------- */
body.theme-light .section--solution { padding: clamp(48px, 5.5vw, 88px) 0; }
body.theme-light .solflow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 56px;
}
@media (max-width: 980px) {
  body.theme-light .solflow { flex-direction: column; align-items: stretch; }
}
body.theme-light .solstep {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 28px 34px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 40px -28px rgba(12,18,48,0.18);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-top: 3px solid var(--sol-accent, var(--purple));
}
body.theme-light .solstep:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -28px rgba(12,18,48,0.28);
}
body.theme-light .solstep--teal   { --sol-accent: #5E9E9E; }
body.theme-light .solstep--violet { --sol-accent: #5C17E5; }
body.theme-light .solstep--dark   { --sol-accent: #1c1c1c; }
body.theme-light .solstep__n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
}
body.theme-light .solstep__product {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--sol-accent, var(--purple));
}
body.theme-light .solstep__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
  line-height: 1.2;
}
body.theme-light .solstep__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-mute);
}
body.theme-light .solflow__arrow {
  display: flex;
  align-items: center;
  color: var(--fg-dim);
  flex-shrink: 0;
}
@media (max-width: 980px) {
  body.theme-light .solflow__arrow { transform: rotate(90deg); align-self: center; }
}

/* ---------- Problem section ---------- */
body.theme-light .section--problem { padding: clamp(48px, 5.5vw, 88px) 0; }
body.theme-light .problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 980px) {
  body.theme-light .problems { grid-template-columns: 1fr; }
}
body.theme-light .problem {
  background: #ffffff;
  padding: 40px 34px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 54px -40px rgba(12,18,48,0.4);
}
body.theme-light .problem__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 72px;
  line-height: 1;
  color: rgba(12,18,48,0.22);
  letter-spacing: -0.02em;
}
body.theme-light .problems article:nth-child(1) .problem__num { color: #5E9E9E; }
body.theme-light .problems article:nth-child(2) .problem__num { color: #5C17E5; }
body.theme-light .problems article:nth-child(3) .problem__num { color: #1c1c1c; }
body.theme-light .problem__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
body.theme-light .problem__desc {
  color: var(--fg-mute);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
body.theme-light .problem__cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  color: #1c1c1c;
  font-weight: 500;
  font-size: 14px;
}
body.theme-light .problem__cta .arrow { display: inline-flex; transition: transform .2s ease; }
body.theme-light .problem__cta:hover .arrow { transform: translateX(3px); }

/* ---------- Big decorative "Orixa" wordmark band ---------- */
body.theme-light .brand-band {
  width: 100%;
  display: block;
  overflow: hidden;
  text-align: center;
  margin: 40px 0 0;
  line-height: 0.85;
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(180px, 26vw, 380px);
  font-style: italic;
  user-select: none;
  pointer-events: none;
  opacity: 0.95;
}

/* ============================================================
   Solution → Exploded engine blueprint (light)
   Ink line-art on white · violet (#5C17E5) accent on isolate
   ============================================================ */
body.theme-light .section--engine {
  padding: clamp(40px, 5vw, 76px) 0;
  overflow: hidden;
}
body.theme-light .engine-scale {
  position: relative;
  width: 100%;
}
body.theme-light .engine-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 1600px;
  height: 1100px;
  transform-origin: top left;
  font-family: var(--font-sans);
  --eng-line: rgba(12,18,48,0.7);
  --eng-edge: rgba(12,18,48,0.55);
  --eng-mute: #5a607a;
  --eng-accent: #5C17E5;
  color: var(--eng-line);
}
body.theme-light .engine-svg {
  position: absolute;
  inset: 0;
  width: 1600px;
  height: 1100px;
  display: block;
  color: var(--eng-line);
}

/* line primitives */
body.theme-light .engine-stage .ln {
  fill: none;
  stroke: var(--eng-line);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.theme-light .engine-stage .dot { stroke: none; }
body.theme-light .engine-stage .edge { fill: none; stroke: var(--eng-edge); stroke-width: 1.2; }
body.theme-light .engine-stage .guide { stroke: rgba(12,18,48,0.12); stroke-width: 1; stroke-dasharray: 2 9; }
body.theme-light .engine-stage .leader { stroke: rgba(12,18,48,0.22); stroke-width: 1; stroke-dasharray: 2 6; }
body.theme-light .engine-stage .vlabel {
  fill: var(--eng-mute);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 500;
}

/* module highlight states — recolour lines only (no opacity change) */
body.theme-light .engine-stage .module { cursor: pointer; }
body.theme-light .engine-stage .module .ln,
body.theme-light .engine-stage .module .dot { transition: stroke .6s ease, fill .6s ease; }
body.theme-light .engine-stage .module.active .ln { stroke: var(--eng-accent); }
body.theme-light .engine-stage .module.active .dot { fill: var(--eng-accent); }
body.theme-light .engine-stage .module.active .needle { stroke: var(--eng-accent); }

/* annotations */
body.theme-light .engine-stage .anno { position: absolute; width: 360px; cursor: pointer; }
body.theme-light .engine-stage .kick {
  font-family: 'Lufga', 'Poppins', var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-transform: none;
}
body.theme-light .engine-stage .kick .sq { width: 11px; height: 11px; background: var(--fg-dim); display: inline-block; flex: 0 0 auto; }
body.theme-light .engine-stage .anno p {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 21px;
  line-height: 1.55;
  color: var(--fg-mute);
  margin: 0 0 18px;
  font-weight: 400;
  text-wrap: pretty;
}
body.theme-light .engine-stage .anno p strong { color: var(--fg); font-weight: 600; }
body.theme-light .engine-stage .anno.on .kick { color: var(--fg); }
body.theme-light .engine-stage .anno.on .kick .sq { background: var(--eng-accent); }
body.theme-light .engine-stage .anno.on p { color: var(--fg); }
body.theme-light .engine-stage .chip-pwr {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--fg-dim);
  text-transform: uppercase;
}
body.theme-light .engine-stage .chip-pwr .node {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 50% 50%, var(--eng-accent) 0 18%, transparent 19%);
  border: 1px solid var(--line-strong);
}
body.theme-light .engine-stage .chip-pwr u { text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
body.theme-light .engine-stage .anno.on .chip-pwr { color: var(--fg-mute); }

/* title */
body.theme-light .engine-stage .eng-title { position: absolute; left: 64px; top: 60px; width: 440px; }
body.theme-light .engine-stage .eng-title .eng-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
body.theme-light .engine-stage .eng-title .eng-tag .eng-dash { width: 34px; height: 1px; background: var(--eng-edge); display: inline-block; }
body.theme-light .engine-stage .eng-title h2 {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1.04;
  margin: 0 0 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}
body.theme-light .engine-stage .eng-title h2 em { font-style: normal; color: var(--eng-accent); }
body.theme-light .engine-stage .eng-title .sub { font-size: 17px; line-height: 1.5; color: var(--fg-mute); font-weight: 400; max-width: 370px; }

/* mode chips */
body.theme-light .engine-stage .eng-modes {
  position: absolute;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
body.theme-light .engine-stage .eng-modes .lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; color: var(--fg-dim); margin-right: 6px; }
body.theme-light .engine-stage .eng-chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 1px;
  color: var(--fg-mute);
  background: rgba(12,18,48,0.02);
  border: 1px solid var(--line-strong);
  padding: 9px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s ease;
  text-transform: uppercase;
  white-space: nowrap;
}
body.theme-light .engine-stage .eng-chip:hover { border-color: rgba(12,18,48,0.3); color: var(--fg); }
body.theme-light .engine-stage .eng-chip.sel {
  border-color: var(--eng-accent);
  color: #fff;
  background: var(--eng-accent);
  box-shadow: 0 8px 22px -10px rgba(92,23,229,0.55);
}
body.theme-light .engine-stage .eng-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--fg-dim);
  white-space: nowrap;
}

/* ============================================================
   OrixaClear — 3-stage tabbed animation (duplicated section)
   ID Resolution · Enrichment · Matches — teal accents
   ============================================================ */
body.theme-light .product__visual-inner:has(.cs-wrap) {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: stretch;
}
.cs-wrap {
  position: relative;
  width: 100%;
  min-height: 484px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Poppins', system-ui, sans-serif;
}
.cs-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-mute);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px 8px 9px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cs-chip:hover { border-color: #94CACA; color: #3F7B7B; }
.cs-chip.is-on {
  background: #3F7B7B;
  border-color: #3F7B7B;
  color: #ffffff;
  box-shadow: 0 8px 20px -10px rgba(63,123,123,0.6);
}
.cs-chip__n {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(12,18,48,0.06);
  font-size: 10px;
}
.cs-chip.is-on .cs-chip__n { background: rgba(255,255,255,0.22); }
.cs-stage-area { position: relative; flex: 1; min-height: 432px; }

/* ---- Stage 2 · Enrichment scan card ---- */
.cs-enrich { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cse-card {
  position: relative;
  width: 80%;
  max-width: 396px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 26px 64px -32px rgba(12,18,48,0.28);
  padding: 18px 18px 16px;
  overflow: hidden;
  animation: cse-card-in 0.5s ease both;
}
.cse-scan {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(63,123,123,0.32);
  border-radius: 12px;
  background: rgba(63,123,123,0.045);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  animation: cse-scan-in 0.4s ease forwards;
}
.cse-scan__c { position: absolute; width: 13px; height: 13px; border: 1.5px solid #3F7B7B; }
.cse-scan__c--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.cse-scan__c--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.cse-scan__c--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.cse-scan__c--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.cse-scan__line {
  position: absolute;
  left: 5px; right: 5px;
  height: 1px;
  top: 50%;
  background: linear-gradient(to right, transparent, #3F7B7B, transparent);
  box-shadow: 0 0 8px rgba(63,123,123,0.5);
  animation: cse-scan-pulse 1.6s ease-in-out infinite;
}
@keyframes cse-scan-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cse-scan-pulse { 0%, 100% { top: 6%; opacity: 0.55; } 50% { top: 94%; opacity: 1; } }
.cse-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cse-avatar {
  width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 13px;
  background: linear-gradient(135deg, #5E9E9E, #3F7B7B);
  color: #fff; display: grid; place-items: center;
  font-weight: 600; font-size: 15px;
}
.cse-id { display: flex; flex-direction: column; gap: 2px; }
.cse-name { font-weight: 600; font-size: 16px; color: #1a2236; }
.cse-sub { font-size: 12.5px; color: var(--fg-dim); }
.cse-badge {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: #3F7B7B; background: #E1F5EE; border: 1px solid #B8DBDB;
  border-radius: 999px; padding: 6px 11px;
  opacity: 0; animation: cse-pop 0.45s ease forwards; animation-delay: 3.2s;
}
.cse-rows { display: flex; flex-direction: column; gap: 1px; padding: 10px 0 6px; }
.cse-row {
  display: grid; grid-template-columns: 28px 104px 1fr; align-items: center; gap: 9px;
  padding: 7px; border-radius: 9px;
}
.cse-row.is-enriched { opacity: 0; animation: cse-row-in 0.45s ease forwards, cse-flash 1.2s ease forwards; }
.cse-ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: #EAF3F3; color: #3F7B7B; display: grid; place-items: center; font-size: 14px;
}
.cse-label { font-size: 12px; color: var(--fg-dim); }
.cse-val { font-size: 13.5px; font-weight: 500; color: #1a2236; }
.cse-row.is-enriched .cse-val { opacity: 0; animation: cse-val-in 0.4s ease forwards; }
.cse-foot { margin-top: 6px; }
.cse-foot__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cse-foot__label { font-size: 12px; color: var(--fg-mute); }
.cse-foot__count {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: #3F7B7B;
  opacity: 0; animation: cse-val-in 0.4s ease forwards; animation-delay: 3.2s;
}
.cse-bar { height: 7px; border-radius: 999px; background: #EAF0F0; overflow: hidden; }
.cse-bar__fill {
  display: block; height: 100%; border-radius: 999px; width: 0;
  background: linear-gradient(90deg, #3F7B7B, #7FBEBE);
  animation: cse-bar 3.2s cubic-bezier(0.45,0,0.15,1) forwards;
}
@keyframes cse-card-in { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes cse-row-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cse-flash { 0% { background: #E1F5EE; } 100% { background: transparent; } }
@keyframes cse-val-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cse-pop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
@keyframes cse-bar { from { width: 0; } to { width: 100%; } }

/* ---- Stage 3 · HCP → HCO matches ---- */
.cs-match { position: absolute; inset: 0; padding: 6px 4px; }
.csm-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.csm-link { fill: none; stroke-linecap: round; }
.csm-link--base { stroke: #CFE2E2; stroke-width: 0.45; opacity: 0; animation: csm-appear 0.45s ease forwards; }
.csm-link--sweep {
  stroke: #3F7B7B; stroke-width: 0.7;
  stroke-dasharray: 100 100; stroke-dashoffset: 100; opacity: 0;
  animation: csm-appear 0.45s ease forwards, csm-draw-once 0.9s ease forwards;
}
@keyframes csm-appear { to { opacity: 0.95; } }
@keyframes csm-draw-once {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}
.csm-col { position: absolute; top: 0; bottom: 0; width: 31%; }
.csm-col--hcp { left: 1%; }
.csm-col--hco { right: 1%; }
.csm-coltitle {
  position: absolute; top: 0; left: 4px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim);
}
.csm-node {
  position: absolute; left: 0; right: 0;
  background: #fff; border: 1px solid var(--line-strong); border-left: 3px solid #94CACA;
  border-radius: 12px; padding: 9px 12px;
  box-shadow: 0 12px 28px -22px rgba(12,18,48,0.4);
  animation: csm-node-in 0.45s ease both;
}
.csm-node--hco { border-left-color: #3F7B7B; }
.csm-node__name { display: block; font-size: 13px; font-weight: 600; color: #1a2236; line-height: 1.2; }
.csm-node__meta { display: block; font-size: 11px; color: var(--fg-dim); margin-top: 1px; }
.csm-prob {
  position: absolute; left: 50%;
  font-family: var(--font-mono); font-size: 10px; color: #3F7B7B;
  background: #fff; border: 1px solid #D7E8E8; border-radius: 999px; padding: 2px 7px;
  animation: csm-prob-in 0.4s ease both;
}
@keyframes csm-node-in { from { opacity: 0; transform: translateY(calc(-50% + 8px)); } to { opacity: 1; transform: translateY(-50%); } }
@keyframes csm-prob-in { from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* ============================================================
   OrixaLead Compass — 3-stage tabbed animation (duplicated)
   Medici scoring · Hospital scoring · Prioritization — violet
   ============================================================ */
.cs-wrap--violet .cs-chip:hover { border-color: #B7A6F2; color: #5C17E5; }
.cs-wrap--violet .cs-chip.is-on { background: #5C17E5; border-color: #5C17E5; color: #fff; box-shadow: 0 8px 20px -10px rgba(92,23,229,0.6); }

/* ---- Stages 1 & 2 · signals feed the card, score climbs ---- */
.cmp-feed { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.cmp-flows { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.cmp-flow {
  fill: none; stroke: #7C5CFF; stroke-width: 1.4; stroke-linecap: round;
  stroke-dasharray: 2 7; opacity: 0.6;
  animation: cmp-flow 0.7s linear infinite;
}
@keyframes cmp-flow { to { stroke-dashoffset: -18; } }
.cmp-feed__col { display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; min-width: 0; z-index: 2; }
.cmp-feed__col--left { align-items: flex-start; }
.cmp-feed__col--right { align-items: flex-end; }
.cmp-feed__grp { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 1px; }
.cmp-fchip {
  position: relative; display: block; max-width: 100%;
  font-size: 11.5px; color: #2a2350; background: #F4F0FE;
  border: 1px solid #DDD0F7; border-radius: 9px; padding: 6px 10px;
  box-shadow: 0 10px 22px -16px rgba(92,23,229,0.45);
}
.cmp-feed__col--left .cmp-fchip { border-left: 3px solid #7C5CFF; }
.cmp-feed__col--right .cmp-fchip { border-right: 3px solid #5C17E5; text-align: right; }
.cmp-fchip__t { display: block; }

.cmp-feed__card {
  flex: 0 0 auto; width: 40%; max-width: 220px; align-self: center; position: relative; z-index: 3;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 22px 54px -28px rgba(12,18,48,0.32);
  padding: 15px 15px 14px;
  animation: cse-card-in 0.5s ease both;
}
.cmp-feed__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cmp-feed__head .cmp-avatar { width: 38px; height: 38px; border-radius: 11px; font-size: 14px; }
.cmp-feed__scorebox { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 0 10px; }
.cmp-feed__num { font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 1; color: #5C17E5; font-variant-numeric: tabular-nums; }
.cmp-feed__lbl { font-size: 11.5px; color: var(--fg-mute); margin-top: 6px; transition: color 0.3s ease; }
.cmp-feed__tier { font-weight: 600; transition: color 0.3s ease; }
.cmp-feed__lbl--lo .cmp-feed__tier { color: #B0823A; }
.cmp-feed__lbl--mid .cmp-feed__tier { color: #7C5CFF; }
.cmp-feed__lbl--hi .cmp-feed__tier { color: #5C17E5; }
.cmp-feed__bar { height: 7px; border-radius: 999px; background: #EEE9FB; overflow: hidden; }
.cmp-feed__fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #5C17E5, #7C5CFF); transition: width 0.45s cubic-bezier(0.4,0,0.15,1); }
.cmp-avatar {
  flex: 0 0 auto; border-radius: 13px;
  background: linear-gradient(135deg, #7C5CFF, #5C17E5); color: #fff;
  display: grid; place-items: center; font-weight: 600;
}
.cmp-avatar--hco { border-radius: 10px; }
.cmp-card__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmp-card__name { font-weight: 600; font-size: 13.5px; color: #1a2236; line-height: 1.15; }
.cmp-card__sub { font-size: 11px; color: var(--fg-dim); }

/* ---- Stage 3 · prioritization ---- */
.cmp-priority { position: absolute; inset: 0; padding: 4px 2px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; }
.cmp-fam { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.cmp-fam__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); margin-right: 4px; }
.cmp-fam__chip {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 5px 11px; cursor: pointer; transition: all 0.2s ease;
}
.cmp-fam__chip:hover { border-color: #B7A6F2; color: #5C17E5; }
.cmp-fam__chip.is-on { background: #EFE9FE; border-color: #5C17E5; color: #5C17E5; }
.cmp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: center; width: 100%; }
.cmp-rank { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cmp-rank__title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); }
.cmp-rank__list { display: flex; flex-direction: column; gap: 6px; animation: cmp-rank-in 0.45s ease both; }
.cmp-rank__row {
  display: grid; grid-template-columns: 15px 1fr 44px 24px; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 7px 9px;
  will-change: transform;
}
.cmp-rank__n { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: #5C17E5; transition: color 0.3s ease; }
.cmp-rank__name { font-size: 12.5px; font-weight: 500; color: #1a2236; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-rank__bar { height: 5px; border-radius: 999px; background: #EEE9FB; overflow: hidden; }
.cmp-rank__fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #5C17E5, #7C5CFF); transition: width 0.6s cubic-bezier(0.4,0,0.2,1); }
.cmp-rank__score { font-family: var(--font-mono); font-size: 11.5px; color: #5C17E5; text-align: right; font-variant-numeric: tabular-nums; transition: color 0.3s ease; }
@keyframes cmp-rank-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   OrixaSentio — 3-phase tabbed animation (duplicated)
   Visibilità · Compliance · Adaptation — teal
   ============================================================ */
.sns-stage { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; }

/* Sentio cycler: selected chip + country button are black (matches the rail) */
.cs-wrap--sentio .cs-chip:hover { border-color: #9aa0ad; color: #1c1c1c; }
.cs-wrap--sentio .cs-chip.is-on { background: #1c1c1c; border-color: #1c1c1c; color: #fff; box-shadow: 0 8px 20px -10px rgba(0,0,0,0.55); }
.cs-wrap--sentio .cs-chip.is-on .cs-chip__n { background: rgba(255,255,255,0.22); }
.sns-cbtn.is-on { background: #1c1c1c; border-color: #1c1c1c; color: #fff; }

/* ---- engines → Orixa carousel (phases 1 & 2) · black + grey ---- */
.sns-rail { position: relative; height: 72px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.sns-rail .sn-models { position: relative; top: auto; left: auto; transform: none; margin: 0 auto; }
.sns-rail .sn-models__track { gap: 80px; animation: sns-carousel 3.2s ease-in-out infinite; }
.sns-rail .sn-model--center { animation: sns-centerpulse 0.8s ease-in-out infinite; }
/* stepped slide: one engine passes under the center, brief hold, repeat (pitch = 44 + 80 gap = 124) */
@keyframes sns-carousel {
  0%   { transform: translateY(-50%) translateX(0); }
  17%  { transform: translateY(-50%) translateX(-124px); }
  25%  { transform: translateY(-50%) translateX(-124px); }
  42%  { transform: translateY(-50%) translateX(-248px); }
  50%  { transform: translateY(-50%) translateX(-248px); }
  67%  { transform: translateY(-50%) translateX(-372px); }
  75%  { transform: translateY(-50%) translateX(-372px); }
  92%  { transform: translateY(-50%) translateX(-496px); }
  100% { transform: translateY(-50%) translateX(-496px); }
}
@keyframes sns-centerpulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 6px 22px -8px rgba(0,0,0,0.45), 0 0 0 2px rgba(28,28,28,0.55), 0 0 22px 2px rgba(28,28,28,0.40); }
  45% { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 8px 26px -6px rgba(0,0,0,0.55), 0 0 0 3px rgba(70,70,70,0.6), 0 0 30px 6px rgba(28,28,28,0.5); }
}

/* ---- two-column body ---- */
.sns-cols { flex: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; min-height: 0; }

/* ---- chat card ---- */
.sns-chat {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px;
  box-shadow: 0 20px 50px -30px rgba(12,18,48,0.3); display: flex; flex-direction: column;
  animation: cse-card-in 0.5s ease both;
}
.sns-chat__bar { display: flex; align-items: center; gap: 5px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sns-chat__dot { width: 7px; height: 7px; border-radius: 50%; background: #D7DEE6; }
.sns-chat__src { margin-left: auto; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-dim); }
.sns-chat__q { display: flex; gap: 7px; font-size: 12.5px; font-weight: 500; color: #1a2236; padding: 11px 0; line-height: 1.45; border-bottom: 1px dashed var(--line); }
.sns-chat__caret { color: #1c1c1c; font-weight: 700; }
.sns-chat__a { font-size: 12px; line-height: 2.05; color: #3a4255; padding-top: 11px; }
.sns-seg { opacity: 0; animation: sns-seg-in 0.35s ease forwards; }
.sns-brand {
  font-weight: 600; color: #1a1a1a; background: #F2F2F2; border: 1px solid #DADADA;
  border-radius: 6px; padding: 1px 6px; white-space: nowrap; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.sns-brand--yours { background: #E6E6E6; border-color: #1c1c1c; }
.sns-brand--yours.is-flagged { background: #FBEEE2; border-color: #F0C49A; }
.sns-tag { font-size: 8.5px; font-weight: 600; margin-left: 4px; padding: 1px 4px; border-radius: 4px; vertical-align: super; }
.sns-tag--ok { background: #E6E6E6; color: #555; }
.sns-tag--warn { background: #F6DCC4; color: #C05A12; }
.sns-risk { background: rgba(232,108,30,0.16); color: #B4540F; border-radius: 5px; padding: 1px 5px; font-weight: 600; }

/* ---- share-of-answer board (phase 1) ---- */
.sns-board {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px;
  box-shadow: 0 20px 50px -30px rgba(12,18,48,0.3); display: flex; flex-direction: column; gap: 9px;
  animation: cse-card-in 0.5s ease both;
}
.sns-board__title { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 2px; }
.sns-brow { display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: center; gap: 9px; opacity: 0; animation: sns-seg-in 0.4s ease forwards; }
.sns-brow__lab { font-size: 11.5px; color: #3a4255; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sns-brow.is-yours .sns-brow__lab { font-weight: 600; color: #1c1c1c; }
.sns-brow__bar { height: 7px; border-radius: 999px; background: #EEEEEE; overflow: hidden; }
.sns-brow__fill { display: block; height: 100%; width: 0; border-radius: 999px; background: #C8C8C8; animation: sns-bar 0.7s cubic-bezier(0.4,0,0.15,1) forwards; }
.sns-brow.is-yours .sns-brow__fill { background: linear-gradient(90deg, #1c1c1c, #5a5a5a); }
.sns-brow__pct { font-family: var(--font-mono); font-size: 11px; color: #5a6275; text-align: right; }
.sns-brow.is-yours .sns-brow__pct { color: #1c1c1c; font-weight: 600; }
@keyframes sns-bar { from { width: 0; } }

/* ---- compliance warning card (phase 2) ---- */
.sns-warn {
  background: #FFF9F3; border: 1px solid #F2D3B0; border-radius: 14px; padding: 15px 16px;
  box-shadow: 0 20px 50px -30px rgba(176,84,15,0.4); display: flex; flex-direction: column; gap: 9px;
  align-self: center; animation: sns-warn-in 0.5s cubic-bezier(0.34,1.3,0.6,1) 2.1s both;
}
.sns-warn__head { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: #B4540F; }
.sns-warn__ico { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #E86C1E; color: #fff; font-weight: 700; font-size: 14px; }
.sns-warn__body { font-size: 12.5px; line-height: 1.5; color: #5a4634; }
.sns-warn__ref { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.03em; color: #9a7e62; padding: 7px 9px; background: #FBEFE2; border-radius: 7px; }
.sns-warn__foot { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #6a5640; padding-top: 9px; border-top: 1px solid #F2D3B0; }
.sns-warn__dot { width: 8px; height: 8px; border-radius: 50%; background: #E86C1E; box-shadow: 0 0 0 3px rgba(232,108,30,0.18); }
@keyframes sns-warn-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ---- adaptation dashboard (phase 3) ---- */
.sns-stage--adapt { align-items: stretch; justify-content: center; }
.sns-dash {
  flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 22px 54px -30px rgba(12,18,48,0.3); display: flex; flex-direction: column; gap: 12px;
  animation: cse-card-in 0.5s ease both;
}
.sns-dash__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sns-dash__titles { display: flex; flex-direction: column; gap: 2px; }
.sns-dash__title { font-size: 15px; font-weight: 600; color: #1a2236; }
.sns-dash__sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }
.sns-countries { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.sns-cbtn {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-mute);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; cursor: pointer; transition: all 0.2s ease;
}
.sns-cbtn:hover { border-color: #9a9a9a; color: #1c1c1c; }
.sns-cbtn.is-on { background: #1c1c1c; border-color: #1c1c1c; color: #fff; }
.sns-chart { flex: 1; min-height: 150px; }
.sns-svg { width: 100%; height: 100%; display: block; }
.sns-grid { stroke: #EDF1F1; stroke-width: 1; }
.sns-axis { fill: #9aa3b2; font-family: var(--font-mono); font-size: 7px; }
.sns-line { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sns-line--yours { stroke: #1c1c1c; stroke-width: 2.8; }
.sns-line--a { stroke: #9a9a9a; }
.sns-line--c { stroke: #cfcfcf; }
.sns-lines { animation: sns-reveal 1s ease forwards; }
@keyframes sns-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -2% 0 0); } }
.sns-pt { fill: #fff; stroke: #1c1c1c; stroke-width: 2; opacity: 0; animation: sns-pop 0.3s ease forwards; }
@keyframes sns-pop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
.sns-legend { display: flex; gap: 16px; flex-wrap: wrap; }
.sns-leg { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #5a6275; }
.sns-leg__dot { width: 12px; height: 3px; border-radius: 2px; }
.sns-leg--yours { font-weight: 600; color: #1c1c1c; }
.sns-leg--yours .sns-leg__dot { background: #1c1c1c; }
.sns-leg--a .sns-leg__dot { background: #9a9a9a; }
.sns-leg--c .sns-leg__dot { background: #cfcfcf; }
@keyframes sns-seg-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
