/* SOLVEIN interactive anatomy module
   Built for the existing single-page concept without adding a framework runtime. */

html { scroll-behavior: auto; }

/* Static hero: the office leg photograph loads immediately with no canvas work. */
.hero {
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  padding: 0;
}

.hero-stage {
  position: relative;
  top: auto;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  background: #213f43;
  touch-action: pan-y;
}

.hero-beach {
  z-index: 0;
  inset: 0;
  opacity: 1;
  transform: none;
  background-image: url('solvein-assets/problem-cover.webp');
  background-size: cover;
  background-position: center 44%;
  animation: none;
}

@keyframes heroLegSettle {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

.hero-img,
.hero .door { display: none; }

.hero-scrim {
  z-index: 2;
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(13,39,44,.73) 0%, rgba(13,39,44,.48) 33%, rgba(13,39,44,.04) 62%, rgba(13,39,44,.08) 100%),
    linear-gradient(180deg, rgba(18,34,35,.1), transparent 46%, rgba(18,33,34,.34));
  pointer-events: none;
}

.hero-anatomy-layer {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  pointer-events: none;
}

.hero-vein-canvas { width: 100%; height: 100%; display: block; }

.hero-content {
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: none;
  padding: 0 max(54vw, var(--pad)) clamp(74px,11vh,112px) var(--pad);
  opacity: 1;
  transform: none;
}

.hero-product-brand {
  position: absolute;
  z-index: 4;
  left: 89.8%;
  top: 75.25%;
  padding: 4px 2px;
  border-radius: 2px;
  color: #164f59;
  background: rgba(250,247,235,.9);
  box-shadow: 0 1px 5px rgba(17,54,60,.2);
  font: 700 clamp(5px,.52vw,8px)/1 var(--ui);
  letter-spacing: .08em;
  writing-mode: vertical-rl;
  transform: translate(-50%,-50%) rotate(180deg);
  text-shadow: 0 1px rgba(255,255,255,.6);
}
.hero-product-brand span { font-size: .55em; }

.hero h1 { max-width: 9.5ch; font-size: clamp(48px,6vw,84px); }
.hero .lead { max-width: 39ch; }
.journey-label { z-index: 6; opacity: 1; transform: none; }
.scrollcue { opacity: 1; }

.hero-scan-hint {
  position: absolute;
  z-index: 6;
  left: 34%;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 999px;
  color: #fff;
  background: rgba(21,63,70,.72);
  backdrop-filter: blur(14px);
  font: 500 9px/1 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}

.hero-scan-hint span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #a8f0e9;
  box-shadow: 0 0 0 5px rgba(132,229,222,.14), 0 0 13px rgba(132,229,222,.76);
}

.hero-stage.has-interacted .hero-scan-hint { opacity: 0; transform: translateY(8px); }

/* The mechanism stays inside the centered content column. The former reveal
   transform was overriding translateX(-50%) and pushing it to the right. */
#how .wrap { max-width: 1280px; }
.scrubber,
.scrubber.reveal,
.scrubber.reveal.in {
  width: 100%;
  max-width: 1280px;
  margin: 56px auto 0;
  transform: none;
}

