:root {
  --ink: #102233;
  --ink-soft: #526678;
  --line: rgba(31, 112, 160, 0.14);
  --blue: #149fdf;
  --blue-deep: #0877bc;
  --cyan: #6edcff;
  --ice: #e8f6ff;
  --paper: #f8fbfd;
  --white: #ffffff;
  --navy: #071f33;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --header-height: 70px;
  --shadow-soft: 0 24px 80px rgba(43, 111, 151, 0.13);
  --shadow-float: 0 18px 52px rgba(28, 92, 132, 0.2);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 2%, rgba(151, 221, 255, 0.22), transparent 29rem),
    linear-gradient(180deg, #fbfdff 0%, #f5faff 42%, #ffffff 100%);
  overflow-x: hidden;
}

body.chat-open {
  overflow: hidden;
}

button,
textarea,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button:focus-visible,
a:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(20, 159, 223, 0.35);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-deep);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: max(8px, env(safe-area-inset-top)) 18px 8px;
  border-bottom: 1px solid rgba(94, 163, 204, 0.12);
  background: rgba(249, 252, 255, 0.78);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.brand-lockup {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 48px;
}

.brand-image-wrap {
  position: relative;
  display: block;
  width: 67px;
  height: 38px;
  overflow: hidden;
  border-radius: 8px;
}

.brand-image-wrap img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 86px;
  height: auto;
  transform: translate(-50%, -50%);
}

.brand-rule {
  width: 1px;
  height: 26px;
  margin: 0 10px 0 8px;
  background: rgba(19, 82, 121, 0.18);
}

