/* ============================================================
   DICTO AI — Visual modules
   Cinematic, code-built illustrations & platform mockups.
   Purely geometric / data-viz — no stock imagery.
   ============================================================ */

/* ---------- HERO · abstract background field ---------- */
.hero-sub {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 0.95rem + 1.1vw, 1.85rem);
  line-height: 1.25; letter-spacing: -0.01em; color: var(--c-text);
  max-width: 26ch; text-wrap: balance;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 90% 46%; }
.hero-bg-net { position: absolute; inset: -6% -2%; width: 104%; height: 112%; opacity: .28; mix-blend-mode: screen; }
.hero-bg-net .nl { stroke: rgba(183,195,207,.16); stroke-width: 1; }
.hero-bg-net .nl-accent { stroke: var(--c-coral); opacity: .45; stroke-width: 1.2; }
.hero-bg-net .nn { fill: rgba(183,195,207,.45); }
.hero-bg-net .nn-accent { fill: var(--c-coral); }
.hero-bg-net .ring { stroke: rgba(255,255,255,.05); stroke-width: 1; }
.hero-bg-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--c-bg) 18%, rgba(7,26,45,.82) 42%, rgba(7,26,45,.30) 66%, rgba(7,26,45,.08) 100%),
    linear-gradient(to top, var(--c-bg) 1%, rgba(7,26,45,0) 30%);
}
.hero-wave {
  position: absolute; right: 0; top: 5%; width: 56%; height: 92%;
  opacity: .8; pointer-events: none;
}
.hero-curve {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 90% 46%;
  opacity: .85; pointer-events: none; z-index: 2;
}

/* Light coral halo travelling precisely along the curve (masked by the PNG) */
.hero-curve-glow {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  -webkit-mask: url("hero-curve.png") 90% 46% / cover no-repeat;
          mask: url("hero-curve.png") 90% 46% / cover no-repeat;
  background:
    radial-gradient(closest-side, rgba(255,130,134,.85), rgba(244,95,99,0) 100%) no-repeat;
  background-size: 20% 200%;
  background-position: -35% 50%;
  mix-blend-mode: screen;
  filter: blur(13px) drop-shadow(0 0 16px var(--c-coral)) drop-shadow(0 0 34px var(--c-coral)) drop-shadow(0 0 54px var(--c-coral));
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-curve-glow { opacity: 1; animation: curveHalo 9s ease-in-out infinite; }
}
@keyframes curveHalo {
  0%, 100% { background-position: -35% 50%; }
  50%      { background-position: 135% 50%; }
}
/* keep the base curve itself brighter so the lit trail reads strongly */
.hero-curve { opacity: 1; }
@media (max-width: 760px) { .hero-wave { display: none; } }
/* ---------- ABOUT · timeline + team ---------- */
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 130px 1fr; gap: clamp(1rem,3vw,3rem); padding-block: var(--s-6); border-top: 1px solid var(--c-divider); align-items: start; }
.tl-item:last-child { border-bottom: 1px solid var(--c-divider); }
.tl-year { font-family: var(--font-mono); color: var(--c-coral); font-size: 1.15rem; letter-spacing: .02em; padding-top: 2px; }
.tl-item h3 { font-size: var(--t-h4); }
.tl-item p { margin-top: .4rem; color: var(--c-text-dim); max-width: 56ch; font-size: var(--t-small); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem,2.5vw,2rem); }
.team-card image-slot, .team-card .team-photo { width: 50%; height: auto; aspect-ratio: 1 / 1; display: block; }
.team-card .team-photo { object-fit: cover; border-radius: 2px; }
.team-card b { display: block; margin-top: var(--s-4); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.team-card span { display: block; color: var(--c-coral); font-size: .82rem; font-family: var(--font-mono); letter-spacing: .04em; margin-top: 2px; }
.team-card p { color: var(--c-text-faint); font-size: .85rem; margin-top: var(--s-3); }

@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: var(--s-2); }
}
/* ---------- HERO · narrative convergence ---------- */
.hero-visual {
  position: relative; border: 1px solid var(--c-divider); border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--c-bg-3), var(--c-bg-2));
  padding: clamp(1.25rem, 2.5vw, 2rem); box-shadow: var(--shadow-lg); overflow: hidden;
}
.hv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.hv-sources { display: grid; gap: var(--s-2); }
.hv-source { display: flex; align-items: center; gap: var(--s-3); font-size: 0.85rem; font-weight: 600; padding: 0.6rem 0.8rem; border: 1px solid var(--c-divider); border-radius: var(--r-sm); background: rgba(255,255,255,0.02); }
.hv-source i { font-style: normal; color: var(--c-text-faint); font-weight: 400; font-size: 0.8rem; margin-left: auto; max-width: 56%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-source--warn { border-color: rgba(242,184,75,.35); }
.hv-flow { width: 100%; height: 56px; margin: 2px 0; }
.hv-pulse { offset-path: path("M0 50 C 120 50, 180 60, 320 60"); animation: hvflow 2.8s linear infinite; }
@keyframes hvflow { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.hv-score { display: flex; align-items: center; gap: var(--s-6); padding: var(--s-5); border: 1px solid var(--c-divider); border-radius: var(--r-md); background: rgba(7,18,30,.5); }
.hv-gauge { position: relative; width: 104px; height: 104px; flex: none; }
.hv-gauge svg { width: 100%; height: 100%; }
.hv-gauge-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.hv-gauge-num b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.hv-gauge-num span { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-text-faint); font-family: var(--font-mono); }
.hv-readout { flex: 1; display: grid; gap: var(--s-3); }
.hv-metric { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; }
.hv-metric span { color: var(--c-text-faint); }
.hv-metric b { font-weight: 600; }

/* ---------- WHY IT MATTERS · darkened video background ---------- */
#why { position: relative; overflow: hidden; }
.why-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.why-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.why-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,18,30,.7), rgba(7,18,30,.5) 45%, rgba(7,18,30,.76)),
    linear-gradient(95deg, rgba(7,18,30,.76) 24%, rgba(7,18,30,.28) 72%, rgba(7,18,30,.48));
}
#why .container { position: relative; z-index: 1; }
.why-content { display: flex; flex-direction: column; gap: clamp(3.5rem, 6vw, 6rem); max-width: 1000px; }
.why-head .h1 { line-height: 1.08; }
.why-head .lead { color: var(--c-text-dim); }
.why-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3.25rem); max-width: 880px; }
.why-stat-sm { display: flex; flex-direction: column; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--c-divider-2); }
.why-stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.3rem + 2vw, 3rem); line-height: .92; letter-spacing: -.03em; }
.why-stat-num .unit { color: var(--c-coral); }
.why-stat-sm p { font-size: .85rem; color: var(--c-text-dim); line-height: 1.45; }
@media (max-width: 560px) {
  .why-stats { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* ---------- THE SHIFT ---------- */
#the-shift { position: relative; overflow: hidden; }
.shift-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.shift-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 28%; }
.shift-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(96deg, var(--c-bg-2) 24%, rgba(14,36,59,.86) 44%, rgba(14,36,59,.35) 64%, rgba(14,36,59,.05) 100%),
    linear-gradient(to top, var(--c-bg-2) 2%, rgba(14,36,59,0) 26%);
}
#the-shift .container { position: relative; z-index: 1; }
.shift-content { max-width: 620px; }
.shift-head { max-width: 720px; }

