/* ==========================================================================
   TechPotent — stylesheet
   Pure CSS3: custom properties, Grid, Flexbox, keyframe animation.
   Chart palette validated (light: #0F9D8A / #3F6BEA / #D2952A,
   dark surface #0B1626: #149C86 / #5F7FF5 / #B5851F).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink-950: #060b14;
  --ink-900: #0b1626;
  --ink-800: #12213a;
  --ink-700: #1c2f4d;
  --ink-600: #3a4a63;
  --ink-500: #5b6a82;
  --ink-400: #7f8ca3;
  --ink-300: #aab4c5;
  --ink-200: #d6dce6;
  --ink-100: #eceff4;
  --paper: #fcfcfb;
  --paper-2: #f4f6f9;
  --white: #ffffff;

  --teal: #0f9d8a;
  --teal-600: #0c8474;
  --teal-100: #d9f3ee;
  --teal-050: #eefaf7;
  --indigo: #3f6bea;
  --indigo-100: #e1e8fd;
  --gold: #d2952a;
  --gold-100: #fbeed3;

  /* dark-surface chart steps */
  --d-teal: #149c86;
  --d-indigo: #5f7ff5;
  --d-gold: #b5851f;
  --d-text: #e8edf5;
  --d-muted: #9fb0c8;
  --d-line: rgba(255, 255, 255, 0.1);
  --d-surface: rgba(255, 255, 255, 0.045);

  --font-head: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 38, 0.05), 0 2px 8px rgba(11, 22, 38, 0.04);
  --shadow: 0 10px 30px rgba(11, 22, 38, 0.08), 0 2px 8px rgba(11, 22, 38, 0.04);
  --shadow-lg: 0 30px 70px rgba(11, 22, 38, 0.18);

  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink-900); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink-900); color: var(--d-text); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark strong { color: #fff; }
.section--dark .lead { color: var(--d-muted); }
.section--dark .eyebrow { color: #4fd1bb; }
.section--dark .note { color: var(--d-muted); }

.head { max-width: 780px; margin-bottom: clamp(2.2rem, 4.5vw, 3.5rem); }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: currentColor; transform: rotate(45deg); }
.lead { margin-top: 1.1rem; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-500); max-width: 64ch; }
.head--center .lead { margin-inline: auto; }
.note { margin-top: 1.5rem; font-size: 0.8rem; line-height: 1.55; color: var(--ink-400); }
.note--center { text-align: center; }