/* Detailed interactive answer diagram. */
#solution .wrap { max-width: 1280px; }
#solution .devicewrap { width: 100%; max-width: 1180px; margin-top: 46px; }
#solution .devicewrap > .solution-device-explainer { display: none; }
.anatomy-showcase { padding:clamp(70px,9vw,118px) var(--pad) clamp(52px,7vw,88px); background:linear-gradient(180deg,#f8f0e4,#f1e9fa 58%,#f8f0e4); }
.anatomy-showcase .wrap { max-width:1280px; }
.anatomy-showcase .devicewrap { width:100%; max-width:1180px; margin:0 auto; }
.anatomy-showcase .solution-device-explainer { display:none; }

.solution-device-explainer {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  padding: 22px 24px 0;
  color: #fff;
  background:
    radial-gradient(circle at 50% 48%, rgba(112,194,188,.12), transparent 38%),
    linear-gradient(145deg, #183f48, #102f37 76%);
  box-shadow: 0 38px 90px -44px rgba(27,69,76,.62);
  text-align: left;
}

.solution-device-diagram { width: 100%; height: auto; display: block; }
.solution-device-diagram .device-part { opacity: .4; transition: opacity .35s ease, filter .35s ease; }
.solution-device-diagram .vein-environment { opacity: .92; }
.solution-device-diagram .flow-line { fill: none; stroke: rgba(239,170,166,.42); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 14; animation: flowDash 2.6s linear infinite; }
.solution-device-diagram .flow-line.reverse { animation-direction: reverse; }
@keyframes flowDash { to { stroke-dashoffset: -44; } }
.solution-device-diagram .treatment-cloud { opacity: .5; animation: treatmentBreathe 2.8s ease-in-out infinite; }
@keyframes treatmentBreathe { 50% { opacity: .9; transform: scale(1.04); transform-origin: center; } }
.solution-device-diagram .treatment-particles { animation: treatmentParticles 2.4s ease-in-out infinite alternate; }
@keyframes treatmentParticles { to { transform: translateY(-7px); opacity: .55; } }

.solution-device-explainer[data-active="catheter"] [data-part="catheter"],
.solution-device-explainer[data-active="proximal"] [data-part="proximal"],
.solution-device-explainer[data-active="zone"] [data-part="zone"],
.solution-device-explainer[data-active="distal"] [data-part="distal"] {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(124,225,217,.42));
}

.device-label {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 9px;
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid rgba(176,223,219,.2);
  border-radius: 11px;
  color: rgba(255,255,255,.68);
  background: rgba(9,40,47,.7);
  backdrop-filter: blur(10px);
  text-align: left;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.device-label:hover,
.device-label:focus-visible,
.device-label.is-active {
  color: #fff;
  border-color: rgba(128,225,218,.64);
  background: rgba(28,82,88,.92);
  transform: translateY(-2px);
}

.device-label span { grid-row: 1 / 3; color: #f0bd80; font: 400 9px/1.2 var(--mono); letter-spacing: .08em; }
.device-label b { font: 600 11px/1.2 var(--ui); }
.device-label small { color: rgba(255,255,255,.48); font: 400 9px/1.2 var(--mono); }
.label-catheter { left: 2.5%; top: 6%; }
.label-proximal { left: 22%; top: 2%; }
.label-zone { right: 27%; top: 2%; }
.label-distal { right: 2.5%; top: 6%; }

.device-explainer-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 -24px;
  padding: 18px 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(7,32,38,.42);
}

.device-detail { display: flex; align-items: flex-start; gap: 14px; min-height: 50px; }
.device-detail > span { flex: none; color: #f0bd80; font: 400 10px/1 var(--mono); }
.device-detail strong { display: block; font: 400 18px/1.15 var(--display); }
.device-detail p { max-width: 68ch; margin: 5px 0 0; color: rgba(255,255,255,.57); font-size: 11.5px; line-height: 1.42; }

.device-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border: 1px solid rgba(143,226,220,.36);
  border-radius: 999px;
  color: #fff;
  background: rgba(45,110,118,.65);
  font: 500 9px/1 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
}
.device-play i { width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 7px solid currentColor; }
.solution-device-explainer.is-playing .device-play i { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #f0bd80; box-shadow: 0 0 0 4px rgba(240,189,128,.15); }

/* True centering for the closing invitation. */
.invite .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.invite h2,
.invite .lead { margin-left: auto; margin-right: auto; }

#problem {
  padding-top: clamp(92px, 12vh, 150px);
  background:
    radial-gradient(80% 55% at 90% 12%, rgba(45,110,118,.12), transparent 62%),
    linear-gradient(180deg, #f7eee2 0%, #ecdcc5 100%);
}

#problem > .wrap.split { display: none; }

.problem-focus { max-width: 1380px; }

.problem-focus-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  align-items: start;
  gap: clamp(40px, 6vw, 84px);
  max-width: 1220px;
  margin-inline: auto;
  margin-bottom: clamp(38px, 6vw, 72px);
}

.problem-focus-head h2 { max-width: 16ch; font-size:clamp(36px,4vw,54px); }
.problem-focus-head .lead { max-width:40ch; margin:46px 0 5px; }

.interactive-leg-shell {
  border: 1px solid rgba(216,198,168,.82);
  border-radius: clamp(20px, 2.6vw, 34px);
  overflow: hidden;
  background: #f8f1e8;
  box-shadow: 0 45px 110px -52px rgba(43,40,28,.55);
}

.interactive-leg {
  --scan-x: 58%;
  --scan-y: 43%;
  --scan-radius: 132px;
  --treatment-finish: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  min-height: 440px;
  overflow: hidden;
  isolation: isolate;
  cursor: crosshair;
  touch-action: pan-y;
  background: #ede8e1;
}

.problem-cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  transform: scale(1.002) rotate(.001deg);
  transform-origin: 56% 46%;
  animation: none;
}

@keyframes legArrival {
  from { opacity: 0; transform: scale(1.035) rotate(-.35deg); }
  to { opacity: 1; transform: scale(1.002) rotate(.001deg); }
}

.vein-scan-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scan-grid {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  width: calc(var(--scan-radius) * 2);
  height: calc(var(--scan-radius) * 2);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 12px, rgba(140,232,231,.065) 13px 14px),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(140,232,231,.05) 13px 14px);
  box-shadow: inset 0 0 55px rgba(113,226,223,.09);
  transform: translate3d(calc(var(--scan-x) - var(--scan-radius)),calc(var(--scan-y) - var(--scan-radius)),0);
  transition: opacity .45s ease;
  mask-image: radial-gradient(circle, #000 0 64%, transparent 76%);
}

.interactive-leg.is-scanning .scan-grid { opacity: .9; }

.scan-prompt {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  background: rgba(25,65,71,.74);
  color: #fff;
  font: 500 11px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(18,48,52,.22);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

.interactive-leg.has-entered .problem-cover-photo {
  animation: legArrival .65s cubic-bezier(.2,.75,.2,1) both;
}

.scan-prompt-dot {
  width: 8px;
  height: 8px;
  border: 1px solid #b8f4ef;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(126,226,220,.12), 0 0 14px rgba(126,226,220,.75);
  animation: none;
}

.interactive-leg.is-motion-active .scan-prompt-dot { animation: promptPulse 2s ease-in-out infinite; }

@keyframes promptPulse { 50% { transform: scale(1.35); opacity: .72; } }

.interactive-leg.has-interacted .scan-prompt {
  opacity: 0;
  transform: translate(-50%, 9px);
}

.scan-lock-status {
  position: absolute;
  z-index: 6;
  top: 22px;
  right: 22px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(248,241,232,.76);
  color: #255763;
  font: 500 9.5px/1 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  pointer-events: none;
}

.interactive-leg.is-locked .scan-lock-status {
  color: #fff;
  background: rgba(27,76,84,.82);
  border-color: rgba(151,232,227,.55);
}

.interactive-leg.is-locked { touch-action: none; }

.anatomy-annotation {
  position: absolute;
  inset: 0;
  z-index: 7;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.anatomy-annotation.is-visible { opacity: 1; }

.annotation-card {
  position: absolute;
  left: 0;
  top: 0;
  width: min(230px, calc(100% - 24px));
  padding: 15px 16px 14px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(155deg, rgba(24,71,78,.94), rgba(19,53,61,.88));
  box-shadow: 0 18px 45px rgba(14,43,48,.28);
  transform: translate3d(var(--card-x,0),var(--card-y,0),0);
}

.annotation-index {
  display: block;
  margin-bottom: 8px;
  color: #f3c58b;
  font: 400 9px/1 var(--mono);
  letter-spacing: .14em;
}

.annotation-card strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
}

.annotation-card p {
  max-width: 28ch;
  margin: 6px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 11.5px;
  line-height: 1.4;
}

.annotation-line {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--line-width, 0);
  height: 1px;
  background: linear-gradient(90deg, rgba(140,232,226,.9), rgba(255,255,255,.45));
  transform: translate3d(var(--line-x,0),var(--line-y,0),0) rotate(var(--line-angle,0deg));
  transform-origin: 0 50%;
  box-shadow: 0 0 8px rgba(140,232,226,.6);
}

.annotation-line::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a5f0e9;
  box-shadow: 0 0 0 5px rgba(145,235,227,.14), 0 0 13px rgba(145,235,227,.78);
}

