/* ==========================================================================
   EcoKure enterprise pages.
   A restrained system for the Platform and Gates pages. Deliberately quiet:
   one accent, a real typographic scale, generous whitespace, no gradients,
   no emoji, no animation. The substance is the content, not the chrome.
   ========================================================================== */

:root {
  --e-ink: #0F172A;
  --e-ink-2: #334155;
  --e-ink-3: #64748B;
  --e-line: #E2E8F0;
  --e-line-2: #CBD5E1;
  --e-bg: #FFFFFF;
  --e-bg-2: #F8FAFC;
  --e-bg-3: #F1F5F9;
  --e-accent: #0F5F8A;
  --e-accent-2: #0A4A6E;
  --e-accent-tint: #EAF3F8;
  --e-warn: #8A6100;
  --e-warn-tint: #FBF6E9;
  --e-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --e-max: 1140px;
  --e-gut: 32px;
}

.ent { background: var(--e-bg); color: var(--e-ink); }
.ent * { box-sizing: border-box; }
.ent-wrap { max-width: var(--e-max); margin: 0 auto; padding: 0 var(--e-gut); }

/* ---------- typography ---------- */
.ent h1, .ent h2, .ent h3, .ent h4 {
  color: var(--e-ink); font-weight: 640; letter-spacing: -0.018em;
  margin: 0; text-wrap: balance;
}
.ent h1 { font-size: clamp(2.1rem, 4.2vw, 3.15rem); line-height: 1.08; }
.ent h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.18; }
.ent h3 { font-size: 1.06rem; line-height: 1.35; letter-spacing: -0.008em; }
.ent h4 { font-size: 0.94rem; line-height: 1.4; }
.ent p  { margin: 0; color: var(--e-ink-2); font-size: 1.0rem; line-height: 1.68; }
.ent .lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--e-ink-2); max-width: 66ch; }
.ent .small { font-size: 0.86rem; line-height: 1.6; color: var(--e-ink-3); }
.ent a { color: var(--e-accent); text-decoration: none; }
.ent a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- section rhythm ---------- */
.ent-sec { padding: 76px 0; border-top: 1px solid var(--e-line); }
.product-hierarchy{display:grid;grid-template-columns:repeat(5,1fr);margin-top:30px;border:1px solid var(--e-line);border-radius:var(--r-md);overflow:hidden;background:var(--surface)}.product-hierarchy>div{padding:15px 14px;border-right:1px solid var(--e-line)}.product-hierarchy>div:last-child{border-right:0}.product-hierarchy span{display:block;font:600 .63rem var(--font-mono);letter-spacing:.08em;color:var(--e-accent);margin-bottom:8px}.product-hierarchy strong{display:block;font-size:.84rem;line-height:1.25;color:var(--e-ink)}.product-hierarchy small{display:block;margin-top:5px;color:var(--e-ink-3);font-size:.72rem;line-height:1.35}@media(max-width:800px){.product-hierarchy{grid-template-columns:repeat(2,1fr)}.product-hierarchy>div:nth-child(2n){border-right:0}.product-hierarchy>div{border-bottom:1px solid var(--e-line)}.product-hierarchy>div:last-child{border-bottom:0}}@media(max-width:480px){.product-hierarchy{grid-template-columns:1fr}.product-hierarchy>div{border-right:0}.product-hierarchy>div:last-child{border-bottom:0}}
.ent-sec:first-of-type { border-top: 0; }
.ent-sec.alt { background: var(--e-bg-2); }
.ent-sec-head { max-width: 68ch; margin-bottom: 36px; }
.ent-sec-head h2 { margin-bottom: 12px; }

.ent-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 680;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--e-accent);
  margin-bottom: 14px;
}

/* ---------- hero ---------- */
.ent-hero { padding: 92px 0 64px; border-bottom: 1px solid var(--e-line); }
.ent-hero h1 { margin-bottom: 20px; max-width: 20ch; }
.ent-hero .lede { margin-bottom: 30px; }
.ent-crumb { font-size: 0.82rem; color: var(--e-ink-3); margin-bottom: 20px; }
.ent-crumb a { color: var(--e-ink-3); }