.brand-wording {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-wording b {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.brand-wording small {
  color: #7291a8;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.desktop-nav {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-button,
.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(32, 119, 170, 0.16);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 5px 18px rgba(41, 110, 151, 0.06);
}

.language-button {
  gap: 6px;
  min-width: 67px;
  padding: 0 10px;
  border-radius: 99px;
  cursor: pointer;
  color: #667f91;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
}

.language-button span:first-child {
  color: var(--blue-deep);
}

html[lang^="en"] .language-button span:first-child {
  color: #667f91;
}

html[lang^="en"] .language-button span:last-child {
  color: var(--blue-deep);
}

.language-button i {
  width: 1px;
  height: 13px;
  background: rgba(32, 104, 145, 0.17);
}

.home-button {
  width: 40px;
  border-radius: 50%;
}

.home-button svg {
  width: 18px;
  fill: none;
  stroke: #557a94;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.hero-section {
  position: relative;
  isolation: isolate;
  padding: 54px 16px 60px;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.ambient-orb-one {
  top: 4%;
  right: -130px;
  width: 310px;
  height: 310px;
  background: radial-gradient(circle, rgba(87, 197, 251, 0.21), rgba(87, 197, 251, 0));
}

.ambient-orb-two {
  top: 550px;
  left: -150px;
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(58, 173, 229, 0.15), rgba(58, 173, 229, 0));
}

.hero-copy,
.section-heading,
.hero-footnote,
.principle-flow,
.complex-lab,
.origin-card,
.contact-card {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.hero-copy {
  margin-bottom: 30px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #4482a7;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 24px;
  height: 1px;
  background: currentColor;
}

.hero-copy h1 {
  max-width: 880px;
  margin: 0;
  color: #0a2538;
  font-size: clamp(39px, 12vw, 76px);
  font-weight: 580;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-copy h1 span,
.hero-copy h1 em {
  display: inline;
}

.hero-copy h1 em {
  position: relative;
  color: var(--blue-deep);
  font-style: normal;
  white-space: nowrap;
}

.hero-copy h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.03em;
  left: 0;
  z-index: -1;
  height: 0.2em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(93, 211, 255, 0.08), rgba(93, 211, 255, 0.42));
}

.hero-copy > p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.demo-shell {
  position: relative;
  width: min(100%, 1120px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(55, 142, 193, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(45, 127, 174, 0.1);
  background: rgba(255, 255, 255, 0.82);
}

.lab-status,
.vector-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5c788b;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.status-light {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29bff5;
  box-shadow: 0 0 0 4px rgba(41, 191, 245, 0.12), 0 0 13px rgba(41, 191, 245, 0.55);
}

.status-light::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(41, 191, 245, 0.35);
  border-radius: 50%;
  animation: statusPulse 2s ease-out infinite;
}

.vector-label svg {
  width: 14px;
  fill: #41baf0;
}

.stage-viewport {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  touch-action: pan-y;
  background: linear-gradient(145deg, #fbfeff, #e8f6ff);
}

.stage-grid,
.molecule-grid {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(58, 152, 204, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 152, 204, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, transparent 0, #000 28%, #000 80%, transparent 100%);
}

.focus-coordinate {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: grid;
  width: 61px;
  height: 61px;
  place-items: center;
  border-top: 1px solid rgba(31, 128, 184, 0.24);
  border-right: 1px solid rgba(31, 128, 184, 0.24);
  color: rgba(25, 102, 147, 0.52);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.zoom-layer,
.scene-camera {
  position: absolute;
  inset: 0;
  transform-origin: 54% 66%;
  will-change: transform;
}

.zoom-layer {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scene-camera {
  transition: transform 1.7s cubic-bezier(0.2, 0.76, 0.16, 1);
}

.scene-svg {
  width: 100%;
  height: 100%;
}

.ambient-ring {
  fill: none;
  stroke: #6fcdf8;
  stroke-width: 1;
  opacity: 0.22;
  transform-origin: 536px 194px;
  animation: orbitPulse 5s ease-in-out infinite;
}

.ring-two {
  animation-delay: -1.2s;
}

.ring-three {
  animation-delay: -2.4s;
}

.scan-line {
  fill: none;
  stroke: #55c8f7;
  stroke-width: 1;
  opacity: 0.15;
  stroke-dasharray: 5 13;
  animation: scanDash 12s linear infinite;
}

.bottle {
  transform-origin: 190px 407px;
  transition: opacity 1s ease, transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bottle-word {
  fill: #347fa8;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.spray-stream {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.spray-stream path {
  fill: none;
  stroke: #65d6fb;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1 19;
}

.spray-stream circle {
  fill: #65d6fb;
  opacity: 0.75;
}

.skin-section {
  filter: drop-shadow(0 -13px 30px rgba(104, 84, 93, 0.08));
}

.tissue-cells circle {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.wound-bed,
.wound-highlight {
  transition: opacity 1.2s ease, transform 1.3s ease;
  transform-origin: 380px 485px;
}

.scab {
  opacity: 0;
  transform: scaleX(0.42) translateY(8px);
  transform-origin: 383px 486px;
  transition: opacity 1.8s ease 0.3s, transform 2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s;
}

.focus-lens {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.focus-lens circle:nth-child(2),
.focus-lens path {
  fill: none;
  stroke: #32b9f0;
  stroke-width: 4;
  stroke-linecap: round;
}

.focus-lens circle:nth-child(2) {
  stroke-dasharray: 9 8;
  animation: lensSpin 10s linear infinite;
  transform-origin: 379px 482px;
}

.barrier-network {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.barrier-network path {
  fill: none;
  stroke: #40c9fb;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
}

.barrier-network circle {
  fill: #dff9ff;
  stroke: #31bcec;
  stroke-width: 2;
  opacity: 0;
}

.microbe,
.block-arrows {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.microbe > circle,
.microbe > ellipse {
  fill: #ff9a8c;
  stroke: #d95d65;
  stroke-width: 3;
}

.microbe > path {
  fill: none;
  stroke: #d95d65;
  stroke-width: 3;
  stroke-linecap: round;
}

.microbe .microbe-dot {
  fill: #c84c5a;
  stroke: none;
}

.microbe-two > ellipse {
  fill: #9c9df0;
  stroke: #6d6ec3;
}

.microbe-two > path {
  stroke: #6d6ec3;
}

.block-arrows path {
  fill: none;
  stroke: #d36368;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4 6;
}

.complex-badge,
.scene-caption {
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  transform-origin: 486px 242px;
  transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.complex-halo {
  fill: rgba(232, 249, 255, 0.92);
  stroke: #66d3fb;
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
}

.protein-lobe {
  fill: rgba(92, 202, 241, 0.24);
  stroke: #27afe8;
  stroke-width: 4;
}

.iron-orb {
  fill: url(#ironCore);
  stroke: #fff;
  stroke-width: 3;
  filter: drop-shadow(0 5px 10px rgba(195, 70, 40, 0.3));
}

.iron-label {
  fill: #fff;
  font-size: 13px;
  font-weight: 800;
}

.bond-node {
  fill: #fff;
  stroke: #24aee7;
  stroke-width: 2;
}

.bond-line {
  fill: none;
  stroke: #26aee7;
  stroke-width: 2;
  stroke-dasharray: 3 3;
}

.scene-caption rect {
  fill: rgba(255, 255, 255, 0.9);
  stroke: rgba(37, 166, 222, 0.3);
}

.scene-caption circle {
  fill: #3ac2f2;
  filter: drop-shadow(0 0 5px #3ac2f2);
}

.caption-kicker {
  fill: #5b8da8;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.caption-main {
  fill: #0b719f;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.stage-viewport.stage-0 .spray-stream {
  opacity: 0.9;
}

.stage-viewport.stage-0 .bottle {
  animation: bottleSpray 2.2s ease-in-out infinite;
}

.stage-viewport.stage-0 .spray-stream path {
  animation: sprayDash 1.4s linear infinite;
}

.stage-viewport.stage-0 .spray-stream circle {
  animation: dropletFall 1.5s ease-in infinite;
  transform-origin: 400px 250px;
}

.stage-viewport.stage-1 .scene-camera {
  transform: scale(1.17) translate(-2%, -7%);
}

.stage-viewport.stage-1 .bottle {
  opacity: 0.52;
  transform: translate(-28px, -15px);
}

.stage-viewport.stage-1 .focus-lens {
  opacity: 1;
}

.stage-viewport.stage-1 .spray-stream {
  opacity: 0.24;
}

.stage-viewport.stage-2 .scene-camera,
.stage-viewport.stage-3 .scene-camera {
  transform: scale(1.43) translate(-5%, -15%);
}

.stage-viewport.stage-2 .bottle,
.stage-viewport.stage-3 .bottle {
  opacity: 0.08;
  transform: translate(-84px, -26px) scale(0.95);
}

.stage-viewport.stage-2 .focus-lens,
.stage-viewport.stage-3 .focus-lens {
  opacity: 0.32;
}

.stage-viewport.stage-2 .barrier-network,
.stage-viewport.stage-3 .barrier-network {
  opacity: 1;
}

.stage-viewport.stage-2 .barrier-network path,
.stage-viewport.stage-3 .barrier-network path {
  animation: drawNetwork 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.stage-viewport.stage-2 .barrier-network circle,
.stage-viewport.stage-3 .barrier-network circle {
  animation: revealNodes 0.65s ease 1.1s forwards;
}

.stage-viewport.stage-2 .complex-badge,
.stage-viewport.stage-3 .complex-badge,
.stage-viewport.stage-2 .scene-caption,
.stage-viewport.stage-3 .scene-caption {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stage-viewport.stage-2 .complex-halo,
.stage-viewport.stage-3 .complex-halo {
  animation: badgeSpin 12s linear infinite;
}

.stage-viewport.stage-2 .iron-orb,
.stage-viewport.stage-3 .iron-orb {
  animation: ironPulse 2.2s ease-in-out infinite;
}

.stage-viewport.stage-3 .microbe,
.stage-viewport.stage-3 .block-arrows {
  opacity: 1;
}

.stage-viewport.stage-3 .microbe-one {
  animation: microbeBlockedOne 2s ease-in-out infinite;
}

.stage-viewport.stage-3 .microbe-two {
  animation: microbeBlockedTwo 2.35s ease-in-out infinite -0.6s;
}

.stage-viewport.stage-3 .microbe-three {
  animation: microbeBlockedOne 1.8s ease-in-out infinite -0.4s;
}

.stage-viewport.stage-3 .scab {
  opacity: 0.92;
  transform: scaleX(1) translateY(0);
}

.stage-viewport.stage-3 .wound-bed {
  opacity: 0.64;
  transform: scaleX(0.74) translateY(3px);
}

.stage-viewport.stage-3 .wound-highlight {
  opacity: 0.22;
  transform: scaleX(0.76);
}

.stage-readout {
  position: absolute;
  z-index: 8;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 76px;
  padding: 13px 76px 13px 15px;
  border: 1px solid rgba(48, 142, 194, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 15px 35px rgba(38, 105, 144, 0.12);
  backdrop-filter: blur(17px) saturate(140%);
  -webkit-backdrop-filter: blur(17px) saturate(140%);
}

.readout-index {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #2fc2f4, #087bbd);
  box-shadow: 0 7px 15px rgba(22, 151, 213, 0.25);
  font-size: 10px;
  font-weight: 760;
}

.stage-readout b {
  display: block;
  margin: 0 0 4px;
  color: #143247;
  font-size: 14px;
  font-weight: 680;
}

.stage-readout p {
  margin: 0;
  color: #6a8090;
  font-size: 11px;
  line-height: 1.5;
}

.zoom-badge {
  position: absolute;
  z-index: 9;
  top: 16px;
  left: 16px;
  padding: 6px 9px;
  border: 1px solid rgba(45, 143, 196, 0.17);
  border-radius: 7px;
  color: #3b7b9f;
  background: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.demo-controls {
  position: relative;
  padding: 15px;
  background: #fff;
}

.stage-progress {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: #edf5f9;
}

.stage-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #6ad9ff, #0989cc);
  box-shadow: 0 0 10px rgba(45, 190, 244, 0.5);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.step-list button {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 51px;
  padding: 7px 2px;
  border: 0;
  border-radius: 11px;
  color: #88a0af;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.step-list button span {
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.step-list button b {
  font-size: 11px;
  font-weight: 600;
}

.step-list button[aria-selected="true"] {
  color: #067dbd;
  background: #eef9ff;
}

.control-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.play-button,
.fullscreen-button,
.zoom-controls {
  border: 1px solid rgba(50, 127, 171, 0.15);
  background: #f9fcfe;
}

.play-button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 82px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  cursor: pointer;
  color: #316b8c;
  font-size: 11px;
  font-weight: 650;
}

.play-button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.play-button .icon-play {
  display: none;
}

.play-button.is-paused .icon-pause {
  display: none;
}

.play-button.is-paused .icon-play {
  display: block;
}

.zoom-controls {
  display: flex;
  height: 40px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 12px;
}

.zoom-controls button {
  min-width: 38px;
  border: 0;
  border-right: 1px solid rgba(50, 127, 171, 0.12);
  background: transparent;
  cursor: pointer;
  color: #4f7890;
  font-size: 16px;
}

.zoom-controls button:last-child {
  border-right: 0;
}

.zoom-controls #zoomReset {
  min-width: 42px;
  font-size: 9px;
  font-weight: 750;
}

.fullscreen-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  cursor: pointer;
}

.fullscreen-button svg {
  width: 17px;
  fill: none;
  stroke: #4f7890;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.demo-shell:fullscreen {
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
  background: #f8fcff;
}

.demo-shell:fullscreen .stage-viewport {
  height: calc(100vh - 166px);
  aspect-ratio: auto;
}

.hero-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 17px;
  color: #7a8e9d;
  font-size: 10px;
  line-height: 1.5;
}

.hero-footnote > span {
  max-width: 55%;
}

.hero-footnote a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1a789f;
  font-weight: 650;
}

.hero-footnote a b {
  font-size: 15px;
}

.principle-section {
  padding: 78px 16px 90px;
  background: #fff;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.philosophy-copy h2,
.origin-card h2,
.contact-copy h2 {
  margin: 0;
  color: #0a293d;
  font-size: clamp(30px, 8.7vw, 56px);
  font-weight: 580;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 730px;
  margin: 18px 0 0;
  color: #607486;
  font-size: 14px;
  line-height: 1.85;
}

.complex-lab {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(40, 130, 180, 0.14);
  border-radius: 27px;
  background: linear-gradient(145deg, #f4fbff, #e8f6fe);
  box-shadow: 0 22px 60px rgba(43, 120, 161, 0.1);
}

.complex-copy {
  padding: 27px 24px 26px;
}

.complex-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #56839c;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.complex-state i {
  width: 7px;
  height: 7px;
  border: 1.5px solid #25aee7;
  border-radius: 50%;
}

.complex-lab[data-bound="true"] .complex-state {
  color: #0787c4;
}

.complex-lab[data-bound="true"] .complex-state i {
  background: #2cc2ef;
  box-shadow: 0 0 0 5px rgba(44, 194, 239, 0.13), 0 0 14px #50cdf3;
}

.complex-copy h3 {
  margin: 18px 0 12px;
  color: #103348;
  font-size: 24px;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.complex-copy p {
  margin: 0;
  color: #647b8c;
  font-size: 13px;
  line-height: 1.75;
}

.bind-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 148px;
  height: 48px;
  margin-top: 22px;
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #20b9ed, #087dbf);
  box-shadow: 0 13px 24px rgba(16, 142, 204, 0.24);
  cursor: pointer;
  font-size: 12px;
  font-weight: 670;
  letter-spacing: 0.03em;
}

.bind-button svg,
.contact-cta svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 0.25s ease;
}

.bind-button:hover svg,
.contact-cta:hover svg {
  transform: translateX(4px);
}

.molecule-stage {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border-top: 1px solid rgba(36, 137, 190, 0.12);
  background:
    radial-gradient(circle at 55% 49%, rgba(86, 206, 250, 0.24), transparent 32%),
    rgba(255, 255, 255, 0.46);
}

.molecule-grid {
  mask-image: radial-gradient(circle, #000, transparent 73%);
}

.micro-label {
  position: absolute;
  z-index: 5;
  padding: 6px 8px;
  border: 1px solid rgba(35, 132, 182, 0.15);
  border-radius: 7px;
  color: #6991a7;
  background: rgba(255, 255, 255, 0.68);
  font-size: 7px;
  font-weight: 780;
  letter-spacing: 0.13em;
}

.label-protein {
  top: 21px;
  left: 20px;
}

.label-iron {
  right: 20px;
  bottom: 21px;
}

.protein-model {
  position: absolute;
  top: 50%;
  left: 42%;
  width: 190px;
  height: 190px;
  transform: translate(-50%, -50%);
}

.protein-wing {
  position: absolute;
  top: 23px;
  width: 89px;
  height: 145px;
  border: 2px solid rgba(23, 159, 215, 0.7);
  background: linear-gradient(145deg, rgba(150, 229, 255, 0.5), rgba(53, 177, 225, 0.17));
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.7), 0 15px 28px rgba(28, 132, 177, 0.13);
  transition: transform 1.1s cubic-bezier(0.2, 0.85, 0.2, 1), border-color 0.8s ease;
}

.protein-wing-left {
  left: 0;
  border-radius: 71% 28% 56% 37% / 48% 33% 66% 52%;
  transform: rotate(-18deg) translateX(-16px);
  transform-origin: 100% 50%;
}

.protein-wing-right {
  right: 0;
  border-radius: 28% 71% 37% 56% / 33% 48% 52% 66%;
  transform: rotate(18deg) translateX(16px);
  transform-origin: 0 50%;
}

.protein-wing i {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(36, 169, 220, 0.48);
  border-radius: 50%;
}

.protein-wing i:nth-child(1) {
  top: 28px;
  left: 26px;
}

.protein-wing i:nth-child(2) {
  top: 74px;
  left: 43px;
}

.protein-wing i:nth-child(3) {
  top: 108px;
  left: 21px;
}

.binding-field {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
}

.binding-field::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px dashed rgba(41, 170, 221, 0.6);
  border-radius: 50%;
  animation: fieldSpin 7s linear infinite;
}

.binding-field span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5bd4f7;
  box-shadow: 0 0 9px #5bd4f7;
}

.binding-field span:nth-child(1) { transform: translate(-29px, -3px); }
.binding-field span:nth-child(2) { transform: translate(23px, -3px); }
.binding-field span:nth-child(3) { transform: translate(-3px, 23px); }

.iron-model {
  position: absolute;
  z-index: 7;
  top: 65%;
  left: 82%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 35% 28%, #ffe8bf 0, #ffac5e 34%, #df5338 70%, #a92d2a 100%);
  box-shadow: 0 13px 24px rgba(174, 69, 45, 0.28), 0 0 0 9px rgba(239, 116, 74, 0.08);
  transform: translate(-50%, -50%);
  transition: top 1.2s cubic-bezier(0.2, 0.85, 0.2, 1), left 1.2s cubic-bezier(0.2, 0.85, 0.2, 1), transform 1.2s ease;
}

.iron-model span {
  font-size: 16px;
  font-weight: 800;
}

.stability-rings {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 42%;
  width: 230px;
  height: 230px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.65);
  transition: opacity 0.8s ease 0.55s, transform 1.1s ease 0.5s;
}

.stability-rings i {
  position: absolute;
  border: 1px solid rgba(44, 189, 238, 0.35);
  border-radius: 50%;
}

.stability-rings i:nth-child(1) { inset: 0; }
.stability-rings i:nth-child(2) { inset: 20px; border-style: dashed; }
.stability-rings i:nth-child(3) { inset: 44px; }

.molecule-result {
  position: absolute;
  z-index: 10;
  right: 21px;
  bottom: 20px;
  display: grid;
  justify-items: end;
  gap: 3px;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.6s ease 0.75s, transform 0.7s ease 0.75s;
}

.molecule-result span {
  color: #72a0b6;
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.molecule-result b {
  color: #087db8;
  font-size: 13px;
  font-weight: 680;
}

.complex-lab[data-bound="true"] .protein-wing-left {
  border-color: rgba(25, 171, 224, 0.92);
  transform: rotate(-4deg) translateX(5px);
}

.complex-lab[data-bound="true"] .protein-wing-right {
  border-color: rgba(25, 171, 224, 0.92);
  transform: rotate(4deg) translateX(-5px);
}

.complex-lab[data-bound="true"] .iron-model {
  top: 50%;
  left: 42%;
  transform: translate(-50%, -50%) scale(0.77);
  animation: boundPulse 2.4s ease-in-out 1.2s infinite;
}

.complex-lab[data-bound="true"] .stability-rings {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.complex-lab[data-bound="true"] .stability-rings i:nth-child(2) {
  animation: fieldSpin 10s linear infinite;
}

.complex-lab[data-bound="true"] .molecule-result {
  opacity: 1;
  transform: translateY(0);
}

.complex-lab[data-bound="true"] .label-iron {
  opacity: 0;
}

.principle-flow {
  display: grid;
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(37, 121, 169, 0.12);
  border-radius: 24px;
  background: rgba(37, 121, 169, 0.11);
}

.principle-flow article {
  position: relative;
  min-height: 213px;
  padding: 25px 24px;
  background: #fbfdff;
}

.flow-number {
  position: absolute;
  top: 25px;
  right: 24px;
  color: #afd1e3;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.flow-icon {
  display: grid;
  width: 49px;
  height: 49px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: #169ed8;
  background: #eaf8ff;
}

.flow-icon svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.principle-flow h3 {
  margin: 0 0 10px;
  color: #14344a;
  font-size: 17px;
  font-weight: 650;
}

.principle-flow p {
  margin: 0;
  color: #6d8291;
  font-size: 12px;
  line-height: 1.7;
}

.flow-arrow {
  display: none;
}

.philosophy-section {
  display: grid;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 22% 42%, rgba(51, 180, 235, 0.23), transparent 31rem),
    linear-gradient(145deg, #061c2c, #0a3150 72%, #0d4565);
}

.philosophy-visual {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shell-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 310px;
  height: 310px;
  transform: translate(-50%, -50%);
}

.shell-lines i {
  position: absolute;
  border: 1px solid rgba(108, 220, 255, 0.24);
  border-radius: 50% 48% 54% 45%;
  transform: rotate(-22deg);
  animation: shellBreathe 5s ease-in-out infinite;
}

.shell-lines i:nth-child(1) { inset: 0; }
.shell-lines i:nth-child(2) { inset: 27px; animation-delay: -0.5s; }
.shell-lines i:nth-child(3) { inset: 54px; animation-delay: -1s; }
.shell-lines i:nth-child(4) { inset: 81px; animation-delay: -1.5s; }
.shell-lines i:nth-child(5) { inset: 108px; animation-delay: -2s; }

.protected-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 1px solid rgba(126, 226, 255, 0.52);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 201, 244, 0.28), rgba(36, 146, 192, 0.08));
  box-shadow: 0 0 70px rgba(48, 191, 236, 0.25), inset 0 0 28px rgba(103, 216, 249, 0.18);
  transform: translate(-50%, -50%);
}

.protected-core span {
  position: absolute;
  inset: -13px;
  border: 1px dashed rgba(110, 220, 255, 0.32);
  border-radius: 50%;
  animation: fieldSpin 14s linear infinite;
}

.protected-core b {
  color: #b8efff;
  font-size: 9px;
  font-weight: 720;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-align: center;
}

.boundary-label {
  position: absolute;
  right: 21px;
  bottom: 21px;
  color: rgba(184, 235, 252, 0.46);
  font-size: 8px;
  font-weight: 760;
  line-height: 1.55;
  letter-spacing: 0.16em;
  text-align: right;
}

.philosophy-copy {
  padding: 54px 22px 64px;
}

.eyebrow-light {
  color: #7edcfa;
}

.philosophy-copy h2 {
  color: #fff;
}

.philosophy-copy > p {
  margin: 22px 0 0;
  color: rgba(223, 241, 250, 0.72);
  font-size: 14px;
  line-height: 1.9;
}

.philosophy-copy blockquote {
  margin: 29px 0 0;
  padding: 0 0 0 18px;
  border-left: 2px solid #4ac7f2;
  color: #c8f2ff;
  font-size: 16px;
  font-weight: 540;
  line-height: 1.7;
}

.principle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.principle-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(129, 221, 250, 0.17);
  border-radius: 99px;
  color: rgba(214, 244, 253, 0.7);
  background: rgba(103, 211, 245, 0.07);
  font-size: 10px;
}

.origin-section {
  padding: 72px 16px 36px;
  background: #fff;
}

.origin-card {
  position: relative;
  padding: 35px 24px 30px;
  overflow: hidden;
  border: 1px solid rgba(51, 135, 183, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(237, 249, 255, 0.9), rgba(255, 255, 255, 0.95)),
    #fff;
}

.origin-card::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(42, 167, 221, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(42, 167, 221, 0.04), 0 0 0 54px rgba(42, 167, 221, 0.025);
}

.origin-index,
.contact-kicker {
  display: block;
  margin-bottom: 17px;
  color: #4990b7;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.15em;
}

.origin-card > p {
  margin: 19px 0 0;
  color: #607889;
  font-size: 13px;
  line-height: 1.85;
}

.origin-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid rgba(47, 132, 178, 0.12);
  border-radius: 17px;
  background: rgba(47, 132, 178, 0.12);
}

.origin-data div {
  display: grid;
  min-height: 89px;
  align-content: center;
  justify-items: center;
  padding: 12px 5px;
  background: rgba(255, 255, 255, 0.75);
}

.origin-data b {
  color: #0c87c2;
  font-size: 24px;
  font-weight: 550;
}

.origin-data span {
  margin-top: 4px;
  color: #7890a0;
  font-size: 8px;
  text-align: center;
}

.contact-section {
  padding: 30px 16px 86px;
  background: #fff;
}

.contact-card {
  display: grid;
  padding: 27px 23px 24px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 3%, rgba(104, 219, 255, 0.3), transparent 18rem),
    linear-gradient(145deg, #09263c, #0c5076);
  box-shadow: 0 25px 70px rgba(8, 57, 88, 0.18);
}

.contact-person {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.contact-person img {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.online-dot {
  position: absolute;
  right: 2px;
  bottom: 4px;
  width: 14px;
  height: 14px;
  border: 3px solid #0b3f5f;
  border-radius: 50%;
  background: #54e4aa;
}

.contact-kicker {
  color: #83dcf8;
}

.contact-copy h2 {
  color: #fff;
  font-size: clamp(28px, 8vw, 43px);
}

.contact-copy p {
  margin: 15px 0 0;
  color: rgba(224, 242, 250, 0.73);
  font-size: 13px;
  line-height: 1.8;
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  margin-top: 25px;
  padding: 0 18px;
  border: 0;
  border-radius: 15px;
  color: #0b567b;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
  cursor: pointer;
  font-size: 13px;
  font-weight: 680;
}

.site-footer {
  display: grid;
  gap: 19px;
  padding: 32px 20px calc(112px + var(--safe-bottom));
  border-top: 1px solid rgba(47, 132, 178, 0.1);
  color: #758a99;
  background: #f8fbfd;
  font-size: 10px;
  line-height: 1.65;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 11px;
}

.footer-brand b {
  color: #1b4964;
  font-size: 16px;
  font-weight: 670;
  letter-spacing: 0.12em;
}

.footer-brand span {
  color: #7190a2;
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.14em;
}

.site-footer p {
  max-width: 670px;
  margin: 0;
}

.site-footer > a:last-child {
  color: #267ea8;
  font-weight: 650;
}

.assistant-fab {
  position: fixed;
  z-index: 310;
  right: 16px;
  bottom: calc(18px + var(--safe-bottom));
  display: flex;
  align-items: center;
  width: 62px;
  height: 62px;
  padding: 6px;
  border: 1px solid rgba(56, 150, 202, 0.17);
  border-radius: 35px;
  color: #16405a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.assistant-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(28, 92, 132, 0.25);
}

body.chat-open .assistant-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

.assistant-fab img {
  position: relative;
  z-index: 2;
  width: 49px;
  height: 49px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.fab-pulse {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 49px;
  height: 49px;
  border: 1px solid rgba(34, 178, 230, 0.55);
  border-radius: 50%;
  animation: fabPulse 2.3s ease-out infinite;
}

.fab-label {
  display: none;
  gap: 3px;
  margin: 0 9px 0 10px;
  text-align: left;
}

.fab-label b {
  font-size: 12px;
  font-weight: 680;
}

.fab-label small {
  color: #7290a2;
  font-size: 8px;
}

.assistant-fab > i {
  position: absolute;
  z-index: 3;
  right: 3px;
  bottom: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39d497;
  box-shadow: 0 0 0 3px rgba(57, 212, 151, 0.13);
}

.chat-backdrop {
  position: fixed;
  z-index: 400;
  inset: 0;
  opacity: 0;
  background: rgba(5, 27, 43, 0.36);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

.chat-backdrop.is-visible {
  opacity: 1;
}

.chat-panel {
  position: fixed;
  z-index: 410;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  max-height: min(88dvh, 760px);
  min-height: min(78dvh, 670px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(54, 139, 187, 0.15);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: #f8fbfd;
  box-shadow: 0 -24px 70px rgba(5, 47, 74, 0.22);
  transform: translateY(103%);
  transition: transform 0.42s cubic-bezier(0.2, 0.82, 0.2, 1);
}

.chat-panel.is-open {
  transform: translateY(0);
}

.chat-handle {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 50%;
  width: 38px;
  height: 4px;
  border-radius: 99px;
  background: #c7d7e0;
  transform: translateX(-50%);
}

.chat-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 23px 18px 14px;
  border-bottom: 1px solid rgba(45, 130, 178, 0.1);
  background: rgba(255, 255, 255, 0.85);
}

.chat-profile {
  display: flex;
  align-items: center;
  gap: 11px;
}

.chat-profile img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-profile > span {
  display: grid;
  gap: 4px;
}

.chat-profile b {
  color: #17394e;
  font-size: 13px;
  font-weight: 680;
}

.chat-profile small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6f8797;
  font-size: 9px;
}

.chat-profile small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #41d99c;
  box-shadow: 0 0 0 3px rgba(65, 217, 156, 0.12);
}

.chat-close {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #edf5f9;
  cursor: pointer;
}

.chat-close svg {
  width: 17px;
  fill: none;
  stroke: #59778b;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.chat-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  padding: 19px 16px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.message {
  display: flex;
  gap: 9px;
  max-width: 93%;
}

.message > img {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.message > div {
  min-width: 0;
}

.message p,
.typing-dots {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(49, 132, 179, 0.1);
  border-radius: 5px 17px 17px 17px;
  color: #3d586a;
  background: #fff;
  box-shadow: 0 8px 25px rgba(42, 109, 148, 0.06);
  font-size: 12px;
  line-height: 1.68;
  white-space: pre-wrap;
}

.message time {
  display: block;
  margin-top: 5px;
  color: #9babb5;
  font-size: 8px;
}

.message-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-user > img {
  display: none;
}

.message-user p {
  border: 0;
  border-radius: 17px 5px 17px 17px;
  color: #fff;
  background: linear-gradient(135deg, #26b6e9, #0b83c2);
  box-shadow: 0 9px 24px rgba(15, 140, 201, 0.19);
}

.message-user time {
  text-align: right;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-left: 39px;
}

.quick-prompts button {
  min-height: 35px;
  padding: 7px 11px;
  border: 1px solid rgba(27, 137, 195, 0.16);
  border-radius: 99px;
  color: #317493;
  background: rgba(236, 248, 254, 0.8);
  cursor: pointer;
  font-size: 10px;
}

.typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 54px;
  min-height: 42px;
}

.typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #78a5bc;
  animation: typing 1.2s ease-in-out infinite;
}

.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }

.contact-reveal {
  padding: 17px;
  border: 1px solid rgba(39, 141, 194, 0.13);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f0faff);
  box-shadow: 0 12px 30px rgba(41, 114, 154, 0.08);
  animation: contactReveal 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.contact-reveal-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #50d9b1, #20b281);
  box-shadow: 0 7px 15px rgba(41, 184, 140, 0.2);
  font-size: 14px;
}

.contact-reveal-head > div {
  display: grid;
  gap: 3px;
}

.contact-reveal-head b {
  color: #183d52;
  font-size: 12px;
}

.contact-reveal-head small {
  color: #758c9b;
  font-size: 9px;
}

.channel-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 16px 0 13px;
  padding: 4px;
  border-radius: 12px;
  background: #eaf3f7;
}

.channel-tabs button {
  min-height: 35px;
  border: 0;
  border-radius: 9px;
  color: #728895;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 660;
}

.channel-tabs button[aria-selected="true"] {
  color: #157aa6;
  background: #fff;
  box-shadow: 0 4px 12px rgba(40, 104, 140, 0.1);
}

.qr-stage {
  position: relative;
  width: min(68vw, 220px);
  margin: 0 auto;
  padding: 12px;
  background: #fff;
}

.qr-stage img {
  width: 100%;
  height: auto;
}

.qr-corners::before,
.qr-corners::after,
.qr-stage::before,
.qr-stage::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #28b3e8;
  border-style: solid;
}

.qr-stage::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
.qr-stage::after { top: 0; right: 0; border-width: 2px 2px 0 0; }
.qr-corners::before { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.qr-corners::after { right: 0; bottom: 0; border-width: 0 2px 2px 0; }

.contact-reveal > p {
  margin: 11px 0 0;
  color: #7c909e;
  font-size: 9px;
  text-align: center;
}

.restart-chat {
  display: block;
  margin: 14px auto 0;
  border: 0;
  color: #3880a3;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chat-composer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 44px;
  flex: 0 0 auto;
  gap: 8px;
  padding: 11px 13px calc(11px + var(--safe-bottom));
  border-top: 1px solid rgba(45, 130, 178, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.chat-composer textarea {
  min-height: 44px;
  max-height: 104px;
  padding: 12px 14px;
  resize: none;
  border: 1px solid rgba(46, 127, 172, 0.14);
  border-radius: 14px;
  outline: 0;
  color: #294a5e;
  background: #f5f9fb;
  font-size: 12px;
  line-height: 1.55;
}

.chat-composer textarea::placeholder {
  color: #92a5b1;
}

.chat-composer > button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #28b9ec, #087fbe);
  box-shadow: 0 9px 20px rgba(19, 142, 201, 0.2);
  cursor: pointer;
}

.chat-composer > button:disabled {
  opacity: 0.45;
  cursor: wait;
}

.chat-composer > button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.privacy-note {
  grid-column: 1 / -1;
  margin: -1px 3px 0;
  color: #9aacb7;
  font-size: 8px;
}

.chat-composer.is-complete {
  display: none;
}

.toast {
  position: fixed;
  z-index: 1000;
  top: calc(var(--header-height) + 14px);
  left: 50%;
  max-width: calc(100vw - 40px);
  padding: 10px 15px;
  border-radius: 10px;
  color: #fff;
  background: rgba(8, 39, 58, 0.91);
  box-shadow: 0 12px 32px rgba(4, 36, 56, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 11px;
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes statusPulse {
  0% { opacity: 0.65; transform: scale(0.55); }
  75%, 100% { opacity: 0; transform: scale(1.45); }
}

@keyframes orbitPulse {
  0%, 100% { opacity: 0.12; transform: scale(0.96); }
  50% { opacity: 0.32; transform: scale(1.04); }
}

@keyframes scanDash {
  to { stroke-dashoffset: -360; }
}

@keyframes lensSpin {
  to { transform: rotate(360deg); }
}

@keyframes bottleSpray {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  18% { transform: rotate(1.5deg) translateY(1px); }
  26% { transform: rotate(-1deg) translateY(-2px); }
  34% { transform: rotate(0deg) translateY(0); }
}

@keyframes sprayDash {
  to { stroke-dashoffset: -120; }
}

@keyframes dropletFall {
  0% { opacity: 0; transform: translate(-10px, -16px) scale(0.7); }
  35% { opacity: 0.8; }
  100% { opacity: 0; transform: translate(16px, 45px) scale(1.15); }
}

@keyframes drawNetwork {
  to { stroke-dashoffset: 0; }
}

@keyframes revealNodes {
  to { opacity: 1; }
}

@keyframes badgeSpin {
  to { transform: rotate(360deg); }
}

@keyframes ironPulse {
  0%, 100% { transform: scale(0.94); }
  50% { transform: scale(1.08); }
}

@keyframes microbeBlockedOne {
  0%, 100% { transform: translate(313px, 385px); }
  50% { transform: translate(313px, 399px); }
}

@keyframes microbeBlockedTwo {
  0%, 100% { transform: translate(405px, 363px); }
  50% { transform: translate(405px, 379px); }
}

@keyframes fieldSpin {
  to { transform: rotate(360deg); }
}

@keyframes boundPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.77); }
  50% { transform: translate(-50%, -50%) scale(0.83); }
}

@keyframes shellBreathe {
  0%, 100% { opacity: 0.45; transform: rotate(-22deg) scale(0.98); }
  50% { opacity: 0.9; transform: rotate(-20deg) scale(1.02); }
}

@keyframes fabPulse {
  0% { opacity: 0.55; transform: scale(0.85); }
  80%, 100% { opacity: 0; transform: scale(1.42); }
}

@keyframes typing {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

@keyframes contactReveal {
  from { opacity: 0; transform: translateY(15px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 700px) {
  :root {
    --header-height: 78px;
  }

  .site-header {
    padding-inline: 32px;
  }

  .brand-image-wrap {
    width: 76px;
    height: 42px;
  }

  .brand-image-wrap img {
    width: 96px;
  }

  .brand-wording b {
    font-size: 17px;
  }

  .hero-section {
    padding: 80px 32px 86px;
  }

  .hero-copy {
    margin-bottom: 43px;
  }

  .hero-copy h1 {
    max-width: 900px;
  }

  .demo-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 245px;
  }

  .demo-topbar {
    grid-column: 1 / -1;
    padding-inline: 22px;
  }

  .stage-viewport {
    aspect-ratio: 1 / 1;
  }

  .demo-controls {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 22px 16px;
    border-left: 1px solid rgba(45, 127, 174, 0.1);
  }

  .stage-progress {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 2px;
    height: auto;
  }

  .stage-progress i {
    width: 100%;
    height: 0;
  }

  .step-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step-list button {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    justify-items: start;
    min-height: 59px;
    padding: 8px 12px;
    text-align: left;
  }

  .step-list button span {
    grid-row: 1;
    font-size: 9px;
  }

  .step-list button b {
    grid-column: 2;
    grid-row: 1;
    font-size: 12px;
  }

  .control-row {
    margin-top: auto;
    flex-wrap: wrap;
  }

  .play-button {
    width: 100%;
    justify-content: center;
  }

  .zoom-controls {
    margin-left: 0;
  }

  .stage-readout {
    right: 22px;
    bottom: 22px;
    left: 22px;
    max-width: 420px;
    padding-right: 15px;
  }

  .complex-lab {
    grid-template-columns: 0.82fr 1.18fr;
    min-height: 440px;
  }

  .complex-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
  }

  .molecule-stage {
    min-height: 440px;
    border-top: 0;
    border-left: 1px solid rgba(36, 137, 190, 0.12);
  }

  .principle-flow {
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
  }

  .principle-flow article {
    min-height: 236px;
    padding: 31px 28px;
  }

  .flow-arrow {
    display: grid;
    z-index: 2;
    width: 33px;
    height: 33px;
    place-items: center;
    align-self: center;
    justify-self: center;
    border: 1px solid rgba(49, 143, 192, 0.13);
    border-radius: 50%;
    color: #65a5c4;
    background: #fff;
    font-size: 13px;
  }

  .philosophy-section {
    grid-template-columns: 1fr 1fr;
  }

  .philosophy-visual {
    min-height: 620px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
  }

  .philosophy-copy {
    display: flex;
    min-height: 620px;
    flex-direction: column;
    justify-content: center;
    padding: 70px 9vw 70px 7vw;
  }

  .origin-section {
    padding: 94px 32px 42px;
  }

  .origin-card {
    padding: 54px 50px 45px;
  }

  .origin-card > p {
    max-width: 720px;
  }

  .origin-data {
    max-width: 650px;
  }

  .contact-section {
    padding: 42px 32px 104px;
  }

  .contact-card {
    grid-template-columns: 86px 1fr auto;
    align-items: center;
    gap: 27px;
    padding: 35px 38px;
  }

  .contact-person {
    width: 86px;
    height: 86px;
    margin: 0;
  }

  .contact-copy h2 {
    max-width: 650px;
    font-size: 34px;
  }

  .contact-cta {
    min-width: 196px;
    margin-top: 0;
    gap: 20px;
  }

  .site-footer {
    grid-template-columns: auto minmax(300px, 1fr) auto;
    align-items: center;
    gap: 35px;
    padding: 38px 42px 90px;
  }

  .assistant-fab {
    right: 28px;
    bottom: 26px;
    width: auto;
    padding: 6px 10px 6px 6px;
  }

  .fab-label {
    display: grid;
  }

  .assistant-fab > i {
    position: static;
  }

  .chat-panel {
    top: 16px;
    right: 16px;
    bottom: 16px;
    left: auto;
    width: min(420px, calc(100vw - 32px));
    max-height: none;
    min-height: 0;
    border-bottom: 1px solid rgba(54, 139, 187, 0.15);
    border-radius: 25px;
    transform: translateX(calc(100% + 32px));
  }

  .chat-panel.is-open {
    transform: translateX(0);
  }

  .chat-handle {
    display: none;
  }

  .chat-backdrop {
    background: rgba(5, 27, 43, 0.22);
  }
}

@media (min-width: 980px) {
  .site-header {
    padding-inline: clamp(32px, 5vw, 76px);
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 34px;
  }

  .desktop-nav a {
    position: relative;
    color: #5c7485;
    font-size: 11px;
    font-weight: 580;
  }

  .desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: #1ba5df;
    transform: scaleX(0);
    transition: transform 0.25s ease;
  }

  .desktop-nav a:hover::after {
    transform: scaleX(1);
  }

  .demo-shell {
    grid-template-columns: minmax(0, 1fr) 274px;
  }

  .stage-viewport {
    max-height: 735px;
  }

  .principle-section {
    padding: 110px 32px 120px;
  }

  .section-heading {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    column-gap: 90px;
    align-items: end;
    margin-bottom: 53px;
  }

  .section-heading .eyebrow {
    grid-column: 1 / -1;
  }

  .section-heading > p {
    margin: 0 0 5px;
  }

  .complex-copy h3 {
    font-size: 29px;
  }

  .shell-lines {
    width: 400px;
    height: 400px;
  }

  .protected-core {
    width: 145px;
    height: 145px;
  }
}

@media (hover: hover) {
  .step-list button:hover,
  .zoom-controls button:hover,
  .fullscreen-button:hover,
  .play-button:hover {
    color: #087daf;
    background: #edf9fe;
  }

  .quick-prompts button:hover {
    border-color: rgba(27, 137, 195, 0.34);
    background: #e1f6ff;
  }
}

@media (max-width: 375px) {
  .brand-wording {
    display: none;
  }

  .brand-rule {
    display: none;
  }

  .hero-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-copy h1 {
    font-size: 37px;
  }

  .stage-readout {
    min-height: 67px;
    padding: 10px 12px;
  }

  .stage-readout p {
    font-size: 10px;
  }

  .vector-label span {
    display: none;
  }

  .assistant-fab {
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