.solvein-treatment-device {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 50%;
  width: clamp(180px, 23vw, 330px);
  opacity: 0;
  transform: translate3d(calc(-50% + var(--device-dx,0px)),calc(-50% + var(--device-dy,0px)),0) rotate(var(--device-angle,60deg)) scale(.84);
  transform-origin: center;
  pointer-events: none;
  will-change: auto;
}

.solvein-treatment-device svg { display: block; width: 100%; height: auto; overflow: visible; }

.solvein-treatment-device > span {
  position: absolute;
  left: 50%;
  top: calc(100% + 2px);
  transform: translateX(-50%);
  color: #174b56;
  font: 600 8px/1 var(--mono);
  letter-spacing: .18em;
}

.interactive-leg.is-treating .solvein-treatment-device { opacity: 1; will-change: transform, opacity; }

.treatment-result {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 26px;
  width: min(420px, calc(100% - 28px));
  padding: 14px 17px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 14px;
  color: #fff;
  background: rgba(24,72,78,.88);
  box-shadow: 0 20px 46px rgba(14,43,48,.26);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .55s ease, transform .55s ease;
  text-align: center;
}

.interactive-leg.is-treated .treatment-result { opacity: 1; transform: translate(-50%,0); }
.treatment-result strong { display: block; font-family: var(--display); font-size: 19px; font-weight: 400; }
.treatment-result span { display: block; margin-top: 4px; color: rgba(255,255,255,.67); font: 9px/1.35 var(--mono); }

