/* ============================================================
   TEZ ERP — Inventory & Distribution Stylesheet
   Rebuilt on the same component language as finance-compliance.css
   (hairline checkgrids, chip rows, tabs, accordion, rail/stepper,
   card grids) so the two pages read as one product family.
   ============================================================ */

.idPage {
  --idBlue: #0568ff;
  --idBlueHover: #0052cc;
  --idNavy: #081a2e;
  --idInk: #10243e;
  --idDarkCard: #0f2742;
  --idSky: #38bdf8;
  --idSkyBg: #e9f3ff;
  --idSurface: #f4f7fb;
  --idWarm: #fbf8f1;
  --idBody: #44566d;
  --idMuted: #64748b;
  --idBorder: #d8e1ee;
  --idBorderLight: #e6edf5;

  --idGreen: #0e9d6e;
  --idGreenDark: #0b7d58;
  --idGreenBg: #e5f7f0;
  --idGreenBorder: #b7e6d3;

  --idAmber: #b3791b;
  --idAmberBg: #fdf3df;
  --idAmberBorder: #f2ddab;

  --id-pad-x: max(6vw, calc((100% - 1280px) / 2));
  --id-radius: 12px;

  color: var(--idInk);
  background: #ffffff;
  font-family: var(--font-body, 'Inter', sans-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

.idPage * {
  box-sizing: border-box;
}

.idPage a {
  color: inherit;
}

.idPage a:focus-visible,
.idPage button:focus-visible {
  outline: 3px solid var(--idSky);
  outline-offset: 3px;
}

.idPage ul,
.idPage ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ============ SHARED EYEBROW / HEADS ============ */
.idTagEyebrow,
.idStatementHead > span,
.idFlowContent > span,
.idSectionHead > span {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--idBlue);
  margin-bottom: 14px;
}

.idSection--dark .idSectionHead > span {
  color: #8fc1ff;
}

.idSectionHead h2,
.idStatementHead h2,
.idFlowContent h2 {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--idInk);
  margin: 0 0 10px;
  max-width: 780px;
}

.idSection--dark .idSectionHead h2 {
  color: #ffffff;
}

.idSectionHead p,
.idStatementHead p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--idBody);
  max-width: 700px;
  margin: 0;
}

.idSection--dark .idSectionHead p {
  color: #b9c9d8;
}

.idSectionHead {
  margin-bottom: 26px;
}

.idLede {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--idInk);
  margin: 0;
}

.idSection--dark .idLede {
  color: #ffffff;
}

.idPara {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--idBody);
  margin: 14px 0 0;
}

.idSection--dark .idPara {
  color: #b9c9d8;
}

.idSubHead {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--idMuted);
  margin: 28px 0 6px;
}

.idSubLede {
  font-size: 16px;
  font-weight: 700;
  color: var(--idInk);
  margin: 0 0 8px;
}

.idSection--dark .idSubLede {
  color: #ffffff;
}

/* ============ CALLOUT ============ */
.idCallout {
  padding: 16px 20px;
  border-radius: 8px;
  background: var(--idSkyBg);
  border-left: 4px solid var(--idBlue);
  margin-top: 20px;
}

.idCallout p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--idInk);
  font-weight: 500;
}

.idCallout p + p {
  margin-top: 6px;
}

.idSection--dark .idCallout {
  background: rgba(56, 189, 248, 0.1);
  border-left-color: #67a6ff;
}

.idSection--dark .idCallout p {
  color: #e5effa;
}

.idSection--warm .idCallout {
  background: #ffffff;
}

/* ============ 1. HERO (multi-company style) ============ */
.idHero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fbff 0%, #edf7ff 62%, #f4f8fc 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 3vw;
  min-height: 680px;
  padding: 90px var(--id-pad-x) 80px;
}

.idHero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -210px;
  bottom: -290px;
  border: 1px solid rgba(5, 104, 255, .10);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(5, 104, 255, .025), 0 0 0 140px rgba(5, 104, 255, .018);
  pointer-events: none;
}

.idCopy,
.idHeroPhotos {
  position: relative;
  z-index: 1;
}

.idHero h1 {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--idInk);
  margin: 0 0 16px;
}