/* ---------- buttons ---------- */
.ent-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 6px; font-size: 0.92rem; font-weight: 580;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s;
}
.ent-btn:hover { text-decoration: none; }
.ent a.ent-btn-primary, .ent-btn-primary { background: var(--e-accent); color: #fff; }
.ent a.ent-btn-primary:hover, .ent-btn-primary:hover { background: var(--e-accent-2); color: #fff; }
.ent a.ent-btn-ghost, .ent-btn-ghost { background: #fff; color: var(--e-ink); border-color: var(--e-line-2); }
.ent a.ent-btn-ghost:hover, .ent-btn-ghost:hover { border-color: var(--e-ink-3); color: var(--e-ink); }
.ent-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ent-hero .ent-actions { margin-top: 0; }

/* ---------- layer cards ---------- */
.ent-grid { display: grid; gap: 20px; }
.ent-grid-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.ent-grid-3 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); column-gap: 40px; row-gap: 32px; margin-top: 34px; }
.ent-grid-3 > * { min-width: 0; }
.ent-sec > .ent-wrap > h2 + .lede { margin-top: 12px; }
.ent-sec > .ent-wrap > .lede + .lede { margin-top: 14px; }

.layer-card {
  display: block; background: #fff; border: 1px solid var(--e-line);
  border-radius: 10px; padding: 26px 26px 24px; transition: border-color .15s, box-shadow .15s;
}
.ent a.layer-card { color: var(--e-ink); }
.layer-card:hover { border-color: var(--e-accent); box-shadow: 0 1px 3px rgba(15,23,42,.06); text-decoration: none; }
.layer-code {
  font-family: var(--e-mono); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--e-accent);
  background: var(--e-accent-tint); padding: 4px 9px; border-radius: 4px;
  display: inline-block; margin-bottom: 14px;
}
.layer-card h3 { margin-bottom: 6px; }
.layer-q { font-size: 1.0rem; color: var(--e-ink); font-weight: 560; margin-bottom: 10px; }
.layer-card p { font-size: 0.92rem; line-height: 1.62; }
.layer-meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--e-line); font-size: 0.8rem; color: var(--e-ink-3); }

