/* EPCIMA PMT landing · EST-WEB-001 Rev B
   Brand: navy #0B1830 / orange #F5822A · Archivo (display) + IBM Plex Sans (text) + IBM Plex Mono (data labels only)
   Motif: controlled engineering document. Ruled registers, title block, sheet numbering. No cards-with-icons grids. */

:root {
  /* brand */
  --navy-900: #0B1830;
  --navy-800: #12294F;
  --navy-700: #16305E;
  --navy-500: #2C558F;
  --orange: #F5822A;
  --orange-hi: #FFA14E;
  --orange-ink: #B5541A;           /* orange for small text on light: 4.9:1 on paper */

  /* tinted neutrals (toward navy hue) */
  --paper: rgb(244,247,251);   /* page */
  --paper-2: rgb(233,237,243); /* alternate band */
  --line: rgb(204,209,218);
  --line-strong: rgb(154,165,184);
  --ink: rgb(12,24,45);
  --ink-2: rgb(66,78,97);
  --ink-3: rgb(112,123,141);

  /* on navy */
  --on-navy: rgb(238,242,249);
  --on-navy-2: rgb(185,197,216);
  --on-navy-3: rgb(129,147,177);
  --navy-line: rgba(255,255,255,0.12);

  --display: 'Archivo', 'Arial Black', sans-serif;
  --text: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* layered neutral shadows (sm / md / lg) */
  --sh-sm: 0 2px 3px -1px rgba(0,0,0,.10), 0 1px 0 0 rgba(25,28,33,.02), 0 0 0 1px rgba(25,28,33,.08);
  --sh-md: 0 0 0 1px rgba(0,0,0,.06), 0 1px 1px -.5px rgba(0,0,0,.06), 0 3px 3px -1.5px rgba(0,0,0,.06), 0 6px 6px -3px rgba(0,0,0,.06), 0 12px 12px -6px rgba(0,0,0,.06), 0 24px 24px -12px rgba(0,0,0,.06);
  --sh-lg: 0 2.8px 2.2px rgba(0,0,0,.034), 0 6.7px 5.3px rgba(0,0,0,.048), 0 12.5px 10px rgba(0,0,0,.06), 0 22.3px 17.9px rgba(0,0,0,.072), 0 41.8px 33.4px rgba(0,0,0,.086), 0 100px 80px rgba(0,0,0,.12);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.no-3d.reduced { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; }
h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; }
h3 { font-weight: 700; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--orange-ink); text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--navy-900); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

section[id], footer { scroll-margin-top: 80px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--text); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 26px; border-radius: 4px; border: 1.5px solid transparent;
  transition-property: background-color, color, border-color, transform, box-shadow; transition-duration: .2s; transition-timing-function: var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); transition-duration: .08s; }
.btn--primary { background: var(--orange); color: var(--navy-900); border-color: var(--orange); box-shadow: var(--sh-sm); }
.btn--primary:hover { box-shadow: var(--sh-md); }
.btn--primary:hover { background: var(--orange-hi); border-color: var(--orange-hi); color: var(--navy-900); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 32px; font-size: 16px; }
.hero .btn--ghost, .cta .btn--ghost { border-color: rgba(255,255,255,0.4); color: var(--on-navy); }
.hero .btn--ghost:hover, .cta .btn--ghost:hover { border-color: var(--orange-hi); color: var(--orange-hi); }

/* ── nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--navy-900); border-bottom: 1px solid var(--navy-line); }
body { padding-top: 76px; }
html.has-3d body { padding-top: 0; }
@media (max-width: 960px) { body { padding-top: 64px; } }
.nav__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; }
.brand .logo { width: auto; height: 24px; display: block; }
.brand .logo__product { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--orange); line-height: 1; padding-top: 2px; }
.nav__links { display: flex; justify-content: center; gap: 6px; }
.nav__links a { position: relative; display: block; min-height: 40px; padding: 10px 14px; color: var(--on-navy-2); font-size: 14.5px; font-weight: 500; letter-spacing: 0.005em; transition: color .2s; }
.nav__links a::before { content: ""; position: absolute; left: 14px; top: 0; width: 22px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-current { color: #fff; }
.nav__links a:hover::before, .nav__links a.is-current::before { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 22px; }
.nav__demo { display: inline-flex; align-items: center; gap: 9px; color: var(--on-navy-2); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav__demo i { width: 8px; height: 8px; border-radius: 50%; background: rgb(104,211,111); box-shadow: 0 0 0 0 rgba(104,211,111,0.6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(104,211,111,0.55); } 70% { box-shadow: 0 0 0 9px rgba(104,211,111,0); } 100% { box-shadow: 0 0 0 0 rgba(104,211,111,0); } }
.nav__demo:hover { color: #fff; }
.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.nav__progress i { display: block; height: 100%; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; gap: 6px; justify-self: end; }
.nav__toggle span:not(.sr) { display: block; width: 24px; height: 2px; background: #fff; transition: transform .3s var(--ease), width .3s var(--ease); }
.nav__toggle span:nth-child(2) { width: 16px; margin-left: auto; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { width: 24px; transform: translateY(-4px) rotate(-45deg); }
/* full-screen menu (mobile) */
.menu { position: fixed; inset: 76px 0 0 0; background: var(--navy-900); z-index: 49; overflow: auto; }
.menu[hidden] { display: none; }
.menu__in { display: grid; padding-top: 24px; padding-bottom: 40px; }
.menu a:not(.menu__cta) { display: grid; grid-template-columns: 40px 1fr; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--navy-line); font-family: var(--display); font-weight: 800; font-size: clamp(28px, 7vw, 40px); letter-spacing: -0.02em; color: #fff; }
.menu a small { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--orange); }
.menu__cta { margin-top: 28px; display: flex; justify-content: center; background: var(--orange); color: var(--navy-900); font-weight: 600; font-size: 16px; padding: 18px; }
.menu__foot { margin-top: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy-3); }
@media (max-width: 960px) {
  .nav__in { grid-template-columns: auto 1fr auto; height: 64px; }
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .menu { inset: 64px 0 0 0; }
}