.idAccentText {
  position: relative;
  color: var(--idBlue);
  z-index: 0;
}

.idAccentText::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  z-index: -1;
  height: 13px;
  background: var(--idSkyBg);
  border-radius: 50%;
  transform: rotate(-1.5deg);
}

.idHero p {
  color: var(--idBody);
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.idHero p:last-of-type {
  margin-bottom: 0;
}

.idActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.btnIdPrimary,
.btnIdFinal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--idBlue);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(5, 104, 255, 0.18);
  letter-spacing: 0.01em;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btnIdPrimary:hover,
.btnIdFinal:hover {
  background: var(--idBlueHover);
  box-shadow: 0 10px 22px rgba(5, 104, 255, 0.28);
  transform: translateY(-2px);
}

.btnIdLink {
  color: var(--idInk);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.btnIdLink:hover {
  color: var(--idBlue);
}

.btnIdSecondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 13px 24px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btnIdSecondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.idTags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--idBorderLight);
}

.idTags span {
  background: #ffffff;
  border: 1px solid var(--idBorder);
  color: var(--idMuted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 11px;
  border-radius: 999px;
}

/* ---- Photo card (same language as mcoHeroCard) ---- */
.idHeroPhotos {
  width: 100%;
}

.idHeroCard {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(16, 36, 62, 0.10);
  border-radius: 10px;
  padding: 12px 12px 16px;
  box-shadow: 13px 16px 0 rgba(16, 36, 62, 0.08), 0 24px 46px rgba(16, 36, 62, 0.14);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s cubic-bezier(.16, 1, .3, 1);
}

.idHeroCard:hover {
  transform: translateY(-8px);
  box-shadow: 16px 20px 0 rgba(5, 104, 255, 0.13), 0 30px 54px rgba(16, 36, 62, 0.20);
}

/* 1024 x 640 photo = 16 / 10 */
.idHeroCardImg {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: #eef3f8;
}

.idHeroCardImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s ease;
}

.idHeroCard:hover .idHeroCardImg img {
  transform: scale(1.04);
}

/* Glass chip on the photo */
.idHeroChip {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(8, 26, 46, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.idHeroChip small {
  display: block;
  color: var(--idSky);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  margin-bottom: 4px;
}

.idHeroChip span {
  display: block;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.35;
}

.idHeroCardCaption {
  padding: 13px 4px 2px;
  text-align: left;
}

.idHeroCardCaption b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--idInk);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.idHeroCardCaption small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--idMuted);
  line-height: 1.25;
}

/* ---- Orbit stage rules kept for backwards compatibility ---- */
.idOrbitStage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
}

.idRings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.idCardCenter {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1px solid var(--idBorder);
  border-radius: var(--id-radius);
  padding: 24px 26px;
  width: 210px;
  text-align: center;
  box-shadow: 0 22px 50px rgba(16, 36, 62, 0.12);
}

.idCardCenter small {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--idBlue);
  text-transform: uppercase;
}

.idCardCenter h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--idInk);
  margin: 8px 0 4px;
  line-height: 1.25;
}

.idCardCenter p {
  font-size: 12.5px;
  color: var(--idMuted);
  margin: 0 0 12px;
}

.idTicker {
  display: block;
  background: var(--idSkyBg);
  color: var(--idBlue);
  border-radius: 6px;
  padding: 8px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.idSat {
  position: absolute;
  z-index: 2;
  background: #ffffff;
  border: 1px solid var(--idBorder);
  border-radius: 10px;
  padding: 12px 14px;
  width: 150px;
  box-shadow: 0 14px 32px rgba(16, 36, 62, 0.10);
}

.idSat small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--idGreen);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.idSat b {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--idInk);
  line-height: 1.35;
}

.satTL { top: 2%; left: -4%; }
.satTR { top: 4%; right: -6%; }
.satBL { bottom: -6%; left: 4%; }
.satBR { bottom: 0%; right: -2%; }

/* ---- Hero responsive ---- */
@media (max-width: 1050px) {
  .idHero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 64px 24px 56px;
  }
  .idHeroCard { max-width: 680px; }
}