/* THE SHIFT · scenarios carousel (crossfade, one at a time) */
.shift-slider { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.shift-track { display: grid; }
.shift-case {
  grid-area: 1 / 1;
  display: flex; align-items: stretch;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .55s var(--ease), visibility .55s var(--ease);
}
.shift-case.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.shift-case .sc-panel {
  width: clamp(320px, 50%, 580px);
  display: flex; flex-direction: column; gap: var(--s-4);
  background: linear-gradient(155deg, var(--c-coral), var(--c-coral-600));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-md); padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 30px 70px -28px rgba(244,95,99,0.55);
}
.shift-case .sc-side { display: flex; flex-direction: column; gap: var(--s-3); }
.shift-case .sc-tag { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.8); font-weight: 500; }
.shift-case .sc-title { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); color: #fff; }
.shift-case .sc-body { font-size: var(--t-body); line-height: 1.6; color: rgba(255,255,255,0.9); }
.shift-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-5); width: clamp(320px, 50%, 580px); }
.shift-controls { display: flex; align-items: center; gap: var(--s-3); }
.shift-cta { font-size: var(--t-small); white-space: nowrap; }
.shift-count { margin-left: var(--s-3); font-family: var(--font-mono); font-size: 0.95rem; color: var(--c-text-faint); letter-spacing: 0.06em; white-space: nowrap; }
.shift-count b { color: var(--c-text); font-weight: 600; }
.shift-count i { font-style: normal; padding: 0 0.15rem; opacity: 0.6; }
.shift-btn {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--c-divider-2); color: var(--c-text);
  background: rgba(255,255,255,0.02); transition: border-color .25s var(--ease), background .25s var(--ease), opacity .25s var(--ease);
}
.shift-btn:hover { border-color: var(--c-coral); color: var(--c-coral); background: var(--c-coral-tint); }
.shift-btn svg { width: 20px; height: 20px; }
.shift-btn[disabled] { opacity: 0.35; pointer-events: none; }
@media (max-width: 720px) {
  .shift-case .sc-panel { width: 100%; }
  .shift-nav { width: 100%; }
}