.interactive-leg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(18px, 3vw, 34px);
  border-top: 1px solid rgba(216,198,168,.68);
  background: rgba(251,245,234,.9);
}

.scan-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.scan-legend span { display: flex; align-items: center; gap: 8px; color: #6f604f; font: 500 10px/1 var(--mono); letter-spacing: .04em; }
.scan-legend i { display: inline-block; width: 22px; height: 2px; border-radius: 999px; box-shadow: 0 0 7px currentColor; }
.scan-legend .surface { color: #b33c6d; background: linear-gradient(90deg,#b33c6d,#ce5e5b); height: 1px; }
.scan-legend .reticular { color: #53579f; background: #53579f; }
.scan-legend .deep { color: #205b78; background: #205b78; height: 3px; }

.use-solvein {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 190px;
  justify-content: space-between;
  padding: 14px 18px 14px 21px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--deep);
  font: 600 12px/1 var(--ui);
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 15px 30px -16px rgba(21,67,77,.7);
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}

.use-solvein:hover { background: var(--sea); transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(21,67,77,.72); }
.use-solvein:disabled { cursor: wait; opacity: .72; transform: none; }
.use-solvein svg { width: 30px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.use-solvein:hover svg { transform: translateX(3px); }

.problem-proof {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(216,198,168,.8);
  border-radius: 18px;
  background: rgba(216,198,168,.8);
}

.problem-proof > div { padding: 22px 24px; background: rgba(248,240,230,.94); }
.problem-proof strong { display: block; color: var(--deep); font-family: var(--display); font-size: clamp(28px,3.2vw,42px); font-weight: 300; line-height: 1; }
.problem-proof span { display: block; margin-top: 7px; color: var(--slate); font-size: 11px; letter-spacing: .035em; }

/* Team imagery is intentionally cropped to true head-and-shoulder portraits. */
#team .team-grid { gap: 24px 18px; }
#team .member { text-align:center; }
#team .member .ph {
  width: min(100%, 172px);
  aspect-ratio: 1;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #4c7980, #173a42 72%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 16px 36px rgba(7,27,31,.2);
}

#team .member .ph img { position:absolute; left:50%; top:50%; max-width:none; object-fit:contain; object-position:center; transform-origin:center; }
#team .member:nth-child(1) .ph img { width:230%; height:230%; transform:translate(-50%,-15%); }
#team .member:nth-child(2) .ph img { width:165%; height:165%; transform:translate(-50%,-24%); }
#team .member:nth-child(3) .ph img { width:165%; height:165%; transform:translate(-50%,-27%); }
#team .member:nth-child(4) .ph img { width:160%; height:160%; transform:translate(-54%,-27%); }
#team .member:nth-child(5) .ph img { width:205%; height:205%; transform:translate(-50%,-22%); }
#team .member:nth-child(6) .ph img { width:190%; height:190%; transform:translate(-50%,-25%); }
#team .member:nth-child(7) .ph img { width:195%; height:195%; transform:translate(-54%,-23%); }
#team .member:nth-child(8) .ph img { width:88%; height:88%; transform:translate(-50%,-50%); }

#team .exit { width:100%; display:grid; grid-template-columns:auto 1fr; align-items:end; gap:22px; margin-top:46px; padding-top:30px; }
#team .exit .t { max-width:none; padding-bottom:7px; font-family:var(--ui); font-size:13px; letter-spacing:.08em; }
#team .advisor-label { display:flex; align-items:baseline; gap:14px; margin-top:34px; padding-top:26px; border-top:1px solid rgba(255,255,255,.14); }
#team .advisor-label span { color:var(--sun); font:700 10px/1 var(--ui); letter-spacing:.13em; text-transform:uppercase; }
#team .advisor-label strong { color:rgba(255,255,255,.78); font:500 14px/1.2 var(--ui); letter-spacing:.01em; }
#team .advisors { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:18px; }
#team .advisors span { min-height:112px; padding:16px; border:1px solid rgba(255,255,255,.1); border-radius:12px; background:rgba(255,255,255,.035); line-height:1.45; }
#team .advisors b { display:block; margin-bottom:4px; font-family:var(--ui); font-size:12px; font-weight:600; }

@media (max-width: 860px) {
  .hero-content { padding-left: var(--pad); padding-right: var(--pad); padding-bottom: 82px; }
  .hero h1 { max-width: 12ch; font-size: clamp(43px,8.5vw,68px); }
  .hero-scrim { background: linear-gradient(180deg,rgba(18,34,35,.12),transparent 28%,rgba(18,33,34,.78) 82%,rgba(18,33,34,.92)); }
  .hero-scan-hint { left: 50%; bottom: 23%; transform: translateX(-50%); }
  .journey-label { top: 88px; }
  .problem-focus-head { grid-template-columns: 1fr; gap: 22px; }
  .problem-focus-head h2 { max-width: 18ch; }
  .problem-focus-head .lead { margin-top:0; }
  .interactive-leg { min-height: 0; }
  .interactive-leg-footer { align-items: flex-start; }
  .scan-legend { max-width: 58%; }
  #team .advisors { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .hero { min-height: 620px; }
  .hero-content { padding-bottom: 80px; }
  .hero h1 { font-size: clamp(40px,12vw,55px); }
  .hero .lead { font-size: 15px; }
  .hero-scan-hint { bottom: 28%; white-space: nowrap; font-size: 7.5px; }
  .journey-label { max-width: 72%; font-size: 8px; line-height: 1.35; }
  .scrollcue { display: none; }
  #problem { padding-left: 12px; padding-right: 12px; }
  .interactive-leg-shell { border-radius: 18px; }
  .interactive-leg { --scan-radius: 84px; aspect-ratio: 3 / 2; }
  .scan-lock-status { top: 10px; right: 10px; max-width: 54%; font-size: 7.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .scan-prompt { bottom: 12px; padding: 8px 10px; font-size: 8px; }
  .annotation-card { width: 170px; padding: 11px 12px; }
  .annotation-card strong { font-size: 16px; }
  .annotation-card p { font-size: 9.5px; }
  .interactive-leg-footer { flex-direction: column; gap: 16px; padding: 16px; }
  .scan-legend { max-width: none; gap: 10px 16px; }
  .use-solvein { width: 100%; }
  .problem-proof { grid-template-columns: 1fr; }
  .problem-proof > div { padding: 17px 18px; }
  .solvein-treatment-device { width: 160px; }
  .treatment-result { bottom: 12px; padding: 10px 12px; }
  .treatment-result strong { font-size: 15px; }
  #team .member .ph { width: 130px; }

  .anatomy-3d-head { align-items:flex-start; flex-direction:column; padding:18px; }
  .anatomy-step-track { width:100%; overflow:auto; border-radius:16px; }
  .anatomy-step-track button { min-width:74px; padding:9px 10px; }
  .anatomy-3d-stage { height:620px; min-height:620px; }
  .anatomy-layer-tree { left:10px; top:10px; width:142px; padding:10px; }.anatomy-layer-tree button{padding:7px 5px;font-size:9px}
  .anatomy-hotspot { max-width:135px; font-size:7px; white-space:nowrap; }.anatomy-hotspot::after{width:13px}
  .anatomy-gesture { bottom:61px; }
  .anatomy-3d-footer { grid-template-columns:1fr; gap:12px; padding:17px; }
  .anatomy-journey-actions { order:3; }
  .anatomy-journey-actions button { flex:1; }
  #team .advisors { grid-template-columns:1fr; }
  #team .advisor-label { align-items:flex-start; flex-direction:column; gap:7px; }

  .solution-device-explainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 12px 0;
    border-radius: 17px;
  }
  .solution-device-diagram { grid-column: 1 / -1; }
  .device-label { position: static; min-width: 0; width: 100%; padding: 9px; }
  .device-label b { font-size: 9.5px; }
  .device-label small { font-size: 7.5px; }
  .device-explainer-footer { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 13px; margin: 4px -12px 0; padding: 14px 12px; }
  .device-detail strong { font-size: 15px; }
  .device-detail p { font-size: 9.5px; }
  .device-play { width: 100%; justify-content: center; }
}

@media (pointer: coarse) {
  .interactive-leg { cursor: default; }
  .device-label,.device-play,.anatomy-step-track button,.anatomy-journey-actions button,.use-solvein { min-height: 48px; touch-action: manipulation; }
  .device-label:active,.anatomy-step-track button:active,.use-solvein:active { transform: scale(.985); }
}

@media (prefers-reduced-motion: reduce) {
  .problem-cover-photo,
  .scan-prompt-dot { animation: none !important; }
  .scan-grid,
  .scan-prompt,
  .anatomy-annotation,
  .treatment-result,
  .use-solvein { transition-duration: .001s !important; }
  .anatomy-hotspot,.anatomy-loading,.anatomy-view-controls button { transition-duration:.001s !important; }
}
