:root {
  --bg: #070b12;
  --bg-2: #0f1420;
  --panel: rgba(14, 19, 30, 0.58);
  --panel-strong: rgba(12, 16, 26, 0.82);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.05);
  --line-bright: rgba(162, 207, 255, 0.28);
  --text: #f2f6fb;
  --muted: #aab5c5;
  --muted-2: #7c8798;
  --accent: #8fd3ff;
  --accent-2: #8f9aff;
  --radius: 24px;
  --radius-lg: 34px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --max: 1440px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 18%, rgba(143, 211, 255, 0.08), transparent 24%),
    radial-gradient(circle at 82% 10%, rgba(143, 154, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #04070f 0%, #081018 46%, #050912 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

.global-map-bg,
.grid-layer,
.ambient,
.traffic-lanes,
.supply-chain-network { position: fixed; inset: 0; pointer-events: none; }

.global-map-bg {
  background:
    radial-gradient(circle at 51% 40%, rgba(146, 208, 255, .20), transparent 26%),
    radial-gradient(circle at 34% 34%, rgba(255, 218, 143, .07), transparent 18%),
    linear-gradient(180deg, rgba(2,6,14,.34), rgba(2,6,14,.54)),
    url("assets/world-map.png") 52% 38%/cover no-repeat;
  opacity: .62;
  transform: scale(1.03);
  filter: saturate(1.12) contrast(1.12) brightness(.92);
  animation: mapDrift 36s ease-in-out infinite alternate;
}
.global-map-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 42%, rgba(10,17,28,.16), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(5,10,18,.18), transparent 52%),
    linear-gradient(90deg, rgba(3,7,15,.40) 0%, rgba(3,7,15,.14) 18%, rgba(3,7,15,.14) 82%, rgba(3,7,15,.40) 100%),
    linear-gradient(180deg, rgba(3,7,15,.20) 0%, rgba(3,7,15,.08) 18%, rgba(3,7,15,.08) 78%, rgba(3,7,15,.28) 100%);
}
@keyframes mapDrift {
  from { transform: scale(1.03) translate3d(0,0,0); filter: saturate(1.12) contrast(1.12) brightness(.92); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.7%, 0); filter: saturate(1.18) contrast(1.16) brightness(.96); }
}

..grid-layer {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.08));
  opacity: .16;
}
.ambient {
  border-radius: 999px;
  filter: blur(100px);
  opacity: .22;
}
.ambient-a {
  width: 420px;
  height: 420px;
  left: -100px;
  top: 40px;
  background: rgba(143, 211, 255, 0.8);
}
.ambient-b {
  width: 360px;
  height: 360px;
  right: 20px;
  top: 200px;
  background: rgba(143, 154, 255, 0.72);
}
.traffic-lanes { opacity:.52; }
.traffic-lanes span {
  position: absolute;
  height: 2px;
  width: 220px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  animation: glide 11s linear infinite;
}
.traffic-lanes span:nth-child(1) { top: 16%; left: -15%; animation-delay: 0s; }
.traffic-lanes span:nth-child(2) { top: 30%; left: -10%; animation-delay: 2s; }
.traffic-lanes span:nth-child(3) { top: 45%; left: -18%; animation-delay: 4s; }
.traffic-lanes span:nth-child(4) { top: 61%; left: -22%; animation-delay: 1s; }
.traffic-lanes span:nth-child(5) { top: 76%; left: -14%; animation-delay: 3s; }
.traffic-lanes span:nth-child(6) { top: 88%; left: -12%; animation-delay: 5s; }

@keyframes glide {
  from { transform: translateX(0); opacity: .1; }
  50% { opacity: .55; }
  to { transform: translateX(140vw); opacity: .08; }
}

.supply-chain-network { z-index: 0; overflow: hidden; }
.supply-chain-network .route {
  position: absolute;
  border-top: 2px dashed rgba(121, 185, 255, 0.30);
  filter: drop-shadow(0 0 10px rgba(121,185,255,.18));
}
.route-a { width: 35vw; height: 18vh; left: 12vw; top: 16vh; border-radius: 50%; transform: rotate(12deg); }
.route-b { width: 42vw; height: 22vh; right: 8vw; top: 20vh; border-radius: 50%; transform: rotate(-8deg); }
.route-c { width: 48vw; height: 20vh; left: 20vw; bottom: 18vh; border-radius: 50%; transform: rotate(-6deg); }
.route-d { width: 28vw; height: 16vh; right: 20vw; bottom: 10vh; border-radius: 50%; transform: rotate(18deg); }
.supply-chain-network .node,
.supply-chain-network .cargo {
  position: absolute; border-radius: 50%;
}
.supply-chain-network .node {
  width: 12px; height: 12px;
  background: radial-gradient(circle, rgba(255,255,255,.96), rgba(143,211,255,.45) 56%, transparent 58%);
  box-shadow: 0 0 18px rgba(143,211,255,.34);
  animation: nodePulse 4s ease-in-out infinite;
}
.node-a { left: 18vw; top: 21vh; }
.node-b { left: 44vw; top: 31vh; animation-delay: 1s; }
.node-c { right: 24vw; top: 28vh; animation-delay: 2s; }
.node-d { right: 18vw; bottom: 19vh; animation-delay: .5s; }
.supply-chain-network .cargo {
  width: 9px; height: 9px;
  background: radial-gradient(circle, rgba(255,214,143,1), rgba(255,214,143,.3) 62%, transparent 66%);
  box-shadow: 0 0 14px rgba(255,214,143,.42);
}
.cargo-a { animation: cargoA 12s linear infinite; }
.cargo-b { animation: cargoB 15s linear infinite; }
.cargo-c { animation: cargoC 11s linear infinite; }
.signal-arrow {
  position: absolute;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(216,235,255,.72);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(8,14,24,.36);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 18px rgba(0,0,0,.24);
  animation: arrowFloat 8s ease-in-out infinite;
}
.arrow-a { left: 14vw; top: 14vh; }
.arrow-b { right: 17vw; top: 17vh; animation-delay: 1.5s; }
.arrow-c { left: 55vw; bottom: 13vh; animation-delay: 3s; }
@keyframes nodePulse { 0%,100%{ transform: scale(1); opacity:.5;} 50%{ transform: scale(1.35); opacity:.95;} }
@keyframes arrowFloat { 0%,100%{ transform: translateY(0px);} 50%{ transform: translateY(-7px);} }
@keyframes cargoA { 0% { left: 18vw; top: 21vh; } 50% { left: 44vw; top: 31vh; } 100% { left: 71vw; top: 27vh; } }
@keyframes cargoB { 0% { left: 44vw; top: 31vh; } 50% { left: 61vw; top: 54vh; } 100% { left: 82vw; top: 71vh; } }
@keyframes cargoC { 0% { left: 27vw; top: 66vh; } 50% { left: 49vw; top: 58vh; } 100% { left: 66vw; top: 40vh; } }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 40;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 16px 18px;
  border-radius: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.brand, .brand-home { display: flex; align-items: center; gap: 14px; }
.brand-home {
  background: none !important;
  background-color: transparent !important;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none !important;
}
.brand-home:hover,
.brand-home:focus,
.brand-home:focus-visible,
.brand-home:active {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.brand-home .brand-kicker { color: var(--accent); }
.brand-home .brand-title { color: var(--text); }
.brand-home:hover .brand-kicker,
.brand-home:hover .brand-title { color: var(--accent); }
.brand-home:focus-visible {
  outline: 2px solid rgba(143, 211, 255, 0.45);
  outline-offset: 4px;
  border-radius: 12px;
}
.brand-mark {
  width: auto; height: auto; border-radius: 0;
  display: grid; place-items: center;
  border: 0;
  background: transparent;
  font-weight: 700;
  letter-spacing: .08em;
}
.brand-kicker, .section-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
}
.brand-title { font-size: 15px; font-weight: 600; }
.main-nav { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 420px; justify-content: center; }
.header-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav-btn {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.nav-btn:hover, .nav-btn.active {
  transform: translateY(-1px);
  border-color: var(--line-bright);
  background: rgba(143, 211, 255, 0.11);
}



.category-anchor-shell {
  position: sticky;
  top: 104px;
  z-index: 35;
  width: min(calc(100% - 32px), var(--max));
  margin: 10px auto 0;
}
.category-anchor-strip {
  border-radius: 18px;
  padding: 10px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  flex-wrap: wrap;
}
.category-anchor-title {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 700;
}
.category-anchor-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}
.hero-trust {
  margin-top: 16px;
  color: var(--text);
  font-size: .94rem;
  letter-spacing: .01em;
}

.shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), var(--max));
  margin: 28px auto 64px;
}
.view { display: none; }
.active-view { display: block; animation: fade .32s ease; }
@keyframes fade { from { opacity: .0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0);} }

.hero-layout {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 20px;
}
.cinematic-panel {
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 20px;
}
.hero-content h1 {
  font-size: clamp(2rem, 3.45vw, 3.65rem);
  line-height: .98;
  margin: 12px 0 16px;
  max-width: 12ch;
  letter-spacing: -.04em;
}
.hero-copy {
  font-size: 1.04rem;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: .24s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn-primary {
  background: linear-gradient(180deg, rgba(143, 211, 255, .26), rgba(143, 211, 255, .12));
  border: 1px solid rgba(143,211,255,.38);
  color: var(--text);
}
.btn-secondary {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
}
.hero-image-wrap {
  position: relative;
  min-height: 500px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.hero-image-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,15,0.0), rgba(5,8,15,.12) 45%, rgba(5,8,15,.74) 100%);
}
.hero-image {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay-card {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  padding: 16px;
  z-index: 2;
  border-radius: 22px;
}
.micro-label {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero-metrics div {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 12px;
}
.hero-metrics span, .stat-box span, .journey-metrics span {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.hero-metrics strong, .stat-box strong { font-size: 1.2rem; }
.hero-side-stack { display: grid; gap: 18px; }
.stat-panel, .stat-grid-panel, .section-head, .journey-panel, .contact-main, .contact-side { border-radius: 28px; padding: 22px; }
.stat-panel h3 { font-size: 1.35rem; line-height: 1.18; margin: 12px 0; max-width: 20ch; }
.stat-panel p { color: var(--muted); line-height: 1.55; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-box {
  border-radius: 20px;
  padding: 16px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  min-height: 108px;
}

.platform-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-card {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  min-height: 350px;
}
.image-card {
  display: grid;
  grid-template-columns: 1fr .9fr;
}
.image-card img {
  width: 100%; height: 100%; object-fit: cover;
}
.card-copy { padding: 22px; align-self: center; }
.card-copy h3, .concept-card h2 { margin: 10px 0 12px; line-height: 1.03; letter-spacing: -.03em; }
.card-copy h3 { font-size: 2rem; max-width: 14ch; }
.card-copy p, .concept-card p { color: var(--muted); line-height: 1.6; }
.concept-card {
  grid-column: 1 / -1;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 20px;
  align-items: stretch;
}
.concept-copy {
  display: grid;
  align-content: start;
}
.concept-card h2 { font-size: clamp(2rem, 3vw, 3rem); max-width: 14ch; }
.concept-flow-title {
  display: grid;
  gap: 6px;
  max-width: none;
}
.concept-flow-title span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}
.concept-flow-title span::after {
  content: "→";
  color: rgba(242,246,251,.86);
  font-weight: 500;
}
.concept-flow-title span:last-child::after {
  content: "";
}
.concept-intro {
  max-width: 60ch;
  margin: 0 0 18px;
}
.concept-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.concept-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.concept-columns > div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
}
.concept-visual {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.concept-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}
.concept-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,15,.08), rgba(5,8,15,.32) 45%, rgba(5,8,15,.88) 100%),
    radial-gradient(circle at 18% 22%, rgba(143,211,255,.2), transparent 24%);
}
.concept-visual-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 2;
}
.concept-chip {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(5, 11, 20, .52);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.concept-float-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  border-radius: 22px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.concept-float-panel div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.concept-float-panel span {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.concept-float-panel strong {
  font-size: 1.1rem;
  letter-spacing: -.02em;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head h2 { margin: 10px 0 0; font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -.03em; }
.section-head p { color: var(--muted); max-width: 50ch; line-height: 1.62; }
.domain-header p, .contact-main p, .prefooter-copy p { text-wrap: pretty; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.domain-card {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 448px;
  padding: 18px;
  display: grid;
  grid-template-rows: minmax(190px, 42%) auto;
  gap: 14px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.domain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(143,211,255,.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  pointer-events: none;
}
.domain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.26);
  border-color: var(--line-bright);
}
.domain-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 190px;
}
.domain-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,10,18,.06), rgba(7,10,18,.25) 42%, rgba(7,10,18,.6) 100%),
    radial-gradient(circle at 14% 18%, rgba(143,211,255,.2), transparent 22%);
}
.domain-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.holo-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(143,211,255,.36), rgba(143,211,255,.08) 42%, transparent 43%),
    radial-gradient(circle at center, rgba(255,255,255,.15), transparent 62%);
  border: 1px solid rgba(143,211,255,.24);
  box-shadow: 0 0 26px rgba(143,211,255,.18), inset 0 0 18px rgba(143,211,255,.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.holo-icon::before,
.holo-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 10px;
  border: 1px solid rgba(143,211,255,.24);
}
.holo-icon::after {
  inset: 18px;
  border-color: rgba(255,209,133,.26);
}
.holo-icon span {
  position: relative;
  z-index: 1;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
}
.domain-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
}
.domain-header {
  display: grid;
  gap: 8px;
}
.domain-content h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.domain-content p {
  margin: 0;
  color: rgba(242,246,251,.78);
  line-height: 1.5;
}
.domain-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.domain-stat {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.domain-stat span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.domain-stat strong {
  font-size: 1rem;
  line-height: 1.1;
}
.domain-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.domain-actions .card-link {
  margin-top: 0;
}
.domain-index {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.insight-card, .case-card {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 380px;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.insight-card:hover, .case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.26);
  border-color: var(--line-bright);
}
.insight-card .card-media,
.case-card .card-media {
  position: absolute; inset: 0;
}
.insight-card .card-media::after,
.case-card .card-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,9,15,.08), rgba(6,9,15,.28) 45%, rgba(6,9,15,.92) 100%);
}
.insight-card .card-media img,
.case-card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.insight-card .card-body,
.case-card .card-body {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 2;
  display: grid; gap: 10px;
}
.card-tag {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.insight-card .card-body h3,
.case-card .card-body h3 { margin: 0; font-size: 1.9rem; line-height: 1.0; letter-spacing: -.03em; }
.insight-card .card-body p,
.case-card .card-body p { margin: 0; color: rgba(242,246,251,.78); line-height: 1.5; }
.card-link {
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  width: fit-content;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  cursor: pointer;
}
.case-card.is-selected {
  outline: 2px solid rgba(143,211,255,.55);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.26);
}



.cases-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.case-side-strip {
  border-radius: 28px;
  padding: 18px;
  position: sticky;
  top: 108px;
}
.case-strip-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  margin-bottom: 14px;
}
.case-tabs {
  display: grid;
  gap: 10px;
}
.case-tab {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text);
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.case-tab:hover, .case-tab.is-selected {
  transform: translateX(4px);
  border-color: var(--line-bright);
  background: linear-gradient(180deg, rgba(143,211,255,.12), rgba(255,255,255,.04));
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
}
.case-tab-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.case-tab-copy {
  display: grid;
  gap: 4px;
}
.case-tab-copy strong {
  font-size: 1rem;
  line-height: 1.1;
}
.case-tab-copy small {
  color: var(--muted);
  font-size: .82rem;
}