@media (max-width: 600px) {
  .idHero { padding: 48px 20px 44px; }
  .idHeroCard,
  .idHeroCard:hover { transform: none; }
  .idHeroChip { left: 10px; right: 10px; bottom: 10px; padding: 9px 11px; }
  .idHeroChip span { font-size: 11.5px; }
}

/* ============ CHECK GRIDS ============
   Hairline-divided panel. Dividers drawn per-cell (border-right/
   bottom), never via a colored container background — that would
   leak a filled block behind any incomplete trailing row. */
.idCheckGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--idBorderLight);
  border-radius: var(--id-radius);
  overflow: hidden;
  text-align: left;
}

.idCheckGrid--1 { grid-template-columns: minmax(0, 1fr); }
.idCheckGrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.idCheckGrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.idCheckGrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.idCheckGrid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.idCheckGrid li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  background: #ffffff;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--idBody);
  border-right: 1px solid var(--idBorderLight);
  border-bottom: 1px solid var(--idBorderLight);
}

.idCheckGrid li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 1.5px;
  background: var(--idBlue);
  transform: rotate(45deg);
}

.idSection--dark .idCheckGrid {
  border-color: rgba(255, 255, 255, 0.14);
}

.idSection--dark .idCheckGrid li {
  background: #0d2338;
  color: #cfdcea;
  border-color: rgba(255, 255, 255, 0.12);
}

.idSection--dark .idCheckGrid li::before {
  background: #67a6ff;
}

.idSection--warm .idCheckGrid li {
  background: #ffffff;
}

/* ============ CHIP ROWS ============ */
.idChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.idChips span {
  background: #ffffff;
  border: 1px solid var(--idBorder);
  color: var(--idInk);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}

.idSection--dark .idChips span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #dbe6f1;
}

.idSection--warm .idChips span {
  background: #ffffff;
}

/* ============ 2. STATEMENT ============ */
.idStatement {
  padding: 52px var(--id-pad-x);
  background: var(--idSurface);
  text-align: center;
}

.idStatementHead {
  max-width: 820px;
  margin: 0 auto 30px;
}

.idStatementHead h2,
.idStatementHead p {
  margin-left: auto;
  margin-right: auto;
}

.idStatement .idCheckGrid,
.idStatement .idChips {
  text-align: left;
}

.idStatement .idChips {
  justify-content: center;
}

.idStatement .idCallout {
  text-align: left;
}

/* ============ 3. ONE DISTRIBUTION FLOW ============ */
.idFlow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4vw;
  align-items: center;
  padding: 52px var(--id-pad-x) 34px;
  background: #ffffff;
}

.idFlowRail {
  background: linear-gradient(180deg, #0f2742 0%, var(--idNavy) 100%);
  border-radius: var(--id-radius);
  padding: 26px 24px 22px;
  color: #ffffff;
  counter-reset: idflow;
}

.idFlowRail > small {
  display: block;
  color: #8fc1ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.idFlowRail > span {
  counter-increment: idflow;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #d7e4f1;
  letter-spacing: 0.01em;
}

.idFlowRail > span:last-child {
  margin-bottom: 0;
}

.idFlowRail > span::before {
  content: counter(idflow, decimal-leading-zero);
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(143, 193, 255, 0.4);
  background: rgba(143, 193, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #8fc1ff;
  z-index: 1;
}

.idFlowRail > span:first-child::before {
  background: var(--idBlue);
  border-color: var(--idBlue);
  color: #ffffff;
}

.idFlowRail > span:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 32px;
  width: 2px;
  height: 21px;
  background: rgba(143, 193, 255, 0.25);
}

.idFlowContent h2 {
  margin-bottom: 18px;
}

.idFlowContent ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.idFlowContent li > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--idBody);
}

.idFlowContent li > p strong {
  display: block;
  color: var(--idInk);
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.idFlowContent li:last-child {
  grid-column: 1 / -1;
}

/* ============ RAIL / DRILL PATHS ============ */
.idRailWrap {
  padding: 0 var(--id-pad-x) 52px;
  background: #ffffff;
  margin-top: -14px;
}

.idRail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 8px;
}

.idRailNode {
  background: #ffffff;
  border: 1px solid var(--idBorder);
  border-radius: 6px;
  padding: 9px 13px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--idInk);
  white-space: nowrap;
}