/* number typography (tabular) */
.num { font-family: var(--font-head); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

/* --------------------------------------------------------------------------
   3. Buttons, fields
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), background 200ms, color 200ms, border-color 200ms;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform 240ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 8px 22px rgba(15, 157, 138, 0.35); }
.btn--teal:hover { background: var(--teal-600); box-shadow: 0 12px 30px rgba(15, 157, 138, 0.45); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.btn--ink { background: var(--ink-900); color: #fff; }
.btn--ink:hover { background: var(--ink-700); }
.btn--line { background: transparent; color: var(--ink-900); border-color: var(--ink-200); }
.btn--line:hover { border-color: var(--ink-900); background: var(--white); }
.btn--lg { padding: 1.05rem 1.75rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.field { display: grid; gap: 0.4rem; min-width: 0; }
.field input { min-width: 0; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--ink-600); letter-spacing: 0.01em; }
.field__wrap { position: relative; }
.field input, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--ink-200);
  background: var(--white);
  color: var(--ink-900);
  font-weight: 500;
  transition: border-color 200ms, box-shadow 200ms;
  -moz-appearance: textfield;
}
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-100); }
.field__unit {
  position: absolute;
  right: 0.9rem; top: 50%;
  transform: translateY(-50%);
  font-size: 0.78rem;
  color: var(--ink-400);
  pointer-events: none;
}
.field--dark label { color: var(--d-muted); }
.field--dark input { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.field--dark input:focus { border-color: #4fd1bb; box-shadow: 0 0 0 4px rgba(79, 209, 187, 0.2); }
.field--dark .field__unit { color: var(--d-muted); }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1001; background: linear-gradient(90deg, var(--teal), var(--indigo), var(--gold)); transition: width 80ms linear; }

.header {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center; color: #fff;
  transition: background 300ms, box-shadow 300ms, color 300ms, height 300ms;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header.is-scrolled {
  height: 64px;
  color: var(--ink-900);
  background: rgba(252, 252, 251, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--ink-100), 0 8px 24px rgba(11, 22, 38, 0.06);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: inherit; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 36px; height: 36px; }
.brand__mark .m-bg { fill: var(--teal); transition: fill 300ms; }
.brand__mark .m-fg { fill: #fff; }
.brand__name em { font-style: normal; color: #4fd1bb; transition: color 300ms; }
.header.is-scrolled .brand__name em { color: var(--teal-600); }

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav__link {
  position: relative; display: inline-block; padding: 0.55rem 0.8rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: inherit; opacity: 0.82;
  transition: opacity 200ms, background 200ms, color 200ms;
}
.nav__link:hover { opacity: 1; text-decoration: none; background: rgba(255, 255, 255, 0.1); }
.nav__link.is-active { opacity: 1; background: rgba(255, 255, 255, 0.14); }
.header.is-scrolled .nav__link:hover { background: var(--ink-100); }
.header.is-scrolled .nav__link.is-active { background: var(--teal-100); color: var(--teal-600); }
.nav__cta { margin-left: 0.6rem; padding: 0.62rem 1.1rem; font-size: 0.88rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: inherit; position: relative; z-index: 1002; }
.nav-toggle__bar { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 300ms var(--ease), opacity 200ms, top 300ms var(--ease); }
.nav-toggle__bar:nth-child(1) { top: 14px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3.5rem) 0 4.5rem;
  background: var(--ink-900); color: #fff;
}
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; will-change: transform;
  animation: drift 18s var(--ease-io) infinite alternate;
}
.aurora span:nth-child(1) { width: 60vw; height: 60vw; left: -18vw; top: -22vw; background: #124a63; animation-duration: 22s; }
.aurora span:nth-child(2) { width: 46vw; height: 46vw; right: -12vw; top: -8vw; background: #1e3a8a; animation-duration: 26s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 40vw; height: 40vw; right: 8vw; bottom: -22vw; background: #0f9d8a; opacity: 0.35; animation-duration: 20s; animation-delay: -12s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vw, 4vw, 0) scale(1.12); }
}
.gridlines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  animation: gridmove 30s linear infinite;
}
@keyframes gridmove { from { background-position: 0 0, 0 0; } to { background-position: 64px 64px, 64px 64px; } }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.95rem 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem; font-weight: 500; color: var(--d-muted); backdrop-filter: blur(6px);
}
.hero__kicker i { width: 8px; height: 8px; border-radius: 50%; background: #4fd1bb; box-shadow: 0 0 0 4px rgba(79, 209, 187, 0.2); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(79, 209, 187, 0.25); } 50% { box-shadow: 0 0 0 9px rgba(79, 209, 187, 0); } }
.hero h1 { margin-top: 1.4rem; color: #fff; }
.hero h1 .line { display: block; }
.hero h1 .hl { color: #4fd1bb; }
.hero h1 .hl2 { color: #f2c56b; }
.hero__sub { margin-top: 1.25rem; max-width: 56ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--d-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.hero__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 2.6rem; }
.kpi {
  position: relative; padding: 1rem 1.1rem 1.05rem; border-radius: var(--r);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 240ms, transform 240ms var(--ease), border-color 240ms;
}
.kpi:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.24); }
.kpi__value { font-family: var(--font-head); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; line-height: 1; letter-spacing: -0.035em; color: #fff; font-variant-numeric: tabular-nums; }
.kpi__value small { font-size: 0.55em; font-weight: 600; color: #4fd1bb; margin-left: 0.15rem; }
.kpi__label { margin-top: 0.45rem; font-size: 0.8rem; color: var(--d-muted); line-height: 1.4; }
.kpi__spark { position: absolute; right: 0.9rem; top: 0.9rem; width: 34px; height: 34px; color: #4fd1bb; opacity: 0.85; }

/* hero visual: 12-week ring */
.orbit { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; }
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit .ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 14; }
.orbit .ring-fg { fill: none; stroke: url(#ringGrad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 2.4s var(--ease); }
.orbit.is-visible .ring-fg { stroke-dashoffset: var(--dash, 0); }
.orbit .tick { stroke: rgba(255, 255, 255, 0.28); stroke-width: 2; stroke-linecap: round; }
.orbit .tick--major { stroke: rgba(255, 255, 255, 0.55); }
.orbit .wk { font: 600 11px var(--font-head); fill: var(--d-muted); letter-spacing: 0.08em; }
.orbit .center-big { font: 700 50px var(--font-head); fill: #fff; letter-spacing: -0.04em; }
.orbit .center-sm { font: 600 13px var(--font-head); fill: #4fd1bb; letter-spacing: 0.16em; }
.orbit .center-xs { font: 400 12px var(--font-body); fill: var(--d-muted); }
.orbit .sat { fill: #fff; }
.orbit .sat-glow { fill: #4fd1bb; opacity: 0.35; }
.orbit .phase-arc { fill: none; stroke-width: 4; stroke-linecap: round; opacity: 0; transition: opacity 600ms; }
.orbit.is-visible .phase-arc { opacity: 1; }
.orbit__badge {
  position: absolute; padding: 0.55rem 0.8rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600;
  background: rgba(11, 22, 38, 0.8); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg); animation: float 6s var(--ease-io) infinite alternate; white-space: nowrap;
}
.orbit__badge span { display: block; font-weight: 400; color: var(--d-muted); font-size: 0.7rem; }
.orbit__badge--1 { top: 8%; right: -4%; }
.orbit__badge--2 { bottom: 12%; left: -6%; animation-delay: -3s; }
.orbit__badge--3 { bottom: 0; right: 0; animation-delay: -1.5s; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--d-muted); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.hero__scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(to bottom, currentColor, transparent); animation: drop 1.8s var(--ease) infinite; }
@media (max-height: 980px) { .hero__scroll { display: none; } }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Lead magnet bar (below hero) */
.magnet { position: relative; z-index: 2; margin-top: -3.2rem; }
.magnet__card {
  display: grid; grid-template-columns: 1.15fr 2fr auto; gap: 1.5rem; align-items: center;
  padding: 1.5rem 1.75rem; border-radius: var(--r-lg); background: var(--white);
  border: 1px solid var(--ink-100); box-shadow: var(--shadow-lg);
}
.magnet__title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink-900); letter-spacing: -0.02em; }
.magnet__title span { display: block; margin-top: 0.3rem; font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--ink-500); letter-spacing: 0; }
.magnet__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.magnet__cta { display: grid; gap: 0.4rem; justify-items: center; }
.magnet__cta small { font-size: 0.72rem; color: var(--ink-400); }

/* --------------------------------------------------------------------------
   6. Levers: range gauges
   -------------------------------------------------------------------------- */
.gauges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.gauge {
  position: relative; padding: 1.4rem 1.3rem 1.3rem; border-radius: var(--r); background: var(--white);
  border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.gauge:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gauge__name { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); }
.gauge__name svg { width: 16px; height: 16px; color: var(--teal); }
.gauge__svg { width: 100%; height: auto; margin-top: 0.6rem; }
.gauge__svg .track { fill: none; stroke: var(--ink-100); stroke-width: 12; stroke-linecap: round; }
.gauge__svg .band { fill: none; stroke: var(--teal-100); stroke-width: 12; stroke-linecap: round; }
.gauge__svg .fill { fill: none; stroke: var(--teal); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s var(--ease); }
.gauge.is-visible .gauge__svg .fill { stroke-dashoffset: var(--dash); }
.gauge__svg .lo, .gauge__svg .hi { font: 600 11px var(--font-body); fill: var(--ink-400); }
.gauge__svg .val { font: 700 30px var(--font-head); fill: var(--ink-900); letter-spacing: -0.03em; }
.gauge__svg .dir { font: 600 11px var(--font-body); fill: var(--teal-600); letter-spacing: 0.08em; }
.gauge__desc { margin-top: 0.3rem; font-size: 0.9rem; color: var(--ink-500); }

/* cost comparison bars */
.costbars { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.panel { padding: 1.6rem 1.7rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 1.1rem; }
.panel__sub { margin-top: 0.3rem; font-size: 0.88rem; color: var(--ink-500); }
.hbar { margin-top: 1.25rem; display: grid; gap: 0.9rem; }
.hbar__row { display: grid; grid-template-columns: 150px 1fr 70px; gap: 0.9rem; align-items: center; font-size: 0.88rem; }
.hbar__label { color: var(--ink-600); font-weight: 500; }
.hbar__track { position: relative; height: 12px; border-radius: 6px; background: var(--ink-100); overflow: hidden; }
.hbar__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; background: var(--ink-300); transition: width 1.4s var(--ease); }
.hbar__fill--teal { background: var(--teal); }
.hbar__range { position: absolute; top: 0; bottom: 0; width: 0; background: var(--teal-100); transition: width 1.4s var(--ease), left 1.4s var(--ease); }
.is-visible .hbar__fill { width: var(--w); }
.is-visible .hbar__range { left: var(--l); width: var(--w); }
.hbar__val { text-align: right; font-family: var(--font-head); font-weight: 700; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.hbar__val.is-teal { color: var(--teal-600); }
.callout { margin-top: 1.2rem; display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1rem; border-radius: 12px; background: var(--teal-050); border: 1px solid var(--teal-100); font-size: 0.9rem; color: var(--ink-700); }
.callout b { font-family: var(--font-head); font-size: 1.35rem; color: var(--teal-600); letter-spacing: -0.03em; white-space: nowrap; }

/* --------------------------------------------------------------------------
   7. Benchmarks (dark)
   -------------------------------------------------------------------------- */
.bench { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.1rem; }
.bench > * { grid-column: span 6; }
.bench .span-4 { grid-column: span 4; }
.bench .span-8 { grid-column: span 8; }
.dcard {
  position: relative; padding: 1.6rem 1.7rem; border-radius: var(--r-lg);
  background: var(--d-surface); border: 1px solid var(--d-line);
  transition: background 260ms, transform 260ms var(--ease), border-color 260ms;
}
.dcard:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.2); }
.dcard h3 { font-size: 1.08rem; }
.dcard__sub { margin-top: 0.25rem; font-size: 0.86rem; color: var(--d-muted); }
.dcard__foot { margin-top: 1rem; font-size: 0.8rem; color: var(--d-muted); }