/* THEN → NOW · horizontal editorial comparison (legacy, unused) */
.shift-compare {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem); margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: var(--s-6); border-top: 1px solid var(--c-divider);
  max-width: 620px;
}
.sc-col { display: flex; flex-direction: column; gap: var(--s-2); }
.sc-col b { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.sc-col p { font-size: 0.85rem; color: var(--c-text-dim); }
.sc-col--now b { color: var(--c-coral); }
.sc-arrow { width: 40px; color: var(--c-coral); }
.sc-arrow svg { width: 40px; height: 24px; }
@media (max-width: 600px) {
  .shift-compare { grid-template-columns: 1fr; gap: var(--s-4); }
  .sc-arrow { transform: rotate(90deg); justify-self: start; }
}

/* legacy THE SHIFT viz (unused) */
.shift-viz { display: grid; gap: var(--s-4); }
.shift-then, .shift-now { border: 1px solid var(--c-divider); border-radius: var(--r-md); padding: var(--s-5); background: var(--c-bg); }
.shift-now { border-color: var(--c-line-coral); background: linear-gradient(160deg, rgba(244,95,99,.06), transparent); }
.shift-search { margin-top: var(--s-3); }
.shift-search > span:first-child { display: inline-block; font-family: var(--font-mono); padding: .5rem .8rem; border: 1px solid var(--c-divider-2); border-radius: var(--r-sm); color: var(--c-text-faint); }
.shift-search .faint { display: block; margin-top: .65rem; font-size: .82rem; }
.shift-arrow { display: grid; place-items: center; }
.shift-arrow svg { width: 32px; height: 32px; }
.shift-answer { margin-top: var(--s-3); }
.shift-answer p { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.4; }
.shift-answer .faint { display: block; margin-top: .65rem; font-size: .82rem; }
.typed { border-right: 2px solid var(--c-coral); white-space: nowrap; overflow: hidden; display: inline-block; max-width: 100%; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }

/* ---------- METHOD step / monitoring areas ---------- */
#method .stack-lg > * + * { margin-top: var(--s-5); }
.method-step { display: block; padding-bottom: var(--s-4); border-bottom: 1px solid var(--c-divider); }
.method-step:last-child { border-bottom: 0; padding-bottom: 0; }
.method-step .numeral { font-size: 2.4rem; }
.ms-content { display: flex; flex-direction: column; }
.ms-head { display: flex; align-items: center; gap: var(--s-3); }
.ms-ic { width: 34px; height: 34px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--c-coral-tint); color: var(--c-coral); border: 1px solid var(--c-line-coral); }
.ms-ic svg { width: 19px; height: 19px; }
.ms-cta {
  align-self: flex-start; margin-top: var(--s-3);
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.6rem 1rem; border-radius: var(--r-pill);
  border: 1px solid var(--c-divider-2); color: var(--c-text);
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.ms-cta .arw { transition: transform .3s var(--ease); color: var(--c-coral); }
.ms-cta:hover { border-color: var(--c-coral); background: var(--c-coral-tint); color: var(--c-coral); }
.ms-cta:hover .arw { transform: translateX(3px); }

/* ---------- WHAT WE DO · target carousel (one card at a time) ---------- */
.targets { width: 100%; }
.target-track { display: grid; }
.tcard {
  grid-area: 1 / 1; position: relative; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--c-divider);
  min-height: clamp(380px, 46vh, 480px); display: flex;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.tcard.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.tcard-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; border-radius: 0; }
.tcard-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,18,30,.35) 0%, rgba(7,18,30,.55) 45%, rgba(7,18,30,.9) 100%); }
.tcard-body { position: relative; z-index: 2; margin-top: auto; padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.tcard-ic { width: 46px; height: 46px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--c-coral); color: #fff; }
.tcard-ic svg { width: 24px; height: 24px; }
.tcard-title { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); color: #fff; }
.tcard-text { font-size: var(--t-body); line-height: 1.5; color: rgba(255,255,255,.86); max-width: 40ch; }
.tcard-body .ms-cta { margin-top: var(--s-2); color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.tcard-body .ms-cta:hover { border-color: #fff; background: var(--c-coral); color: #fff; }
.target-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-5); }
.target-controls { display: flex; align-items: center; gap: var(--s-3); }

/* WHAT WE DO · interactive area list (left column) */
.area-list { display: flex; flex-direction: column; gap: 2px; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.area-list--lg { margin-top: 0; gap: 4px; }
.area-list--lg .area-item { padding: clamp(1.1rem, 2vw, 1.6rem) var(--s-4); }
.area-list--lg .area-name { font-size: clamp(1.35rem, 1rem + 1.1vw, 1.9rem); }
.area-list--lg .area-arw { font-size: 1.4rem; }
.area-item {
  width: 100%; display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-4) var(--s-3); border: 0; border-top: 1px solid var(--c-divider);
  background: none; text-align: left; cursor: pointer; color: var(--c-text-dim);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.area-list li:last-child .area-item { border-bottom: 1px solid var(--c-divider); }
.area-item .area-num { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--c-text-faint); transition: color .25s var(--ease); }
.area-item .area-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); letter-spacing: -.01em; flex: 1; }
.area-item .area-arw { color: var(--c-coral); opacity: 0; transform: translateX(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.area-item:hover { color: var(--c-text); padding-left: var(--s-4); }
.area-item:hover .area-arw { opacity: 1; transform: none; }
.area-item.is-on { color: var(--c-text); padding-left: var(--s-4); }
.area-item.is-on .area-num { color: var(--c-coral); }
.area-item.is-on .area-name { color: var(--c-coral); }
.area-item.is-on .area-arw { opacity: 1; transform: none; }
.area-item.is-on { border-top-color: var(--c-line-coral); box-shadow: inset 3px 0 0 var(--c-coral); }

@media (min-width: 981px) {
  #method .split > .reveal[data-delay="1"] { margin-top: 3.1rem; }
}

/* WHAT WE DO · hover-swap background photo */
#method { position: relative; overflow: hidden; }
#method .container { position: relative; z-index: 1; }
.method-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.method-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity .6s var(--ease), transform 6s var(--ease);
  transform: scale(1.04);
}
.method-photo.is-active { opacity: .34; transform: scale(1); }
.method-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, var(--c-bg-2) 22%, rgba(14,36,59,.72) 55%, rgba(14,36,59,.4) 100%),
    linear-gradient(to top, var(--c-bg-2) 1%, rgba(14,36,59,0) 30%);
}