.idSection--dark .idRailNode,
.idSection--warm .idRailNode {
  background: var(--idDarkCard);
  border-color: rgba(255, 255, 255, 0.14);
  color: #edf5fd;
}

.idSection--warm .idRailNode {
  background: #ffffff;
  border-color: var(--idBorder);
  color: var(--idInk);
}

.idRailArrow {
  color: var(--idBlue);
  font-size: 14px;
  font-weight: 700;
}

.idSection--dark .idRailArrow {
  color: #8fc1ff;
}

.idRailRow {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 10px 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--idBorderLight);
}

.idRailRow:first-of-type {
  padding-top: 0;
}

.idRailRow:last-of-type {
  border-bottom: 0;
}

.idRailRow > b {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--idInk);
}

.idSection--dark .idRailRow > b {
  color: #ffffff;
}

.idSection--dark .idRailRow {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* ============ GENERIC SECTION ============ */
.idSection {
  padding: 52px var(--id-pad-x);
  background: #ffffff;
  scroll-margin-top: 72px;
}

.idSection--warm {
  background: var(--idWarm);
}

.idSection--dark {
  background: var(--idNavy);
  color: #ffffff;
}

/* ============ TABS ============ */
.idTabNav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.idTabBtn {
  appearance: none;
  border: 1px solid var(--idBorder);
  background: #ffffff;
  color: var(--idMuted);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.idSection--dark .idTabBtn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  color: #cfdcea;
}

.idTabBtn.active {
  background: var(--idBlue);
  border-color: var(--idBlue);
  color: #ffffff;
}

.idTabPanel {
  display: none;
}

.idTabPanel.active {
  display: block;
  animation: idFadeIn 0.25s ease;
}

@keyframes idFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.idTabPanel .idCheckGrid,
.idTabPanel .idChips {
  margin-top: 8px;
}

.idTabPanel h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--idInk);
  margin: 0 0 4px;
}

.idSection--dark .idTabPanel h4 {
  color: #ffffff;
}

/* ============ CARD GRIDS ============ */
.idCardsGrid2,
.idCardsGrid3,
.idCardsGrid4,
.idCardsGrid5 {
  display: grid;
  gap: 16px;
}

.idCardsGrid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.idCardsGrid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.idCardsGrid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.idCardsGrid5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .idCardsGrid5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.idCard {
  background: #ffffff;
  border: 1px solid var(--idBorderLight);
  border-radius: var(--id-radius);
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(16, 36, 62, 0.04);
}

.idSection--dark .idCard {
  background: var(--idDarkCard);
  border-color: rgba(255, 255, 255, 0.1);
}

.idCard h3 {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--idInk);
  margin: 0;
}

.idSection--dark .idCard h3 {
  color: #ffffff;
}

.idCard p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--idBody);
  margin: 0;
  flex: 1;
}

.idSection--dark .idCard p {
  color: #b9c9d8;
}

/* ============ ROLE GRID (small named-category cards) ============ */
.idRoleGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.idRoleGrid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.idRoleCard {
  background: #ffffff;
  border: 1px solid var(--idBorderLight);
  border-radius: 10px;
  padding: 16px 16px;
}

.idSection--dark .idRoleCard {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.idRoleCard h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--idInk);
  margin: 0 0 4px;
}

.idSection--dark .idRoleCard h5 {
  color: #ffffff;
}

.idRoleCard p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--idBody);
  margin: 0;
}

.idSection--dark .idRoleCard p {
  color: #b9c9d8;
}

/* ============ SPLIT TWO ============ */
.idSplitTwo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4vw;
}

.idSplitTwo h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--idInk);
  margin: 0 0 8px;
}

.idSplitTwo p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--idBody);
  margin: 0;
}

/* ============ ACCORDION ============ */
.idAccordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.idAccItem {
  background: #ffffff;
  border: 1px solid var(--idBorderLight);
  border-radius: 10px;
  overflow: hidden;
}

.idAccHead {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: 0;
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--idInk);
  cursor: pointer;
  text-align: left;
}