.journey-panel { margin-top: 0; }
.journey-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
.journey-heading h3 { font-size: 2.2rem; margin: 10px 0 10px; letter-spacing: -.03em; }
.journey-heading p { color: var(--muted); max-width: 62ch; line-height: 1.55; }
.journey-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 12px;
  width: min(460px, 100%);
}
.metric-box {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.metric-box strong { font-size: 1.2rem; }
.journey-stage {
  margin-top: 22px;
  display: grid;
  grid-template-columns: .64fr 1.36fr;
  gap: 20px;
  align-items: stretch;
}
.journey-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid rgba(255,255,255,.08);
}
.journey-visual img { width: 100%; height: 100%; object-fit: cover; }
.journey-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,15,.05), rgba(5,8,15,.65));
}
.journey-visual-overlay {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  padding: 16px;
  z-index: 2;
  border-radius: 22px;
}
.journey-visual-overlay span { display: block; color: var(--accent); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.journey-visual-overlay strong { display: block; margin-top: 8px; font-size: 1.3rem; }
.flow-wrap {
  position: relative;
  min-height: 500px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
}
.flow-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.flow-svg path {
  fill: none;
  stroke: rgba(143,211,255,.28);
  stroke-width: 2.4;
  stroke-dasharray: 8 8;
}
.flow-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: center;
  height: 100%;
}
.flow-step {
  align-self: center;
  min-height: 290px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.step-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(143,211,255,.12);
  border: 1px solid rgba(143,211,255,.22);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.flow-step h4 { margin: 0 0 10px; font-size: 1.15rem; }
.flow-step p { margin: 0; color: var(--muted); line-height: 1.55; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
}
.contact-main h3 { font-size: 2rem; margin: 10px 0 12px; letter-spacing: -.03em; }
.contact-main p, .contact-card p { color: var(--muted); line-height: 1.6; }
.contact-bullets { display: grid; gap: 12px; margin-top: 18px; }
.contact-bullets div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.image-stack {
  position: relative;
  overflow: hidden;
}
.image-stack img {
  width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: 22px;
}
.contact-card {
  position: absolute;
  left: 22px; right: 22px; bottom: 22px;
  border-radius: 22px;
  padding: 18px;
}
.contact-card span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.contact-card strong { display: block; font-size: 1.45rem; margin: 10px 0; }

.overlay {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: 24px;
}
.hidden { display: none; }
.overlay-backdrop {
  position: absolute; inset: 0;
  background: rgba(3,5,9,.72);
}
.overlay-panel {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 30px;
  padding: 24px;
}
.close-btn {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  width: 42px; height: 42px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
}
.overlay-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
}
.overlay-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 12px;
}
.overlay-panel h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: .98; letter-spacing: -.04em; margin: 0 0 12px; }
.overlay-panel p { color: var(--muted); line-height: 1.65; }
.overlay-grid, .insight-grid-overlay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.overlay-block {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.overlay-block h3 { margin-top: 0; }
.overlay-block ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.6; }
.embed-shell {
  margin-top: 22px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
}
.embed-shell iframe {
  width: 100%; height: min(72vh, 780px); border: 0;
}
.local-fallback {
  padding: 32px;
}
.local-fallback h3 { margin-top: 0; }
.local-fallback p { max-width: 60ch; }

@media (max-width: 1180px) {
  .hero-layout,
  .platform-grid,
  .contact-layout,
  .journey-stage,
  .cinematic-panel,
  .card-grid,
  .flow-grid,
  .overlay-grid,
  .concept-columns,
  .journey-heading {
    grid-template-columns: 1fr;
  }
  .journey-metrics { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .hero-image-wrap, .journey-visual, .flow-wrap { min-height: 380px; }
  .flow-step { min-height: 180px; }
  .section-head { align-items: start; }
  .concept-float-panel,
  .domain-stats { grid-template-columns: repeat(2, 1fr); }
  .header-actions,
  .main-nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .topbar {
  }
  .category-anchor-shell { top: 88px; }
  .category-anchor-strip { flex-direction: column; gap: 6px; }
  .category-anchor-title, .category-anchor-meta { font-size: 11px; }

  .topbar { width: calc(100% - 20px); padding: 14px; top: 10px; }
  .category-anchor-shell { width: calc(100% - 20px); top: 90px; }
  .category-anchor-strip { padding: 9px 12px; }
  .shell { width: calc(100% - 20px); }
  .brand-title { font-size: 14px; }
  .hero-content h1 { max-width: 13ch; }
  .hero-metrics, .stat-grid, .journey-metrics, .concept-float-panel, .domain-stats { grid-template-columns: 1fr; }
  .insight-card .card-body h3, .case-card .card-body h3, .domain-content h3 { font-size: 1.55rem; }
  .section-head h2, .journey-heading h3, .contact-main h3 { font-size: 1.8rem; }
  .overlay-panel { padding: 18px; }
  .header-actions { width: 100%; }
  .header-actions .btn { flex: 1 1 auto; }
  .domain-card { min-height: auto; }
}


.journey-panel {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.btn-cta {
  min-width: 132px;
  font-weight: 600;
  letter-spacing: .02em;
}

.trust-strip {
  margin-top: 22px;
  border-radius: 28px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: center;
}
.trust-strip h3 {
  margin: 8px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
  max-width: 20ch;
}
.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.trust-tags span {
  padding: 11px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text);
  font-size: 13px;
}
.journey-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 76% 22%, rgba(143,211,255,.08), transparent 24%), radial-gradient(circle at 18% 86%, rgba(255,214,143,.08), transparent 18%);
  pointer-events: none;
}
.journey-stage {
  position: relative;
}
#flowchartSteps {
  position: relative;
}
#flowchartSteps::before {
  content: "";
  position: absolute;
  left: 6%; right: 6%; top: 44%;
  height: 2px;
  background: linear-gradient(90deg, rgba(143,211,255,.15), rgba(143,211,255,.45), rgba(255,214,143,.25), rgba(143,211,255,.15));
  z-index: 0;
  opacity: .7;
}
.flow-step {
  position: relative;
  z-index: 1;
}
.flow-step::after {
  content: "↗";
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 16px;
  color: rgba(143,211,255,.7);
  opacity: .85;
}
.step-icon {
  box-shadow: 0 0 18px rgba(143,211,255,.18);
}
.case-side-strip {
  background: linear-gradient(180deg, rgba(8,14,24,.72), rgba(8,12,20,.56));
}
.case-tab {
  position: relative;
  overflow: hidden;
}
.case-tab::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(143,211,255,.08), transparent 34%);
  opacity: 0;
  transition: opacity .2s ease;
}
.case-tab:hover::after, .case-tab.is-selected::after { opacity: 1; }
.case-tab.is-selected {
  border-color: rgba(143,211,255,.32);
  background: rgba(143,211,255,.08);
  box-shadow: inset 3px 0 0 rgba(143,211,255,.9);
}
.case-tab-index {
  position: relative;
}
.case-tab-index::after {
  content: "→";
  display: block;
  margin-top: 4px;
  color: rgba(143,211,255,.8);
}
@media (max-width: 1100px) {
  .signal-arrow, .supply-chain-network .route { display:none; }
}
@media (max-width: 820px) {
  .global-map-bg { opacity:.22; }
  .supply-chain-network { display:none; }
}