/* ---------- operating model strip ---------- */
.opmodel { display: grid; gap: 1px; background: var(--e-line); border: 1px solid var(--e-line); border-radius: 10px; overflow: hidden; }
.opmodel-row { display: grid; grid-template-columns: 130px 1fr; background: #fff; }
.opmodel-k { padding: 16px 18px; background: var(--e-bg-3); font-family: var(--e-mono); font-size: 0.82rem; font-weight: 700; color: var(--e-accent); border-right: 1px solid var(--e-line); }
.opmodel-v { padding: 16px 18px; font-size: 0.94rem; color: var(--e-ink-2); line-height: 1.55; }
@media (max-width: 620px) { .opmodel-row { grid-template-columns: 1fr; } .opmodel-k { border-right: 0; border-bottom: 1px solid var(--e-line); } }

/* APRA / AWS enterprise evidence block */
.apra-enterprise-start { background: #fff; }
.apra-pilot-path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 30px; background: var(--e-line); border: 1px solid var(--e-line); border-radius: 10px; overflow: hidden; }
.apra-pilot-path > div { position: relative; min-height: 170px; padding: 20px 18px; background: #fff; }
.apra-pilot-path > div:not(:last-child)::after { content: "→"; position: absolute; top: 20px; right: -9px; z-index: 2; color: var(--e-accent); background: #fff; font-weight: 800; }
.apra-pilot-path span { display: block; margin-bottom: 24px; color: var(--e-accent); font: 700 .72rem var(--e-mono); }
.apra-pilot-path strong { display: block; margin-bottom: 8px; color: var(--e-ink); font-size: .98rem; }
.apra-pilot-path p { color: var(--e-ink-3); font-size: .84rem; line-height: 1.5; }
.apra-split-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 20px; margin-top: 24px; }
.apra-panel { min-width: 0; padding: 26px; border: 1px solid var(--e-line); border-radius: 10px; background: var(--e-bg-2); }
.apra-panel-kicker { margin-bottom: 10px; color: var(--e-accent); font: 700 .7rem var(--e-mono); letter-spacing: .08em; text-transform: uppercase; }
.apra-panel h3 { margin-bottom: 20px; }
.apra-control-list { display: grid; gap: 0; border-top: 1px solid var(--e-line); }
.apra-control-list > div { display: grid; grid-template-columns: 1.05fr 1.3fr .95fr; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--e-line); }
.apra-control-list b { color: var(--e-ink); font-size: .83rem; }
.apra-control-list span, .apra-control-list em { color: var(--e-ink-2); font-size: .8rem; line-height: 1.45; font-style: normal; }
.apra-control-list em { color: var(--e-accent); }
.apra-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.apra-metrics > div { padding: 14px; border: 1px solid var(--e-line); border-radius: 8px; background: #fff; }
.apra-metrics strong, .apra-metrics span { display: block; }
.apra-metrics strong { color: var(--e-ink); font-size: 1.35rem; letter-spacing: -.02em; }
.apra-metrics span { margin-top: 3px; color: var(--e-ink-3); font-size: .72rem; }
.apra-aws-panel .small { margin-bottom: 20px; }
.apra-architecture-line { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-top: 18px; border-top: 1px solid var(--e-line); color: var(--e-accent); font: 700 .68rem var(--e-mono); }
.apra-architecture-line b { color: var(--e-ink-3); }
.apra-gap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.apra-gap-grid > div { padding: 20px; border: 1px solid var(--e-line); border-radius: 9px; background: #fff; }
.apra-gap-state { display: inline-block; margin-bottom: 18px; padding: 4px 7px; border: 1px solid #e3d2a8; border-radius: 4px; color: var(--e-warn); background: var(--e-warn-tint); font: 700 .63rem var(--e-mono); letter-spacing: .06em; }
.apra-gap-grid h3 { margin-bottom: 7px; font-size: .98rem; }
.apra-gap-grid p { color: var(--e-ink-2); font-size: .86rem; line-height: 1.55; }
@media (max-width: 900px) { .apra-pilot-path { grid-template-columns: repeat(2, 1fr); } .apra-pilot-path > div:not(:last-child)::after { display: none; } .apra-split-grid { grid-template-columns: 1fr; } .apra-gap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .apra-pilot-path, .apra-gap-grid { grid-template-columns: 1fr; } .apra-pilot-path > div { min-height: 0; } .apra-pilot-path span { margin-bottom: 10px; } .apra-control-list > div { grid-template-columns: 1fr; gap: 3px; } .apra-control-list em { padding-bottom: 4px; } .apra-panel { padding: 20px; } }

/* ---------- lists ---------- */
.ent-list { list-style: none; padding: 0; margin: 0; }
.ent-list li { position: relative; padding-left: 22px; margin-bottom: 11px; font-size: 0.96rem; line-height: 1.62; color: var(--e-ink-2); }
.ent-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--e-accent); }
.ent-list-neg li::before { background: none; border-top: 2px solid var(--e-ink-3); border-radius: 0; top: 12px; width: 9px; height: 0; }

/* ---------- verdict chips ---------- */
.verdicts { display: flex; flex-wrap: wrap; gap: 8px; }
.verdict {
  font-family: var(--e-mono); font-size: 0.78rem; padding: 5px 11px;
  border: 1px solid var(--e-line-2); border-radius: 5px; color: var(--e-ink-2); background: #fff;
}

/* ---------- table ---------- */
.ent-table-wrap { overflow-x: auto; }
.ent-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.ent-table th { text-align: left; padding: 12px 14px; border-bottom: 2px solid var(--e-ink); font-weight: 640; color: var(--e-ink); white-space: nowrap; }
.ent-table td { padding: 13px 14px; border-bottom: 1px solid var(--e-line); color: var(--e-ink-2); vertical-align: top; line-height: 1.55; }
.ent-table tr:last-child td { border-bottom: 0; }

/* ---------- gate rows ---------- */
.gate-row {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid var(--e-line);
}
.gate-row:last-child { border-bottom: 0; }
.gate-row-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.gate-row-name h3 { font-size: 1.0rem; }
.gate-row p { font-size: 0.91rem; max-width: 74ch; }
.gate-links { display: flex; gap: 14px; font-size: 0.84rem; white-space: nowrap; padding-top: 2px; }

.pill {
  font-size: 0.68rem; font-weight: 680; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; border: 1px solid;
}
.pill-open-source { color: var(--e-accent); border-color: #BBD6E6; background: var(--e-accent-tint); }
.pill-lab { color: #0F6B4F; border-color: #B7DFCE; background: #EAF6F1; }
.pill-research { color: var(--e-warn); border-color: #E3D2A8; background: var(--e-warn-tint); }

/* ---------- callout ---------- */
.ent-note {
  border-left: 3px solid var(--e-warn); background: var(--e-warn-tint);
  padding: 18px 22px; border-radius: 0 8px 8px 0;
}
.ent-note h4 { color: var(--e-warn); margin-bottom: 7px; }
.ent-note p { font-size: 0.92rem; color: var(--e-ink-2); }
.ent-note-plain { border-left-color: var(--e-accent); background: var(--e-accent-tint); }
.ent-note-plain h4 { color: var(--e-accent); }

/* ---------- cta ---------- */
.ent-cta { padding: 68px 0; background: var(--e-ink); }
.ent-cta h2, .ent-cta p { color: #fff; }
.ent-cta p { color: #CBD5E1; max-width: 62ch; margin: 12px 0 26px; }
.ent-cta a.ent-btn-ghost, .ent-cta .ent-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.ent-cta .ent-btn-ghost:hover { border-color: #fff; color: #fff; }
.ent-cta .ent-btn-ghost:hover,
.ent-cta .ent-btn-ghost:focus-visible {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.ent-cta a.ent-btn-primary, .ent-cta .ent-btn-primary { background: #fff; color: var(--e-ink); }
.ent-cta .ent-btn-primary:hover { background: #E2E8F0; color: var(--e-ink); }

/* ---------- next / prev ---------- */
.ent-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.ent-next a { display: block; padding: 18px 20px; border: 1px solid var(--e-line); border-radius: 8px; background: #fff; }
.ent a.ent-next-item { color: var(--e-ink); }
.ent-next a:hover { border-color: var(--e-accent); text-decoration: none; }
.ent-next .n-code { font-family: var(--e-mono); font-size: 0.76rem; font-weight: 700; color: var(--e-accent); }
.ent-next .n-q { font-size: 0.9rem; color: var(--e-ink); margin-top: 5px; line-height: 1.45; }

/* ==========================================================================
   Depth layer: hero composition, specimens, diagrams, rhythm.
   Added so pages read as a product site rather than a formatted document.
   ========================================================================== */

/* ---------- two-column hero ---------- */
.ent-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
@media (max-width: 940px) { .ent-hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.ent-hero-grid .lede { max-width: 54ch; }

/* ---------- evidence-pack specimen ---------- */
.spec {
  background: #0F172A; border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(15,23,42,.45), 0 2px 6px rgba(15,23,42,.10);
  border: 1px solid #1E293B;
}
.spec-bar {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 15px; background: #16223A; border-bottom: 1px solid #22304C;
}
.spec-dot { width: 9px; height: 9px; border-radius: 50%; background: #33415C; }
.spec-name {
  margin-left: 6px; font-family: var(--e-mono); font-size: .74rem;
  color: #8FA3BF; letter-spacing: .02em;
}
.spec-verdict {
  margin-left: auto; font-family: var(--e-mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px;
  color: #6EE7B7; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.3);
}
.spec-verdict.block { color: #FCA5A5; background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.3); }
.spec-body {
  margin: 0; padding: 18px 18px 20px; font-family: var(--e-mono);
  font-size: .745rem; line-height: 1.78; color: #C3D3EA;
  overflow-x: auto; white-space: pre; tab-size: 2;
}
.spec-body .k { color: #7DB7E8; }
.spec-body .s { color: #9BE0B8; }
.spec-body .n { color: #E6C078; }
.spec-body .c { color: #64748B; }
.spec-foot {
  padding: 11px 16px; border-top: 1px solid #22304C; background: #131F35;
  font-family: var(--e-mono); font-size: .68rem; color: #7C90AC;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.spec-cap { margin-top: 13px; font-size: .8rem; color: var(--e-ink-3); line-height: 1.55; }

/* ---------- stat strip ---------- */
.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border: 1px solid var(--e-line); border-radius: 10px; overflow: hidden; background: var(--e-line);
  gap: 1px;
}
.stat-cell { background: #fff; padding: 24px 22px; }
.stat-num {
  font-size: 1.85rem; font-weight: 660; letter-spacing: -.02em; color: var(--e-ink);
  line-height: 1; margin-bottom: 8px;
}
.stat-lbl { font-size: .84rem; color: var(--e-ink-2); line-height: 1.45; }
.stat-sub { font-size: .76rem; color: var(--e-ink-3); margin-top: 5px; }

/* ---------- flow diagram ---------- */
.flow { width: 100%; height: auto; display: block; }
.flow text { font-family: inherit; }
.flow .fl-box { fill: #fff; stroke: var(--e-line-2); }
.flow .fl-box-accent { fill: var(--e-accent-tint); stroke: var(--e-accent); }
.flow .fl-code { font-family: var(--e-mono); font-weight: 700; font-size: 13px; fill: var(--e-accent); }
.flow .fl-t { font-size: 12.5px; font-weight: 600; fill: var(--e-ink); }
.flow .fl-s { font-size: 11px; fill: var(--e-ink-3); }
.flow .fl-line { stroke: var(--e-line-2); stroke-width: 1.5; fill: none; }
.flow .fl-arrow { fill: var(--e-line-2); }

/* ---------- pull quote ---------- */
.pull {
  border-left: 3px solid var(--e-accent); padding: 6px 0 6px 26px;
  max-width: 62ch; margin: 8px 0;
}
.pull p { font-size: clamp(1.12rem, 1.9vw, 1.4rem); line-height: 1.45; color: var(--e-ink); font-weight: 520; letter-spacing: -.012em; }
.pull cite { display: block; margin-top: 12px; font-size: .84rem; font-style: normal; color: var(--e-ink-3); }

/* ---------- on this page ---------- */
.onthis {
  border-top: 1px solid var(--e-line); border-bottom: 1px solid var(--e-line);
  border-radius: 0; padding: 15px 2px; background: transparent;
  display: flex; flex-wrap: wrap; gap: 9px 24px; align-items: center;
}
.onthis-l { font-size: .74rem; font-weight: 680; letter-spacing: .1em; text-transform: uppercase; color: var(--e-ink-3); }
.onthis a { font-size: .89rem; color: var(--e-accent); text-underline-offset: 3px; }
.onthis a:hover { text-decoration-thickness: 1px; }

@media (max-width: 620px) {
  .onthis { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding: 14px 2px; }
  .onthis-l, .onthis a { flex: 0 0 auto; }
}

/* --------------------------------------------------------------------------
   Shared enterprise polish
   The Rulebook's strongest pattern is quiet structure: a light reading
   surface, explicit state, and small motion only when a visitor engages.
   Apply that language consistently across the enterprise page family.
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
.ent-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}
/* The homepage Control Tower follows the hero directly. Keep the transition
   inside the reading column instead of drawing a full-viewport divider. */
body.page-home .ent-hero { border-bottom: 0; }
body.page-home .ent-hero + .ent-sec { border-top: 0; }
.ent-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -280px;
  right: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,95,138,.09), transparent 68%);
  pointer-events: none;
}
.ent-hero > .ent-wrap { position: relative; z-index: 1; }
.ent-eyebrow { position: relative; }
.ent-eyebrow::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 9px;
  background: var(--e-accent);
  transform-origin: left;
  transition: width .3s ease;
}
.ent-hero:hover .ent-eyebrow::after { width: 52px; }
.ent-btn {
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.ent-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15,23,42,.1); }
.ent-btn:focus-visible { outline: 3px solid rgba(15,95,138,.25); outline-offset: 3px; }
.ent > :not(.ent-cta) .ent-btn-ghost:hover,
.ent > :not(.ent-cta) .ent-btn-ghost:focus-visible {
  background: #f8fafc;
  border-color: var(--e-ink-3);
  color: var(--e-ink) !important;
}
.ent :is(.layer-card, .pack, .readiness-card, .adoption-grid > div, .pilot-timeline > div, .crosswalk-legend > div, .ent-next a) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.ent :is(.layer-card, .pack, .readiness-card, .adoption-grid > div, .pilot-timeline > div, .crosswalk-legend > div, .ent-next a)::after {
  content: "";
  position: absolute;
  inset: -35% -80%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(110deg, transparent 43%, rgba(255,255,255,.72) 50%, transparent 57%);
  transform: translateX(-72%) rotate(10deg);
}
.ent :is(.layer-card, .pack, .readiness-card, .adoption-grid > div, .pilot-timeline > div, .crosswalk-legend > div, .ent-next a) > * {
  position: relative;
  z-index: 1;
}
.ent :is(.layer-card, .pack, .readiness-card, .adoption-grid > div, .pilot-timeline > div, .crosswalk-legend > div, .ent-next a):hover,
.ent :is(.layer-card, .pack, .readiness-card, .adoption-grid > div, .pilot-timeline > div, .crosswalk-legend > div, .ent-next a):focus-within {
  transform: translateY(-4px);
  border-color: rgba(15,95,138,.42);
  box-shadow: 0 14px 30px rgba(15,23,42,.09);
}
.ent :is(.layer-card, .pack, .readiness-card, .adoption-grid > div, .pilot-timeline > div, .crosswalk-legend > div, .ent-next a):hover::after,
.ent :is(.layer-card, .pack, .readiness-card, .adoption-grid > div, .pilot-timeline > div, .crosswalk-legend > div, .ent-next a):focus-within::after {
  animation: enterpriseSignalSweep .72s ease both;
}
.ent-table tbody tr { transition: background .2s ease; }
.ent-table tbody tr:hover { background: var(--e-bg-2); }
@keyframes enterpriseSignalSweep {
  0% { opacity: 0; transform: translateX(-72%) rotate(10deg); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translateX(72%) rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ent-btn,
  .ent :is(.layer-card, .pack, .readiness-card, .adoption-grid > div, .pilot-timeline > div, .crosswalk-legend > div, .ent-next a),
  .ent-eyebrow::after,
  .ent-table tbody tr { transition: none; }
  .ent :is(.layer-card, .pack, .readiness-card, .adoption-grid > div, .pilot-timeline > div, .crosswalk-legend > div, .ent-next a)::after { animation: none !important; }
}

/* ---------- section kicker rule ---------- */
.ent-sec-head .ent-eyebrow { position: relative; padding-left: 0; }
.ent-hero .ent-eyebrow::after {
  content: ""; display: block; width: 34px; height: 2px; background: var(--e-accent);
  margin-top: 12px; margin-bottom: 4px;
}

/* Partner-verified: a third party tested it, but the third party integrated it.
   Deliberately not coloured like the verifiable class. */
.cls-partner { color:#5A4A9E; border-color:#CDC6EA; background:#F2F0FB; }

/* Grid and flex items default to min-width:auto, so a child that cannot shrink
   below its content, like the pre inside .spec with white-space:pre, sizes the
   whole column. On a narrow viewport that pushed the hero past the viewport
   width, and main.css clips the overflow, so the excess was unreachable rather
   than scrollable. min-width:0 lets the column shrink and hands the scrolling
   back to the pre, which already has overflow-x:auto. */
.ent-hero-grid > *,
.ent-grid > *,
.gate-row > *,
.contact-cols > * { min-width: 0; }
.spec, .spec-body { max-width: 100%; }

/* Small screens: keep dense evidence material scrollable inside its card and
   let the enterprise grids collapse before they can widen the document. */
@media (max-width: 620px) {
  .ent-wrap { padding-left: 20px; padding-right: 20px; }
  .ent-grid-2, .ent-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .ent-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; }
  .ent-table { min-width: 0; width: 100%; table-layout: fixed; font-size: .78rem; }
  .ent-table th { white-space: normal; padding: 10px 7px; overflow-wrap: anywhere; }
  .ent-table td { padding: 10px 7px; overflow-wrap: anywhere; }
  .gate-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gate-links { white-space: normal; flex-wrap: wrap; gap: 8px 12px; }
  .spec-body { display: block; max-width: 100%; overflow-x: auto; }
  body:has(.ent) .footer-inner,
  body:has(.ent) .footer-top,
  body:has(.ent) .footer-bottom { min-width: 0; }
  body:has(.ent) .footer * { overflow-wrap: anywhere; }
}

/* ---------- control tower overview ---------- */
.tower-panel { background:#0F172A; color:#E2E8F0; border:1px solid #24324B; border-radius:12px; padding:22px; box-shadow:0 18px 42px rgba(15,23,42,.18); }
.tower-head { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:18px; }
.tower-head .layer-code { margin:0; background:#182942; color:#9CC8E6; }
.tower-live { font-family:var(--e-mono); font-size:.62rem; color:#9BE0B8; white-space:nowrap; letter-spacing:.04em; }
.tower-live i { display:inline-block; width:6px; height:6px; margin-right:4px; border-radius:50%; background:#58D39D; box-shadow:0 0 0 3px rgba(88,211,157,.13); }
.tower-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:20px; }
.tower-metrics div { padding:12px; background:#16223A; border:1px solid #253653; border-radius:7px; }
.tower-metrics strong { display:block; color:#fff; font-size:1.25rem; letter-spacing:-.03em; }
.tower-metrics span,.tower-grid p { display:block; margin-top:4px; color:#91A4BE; font-size:.68rem; line-height:1.35; }
.tower-stream { border-top:1px solid #253653; border-bottom:1px solid #253653; padding:16px 0; }
.tower-stream-title { display:flex; justify-content:space-between; color:#F8FAFC; font-size:.78rem; font-weight:650; margin-bottom:11px; }
.tower-stream-title span { color:#7185A2; font-family:var(--e-mono); font-size:.62rem; font-weight:400; }
.tower-bars { display:grid; gap:8px; }
.tower-bars div { position:relative; height:19px; background:#1A2942; border-radius:4px; overflow:hidden; }
.tower-bars b { position:absolute; inset:0 auto 0 0; opacity:.65; border-radius:4px; }
.tower-bars span { position:relative; z-index:1; display:flex; justify-content:space-between; padding:3px 7px; font-family:var(--e-mono); font-size:.59rem; color:#D5E0EE; }
.tower-bars span strong { font-weight:500; color:#fff; }
.bar-allow { background:#37B57C; }.bar-review { background:#B98C36; }.bar-block { background:#C46262; }.bar-abstain { background:#72829C; }
.tower-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:16px 0; }
.tower-grid div { padding:12px; background:#131F35; border-radius:7px; }
.tower-grid strong { display:block; color:#F8FAFC; font-size:.75rem; margin-top:5px; }
.tower-label { font-family:var(--e-mono); font-size:.58rem; letter-spacing:.08em; color:#77B8DB; }
.tower-flow { display:flex; flex-wrap:wrap; align-items:center; gap:7px; color:#AFC1D8; font-family:var(--e-mono); font-size:.61rem; line-height:1.4; }
.tower-flow b { color:#5DC5AA; }.tower-state { color:#9BE0B8; }
.tower-note { margin:15px 0 0; color:#7185A2; font-size:.66rem; line-height:1.45; }
.selector-step { display:flex; align-items:center; gap:11px; margin:24px 0 12px; color:var(--e-ink); }
.selector-step span { display:grid; place-items:center; width:27px; height:27px; border-radius:50%; color:var(--e-accent); background:var(--e-accent-tint); font-family:var(--e-mono); font-size:.68rem; font-weight:700; }
.selector-options { display:flex; flex-wrap:wrap; gap:9px; }
.selector-option { appearance:none; border:1px solid var(--e-line-2); background:#fff; border-radius:6px; padding:10px 13px; color:var(--e-ink-2); cursor:pointer; font:inherit; font-size:.86rem; transition:background .15s,border-color .15s,color .15s; }
.selector-option:hover,.selector-option:focus-visible { border-color:var(--e-accent); color:var(--e-accent); outline:none; }
.selector-option.is-selected { border-color:var(--e-accent); background:var(--e-accent); color:#fff; }
.selector-result { margin-top:26px; padding:22px; border:1px solid #BBD6E6; border-radius:10px; background:var(--e-accent-tint); }
.selector-result h3 { margin:9px 0 7px; }.selector-result p { margin-bottom:16px; font-size:.92rem; }
.control-tower-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.control-tower-eyebrow img { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,184,144,.2)); }
@keyframes controlTowerBeacon { 0%,100% { transform: translateY(0) scale(1); filter: drop-shadow(0 4px 8px rgba(0,184,144,.2)); } 50% { transform: translateY(-2px) scale(1.035); filter: drop-shadow(0 7px 12px rgba(0,184,144,.34)); } }
.control-tower-eyebrow img { animation: controlTowerBeacon 3.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .control-tower-eyebrow img { animation: none; } }
@media (max-width:620px) { .tower-panel { padding:16px; }.tower-head { align-items:flex-start; flex-direction:column; }.tower-metrics { gap:6px; }.tower-metrics div { padding:9px; }.tower-metrics strong { font-size:1.05rem; }.tower-metrics span { font-size:.6rem; }.tower-grid { grid-template-columns:1fr; }.selector-option { width:100%; text-align:left; } }