/* ---------- INTRODUCING · agent dashboard cloud ---------- */
.agents { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; text-align: left; }
.agents-cloud { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1 / 0.92; margin-inline: auto; }
.ac-chip {
  position: absolute; background: linear-gradient(165deg, var(--c-bg-3), var(--c-bg-2));
  border: 1px solid var(--c-divider); border-radius: var(--r-md); padding: 0.75rem 0.9rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 0.6rem;
}
.ac-chip b { font-size: 0.85rem; font-weight: 600; color: var(--c-text); display: block; line-height: 1.2; }
.ac-chip span { font-size: 0.72rem; color: var(--c-text-faint); }
.ac-k { font-family: var(--font-mono); font-size: 0.6rem !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-coral) !important; }

.ac-score { top: 2%; left: 6%; flex-direction: column; align-items: flex-start; gap: 0.4rem; z-index: 4; }
.ac-gauge { position: relative; width: 48px; height: 48px; }
.ac-gauge svg { width: 100%; height: 100%; }
.ac-gauge b { position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--font-display); font-size: 1rem; font-weight: 800; }
.ac-score > span { font-size: 0.75rem; color: var(--c-text-dim); white-space: nowrap; }

.ac-query { top: 0; right: 2%; flex-direction: column; align-items: flex-start; gap: 0.25rem; max-width: 200px; z-index: 5; }
.ac-query p { font-size: 0.78rem; color: var(--c-text-dim); }
.ac-pulse { position: absolute; top: 0.7rem; right: 0.7rem; width: 7px; height: 7px; border-radius: 50%; background: var(--c-coral); }

.ac-alert { top: 38%; left: 0; z-index: 6; border-color: var(--c-line-coral); }
.ac-alert .dot { flex: none; }

.ac-bars { bottom: 16%; left: 9%; flex-direction: column; align-items: flex-start; gap: 0.45rem; z-index: 5; }
.ac-barset { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.ac-barset i { width: 9px; background: var(--c-divider-2); border-radius: 2px 2px 0 0; }
.ac-barset i.hot { background: var(--c-coral); }

.ac-rec { bottom: 2%; right: 5%; flex-direction: column; align-items: flex-start; gap: 0.35rem; z-index: 6; }
.ac-recrow { display: flex; align-items: center; gap: 0.5rem; }
.ac-prio { font-family: var(--font-mono); font-size: 0.58rem !important; letter-spacing: 0.06em; padding: 0.15rem 0.4rem; border-radius: 4px; background: var(--c-coral-tint); color: var(--c-coral) !important; }
.ac-recrow p { font-size: 0.78rem; color: var(--c-text-dim); }

.ac-auth { top: 30%; right: 8%; z-index: 4; }
.ac-doc { width: 26px; height: 30px; flex: none; border-radius: 4px; border: 1px solid var(--c-divider-2); background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(255,255,255,.12) 5px 6px); position: relative; }

@media (prefers-reduced-motion: no-preference) {
  .ac-chip { animation: acFloat 6s ease-in-out infinite; }
  .ac-query { animation-duration: 7s; animation-delay: -1s; }
  .ac-alert { animation-duration: 5.4s; animation-delay: -2s; }
  .ac-bars { animation-duration: 6.6s; animation-delay: -0.5s; }
  .ac-rec { animation-duration: 7.4s; animation-delay: -3s; }
  .ac-auth { animation-duration: 5.8s; animation-delay: -1.5s; }
  .ac-pulse { animation: acPing 2.4s ease-out infinite; }
}
@keyframes acFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes acPing { 0% { box-shadow: 0 0 0 0 rgba(244,95,99,.5); } 70%,100% { box-shadow: 0 0 0 7px rgba(244,95,99,0); } }

.agents-list { display: flex; flex-direction: column; gap: var(--s-3); }
.agents-list li { display: flex; flex-direction: column; gap: 2px; padding: var(--s-3) 0; border-top: 1px solid var(--c-divider); }
.agents-list li:first-child { border-top: 0; }
.agents-list b { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-coral); font-weight: 500; }
.agents-list span { font-size: 0.95rem; color: var(--c-text-dim); }
@media (max-width: 860px) {
  .agents { grid-template-columns: 1fr; gap: 2.5rem; }
  .agents-cloud { max-width: 380px; }
}