.site-footer {
  position: relative;
  overflow: hidden;
  width: min(calc(100% - 32px), var(--max));
  margin: 28px auto 24px;
  padding: 30px 28px 18px;
  border-radius: 30px;
}
.footer-orbit {
  position: absolute;
  border: 1px solid rgba(143,211,255,.14);
  border-radius: 999px;
  pointer-events: none;
}
.footer-orbit-a {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
}
.footer-orbit-b {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -120px;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr .7fr .9fr .85fr;
  gap: 22px;
  align-items: start;
}
.footer-brand-block h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: .98;
  letter-spacing: -.04em;
  max-width: 12ch;
}
.footer-brand-block p {
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.65;
}
.footer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.footer-column {
  position: relative;
  z-index: 1;
  min-height: 100%;
}
.footer-title {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  width: 100%;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  opacity: .9;
}
.footer-link:hover { opacity: 1; color: var(--accent); }
.footer-cockpit-link { font-size: inherit; }
.footer-mail {
  display: inline-block;
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-mini-metrics {
  display: grid;
  gap: 10px;
}
.footer-mini-metrics div {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.footer-mini-metrics span {
  display: block;
  color: var(--muted-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 4px;
}
.footer-mini-metrics strong {
  font-size: 1rem;
}
.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.footer-bottom-note {
  color: rgba(216,235,255,.78);
  letter-spacing: .08em;
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .site-footer { width: min(calc(100% - 24px), var(--max)); padding: 24px 18px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-block h2 { max-width: none; }
}


.prefooter-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), var(--max));
  margin: 42px auto 38px;
}

.prefooter-strip {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.15fr .95fr auto;
  gap: 20px;
  align-items: center;
  min-height: 186px;
}
.prefooter-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  letter-spacing: -.04em;
}
.prefooter-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.6;
}
.prefooter-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px,1fr));
  gap: 12px;
}
.prefooter-metric {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 14px 16px;
}
.prefooter-metric span {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.prefooter-metric strong { font-size: 1.18rem; }
.prefooter-actions { display:flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.prefooter-flow { position:absolute; inset:0; pointer-events:none; opacity:.9; }
.prefooter-flow .flow-lane { position:absolute; border-top: 2px dashed rgba(121,185,255,.22); filter: drop-shadow(0 0 10px rgba(121,185,255,.16)); }
.flow-lane-a { left: 12%; top: 28%; width: 34%; height: 40%; border-radius: 50%; transform: rotate(8deg); }
.flow-lane-b { right: 8%; bottom: 16%; width: 36%; height: 36%; border-radius: 50%; transform: rotate(-7deg); }
.prefooter-flow .flow-node, .prefooter-flow .flow-cargo { position:absolute; border-radius:50%; }
.prefooter-flow .flow-node { width: 10px; height: 10px; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(143,211,255,.34) 60%, transparent 62%); box-shadow: 0 0 16px rgba(143,211,255,.32); animation: nodePulse 4s ease-in-out infinite; }
.flow-node-a { left: 17%; top: 34%; }
.flow-node-b { left: 42%; top: 50%; animation-delay: .8s; }
.flow-node-c { right: 18%; bottom: 28%; animation-delay: 1.4s; }
.prefooter-flow .flow-cargo { width: 8px; height: 8px; background: radial-gradient(circle, rgba(255,214,143,1), rgba(255,214,143,.24) 64%, transparent 68%); box-shadow: 0 0 12px rgba(255,214,143,.34); }
.flow-cargo-a { animation: preCargoA 11s linear infinite; }
.flow-cargo-b { animation: preCargoB 13s linear infinite; }
.flow-arrow { position:absolute; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(216,235,255,.72); padding: 7px 10px; border-radius: 999px; background: rgba(8,14,24,.32); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: arrowFloat 8s ease-in-out infinite; }
.flow-arrow-a { left: 30%; top: 18%; }
.flow-arrow-b { right: 22%; bottom: 18%; animation-delay: 1.8s; }
@keyframes preCargoA { 0% { left: 17%; top: 34%; } 50% { left: 42%; top: 50%; } 100% { left: 68%; top: 42%; } }
@keyframes preCargoB { 0% { left: 48%; top: 56%; } 50% { left: 64%; top: 50%; } 100% { left: 80%; top: 30%; } }

.site-footer {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 42px;
  padding: 28px 26px 18px;
  border-radius: 30px;
  overflow: hidden;
}

@media (max-width: 1180px) {
  .prefooter-strip { grid-template-columns: 1fr; align-items: flex-start; }
  .prefooter-actions { justify-content: flex-start; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-tags { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .prefooter-shell { width: min(calc(100% - 24px), var(--max)); margin: 24px auto 28px; }
  .prefooter-strip { padding: 20px; min-height: auto; }
  .prefooter-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .prefooter-metrics { grid-template-columns: 1fr; }
}


.system-depth-panel {
  margin-top: 22px;
  border-radius: 28px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.system-depth-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(143,211,255,.08), transparent 22%), radial-gradient(circle at 12% 88%, rgba(255,214,143,.08), transparent 18%);
  pointer-events: none;
}
.system-depth-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  gap: 18px;
  align-items: end;
}
.system-depth-head h3 { margin: 10px 0 10px; font-size: clamp(1.5rem, 2.2vw, 2.2rem); letter-spacing: -.03em; }
.system-depth-head p { margin: 0; color: var(--muted); max-width: 66ch; line-height: 1.6; }
.system-depth-pulse {
  justify-self: end;
  min-width: 280px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.pulse-label, .depth-kicker, .overlay-block-kicker, .journey-context-kicker, .insight-priority {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  color: var(--accent);
}
.system-depth-pulse strong { display:block; font-size: 1.45rem; margin: 8px 0 8px; }
.system-depth-pulse small { color: var(--muted); }
.system-depth-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.depth-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.depth-card h4 { margin: 10px 0 14px; font-size: 1.12rem; line-height: 1.25; }
.depth-bars { display: grid; gap: 12px; }
.depth-bars div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: center; }
.depth-bars span, .mini-bar-row span { color: var(--muted); font-size: .86rem; }
.depth-bars em, .mini-bar-row em {
  display: block; height: 10px; border-radius: 999px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; font-style: normal;
}
.depth-bars em::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(143,211,255,.06), rgba(143,211,255,.16)); }
.depth-bars em::before { content:""; position:absolute; top:0; left:0; bottom:0; width: var(--fill,0%); }
.depth-bars em, .mini-bar-row em { border:1px solid rgba(255,255,255,.06); }
.depth-bars div em { --fill: 100%; }
.depth-bars div em::before { content:""; position:absolute; inset:0 auto 0 0; width: inherit; }
.depth-bars div em { position:relative; }
.depth-bars div em::before { width: 100%; }
.depth-bars div em > i { display:none; }
.depth-bars div em::after { opacity:1; }
.depth-bars div:nth-child(1) em{ background:linear-gradient(90deg, rgba(143,211,255,.34) 82%, rgba(255,255,255,.04) 82%); }
.depth-bars div:nth-child(2) em{ background:linear-gradient(90deg, rgba(143,211,255,.34) 68%, rgba(255,255,255,.04) 68%); }
.depth-bars div:nth-child(3) em{ background:linear-gradient(90deg, rgba(143,211,255,.34) 74%, rgba(255,255,255,.04) 74%); }
.depth-bars div:nth-child(4) em{ background:linear-gradient(90deg, rgba(143,211,255,.34) 61%, rgba(255,255,255,.04) 61%); }
.mini-feed { display: grid; gap: 12px; }
.mini-feed div, .overlay-activity-feed div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mini-feed div:last-child, .overlay-activity-feed div:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-feed span, .overlay-activity-feed span { color: var(--muted-2); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.mini-feed strong, .overlay-activity-feed strong { font-size: .98rem; line-height: 1.35; }
.depth-state-grid, .overlay-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.depth-state-grid div, .overlay-overview-grid div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.depth-state-grid span, .overlay-overview-grid span, .overlay-metric-pill span, .journey-status-pill span, .journey-context-note small, .step-state, .insight-why {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}
.depth-state-grid strong, .overlay-overview-grid strong { display:block; margin-top:8px; font-size: 1rem; }

.journey-intel-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  margin-top: 18px;
}
.journey-context-note, .journey-status-strip {
  border-radius: 22px;
  padding: 16px 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.journey-context-note strong {
  display:block;
  margin: 8px 0 8px;
  font-size: 1.04rem;
  line-height: 1.35;
}
.journey-status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.journey-status-pill {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
}
.journey-status-pill strong, .overlay-metric-pill strong {
  display:block;
  margin-top: 8px;
  font-size: 1rem;
}
.flow-step.is-live {
  border-color: rgba(143,211,255,.34);
  box-shadow: 0 0 0 1px rgba(143,211,255,.14), 0 18px 34px rgba(0,0,0,.18);
  transform: translateY(-4px);
}
.flow-step .step-state {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.overlay-depth-shell { margin-top: 18px; }
.overlay-overview-block { margin-bottom: 14px; }
.overlay-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.overlay-metric-pill {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.overlay-grid-v4 {
  grid-template-columns: repeat(3, 1fr);
}
.overlay-feed-block, .overlay-chart-block, .overlay-relevance-block {
  min-height: 100%;
}
.mini-bars { display: grid; gap: 12px; }
.mini-bar-row {
  display: grid;
  grid-template-columns: 36px 1fr 40px;
  gap: 10px;
  align-items: center;
}
.mini-bar-row em i {
  display:block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143,211,255,.78), rgba(255,214,143,.65));
  box-shadow: 0 0 14px rgba(143,211,255,.18);
}
.mini-bar-row strong { font-size: .88rem; }
.overlay-relevance-block p { margin-top: 12px; }

.insight-priority {
  color: rgba(255,214,143,.95);
  margin-top: -2px;
}
.insight-why {
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 1180px) {
  .system-depth-head, .system-depth-grid, .journey-intel-row, .overlay-metrics-strip, .overlay-grid-v4 { grid-template-columns: 1fr 1fr; }
  .system-depth-pulse { justify-self: stretch; }
}
@media (max-width: 820px) {
  .system-depth-head, .system-depth-grid, .journey-intel-row, .journey-status-strip, .overlay-metrics-strip, .overlay-grid-v4, .depth-state-grid, .overlay-overview-grid { grid-template-columns: 1fr; }
}


/* V5 launch / sales infrastructure */
.sales-cta-strip,
.journey-actions,
.sales-infra-grid,
.fit-card,
.engagement-card,
.intake-preview-card,
.intake-form-shell,
.overlay-cta-row { position: relative; z-index: 1; }

.sales-cta-strip {
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: center;
}
.sales-cta-strip h3,
.fit-card h3,
.engagement-card h3,
.intake-preview-card h3 {
  margin: 8px 0 10px;
  font-size: 1.45rem;
  line-height: 1.18;
  letter-spacing: -.03em;
}
.sales-cta-strip p,
.intake-preview-card p,
.engagement-step p { color: var(--muted); line-height: 1.6; margin: 0; }
.sales-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.journey-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 18px;
}