/* ── 01 hero ── */
.hero {
  background: var(--navy-900);
  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: 48px 48px;
  color: var(--on-navy-2);
  position: relative;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(180deg, transparent, var(--navy-900)); pointer-events: none; }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: clamp(32px, 4vw, 56px); align-items: center;
  padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px);
}
.hero h1 { color: #fff; margin: 14px 0 22px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-hi); }
.hero__lede { font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.65; max-width: 54ch; color: var(--on-navy-2); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 34px; }
.hero__proof { list-style: none; display: grid; gap: 8px; border-top: 1px solid var(--navy-line); padding-top: 18px; max-width: 520px; }
.hero__proof li { position: relative; padding-left: 22px; font-size: 14px; color: var(--on-navy-2); }
.hero__proof li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--orange); }

.frame { background: rgb(17,31,55); border-radius: 10px; overflow: hidden; box-shadow: var(--sh-lg), 0 0 0 1px rgba(255,255,255,0.12); }
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: rgb(7,17,35); border-bottom: 1px solid rgba(255,255,255,0.08); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.frame__bar span { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--on-navy-3); letter-spacing: 0.02em; }
.hero__shot { margin: 0; }
.hero__shot figcaption { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-navy-3); text-align: right; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__shot { order: 2; }
}

/* ── 02 problem ── */
.problem { background: var(--paper); border-bottom: 1px solid var(--line); }
.problem__grid { padding: clamp(64px, 8vw, 110px) 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.problem__list { list-style: none; counter-reset: p; display: grid; }
.problem__list li { counter-increment: p; position: relative; padding: 20px 0 20px 56px; border-top: 1px solid var(--line); font-size: 16.5px; line-height: 1.6; }
.problem__list li:last-child { border-bottom: 1px solid var(--line); }
.problem__list li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-family: var(--mono); font-size: 13px; color: var(--orange-ink); }
.problem__list strong { color: var(--ink); font-weight: 600; }
.problem__turn { grid-column: 2; margin-top: 28px; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2vw, 24px); line-height: 1.35; color: var(--ink); letter-spacing: -0.015em; max-width: 34ch; }
@media (max-width: 860px) { .problem__grid { grid-template-columns: 1fr; } .problem__turn { grid-column: 1; } }

/* ── 03 drill-down ── */
  all: unset; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: baseline;
  width: 100%; box-sizing: border-box; padding: 18px 8px; cursor: pointer; border-radius: 4px;
  transition: background .2s var(--ease);
}
@media (prefers-reduced-motion: reduce) { .drill__crumb::after { animation: none; } .drill__stage img { transition: none; } }
@media (max-width: 900px) {
  .drill__body { grid-template-columns: 1fr; }
  .drill__steps { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
  .drill__steps li, .drill__steps li:last-child { border: 0; border-top: 1px solid var(--line); }
  .drill__steps button { grid-template-columns: 1fr; padding: 14px 6px; row-gap: 6px; }
  .drill__n { width: 36px; }
  .drill__t { font-size: 14px; }
  .drill__c { display: none; }
  .drill__view { order: 2; }
}

/* ── 04 module register ── */
.modules { background: var(--navy-800); color: var(--on-navy-2); padding: clamp(64px, 8vw, 110px) 0; }
.modules h2 { color: #fff; }
.modules__head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.modules__head p { margin-top: 16px; font-size: 17px; }
.tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: rgba(255,255,255,0.1); color: var(--on-navy); }
.tag--ext { background: var(--orange); color: var(--navy-900); }
@media (max-width: 720px) {
  .register thead { display: none; }
  .register tbody tr { display: grid; grid-template-columns: 44px 1fr auto; padding: 14px 0; border-bottom: 1px solid var(--navy-line); }
  .register tbody td, .register tbody th { border: 0; padding: 0; width: auto; white-space: normal; }
  .register tbody th { grid-column: 2; }
  .register tbody td:nth-child(3) { grid-column: 2; font-size: 14px; margin-top: 4px; color: var(--on-navy-3); }
  .register tbody td:nth-child(4) { grid-column: 3; grid-row: 1; padding-left: 10px; }
}

/* ── 05 how ── */
@media (max-width: 860px) { .how__grid { grid-template-columns: 1fr; } }

/* ── 06 scope ── */
.scope__cols { display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; background: #fff; box-shadow: var(--sh-md); overflow: hidden; }
.scope__col { padding: clamp(28px, 3.5vw, 44px); }
.scope__col + .scope__col { border-left: 1px solid var(--line); }
.scope__col--ext { background: var(--paper); }
.scope__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; }
.scope__col h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 14px; }
.scope__col > p { font-size: 15.5px; margin-bottom: 22px; }
.scope__dl { margin: 0; display: grid; }
.scope__dl dt { font-weight: 600; color: var(--ink); padding-top: 14px; border-top: 1px solid var(--line); }
.scope__dl dd { margin: 4px 0 14px; font-size: 14.5px; line-height: 1.6; }
@media (max-width: 800px) { .scope__cols { grid-template-columns: 1fr; } .scope__col + .scope__col { border-left: 0; border-top: 1px solid var(--line); } }

/* ── 07 demo ── */
.demo { background: var(--navy-900); color: var(--on-navy-2); padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.demo::before { content: "SANDBOX"; position: absolute; right: var(--gutter); top: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--on-navy-3); }
.demo h2 { color: #fff; }
.demo__head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.demo__head p { margin-top: 16px; font-size: 17px; }
.demo__envs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,0.18); }
.env { padding: clamp(24px, 3vw, 40px); display: grid; align-content: start; gap: 14px; }
.env + .env { border-left: 1px solid rgba(255,255,255,0.18); }
.env__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.env__host { font-family: var(--mono); font-size: 13px; color: var(--orange-hi); }
.env__status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy-3); border: 1px solid rgba(255,255,255,0.2); padding: 3px 8px; border-radius: 3px; }
.env__status.is-live { color: var(--navy-900); background: rgb(111,218,117); border-color: transparent; }
.env h3 { color: #fff; font-size: clamp(22px, 2.2vw, 26px); }
.env > p { font-size: 15.5px; }
.env__list { list-style: none; display: grid; gap: 6px; font-size: 14px; }
.env__list li { position: relative; padding-left: 18px; }
.env__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--orange); }
.env .btn { justify-self: start; margin-top: 8px; }
.demo__foot { margin-top: 16px; font-size: 13.5px; color: var(--on-navy-3); }
@media (max-width: 760px) { .demo__envs { grid-template-columns: 1fr; } .env + .env { border-left: 0; border-top: 1px solid rgba(255,255,255,0.18); } }