/* ---------- METHODOLOGY · agent cards row ---------- */
.agent-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.agent-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.035);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md); padding: clamp(1.1rem, 1.6vw, 1.5rem);
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.agent-card::before {
  content: ""; position: absolute; bottom: -55%; left: 50%; transform: translateX(-50%);
  width: 150%; height: 120px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(244,95,99,0.45), rgba(244,95,99,0) 70%);
  filter: blur(16px); opacity: .55; transition: opacity .35s var(--ease);
}
.agent-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}
.agent-card:hover::before { opacity: .9; }
.agent-card b { position: relative; display: block; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-coral); font-weight: 500; }
.agent-card p { position: relative; margin-top: var(--s-3); font-size: .92rem; line-height: 1.5; color: var(--c-text-dim); }
@media (max-width: 900px) { .agent-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .agent-cards { grid-template-columns: 1fr; } }

/* ---------- PLATFORM mock ---------- */
.platform-stack { position: relative; }
.platform-ghost {
  position: absolute; left: 50%; top: 0; display: block;
  width: 88%; height: 100%; transform: translateX(-50%);
  border: 1px solid var(--c-divider); border-radius: var(--r-lg);
  background: rgba(14, 36, 59, 0.5); backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  z-index: 0; pointer-events: none;
}
.platform-ghost--1 { width: 94%; top: -22px; opacity: 0.6; }
.platform-ghost--2 { width: 86%; top: -44px; opacity: 0.32; }
.platform-stack .platform-mock { position: relative; z-index: 2; }

.platform-mock { border: 1px solid var(--c-divider-2); border-radius: var(--r-lg); overflow: hidden; background: var(--c-bg-2); box-shadow: var(--shadow-lg); }
.pm-bar { display: flex; align-items: center; gap: var(--s-2); padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--c-divider); background: rgba(7,18,30,.6); }
.pm-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--c-divider-2); }
.pm-dot:nth-child(1) { background: var(--c-coral); }
.pm-title { font-family: var(--font-mono); font-size: 0.78rem; color: var(--c-text-faint); margin-left: var(--s-3); }
.pm-body { display: grid; grid-template-columns: 200px 1fr; min-height: 320px; }
.pm-side { border-right: 1px solid var(--c-divider); padding: var(--s-5); display: flex; flex-direction: column; gap: 2px; }
.pm-logo { display: flex; align-items: center; padding: 0.2rem 0.8rem 0.9rem; margin-bottom: 0.4rem; border-bottom: 1px solid var(--c-divider); }
.pm-logo img { height: 20px; width: auto; display: block; }
.pm-nav { font-size: 0.85rem; color: var(--c-text-faint); padding: 0.6rem 0.8rem; border-radius: var(--r-sm); }
.pm-nav.is-on { color: var(--c-text); background: var(--c-coral-tint); font-weight: 600; }
.pm-main { padding: clamp(1.25rem,2.5vw,2rem); }
.pm-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.pm-row--head { padding-bottom: var(--s-5); border-bottom: 1px solid var(--c-divider); margin-bottom: var(--s-5); }
.pm-score { text-align: right; }
.pm-score b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.pm-score span { display: block; font-size: 0.85rem; }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.pm-card { border: 1px solid var(--c-divider); border-radius: var(--r-md); padding: var(--s-5); background: rgba(7,18,30,.35); }
.pm-card > span { display: block; margin-bottom: var(--s-4); }
.pm-bars { display: flex; align-items: flex-end; gap: var(--s-3); height: 110px; }
.pm-bars i { flex: 1; background: var(--c-divider-2); border-radius: 4px 4px 0 0; min-height: 8px; }
.pm-bars i.hot { background: var(--c-coral); }
@media (prefers-reduced-motion: no-preference) {
  .pm-bars i { animation: barPulse 3.2s ease-in-out infinite; }
  .pm-bars i:nth-child(1) { animation-duration: 3.4s; animation-delay: -0.2s; }
  .pm-bars i:nth-child(2) { animation-duration: 2.9s; animation-delay: -1.1s; }
  .pm-bars i:nth-child(3) { animation-duration: 3.8s; animation-delay: -0.6s; }
  .pm-bars i:nth-child(4) { animation-duration: 3.1s; animation-delay: -1.6s; }
}
@keyframes barPulse {
  0%   { height: 38%; }
  30%  { height: 72%; }
  55%  { height: 48%; }
  80%  { height: 90%; }
  100% { height: 38%; }
}
.pm-list { display: grid; gap: var(--s-3); }
.pm-list p { display: flex; align-items: center; gap: var(--s-3); font-size: 0.88rem; color: var(--c-text-dim); }

/* ---------- CTA network backdrop ---------- */
.cta-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.5; }
.cta--coral .cta__inner { color: #fff; }

/* ---------- DATA CONTROL · isolated-tenant infographic ---------- */
.dc-viz { display: grid; place-items: center; gap: var(--s-6); min-height: 320px; padding-block: var(--s-7); }
.dc-stage { position: relative; width: 240px; height: 240px; display: grid; place-items: center; }
.dc-ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(244,95,99,.45); width: 230px; height: 230px; }
.dc-ring--2 { width: 168px; height: 168px; border-color: rgba(255,255,255,.12); border-style: solid; }
.dc-core {
  position: relative; z-index: 2; width: 92px; height: 92px; border-radius: 24px;
  display: grid; place-items: center; color: var(--c-coral);
  background: linear-gradient(160deg, var(--c-bg-3), var(--c-bg-2));
  border: 1px solid var(--c-line-coral);
}
.dc-packet { position: absolute; z-index: 1; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--c-coral); opacity: 0; transform: rotate(var(--a)) translateX(8px); }
.dc-meta { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center; }
.dc-meta .tag { white-space: nowrap; }
.dc-caption { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-faint); }