.sales-infra-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.95fr;
  gap: 18px;
}
.fit-card,
.engagement-card,
.intake-preview-card {
  padding: 24px;
  border-radius: 28px;
}
.fit-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.fit-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text);
  font-size: .92rem;
}
.engagement-strip {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.engagement-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.engagement-step:first-child { border-top: 0; padding-top: 0; }
.engagement-step span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(143,211,255,.1);
  border: 1px solid rgba(143,211,255,.18);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .86rem;
}
.engagement-step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}
.intake-preview-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 18px;
}
.intake-preview-list div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.intake-preview-list span,
.intake-form-shell .field label,
.form-note,
.form-meta,
.form-disclaimer,
.intake-helper,
.overlay-cta-note {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}
.intake-preview-list strong { display:block; margin-top: 8px; font-size: .98rem; }

.overlay-cta-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.overlay-cta-note { margin-left: auto; max-width: 280px; text-align: right; }

.intake-form-shell h2 { margin: 8px 0 10px; }
.intake-form-shell > p { color: var(--muted); line-height: 1.65; }
.form-meta {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field.field-full { grid-column: 1 / -1; }
.intake-form-shell input,
.intake-form-shell select,
.intake-form-shell textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 16px;
  padding: 13px 14px;
  outline: none;
  font: inherit;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.intake-form-shell textarea { min-height: 116px; resize: vertical; }
.intake-form-shell input:focus,
.intake-form-shell select:focus,
.intake-form-shell textarea:focus {
  border-color: rgba(143,211,255,.45);
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
}
.intake-form-shell select option,
.drawer-field select option {
  background: #0d1320;
  color: var(--text);
}
.intake-form-shell select,
.drawer-field select {
  color-scheme: dark;
}
.inline-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}
.form-disclaimer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.intake-helper {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(143,211,255,.06);
  border: 1px solid rgba(143,211,255,.14);
}

@media (max-width: 1180px) {
  .sales-cta-strip,
  .sales-infra-grid { grid-template-columns: 1fr; }
  .sales-cta-actions { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .journey-actions,
  .overlay-cta-row,
  .inline-form-actions { flex-direction: column; align-items: stretch; }
  .overlay-cta-note { margin-left: 0; max-width: none; text-align: left; }
  .form-grid,
  .sales-infra-grid { grid-template-columns: 1fr; }
}


/* Stable layout logo integration */
.brand-logo-wrap {
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
}
.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  background: transparent;
}
.topbar .brand-logo,
.startup-splash .startup-logo {
  mix-blend-mode: screen;
}

.startup-splash {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  transition: opacity .7s ease, visibility .7s ease;
}
.startup-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.startup-splash-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(143,211,255,.15), transparent 22%),
    linear-gradient(180deg, rgba(4,7,15,.60), rgba(3,6,14,.84));
  backdrop-filter: blur(8px);
}
.startup-card {
  position: relative;
  z-index: 1;
  width: min(760px, 92vw);
  min-height: 320px;
  border-radius: 34px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(180deg, rgba(12,18,30,.84), rgba(8,13,24,.74));
  border: 1px solid rgba(143,211,255,.20);
  box-shadow: 0 34px 120px rgba(0,0,0,.46), inset 0 0 0 1px rgba(255,255,255,.03);
}
.startup-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  background: transparent;
}
.startup-title {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.05em;
  margin-bottom: 12px;
}
.startup-subtitle {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .startup-card {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding: 26px 22px;
  }
  .startup-logo {
    max-width: 160px;
    margin: 0 auto;
  }
}


/* Missing top domain selector restoration */
.top-domain-selector {
  margin-top: 22px;
  margin-bottom: 18px;
}
.domain-entry-shell {
  padding: 22px;
  border-radius: 30px;
}
.domain-entry-top {
  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
.domain-entry-title {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: .98;
  letter-spacing: -.04em;
  max-width: 20ch;
  margin: 8px 0 10px;
}
.domain-entry-copy {
  color: var(--muted);
  max-width: 72ch;
}
.domain-entry-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.domain-switch-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.domain-switch-card {
  background: rgba(10,16,28,.44);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--text);
  text-align: left;
}
.domain-switch-card.is-active {
  border-color: rgba(143,211,255,.36);
  box-shadow: inset 0 0 0 1px rgba(143,211,255,.18);
}
.domain-switch-name {
  display: block;
  font-weight: 700;
}
.domain-switch-code {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: .08em;
}
.domain-entry-grid {
  display: grid;
  grid-template-columns: 1.45fr .95fr;
  gap: 16px;
}
.domain-entry-state,
.domain-entry-fit {
  padding: 20px;
  border-radius: 24px;
}
.domain-entry-state-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.domain-chip,
.state-label,
.fit-chip,
.state-pill {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,16,28,.32);
}
.domain-chip {
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-strong);
}
.state-label {
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.domain-entry-state h3 {
  font-size: clamp(1.6rem, 2.3vw, 2.25rem);
  line-height: 1.04;
  margin: 8px 0 12px;
  max-width: 20ch;
}
.domain-entry-state p,
.fit-copy p:last-child {
  color: var(--muted);
}
.state-pill-grid,
.fit-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.state-pill {
  display: inline-flex;
  padding: 14px 16px;
  border-radius: 16px;
}
.fit-chip {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 16px;
}
.fit-copy {
  margin-top: 22px;
}
@media (max-width: 1180px) {
  .domain-switch-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
  .domain-entry-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .domain-entry-top {
    grid-template-columns: 1fr;
  }
  .domain-entry-actions {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  .domain-switch-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

.force-visible-domain-selector {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.force-visible-domain-selector .domain-entry-shell {
  margin-bottom: 18px !important;
}

.domain-switch-card{cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease;}.domain-switch-card:hover{transform:translateY(-2px);border-color:rgba(143,211,255,.24);}


/* V6.2 decision activation layer */
.decision-activation-shell {
  margin-top: 18px;
  margin-bottom: 18px;
}
.decision-activation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.signal-board-card,
.execution-board-card {
  padding: 20px;
  border-radius: 26px;
}
.signal-board-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.signal-board-head h3 {
  margin: 6px 0 0;
  font-size: 1.35rem;
}
.board-count {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text);
  font-size: .9rem;
}
.board-count-blue {
  color: #9fdcff;
  border-color: rgba(143,211,255,.22);
  background: rgba(85,163,255,.09);
}
.signal-board-list {
  display: grid;
  gap: 10px;
  min-height: 168px;
}
.signal-board-list.empty-state {
  align-content: start;
}
.board-empty-copy {
  color: var(--muted);
  padding: 12px 0;
}
.signal-card {
  text-align: left;
  width: 100%;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(10,16,28,.36);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.signal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(143,211,255,.22);
}
.signal-card.is-execution {
  border-color: rgba(102,183,255,.34);
  background: linear-gradient(180deg, rgba(58,110,191,.22), rgba(23,50,92,.18));
  box-shadow: inset 0 0 0 1px rgba(143,211,255,.14);
}
.signal-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.signal-card-title {
  font-weight: 700;
  line-height: 1.25;
}
.signal-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.04);
  color: var(--muted);
}
.signal-badge.blue {
  color: #a7ddff;
  border-color: rgba(143,211,255,.2);
  background: rgba(78,145,222,.15);
}
.signal-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
  font-size: .86rem;
}
.signal-card-meta span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.state-pill {
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.state-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(143,211,255,.26);
}
.state-pill.is-created {
  border-color: rgba(143,211,255,.34);
  background: rgba(143,211,255,.08);
  color: var(--text);
}