/* ── 08 who ── */
.who { background: var(--paper); }
.who__band { position: relative; height: clamp(260px, 36vw, 420px); overflow: hidden; background: var(--navy-900); }
.who__band img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.05); opacity: 0.9; }
.who__band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,21,44,0.1), rgba(0,4,24,0.85)); mix-blend-mode: multiply; }
.who__band-text { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 1; }
.who__band-text h2 { color: #fff; max-width: 16ch; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.who__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 110px); }
.who__intro p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink); max-width: 40ch; }
.who__caps { list-style: none; display: grid; }
.who__caps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.who__caps p { margin: 0; }
.who__caps li:last-child { border-bottom: 1px solid var(--line); }
.who__caps span { font-family: var(--mono); font-size: 13px; color: var(--orange-ink); padding-top: 3px; }
.who__caps strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .who__grid { grid-template-columns: 1fr; } }

/* ── 09 security ── */
.sec { background: #fff; border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 110px) 0; }
.sec__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); }
.sec__head p { margin-top: 16px; font-size: 17px; }
.sec__dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.sec__dl > div { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.sec__dl dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-ink); padding-top: 4px; }
.sec__dl dd { margin: 0; font-size: 15px; }
@media (max-width: 860px) { .sec__grid { grid-template-columns: 1fr; } .sec__dl { grid-template-columns: 1fr; } }

/* ── 10 faq ── */
.faq { background: var(--paper); padding: clamp(64px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  min-height: 44px; cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 600; font-size: 16.5px; color: var(--ink);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--orange-ink); text-align: center; transition: transform .25s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.faq__list details p { padding: 0 44px 20px 0; font-size: 15.5px; max-width: 68ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ── 11 cta ── */
.cta { background: var(--navy-800); color: var(--on-navy-2); padding: clamp(72px, 9vw, 130px) 0; border-top: 6px solid var(--orange); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cta h2 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); }
.cta p { margin-top: 18px; font-size: 17.5px; max-width: 46ch; }
.cta__actions { display: grid; gap: 12px; justify-items: stretch; }
.cta__actions .btn { width: 100%; }
.cta__small { font-size: 13.5px !important; color: var(--on-navy-3); margin-top: 4px !important; text-align: center; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }

/* ── footer title block ── */
.foot { background: var(--navy-900); color: var(--on-navy-3); padding: clamp(40px, 5vw, 64px) 0 32px; }
.tblock { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr; border: 1px solid rgba(255,255,255,0.2); }
.tblock__cell { padding: 20px 22px; display: grid; align-content: start; gap: 6px; font-size: 14px; line-height: 1.6; }
.tblock__cell + .tblock__cell { border-left: 1px solid rgba(255,255,255,0.2); }
.tblock__cell a { color: var(--on-navy-2); }
.tblock__cell a:hover { color: #fff; }
.tblock__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy-3); margin-bottom: 4px; }
.brand--foot { margin-bottom: 8px; }

.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 28px; }
.foot__by { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-navy-3); font-size: 13px; }
.foot__by img { height: 18px; width: auto; display: block; opacity: 0.85; transition: opacity 0.2s; }
.foot__by:hover img { opacity: 1; }
.foot__legal { margin: 0; font-size: 12.5px; }
@media (max-width: 760px) {
  .tblock { grid-template-columns: 1fr 1fr; } .tblock__cell--brand { grid-column: 1 / -1; }
  .tblock__cell + .tblock__cell { border-left: 0; }
  .tblock__cell:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.2); }
  .tblock__cell:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.2); }
}


/* ══════════ Rev E: visual pass ══════════ */
.ico, .scene__ico, .how__ico, .scope__list svg, .who__chips svg, .sec__grid svg, .env__shot--eproc svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* scenes */
.scenes { background: var(--navy-900); padding: clamp(64px, 8vw, 110px) 0; }
.scenes__h { color: #fff; max-width: 14ch; margin-bottom: clamp(28px, 4vw, 48px); }
.scenes__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scene { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-800); display: grid; align-content: end; padding: 24px; color: #fff; }
.scene::before { content: ""; position: absolute; inset: 0; background: var(--navy-800); background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 36px 36px; }
.scene.has-photo::before { background-image: var(--photo); background-size: cover; background-position: center; filter: grayscale(0.3) contrast(1.05); }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,1,11,0.85)); }
.scene > * { position: relative; z-index: 1; }
.scene__ico { position: absolute; top: 24px; left: 24px; width: 40px; height: 40px; color: var(--orange); }
.scene__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--orange-hi); margin-bottom: 10px; }
.scene p { font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.3; letter-spacing: -0.015em; text-wrap: balance; max-width: 22ch; }
@media (max-width: 760px) { .scenes__grid { grid-template-columns: 1fr; } .scene { aspect-ratio: 16 / 9; } }

/* modules icon grid */
.mods { background: var(--paper); padding: clamp(64px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); }
.mods__head { max-width: 560px; margin-bottom: clamp(28px, 4vw, 48px); }
.mods__head p { margin-top: 12px; font-size: 17px; }
.mods__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.mod { position: relative; background: #fff; border-radius: 12px; padding: 18px 16px 16px; display: grid; gap: 4px; box-shadow: var(--sh-sm); transition-property: transform, box-shadow; transition-duration: .25s; transition-timing-function: var(--ease); }
.mod:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.mod__mark { border-radius: 10px; }
.mod__mark { width: 44px; height: 44px; margin-bottom: 10px; }
.mod b { font-size: 15px; font-weight: 600; color: var(--ink); }
.mod span { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.mod i { position: absolute; top: 14px; right: 14px; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-900); background: var(--orange); padding: 3px 7px; border-radius: 3px; }


.scope__list { list-style: none; display: grid; gap: 0; margin-top: 8px; }
.scope__list li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink); }
.scope__list svg { color: var(--orange-ink); }

/* demo shots */
.env__shot { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--navy-800); outline: 1px solid rgba(255,255,255,0.12); outline-offset: -1px; box-shadow: var(--sh-lg); }
.env__shot--eproc { display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--on-navy-2); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.env__shot--eproc svg { width: 40px; height: 40px; color: var(--orange); }

/* who chips */
.who__intro { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; color: var(--ink); max-width: 20ch; line-height: 1.25; }
.who__chips { list-style: none; display: grid; gap: 0; }
.who__chips li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink); }
.who__chips li:last-child { border-bottom: 1px solid var(--line); }
.who__chips svg { color: var(--orange-ink); }