.idAccIcon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.idAccIcon::before,
.idAccIcon::after {
  content: "";
  position: absolute;
  background: var(--idBlue);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.idAccIcon::before { width: 12px; height: 2px; }
.idAccIcon::after { width: 2px; height: 12px; transition: opacity 0.2s ease; }

.idAccItem.is-open .idAccIcon::after { opacity: 0; }

.idAccBody {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.idAccItem.is-open .idAccBody {
  grid-template-rows: 1fr;
}

.idAccBodyInner {
  overflow: hidden;
}

.idAccItem .idAccBodyInner > * {
  padding: 0 18px 16px;
}

.idAccItem .idAccBodyInner p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--idBody);
  margin: 0;
}

/* ============ STAT ROW ============ */
.idStatRow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.idStatRow--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px;
}

.idStat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
}

.idSection:not(.idSection--dark) .idStat {
  background: #ffffff;
  border-color: var(--idBorderLight);
}

.idStat > strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--idBlue);
  line-height: 1.1;
}

.idSection--dark .idStat > strong {
  color: #8fc1ff;
}

.idStat > span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--idMuted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.idSection--dark .idStat > span {
  color: #9fb2c4;
}

.idFootnote {
  display: block;
  margin-top: 18px;
  font-size: 11.5px;
  font-style: italic;
  color: var(--idMuted);
}

.idSection--dark .idFootnote {
  color: #7d92a8;
}

/* ============ CLOSING BAND ============ */
.idFinal {
  text-align: center;
  background: var(--idNavy);
  color: #ffffff;
  padding: 64px var(--id-pad-x);
}

.idFinal > span {
  display: inline-block;
  color: #8fc1ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.idFinal h2 {
  font-family: var(--font-display, 'Inter', sans-serif);
  letter-spacing: -0.03em;
  max-width: 820px;
  margin: 0 auto 14px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  font-weight: 600;
  color: #ffffff;
}

.idFinal > p {
  color: #b9c9d8;
  max-width: 680px;
  margin: 0 auto 22px;
  font-size: 15px;
  line-height: 1.6;
}

.idFinalLines {
  color: #dbe6f1;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.8;
  margin: 0 auto 22px;
}

.idFinalPills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 920px;
  margin: 0 auto 26px;
}

.idFinalPills span {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(143, 193, 255, 0.2);
  color: #a9d0ff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.idFinalActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .idCardsGrid4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .idRoleGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .idCheckGrid--4,
  .idCheckGrid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  .idHero {
    grid-template-columns: minmax(0, 1fr);
    padding: 48px 24px 44px;
  }

  .idOrbitStage {
    min-height: 360px;
    margin-top: 16px;
  }

  .idFlow {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 24px;
  }

  .idRailWrap {
    margin-top: 0;
  }

  .idSplitTwo {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .idRailRow {
    grid-template-columns: minmax(0, 1fr);
  }

  .idCardsGrid2,
  .idCardsGrid3,
  .idCardsGrid4,
  .idCardsGrid5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .idCheckGrid--3,
  .idCheckGrid--4,
  .idCheckGrid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .idFlowContent ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .idFlowContent li:last-child {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .idSection {
    padding: 44px 20px;
  }

  .idStatement,
  .idFlow,
  .idHero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .idRailWrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .idStatRow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .idRoleGrid,
  .idRoleGrid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .idSat {
    display: none;
  }
}

@media (max-width: 600px) {
  .idCheckGrid,
  .idCheckGrid--2,
  .idCheckGrid--3,
  .idCheckGrid--4,
  .idCheckGrid--5,
  .idCardsGrid2,
  .idCardsGrid3,
  .idCardsGrid4,
  .idCardsGrid5 {
    grid-template-columns: minmax(0, 1fr);
  }

  .idActions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .btnIdPrimary,
  .btnIdLink,
  .btnIdFinal,
  .btnIdSecondary {
    width: 100%;
    text-align: center;
  }

  .idTabNav {
    flex-wrap: wrap;
  }

  .idTabBtn {
    flex: 1 1 auto;
  }

  .idFinalActions {
    flex-direction: column;
    align-items: stretch;
  }

  .idRailNode {
    white-space: normal;
  }

  .idStatRow {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .idPage * {
    animation: none !important;
    transition: none !important;
  }
}