.decision-drawer.hidden {
  display: none;
}
.decision-drawer {
  position: fixed;
  inset: 0;
  z-index: 210;
}
.decision-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,5,12,.42);
  backdrop-filter: blur(5px);
}
.decision-drawer-panel {
  position: absolute;
  top: 24px;
  right: 24px;
  bottom: 24px;
  width: min(430px, calc(100vw - 32px));
  border-radius: 30px;
  padding: 22px;
  overflow: auto;
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}
.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}
.drawer-head h3 {
  margin: 8px 0 12px;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.05;
  max-width: 14ch;
}
.drawer-why {
  color: var(--muted);
  line-height: 1.55;
  max-width: 40ch;
}
.drawer-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.drawer-field {
  display: grid;
  gap: 7px;
}
.drawer-field span {
  color: var(--muted);
  font-size: .86rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.drawer-field select,
.drawer-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,16,28,.44);
  color: var(--text);
  outline: none;
}
.drawer-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.drawer-meta-pill {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.drawer-meta-pill span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.drawer-meta-pill strong {
  display: block;
  margin-top: 9px;
  font-size: 1.05rem;
}
.drawer-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
@media (max-width: 1080px) {
  .decision-activation-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .decision-drawer-panel {
    top: 12px;
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 18px;
  }
  .drawer-meta {
    grid-template-columns: 1fr;
  }
}


/* v4.2 mobile cases cleanup */
@media (max-width: 820px) {
  .topbar {
    position: sticky;
    top: 8px;
    margin: 8px 12px 16px;
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    z-index: 120;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .main-nav .nav-btn,
  .header-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .shell {
    width: min(100% - 24px, var(--max));
    margin: 0 auto;
  }

  .cases-shell {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .case-side-strip {
    order: 1;
    position: relative;
    top: auto;
    max-height: none;
    padding: 14px;
    overflow: hidden;
  }

  .case-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 78vw);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .case-tab {
    min-height: 88px;
    scroll-snap-align: start;
  }

  .journey-panel {
    order: 2;
    overflow: hidden;
  }

  .journey-stage {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .journey-visual {
    min-height: 240px;
  }

  .journey-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .journey-body {
    padding: 18px;
  }

  .journey-heading {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .journey-heading h3,
  #journeyTitle {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    line-height: 1.02;
    max-width: none;
  }

  .journey-summary,
  #journeySummary {
    max-width: none;
  }

  .journey-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .journey-intel-row {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .flow-wrap {
    overflow: hidden;
    min-height: auto;
  }

  .flow-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .flow-step {
    min-height: auto;
  }

  .flow-svg {
    display: none !important;
  }

  .prefooter-strip {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .shell {
    width: calc(100% - 16px);
  }

  .topbar {
    margin: 8px;
    width: calc(100% - 16px);
    border-radius: 22px;
  }

  .brand-title {
    font-size: 12px;
  }

  .brand-kicker {
    font-size: 10px;
  }

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

  .header-actions {
    grid-template-columns: 1fr;
  }

  .journey-metrics {
    grid-template-columns: 1fr !important;
  }

  .metric-card,
  .journey-context-note,
  .journey-status-strip,
  .flow-step {
    border-radius: 18px;
  }

  .case-side-strip {
    padding: 12px;
  }

  .case-tabs {
    grid-auto-columns: minmax(220px, 86vw);
  }

  .case-tab {
    padding: 12px;
    grid-template-columns: 52px 1fr;
  }

  .case-tab-copy strong {
    font-size: 1rem;
  }

  .case-tab-copy small {
    font-size: .8rem;
  }
}


.category-anchor-strip {
  width: 100%;
}
.insight-card .card-body {
  align-content: start;
}
@media (max-width: 820px) {
  .category-anchor-shell {
    top: 152px;
    width: calc(100% - 24px);
    margin: 8px auto 0;
  }

  .category-anchor-strip {
    padding: 10px 14px;
    row-gap: 6px;
  }

  .category-anchor-title,
  .category-anchor-meta {
    width: 100%;
  }

  .concept-flow-title {
    gap: 4px;
  }

  .concept-flow-title span {
    gap: 10px;
    max-width: 100%;
    flex-wrap: nowrap;
  }
}

@media (max-width: 560px) {
  .category-anchor-shell {
    top: 208px;
    width: calc(100% - 16px);
  }

  .category-anchor-title,
  .category-anchor-meta {
    font-size: 11px;
    line-height: 1.35;
  }

  .concept-flow-title span {
    font-size: clamp(1.55rem, 9vw, 2.15rem);
    line-height: 1.02;
  }
}


/* v45 mobile + readability fixes */
.category-anchor-shell {
  position: sticky;
}
.category-anchor-strip,
.category-anchor-title,
.category-anchor-meta {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
.category-anchor-strip {
  display: grid !important;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.category-anchor-title {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 12px !important;
  line-height: 1.25 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
}
.category-anchor-meta {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 12px !important;
  line-height: 1.35 !important;
  letter-spacing: .03em !important;
  text-align: center;
  white-space: normal;
}
.concept-flow-title {
  gap: 8px;
  width: min(100%, 19ch);
}
.concept-flow-title span {
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  width: 100%;
  gap: 10px;
}
.concept-flow-title span::after {
  justify-self: end;
  margin-left: 0;
}
.case-mobile-picker-wrap {
  display: none;
  margin-bottom: 12px;
}
.case-mobile-picker-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.case-mobile-picker,
.intake-form-shell select,
.drawer-field select,
select {
  background-color: #0d1320 !important;
  color: #f2f6fb !important;
}
.case-mobile-picker option,
.intake-form-shell select option,
.drawer-field select option,
select option {
  background: #0d1320 !important;
  color: #f2f6fb !important;
}
.case-mobile-picker {
  width: 100%;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
}
@media (max-width: 820px) {
  .category-anchor-shell {
    top: auto !important;
    position: relative;
    width: calc(100% - 24px);
    margin: 8px auto 0;
    z-index: 4;
  }
  .category-anchor-strip {
    padding: 10px 12px;
  }
  .category-anchor-title,
  .category-anchor-meta {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  .insight-card .card-body h3,
  .case-card .card-body h3 {
    font-size: 1.65rem;
    line-height: 1.04;
  }
  .case-mobile-picker-wrap {
    display: block;
  }
  .case-tabs {
    display: none !important;
  }
  .cases-shell {
    gap: 12px;
  }
  .case-side-strip {
    position: relative;
    top: auto;
    padding: 14px;
  }
  .journey-panel {
    padding: 18px;
  }
  .journey-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .journey-heading h3,
  #journeyTitle {
    font-size: clamp(1.7rem, 7.6vw, 2.2rem);
    line-height: 1.04;
  }
  .journey-metrics {
    grid-template-columns: 1fr;
  }
  .journey-stage {
    grid-template-columns: 1fr;
  }
  .journey-visual {
    min-height: 230px;
  }
  .flow-wrap {
    padding: 16px;
  }
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .flow-step {
    min-height: auto;
  }
}
@media (max-width: 560px) {
  .category-anchor-shell {
    width: calc(100% - 16px);
  }
  .category-anchor-title,
  .category-anchor-meta {
    font-size: 10px !important;
  }
  .concept-flow-title {
    width: 100%;
  }
  .concept-flow-title span {
    grid-template-columns: 1fr 22px;
    gap: 8px;
  }
  .concept-flow-title span::after {
    font-size: .9em;
  }
  .journey-panel {
    padding: 16px;
  }
}


/* v46 hard fixes */
.category-anchor-shell {
  position: relative !important;
  top: auto !important;
  z-index: 20;
}
.category-anchor-strip {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  justify-items: center !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
.category-anchor-title,
.category-anchor-meta {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
.category-anchor-title {
  font-size: clamp(10px, 1.1vw, 12px) !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
}
.category-anchor-meta {
  font-size: clamp(10px, 1vw, 12px) !important;
  line-height: 1.28 !important;
  letter-spacing: .03em !important;
}
.concept-flow-title {
  width: min(100%, 22ch) !important;
  gap: 8px !important;
}
.concept-flow-title span {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: start !important;
  gap: 12px !important;
}
.concept-flow-title span::after {
  align-self: center !important;
}
.case-mobile-picker,
.intake-form-shell select,
.drawer-field select,
select {
  color: #f2f6fb !important;
  background: #0d1320 !important;
}
.case-mobile-picker option,
.intake-form-shell select option,
.drawer-field select option,
select option {
  color: #111827 !important;
  background: #ffffff !important;
}
@media (max-width: 820px) {
  .topbar {
    margin-bottom: 10px !important;
  }
  .category-anchor-shell {
    width: calc(100% - 20px) !important;
    margin: 6px auto 0 !important;
  }
  .category-anchor-strip {
    padding: 8px 10px !important;
  }
  .category-anchor-title,
  .category-anchor-meta {
    font-size: 10px !important;
    line-height: 1.22 !important;
  }
  .case-side-strip.is-mobile-compact {
    padding: 10px !important;
    border-radius: 20px !important;
  }
  .case-side-strip.is-mobile-compact .case-strip-kicker {
    margin-bottom: 8px !important;
  }
  .case-mobile-picker-wrap {
    display: block !important;
    margin-bottom: 0 !important;
  }
  #caseTabs,
  .case-tabs {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  .cases-shell {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .journey-panel {
    padding: 16px !important;
  }
  .journey-heading {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .journey-metrics {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  .journey-stage {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .journey-visual {
    min-height: 220px !important;
  }
}


/* v47 final UX fixes */
.category-anchor-shell{display:none !important;}

.top-domain-selector{
  margin: 22px 0 30px;
}
#library .top-domain-selector{display:block;}

.concept-flow-title{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:8px !important;
  align-items:start !important;
}
.concept-flow-title span{
  display:block !important;
  position:relative;
  padding-right:0 !important;
  line-height:0.95 !important;
}
.concept-flow-title span::after{
  content:'' !important;
}
.concept-flow-title span:not(:last-child)::before{
  content:'→';
  display:inline-block;
  margin-left:10px;
  opacity:.9;
  font-weight:700;
}

.insight-card .card-tag, .insight-card .insight-priority{
  text-transform:none;
}

select,
.intake-form-shell select,
.drawer-field select,
.case-mobile-picker{
  color:#eef4ff !important;
  background-color:rgba(11,17,31,.92) !important;
  -webkit-text-fill-color:#eef4ff !important;
}
select option,
.intake-form-shell select option,
.drawer-field select option,
.case-mobile-picker option{
  color:#101828 !important;
  background:#ffffff !important;
}

#cases .cases-shell{
  display:grid;
  grid-template-columns:minmax(220px,280px) minmax(0,1fr);
  gap:18px;
}
.case-mobile-picker-wrap{display:none;}

@media (max-width: 900px){
  #cases .cases-shell{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  #cases .case-side-strip{
    position:static !important;
    top:auto !important;
    padding:14px !important;
  }
  #cases .case-mobile-picker-wrap{
    display:block !important;
    margin-top:8px;
  }
  #cases .case-mobile-picker-label{
    display:block;
    margin-bottom:8px;
    color:rgba(230,238,255,.82);
    font-size:12px;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  #cases .case-mobile-picker{
    width:100%;
    min-height:48px;
    border-radius:16px;
    border:1px solid rgba(149,192,255,.28);
    padding:0 14px;
    font-size:16px;
  }
  #cases .case-tabs{
    display:none !important;
  }
  #cases .journey-panel{
    padding:16px !important;
  }
  #cases .journey-heading,
  #cases .journey-intel-row,
  #cases .journey-stage{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  #cases .journey-metrics,
  #cases .journey-status-strip{
    grid-template-columns:1fr 1fr !important;
  }
  #cases .journey-visual img{
    min-height:220px;
    max-height:280px;
    object-fit:cover;
  }
  #cases .flow-wrap{
    overflow:hidden;
  }
  #cases .flow-grid{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  #cases .flow-svg{
    display:none !important;
  }
  #cases .journey-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
  }
  #library .domain-entry-top,
  #library .domain-entry-grid{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  #library .domain-switch-grid{
    grid-template-columns:1fr 1fr !important;
  }
}

@media (max-width: 640px){
  #library .domain-switch-grid{
    grid-template-columns:1fr !important;
  }
  #cases .journey-metrics,
  #cases .journey-status-strip{
    grid-template-columns:1fr !important;
  }
  .concept-flow-title{
    font-size:clamp(2rem, 11vw, 3.25rem) !important;
  }
}