/* security grid */
.sec__h { margin-bottom: clamp(28px, 4vw, 48px); max-width: 16ch; }
.sec__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sec__grid li { display: grid; gap: 6px; padding: 22px 22px 24px; border-radius: 12px; background: #fff; box-shadow: var(--sh-sm); }
.sec__grid svg { color: var(--orange-ink); margin-bottom: 10px; }
.sec__grid b { font-size: 16px; font-weight: 600; color: var(--ink); }
.sec__grid span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .sec__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sec__grid { grid-template-columns: 1fr; } }


/* ══════════ beam glow states ══════════ */
@property --beam-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.env { position: relative; border-radius: 14px; }
.env::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--beam-a), transparent 0 62%, rgba(236,124,14,0.35) 78%, #FFA14E 88%, #F5822A 93%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .6s var(--ease);
  animation: beam 4.2s linear infinite; animation-play-state: paused;
}
.env:hover::before, .env:focus-within::before { opacity: 0.55; animation-play-state: running; }
.env::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 1px rgba(255,255,255,0.14); transition: box-shadow .4s var(--ease); }
.env:hover::after, .env:focus-within::after { box-shadow: 0 0 0 1px rgba(255,255,255,0.22), 0 0 48px -12px rgba(236,124,14,0.35); }
@keyframes beam { to { --beam-a: 360deg; } }
@media (prefers-reduced-motion: reduce) { .env::before { animation: none; } .env:hover::before { opacity: 0; } .env:hover::after { box-shadow: 0 0 0 1.5px var(--orange); } }
.demo__envs { border: 0; gap: 14px; }
.env { background: rgb(1,8,27); }
.env + .env { border-left: 0; }
@media (max-width: 760px) { .env + .env { border-top: 0; } }

/* ── Rev G.1: module panel opens on the left, tiles slide right ── */
.mod { cursor: pointer; }
.mod.is-open { box-shadow: 0 0 0 2px var(--orange), var(--sh-md); }
.mods__wrap { display: grid; grid-template-columns: 0fr 1fr; gap: 0 0; transition: grid-template-columns .55s cubic-bezier(0.16,1,0.3,1), gap .55s cubic-bezier(0.16,1,0.3,1); align-items: start; }
.mods__wrap.is-open { grid-template-columns: minmax(0, 380px) 1fr; gap: 0 16px; }
.mods__panel { min-width: 0; overflow: hidden; position: sticky; top: 92px; }
.mods__panel-in { position: relative; width: 380px; max-width: 100%; display: grid; gap: 22px; padding: 26px 26px 28px; background: var(--navy-900); color: var(--on-navy-2); border-radius: 14px; box-shadow: var(--sh-md); opacity: 0; transform: translateX(-12px); transition: opacity .35s .12s, transform .45s .12s cubic-bezier(0.16,1,0.3,1); }
.mods__wrap.is-open .mods__panel-in { opacity: 1; transform: none; }
.mods__pname { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: #fff; padding-right: 36px; }
.mods__close { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.mods__close:hover { border-color: var(--orange); color: var(--orange-hi); }
.mods__pk { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy-3); margin-bottom: 8px; }
.mods__pv { font-size: 15.5px; line-height: 1.6; color: #fff; }
.mods__grid { min-width: 0; }
.mod { will-change: transform; }
@media (max-width: 760px) { .mods__wrap, .mods__wrap.is-open { grid-template-columns: 1fr; gap: 0; } .mods__panel { position: static; margin-bottom: 14px; display: none; } .mods__wrap.is-open .mods__panel { display: block; } .mods__panel-in { width: 100%; } }

/* ── Rev G.1: setup cards show the number; the rest reveals on hover / tap ── */

/* ── Rev G.2: photo panels ── */
.scene.has-photo::before { filter: saturate(0.85) contrast(1.05); }
.scene.has-photo::after { background: linear-gradient(180deg, rgba(0,1,11,0.15) 0%, transparent 30%, transparent 45%, rgba(0,1,11,0.88) 100%); }
.scene--top.has-photo { align-content: start; padding-top: 84px; }
.scene--top.has-photo::before { background-position: 30% 100%; }
.scene--top.has-photo::after { background: linear-gradient(180deg, rgba(0,1,11,0.9) 0%, rgba(0,1,11,0.55) 32%, transparent 55%); }

.how { background: #fff; padding: clamp(64px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); }

/* ══════════ Rev H: product-first ══════════ */
.hero__what { margin-top: 14px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-navy-3); }
.hero__what b { color: var(--orange-hi); font-weight: 600; }
.cap--hero .hero__what { margin-top: -10px; margin-bottom: 4px; }

/* screenshot frame + placeholder */
.shot { position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: var(--navy-900); box-shadow: var(--sh-lg); aspect-ratio: 16 / 9; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot figcaption { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(0,3,16,0.72); padding: 6px 10px; border-radius: 4px; }
.shot.is-todo { background: var(--navy-900) linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 100% 28px, var(--navy-900) linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 28px 100%; background-color: var(--navy-900); }
.shot.is-todo::before { content: "Screen to follow"; position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-navy-3); }

/* L1–L4 */
.levels { background: #fff; padding: clamp(64px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); position: relative; }
.levels__head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 56px); }
.levels__head p { margin-top: 14px; font-size: 17px; }
.lvl__list { list-style: none; display: grid; }
.lvl__list li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.lvl__list li:last-child { border-bottom: 1px solid var(--line); }
.lvl__list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 2px; background: var(--orange); }
.levels__note { margin-top: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 860px) { .lvl { grid-template-columns: 1fr; gap: 18px; } .lvl:nth-child(even) .lvl__text { order: 0; } }

/* per-module sections */
.msecs { background: var(--paper); padding: 0 0 clamp(64px, 8vw, 110px); }
.msecs__list { display: grid; gap: clamp(28px, 3vw, 40px); }
.msec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding: clamp(22px, 3vw, 36px); background: #fff; border-radius: 16px; box-shadow: var(--sh-sm); scroll-margin-top: 90px; }
.msec:target { box-shadow: 0 0 0 2px var(--orange), var(--sh-md); }
.msec__title { display: flex; align-items: center; gap: 14px; }
.msec__title .mod__mark { width: 44px; height: 44px; margin: 0; border-radius: 10px; }
.msec h3 { font-size: clamp(22px, 2.2vw, 28px); }
.msec__desc { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); max-width: 46ch; }
.msec__dl { margin: 18px 0 0; display: grid; grid-template-columns: 88px 1fr; row-gap: 10px; column-gap: 14px; }
.msec__dl dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-ink); padding-top: 3px; }
.msec__dl dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
@media (max-width: 860px) { .msec { grid-template-columns: 1fr; } }