.donut-wrap { display: grid; grid-template-columns: 170px 1fr; gap: 1.4rem; align-items: center; margin-top: 1.2rem; }
.donut { width: 170px; height: 170px; }
.donut .bg { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 16; }
.donut .fg { fill: none; stroke: var(--d-gold); stroke-width: 16; stroke-linecap: butt; stroke-dasharray: 100 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1.8s var(--ease); }
.is-visible .donut .fg { stroke-dashoffset: var(--off); }
.donut .fg--teal { stroke: var(--d-teal); }
.donut .big { font: 700 34px var(--font-head); fill: #fff; letter-spacing: -0.04em; }
.donut .lbl { font: 500 11px var(--font-body); fill: var(--d-muted); }
.donut-wrap p { font-size: 0.95rem; color: var(--d-text); }
.donut-wrap p b { font-family: var(--font-head); font-size: 1.15rem; }

.vbars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: end; height: 200px; margin-top: 1.4rem; padding: 0 1rem; }
.vbar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.vbar__col { position: relative; width: 100%; height: 0; border-radius: 6px 6px 0 0; transition: height 1.5s var(--ease); }
.is-visible .vbar__col { height: var(--h); }
.vbar__col--teal { background: var(--d-teal); }
.vbar__col--muted { background: rgba(255, 255, 255, 0.22); }
.vbar__val { position: absolute; left: 0; right: 0; top: -2rem; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: #fff; letter-spacing: -0.03em; }
.vbar__lbl { margin-top: 0.6rem; text-align: center; font-size: 0.8rem; color: var(--d-muted); }
.vbars-axis { height: 1px; background: var(--d-line); margin: 0 1rem; }
.bigx { position: absolute; top: 1.3rem; right: 1.5rem; font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; letter-spacing: -0.04em; color: #4fd1bb; line-height: 1; }
.bigx small { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; color: var(--d-muted); text-transform: uppercase; margin-top: 0.2rem; }

.rangebar { margin-top: 1.4rem; }
.rangebar__scale { position: relative; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, 0.08); }
.rangebar__band { position: absolute; top: 0; bottom: 0; left: var(--l); width: 0; border-radius: 7px; background: linear-gradient(90deg, var(--d-teal), var(--d-indigo)); transition: width 1.5s var(--ease); }
.is-visible .rangebar__band { width: var(--w); }
.rangebar__ticks { position: relative; height: 2.2rem; margin-top: 0.4rem; }
.rangebar__ticks span { position: absolute; transform: translateX(-50%); font-size: 0.76rem; color: var(--d-muted); white-space: nowrap; }
.rangebar__ticks span::before { content: ""; display: block; width: 1px; height: 8px; margin: 0 auto 4px; background: rgba(255, 255, 255, 0.35); }
.rangebar__ticks span b { color: #fff; font-family: var(--font-head); }
.rangebar__ends { display: flex; justify-content: space-between; margin-top: 0.3rem; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: #fff; letter-spacing: -0.03em; }
.rangebar__ends small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.75rem; color: var(--d-muted); letter-spacing: 0; }
.rangebar__ends > div:last-child { text-align: right; }
.domains { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.domains li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--d-line); font-size: 0.78rem; color: var(--d-text); }
.domains svg { width: 14px; height: 14px; color: #4fd1bb; }

.uae { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.uae__big { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 4.5vw, 3.4rem); letter-spacing: -0.045em; line-height: 1; color: #fff; margin-top: 0.8rem; }
.uae__big small { font-size: 0.42em; color: #4fd1bb; font-weight: 600; letter-spacing: -0.01em; }
.uae__row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.uae__p { margin-top: 0.6rem; font-size: 0.92rem; color: var(--d-muted); }
.mini-ring { width: 110px; height: 110px; }
.mini-ring .bg { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 10; }
.mini-ring .fg { fill: none; stroke: var(--d-indigo); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1.8s var(--ease); }
.is-visible .mini-ring .fg { stroke-dashoffset: var(--off); }
.mini-ring .t { font: 700 20px var(--font-head); fill: #fff; letter-spacing: -0.03em; }
.mini-ring .s { font: 500 7.5px var(--font-body); fill: var(--d-muted); }

/* --------------------------------------------------------------------------
   8. Comparison matrix
   -------------------------------------------------------------------------- */
.matrix-tools { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.chipset { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { padding: 0.45rem 0.85rem; border-radius: 999px; border: 1.5px solid var(--ink-200); background: var(--white); color: var(--ink-600); font-size: 0.82rem; font-weight: 600; transition: background 200ms, color 200ms, border-color 200ms, transform 200ms var(--ease); }
.chip:hover { border-color: var(--ink-900); color: var(--ink-900); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.switch { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--ink-600); cursor: pointer; user-select: none; position: relative; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track { position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--ink-200); transition: background 200ms; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 240ms var(--ease); }
.switch input:checked + .switch__track { background: var(--teal); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--gold); outline-offset: 2px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); border: 1px solid var(--ink-100); background: var(--white); box-shadow: var(--shadow-sm); }
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 820px; font-size: 0.9rem; }
.matrix th, .matrix td { padding: 0.95rem 1rem; border-bottom: 1px solid var(--ink-100); vertical-align: middle; transition: background 200ms, opacity 300ms; }
.matrix thead th { position: sticky; top: 0; z-index: 2; background: var(--paper-2); font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--ink-500); text-align: center; white-space: nowrap; }
.matrix thead th:first-child { text-align: left; }
.matrix thead th button { all: unset; cursor: pointer; padding: 0.3rem 0.5rem; border-radius: 8px; transition: background 200ms, color 200ms; }
.matrix thead th button:hover { background: var(--ink-100); color: var(--ink-900); }
.matrix thead th button:focus-visible { outline: 3px solid var(--gold); }
.matrix th.us { background: var(--ink-900); color: #fff; }
.matrix th.us button:hover { background: var(--ink-700); color: #fff; }
.matrix tbody th { position: sticky; left: 0; z-index: 1; background: var(--white); text-align: left; font-weight: 500; color: var(--ink-700); min-width: 280px; box-shadow: 1px 0 0 var(--ink-100); }
.matrix thead th:first-child, .matrix tfoot th { position: sticky; left: 0; z-index: 3; box-shadow: 1px 0 0 var(--ink-100); }
.matrix td { text-align: center; }
.matrix td.us { background: var(--teal-050); }
.matrix tbody tr:hover th, .matrix tbody tr:hover td { background: #f7f9fc; }
.matrix tbody tr:hover td.us { background: var(--teal-100); }
.matrix tfoot th, .matrix tfoot td { border-bottom: 0; border-top: 2px solid var(--ink-200); background: var(--paper-2); }
.matrix tfoot th { font-size: 0.82rem; font-weight: 600; color: var(--ink-500); }
.matrix tfoot td { padding-block: 0.9rem; }
.matrix tfoot td.us { background: var(--ink-900); }
.matrix.is-focused td:not(.is-focus), .matrix.is-focused thead th:not(.is-focus):not(:first-child), .matrix.is-focused tfoot td:not(.is-focus) { opacity: 0.28; }
.matrix tr.is-hidden { display: none; }
.matrix .why { display: block; margin-top: 0.15rem; font-size: 0.76rem; color: var(--ink-400); font-weight: 400; }

.score { display: grid; gap: 0.3rem; justify-items: center; }
.score__bar { width: 64px; height: 6px; border-radius: 3px; background: var(--ink-100); overflow: hidden; }
.score__bar span { display: block; height: 100%; width: 0; background: var(--teal); border-radius: 3px; transition: width 1.2s var(--ease); }
.is-visible .score__bar span { width: var(--w); }
.score__n { font-family: var(--font-head); font-weight: 700; color: var(--ink-900); font-size: 1rem; }
.matrix tfoot td.us .score__bar { background: rgba(255, 255, 255, 0.15); }
.matrix tfoot td.us .score__bar span { background: #4fd1bb; }
.matrix tfoot td.us .score__n { color: #fff; }

.rating { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; transition: transform 200ms var(--ease); }
.rating svg { width: 14px; height: 14px; }
tr:hover .rating { transform: scale(1.12); }
.rating--full { background: var(--teal); color: #fff; }
.rating--part { background: var(--gold-100); color: #8a5a0b; }
.rating--none { background: var(--ink-100); color: var(--ink-400); }
.rating--na { background: transparent; color: var(--ink-300); }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.1rem; font-size: 0.84rem; color: var(--ink-500); }
.legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend .rating { width: 20px; height: 20px; }
.legend .rating svg { width: 11px; height: 11px; }

/* --------------------------------------------------------------------------
   9. Capabilities: animated SVG illustrations
   -------------------------------------------------------------------------- */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.cap { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 280ms var(--ease), box-shadow 280ms var(--ease); }
.cap:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cap__art { aspect-ratio: 16 / 10; background: linear-gradient(180deg, var(--paper-2), #fff); border-bottom: 1px solid var(--ink-100); padding: 1.2rem; }
.cap__art svg { width: 100%; height: 100%; overflow: visible; }
.cap__body { padding: 1.4rem 1.5rem 1.6rem; }
.cap__tag { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-head); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-600); }
.cap h3 { margin-top: 0.5rem; }
.cap p { margin-top: 0.6rem; font-size: 0.93rem; color: var(--ink-500); }
.cap__pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.cap__pills li { padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--ink-100); font-size: 0.76rem; font-weight: 600; color: var(--ink-600); }

/* art shared */
.art .stroke { fill: none; stroke: var(--ink-300); stroke-width: 1.6; }
.art .stroke-teal { fill: none; stroke: var(--teal); stroke-width: 2; }
.art .fill-teal { fill: var(--teal); }
.art .fill-soft { fill: var(--teal-100); }
.art .fill-ink { fill: var(--ink-900); }
.art .lbl { font: 600 9px var(--font-body); fill: var(--ink-500); }
.art .lbl-w { font: 600 9px var(--font-body); fill: #fff; }
.art .lbl-big { font: 700 22px var(--font-head); fill: var(--ink-900); letter-spacing: -0.03em; }

/* doc art */
.art .scan { stroke: var(--teal); stroke-width: 2; opacity: 0.9; animation: scan 3s var(--ease-io) infinite; }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(78px); opacity: 0; } }
.art .row-line { stroke: var(--ink-200); stroke-width: 3; stroke-linecap: round; }
.art .row-line.hot { animation: rowhot 3s infinite; }
.art .row-line.hot:nth-of-type(2) { animation-delay: 0.5s; }
.art .row-line.hot:nth-of-type(3) { animation-delay: 1s; }
.art .row-line.hot:nth-of-type(4) { animation-delay: 1.5s; }
@keyframes rowhot { 0%, 100% { stroke: var(--ink-200); } 30%, 60% { stroke: var(--teal); } }
.art .acc-arc { fill: none; stroke: var(--teal); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.8s var(--ease); }
.is-visible .art .acc-arc { stroke-dashoffset: var(--dash); }
.art .acc-track { fill: none; stroke: var(--ink-100); stroke-width: 6; stroke-linecap: round; }
.art .chip-out { fill: var(--white); stroke: var(--teal-100); stroke-width: 1.5; }
.art .chip-anim { animation: chipin 3s var(--ease) infinite; }
@keyframes chipin { 0%, 40% { opacity: 0; transform: translateX(6px); } 55%, 100% { opacity: 1; transform: translateX(0); } }

/* agent art */
.art .path { fill: none; stroke: var(--ink-200); stroke-width: 2; }
.art .path-hot { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -12; } }
.art .node { fill: var(--white); stroke: var(--ink-200); stroke-width: 1.5; }
.art .node-ai { fill: var(--ink-900); }
.art .node-ok { fill: var(--teal-100); stroke: var(--teal); }
.art .node-esc { fill: var(--gold-100); stroke: var(--gold); }
.art .dot { fill: var(--teal); }
.art .dot-g { fill: var(--gold); }
.art .pulse { fill: none; stroke: var(--teal); stroke-width: 1.5; opacity: 0; animation: ripple 2.4s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes ripple { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(1.8); opacity: 0; } }

/* perimeter art */
.art .perim { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 4 5; animation: spin 40s linear infinite; transform-origin: center; transform-box: fill-box; }
@keyframes spin { to { transform: rotate(360deg); } }
.art .perim-fill { fill: var(--teal-050); }
.art .sys { fill: var(--white); stroke: var(--ink-200); stroke-width: 1.5; }
.art .link { fill: none; stroke: var(--ink-200); stroke-width: 1.5; }
.art .link-live { fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 3 5; animation: dash 1.4s linear infinite; }
.art .shield { fill: var(--ink-900); }
.art .shield-tick { fill: none; stroke: #4fd1bb; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   10. Case studies + ROI
   -------------------------------------------------------------------------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.case { padding: 1.6rem 1.6rem 1.7rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm); transition: transform 280ms var(--ease), box-shadow 280ms var(--ease); }
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case__head { display: flex; align-items: center; gap: 0.75rem; }
.case__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-050); color: var(--teal-600); }
.case__icon svg { width: 22px; height: 22px; }
.case__sector { font-family: var(--font-head); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); }
.case__title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink-900); letter-spacing: -0.02em; line-height: 1.25; }
.case__big { margin-top: 1.2rem; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.2rem); letter-spacing: -0.045em; line-height: 1; color: var(--teal-600); }
.case__big small { font-size: 0.4em; font-weight: 600; color: var(--ink-500); letter-spacing: -0.01em; margin-left: 0.2rem; }
.case__metric { font-size: 0.88rem; color: var(--ink-500); margin-top: 0.3rem; }
.ba { margin-top: 1.2rem; display: grid; gap: 0.55rem; }
.ba__row { display: grid; grid-template-columns: 52px 1fr 44px; gap: 0.6rem; align-items: center; font-size: 0.78rem; color: var(--ink-500); }
.ba__track { height: 10px; border-radius: 5px; background: var(--ink-100); overflow: hidden; }
.ba__fill { height: 100%; width: 0; border-radius: 5px; transition: width 1.5s var(--ease); }
.ba__fill--before { background: var(--ink-300); }
.ba__fill--after { background: var(--teal); }
.is-visible .ba__fill { width: var(--w); }
.ba__val { text-align: right; font-family: var(--font-head); font-weight: 700; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.case__desc { margin-top: 1.1rem; font-size: 0.92rem; color: var(--ink-500); }

/* ROI calculator */
.roi { margin-top: 2.5rem; display: grid; grid-template-columns: 0.95fr 1.25fr; gap: 1.25rem; align-items: stretch; }
.roi__inputs { padding: 1.7rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm); }
.roi__inputs h3 { font-size: 1.15rem; }
.roi__inputs .lead { font-size: 0.9rem; margin-top: 0.4rem; }
.roi__form { display: grid; gap: 1rem; margin-top: 1.3rem; }
.roi__adv { margin-top: 0.4rem; border-top: 1px dashed var(--ink-200); padding-top: 0.9rem; }
.roi__adv summary { cursor: pointer; font-size: 0.84rem; font-weight: 600; color: var(--ink-600); list-style: none; display: flex; align-items: center; gap: 0.4rem; }
.roi__adv summary::-webkit-details-marker { display: none; }
.roi__adv summary svg { width: 14px; height: 14px; transition: transform 240ms var(--ease); }
.roi__adv[open] summary svg { transform: rotate(180deg); }
.roi__adv .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.8rem; }