/* v50 real fixes */
.trust-strip,
.decision-activation-shell {
  display: none;
}

#library.active-view .trust-strip,
#library.active-view .decision-activation-shell {
  display: grid;
}

.footer-chip-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  font: inherit;
}

.footer-chip-btn:hover,
.footer-chip-btn:focus-visible,
.jump-focus {
  border-color: rgba(143,211,255,.55) !important;
  box-shadow: 0 0 0 1px rgba(143,211,255,.22), 0 0 24px rgba(46,129,255,.18) !important;
}

select,
.intake-form-shell select,
.drawer-field select,
.case-mobile-picker {
  background: #ffffff !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  color-scheme: light !important;
}

select option,
.intake-form-shell select option,
.drawer-field select option,
.case-mobile-picker option {
  background: #ffffff !important;
  color: #0f172a !important;
}

select:focus,
.intake-form-shell select:focus,
.drawer-field select:focus,
.case-mobile-picker:focus {
  background: #ffffff !important;
  color: #0f172a !important;
}


/* v51 hard fixes */
.library-only-block { display: none; }
#library.active-view .library-only-block { display: grid !important; }
#platform .trust-strip,
#platform .decision-activation-shell,
#cases .trust-strip,
#cases .decision-activation-shell,
#insights .trust-strip,
#insights .decision-activation-shell,
#contact .trust-strip,
#contact .decision-activation-shell { display: none !important; }

.footer-chip-btn { cursor: pointer !important; }
.footer-chip-btn:hover { border-color: rgba(140,200,255,.55); }

select,
.intake-form-shell select,
.drawer-field select,
.case-mobile-picker {
  appearance: auto !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  border: 1px solid rgba(15,23,42,.24) !important;
  color-scheme: light !important;
}

select option,
.intake-form-shell select option,
.drawer-field select option,
.case-mobile-picker option {
  background: #ffffff !important;
  color: #0f172a !important;
}

select:focus,
.intake-form-shell select:focus,
.drawer-field select:focus,
.case-mobile-picker:focus {
  background: #ffffff !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  outline: 2px solid rgba(96,165,250,.45) !important;
  outline-offset: 1px;
}

.insight-card p { max-width: 100%; }


/* v52 final fixes */
#platform #cockpitGrid,
#platform .trust-strip,
#platform .decision-activation-shell,
#platform .sales-cta-strip,
#cases #cockpitGrid,
#cases .trust-strip,
#cases .decision-activation-shell,
#cases .sales-cta-strip,
#insights #cockpitGrid,
#insights .trust-strip,
#insights .decision-activation-shell,
#insights .sales-cta-strip,
#contact #cockpitGrid,
#contact .trust-strip,
#contact .decision-activation-shell,
#contact .sales-cta-strip {
  display: none !important;
}

#library.active-view #cockpitGrid,
#library.active-view .trust-strip,
#library.active-view .decision-activation-shell,
#library.active-view .sales-cta-strip {
  display: grid !important;
}

#library.active-view #cockpitGrid {
  display: grid !important;
}

.insight-card h3,
.insight-card p,
.insight-card .card-tag,
.insight-card .insight-priority,
.insight-card .insight-why {
  word-break: normal;
}

select,
.intake-form-shell select,
.drawer-field select,
.case-mobile-picker {
  appearance: auto !important;
  background: #0b1120 !important;
  background-color: #0b1120 !important;
  color: #eef4ff !important;
  -webkit-text-fill-color: #eef4ff !important;
  border: 1px solid rgba(140, 200, 255, 0.28) !important;
  color-scheme: dark !important;
}

select option,
.intake-form-shell select option,
.drawer-field select option,
.case-mobile-picker option {
  background: #0b1120 !important;
  color: #eef4ff !important;
}

select:focus,
.intake-form-shell select:focus,
.drawer-field select:focus,
.case-mobile-picker:focus {
  background: #0b1120 !important;
  color: #eef4ff !important;
  -webkit-text-fill-color: #eef4ff !important;
  outline: 2px solid rgba(96, 165, 250, 0.45) !important;
  outline-offset: 1px;
}


/* v53 hard cache-busting and visibility fix */
#platform #cockpitGrid,
#platform .trust-strip,
#platform .decision-activation-shell,
#platform .sales-cta-strip,
#platform .top-domain-selector,
#insights #cockpitGrid,
#insights .trust-strip,
#insights .decision-activation-shell,
#insights .sales-cta-strip,
#insights .top-domain-selector,
#cases #cockpitGrid,
#cases .trust-strip,
#cases .decision-activation-shell,
#cases .sales-cta-strip,
#cases .top-domain-selector,
#contact #cockpitGrid,
#contact .trust-strip,
#contact .decision-activation-shell,
#contact .sales-cta-strip,
#contact .top-domain-selector {
  display: none !important;
}
#library.active-view .top-domain-selector,
#library.active-view #cockpitGrid,
#library.active-view .trust-strip,
#library.active-view .decision-activation-shell,
#library.active-view .sales-cta-strip {
  display: block !important;
}
#library.active-view #cockpitGrid,
#library.active-view .decision-activation-grid,
#library.active-view .domain-switch-grid,
#library.active-view .domain-entry-grid,
#library.active-view .trust-tags,
#library.active-view .sales-cta-actions {
  display: grid !important;
}
#library.active-view .fit-chip-grid,
#library.active-view .state-pill-grid,
#library.active-view .footer-chip-wrap {
  display: flex !important;
}

select,
.intake-form-shell select,
.drawer-field select,
.case-mobile-picker {
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  background: #0b1120 !important;
  background-color: #0b1120 !important;
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
  border: 1px solid rgba(140, 200, 255, 0.32) !important;
  color-scheme: dark !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}
select option,
.intake-form-shell select option,
.drawer-field select option,
.case-mobile-picker option {
  background: #0b1120 !important;
  background-color: #0b1120 !important;
  color: #f8fbff !important;
  font-weight: 600 !important;
}
select:focus,
.intake-form-shell select:focus,
.drawer-field select:focus,
.case-mobile-picker:focus {
  background: #0b1120 !important;
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
}