/* EPROC */
.eproc__list li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 15px; }
.eproc__list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 2px; background: var(--orange); }
@media (max-width: 900px) { .eproc__flow { grid-template-columns: repeat(3, 1fr); } .eproc__shots { grid-template-columns: 1fr; } .eproc__list { grid-template-columns: 1fr; } }
.mod { padding: 0; display: block; }
.mod > a { display: grid; gap: 4px; padding: 18px 16px 16px; color: inherit; text-decoration: none; border-radius: inherit; }
.mod > a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ── Rev H.2: module drawer with CTA to the module page ── */
.mod.is-open { box-shadow: 0 0 0 2px var(--orange), var(--sh-md); }
.mods__wrap { display: grid; grid-template-columns: 0fr 1fr; gap: 0 0; transition: grid-template-columns .55s cubic-bezier(0.16,1,0.3,1), gap .55s cubic-bezier(0.16,1,0.3,1); align-items: start; }
.mods__wrap.is-open { grid-template-columns: minmax(0, 380px) 1fr; gap: 0 16px; }
.mods__panel { min-width: 0; overflow: hidden; position: sticky; top: 92px; }
.mods__panel-in { position: relative; width: 380px; max-width: 100%; display: grid; gap: 18px; padding: 26px 26px 26px; background: var(--navy-900); color: var(--on-navy-2); border-radius: 14px; box-shadow: var(--sh-md); opacity: 0; transform: translateX(-12px); transition: opacity .35s .12s, transform .45s .12s cubic-bezier(0.16,1,0.3,1); }
.mods__wrap.is-open .mods__panel-in { opacity: 1; transform: none; }
.mods__pname { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: #fff; padding-right: 36px; }
.mods__ptag { font-size: 15px; line-height: 1.5; color: #fff; margin-top: -8px; }
.mods__close { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.mods__close:hover { border-color: var(--orange); color: var(--orange-hi); }
.mods__pk { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy-3); margin-bottom: 6px; }
.mods__pv { font-size: 14.5px; line-height: 1.55; color: var(--on-navy-2); }
.mods__cta { justify-self: start; margin-top: 4px; }
.mods__grid { min-width: 0; }
.mod { will-change: transform; }
@media (max-width: 760px) { .mods__wrap, .mods__wrap.is-open { grid-template-columns: 1fr; gap: 0; } .mods__panel { position: static; display: none; } .mods__wrap.is-open .mods__panel { display: block; order: 2; margin-top: 12px; } .mods__panel-in { width: 100%; } }

/* ── Rev H.7: the two portals (E-Procurement, Joint Inspection) sit under the ten-module grid as their own row ── */
.portals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.portals__k { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.portal { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: start; gap: 14px 18px; padding: 20px 20px 20px 18px; background: var(--navy-900); border-radius: 12px; box-shadow: var(--sh-sm); color: var(--on-navy-2); transition-property: transform, box-shadow; transition-duration: .25s; transition-timing-function: var(--ease); will-change: transform; }
.portal:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.portal:active { transform: translateY(0) scale(0.995); transition-duration: .1s; }
.portal .mod__mark { width: 52px; height: 52px; grid-row: 1 / span 2; }
.portal__t { display: grid; gap: 7px; min-width: 0; }
.portal__t > b { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.015em; color: #fff; }
.portal__t > span:not(.portal__flow) { font-size: 15px; line-height: 1.45; color: var(--on-navy-2); text-wrap: pretty; max-width: 40ch; }
.portal__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: 2px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy-3); }
.portal__flow i { font-style: normal; display: inline-flex; align-items: center; }
.portal__flow i + i::before { content: ""; width: 12px; height: 1px; margin: 0 7px; background: var(--orange); }
.portal__cta { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; margin-top: 4px; }
.portal__cta svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.portal:hover .portal__cta svg { transform: translateX(3px); }

/* ══════════ Rev H.6: the dashboard drilled in place (L1 → L4) ══════════ */
.drill { display: grid; grid-template-columns: minmax(230px, 290px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.drill__lv { list-style: none; display: grid; gap: 4px; margin-bottom: 22px; }
.drill__lv button { display: grid; grid-template-columns: 44px 1fr; align-items: center; column-gap: 12px; width: 100%; min-height: 44px; padding: 6px 8px 6px 6px; border: 0; border-radius: 10px; background: transparent; text-align: left; cursor: pointer; color: var(--ink-3); transition-property: background-color, color; transition-duration: .2s; }
.drill__lv button:hover { background: var(--paper); color: var(--ink); }
.drill__lv button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.drill__ln { display: grid; place-items: center; height: 30px; border-radius: 7px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; background: var(--paper-2); color: var(--ink-3); transition-property: background-color, color, transform; transition-duration: .25s; transition-timing-function: var(--ease); }
.drill__lt { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.drill__lv button[aria-selected="true"] { color: var(--ink); }
.drill__lv button[aria-selected="true"] .drill__ln { background: var(--orange); color: var(--navy-900); }
.drill__lv button.is-past .drill__ln { background: var(--ink); color: #fff; }
.drill__info { position: relative; }
.drill__panel { display: none; }
.drill__panel.is-on { display: block; animation: drillIn .45s var(--ease) both; }
@keyframes drillIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.drill__who { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 8px; }
.drill .lvl__list li { font-size: 14.5px; padding: 8px 0 8px 20px; }
.drill .lvl__list li::before { top: 16px; }
.drill__hint { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); min-height: 20px; }
.drill__screen { container-type: inline-size; min-width: 0; }

/* the screen: a DOM replica of the executive dashboard, scaled by container width */
.ui { --uf: clamp(8.5px, 1.45cqw, 12.5px); --ui-line: rgb(226,231,239); --ui-ink: rgb(18,32,58); --ui-ink-2: rgb(84,97,118); --ui-ink-3: rgb(134,146,166); --ui-navy: #0E1F3D; --ui-orange: #E5761F; --ui-red: #C2410C;
  position: relative; font-family: var(--text); font-size: var(--uf); line-height: 1.35; color: var(--ui-ink); background: rgb(244,246,250); aspect-ratio: 16 / 10.2; border-radius: 10px; overflow: hidden; box-shadow: var(--sh-lg); outline: 1px solid rgba(14,31,61,.08); outline-offset: -1px; user-select: none; -webkit-font-smoothing: antialiased; }
.ui * { box-sizing: border-box; }
.ui__top { display: flex; align-items: center; gap: 2em; height: 3.4em; padding: 0 1.4em; background: var(--ui-navy); color: #fff; }
.ui__brand { font-family: var(--display); font-weight: 800; letter-spacing: 0.06em; font-size: 0.95em; color: var(--orange); }
.ui__brand b { color: #fff; margin-left: .4em; letter-spacing: 0; }
.ui__menu { display: flex; gap: 1.6em; font-size: 0.95em; color: rgba(255,255,255,0.85); }
.ui__menu i, .ui__tabs i { font-style: normal; white-space: nowrap; }
.ui__user { margin-left: auto; font-size: 0.9em; color: rgba(255,255,255,0.8); }
.ui__tabs { display: flex; gap: 2.1em; height: 3em; padding: 0 1.4em; background: #16305E; color: rgba(255,255,255,0.72); font-size: 0.95em; overflow: hidden; }
.ui__tabs i { display: flex; align-items: center; height: 100%; border-bottom: 2px solid transparent; }
.ui__tabs i.is-on { color: #fff; border-color: var(--orange); }
.ui__body { padding: 1.4em 1.6em; display: grid; gap: 1.1em; }
.ui__title { display: flex; align-items: flex-end; justify-content: space-between; gap: 1em; }
.ui__title h4 { font-family: var(--text); font-weight: 600; font-size: 1.6em; letter-spacing: -0.01em; color: var(--ui-ink); margin: 0; }
.ui__title p { color: var(--ui-ink-2); font-size: 0.95em; margin-top: .2em; }
.ui__chip { font-family: var(--mono); font-size: 0.8em; letter-spacing: 0.06em; text-transform: uppercase; padding: .5em .8em; border-radius: 4px; background: rgb(226,245,236); color: rgb(18,100,64); white-space: nowrap; }
.ui__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.ui__kpi { position: relative; text-align: left; display: grid; gap: .35em; padding: 1.1em 1.3em 1.2em; background: #fff; border-radius: 6px; border: 1px solid var(--ui-line); border-top: 3px solid rgb(204,138,52); font: inherit; color: inherit; }
.ui__kpi:nth-child(3) { border-top-color: var(--ui-red); }
.ui__kpi small { font-family: var(--mono); font-size: 0.78em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ui-ink-3); }
.ui__kpi b { font-size: 2.4em; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ui__kpi b i { font-style: normal; font-size: 0.5em; font-weight: 500; margin-left: .15em; color: var(--ui-ink-2); }
.ui__kpi span { font-size: 0.9em; color: var(--ui-ink-2); }
.ui__kpi em { font-style: normal; color: var(--ui-red); font-weight: 600; }
.ui__kpi--hot { cursor: pointer; transition-property: transform, box-shadow, border-color; transition-duration: .2s; }
.ui__kpi--hot:hover { border-color: var(--ui-orange); box-shadow: 0 0 0 3px rgba(229,118,31,0.15); }
.ui__kpi--hot:active, .ui__kpi--hot.is-press { transform: scale(0.985); }
.ui__kpi--hot:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.ui__ring { position: absolute; right: 1em; top: 1em; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--ui-orange); opacity: 0; }
.drill[data-lv="0"]:not(.is-touched) .ui__ring { opacity: 1; animation: uiPing 1.8s ease-out infinite; }
@keyframes uiPing { 0% { box-shadow: 0 0 0 0 rgba(229,118,31,0.55); } 70% { box-shadow: 0 0 0 1.1em rgba(229,118,31,0); } 100% { box-shadow: 0 0 0 0 rgba(229,118,31,0); } }
.ui__row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1em; }
.ui__card { background: #fff; border: 1px solid var(--ui-line); border-radius: 6px; padding: 1.1em 1.3em 1.2em; min-width: 0; }
.ui__ch { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9em; }
.ui__ch b { font-weight: 600; font-size: 1.05em; }
.ui__ch span { font-size: 0.85em; color: var(--ui-orange); }
.ui__svg { display: block; width: 100%; height: auto; aspect-ratio: 600 / 220; }
.ui__grid line { stroke: rgb(236,239,244); stroke-width: 1; }
.ui__ax text { font-family: var(--mono); font-size: 9px; fill: var(--ui-ink-3); }
.ui__planned { fill: none; stroke: #2C4A8A; stroke-width: 1.6; stroke-dasharray: 5 4; }
.ui__actual { fill: none; stroke: var(--ui-orange); stroke-width: 2; }
.ui__area { fill: rgba(229,118,31,0.10); }
.ui__now { stroke: var(--ui-ink-3); stroke-width: 1; stroke-dasharray: 2 3; }
.ui__dot { fill: #fff; stroke: var(--ui-orange); stroke-width: 2.5; }
.ui__legend { display: flex; gap: 1.4em; justify-content: center; align-items: center; font-size: 0.85em; color: var(--ui-ink-2); margin-top: .6em; }
.ui__legend i { font-style: normal; display: inline-flex; align-items: center; gap: .5em; }
.ui__legend i::before { content: ""; width: .9em; height: .9em; border-radius: 50%; border: 2px solid #2C4A8A; }
.ui__legend i.a::before { border-color: var(--ui-orange); }
.ui__legend span { margin-left: auto; font-family: var(--mono); font-size: .9em; color: var(--ui-ink-3); }
.ui__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .9em; }
.ui__bars li { display: grid; grid-template-columns: 7em 1fr 4.5em; align-items: center; gap: .8em; font-size: 0.95em; }
.ui__bars i { position: relative; height: .7em; border-radius: 99px; background: rgb(228,232,239); overflow: hidden; }
.ui__bars i::before, .ui__bars i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.ui__bars i::before { width: var(--c); background: rgb(191,201,222); }
.ui__bars i::after { width: var(--s); background: var(--ui-navy); }
.ui__bars b { font-family: var(--mono); font-weight: 500; font-size: .95em; text-align: right; }
.ui__tot { display: flex; gap: 1.2em; align-items: center; margin-top: 1.1em; font-size: 0.85em; color: var(--ui-ink-2); }
.ui__tot i { font-style: normal; display: inline-flex; align-items: center; gap: .45em; }
.ui__tot i::before { content: ""; width: .8em; height: .8em; border-radius: 2px; background: rgb(191,201,222); }
.ui__tot i.s::before { background: var(--ui-navy); }
.ui__tot span { margin-left: auto; }
.ui__tbl { width: 100%; border-collapse: collapse; font-size: 0.95em; }
.ui__tbl th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: .78em; letter-spacing: .08em; text-transform: uppercase; color: var(--ui-ink-3); padding: 0 .6em .6em 0; border-bottom: 1px solid var(--ui-line); }
.ui__tbl td { padding: .75em .6em .75em 0; border-bottom: 1px solid var(--ui-line); font-variant-numeric: tabular-nums; }
.ui__tbl td:not(:first-child), .ui__tbl th:not(:first-child) { text-align: right; padding-right: 0; padding-left: .6em; }
.ui__tbl td:first-child { font-weight: 500; }
.ui__tbl .neg { color: var(--ui-red); font-weight: 600; }
.ui__tbl tr[role="button"] { cursor: pointer; transition: background-color .15s; }
.ui__tbl tr[role="button"]:hover td { background: rgb(255,246,238); }
.ui__tbl tr[role="button"]:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.ui__tbl tr.is-press td { background: rgb(255,236,220); }
.ui__tbl tr.is-hot td:first-child { position: relative; padding-left: 1.3em; }
.ui__tbl tr.is-hot td:first-child::before { content: ""; position: absolute; left: 0; top: 50%; width: .6em; height: .6em; margin-top: -.3em; border-radius: 50%; background: var(--ui-orange); }
.drill:not(.is-touched) .ui__view.is-on tr.is-hot td:first-child::before { animation: uiPing 1.8s ease-out infinite; }
.ui__row--low .ui__card { padding-bottom: 1.6em; }
.ui__po { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding-top: .6em; }
.ui__po b { display: block; font-size: 2em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.ui__po b.neg { color: var(--ui-red); }
.ui__po span { font-size: .85em; color: var(--ui-ink-2); }

/* the drawer, as in the product: slides over the right half, header carries the level stepper and the path */
.ui__drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; background: #fff; box-shadow: -12px 0 40px rgba(14,31,61,0.16); transform: translateX(104%); transition: transform .5s var(--ease); display: grid; grid-template-rows: auto 1fr; }
.drill:not([data-lv="0"]) .ui__drawer { transform: none; }
.ui__dhead { display: flex; align-items: center; gap: 1.2em; height: 3.4em; padding: 0 1.4em; background: var(--ui-navy); color: #fff; }
.ui__steps { display: flex; gap: .9em; font-family: var(--mono); font-size: .9em; letter-spacing: .06em; }
.ui__steps i { font-style: normal; color: rgba(255,255,255,0.45); cursor: pointer; padding: .2em 0; transition: color .2s; }
.ui__steps i.is-on { color: #fff; font-weight: 600; }
.ui__steps i.is-past { color: rgba(255,255,255,0.8); }
.ui__crumb { font-size: .85em; color: rgba(255,255,255,0.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ui__crumb i { font-style: normal; }
.ui__crumb i + i::before { content: "›"; margin: 0 .5em; color: rgba(255,255,255,0.4); }
.ui__crumb i:last-child { color: #fff; }
.ui__close { margin-left: auto; width: 2.2em; height: 2.2em; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff; font: inherit; font-size: 1.3em; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.ui__close:hover { border-color: var(--orange); color: var(--orange-hi); }
.ui__views { position: relative; overflow: hidden; }
.ui__view { position: absolute; inset: 0; padding: 1.4em 1.6em; overflow: hidden; opacity: 0; transform: translateX(14px); transition: opacity .3s, transform .45s var(--ease); pointer-events: none; }
.ui__view.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .08s; }
.drill.is-back .ui__view { transform: translateX(-14px); }
.drill.is-back .ui__view.is-on { transform: none; }
.ui__vt { font-weight: 600; font-size: 1.15em; margin: 0 0 1em; }
.ui__hint { margin-top: 1em; font-size: .85em; color: var(--ui-ink-3); }
.ui__tag { font-family: var(--mono); font-size: .75em; letter-spacing: .1em; text-transform: uppercase; color: var(--ui-red); border: 1px solid rgba(194,65,12,0.35); display: inline-block; padding: .3em .6em; border-radius: 3px; margin-bottom: .9em; }
.ui__view h5 { font-family: var(--text); font-weight: 600; font-size: 1.35em; letter-spacing: -0.01em; margin: 0 0 .9em; color: var(--ui-ink); display: flex; align-items: center; gap: .7em; flex-wrap: wrap; }
.ui__badge { font-family: var(--mono); font-style: normal; font-size: .6em; letter-spacing: .08em; text-transform: uppercase; color: rgb(133,77,14); background: rgb(254,243,199); padding: .35em .6em; border-radius: 3px; }
.ui__impact { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; margin-bottom: .8em; }
.ui__impact div { border: 1px solid var(--ui-line); border-radius: 6px; padding: .8em 1em; }
.ui__impact small { display: block; font-family: var(--mono); font-size: .75em; letter-spacing: .08em; text-transform: uppercase; color: var(--ui-ink-3); margin-bottom: .3em; }
.ui__impact b { font-size: 1.7em; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ui__impact b.a { color: var(--ui-orange); }
.ui__alert { display: flex; gap: .6em; align-items: baseline; font-size: .9em; color: var(--ui-red); background: rgb(254,242,238); border: 1px solid rgba(194,65,12,0.22); border-radius: 5px; padding: .6em .9em; margin: 0 0 1.1em; }
.ui__alert::before { content: "▲"; font-size: .75em; }
.ui__rec { display: grid; grid-template-columns: 7.5em 1fr; gap: 0; margin: 0 0 1em; font-size: .95em; }
.ui__rec dt { font-family: var(--mono); font-size: .8em; letter-spacing: .08em; text-transform: uppercase; color: var(--ui-ink-3); padding: .6em 0; border-top: 1px solid var(--ui-line); }
.ui__rec dd { margin: 0; padding: .55em 0; border-top: 1px solid var(--ui-line); }
.ui__rec code { font-family: var(--mono); font-size: .9em; background: rgb(238,242,248); padding: .15em .45em; border-radius: 3px; }
.ui__ev { display: flex; gap: .5em; flex-wrap: wrap; }
.ui__ev i { font-style: normal; font-family: var(--mono); font-size: .85em; padding: .3em .55em; border: 1px solid var(--ui-line); border-radius: 4px; color: var(--ui-ink-2); background: rgb(248,249,252); }
.ui__hist { list-style: none; margin: 0; padding: 0; font-size: .9em; }
.ui__hist li { display: grid; grid-template-columns: 3.2em 1fr; gap: .6em; padding: .5em 0; border-top: 1px solid var(--ui-line); color: var(--ui-ink-2); }
.ui__hist span { font-family: var(--mono); color: var(--ui-ink-3); }
.ui__cursor { position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--ui-orange); border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.25); opacity: 0; pointer-events: none; will-change: transform; z-index: 5; }
.ui__cursor.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ui__drawer, .ui__view, .drill__panel.is-on { transition: none; animation: none; } .ui__ring, .ui__tbl tr.is-hot td:first-child::before { animation: none !important; } }

/* ══════════ Rev H.6: setup as a 31-day line, filled by scroll; the scope lists hang off day 31 ══════════ */
.how__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.how__head .how__h { margin: 0; }
.how__day { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.how__day b { color: var(--orange-ink); font-weight: 600; }
.tl { --p: 0; display: grid; gap: 22px; }
.tl__track { position: relative; height: 6px; border-radius: 99px; background: var(--paper-2); }
.tl__fill { position: absolute; inset: 0; border-radius: 99px; background: var(--orange); transform-origin: left center; transform: scaleX(var(--p)); }
.tl__tick, .tl__end { position: absolute; top: 50%; left: calc(var(--d) / 31 * 100%); width: 2px; height: 16px; margin: -8px 0 0 -1px; background: var(--line-strong); }
.tl__end { left: 100%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--line-strong); transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.tl.is-live .tl__end { background: var(--orange); border-color: var(--orange); transform: scale(1.35); }
.tl__tick span, .tl__end span { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.tl__end span { top: 18px; }
.tl__steps { list-style: none; display: grid; grid-template-columns: 20fr 10fr 8fr; gap: 14px; margin-top: 12px; }
.tl__step { position: relative; padding: 24px 24px 26px; border-radius: 14px; background: #fff; box-shadow: var(--sh-md); display: grid; align-content: start; opacity: .55; transition: opacity .4s, transform .4s var(--ease), box-shadow .4s; }
.tl__step.is-on { opacity: 1; }
.tl__step.is-on .how__ico, .tl__step.is-on .how__big { color: var(--orange-ink); }
.tl__step .how__ico { width: 30px; height: 30px; margin-bottom: 26px; color: var(--ink-3); transition: color .3s; }
.tl__step .how__big { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1; color: var(--ink-3); transition: color .3s; }
.tl__step .how__big small { font-family: var(--text); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--ink-3); }
.tl__step h3 { font-size: 18px; margin-top: 10px; }
.tl__step p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); max-width: 34ch; opacity: 0; transform: translateY(6px); transition: opacity .45s .1s, transform .55s .1s var(--ease); }
.tl__step.is-on p { opacity: 1; transform: none; }
.tl__step--live.is-on { box-shadow: 0 0 0 2px var(--orange), var(--sh-md); }
.live { margin-top: clamp(36px, 5vw, 64px); opacity: 0; transform: translateY(16px); transition: opacity .6s .1s, transform .8s .1s var(--ease); }
.live.is-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tl__step, .tl__step p, .live { opacity: 1; transform: none; transition: none; } .tl__fill { transform: none; } }

/* ══════════ Rev I (option D): dashboard-first ══════════ */
.hero--d::after { display: none; }
.hero__grid--d { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(28px, 4vw, 48px); gap: clamp(24px, 4vw, 56px); }
.hero--d h1 { margin: 0; max-width: 12ch; }
.hero__aside { display: grid; gap: 22px; padding-bottom: 6px; }
.hero__aside .hero__lede { max-width: 44ch; }
.hero__aside .hero__cta { margin: 0; }
.levels--hero { background: var(--navy-900); border-bottom: 0; padding-top: 0; padding-bottom: clamp(56px, 7vw, 96px); color: var(--on-navy-2); }
.levels--hero .drill__lv button { color: var(--on-navy-3); }
.levels--hero .drill__lv button:hover { background: rgba(255,255,255,0.06); color: #fff; }
.levels--hero .drill__ln { background: rgba(255,255,255,0.08); color: var(--on-navy-3); }
.levels--hero .drill__lv button[aria-selected="true"] { color: #fff; }
.levels--hero .drill__lv button.is-past .drill__ln { background: #fff; color: var(--navy-900); }
.levels--hero .drill__who { color: var(--orange-hi); }
.levels--hero .lvl__list li { color: var(--on-navy-2); border-color: var(--navy-line); }
.levels--hero .drill__hint { color: var(--on-navy-3); }
.levels--hero .levels__note { color: var(--on-navy-3); }
.levels--hero .ui { box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08); outline: 0; }
.film { background: #fff; padding: clamp(64px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); }
.film__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.film__k { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 12px; }
.film__text h2 { font-size: clamp(28px, 3vw, 40px); }
.film__text > p:not(.film__k) { margin-top: 14px; font-size: 17px; max-width: 40ch; }
.film .hero__proof { border-color: var(--line); margin-top: 26px; }
.film .hero__proof li { color: var(--ink-2); }
.film__media { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--navy-900); box-shadow: var(--sh-lg); aspect-ratio: 16 / 9; }
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__replay { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; background: rgba(6,14,34,0.75); backdrop-filter: blur(8px); color: #fff; font: inherit; font-size: 13px; cursor: pointer; transition-property: border-color, background-color; transition-duration: .2s; }
.film__replay[hidden] { display: none; }
.film__replay:hover { border-color: var(--orange); }
.film__replay:active { transform: scale(0.96); }
.film__replay svg { width: 14px; height: 14px; }

/* ── Rev H.9: connections, the last row of the setup section ── */
.conn { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.conn__head { max-width: 560px; margin-bottom: 22px; }
.conn__head h3 { font-size: clamp(22px, 2.4vw, 30px); }
.conn__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.conn__grid li { display: grid; gap: 6px; align-content: start; padding: 20px 20px 22px; border-radius: 12px; background: #fff; box-shadow: var(--sh-sm); }
.conn__grid svg { width: 22px; height: 22px; color: var(--orange-ink); margin-bottom: 8px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.conn__grid b { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.conn__grid span { font-size: 14px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 960px) { .conn__grid { grid-template-columns: 1fr 1fr; } }