.roi__out { padding: 1.7rem; border-radius: var(--r-lg); background: var(--ink-900); color: var(--d-text); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.roi__out h3 { color: #fff; font-size: 1.15rem; }
.roi__out .sub { margin-top: 0.3rem; font-size: 0.86rem; color: var(--d-muted); }
.roi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1.3rem; }
.out { padding: 1rem 1.1rem; border-radius: var(--r); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--d-line); }
.out__lbl { font-size: 0.76rem; color: var(--d-muted); }
.out__val { margin-top: 0.3rem; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.035em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.out__val small { font-size: 0.58em; font-weight: 600; color: var(--d-muted); }
.out--hero { grid-column: span 2; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; background: linear-gradient(135deg, rgba(20, 156, 134, 0.22), rgba(95, 127, 245, 0.16)); border-color: rgba(79, 209, 187, 0.3); }
.out--hero .out__val { font-size: clamp(1.8rem, 3vw, 2.4rem); color: #4fd1bb; }
.pb-gauge { width: 130px; height: 74px; }
.pb-gauge .tr { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 10; stroke-linecap: round; }
.pb-gauge .ok { fill: none; stroke: var(--d-teal); stroke-width: 10; stroke-linecap: round; }
.pb-gauge .needle { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; transform-origin: 65px 64px; transition: transform 900ms var(--ease); }
.pb-gauge .t { font: 500 8px var(--font-body); fill: var(--d-muted); }
.roi__bars { margin-top: 1rem; display: grid; gap: 0.6rem; }
.roi__bar { display: grid; grid-template-columns: 96px 1fr 60px; gap: 0.7rem; align-items: center; font-size: 0.78rem; color: var(--d-muted); }
.roi__bar .tr { position: relative; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.roi__bar .fl { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 5px; transition: width 800ms var(--ease); }
.roi__bar .fl--base { background: rgba(255, 255, 255, 0.3); }
.roi__bar .fl--lo { background: var(--d-teal); }
.roi__bar .fl--hi { background: rgba(20, 156, 134, 0.35); }
.roi__bar .v { text-align: right; font-family: var(--font-head); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.roi__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: auto; padding-top: 1.4rem; }
.roi__fine { margin-top: 0.9rem; font-size: 0.74rem; color: var(--d-muted); line-height: 1.5; }

/* --------------------------------------------------------------------------
   11. Roadmap (dark)
   -------------------------------------------------------------------------- */
.road { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: start; }
.track { position: relative; padding: 1.5rem 0 0.5rem; }
.track__line { position: absolute; left: 22px; right: 22px; top: 34px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.track__fill { height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--d-teal), #4fd1bb); transition: width 700ms var(--ease); }
.track__nodes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.node { display: grid; justify-items: start; gap: 0.55rem; background: transparent; border: 0; color: inherit; text-align: left; padding: 0; cursor: pointer; }
.node__dot { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-800); border: 2px solid rgba(255, 255, 255, 0.18); font-family: var(--font-head); font-weight: 700; color: #fff; transition: border-color 300ms, background 300ms, transform 300ms var(--ease); }
.node__dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid #4fd1bb; opacity: 0; transform: scale(0.7); transition: opacity 300ms, transform 300ms var(--ease); }
.node:hover .node__dot { border-color: rgba(255, 255, 255, 0.5); transform: translateY(-2px); }
.node[aria-selected="true"] .node__dot { background: var(--d-teal); border-color: #4fd1bb; }
.node[aria-selected="true"] .node__dot::after { opacity: 1; transform: scale(1); }
.node.is-done .node__dot { background: rgba(20, 156, 134, 0.35); border-color: rgba(79, 209, 187, 0.6); }
.node__wk { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #4fd1bb; }
.node__t { font-weight: 600; color: #fff; font-size: 0.95rem; }
.node:focus-visible { outline: none; }
.node:focus-visible .node__dot { outline: 3px solid var(--gold); outline-offset: 3px; }

.phase { padding: 1.7rem 1.8rem; border-radius: var(--r-lg); background: var(--d-surface); border: 1px solid var(--d-line); min-height: 300px; position: relative; overflow: hidden; }
.phase__wk { font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #4fd1bb; }
.phase h3 { margin-top: 0.4rem; font-size: 1.5rem; padding-right: 80px; }
.phase__body { margin-top: 0.9rem; font-size: 0.97rem; color: var(--d-text); }
.phase__list { margin-top: 1rem; display: grid; gap: 0.5rem; }
.phase__list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--d-muted); }
.phase__list svg { width: 16px; height: 16px; flex-shrink: 0; color: #4fd1bb; margin-top: 0.2rem; }
.phase__ring { position: absolute; right: 1.4rem; top: 1.4rem; width: 64px; height: 64px; }
.phase__ring .bg { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 6; }
.phase__ring .fg { fill: none; stroke: #4fd1bb; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100 100; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 700ms var(--ease); }
.phase__ring .t { font: 700 13px var(--font-head); fill: #fff; }
.phase.is-switching { animation: phasein 420ms var(--ease); }
@keyframes phasein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.phase__auto { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--d-muted); }
.phase__auto button { all: unset; cursor: pointer; color: #4fd1bb; font-weight: 600; }
.phase__auto button:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   12. Governance + leadership
   -------------------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.pillar { position: relative; padding: 1.5rem 1.4rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm); transition: transform 260ms var(--ease), box-shadow 260ms var(--ease); overflow: hidden; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink-900); color: #4fd1bb; transition: transform 300ms var(--ease); }
.pillar__icon svg { width: 22px; height: 22px; }
.pillar:hover .pillar__icon { transform: rotate(-6deg) scale(1.06); }
.pillar__big { margin-top: 1rem; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.035em; color: var(--ink-900); line-height: 1; }
.pillar h4 { margin-top: 0.5rem; }
.pillar p { margin-top: 0.4rem; font-size: 0.9rem; color: var(--ink-500); }
.pillar__loop { position: absolute; right: -14px; bottom: -14px; width: 84px; height: 84px; color: var(--teal-100); animation: spin 14s linear infinite; }

.leader { margin-top: 2.5rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.25rem; align-items: stretch; }
.leader__text { padding: 2rem; border-radius: var(--r-lg); background: var(--ink-900); color: var(--d-text); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.leader__text::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 209, 187, 0.25), transparent 65%); pointer-events: none; }
.leader__text h3 { color: #fff; }
.leader__text p { margin-top: 0.9rem; font-size: 0.97rem; color: var(--d-muted); }
.leader__text strong { color: #fff; }
.leader__tiles { display: grid; grid-template-rows: repeat(3, 1fr); gap: 0.8rem; }
.tile { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm); transition: transform 260ms var(--ease), box-shadow 260ms var(--ease); }
.tile:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.tile__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-050); color: var(--teal-600); }
.tile__icon svg { width: 20px; height: 20px; }
.tile b { display: block; font-family: var(--font-head); color: var(--ink-900); font-size: 1rem; letter-spacing: -0.01em; }
.tile span { font-size: 0.85rem; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */
.contact { position: relative; overflow: hidden; background: var(--ink-900); color: var(--d-text); }
.contact .aurora span { opacity: 0.35; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact h2 { color: #fff; }
.contact .lead { color: var(--d-muted); }
.steps { margin-top: 1.6rem; display: grid; gap: 0.75rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: center; font-size: 0.95rem; color: var(--d-text); }
.steps li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(79, 209, 187, 0.15); border: 1px solid rgba(79, 209, 187, 0.4); color: #4fd1bb; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; }
.contact__email { margin-top: 1.8rem; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--d-line); color: #fff; font-weight: 600; transition: background 200ms, border-color 200ms; }
.contact__email:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); text-decoration: none; }
.contact__email svg { width: 18px; height: 18px; color: #4fd1bb; }

.form { padding: 1.8rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--d-line); backdrop-filter: blur(10px); }
.form h3 { color: #fff; font-size: 1.15rem; }
.form__sub { margin-top: 0.3rem; font-size: 0.86rem; color: var(--d-muted); }
.form__grid { display: grid; gap: 0.9rem; margin-top: 1.3rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form__preview { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 12px; background: rgba(79, 209, 187, 0.1); border: 1px solid rgba(79, 209, 187, 0.3); font-size: 0.86rem; color: var(--d-text); display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; align-items: center; }
.form__preview b { font-family: var(--font-head); color: #4fd1bb; font-size: 1.1rem; letter-spacing: -0.02em; white-space: nowrap; }
.form__fine { margin-top: 0.8rem; font-size: 0.74rem; color: var(--d-muted); }
.form__status { margin-top: 0.8rem; font-size: 0.84rem; color: #4fd1bb; min-height: 1.2em; }

/* --------------------------------------------------------------------------
   14. Footer, misc
   -------------------------------------------------------------------------- */
.footer { padding: 2.6rem 0 2rem; background: var(--ink-950); color: var(--d-muted); font-size: 0.85rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 1.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer .brand { color: #fff; }
.footer p { margin-top: 0.8rem; max-width: 44ch; }
.footer h4 { color: #fff; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.8rem; font-family: var(--font-head); }
.footer ul { display: grid; gap: 0.45rem; }
.footer a { color: var(--d-muted); }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; padding-top: 1.4rem; font-size: 0.76rem; color: #6f7f99; }

.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink-900); color: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 260ms, transform 260ms var(--ease), visibility 260ms, background 200ms; z-index: 900; }
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal); }

.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); padding: 0.8rem 1.1rem; border-radius: 12px; background: var(--ink-900); color: #fff; font-size: 0.88rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity 260ms, transform 260ms var(--ease), visibility 260ms; z-index: 950; max-width: min(92vw, 420px); text-align: center; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 760ms var(--ease), transform 760ms var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   15. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bench > *, .bench .span-4, .bench .span-8 { grid-column: span 12; }
  .caps { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roi { grid-template-columns: minmax(0, 1fr); }
  .road { grid-template-columns: minmax(0, 1fr); }
  .leader { grid-template-columns: minmax(0, 1fr); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .orbit { width: min(100%, 420px); }
  .magnet__card { grid-template-columns: 1fr; }
  .magnet__cta { justify-items: stretch; }
  .costbars { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: stretch; gap: 0.35rem; padding: 5rem var(--gutter) 2rem; background: var(--ink-900); color: #fff; transform: translateX(100%); opacity: 0; visibility: hidden; transition: transform 380ms var(--ease), opacity 300ms, visibility 380ms; z-index: 1001; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { font-size: 1.25rem; padding: 0.85rem 1rem; border-radius: 12px; }
  .header.is-scrolled .nav__link { color: #fff; }
  .header.is-scrolled .nav__link.is-active { background: rgba(255, 255, 255, 0.14); color: #fff; }
  .header.is-scrolled .nav__link:hover { background: rgba(255, 255, 255, 0.1); }
  .nav__cta { margin: 1rem 0 0; font-size: 1rem; padding: 0.95rem; }
  .nav-toggle { display: block; }
  .hero { min-height: auto; padding-bottom: 5rem; }
  .hero__scroll { display: none; }
  .orbit__badge--3 { display: none; }
  .orbit__badge--1 { right: 0; }
  .orbit__badge--2 { left: 0; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .uae { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 1.4rem; }
  .track__nodes { grid-template-columns: 1fr; gap: 1.1rem; }
  .track__line { left: 21px; right: auto; top: 24px; bottom: 24px; width: 4px; height: auto; }
  .track__fill { width: 4px !important; height: var(--vh, 0); transition: height 700ms var(--ease); }
  .node { grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; row-gap: 0.1rem; }
  .node__dot { grid-row: span 2; }
  .node__wk { align-self: end; }
  .node__t { align-self: start; }
}

@media (max-width: 640px) {
  .hero__kpis { grid-template-columns: 1fr; }
  .kpi { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .kpi__spark { position: static; }
  .kpi__label { grid-column: 1; }
  .magnet__fields { grid-template-columns: minmax(0, 1fr); }
  .gauges { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .roi__grid { grid-template-columns: 1fr; }
  .out--hero { grid-column: span 1; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .donut-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .uae__row { grid-template-columns: 1fr; }
  .hbar__row { grid-template-columns: 1fr; gap: 0.3rem; }
  .hbar__val { text-align: left; }
  .roi__adv .grid2 { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn, .roi__actions .btn { width: 100%; }
  .bigx { position: static; margin-top: 1rem; }
  .matrix-tools { flex-direction: column; align-items: flex-start; }
  .matrix tbody th { min-width: 200px; font-size: 0.84rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .aurora span { animation: none; }
}