/* v54 use-environments trust-strip title fix */
#library.active-view .trust-strip {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr) !important;
  align-items: start !important;
  gap: 28px !important;
}
#library.active-view .trust-strip > div:first-child {
  min-width: 0;
}
#library.active-view .trust-strip h3 {
  max-width: 30ch !important;
  font-size: clamp(1.9rem, 3.2vw, 3.3rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -.035em !important;
  text-wrap: balance;
}
#library.active-view .trust-tags {
  align-self: center;
  justify-content: flex-end;
  align-content: start;
}
@media (max-width: 1180px) {
  #library.active-view .trust-strip {
    grid-template-columns: 1fr !important;
  }
  #library.active-view .trust-strip h3 {
    max-width: 22ch !important;
    font-size: clamp(1.6rem, 4.2vw, 2.6rem) !important;
  }
  #library.active-view .trust-tags {
    justify-content: flex-start !important;
  }
}


/* v56 final cleanup: readable flow title, trust strip sizing, dropdown contrast */
.concept-flow-title,
#platform .concept-flow-title {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.2rem !important;
  max-width: 14ch !important;
  width: 100% !important;
  margin: 0 0 1rem 0 !important;
}
.concept-flow-title span,
#platform .concept-flow-title span {
  display: block !important;
  width: 100% !important;
  font-size: clamp(2.2rem, 5.6vw, 4rem) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.045em !important;
  font-weight: 700 !important;
  white-space: normal !important;
}
.concept-flow-title span::before,
.concept-flow-title span::after,
#platform .concept-flow-title span::before,
#platform .concept-flow-title span::after {
  content: none !important;
  display: none !important;
}

#library .trust-strip {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr) !important;
  gap: 2rem !important;
  align-items: center !important;
}
#library .trust-strip > div:first-child {
  min-width: 0 !important;
}
#library .trust-strip h3 {
  font-size: clamp(2.1rem, 4vw, 4.4rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.05em !important;
  max-width: 16ch !important;
  margin: 0.4rem 0 0 !important;
}
#library .trust-tags {
  align-self: center !important;
  justify-self: end !important;
  width: min(100%, 360px) !important;
}
#library .trust-tags span {
  white-space: normal !important;
}

.intake-form-shell select,
.drawer-field select,
.case-mobile-picker,
select {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0b1120 !important;
  -webkit-text-fill-color: #0b1120 !important;
  border: 1px solid rgba(120,150,190,.42) !important;
  color-scheme: light !important;
}
.intake-form-shell select option,
.drawer-field select option,
.case-mobile-picker option,
select option {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0b1120 !important;
  -webkit-text-fill-color: #0b1120 !important;
}

@media (max-width: 1180px) {
  #library .trust-strip {
    grid-template-columns: 1fr !important;
  }
  #library .trust-tags {
    justify-self: start !important;
    width: 100% !important;
  }
  #library .trust-strip h3 {
    max-width: 12ch !important;
  }
}

/* v57 hard corrective patch */
.footer-chip-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

select,
.intake-form-shell select,
.drawer-field select,
.case-mobile-picker {
  appearance: auto !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0b1120 !important;
  -webkit-text-fill-color: #0b1120 !important;
  color-scheme: light !important;
  border: 1px solid rgba(120,150,190,.42) !important;
}

select option,
.intake-form-shell select option,
.drawer-field select option,
.case-mobile-picker option {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0b1120 !important;
  -webkit-text-fill-color: #0b1120 !important;
}


/* v58 two-issue fix */
.insight-card[data-insight="story"] .card-tag::before { content: none !important; }
select,
.intake-form-shell select,
.drawer-field select,
.case-mobile-picker {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0b1120 !important;
  -webkit-text-fill-color: #0b1120 !important;
  color-scheme: light !important;
}
select option,
.intake-form-shell select option,
.drawer-field select option,
.case-mobile-picker option {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0b1120 !important;
  -webkit-text-fill-color: #0b1120 !important;
}


/* v59 typography density fix */
.concept-flow-title,
#platform .concept-flow-title {
  max-width: 9ch !important;
  gap: 0.14rem !important;
}
.concept-flow-title span,
#platform .concept-flow-title span {
  font-size: clamp(1.55rem, 3.7vw, 2.95rem) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.04em !important;
  font-weight: 700 !important;
}
#library .trust-strip {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.68fr) !important;
  align-items: start !important;
}
#library .trust-strip h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.75rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
  max-width: 15ch !important;
  text-wrap: balance !important;
}
#library .trust-tags {
  align-self: start !important;
  justify-self: end !important;
  width: min(100%, 300px) !important;
}
.insight-card .card-body h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.7rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.025em !important;
}
.insight-card .card-body p,
.insight-card .insight-why {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.insight-card .insight-why {
  -webkit-line-clamp: 2 !important;
}
@media (max-width: 1180px) {
  #library .trust-strip h3 {
    font-size: clamp(1.4rem, 4.2vw, 2.2rem) !important;
    max-width: 13ch !important;
  }
}

.trust-subline {
  margin: 12px 0 0;
  max-width: 62ch;
  color: rgba(232,238,247,.76);
  font-size: 15px;
  line-height: 1.5;
}
@media (max-width: 980px) {
  .trust-subline {
    max-width: none;
    font-size: 14px;
  }
}


/* v61 mobile menu + use environments cleanup */
.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  box-shadow: inset 0 0 0 1px rgba(143,211,255,.08);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: rgba(241,246,255,.95);
  transition: transform .22s ease, opacity .22s ease;
}
.topbar.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.topbar.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-drawer { display:flex; align-items:center; justify-content:space-between; gap:20px; flex: 1 1 auto; }
.topbar.is-hidden-mobile {
  transform: translateY(-115%);
  opacity: 0;
  pointer-events: none;
}
#library .trust-strip {
  margin-bottom: 28px !important;
}
#library .trust-strip h3 {
  max-width: 12.5ch !important;
}
#library .trust-tags {
  gap: 12px !important;
}
#library .card-grid {
  margin-top: 0 !important;
}
.domain-card .domain-content,
.insight-card .card-body,
.case-card .card-body {
  text-shadow: 0 2px 16px rgba(0,0,0,.52);
}
.domain-visual::after {
  background:
    linear-gradient(180deg, rgba(4,8,16,.18), rgba(4,8,16,.44) 38%, rgba(4,8,16,.82) 100%),
    radial-gradient(circle at 14% 18%, rgba(143,211,255,.18), transparent 22%) !important;
}
.insight-card .card-media::after,
.case-card .card-media::after {
  background: linear-gradient(180deg, rgba(6,9,15,.14), rgba(6,9,15,.44) 42%, rgba(6,9,15,.95) 100%) !important;
}
.insight-card .card-body p,
.case-card .card-body p,
.domain-content p,
.insight-card .insight-why {
  color: rgba(244,247,252,.9) !important;
}
@media (max-width: 820px) {
  .topbar {
    top: 10px;
    transition: transform .26s ease, opacity .26s ease;
    align-items: flex-start;
  }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-drawer {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 4px;
  }
  .topbar.menu-open .header-drawer { display: flex; }
  .main-nav {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .header-actions { grid-template-columns: 1fr; }
  .topbar:not(.menu-open) .main-nav,
  .topbar:not(.menu-open) .header-actions { display: none; }
  .brand { flex: 1 1 auto; min-width: 0; }
  #library .trust-strip {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 22px !important;
  }
  #library .trust-strip h3 {
    max-width: none !important;
    font-size: clamp(1.35rem, 6vw, 2.1rem) !important;
  }
  #library .trust-tags {
    justify-self: start !important;
    width: 100% !important;
  }
}


/* v62 desktop header alignment + route spacing */
@media (min-width: 821px) {
  .menu-toggle { display: none !important; }
  .topbar {
    display: grid !important;
    grid-template-columns: minmax(280px, auto) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 22px !important;
    flex-wrap: nowrap !important;
  }
  .header-drawer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 18px !important;
    min-width: 0 !important;
  }
  .main-nav {
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
  }
  .header-actions {
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  .header-actions .btn,
  .main-nav .nav-btn {
    white-space: nowrap !important;
    min-height: 48px;
  }
}

#library .domain-entry-grid {
  row-gap: 22px !important;
  column-gap: 22px !important;
  align-items: start !important;
}
#library .domain-entry-fit {
  margin-bottom: 8px !important;
}
#library .domain-entry-fit + * {
  margin-top: 0 !important;
}
#library .decision-activation-shell {
  margin-top: 28px !important;
}