@media (prefers-reduced-motion: no-preference) {
  .dc-ring { animation: dcSpin 20s linear infinite; }
  .dc-ring--2 { animation: dcSpin 28s linear infinite reverse; }
  .dc-core { animation: dcPulse 3.2s ease-in-out infinite; }
  .dc-packet { animation: dcPacket 3s ease-in-out infinite; }
  .dc-packet:nth-of-type(2) { animation-delay: 1s; }
  .dc-packet:nth-of-type(3) { animation-delay: 2s; }
}
@keyframes dcSpin { to { transform: rotate(360deg); } }
@keyframes dcPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,95,99,.32); }
  50% { box-shadow: 0 0 0 16px rgba(244,95,99,0); }
}
@keyframes dcPacket {
  0%   { opacity: 0; transform: rotate(var(--a)) translateX(46px); }
  20%  { opacity: 1; }
  55%  { opacity: 1; transform: rotate(var(--a)) translateX(104px); }
  68%  { opacity: .35; transform: rotate(var(--a)) translateX(96px); }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(50px); }
}

/* ---------- SOLUTIONS · full-width bands ---------- */
.sol-bands { min-width: 0; }
.sol-band { padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--c-divider); scroll-margin-top: 96px; }
.sol-band:first-child { border-top: 0; padding-top: 0; }
.sol-band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 5vw, 5rem); align-items: center; }
.sol-copy .ms-cta { align-self: flex-start; }
.sol-band:nth-child(even) .sol-visual { order: -1; }
@media (max-width: 900px) {
  .sol-band-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .sol-band:nth-child(even) .sol-visual { order: 0; }
}

/* ---------- METHODOLOGY · immersive step ---------- */
.step { padding-block: var(--section-y); border-top: 1px solid var(--c-divider); }
.step:first-of-type { border-top: 0; }
.step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,6rem); align-items: center; }
.step--rev .step-visual { order: -1; }
.step-index { display: flex; align-items: baseline; gap: var(--s-4); margin-bottom: var(--s-5); }
.step-index .numeral { font-size: clamp(3rem,2rem+5vw,6rem); font-weight: 300; }
.step-index .of { font-family: var(--font-mono); color: var(--c-text-faint); font-size: .9rem; letter-spacing: .15em; }
.step-list { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.step-list li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--t-small); color: var(--c-text-dim); }
.step-list .tick { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--c-coral-tint); color: var(--c-coral); display: grid; place-items: center; margin-top: 1px; }
.step-list .tick svg { width: 11px; height: 11px; }

/* generic visual frame */
.viz {
  border: 1px solid var(--c-divider); border-radius: var(--r-lg); padding: clamp(1.5rem,3vw,2.5rem);
  background: linear-gradient(165deg, var(--c-bg-3), var(--c-bg-2)); box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.viz-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.viz-title { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-faint); }

/* truth rows (step 01) */
.truth-row { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-4); border: 1px solid var(--c-divider); border-radius: var(--r-sm); background: rgba(7,18,30,.4); }
.truth-row + .truth-row { margin-top: var(--s-3); }
.truth-row .k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-faint); width: 92px; flex: none; }
.truth-row .v { font-size: .9rem; font-weight: 500; flex: 1; }
.truth-row .verified { color: var(--c-success); display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; }

/* persona chips (step 02) */
.persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.persona { border: 1px solid var(--c-divider); border-radius: var(--r-md); padding: var(--s-5); background: rgba(7,18,30,.4); }
.persona .pavatar { width: 38px; height: 38px; border-radius: 50%; background: var(--c-coral-tint); color: var(--c-coral); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; margin-bottom: var(--s-3); }
.persona b { display: block; font-size: .92rem; }
.persona span { font-size: .8rem; color: var(--c-text-faint); }
.persona q { display: block; margin-top: var(--s-3); font-size: .82rem; color: var(--c-text-dim); font-style: italic; }

/* model fan-out (step 03) */
.fanout { display: grid; gap: var(--s-3); }
.fanout .q-bubble { align-self: center; text-align: center; font-size: .9rem; padding: var(--s-3) var(--s-4); border: 1px solid var(--c-line-coral); border-radius: var(--r-pill); color: var(--c-coral); margin-bottom: var(--s-3); }
.fan-line { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid var(--c-divider); border-radius: var(--r-sm); background: rgba(7,18,30,.4); }
.fan-line .name { font-weight: 600; font-size: .85rem; width: 96px; flex: none; display: flex; align-items: center; gap: 8px; }
.fan-line .ans { font-size: .8rem; color: var(--c-text-faint); flex: 1; }

