html.js [data-in] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js [data-in].in { opacity: 1; transform: none; }

.more { margin-top: 28px; }

.home-hero, .section, .breather { --obj: color-mix(in srgb, var(--frost) 42%, var(--surface)); --obj-lift: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9)) drop-shadow(0 14px 18px rgba(45, 36, 29, 0.09)); --shd: drop-shadow(1px 2px 1.5px rgba(45, 36, 29, 0.18)) drop-shadow(8px 16px 14px rgba(45, 36, 29, 0.12)); --shd-s: drop-shadow(1px 1.5px 1px rgba(45, 36, 29, 0.16)) drop-shadow(5px 9px 8px rgba(45, 36, 29, 0.1)); --shd-d: drop-shadow(1px 2px 1px rgba(0, 0, 0, 0.4)) drop-shadow(0 14px 16px rgba(0, 0, 0, 0.32)); --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .14 0 0 0 0 .11 .16 0 0 0 -.02'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.st { fill: none; stroke: var(--ink-2); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.st.faint { stroke: var(--ink-3); }
.st.dashed { stroke-dasharray: none; }
.st.fill-s { fill: var(--surface); }
.bar { fill: url(#gBar); }
.tx { font: 500 14px var(--sans); fill: var(--ink-2); }
.tx.sm { font-size: 13px; }
.tx.xs { font-size: 10.5px; }
.tx.xxs { font-size: 8.5px; }
.mstage .st.fill-s, .mini .st.fill-s, .route .st.fill-s { fill: var(--obj); filter: var(--obj-lift); }
.tx.strong { fill: var(--ink); }
.halo { paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.tint .halo { stroke: var(--paper-2); }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }

.wr { transform-box: fill-box; transform-origin: left center; }
.padlock { transform-box: fill-box; transform-origin: center; }
@keyframes wr { 0%, 20% { transform: scaleX(0); } 32% { transform: scaleX(1); } 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }

.home-hero::before {
  background: repeating-linear-gradient(to bottom, transparent 0 35px, color-mix(in srgb, var(--line) 50%, transparent) 35px 36px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 0, transparent 78%);
}
.home-hero { padding: clamp(64px, 7.5vw, 100px) 0 clamp(64px, 8vw, 108px); }
#mission.section { padding-top: clamp(68px, 8vw, 104px); }
.home-hero .hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}
.home-hero h1 { max-width: none; font-size: clamp(2.4rem, 4.2vw, 3.8rem); line-height: 1.12; margin-top: 14px; margin-bottom: 20px; text-wrap: balance; }
.home-hero .lead { max-width: 34em; margin-top: 0; margin-bottom: 26px; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.65; color: var(--ink-2); }
.home-hero .actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-fig {
  min-width: 0;
  width: 100%;
}

.flow {
  margin: 0;
  padding: 28px 36px 32px 32px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(180px, 220px) clamp(16px, 2vw, 24px) minmax(220px, 280px);
  justify-content: center;
  align-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(238, 246, 247, 0.82) 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(191, 211, 207, 0.75), 0 20px 50px -20px rgba(45, 36, 29, 0.15);
  border: 1px solid rgba(205, 229, 226, 0.85);
  backdrop-filter: blur(16px);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}




.flow-col { position: relative; display: flex; flex-direction: column; min-width: 0; }
.flow-col.out { padding-right: 8px; max-width: 290px; }
.flow-gap { position: relative; align-self: stretch; height: 100%; min-height: 440px; }
.flow-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-wires .w { fill: none; stroke: var(--sage-deep); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.flow-wires .wp { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.07 1.1; stroke-dashoffset: 0.07; opacity: 0; }
.flow-wires .wd { fill: var(--sage-deep); stroke: #fff; stroke-width: 1.6; opacity: 0; }
.flow-label { display: block; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 14px; }
.flow-cap { margin-top: 16px; font-size: 0.82rem; color: var(--ink-3); line-height: 1.5; }
.replay { appearance: none; -webkit-appearance: none; background: none; border: 0; border-bottom: 1px solid var(--line-2); padding: 0 0 1px; margin-left: 8px; font: 500 0.82rem var(--sans); color: var(--ink); cursor: pointer; transition: color var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.replay::before { content: "\21BB"; margin-right: 6px; display: inline-block; transition: transform var(--t-slow) var(--ease); }
.replay:focus-visible { outline-offset: 4px; }

.device { position: relative; width: 100%; max-width: 220px; min-height: 380px; max-height: 415px; margin: 0 auto; display: flex; padding: 6px; border-radius: 28px; background: linear-gradient(145deg, #5e4e41, #3a2f26 45%, #2d241d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 0 0 1px rgba(0, 0, 0, 0.35), 1px 2px 2px rgba(45, 36, 29, 0.28), 12px 26px 34px -14px rgba(45, 36, 29, 0.42); }
.device::before { content: ""; position: absolute; top: 11px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: #1b1612; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.6); z-index: 2; }
.phone {
  background: #ffffff;
  border-radius: 24px;
  border: 1.5px solid rgba(205, 229, 226, 0.85);
  box-shadow: 0 12px 36px rgba(45, 36, 29, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: 20px 10px 12px;
  gap: 8px;
  width: 100%;
}


.phone > * { position: relative; }
.ph-bar { display: flex; justify-content: space-between; padding: 0 4px 6px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; color: var(--sage-deep); border-bottom: 1px solid rgba(92, 117, 90, 0.28); font-variant-numeric: tabular-nums; }
.composer { margin-top: auto; height: 32px; border-radius: 16px; background: linear-gradient(#fff, #f1f8f8); box-shadow: inset 0 1px 2px rgba(45, 36, 29, 0.12), 0 1px 0 rgba(255, 255, 255, 0.7); display: flex; align-items: center; padding: 0 12px; }
.composer i { display: block; width: 38%; height: 5px; border-radius: 2px; background: var(--line-2); }
.msg { background: linear-gradient(#fff, #f6fafa); border-radius: 12px 12px 12px 3px; padding: 9px 11px; font-size: 0.85rem; line-height: 1.48; box-shadow: 0 1px 0 rgba(45, 36, 29, 0.05), 0 8px 16px -8px rgba(45, 36, 29, 0.26), inset 0 1px 0 #fff; }
.msg b { display: block; font-size: 0.76rem; color: var(--sage-deep); font-weight: 600; margin-bottom: 2px; }

.hl { position: relative; z-index: 0; display: inline; padding: 2px 4px; margin: 0 1px; border-radius: 4px; background: var(--sage-wash); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl::before { display: none; }

.rec-wrap { position: relative; flex: 1; display: flex; margin: 0 14px 16px 0; max-width: calc(100% - 14px); filter: drop-shadow(1px 2px 1.5px rgba(45, 36, 29, 0.14)) drop-shadow(8px 18px 14px rgba(45, 36, 29, 0.14)); }
.rec-wrap::before, .rec-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(191, 211, 207, 0.6);
  pointer-events: none;
  z-index: 1;
}
.rec-wrap::before { transform: translate(10px, 10px); background: #e0eeec; }
.rec-wrap::after { transform: translate(5px, 5px); background: #eef6f5; }
.record {
  position: relative;
  z-index: 10;
  background: #ffffff !important;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1.5px solid rgba(205, 229, 226, 0.85);
  box-shadow: 0 12px 36px rgba(45, 36, 29, 0.07), inset 0 1px 0 #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.rec-fold { position: absolute; top: 0; right: 0; width: 26px; height: 26px; background: linear-gradient(to bottom left, transparent 50%, #b9d3cf 50%, #eaf4f3 100%); border-radius: 0 14px 0 0; }
.rec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding-bottom: 8px; padding-right: 22px; border-bottom: 1px solid var(--line); }
.rec-head strong { font-family: var(--serif); font-size: 0.98rem; font-weight: 600; white-space: nowrap; }
.rec-head span { font-size: 0.72rem; color: var(--ink-3); white-space: nowrap; }
.record dl { margin: 0; }
.record dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.record dt { font-size: 0.78rem; color: var(--ink-3); white-space: nowrap; }
.record dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 0.86rem; white-space: nowrap; color: var(--ink); line-height: 1.4; }
.rec-src { margin-top: 10px; font-size: 0.76rem; color: var(--sage-deep); }
.rec-sweep { position: absolute; inset: 0; pointer-events: none; opacity: 0; transform: translateY(-100%); }
.rec-sweep::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(to bottom, transparent, rgba(139, 168, 136, 0.4)); }
.rec-sweep::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sage-deep); box-shadow: 0 0 10px 2px rgba(139, 168, 136, 0.7); }
.flow-down { display: none; }
.flow-ruler { position: absolute; right: 28px; bottom: 8px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-deep); }

/* Solid, permanent visibility for patient data and extraction wires */
.flow .msg,
.flow .record dl > div,
.flow .rec-src {
  opacity: 1 !important;
  transform: none !important;
}
.flow .hl::before {
  transform: scaleX(1) !important;
}
.flow-wires .w {
  fill: none;
  stroke: rgba(92, 117, 90, 0.45);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dashoffset: 0 !important;
  opacity: 0.9 !important;
}
.flow-wires .wd {
  fill: var(--sage-deep);
  stroke: #ffffff;
  stroke-width: 1.6;
  opacity: 1 !important;
}
.flow-wires .wp {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 0.08 1.1;
  stroke-dashoffset: 0.08;
  filter: drop-shadow(0 0 2px rgba(92, 117, 90, 0.8));
  animation: wpulse 3.6s linear infinite;
  animation-delay: calc(var(--t) * 0.9ms);
}
html.js .flow.armed.play .flow-down { stroke-dashoffset: 0; transition: stroke-dashoffset 0.8s var(--ease) 0.6s; }
.flow.done .rec-sweep { animation: sweep 6s linear infinite; }
.flow.done .rec-wrap::before { animation: stack-b 9s ease-in-out infinite; }
.flow.done .rec-wrap::after { animation: stack-a 9s ease-in-out infinite; }
@keyframes sweep { 0% { transform: translateY(-100%); opacity: 0; } 8% { opacity: 1; } 55% { opacity: 1; } 64%, 100% { transform: translateY(100%); opacity: 0; } }
@keyframes wpulse { 0% { opacity: 0.95; stroke-dashoffset: 0.07; } 62%, 100% { opacity: 0.95; stroke-dashoffset: -1.03; } }
@keyframes stack-a { 0%, 100% { transform: translate(5px, 5px); } 50% { transform: translate(6px, 6px); } }
@keyframes stack-b { 0%, 100% { transform: translate(10px, 10px); } 50% { transform: translate(12px, 12px); } }

.sec-head.duo {
  max-width: 56em;
  grid-template-columns: 1fr;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.sec-head.duo .eyebrow { display: none; }
.sec-head.duo h2 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.sec-head.duo .lead {
  margin-top: 0;
  padding-bottom: 0;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.68;
  color: var(--ink-2);
  max-width: 50em;
}
.mission {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}
.mstage {
  position: sticky;
  top: 104px;
  margin: 0;
  padding: 16px 0;
  border: none;
  background: transparent;
  z-index: 2;
}
.mstage-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.mstage svg { width: 100%; height: auto; max-height: 72vh; overflow: visible; }
.mstage .g { opacity: 0; transition: opacity 0.5s var(--ease); }
.mstage[data-step="1"] .s1, .mstage[data-step="2"] .s2, .mstage[data-step="3"] .s3 { opacity: 1; }
.ring { fill: none; stroke: var(--sage); stroke-width: 1.3; }
.dial { fill: none; stroke: var(--line-2); stroke-width: 5; stroke-dasharray: none; }
.dial-sh { fill: none; stroke: #fff; stroke-width: 5; stroke-dasharray: none; opacity: 0; animation: dial-sh 7s ease-in-out infinite; }
.ticks-c { fill: none; stroke: var(--ink-3); stroke-width: 1.2; stroke-linecap: round; opacity: 0.7; }
@keyframes dial-sh { 0%, 100% { opacity: 0; stroke-dashoffset: 0; } 50% { opacity: 1; stroke-dashoffset: -30; } }
.wash { fill: url(#rWash); stroke: #fff; stroke-width: 1.2; filter: var(--shd); }
.wash-in { fill: none; stroke: #fff; stroke-width: 1; opacity: 0.75; }
.ground { fill: rgba(45, 36, 29, 0.38); filter: url(#fBlur); }
.obj { filter: var(--shd); }
.o-bz { fill: url(#gBezel); }
.o-scr { fill: url(#gScreen); }
.o-spk { fill: #1b1612; }
.o-hi { fill: none; stroke: #fff; stroke-width: 1; stroke-linecap: round; opacity: 0.9; }
.o-lock { fill: url(#gInk); stroke: var(--ink); stroke-width: 0.8; }
.o-shackle { fill: none; stroke: var(--ink-2); stroke-width: 2.2; stroke-linecap: round; }
.o-key { fill: #fafcfb; }
.padlock { opacity: 0.6; filter: drop-shadow(0 1px 1.5px rgba(45, 36, 29, 0.4)); }
.mb { fill: #fff; stroke: var(--line-2); stroke-width: 0.8; }
.mb.out { fill: #e4efe3; }
.pl { fill: #bfd3cf; }
.pl-r { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: none; }
.scr-band { fill: rgba(111, 141, 108, 0.14); }
.xtile { fill: url(#gPaper); stroke: var(--line-2); stroke-width: 0.8; filter: var(--shd-s); }
.pulse-in { fill: none; stroke: var(--sage-deep); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 9 110; stroke-dashoffset: 0; filter: drop-shadow(0 0 3px rgba(139, 168, 136, 0.9)); animation: run-in 3.4s var(--ease-io) infinite; }
@keyframes run-in { from { stroke-dashoffset: 9; } to { stroke-dashoffset: -112; } }
.o-dot { fill: var(--sage-deep); stroke: #fff; stroke-width: 1.5; }
.o-card { fill: url(#gPaper); stroke: var(--line-2); stroke-width: 1; filter: var(--shd-s); }
.cloud { fill: url(#gFrost); fill-opacity: 0.5; stroke: var(--ink-3); stroke-width: 1.3;  }
.mstage[data-step="1"] .s1 .draw, .mstage[data-step="2"] .s2 .draw, .mstage[data-step="3"] .s3 .draw { stroke-dashoffset: 0; }
.s3 .a2 { transition-delay: 0.15s; }
.s3 .a3 { transition-delay: 0.3s; }
.s3 .draw { stroke: url(#gWireC); stroke-width: 1.8; }
.in-path { opacity: 0; }
.pk { fill: var(--sage-deep); opacity: 0; }
.cross { stroke: var(--ink); stroke-width: 1.6; opacity: 1; transform-box: fill-box; transform-origin: center; }
.mstage[data-step="1"] .in-path { opacity: 1; transition: opacity 0.5s var(--ease) 0.3s; }
.mstage[data-step="1"] .pk-in { animation: pk-in 7s var(--ease-io) infinite; }
.mstage[data-step="1"] .pk-out { animation: pk-out 7s var(--ease-io) infinite; }
.mstage[data-step="1"] .s1 .wr { animation: wr 7s linear var(--d) infinite backwards; }
.mstage[data-step="1"] .padlock { animation: lock 7s linear infinite; }
.mstage[data-step="1"] .cross { animation: hit 7s linear infinite; }
@keyframes pk-in { 0% { opacity: 0; transform: translateX(0); } 5% { opacity: 1; } 22% { opacity: 1; transform: translateX(98px); } 25%, 100% { opacity: 0; transform: translateX(98px); } }
@keyframes pk-out { 0%, 52% { opacity: 0; transform: none; } 56% { opacity: 1; } 66% { opacity: 1; transform: translate(34px, -17px); } 76% { opacity: 1; transform: translate(14px, -7px); } 84%, 100% { opacity: 0; transform: translate(4px, -2px); } }
@keyframes lock { 0%, 36% { opacity: 0.6; } 48%, 90% { opacity: 1; } 96%, 100% { opacity: 0.6; } }
@keyframes hit { 0%, 60% { opacity: 0.4; transform: none; } 67% { opacity: 1; transform: scale(1.25); } 76%, 100% { opacity: 0.55; transform: none; } }

.zone { fill: url(#rZoneIn); stroke: #fff; stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.5); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
.ro { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.5); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
.ring3 { fill: none; stroke: var(--sage); stroke-width: 1.3; stroke-dasharray: none; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.5); transition: opacity 0.6s var(--ease) 0.5s, transform 0.7s var(--ease) 0.5s; }
.mstage[data-step="2"] .zone.z1 { opacity: 0.55; transform: none; transition-delay: 0.1s; }
.mstage[data-step="2"] .zone.z2 { opacity: 0.35; transform: none; transition-delay: 0.35s; }
.mstage[data-step="2"] .zone.z3 { opacity: 0.22; transform: none; transition-delay: 0.6s; }
.mstage[data-step="2"] .ro { opacity: 1; transform: none; }
.mstage[data-step="2"] .ro.r2 { transition-delay: 0.3s; }
.mstage[data-step="2"] .ring3 { opacity: 1; transform: none; animation: nl-dash 6s linear infinite; }
.sp { fill: none; stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.7s var(--ease) var(--d); }
.mstage[data-step="2"] .sp { stroke-dashoffset: 0; }
.core { fill: url(#gSage); filter: drop-shadow(0 2px 3px rgba(45, 36, 29, 0.35)); }
.core-ring { fill: none; stroke: #fff; stroke-width: 3; opacity: 0.9; }
.glow { fill: url(#rGlow); }
.axis { fill: none; stroke: var(--line-2); stroke-width: 0.8; stroke-dasharray: none; opacity: 0.8; }
.pulse { fill: none; stroke: var(--sage-deep); stroke-width: 1.3; opacity: 0; }
.node { fill: url(#gPaper); stroke: var(--ink-2); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.3); filter: var(--shd-s); transition: opacity 0.5s var(--ease) var(--d), transform 0.5s var(--ease) var(--d); }
.node.on { fill: url(#gSage); stroke: var(--sage-deep); }
.node.n2 { fill: url(#gLit); stroke: var(--sage-deep); }
.node.n3 { fill: url(#gBezel); stroke: var(--ink); stroke-width: 0.8; }
.dnode { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.3); filter: var(--shd-s); transition: opacity 0.5s var(--ease) var(--d), transform 0.5s var(--ease) var(--d); }
.dnode .d-b { fill: url(#gBezel); stroke: var(--ink); stroke-width: 0.7; }
.dnode .d-s { fill: url(#gFrost); stroke: none; }
.dnode .d-l { fill: none; stroke: var(--sage-deep); stroke-width: 1; stroke-linecap: round; opacity: 0.8; }
.dnode .d-k { fill: none; stroke: #a8bcab; stroke-width: 1; stroke-linecap: round; }
.mstage[data-step="2"] .dnode { opacity: 1; transform: scale(1.3); }
.lblbox { fill: var(--paper); fill-opacity: 0.94; stroke: var(--line-2); stroke-width: 0.8; filter: var(--shd-s); }
.s2 .lbl { opacity: 0; transition: opacity 0.6s var(--ease) 0.5s; }
.mstage[data-step="2"] .lbl { opacity: 1; }
.s2 .tx.sm { fill: var(--ink); }
.mstage[data-step="2"] .node { opacity: 1; transform: scale(1.35); }
.mstage[data-step="2"] .node.on { animation: node-b 4.6s var(--ease-io) 1.2s infinite; }
@keyframes node-b { 0%, 100% { transform: scale(1.35); } 50% { transform: scale(1.5); } }

.idn { transform-box: fill-box; transform-origin: left center; }
.idn-b { fill: url(#gTaupe); }
.idn-h { fill: url(#pHatch); }
.nmk { fill: var(--ink-3); opacity: 0.6; }
.rib { fill: none; stroke: url(#gMergeA); stroke-width: 9; stroke-linecap: round; opacity: 0; transition: opacity 0.6s var(--ease) 0.8s; }
.mstage[data-step="3"] .rib { opacity: 1; }
.pls { fill: none; stroke: #f4fbfa; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.07 1.3; stroke-dashoffset: 0.07; opacity: 0; filter: drop-shadow(0 0 3px rgba(92, 117, 90, 0.95)); }
.plate-dots { fill: none; display: none; opacity: 0.4; pointer-events: none; }
.s3 .halo { stroke: #e6f1f0; }
.sheet { fill: url(#gSheet); stroke: var(--line-2); stroke-width: 1; filter: var(--shd); }
.sk3 { fill: var(--ink); opacity: 0.4; }
.sk3.f { fill: var(--ink-3); opacity: 0.55; }
.rule3 { fill: none; stroke: var(--line-2); stroke-width: 1; }
.port { fill: url(#gSage); stroke: var(--sage-deep); stroke-width: 0.8; filter: var(--shd-s); }
.tk-bot { opacity: 0.8; }
.rc-back { fill: #e3efee; stroke: var(--line-2); stroke-width: 0.8; }
.rc-back.b2 { fill: #f1f7f7; }
.plate-s3 { fill: url(#gFrost); fill-opacity: 0.6; stroke: #fff; stroke-width: 1.4; filter: var(--shd); }
.agg-head { fill: url(#gFrost); opacity: 0.9; }
.axis-t { stroke: var(--line-2); stroke-width: 1; fill: none; }
.s3 .grid { stroke: var(--line-2); stroke-dasharray: none; }
.ticks-s3 { fill: url(#pTicks); }
.rc.r2 .idn { animation-delay: 0.25s; }
.rc.r3 .idn { animation-delay: 0.5s; }
.mstage[data-step="3"] .idn { animation: redact 9s var(--ease-io) infinite; }
.mstage[data-step="3"] .pls { animation: pls 9s linear infinite; animation-delay: var(--dl); }
.nm { opacity: 0; }
.nm3 { opacity: 1; }
.mstage[data-step="3"] .nm3 { animation: nm3 9s linear infinite; }
.mstage[data-step="3"] .nm2 { animation: nm2 9s linear infinite; }
.mstage[data-step="3"] .nm1 { animation: nm1 9s linear infinite; }
.mstage[data-step="3"] .nm0 { animation: nm0 9s linear infinite; }
@keyframes nm3 { 0%, 17% { opacity: 1; } 17.1%, 95% { opacity: 0; } 95.1%, 100% { opacity: 1; } }
@keyframes nm2 { 0%, 17% { opacity: 0; } 17.1%, 21% { opacity: 1; } 21.1%, 100% { opacity: 0; } }
@keyframes nm1 { 0%, 21% { opacity: 0; } 21.1%, 25% { opacity: 1; } 25.1%, 100% { opacity: 0; } }
@keyframes nm0 { 0%, 25% { opacity: 0; } 25.1%, 95% { opacity: 1; } 95.1%, 100% { opacity: 0; } }
.col { fill: url(#gHist); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.mstage[data-step="3"] .col { animation: grow 9s var(--ease) infinite; }
.mstage[data-step="3"] .k2 { animation-delay: 0.15s; }
.mstage[data-step="3"] .k3 { animation-delay: 0.3s; }
.mstage[data-step="3"] .k4 { animation-delay: 0.45s; }
@keyframes redact { 0%, 14% { transform: scaleX(0); } 24%, 86% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes pls { 0%, 30% { opacity: 0; stroke-dashoffset: 0.07; } 33% { opacity: 1; } 50% { opacity: 1; stroke-dashoffset: -1.1; } 52%, 60% { opacity: 0; stroke-dashoffset: -1.1; } 62% { opacity: 1; stroke-dashoffset: 0.07; } 78% { opacity: 1; stroke-dashoffset: -1.1; } 80%, 100% { opacity: 0; stroke-dashoffset: -1.1; } }
@keyframes grow { 0%, 34% { transform: scaleY(0); } 48%, 86% { transform: scaleY(1); } 96%, 100% { transform: scaleY(0); } }

.mcap { position: relative; min-height: 3.2em; margin-top: 10px; }
.mcap p { position: absolute; left: 0; right: 0; top: 0; opacity: 0; font-size: 0.97rem; color: var(--ink-2); transition: opacity 0.4s var(--ease); }
.mstage[data-step="1"] .mcap .c1, .mstage[data-step="2"] .mcap .c2, .mstage[data-step="3"] .mcap .c3 { opacity: 1; }
.mprog { display: flex; gap: 8px; margin-top: 14px; }
.mprog i { flex: 1; height: 1px; background: var(--line-2); position: relative; }
.mprog i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.mstage[data-step="1"] .mprog i:nth-child(-n+1)::after, .mstage[data-step="2"] .mprog i:nth-child(-n+2)::after, .mstage[data-step="3"] .mprog i:nth-child(-n+3)::after { transform: scaleX(1); }
.msteps { padding-bottom: 12vh; }
.mstep {
  padding: 24px 28px;
  border-radius: 18px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  box-shadow: 0 4px 20px rgba(45, 36, 29, 0.03);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.mstep:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 117, 90, 0.4);
  box-shadow: 0 8px 26px rgba(92, 117, 90, 0.12);
}
.mstep.is-active {
  background: #ffffff;
  border-color: var(--sage-deep);
  box-shadow: 0 12px 32px rgba(92, 117, 90, 0.16);
}
.mstep:first-child { border-top: 0; }
html.js .mstep {
  padding: 24px 28px;
  border-radius: 18px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  box-shadow: 0 4px 20px rgba(45, 36, 29, 0.03);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.mstep:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 117, 90, 0.4);
  box-shadow: 0 8px 26px rgba(92, 117, 90, 0.12);
}
.mstep.is-active {
  background: #ffffff;
  border-color: var(--sage-deep);
  box-shadow: 0 12px 32px rgba(92, 117, 90, 0.16);
}
html.js .mstep.is-on { opacity: 1; }
.mstep .num { font-family: var(--serif); color: var(--sage); font-size: 1.1rem; margin-bottom: 14px; display: block; }
.mstep h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.12; }
.mstep p { margin-top: 16px; color: var(--ink-2); font-size: 1.05rem; max-width: 30em; }

.cap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cap-tabs { border-top: 1px solid var(--ink); }
.tab { appearance: none; -webkit-appearance: none; background: none; border: 0; border-bottom: 1px solid var(--line-2); width: 100%; text-align: left; font: inherit; color: inherit; padding: 22px 0; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: baseline; cursor: pointer; position: relative; transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.tn { font-family: var(--serif); color: var(--sage-deep); font-weight: 600; font-size: 1rem; }
.tt { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.015em; color: var(--ink-2); transition: color 0.25s var(--ease); }
.tab[aria-selected="true"] .tt { color: var(--ink); }
.td { grid-column: 2; display: grid; grid-template-rows: 1fr; }
.td > span { min-height: 0; overflow: hidden; }
.td > span > span { display: block; padding-top: 10px; color: var(--ink-2); font-size: 0.97rem; line-height: 1.6; max-width: 30em; }
html.js .td { grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.45s var(--ease), opacity 0.3s var(--ease); }
html.js .tab[aria-selected="true"] .td { grid-template-rows: 1fr; opacity: 1; }
.tprog { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
html.js .tab[aria-selected="true"] .tprog { transform: scaleX(1); }
html.js .cap.auto .tab[aria-selected="true"] .tprog { animation: prog 8s linear both; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.cap-stage { display: grid; position: relative; border-radius: 18px; padding: clamp(22px, 2.4vw, 28px); background: radial-gradient(90% 70% at 0% 0%, #fff, rgba(255, 255, 255, 0) 70%), linear-gradient(170deg, #fbfdfd, #e9f3f3); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(45, 36, 29, 0.05), 0 34px 58px -34px rgba(45, 36, 29, 0.3); }
.cap-stage::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(205, 229, 226, 0.25) 100%); backdrop-filter: blur(12px); -webkit-mask-image: linear-gradient(210deg, #000 0, transparent 60%); mask-image: linear-gradient(210deg, #000 0, transparent 60%); opacity: 0.35; pointer-events: none; }
.pan { grid-area: 1 / 1; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(200px, 0.95fr) 40px minmax(280px, 1.15fr); align-items: center; gap: 0 12px; }
html.js .pan { visibility: hidden; opacity: 0; transition: opacity 0.4s var(--ease), visibility 0s 0.4s; }
html.js .pan.is-on { visibility: visible; opacity: 1; transition-delay: 0s; }
html:not(.js) .pan { grid-area: auto; margin-bottom: 36px; }
.cap-note { grid-column: 1; grid-row: 2; margin-top: 22px; font-size: 0.85rem; color: var(--ink-3); }
html:not(.js) .cap-note { grid-row: auto; }
.p-lab { display: block; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 14px; }
.p-arrow { width: 30px; height: 20px; fill: none; stroke: var(--sage-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(139, 168, 136, 0.6)); }
html.js .p-arrow { opacity: 0; transition: opacity 0.4s var(--ease) 0.3s; }
html.js .pan.is-play .p-arrow { opacity: 1; }
.device.sm { padding: 6px; border-radius: 26px; }
.device.sm::before { top: 10px; width: 36px; margin-left: -18px; }
.phone.sm { border-radius: 20px; padding: 32px 14px 14px; min-height: 272px; }
.bubble { background: linear-gradient(#fff, #f6fafa); border-radius: 12px 12px 12px 3px; padding: 14px 14px; font-size: 0.95rem; line-height: 1.7; box-shadow: 0 1px 0 rgba(45, 36, 29, 0.05), 0 8px 16px -8px rgba(45, 36, 29, 0.26), inset 0 1px 0 #fff; }
.bubble b { display: block; font-size: 0.76rem; color: var(--sage-deep); font-weight: 600; margin-bottom: 2px; }
.pan .hl::before { transition: transform 0.5s var(--ease) calc(0.3s + var(--i) * 0.12s); }
html.js .pan .hl::before { transform: scaleX(0); }
html.js .pan.is-play .hl::before { transform: scaleX(1); }
html:not(.js) .pan .hl::before { transform: none; }
#pan-ocr .hl::before { transition-delay: calc(0.3s + var(--i) * 0.35s); }
.p-fields { list-style: none; margin: 0 12px 12px 0; padding: 6px 20px; background: var(--grain), linear-gradient(170deg, #fff, #f1f8f8); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: inset 0 1px 0 #fff, 7px 7px 0 -1px #e6f1f0, 7px 7px 0 0 var(--line-2), 14px 14px 0 -1px #f3f8f8, 14px 14px 0 0 var(--line), 26px 34px 34px -20px rgba(45, 36, 29, 0.3); min-width: 270px; }
.p-fields li { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.p-fields li:last-child { border-bottom: 0; }
.p-fields span { color: var(--ink-3); font-size: 0.84rem; white-space: nowrap; }
.p-fields b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 0.95rem; color: var(--ink); }
html.js .p-fields li { opacity: 0; transform: translateX(-8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(0.5s + var(--i) * 0.12s); }
html.js .pan.is-play .p-fields li { opacity: 1; transform: none; }
html.js #pan-ocr .p-fields li { transition-delay: calc(0.6s + var(--i) * 0.35s); }
html.js #pan-voice .p-fields li:nth-child(1) { transition-delay: 0.7s; }
html.js #pan-voice .p-fields li:nth-child(2) { transition-delay: 1.5s; }
html.js #pan-voice .p-fields li:nth-child(3) { transition-delay: 1.6s; }
html.js #pan-voice .p-fields li:nth-child(4) { transition-delay: 2.3s; }
.doc { position: relative; margin: 0 15px 15px 0; border-radius: 6px; box-shadow: 7px 7px 0 -1px #e6f1f0, 7px 7px 0 0 var(--line-2), 14px 14px 0 -1px #f3f8f8, 14px 14px 0 0 var(--line), 24px 32px 30px -18px rgba(45, 36, 29, 0.3); }
.sheet { position: relative; overflow: hidden; background: var(--grain), linear-gradient(170deg, #fff, #f5fafa); border-radius: 6px; padding: 14px; display: grid; gap: 10px; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.sheet::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line-2); border-radius: 6px; pointer-events: none; }
.sheet-fold { position: absolute; top: 0; right: 0; width: 26px; height: 26px; background: linear-gradient(to bottom left, transparent 50%, #b9d3cf 50%, #eaf4f3 100%); }
.vf { position: absolute; inset: -9px; pointer-events: none; background: linear-gradient(var(--sage-deep), var(--sage-deep)) top left / 16px 2px no-repeat, linear-gradient(var(--sage-deep), var(--sage-deep)) top left / 2px 16px no-repeat, linear-gradient(var(--sage-deep), var(--sage-deep)) top right / 16px 2px no-repeat, linear-gradient(var(--sage-deep), var(--sage-deep)) top right / 2px 16px no-repeat, linear-gradient(var(--sage-deep), var(--sage-deep)) bottom left / 16px 2px no-repeat, linear-gradient(var(--sage-deep), var(--sage-deep)) bottom left / 2px 16px no-repeat, linear-gradient(var(--sage-deep), var(--sage-deep)) bottom right / 16px 2px no-repeat, linear-gradient(var(--sage-deep), var(--sage-deep)) bottom right / 2px 16px no-repeat; }
html.js .vf { opacity: 0; transition: opacity 0.5s var(--ease) 0.2s; }
html.js .pan.is-play .vf { opacity: 1; }
.sk { display: block; height: 6px; border-radius: 2px; background: var(--line); width: 70%; }
.sk.short { width: 38%; }
.sr { display: flex; justify-content: space-between; gap: 8px; font-size: 0.88rem; white-space: nowrap; padding: 7px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.scan { position: absolute; inset: 0; transform: translateY(-100%); pointer-events: none; opacity: 0; }
.scan::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52px; background: linear-gradient(to bottom, transparent, rgba(139, 168, 136, 0.5)); }
.scan::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sage-deep); box-shadow: 0 0 10px 2px rgba(139, 168, 136, 0.75); }
.pan.is-play .scan { animation: scan 6.4s linear 0.2s infinite; }
@keyframes scan { 0% { transform: translateY(-100%); opacity: 1; } 26% { transform: translateY(100%); opacity: 1; } 27%, 100% { transform: translateY(100%); opacity: 0; } }
.voice { display: grid; gap: 14px; padding: 16px 16px 14px; border-radius: 14px; background: var(--grain), linear-gradient(165deg, #fff, #e1efee); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--line-2), 1px 2px 2px rgba(45, 36, 29, 0.06), 8px 8px 0 -1px #e6f1f0, 8px 8px 0 0 var(--line-2), 24px 32px 30px -18px rgba(45, 36, 29, 0.3); margin: 0 8px 8px 0; }
.vtl { position: relative; height: 12px; border-bottom: 1px solid var(--line-2); background: repeating-linear-gradient(90deg, rgba(92, 117, 90, 0.55) 0 1px, transparent 1px 10px) bottom / 100% 6px no-repeat; }
.vtl i { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sage-deep); box-shadow: 0 0 8px rgba(139, 168, 136, 0.8); transform: scaleX(0); transform-origin: left; }
.pan.is-play .vtl i { animation: vprog 3.2s linear 0.2s both; }
@keyframes vprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.wave { display: flex; align-items: center; gap: 4px; height: 60px; }
.wave i { flex: 1; max-width: 6px; height: 100%; background: linear-gradient(to bottom, #8ba888, #5c755a); border-radius: 3px; transform: scaleY(0.12); transform-origin: center; }
.pan.is-play .wave i { animation: wave 0.9s ease-in-out calc(var(--k) * -70ms) 3 alternate both; }
@keyframes wave { from { transform: scaleY(0.12); } to { transform: scaleY(var(--a)); } }
.tr { font-size: 1rem; line-height: 1.7; }
html.js .tr span { opacity: 0; transition: opacity 0.5s var(--ease); }
html.js .pan.is-play .tr .w1 { opacity: 1; transition-delay: 0.3s; }
html.js .pan.is-play .tr .w2 { opacity: 1; transition-delay: 1.1s; }
html.js .pan.is-play .tr .w3 { opacity: 1; transition-delay: 1.9s; }

.part { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-2); }
.part-title, .part-copy h2 { font-family: var(--serif); font-size: clamp(2.1rem, 3.5vw, 2.85rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 24px; }
.part-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.pb { appearance: none; -webkit-appearance: none; background: none; border: 0; border-bottom: 1px solid var(--line-2); width: 100%; text-align: left; font: inherit; color: inherit; padding: 15px 0; display: grid; gap: 2px; cursor: pointer; position: relative; transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.pn { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink-2); letter-spacing: -0.01em; transition: color var(--t-base) var(--ease); }
.pd { color: var(--ink-3); font-size: 0.93rem; }
.pb[aria-pressed="true"] .pn { color: var(--ink); }
.pb::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--ease); }
.pb[aria-pressed="true"]::after { transform: scaleX(1); }
html.js .part.cycling .pb[aria-pressed="true"]::after { transform: scaleX(0); transition: none; animation: prog 5s linear both; }
html.js .part.paused .pb[aria-pressed="true"]::after { animation-play-state: paused; }
.part-svg { width: 100%; height: auto; overflow: visible; }
.part-svg .tx { fill: var(--ink); }
html.js .part-svg [data-g] { opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
html.js .part-svg [data-g="part"] { opacity: 1; pointer-events: auto; transform: none; }
html.js .part[data-k="access"] [data-g="access"] { opacity: 1; pointer-events: auto; transform: none; }
html.js .part[data-k="flow"] [data-g="flow"] { opacity: 1; pointer-events: auto; transform: none; }
html.js .part[data-k="hand"] [data-g="hand"] { opacity: 1; pointer-events: auto; transform: none; }
.dv { fill: url(#gFrost); fill-opacity: 0.55; stroke: #fff; stroke-width: 1.4; filter: var(--shd); }
.dv-dots { fill: none; display: none; opacity: 0.55; pointer-events: none; }
.ticks-p { fill: url(#pTicks); }
.pc { transform-box: fill-box; transform-origin: center; transition: transform var(--t-slow) var(--ease); }
.pr { fill: url(#gPaper); filter: var(--shd-s); stroke: var(--line-2); stroke-width: 1; }
.pr { transition: fill var(--t-slow) var(--ease), stroke var(--t-slow) var(--ease), filter var(--t-slow) var(--ease); }
.rl-p { fill: url(#pRule); }
.part[data-k="access"] .pc1 { transform: translateY(-5px); }
.part[data-k="access"] .pr1 { fill: url(#gFrost); stroke: var(--sage-deep); stroke-width: 1.4; filter: var(--shd); }
.cxt { fill: url(#gPaper); stroke: var(--line-2); stroke-width: 0.8; filter: var(--shd-s); }
.chk { fill: none; stroke: #fafcfb; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lk rect, .lk path { fill: none; stroke: var(--ink-2); stroke-width: 1.3; }
.part-svg .lk rect { fill: url(#gSage); stroke: var(--sage-deep); stroke-width: 0.8; }
.part-svg .lk path { stroke: var(--sage-deep); stroke-width: 1.8; stroke-linecap: round; }
.key { fill: none; stroke: var(--sage-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.loop { fill: none; stroke: var(--sage-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.loop.nl-dash {  }
.cl { fill: url(#gCloudV); fill-opacity: 0.85; stroke: var(--ink-3); stroke-width: 1;  filter: var(--shd-s); }
.loop-glow { fill: none; stroke: var(--sage); stroke-width: 6; stroke-linecap: round; opacity: 0.2; }
.cx { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.hd { fill: none; stroke: var(--sage-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ph { fill: url(#gBezel); }
.phs { fill: url(#gScreen); }
.part[data-k="part"] .pc { animation: cell 0.7s var(--ease) both; }
.part[data-k="part"] .pc2 { animation-delay: 0.1s; }
.part[data-k="part"] .pc3 { animation-delay: 0.2s; }
.part[data-k="access"] .key { animation: rise-s 0.6s var(--ease) both; }
.part[data-k="access"] .lk { animation: fade-in 0.5s var(--ease) both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.part[data-k="hand"] [data-g="hand"] .obj, .part[data-k="hand"] [data-g="hand"] .bar, .part[data-k="hand"] [data-g="hand"] .scr-band, .part[data-k="hand"] [data-g="hand"] .port, .part[data-k="hand"] [data-g="hand"] .chk { animation: slide-in 0.7s var(--ease) both; }
.part[data-k="hand"] [data-g="hand"] .hd { animation: slide-in 0.5s var(--ease) both; }
.part[data-k="flow"] .cx { animation: pop 0.6s var(--ease) 0.4s both; }
@keyframes cell { from { opacity: 0; transform: scale(0.93); } to { opacity: 1; transform: none; } }
@keyframes rise-s { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }

.sx-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sx-head h2 { margin-top: 18px; font-size: clamp(2.1rem, 4.4vw, 3.6rem); color: #fafcfb !important; }
.sx-head .lead { color: #b9c8c3 !important; }
.sx { margin: 0; }
.sx-ctl { display: inline-flex; border: 1px solid #5a4d42; border-radius: 8px; margin-bottom: 28px; overflow: hidden; background: rgba(0, 0, 0, 0.25); }
.sx-b { appearance: none; -webkit-appearance: none; font: 600 0.94rem var(--sans); color: #b9c8c3; background: transparent; border: 0; padding: 12px 22px; cursor: pointer; min-height: 44px; transition: all var(--t-base) var(--ease); }
.sx-b + .sx-b { border-left: 1px solid #5a4d42; }
.sx-b[aria-pressed="true"] { background: #e9efec; color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.section.dark :focus-visible { outline-color: var(--frost); }
.sx .dev-glass { display: none !important; }
.sx-svg { width: 100%; height: auto; display: block; overflow: visible; }
.sx-svg.tall { display: none; }
.sx-svg.wide { --tx: 256px; --ty: 0px; --rx: 100px; --ry: 0px; }
.sx-svg.tall { --tx: 0px; --ty: 206px; --rx: 0px; --ry: 62px; }
.sx .dev { fill: url(#gDkPlate); stroke: var(--ink-3); stroke-width: 1.2;  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.32)); }
.sx .dev-dots { display: none !important; }
.sx .ticks-d { fill: url(#pTicks); opacity: 0.5; }
.sx .hi-d { fill: none; stroke: #fff; stroke-width: 1; opacity: 0.18; stroke-linecap: round; }
.sx .box { fill: url(#gDk); stroke: #7a6c60; filter: var(--shd-d); }
.sx .box.ghost { fill: url(#gDkGlass); fill-opacity: 0.55; stroke: var(--ink-muted); stroke-width: 1;  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.3)); }
.sx .gl { fill: none; stroke: #a8bcab; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sx .xt-barrier { opacity: 1; }
.sx .xt { fill: #382522; stroke: #e07a68; stroke-width: 1.2; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)); opacity: 1; }
.sx[data-mode="remote"] .xt { opacity: 1; stroke: #ff6b52; }
.sx .gt { fill: url(#gDkGlass); stroke: #a8bcab; stroke-width: 1; filter: drop-shadow(0 0 8px rgba(205, 229, 226, 0.35)) drop-shadow(0 6px 8px rgba(0, 0, 0, 0.5)); }
.sx .gk { fill: none; stroke: var(--frost); stroke-width: 1.6; stroke-linecap: round; }
.sx .gate-a { fill: var(--frost); filter: drop-shadow(0 0 5px rgba(205, 229, 226, 0.9)); }
.sx .gate-glow { fill: none; stroke: var(--frost); stroke-width: 7; opacity: 0.16; filter: blur(3px); }
.sx .box.live { fill: url(#gDkGlass); stroke: #a8bcab; }
.sx .tx { fill: #cfdad6; font-size: 14px; }
.sx .tx.strong { fill: #fafcfb; }
.sx .tx.sm { fill: #b9c8c3; font-size: 13px; }
.sx .halo { stroke: var(--ink); }
.sx .gate { stroke: #e4f1ee; stroke-width: 1; fill: none; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(205, 229, 226, 0.9)); }
.sx .cb { fill: url(#gDkGlass); stroke: #7a6c60; filter: var(--shd-d); }
.sx .bar { fill: var(--ink-muted); opacity: 0.65; }
.sx .lit { fill: url(#gLit); opacity: 0; stroke: none; filter: drop-shadow(0 0 16px rgba(168, 188, 171, 0.5)); }
.sx .lk { opacity: 0; }
.sx .lk rect, .sx .lk path { fill: none; stroke: #a9b9b4; stroke-width: 1.2; }
.sx .rl { stroke: #a8978a; stroke-width: 1.5; stroke-dasharray: 4 3; fill: none; opacity: 0.85; }
.sx .xm { stroke: #f69482; stroke-width: 2; stroke-linecap: round; opacity: 1; }
.sx .tl { stroke: var(--frost); stroke-width: 2; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(205, 229, 226, 0.7)); }
.sx .tk { fill: var(--frost); opacity: 0; filter: drop-shadow(0 0 7px rgba(205, 229, 226, 0.9)); }
.sx .tk-r { fill: #e9efec; }
.sx .deny { opacity: 0; }
.sx[data-mode="team"] .tl { stroke-dashoffset: 0; }
.sx[data-mode="team"] .lit { opacity: 0.24; }
.sx[data-mode="team"] .lk { opacity: 1; }
.sx[data-mode="remote"] .xm { opacity: 1; stroke: #ff6b52; }
.sx[data-mode="team"] .rl { opacity: 0.75; }
.sx[data-mode="remote"] .cmp { opacity: var(--dim); }
.sx[data-mode="remote"] .deny { opacity: 1; }
.sx[data-mode="team"].play .tl { animation: tl 1.6s var(--ease) both; }
.sx[data-mode="team"].play .tk-t { animation: tk 1.6s var(--ease) both; }
.sx[data-mode="team"].play .lit { animation: lit 0.7s var(--ease) 1.5s both; }
.sx[data-mode="team"].play .lk { animation: lit1 0.6s var(--ease) 1.5s both; }
.sx[data-mode="remote"].play .tk-r { animation: tkr 2.2s var(--ease) both; }
.sx[data-mode="remote"].play .xm { animation: hit-x 2.2s var(--ease) both; }
.sx[data-mode="remote"].play .deny { animation: lit1 0.5s var(--ease) 1.7s both; }
@keyframes tl { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes tk { 0% { opacity: 0; transform: translate(0, 0); } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)); } }
@keyframes tkr { 0% { opacity: 0; transform: translate(0, 0); } 10% { opacity: 1; } 52% { opacity: 1; transform: translate(calc(var(--rx) * 0.9), calc(var(--ry) * 0.9)); } 100% { opacity: 0; transform: translate(calc(var(--rx) * 0.2), calc(var(--ry) * 0.2)); } }
@keyframes hit-x { 0%, 48% { opacity: 0; } 56% { opacity: 1; } 100% { opacity: 1; } }
@keyframes lit { from { opacity: 0; } to { opacity: 0.24; } }
@keyframes lit1 { from { opacity: 0; } to { opacity: 1; } }
.sx-cap { display: grid; margin-top: 26px; color: #cfdad6; max-width: 44em; font-size: 1.05rem; }
.sx-cap span { grid-area: 1 / 1; opacity: 0; transition: opacity 0.4s var(--ease); }
.sx[data-mode="team"] .cp-team, .sx[data-mode="remote"] .cp-remote { opacity: 1; }

.rt { position: relative; margin-top: clamp(56px, 8vw, 96px); padding: clamp(18px, 3vw, 32px); border-radius: 18px; background: linear-gradient(170deg, #3b3027, #2f261f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 0 0 1px #4a3c31, 0 30px 50px -28px rgba(0, 0, 0, 0.65); }
.rt::before { display: none !important; opacity: 0 !important; }
.rt > * { position: relative; }
.rt-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(16px, 5vw, 80px); align-items: baseline; margin-bottom: 20px; }
.rt-head h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.rt-head p { color: #b9c8c3; }
.rt-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 110px; align-items: center; gap: 16px; padding: 22px 0 18px; border-top: 1px solid #4a3c31; }
.rt-row.nl { background: linear-gradient(90deg, rgba(168, 188, 171, 0.09), transparent 75%); margin: 0 calc(clamp(18px, 3vw, 32px) * -1); padding-left: clamp(18px, 3vw, 32px); padding-right: clamp(18px, 3vw, 32px); }
.rt-name { font-weight: 500; color: #fafcfb; }
.rt-rail { position: relative; height: 84px; margin: 0 34px; }
.rt-rail.local .rt-line { right: 75%; }
.rt-line { position: absolute; left: 0; right: 0; top: 12px; height: 10px; background: linear-gradient(90deg, #6b5e54, #8ba888 55%, #cde5e2); clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 60%); }
.rt-ghost { position: absolute; left: 25%; right: 0; top: 16px; height: 2px; background: repeating-linear-gradient(90deg, rgba(168, 188, 171, 0.55) 0 6px, transparent 6px 12px); }
.rn { position: absolute; left: calc(var(--x) * 1%); top: 0; width: 0; height: 0; }
.rn em { position: absolute; top: 44px; left: 0; transform: translateX(-50%); font-style: normal; font-size: 0.88rem; color: #cfdad6; white-space: nowrap; }
.nt { position: absolute; top: 0; left: -17px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--frost); background: linear-gradient(145deg, #6a584a, #3b3027); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 0 0 1px #8f8378, 0 2px 3px rgba(0, 0, 0, 0.5), 0 12px 16px -6px rgba(0, 0, 0, 0.75); }
.nt svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rn.rec .nt { top: -5px; left: -22px; width: 44px; height: 44px; border-radius: 12px; color: #fafcfb; background: linear-gradient(150deg, #9db99a, #5c755a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 22px rgba(168, 188, 171, 0.5), 0 3px 4px rgba(0, 0, 0, 0.45), 0 16px 20px -6px rgba(0, 0, 0, 0.75); }
.rn.rec .nt svg { width: 26px; height: 26px; }
.rn.rec em { top: 52px; color: #fafcfb; font-weight: 500; }
.rn.gh .nt { color: rgba(207, 218, 214, 0.4); background: rgba(250, 252, 251, 0.03); box-shadow: inset 0 0 0 1px rgba(168, 188, 171, 0.35); border: 1px dashed rgba(168, 188, 171, 0.45); }
.rt-run { position: absolute; inset: 0 -8px; overflow: hidden; pointer-events: none; }
.rt-rail.local .rt-run { right: calc(75% - 8px); }
.rt-run i { position: absolute; inset: 0; transform: translateX(-100%); opacity: 0; }
.rt-run i::before { content: ""; position: absolute; left: 8px; right: 7px; top: 12px; height: 10px; clip-path: polygon(0 50%, 100% 0, 100% 100%); background: linear-gradient(90deg, transparent, #e4f4f1); filter: drop-shadow(0 0 8px rgba(205, 229, 226, 0.85)); }
.rt-run i::after { content: ""; position: absolute; right: 0; top: 8px; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(145deg, #f6fcfb, #a8cfca); box-shadow: 0 0 16px rgba(205, 229, 226, 0.9), 0 3px 5px rgba(0, 0, 0, 0.4); }
.rt-res { display: grid; gap: 2px; justify-items: start; font-variant-numeric: tabular-nums; }
.hops { display: inline-flex; align-items: baseline; gap: 8px; font-size: 0.95rem; color: #b9c8c3; }
.hc { position: relative; display: inline-block; width: 0.7em; height: 1.2em; font: 600 1.7rem/1.2 var(--serif); }
.hc i { position: absolute; left: 0; top: 0; font-style: normal; color: #fafcfb; opacity: 0; }
.hc i:first-child { opacity: 1; }
.rt-done { font-size: 0.9rem; font-weight: 600; color: var(--frost); letter-spacing: 0.02em; }
html.js .rt-done { opacity: 0; }
.rt.go .cloud .rt-run i { animation: run-c 7s linear infinite; }
.rt.go .local .rt-run i { animation: run-l 7s linear infinite; }
.rt.go .d-cloud { animation: done-c 7s linear infinite; }
.rt.go .d-local { animation: done-l 7s linear infinite; }
.rt.go .cloud + .rt-res .hc i:nth-child(1) { animation: c0 7s linear infinite; }
.rt.go .cloud + .rt-res .hc i:nth-child(2) { animation: c1 7s linear infinite; }
.rt.go .cloud + .rt-res .hc i:nth-child(3) { animation: c2 7s linear infinite; }
.rt.go .cloud + .rt-res .hc i:nth-child(4) { animation: c3 7s linear infinite; }
.rt.go .cloud + .rt-res .hc i:nth-child(5) { animation: c4 7s linear infinite; }
.rt.go .local + .rt-res .hc i:nth-child(1) { animation: l0 7s linear infinite; }
.rt.go .local + .rt-res .hc i:nth-child(2) { animation: l1 7s linear infinite; }
@keyframes run-c { 0% { transform: translateX(-100%); opacity: 1; } 55% { transform: translateX(0); opacity: 1; } 56%, 100% { transform: translateX(0); opacity: 0; } }
@keyframes run-l { 0% { transform: translateX(-100%); opacity: 1; } 14% { transform: translateX(0); opacity: 1; } 15%, 100% { transform: translateX(0); opacity: 0; } }
@keyframes done-c { 0%, 55% { opacity: 0; } 60%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes done-l { 0%, 14% { opacity: 0; } 19%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes c0 { 0%, 13.7% { opacity: 1; } 13.8%, 100% { opacity: 0; } }
@keyframes c1 { 0%, 13.7% { opacity: 0; } 13.8%, 27.4% { opacity: 1; } 27.5%, 100% { opacity: 0; } }
@keyframes c2 { 0%, 27.4% { opacity: 0; } 27.5%, 41.1% { opacity: 1; } 41.2%, 100% { opacity: 0; } }
@keyframes c3 { 0%, 41.1% { opacity: 0; } 41.2%, 54.9% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes c4 { 0%, 54.9% { opacity: 0; } 55%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes l0 { 0%, 13.9% { opacity: 1; } 14%, 100% { opacity: 0; } }
@keyframes l1 { 0%, 13.9% { opacity: 0; } 14%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }

.breather { padding: clamp(76px, 9vw, 116px) 0; background: var(--paper); }
.bq-wrap { display: flex; flex-direction: column; align-items: center; gap: clamp(32px, 4.5vw, 56px); }
.bq-wrap .sec-head { max-width: 50em; text-align: center; margin: 0 auto; opacity: 1 !important; transform: none !important; }
.bq-wrap .sec-head .eyebrow { color: var(--sage-deep) !important; opacity: 1 !important; font-weight: 700; }
.bq-wrap .sec-head h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); letter-spacing: -0.025em; line-height: 1.2; margin-top: 10px; margin-bottom: 16px; color: var(--ink) !important; opacity: 1 !important; }
.bq-wrap .lead {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.62;
  color: var(--ink-2) !important;
  opacity: 1 !important;
  max-width: 44em;
  margin: 0 auto;
  text-align: center;
}

/* Clinically Relevant Frontline Pipeline Board */
.pipeline-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.pipe-col {
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(45, 36, 29, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(8px);
}

.pipe-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.pipe-step {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sage-deep);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}
.pipe-header h4 {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px 0;
}
.pipe-meta {
  font-size: 0.82rem;
  color: var(--ink-3);
  font-weight: 500;
}

.pipe-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.raw-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.raw-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.raw-tag.whatsapp { background: rgba(37, 211, 102, 0.14); color: #15803d; }
.raw-tag.rx { background: rgba(92, 117, 90, 0.14); color: var(--sage-deep); }
.raw-item p {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

.fhir-resource {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.fhir-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.f-type {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--sage-wash);
  color: var(--sage-deep);
  padding: 2px 8px;
  border-radius: 4px;
}
.f-id {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-3);
}
.fhir-fields {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.84rem;
  color: var(--ink-2);
}
.partition-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 36, 29, 0.05);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--ink);
  margin-top: auto;
}

.safety-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.safety-icon {
  width: 24px;
  height: 24px;
  background: var(--sage-deep);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.safety-text {
  display: flex;
  flex-direction: column;
}
.safety-text strong {
  font-size: 0.9rem;
  color: var(--ink);
}
.safety-text small {
  font-size: 0.78rem;
  color: var(--ink-3);
}
.safety-row.artifact-result {
  background: rgba(92, 117, 90, 0.08);
  border: 1px solid rgba(92, 117, 90, 0.28);
  margin-top: auto;
}
.safety-icon.artifact-check {
  background: var(--sage-deep);
  color: #ffffff;
}

.pipe-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
}
.pipe-arrow {
  width: 40px;
  height: 40px;
}

@media (max-width: 992px) {
  .pipeline-board {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pipe-connector {
    transform: rotate(90deg);
    margin: -10px auto;
  }
}
.bq-fig-frame { width: 100%; max-width: 1040px; margin: 0 auto; position: relative; display: flex; justify-content: center; }
.bq-fig { width: 100%; height: auto; overflow: visible; }
.bq-fig.compact { display: none; }
.ripple-group { pointer-events: none; }
.ripple {
  fill: none;
  stroke: var(--sage-deep);
  stroke-width: 2;
  opacity: 0;
  transform-origin: 930px 75px !important;
  animation: ripple 3.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.ripple.r2 { animation-delay: 1.6s; }
@keyframes ripple {
  0% { opacity: 0.8; transform: scale(0.85); }
  50% { opacity: 0.35; }
  100% { opacity: 0; transform: scale(2.1); }
}
.bw { fill: none; stroke: url(#gWireA); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 4px 3px rgba(45, 36, 29, 0.12)); }
.bq-fig.compact .bw { stroke: url(#gWireB); }
.bw:nth-of-type(2) { --o: 0; }
.bw:nth-of-type(3) { --o: 0.1; }
.bw:nth-of-type(4) { --o: 0.2; }
.bw:nth-of-type(5) { --o: 0.3; }
.bw:nth-of-type(6) { --o: 0.4; }
.rb { fill: none; stroke: var(--sage-wash); stroke-width: 10; stroke-linecap: round; opacity: 0.85; }
.bq-fig.compact .rb { stroke: var(--sage-wash); stroke-width: 8; }
.bp { fill: none; stroke: #f6fcfb; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.05 1.3; stroke-dashoffset: 0.05; opacity: 0; filter: drop-shadow(0 0 3px rgba(92, 117, 90, 0.95)); animation: bpulse 4.4s linear infinite; animation-delay: var(--dl); }
@keyframes bpulse { 0% { opacity: 0; stroke-dashoffset: 0.05; } 5% { opacity: 1; } 62% { opacity: 1; stroke-dashoffset: -1.1; } 64%, 100% { opacity: 0; stroke-dashoffset: -1.1; } }
.st-t { fill: #ffffff; stroke: var(--line-2); stroke-width: 0.8; filter: var(--shd-s); }
.st-g { fill: none; stroke: var(--sage-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.stk .o-card { fill: #ffffff !important; stroke: rgba(92, 117, 90, 0.4) !important; filter: var(--shd-s); }
.stk .rc-back { fill: #f0f7f6 !important; stroke: rgba(92, 117, 90, 0.3) !important; }
.stk .nmk { fill: var(--sage-deep) !important; }
.stk .bar { fill: var(--line-2) !important; }
.bmark-st { fill: #eef6f5; stroke: rgba(92, 117, 90, 0.35); stroke-width: 0.8; opacity: 1; }
.bmark-st.b2 { fill: #f5faf9; }
.bq-fig .bw.bw-end { stroke: var(--sage-deep); stroke-width: 2.4; stroke-dashoffset: 0 !important; }
.bmark { fill: var(--sage-deep) !important; filter: drop-shadow(0 4px 12px rgba(92, 117, 90, 0.35)); opacity: 1; }
.bmark-base { fill: #e6f1ef !important; stroke: rgba(92, 117, 90, 0.4) !important; stroke-width: 1.4; filter: var(--shd); opacity: 1; }
.bmark-hi { fill: none; stroke: rgba(255, 255, 255, 0.8); stroke-width: 1.2; stroke-linecap: round; opacity: 0.8; }
.bq-plate { fill: url(#gFrost); fill-opacity: 0.5; stroke: #fff; stroke-width: 1.4; filter: var(--shd); }
.bq-dots { fill: none; display: none; opacity: 0.5; pointer-events: none; }
.bq-ticks { fill: url(#pTicks); }
.gate-t { fill: #ffffff; fill-opacity: 0.98; stroke: rgba(92, 117, 90, 0.35); stroke-width: 1; filter: var(--shd-s); }
.gate-l { fill: none; stroke: rgba(92, 117, 90, 0.25); stroke-width: 1; stroke-dasharray: none; }
.bq-fig .gate { opacity: 1; }
.bq-fig .gate .tx { opacity: 1; fill: var(--ink); font-weight: 500; }
.bq-fig .jn { opacity: 1; fill: var(--sage-deep); }
.bq-fig .stk { opacity: 1; }
.bmark-k { fill: none; stroke: #ffffff !important; stroke-width: 2.4 !important; stroke-linecap: round; stroke-linejoin: round; opacity: 1; }
.bq-fig .tx { opacity: 1; fill: var(--ink); }

.sec-head.wide { max-width: none; grid-template-columns: 1fr; margin-bottom: clamp(48px, 6vw, 72px); }
.sec-head.wide h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); letter-spacing: -0.025em; line-height: 1.18; max-width: 36em; margin-bottom: 18px; }
.sec-head.wide .lead { margin-top: 0; max-width: 50em; font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.68; color: var(--ink-2); text-wrap: pretty; }
.ladder { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; align-items: start; }
.rung { position: relative; padding-top: 30px; }
.rung.r1 { margin-top: 96px; }
.rung.r2 { margin-top: 48px; }
.tread { position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--line-2); transform: scaleX(var(--q1, 1)); transform-origin: left; transition: background-color var(--t-base) var(--ease); }
.riser { display: none; }
.rung.r3 .tread { background: none; border-top: 1px dashed var(--line-2); }
.rung .mini { display: block; width: 100%; max-width: 340px; height: auto; margin-bottom: 24px; overflow: visible; transition: transform var(--t-base) var(--ease); }
.m-wash { fill: url(#rWash); stroke: #fff; stroke-width: 1.2; filter: var(--shd-s); }
.m-plate { fill: url(#gFrost); fill-opacity: 0.7; stroke: #fff; stroke-width: 1.4; filter: var(--shd); }
.m-plate.later { fill-opacity: 0.55; }
.ticks-m { fill: url(#pTicks); opacity: 0.8; }
.spk { fill: none; stroke: url(#gSpoke); stroke-width: 2.2; stroke-linecap: round; }
.spk-p { fill: none; stroke: #fafcfb; stroke-width: 2; stroke-linecap: round;  opacity: 0.9; }
.hosp { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: none; }
.wall { fill: none; stroke: var(--line-2); stroke-width: 1;  }
.o-card.low { fill: #e1eeec; filter: var(--shd-s); }
.pulse-m { fill: none; stroke: var(--sage-deep); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 6 40; stroke-dashoffset: 6; filter: drop-shadow(0 0 3px rgba(139, 168, 136, 0.9)); animation: run-m 3s var(--ease-io) infinite; }
@keyframes run-m { from { stroke-dashoffset: 6; } to { stroke-dashoffset: -46; } }
.m-dots { fill: none; display: none; opacity: 0.5; pointer-events: none; }
.hub { fill: url(#gPaper); stroke: var(--line-2); filter: var(--shd); }
.rung .tier { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); font-weight: 600; margin-bottom: 12px; }
.rung.later .tier { color: var(--ink-3); }
.rung h3 { margin-bottom: 14px; font-size: 1.4rem; }
.rung > p { color: var(--ink-2); font-size: 0.97rem; margin-bottom: 22px; }
.rung.in .mini .wr { animation: wr 6s linear var(--d) infinite backwards; }
.rung.in .mini .padlock { animation: lock 6s linear infinite; }
.rung.in .dv2 { animation: float-s 7s ease-in-out infinite; }
.rung.in .dv2:nth-of-type(odd) { animation-delay: -3s; }
.dv2, .dep { transform-box: fill-box; transform-origin: center; }
.rung.in .dep:nth-of-type(-n+2) { animation: float-s 9s ease-in-out infinite; }
.rung.in .dep:nth-of-type(n+3) { animation: float-s 9s ease-in-out -4s infinite; }
@keyframes float-s { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

.comm-head { max-width: 44em; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; display: grid; justify-items: center; }
.comm-head h2, #contact h2 { margin-top: 18px; }
.comm-head .lead, #contact .lead { margin-top: 20px; }
.comm-head .lead { max-width: 36em; }
.merge { display: grid; grid-template-columns: minmax(0, 1fr) clamp(130px, 16vw, 230px) 296px; align-items: center; max-width: 960px; margin: 0 auto; }
.m-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(4, 96px); }
.m-row { position: relative; display: flex; flex-direction: column; justify-content: center; height: 96px; padding-right: 10px; border-top: 1px solid var(--line-2); transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.m-row::after { content: ""; position: absolute; right: -4px; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 2px; background: var(--sage-deep); box-shadow: 0 0 0 2px #fff, 0 2px 4px rgba(45, 36, 29, 0.3); transform: rotate(45deg); }
.m-rows li:last-child .m-row { border-bottom: 1px solid var(--line-2); }
.m-row h3 { font-size: 1.15rem; }
.m-row p { font-size: 0.92rem; color: var(--ink-2); margin-top: 2px; line-height: 1.5; }
.m-rows { grid-column: 1; grid-row: 1; }
.m-field { grid-column: 2; grid-row: 1; align-self: stretch; position: relative; z-index: 2; margin: 0 10px; background: none !important; pointer-events: none; }
.m-field::after { display: none !important; }
.m-join { position: absolute; left: 58%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(160deg, #fff, #dcebe9); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--line-2), 2px 4px 6px rgba(45, 36, 29, 0.16), 8px 14px 16px -6px rgba(45, 36, 29, 0.25); }
.m-join svg { width: 20px; height: 20px; fill: none; stroke: var(--sage-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.m-lbl { position: absolute; left: 58%; top: calc(50% + 28px); transform: translateX(-50%); font: 500 0.78rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-deep); }
.m-wires.wide { grid-column: 2; grid-row: 1; position: relative; z-index: 1; margin: 0 10px; width: calc(100% - 20px); }
.m-repo { grid-column: 3; grid-row: 1; }
.m-wires { display: block; overflow: visible; }
.m-wires.wide { height: 384px; }
.w-rib { fill: none; stroke: url(#gRibM); stroke-width: 7; stroke-linecap: round; opacity: 0; transition: opacity 0.6s var(--ease) 0.7s; }
.merge.in .w-rib { opacity: 1; }
.w-p { fill: none; stroke: var(--sage-deep); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.06 1.3; stroke-dashoffset: 0.06; opacity: 0; filter: drop-shadow(0 0 3px rgba(139, 168, 136, 0.9)); }
.merge.in .w-p { animation: bpulse 5s linear infinite; animation-delay: calc(1.6s + var(--dl)); }
.m-wires.tall { display: none; }
.w { fill: none; stroke: url(#gWireM); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.8s var(--ease) calc(var(--i, 0) * 0.09s), stroke var(--t-base) var(--ease); }
.merge .trunk { transition-delay: 0.55s, 0s; }
.merge.in .w { stroke-dashoffset: 0; }
.merge .w.trunk-run { stroke: var(--sage-deep); stroke-width: 1.8;  stroke-dashoffset: 0; opacity: 0; transition: opacity 0.4s var(--ease) 1.4s; }
.merge.in .w.trunk-run { opacity: 1; stroke-dashoffset: 0; }
html:not(.js) .w { stroke-dashoffset: 0; }
.merge[data-hot="0"] .w0, .merge[data-hot="1"] .w1, .merge[data-hot="2"] .w2, .merge[data-hot="3"] .w3, .merge[data-hot] .trunk { stroke: var(--sage-deep); }
.m-repo { position: relative; display: block; margin: 0 14px 14px 0; background: var(--grain), linear-gradient(165deg, #fff, #e6f2f1); border: 1px solid var(--line-2); border-radius: 12px; padding: 20px; box-shadow: inset 0 1px 0 #fff, 6px 6px 0 -1px #e6f1f0, 6px 6px 0 0 var(--line-2), 12px 12px 0 -1px #f3f8f8, 12px 12px 0 0 var(--line), 24px 34px 32px -18px rgba(45, 36, 29, 0.32); transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.m-repo::before { content: ""; position: absolute; left: -4px; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 2px; background: var(--sage-deep); box-shadow: 0 0 0 2px #fff, 0 2px 4px rgba(45, 36, 29, 0.3); transform: rotate(45deg); }
.m-repo strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 8px 0 12px; letter-spacing: -0.01em; }
.m-graph { width: 100%; height: auto; margin: 2px 0 12px; overflow: visible; }
.mg-m { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-linecap: round; }
.mg-b { fill: none; stroke: url(#gSpoke); stroke-width: 2.4; stroke-linecap: round; }
.mg-d { fill: #fff; stroke: var(--sage-deep); stroke-width: 1.6; }
.mg-d.on { fill: var(--sage-deep); stroke: #fff; filter: drop-shadow(0 1px 2px rgba(45, 36, 29, 0.3)); }
.m-bars { display: grid; gap: 6px; margin-bottom: 14px; }
.m-bars i { display: block; height: 3px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; width: 100%; }
.m-bars i:nth-child(2) { width: 72%; }
.m-bars i:nth-child(3) { width: 88%; }
.m-bars i:nth-child(4) { width: 56%; }
.m-bars i::after { content: ""; position: absolute; inset: 0; background: var(--sage-deep); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease) calc(0.9s + var(--i) * 0.12s); }
.merge.in .m-bars i::after { transform: scaleX(1); }
html:not(.js) .m-bars i::after { transform: scaleX(1); }
.m-arrow { color: var(--ink-2); font-size: 0.88rem; }
.m-arrow::after { content: " \2192"; }

.route { display: block; width: 100%; max-width: 440px; height: auto; margin: 40px 0 0; overflow: visible; }
.route .tx { font-size: 13.5px; }
.pkt { fill: var(--sage-deep); opacity: 0; }
.route.in-view .pkt { animation: pkt 6s var(--ease-io) 1.8s infinite; }
.rn2 { fill: var(--obj); filter: var(--obj-lift); stroke: var(--sage-deep); stroke-width: 1.3; }
.r-plate { fill: url(#gFrost); fill-opacity: 0.55; stroke: #fff; stroke-width: 1.4; filter: var(--shd-s); }
.r-dots { fill: none; display: none; opacity: 0.5; pointer-events: none; }
.r-groove { fill: none; stroke: var(--line-2); stroke-width: 4; stroke-linecap: round; opacity: 0.6; }
.route .doc { fill: url(#gPaper); stroke: var(--line-2); stroke-width: 1; filter: var(--shd-s); }
.ticks-r { fill: url(#pTicks); opacity: 0.7; }
.postmark circle { fill: none; stroke: var(--ink-3); stroke-width: 0.9; }
.postmark path { fill: none; stroke: var(--ink-3); stroke-width: 0.9; stroke-linecap: round; }
.stamp-r { fill: var(--sage-wash); stroke: var(--sage-deep); stroke-width: 1px; }
.doc-fold { fill: #c3d9d5; stroke: var(--line-2); stroke-width: 1; stroke-linejoin: round; }
.env-flap { fill: url(#gFrost); stroke: var(--line-2); stroke-width: 1; }
.env-seam { fill: none; stroke: var(--line-2); stroke-width: 1; }
.rk, .rk2 { stroke: var(--ink-2); }
.route .nl-dash { stroke: var(--sage-deep); opacity: 0; transition: opacity 0.4s var(--ease) 1.6s; }
.route .rt1 { stroke: var(--ink); }
.route .rt2 { stroke: var(--ink); transition-delay: 0.7s; }
[data-in].in .route .draw { stroke-dashoffset: 0; }
[data-in].in .route .nl-dash { opacity: 1; }
html:not(.js) .route .draw { stroke-dashoffset: 0; }
html:not(.js) .route .nl-dash { opacity: 1; }
#contact .ctl input, #contact .ctl textarea { width: 100%; }
#contact .ctl::after { inset: auto 0 0 0; height: 2px; border: 0; border-radius: 0; background: var(--sage-deep); opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--ease); }
#contact .ctl:focus-within::after { transform: scaleX(1); }
#contact .ctl:has(:valid:not(:placeholder-shown))::after { transform: scaleX(1); background: var(--sage); }
@keyframes pkt { 0% { opacity: 0; transform: translateX(0); } 4% { opacity: 1; } 24% { opacity: 1; transform: translateX(70px); } 28%, 40% { opacity: 0; transform: translateX(74px); } 44% { opacity: 0; transform: translateX(150px); } 48% { opacity: 1; transform: translateX(150px); } 72% { opacity: 1; transform: translateX(220px); } 78%, 100% { opacity: 0; transform: translateX(224px); } }

@media (hover: hover) {
  .replay:hover { color: var(--sage-deep); border-color: var(--sage-deep); }
  .replay:hover::before { transform: rotate(-90deg); }
  .tab:hover { transform: translateY(calc(var(--lift) * -1)); border-bottom-color: var(--ink); }
  .tab:hover .tt { color: var(--ink); }
  .pb:hover { transform: translateY(calc(var(--lift) * -1)); border-bottom-color: var(--ink); }
  .pb:hover .pn { color: var(--ink); }
  .sx-b:hover { color: #fafcfb; }
  .sx-b[aria-pressed="true"]:hover { color: var(--ink); }
  .rung:hover .mini { transform: translateY(calc(var(--lift) * -1)); }
  .rung:hover .tread { background-color: var(--sage-deep); }
  .rung.r3:hover .tread { border-top-color: var(--sage-deep); }
  .m-row:hover { transform: translateY(calc(var(--lift) * -1)); border-top-color: var(--ink); }
  .m-repo:hover { transform: translateY(calc(var(--lift) * -1)); border-color: var(--ink); }
  .mstep:hover { opacity: 1; }
}
.m-row:focus-visible { transform: translateY(calc(var(--lift) * -1)); border-top-color: var(--ink); }
.m-repo:focus-visible { border-color: var(--ink); }

@media (max-width: 1000px) {
  .bq-fig.wide .tx { font-size: 16.5px; }
}

@media (max-width: 820px) {
  .bq-fig.wide .tx { font-size: 18px; }
}

@media (max-width: 1100px) {
  .home-hero .hero-split {
    grid-template-columns: 1fr;
    gap: clamp(36px, 5vw, 56px);
  }
  .home-hero .hero-fig {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }
  .home-hero h1 { max-width: 16em; }
}

@media (max-width: 960px) {
  .mission, .cap, .sx-head, .rt-head, .part, .sec-head.duo { grid-template-columns: 1fr; }
  .cap-stage { border-radius: 12px; }
  .sec-head.duo { row-gap: 18px; }
}

@media (max-width: 900px) {
  .ladder { grid-template-columns: 1fr; padding-left: 28px; row-gap: 48px; }
  .ladder::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-2); transform: scaleY(var(--p, 1)); transform-origin: top; }
  .rung, .rung.r1, .rung.r2 { margin-top: 0; padding-top: 0; }
  .tread, .rung.r3 .tread { left: -28px; top: 14px; width: 28px; transform: none; }
  .rung.r3 .tread { border-top-style: dashed; }
}

@media (min-width: 761px) and (max-width: 960px) {
  .sx .tx { font-size: 14.5px; }
  .sx .tx.sm { font-size: 14px; }
  .brand { white-space: nowrap; flex-shrink: 0; }
  .nav-row { gap: 12px; }
  .nav-links { gap: 14px; font-size: 0.86rem; }
}

@media (max-width: 960px) {
  .mstage svg { max-height: 54vh; }
  .msteps { padding-bottom: 0; }
  .mstep {
  padding: 24px 28px;
  border-radius: 18px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  box-shadow: 0 4px 20px rgba(45, 36, 29, 0.03);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.mstep:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 117, 90, 0.4);
  box-shadow: 0 8px 26px rgba(92, 117, 90, 0.12);
}
.mstep.is-active {
  background: #ffffff;
  border-color: var(--sage-deep);
  box-shadow: 0 12px 32px rgba(92, 117, 90, 0.16);
}
  .mstep:last-child { padding-bottom: 0; }
}

@media (min-width: 1200px) {
  .route .tx { font-size: 12px; }
}

@media (max-width: 820px) {
  .home-hero { padding: 24px 0 48px; }
  .home-hero h1 { font-size: clamp(2.1rem, 9.6vw, 2.8rem); margin-top: 12px; }
  .home-hero .lead { margin-top: 14px; font-size: 1rem; line-height: 1.55; }
  .home-hero .actions { margin-top: 20px; }
  .flow {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 16px 28px;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    margin: 0 auto;
  }
  .flow-gap { display: none; }
  .flow-down { display: block; width: 24px; height: 36px; margin: 2px auto; fill: none; stroke: var(--sage); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; }
  .phone { padding: 24px 12px 12px; }
  .device { max-width: 260px; }
  .rec-wrap { margin: 0 10px 10px 0; max-width: calc(100% - 10px); }
  .msg { font-size: 0.88rem; padding: 10px 12px; }
  .record {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 18px;
    box-sizing: border-box;
    width: 100%;
    border: 1.5px solid rgba(205, 229, 226, 0.85);
    box-shadow: 0 12px 36px rgba(45, 36, 29, 0.07), inset 0 1px 0 #fff;
    display: flex; flex-direction: column;
  }
  .record dl > div { grid-template-columns: 84px minmax(0, 1fr); gap: 8px; padding: 6px 0; }
  .mstage { top: 72px; padding: 10px 0 8px; }
  .mstage svg { max-height: 280px; }
  .mstage-top { margin-bottom: 2px; }
  .mcap { display: none; }
  .mprog { margin-top: 8px; }
  .mstep {
  padding: 24px 28px;
  border-radius: 18px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  box-shadow: 0 4px 20px rgba(45, 36, 29, 0.03);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.mstep:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 117, 90, 0.4);
  box-shadow: 0 8px 26px rgba(92, 117, 90, 0.12);
}
.mstep.is-active {
  background: #ffffff;
  border-color: var(--sage-deep);
  box-shadow: 0 12px 32px rgba(92, 117, 90, 0.16);
}
  .msteps { padding-bottom: 8vh; }
  .mstage .tx { font-size: 17px; }
  .mstage .tx.sm { font-size: 16.5px; }
  .tab { padding: 18px 0; }
  .part-svg .tx { font-size: 17px; }
  .mstep {
  padding: 24px 28px;
  border-radius: 18px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  box-shadow: 0 4px 20px rgba(45, 36, 29, 0.03);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.mstep:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 117, 90, 0.4);
  box-shadow: 0 8px 26px rgba(92, 117, 90, 0.12);
}
.mstep.is-active {
  background: #ffffff;
  border-color: var(--sage-deep);
  box-shadow: 0 12px 32px rgba(92, 117, 90, 0.16);
}
  .bq-fig.wide { display: none; }
  .bq-fig.compact { display: block; }
  .bq-fig.compact .tx { font-size: 13.5px; }
  .comm-head { text-align: left; justify-items: start; }
  .merge { max-width: none; }
  .pan { grid-template-columns: 1fr; gap: 14px; }
  .p-arrow { transform: rotate(90deg); margin: 0 auto; width: 40px; }
  .cap-stage { padding: 20px 18px; }
  .sx-svg.wide { display: none; }
  .sx-svg.tall { display: block; max-width: 420px; margin: 0 auto; }
  .sx .tx.sm { font-size: 13px; }
  .sx-ctl { display: flex; }
  .sx-b { flex: 1; padding: 13px 10px; }
  .rt-row { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 0; }
  .rt-rail { grid-column: 1 / -1; grid-row: 2; margin: 0 28px; }
  .rt-res { grid-row: 1; grid-column: 2; justify-items: end; }
  .rn em { font-size: 0.8rem; }
  .rt-row.nl { margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
  .breather { padding: 56px 0; }
  .rung .mini { max-width: 300px; margin-bottom: 16px; }
  .merge { grid-template-columns: 36px minmax(0, 1fr); align-items: start; }
  .m-rows { grid-column: 2; grid-row: 1; }
  .m-wires.wide, .m-field { display: none; }
  .m-wires.tall { display: block; grid-column: 1; grid-row: 1; width: 36px; height: 412px; }
  .m-repo { grid-column: 1 / -1; grid-row: 2; }
  .m-row::after { right: auto; left: -20px; }
  .m-repo::before { left: 16px; top: -4px; }
  .route { margin-top: 28px; }
}

@media (max-width: 359px) {
  .mstage .tx { font-size: 18px; }
  .mstage .tx.sm { font-size: 18px; }
  .part-svg .tx { font-size: 21px; }
  .sx .tx, .sx .tx.sm { font-size: 15.5px; }
  .bq-fig.compact .tx { font-size: 16.5px; }
  .route .tx { font-size: 17px; }
  .mini .tx { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-in] { opacity: 1; transform: none; }
  html.js .flow.armed .msg, html.js .flow.armed .record dl > div, html.js .flow.armed .rec-src { opacity: 1; transform: none; }
  html.js .flow.armed .hl::before { transform: none; }
  .flow-wires .w { opacity: 1; stroke-dashoffset: 0; }
  .flow-wires .wd { opacity: 1; }
  .flow-wires .wp { display: none; }
  .rec-wrap::before, .rec-wrap::after { animation: none !important; }
  .vtl i { animation: none !important; transform: scaleX(1); }
  .flow-down { stroke-dashoffset: 0; }
  .rec-sweep { display: none; }
  html.js .mstep {
  padding: 24px 28px;
  border-radius: 18px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  box-shadow: 0 4px 20px rgba(45, 36, 29, 0.03);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.mstep:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 117, 90, 0.4);
  box-shadow: 0 8px 26px rgba(92, 117, 90, 0.12);
}
.mstep.is-active {
  background: #ffffff;
  border-color: var(--sage-deep);
  box-shadow: 0 12px 32px rgba(92, 117, 90, 0.16);
}
  html.js .pan .hl::before { transform: none; }
  .scan { display: none; }
  html.js .p-arrow, html.js .p-fields li, html.js .tr span { opacity: 1; transform: none; }
  html.js .tab[aria-selected="true"] .tprog { transform: scaleX(1); }
  .wave i { transform: scaleY(var(--a)); }
  .rt-run { display: none; }
  html.js .rt-done { opacity: 1; }
  .hc i { opacity: 0 !important; }
  .cloud + .rt-res .hc i:nth-child(5), .local + .rt-res .hc i:nth-child(2) { opacity: 1 !important; }
  html.js .bq .w { opacity: 1; }
  .tread, .riser { transform: none; }
  .ladder::before { transform: none; }
  .w { stroke-dashoffset: 0; }
  .m-bars i::after { transform: scaleX(1); }
  .trunk-run, .route .nl-dash { display: none; }
  .route .draw { stroke-dashoffset: 0; }
  .mstage *, .rung *, .part *, .sx *, .flow *, .route *, .bq-fig * { animation: none !important; }
  .pkt, .ripple, .pls, .pulse-in, .dial-sh, .bp, .w-p { display: none; }
  .nm3 { opacity: 0; }
  .nm0 { opacity: 1; }
  html.js .part-svg [data-g] { transform: none; opacity: 0.8; }
  .mstage .col { transform: none; }
  .mstage .idn { transform: none; }
  .mstage .rib { opacity: 1; }
  .mstage .lbl { opacity: 1; }
  .mstage .pk, .mstage .in-path { display: none; }
  .pulse-m, .spk-p { display: none; }
  .tx.deny { opacity: 1; }
}
html:not(.js) .flow-wires { display: none; }
html:not(.js) .tprog { display: none; }
html:not(.js) .wave i { transform: scaleY(var(--a)); }
html:not(.js) .scan { display: none; }
html:not(.js) .bq .w { opacity: 1; }
html:not(.js) .col { transform: none; }
html:not(.js) .w-rib { opacity: 1; }


/* Clean Soft Glass Overlays - Zero Dot Patterns */
.plate-dots, .dv-dots, .dev-dots, .bq-dots, .m-dots, .r-dots,
.ticks-p, .ticks-m, .ticks-d, .sx .dev-dots {
  display: none !important;
}

/* Eliminate dashed strokes on borders and structural outlines */
.st.dashed, .cl, .wall, .hosp, .gate-l, .dial, .dial-sh, .pl-r, .axis,
.s3 .grid, .merge .w.trunk-run, .stamp-r, .sx .dev, .sx .box.ghost,
.sx .rl, .loop.nl-dash {
  stroke-dasharray: none !important;
}

/* Equal balanced cards for deployment ladder */
.ladder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 40px);
  row-gap: 32px;
  align-items: stretch;
}
.rung {
  position: relative;
  padding: clamp(28px, 3vw, 36px) clamp(22px, 2.5vw, 30px);
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rung.r1, .rung.r2, .rung.r3 {
  margin-top: 0 !important;
}
.rung .mini {
  margin-top: 24px;
}

/* Generous button and card spacing */
.pb {
  padding: 16px 14px !important;
}
.pb + .pb {
  margin-top: 4px;
}
.cap-stage {
  padding: clamp(32px, 3.5vw, 48px) !important;
}

/* ==========================================================================
   Mission Section - 3-Column Balanced Card Presentation
   ========================================================================== */
.sec-head.center {
  text-align: center;
  max-width: 54em;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.sec-head.center .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-deep);
  margin-bottom: 14px;
}
.sec-head.center h2 {
  font-size: clamp(2.1rem, 3.5vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--earth-deep);
  margin-bottom: 18px;
  text-wrap: balance;
}
.sec-head.center .lead {
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.68;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 48em;
  margin: 0 auto;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px);
  align-items: stretch;
}
.mission-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 36px);
  box-shadow: 0 4px 24px rgba(45, 36, 29, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.mission-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-deep);
  box-shadow: 0 12px 36px rgba(92, 117, 90, 0.16);
}
.mission-card h3 {
  font-family: var(--font-display, var(--serif));
  font-size: clamp(1.22rem, 1.8vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 14px;
}
.mission-card p {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink-2);
  margin-bottom: 24px;
  flex-grow: 1;
}
.mcard-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
}
.mcard-tags li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mcard-tags li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}
@media (max-width: 960px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .home-hero .hero-split {
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 64px);
  }
  .ladder {
    grid-template-columns: 1fr !important;
    row-gap: 36px;
    padding-left: 0;
  }
  .ladder::before {
    display: none;
  }
  .rung.r1, .rung.r2 {
    margin-top: 0;
  }
}