/* discrepancy bars (step 04) */
.disc { display: grid; gap: var(--s-5); }
.disc-item .disc-top { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: var(--s-2); }
.disc-track { height: 8px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
.disc-fill { height: 100%; border-radius: 4px; }

/* action list (step 05) */
.action { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-4); border: 1px solid var(--c-divider); border-radius: var(--r-md); background: rgba(7,18,30,.4); }
.action + .action { margin-top: var(--s-3); }
.action .prio { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; padding: .25rem .5rem; border-radius: 4px; flex: none; }
.prio--high { background: var(--c-coral-tint); color: var(--c-coral); }
.prio--med { background: rgba(242,184,75,.14); color: var(--c-warning); }
.action b { font-size: .9rem; display: block; }
.action span { font-size: .8rem; color: var(--c-text-faint); }

/* ---------- CLOSED-LOOP GOVERNANCE diagram ---------- */
.loop-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.loop { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; }
.loop svg { width: 100%; height: 100%; overflow: visible; }
.loop-dash { stroke: var(--c-divider-2); stroke-width: 1.5; stroke-dasharray: 5 6; fill: none; }
.loop-arc { stroke: var(--c-coral); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-dasharray: 942.5; stroke-dashoffset: 0; }
.loop-node { fill: var(--c-bg-3); stroke: var(--c-coral); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.loop-node.is-on { stroke: var(--c-coral); }
.loop-orbit { fill: var(--c-coral); opacity: 0; }
.loop-label { font-family: var(--font-mono); font-size: 11px; fill: var(--c-text-dim); }
.loop-center { fill: var(--c-text); font-family: var(--font-display); }

/* — Governance cycle · scroll-triggered animation — */
@media (prefers-reduced-motion: no-preference) {
  /* hidden pre-state, only before the block scrolls into view */
  .loop:not(.is-visible) .loop-arc { stroke-dashoffset: 942.5; }
  .loop:not(.is-visible) .loop-node { stroke: var(--c-divider-2); opacity: .35; transform: scale(.55); }
  .loop:not(.is-visible) .loop-ring-label { opacity: 0; }

  /* play on reveal */
  .loop.is-visible .loop-arc { animation: loopDraw 1.9s var(--ease-out) forwards; }
  .loop.is-visible .loop-orbit { animation: loopOrbit 2.1s linear .2s; offset-path: path("M200 50 A150 150 0 1 1 199.9 50"); }
  .loop.is-visible .loop-node { animation: loopNodeOn .55s var(--ease) backwards; }
  .loop.is-visible .loop-node:nth-child(1) { animation-delay: .15s; }
  .loop.is-visible .loop-node:nth-child(2) { animation-delay: .45s; }
  .loop.is-visible .loop-node:nth-child(3) { animation-delay: .75s; }
  .loop.is-visible .loop-node:nth-child(4) { animation-delay: 1.05s; }
  .loop.is-visible .loop-node:nth-child(5) { animation-delay: 1.35s; }
  .loop.is-visible .loop-node:nth-child(6) { animation-delay: 1.65s; }
  .loop.is-visible .loop-ring-label { animation: loopLabelIn .5s var(--ease) backwards; }
  .loop.is-visible .loop-ring-label:nth-of-type(1) { animation-delay: .3s; }
  .loop.is-visible .loop-ring-label:nth-of-type(2) { animation-delay: .6s; }
  .loop.is-visible .loop-ring-label:nth-of-type(3) { animation-delay: .9s; }
  .loop.is-visible .loop-ring-label:nth-of-type(4) { animation-delay: 1.2s; }
  .loop.is-visible .loop-ring-label:nth-of-type(5) { animation-delay: 1.5s; }
  .loop.is-visible .loop-ring-label:nth-of-type(6) { animation-delay: 1.8s; }
}
@keyframes loopDraw { from { stroke-dashoffset: 942.5; } to { stroke-dashoffset: 0; } }
@keyframes loopNodeOn {
  from { stroke: var(--c-divider-2); opacity: .35; transform: scale(.55); }
  60%  { stroke: var(--c-coral); opacity: 1; transform: scale(1.25); }
  to   { stroke: var(--c-coral); opacity: 1; transform: scale(1); }
}
@keyframes loopLabelIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes loopOrbit {
  from { offset-distance: 0%; opacity: 1; }
  90%  { opacity: 1; }
  to   { offset-distance: 100%; opacity: 0; }
}
.loop-steps { display: grid; gap: 2px; }
.loop-step { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; padding: var(--s-4) var(--s-3); border-radius: var(--r-sm); transition: background .25s var(--ease); }
.loop-step:hover { background: rgba(255,255,255,.03); }
.loop-step .ls-num { font-family: var(--font-mono); color: var(--c-coral); font-size: .85rem; }
.loop-step b { font-size: 1.02rem; }
.loop-step p { font-size: .85rem; color: var(--c-text-faint); margin-top: 2px; }

/* ---------- PLATFORM HERO · full-bleed laptop background ---------- */
.platform-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(560px, 78vh, 820px); padding-block: clamp(4rem, 8vw, 7rem); }
.platform-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.platform-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.platform-hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(94deg, var(--c-bg) 16%, rgba(7,26,45,.86) 38%, rgba(7,26,45,.32) 60%, rgba(7,26,45,0) 82%),
    linear-gradient(to top, var(--c-bg) 1%, rgba(7,26,45,0) 30%);
}
.platform-hero .container { position: relative; z-index: 1; }
.platform-hero-copy { max-width: 600px; }
@media (max-width: 760px) {
  .platform-hero-scrim { background: linear-gradient(to top, var(--c-bg) 22%, rgba(7,26,45,.55) 60%, rgba(7,26,45,.7) 100%); }
  .platform-hero-bg img { object-position: 64% 18%; }
}

/* ---------- PLATFORM PREVIEW · headline left, laptop render right ---------- */
.platform-hero-split { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.platform-split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.platform-shot { position: relative; }
.platform-shot img { width: 100%; height: auto; display: block; filter: drop-shadow(0 40px 70px rgba(0,0,0,.5)); }
@media (min-width: 981px) {
  /* let the wide render breathe slightly past the column for depth */
  .platform-shot { margin-right: clamp(-3rem, -3vw, -1rem); }
}
@media (max-width: 980px) {
  .platform-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .platform-hero-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .platform-shot { order: 2; }
}

/* ---------- PLATFORM · big Dicto Score ---------- */
.score-hero { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem,4vw,4rem); align-items: center; border: 1px solid var(--c-divider); border-radius: var(--r-lg); padding: clamp(1.75rem,3vw,3rem); background: linear-gradient(165deg, var(--c-bg-3), var(--c-bg-2)); box-shadow: var(--shadow-lg); }
.score-ring { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; margin-inline: auto; }
.score-ring svg { width: 100%; height: 100%; }
.score-ring .sr-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-ring .sr-center b { font-family: var(--font-display); font-size: clamp(3.5rem,2rem+6vw,5.5rem); font-weight: 800; line-height: .9; }
.score-ring .sr-center small { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-text-faint); }
.score-ring .sr-trend { color: var(--c-success); font-size: .9rem; font-weight: 600; margin-top: .4rem; }
.score-legend { display: grid; gap: var(--s-4); }
.score-metric { display: grid; gap: var(--s-2); }
.score-metric .sm-top { display: flex; justify-content: space-between; font-size: .92rem; }
.score-metric .sm-top b { font-weight: 600; }
.score-metric .disc-track { height: 7px; }

/* drift line chart */
.drift { border: 1px solid var(--c-divider); border-radius: var(--r-lg); padding: clamp(1.5rem,3vw,2.5rem); background: linear-gradient(165deg, var(--c-bg-3), var(--c-bg-2)); box-shadow: var(--shadow-md); }
.drift svg { width: 100%; height: auto; display: block; }
/* — Drift chart · scroll-triggered draw-on — */
.drift-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.drift-dot { opacity: 1; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .reveal:not(.is-visible) .drift-line { stroke-dashoffset: 1; }
  .reveal:not(.is-visible) .drift-dot { opacity: 0; }
  .reveal.is-visible .drift-line { animation: driftDraw 1.6s var(--ease-out) forwards; }
  .reveal.is-visible .drift-line:nth-of-type(2) { animation-delay: .12s; }
  .reveal.is-visible .drift-line:nth-of-type(3) { animation-delay: .24s; }
  .reveal.is-visible .drift-line--lead { animation-delay: .36s; }
  .reveal.is-visible .drift-dot { animation: driftDotIn .4s var(--ease) 1.7s backwards; }
}
@keyframes driftDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes driftDotIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.drift-legend { display: flex; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-4); }
.drift-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--c-text-dim); }
.drift-legend i { width: 16px; height: 3px; border-radius: 2px; }

/* exec summary readout */
.exec { border: 1px solid var(--c-divider); border-radius: var(--r-lg); overflow: hidden; background: var(--c-bg-2); box-shadow: var(--shadow-lg); }
.exec-head { padding: clamp(1.5rem,3vw,2.25rem); border-bottom: 1px solid var(--c-divider); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.exec-body { padding: clamp(1.5rem,3vw,2.25rem); display: grid; gap: var(--s-5); }
.exec-line { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-4); align-items: start; }
.exec-line .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.exec-line p { font-size: .95rem; color: var(--c-text-dim); }
.exec-line p b { color: var(--c-text); font-weight: 600; }

/* feature section heading row */
.plat-sec { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.plat-sec--rev .plat-visual { order: -1; }
@media (max-width: 980px) {
  .step-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .step--rev .step-visual { order: 0; }
  .loop-wrap { grid-template-columns: 1fr; }
  .score-hero { grid-template-columns: 1fr; }
  .plat-sec { grid-template-columns: 1fr; gap: 2.5rem; }
  .plat-sec--rev .plat-visual { order: 0; }
}
@media (max-width: 760px) {
  .pm-body { grid-template-columns: 1fr; }
  .pm-side { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--c-divider); }
  .pm-logo { width: 100%; }
  .pm-grid { grid-template-columns: 1fr; }
  .hv-source i { display: none; }
  .persona-grid { grid-template-columns: 1fr; }
}
