/* Privacy-first: no external font CDN requests. */

/*
  DESIGN-GUIDE GUARDRAILS (see /DESIGN-GUIDE.md)
  - No horizontal separators between slides.
  - Bright/Dark runs in blocks; no rapid alternation.
  - Transition direction stays visually downward.
  - No extra frame/border/card wrappers used as section separators.
  - Dark uses consistent black-space tone; signal colors are dark-only.
  - Bright uses structured white vector background, not flat white.
*/

:root {
  --black: #0f1015;
  --black-2: #14161d;
  --line: #2a2f3f;
  --white: #eef0f2;
  --white-2: #e4e5e7;
  --text-on-dark: #f5f6fa;
  --text-on-light: #1c1f28;
  --muted: #adb2bf;
  --pink: #ff0aa8;
  --cyan: #47c4ff;
  --mint: #63efd2;
  --highlight-white: #f3f4f8;
  --highlight-green: #27e248;
  --blue-btn: #1b79d9;
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html.hero-no-anchor {
  overflow-anchor: none;
}

body {
  font-family: "Exo 2", "Segoe UI", sans-serif;
  color: var(--text-on-dark);
  background: #090b10;
  line-height: 1.35;
}

body.is-site-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(71, 196, 255, 0.16), transparent 34%),
    radial-gradient(circle at 80% 24%, rgba(255, 10, 168, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(7, 9, 14, 0.98), rgba(8, 11, 18, 0.99));
  opacity: 1;
  visibility: visible;
  transition: opacity 360ms ease, visibility 360ms ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader-panel {
  width: min(520px, 100%);
  padding: clamp(28px, 4vw, 40px);
  border-radius: 28px;
  border: 1px solid rgba(132, 150, 184, 0.18);
  background: rgba(9, 12, 20, 0.82);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  text-align: center;
}

.site-loader-mark {
  width: min(180px, 48vw);
  height: auto;
  margin: 0 auto 22px;
}

.site-loader-spinner {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--pink);
  border-right-color: var(--cyan);
  animation: site-loader-spin 0.9s linear infinite;
}

.site-loader-title {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 0.96;
  color: #f7f8fb;
}

.site-loader-copy {
  margin: 12px auto 0;
  max-width: 30ch;
  color: rgba(232, 237, 245, 0.72);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.5;
}

@keyframes site-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

main,
#home,
.panda-home,
.hero-hero-section {
  background: #090b10;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1380px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: #0b0d12;
  border-bottom: 1px solid #1a1f2b;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  pointer-events: none;
}

.header-shell {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.logo {
  flex: 0 0 auto;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-header.scrolled .logo {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header.scrolled .header-actions,
.site-header.scrolled .contact-btn {
  pointer-events: auto;
}

.logo img {
  width: min(220px, 100%);
  height: auto;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.panda-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.mark-line {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.mark-main {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(40px, 3vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafe;
}

.mark-accent {
  font-family: "Rajdhani", sans-serif;
  color: var(--pink);
  font-size: clamp(32px, 2.6vw, 42px);
  font-weight: 700;
}

.mark-sub {
  margin-top: 1px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #a3adbf;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
}

.main-nav a {
  padding: 10px 10px;
  font-size: clamp(14px, 1vw, 28px);
  color: #f4f6fa;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.main-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.contact-btn {
  border: 2px solid var(--pink);
  color: var(--pink);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-actions {
  margin-left: 0;
  flex: 0 0 auto;
}

.header-contact-btn {
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  font-size: 34px;
  font-size: clamp(14px, 1.1vw, 20px);
  font-weight: 700;
  padding: 10px 20px;
}

.header-contact-btn:hover {
  filter: brightness(1.06);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #f5f6fa;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-line {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header.nav-open .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch a {
  color: #fff;
  font-size: 36px;
  font-size: clamp(14px, 1.1vw, 18px);
  padding: 10px 11px;
  border-radius: 4px;
}

.lang-switch a.active {
  background: var(--blue-btn);
}

.panda-home {
  padding: 0 0 40px;
  --vp-x: 62%;
  --vp-y: 12%;
  --slide-overlap: clamp(30px, 4vw, 72px);
}

.flow-zone {
  padding-top: 0;
}

.flow-stack {
  --flow-overlap: clamp(28px, 3.7vw, 68px);
  display: grid;
  gap: 0;
}

.flow-slide {
  position: relative;
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  isolation: isolate;
  overflow: hidden;
}

.flow-stack .flow-slide:first-child {
  margin-top: 0;
  padding-top: 0;
  clip-path: none !important;
}

/* Only theme switches may overlap and expose a non-horizontal edge. */
.flow-slide.theme-switch {
  margin-top: calc(var(--flow-overlap) * -1);
  padding-top: var(--flow-overlap);
}

.flow-slide.slide-theme-bright {
  --slide-text: #202530;
  --slide-title: #161b24;
  --slide-muted: #3d4452;
  --slide-panel: rgba(255, 255, 255, 0.7);
  --slide-border: transparent;
  --slide-subtle-border: #d5dae2;
  --slide-bg: #e9eaec;
}

.flow-slide.slide-theme-dark {
  --slide-text: #e6ebf7;
  --slide-title: #ffffff;
  --slide-muted: #cad2e6;
  --slide-panel: rgba(20, 24, 33, 0.86);
  --slide-border: transparent;
  --slide-subtle-border: #2d3446;
  --slide-bg: #090b10;
}

.flow-slide {
  color: var(--slide-text);
  background: var(--slide-bg);
  border-color: var(--slide-border);
}

/* Hard rule: inside a dark flow block, no extra framed cards/panels. */
.flow-slide.slide-theme-dark .card,
.flow-slide.slide-theme-dark .hero,
.flow-slide.slide-theme-dark .soft-panel,
.flow-slide.slide-theme-dark .project-detail,
.flow-slide.slide-theme-dark .stats-wrap {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Bright blocks are also seamless: no frame-based separators. */
.flow-slide.slide-theme-bright .card,
.flow-slide.slide-theme-bright .hero,
.flow-slide.slide-theme-bright .soft-panel,
.flow-slide.slide-theme-bright .project-detail,
.flow-slide.slide-theme-bright .stats-wrap {
  border: 0;
  box-shadow: none;
}

.flow-slide.slide-theme-dark .project-strip img,
.flow-slide.slide-theme-dark .card-icon,
.flow-slide.slide-theme-dark .microservice-layout img,
.flow-slide.slide-theme-dark .panda-idi-product img {
  border-radius: 0;
  border: 0;
}

.flow-slide.slide-theme-dark .stats-bg {
  opacity: 0.4;
}

.flow-slide h1,
.flow-slide h2,
.flow-slide h3,
.flow-slide h4 {
  color: var(--slide-title);
}

.flow-slide.slide-theme-bright h1 strong,
.flow-slide.slide-theme-bright h2 strong,
.flow-slide.slide-theme-bright h3 strong {
  color: currentColor;
}

.flow-slide p,
.flow-slide li,
.flow-slide .label,
.flow-slide .lead {
  color: var(--slide-muted);
}

.transition-rise,
.transition-fall,
.transition-notch {
  clip-path: none;
}

.flow-slide.theme-switch.transition-rise {
  clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
}

.flow-slide.theme-switch.transition-fall {
  clip-path: polygon(0 0, 100% 14%, 100% 100%, 0 100%);
}

.flow-slide.theme-switch.transition-notch {
  clip-path: polygon(0 0, 74% 9%, 100% 14%, 100% 100%, 0 100%);
}

.panda-slide {
  position: relative;
  margin-top: calc(var(--slide-overlap) * -1);
  padding-top: calc(clamp(1rem, 1.8vw, 2rem) + var(--slide-overlap));
  isolation: isolate;
}

.panda-slide:first-child {
  margin-top: 0;
}

.panda-slide-light {
  color: var(--text-on-light);
  background: #ececef;
}

.panda-slide-dark {
  color: var(--text-on-dark);
  background: #090d15;
  border: 0;
}

.panda-transition-rise {
  clip-path: polygon(0 10%, 88% 0, 100% 4%, 100% 100%, 0 100%);
}

.panda-transition-fall {
  clip-path: polygon(0 0, 100% 10%, 100% 100%, 12% 100%, 0 94%);
}

.panda-transition-notch {
  clip-path: polygon(0 8%, 22% 0, 100% 4%, 100% 100%, 0 92%);
}

.panda-hero {
  margin-top: 0;
  border-radius: 0;
  clip-path: none;
  overflow: hidden;
  border: 0;
}

.panda-hero-top {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  padding: clamp(1.2rem, 3vw, 2.8rem);
  align-items: center;
}

.panda-hero-copy h1 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: 0.01em;
  font-size: clamp(52px, 6.1vw, 126px);
  text-transform: uppercase;
}

.panda-hero-copy p {
  margin: 12px 0 0;
  color: #2b303c;
  font-weight: 300;
  font-size: clamp(28px, 3.1vw, 64px);
}

.panda-bullets {
  margin: 0;
  padding: 4px 0 4px 28px;
  border-left: 4px solid var(--slide-subtle-border, #c6ceda);
  list-style: disc;
}

.panda-bullets li {
  margin: 0 0 8px;
  color: #1a1e28;
  font-size: clamp(24px, 2.25vw, 42px);
}

.panda-hero-media {
  padding: 0 clamp(0.8rem, 1.8vw, 1.4rem) clamp(0.8rem, 1.6vw, 1.4rem);
}

.panda-hero-media img {
  width: 100%;
  border-radius: 10px;
  max-height: 500px;
  object-fit: cover;
}

.hero-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  letter-spacing: 0.16em;
  font-size: clamp(11px, 1vw, 14px);
  text-transform: uppercase;
}

.hero-hero-section {
  padding: clamp(18px, 2vw, 30px);
  border: 1px solid #242c3b;
  border-radius: 18px;
  background: linear-gradient(170deg, #11131a 0%, #0b0d12 60%, #090b10 100%);
}

.hero-copy {
  max-width: 860px;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(38px, 4.5vw, 74px);
  line-height: 0.98;
  text-transform: none;
}

.hero-copy p {
  margin: 10px 0 0;
  color: #dce1ec;
  font-size: clamp(16px, 1.6vw, 28px);
  line-height: 1.35;
}

.hero-animation-wrap {
  margin-top: clamp(12px, 2vw, 24px);
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: clamp(12px, 2vw, 24px);
  align-items: stretch;
}

.hero-chat-shell,
.hero-taxonomy-shell {
  border: 1px solid rgba(71, 196, 255, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 21, 33, 0.95), rgba(11, 14, 22, 0.95));
  overflow: hidden;
  min-height: 0;
}

.hero-chat-header {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-chat-title {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #f2f4f8;
  font-size: 14px;
}

.hero-chat-title strong {
  color: #fff;
}

.hero-chat-title span {
  color: #9fb3cb;
  font-size: 13px;
}

.hero-chat-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #47c4ff;
  box-shadow: 0 0 0 2px rgba(71, 196, 255, 0.2);
}

.hero-chat-screen {
  height: 100%;
  min-height: min(62vh, 560px);
  padding: 12px 14px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 8px;
}

.hero-chat-intro {
  margin: 0;
  color: var(--white-2);
  font-size: clamp(15px, 1.22vw, 20px);
  line-height: 1.2;
}

.hero-chat-input-wrap {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-chat-input-placeholder {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  position: sticky;
  top: 0;
  margin-bottom: 8px;
}

.hero-chat-input-placeholder.is-hidden {
  display: none;
}

.hero-chat-scroll {
  flex: 1;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  padding-right: 4px;
}

.hero-segment {
  margin: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-wrap;
  overflow: hidden;
  transition: opacity 260ms ease, transform 260ms ease, background 160ms ease, border-color 160ms ease;
}

.hero-seed {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.hero-segment.is-hidden {
  opacity: 0;
  transform: translateY(8px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
}

.hero-segment.is-active,
.hero-segment:hover,
.hero-segment:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-seed.is-marked {
  text-decoration: line-through;
  opacity: 0.5;
}

.hero-seed.is-hidden {
  display: none;
}

.hero-status {
  margin: 6px 0 0;
  color: #9cb1c9;
  font-size: 12px;
}

.hero-progress {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #7e8ca0;
}

.hero-taxonomy-shell {
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  max-height: 620px;
}

.hero-taxonomy-header {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.hero-taxonomy-header strong {
  display: block;
  color: #fff;
  margin: 0 0 3px;
  font-size: 18px;
}

.hero-taxonomy-header span {
  color: #9fb2c8;
  font-size: 12px;
}

.hero-ratio {
  font-size: 11px !important;
  color: #95a3b6 !important;
}

.hero-sunburst-wrap {
  position: relative;
  padding: 12px 8px 0;
}

.hero-sunburst-wrap svg {
  width: 100%;
  height: min(300px, 42vw);
  max-height: 300px;
  display: block;
  margin: 0 auto;
}

.hero-sunburst-segment {
  transition: opacity 220ms ease, filter 220ms ease;
  cursor: pointer;
  opacity: 0.55;
}

.hero-sunburst-segment:hover,
.hero-sunburst-segment.is-active {
  opacity: 1;
  filter: drop-shadow(0 0 10px var(--strategy-color, rgba(255, 255, 255, 0.65)));
}

.hero-sunburst-group {
  pointer-events: none;
}

.hero-sunburst-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  background: rgba(14, 19, 29, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 10px;
  backdrop-filter: blur(6px);
}

.hero-sunburst-overlay strong {
  display: block;
  color: #fff;
  font-size: 13px;
}

.hero-sunburst-overlay p {
  margin: 3px 0 0;
  color: #97a6ba;
  line-height: 1.35;
  font-size: 12px;
}

.hero-taxonomy-key {
  padding: 0 12px 12px;
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: auto;
}

.hero-taxonomy-key-item {
  appearance: none;
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  width: 100%;
  color: inherit;
  cursor: pointer;
}

.hero-taxonomy-key-item span:last-child {
  line-height: 1.1;
}

.hero-taxonomy-key-item b {
  display: block;
  color: #dbe1ee;
  font-size: 12px;
}

.hero-taxonomy-key-item small {
  display: block;
  color: #8f9caf;
  font-size: 11px;
}

.hero-taxonomy-key-item.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-taxonomy-key-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .hero-animation-wrap {
    grid-template-columns: 1fr;
  }

  .hero-chat-screen {
    min-height: 360px;
  }

  .hero-taxonomy-key {
    grid-template-columns: 1fr;
  }
}

.panda-dark-block {
  margin-top: 0;
  border: 0;
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 4vw, 4.6rem);
}

.panda-dark-block h2 {
  margin: 0;
  text-align: left;
  color: var(--slide-title, #fff);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(40px, 4.8vw, 86px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.panda-idi-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  justify-items: center;
  padding-right: 20px;
  border-right: 1px solid #2b3242;
}

.icon-grid img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: none;
}

.panda-idi-product img {
  width: min(560px, 100%);
  margin: 0 auto;
  border-radius: 14px;
}

.prompt-runtime-block {
  background: #0a0f18;
}

.prompt-runtime-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.prompt-runtime-block h2 {
  margin-top: 0;
  text-align: left;
  max-width: 15ch;
  line-height: 1.02;
}

.prompt-runtime-subtitle {
  margin: 20px 0 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(18px, 1.34vw, 23px);
  line-height: 1.56;
}

.prompt-runtime-head {
  display: grid;
  gap: 0;
  width: min(100%, 1240px);
  margin-inline: auto;
}

.prompt-runtime-head--left {
  justify-items: start;
  text-align: left;
}

.prompt-runtime-head--center {
  justify-items: center;
  text-align: center;
}

.prompt-runtime-head--right {
  justify-items: end;
  text-align: right;
}

.prompt-runtime-head--center h2,
.prompt-runtime-head--center .prompt-runtime-subtitle {
  max-width: 18ch;
}

.prompt-runtime-head--center .prompt-runtime-subtitle {
  max-width: 62ch;
}

.prompt-runtime-head--right h2,
.prompt-runtime-head--right .prompt-runtime-subtitle {
  max-width: 20ch;
}

.prompt-runtime-head--right .prompt-runtime-subtitle {
  max-width: 60ch;
}

.prompt-runtime-embed {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  background: #090e17;
  box-shadow: none;
}

.prompt-runtime-embed iframe {
  display: block;
  width: 100%;
  min-height: 940px;
  border: 0;
}

.prompt-runtime-embed video {
  display: block;
  width: 100%;
  min-height: 780px;
  border: 0;
  object-fit: cover;
  background: #080e17;
}

.prompt-runtime-block--validation .prompt-runtime-embed-video {
  max-width: 100%;
  margin-inline: auto;
}

.prompt-runtime-block--validation .prompt-runtime-validation-sequence {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "symbol";
  align-items: start;
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
}

.prompt-runtime-validation-head {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  align-items: start;
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
}

.prompt-runtime-validation-title {
  justify-self: end;
  text-align: right;
}

.prompt-runtime-validation-title h2,
.prompt-runtime-validation-title .prompt-runtime-subtitle {
  max-width: 20ch;
}

.prompt-runtime-validation-title .prompt-runtime-subtitle {
  max-width: 60ch;
}

.prompt-runtime-block--validation .prompt-runtime-validation-small .prompt-runtime-embed-video {
  justify-self: end;
  margin-inline: 0;
  max-width: min(360px, 100%);
}

.prompt-runtime-block--validation .prompt-runtime-validation-symbol {
  grid-area: symbol;
}

.prompt-runtime-block--validation .prompt-runtime-validation-small .prompt-runtime-embed-video video {
  min-height: clamp(140px, 18vw, 220px);
}

.prompt-runtime-block--training .prompt-runtime-embed-video {
  max-width: min(620px, 48vw);
}

.prompt-runtime-block--validation .prompt-runtime-embed-video iframe {
  width: 100%;
  min-height: clamp(320px, 42vw, 620px);
  border: 0;
  display: block;
}

.prompt-runtime-validation-copy {
  max-width: min(82ch, 100%);
  margin-top: clamp(0.85rem, 1.4vw, 1.2rem);
  transform: none;
}

.prompt-runtime-validation-copy .prompt-runtime-subtitle {
  margin-top: 12px;
  max-width: none;
}

.prompt-runtime-block--training-a .prompt-runtime-embed-video {
  margin-left: auto;
}

.prompt-runtime-block--training-b .prompt-runtime-embed-video {
  margin-right: auto;
}

.prompt-runtime-block--validation .prompt-runtime-embed video,
.prompt-runtime-block--training .prompt-runtime-embed video {
  min-height: clamp(280px, 28vw, 460px);
}

.prompt-runtime-block--training-carousel .training-carousel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  width: 100%;
  margin-inline: auto;
}

.training-process-banner {
  margin-top: 14px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
  width: 100%;
}

.training-process-step {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(130, 160, 204, 0.22);
  background: rgba(12, 19, 32, 0.56);
}

.training-process-step p {
  margin: 0;
  color: rgba(206, 219, 242, 0.75);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.training-process-step h3 {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 24px);
  line-height: 1.08;
  color: #fff;
}

.training-process-step--architecture {
  border-color: rgba(124, 188, 255, 0.46);
  background: linear-gradient(180deg, rgba(45, 77, 118, 0.36), rgba(16, 30, 53, 0.25));
}

.training-process-step--architecture h3,
.training-process-step--architecture p {
  color: #c6e5ff;
}

.training-process-step--training {
  border-color: rgba(119, 224, 177, 0.42);
  background: linear-gradient(180deg, rgba(46, 109, 82, 0.4), rgba(19, 35, 26, 0.3));
}

.training-process-step--training h3,
.training-process-step--training p {
  color: #ccffe8;
}

.training-process-bar {
  position: relative;
  height: 18px;
  border-radius: 999px;
  width: 100%;
  background: rgba(113, 139, 183, 0.28);
  border: 1px solid rgba(154, 182, 226, 0.44);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(8, 13, 24, 0.35);
}

.training-process-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(124, 188, 255, 0.9), rgba(122, 228, 178, 0.95));
  transition: width 260ms ease;
}

.training-process-dot {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px rgba(9, 13, 22, 0.58);
}

.training-process-dot--architecture {
  left: 0;
  margin-left: -8px;
  background: #7cbcff;
}

.training-process-dot--training {
  right: 0;
  margin-right: -8px;
  background: #6fefd7;
}

.training-process-progress {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "label bar status"
    "detail detail detail";
  gap: 14px;
  row-gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(180deg, rgba(235, 241, 251, 0.95), rgba(214, 224, 242, 0.84));
  box-shadow: inset 0 0 0 1px rgba(145, 171, 210, 0.5);
}

.training-process-progress p {
  margin: 0;
  font-size: 16px;
  line-height: 1.1;
  color: #33455f;
  font-weight: 820;
}

.training-process-progress-label {
  grid-area: label;
  min-width: 78px;
}

.training-process-progress .training-process-bar {
  grid-area: bar;
}

.training-process-progress-status {
  grid-area: status;
  min-width: 98px;
  text-align: right;
}

.training-process-progress-detail {
  grid-area: detail;
  font-size: 13px;
  color: rgba(51, 69, 95, 0.82);
  letter-spacing: 0.01em;
}

.training-hero-embed {
  margin: 0 0 1rem;
}

.training-hero-embed .prompt-runtime-embed {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}

.training-hero-embed .prompt-runtime-embed iframe {
  width: 100%;
  display: block;
  min-height: clamp(280px, 48vw, 500px);
  border: 0;
  aspect-ratio: 16 / 6.5;
}

.prompt-runtime-block--training-carousel .prompt-runtime-subtitle {
  margin-top: 12px;
  max-width: 50ch;
  font-size: clamp(15px, 1.1vw, 20px);
  line-height: 1.45;
}

.training-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
}

.training-carousel-controls-row {
  margin-bottom: 10px;
  display: flex;
  justify-content: flex-end;
}

.training-carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(190, 201, 223, 0.3);
  background: rgba(228, 233, 244, 0.12);
  color: #e9f1ff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.training-carousel-btn:hover {
  border-color: rgba(216, 229, 255, 0.72);
  background: rgba(235, 241, 255, 0.2);
}

.training-carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.prompt-runtime-block--training-carousel[data-training-at-start="1"] [data-training-prev] {
  display: none;
}

.training-carousel-viewport {
  --training-gap: clamp(0.8rem, 1.6vw, 1.2rem);
  margin-top: clamp(1rem, 2vw, 1.8rem);
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 28px;
  user-select: none;
  touch-action: pan-y;
}

.training-carousel-track {
  display: flex;
  gap: var(--training-gap);
  transition: transform 340ms ease;
  will-change: transform;
}

.training-panel {
  flex: 0 0 calc((100% - var(--training-gap)) / 1.5);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(200px, 0.68fr) minmax(460px, 1.32fr);
  align-items: center;
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
  background:
    radial-gradient(circle at 7% 12%, rgba(89, 145, 236, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.98), rgba(9, 14, 23, 0.96));
  border: 1px solid rgba(117, 143, 181, 0.28);
  border-radius: 28px;
  padding: clamp(1rem, 1.4vw, 1.6rem);
}

.training-panel .prompt-runtime-kicker {
  margin-bottom: 8px;
}

.training-panel h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 2.6vw, 52px);
  line-height: 1.04;
  max-width: 10ch;
}

.training-panel p {
  margin: 10px 0 0;
  color: rgba(223, 233, 249, 0.78);
  font-size: clamp(13px, 0.86vw, 17px);
  line-height: 1.38;
  max-width: 34ch;
}

.training-panel .prompt-runtime-embed-video {
  max-width: none;
  width: 100%;
  margin: 0;
}

.training-panel .prompt-runtime-embed video {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  aspect-ratio: auto;
  max-height: clamp(320px, 34vw, 560px);
}

.prompt-runtime-block--training-carousel .training-panel .prompt-runtime-embed {
  display: grid;
  place-items: center;
  padding: 0;
  background: #05080f;
}

.prompt-runtime-embed-interactive iframe {
  min-height: clamp(560px, 56vw, 690px);
  transform: none;
}

.prompt-runtime-embed-interactive {
  border-color: rgba(160, 190, 240, 0.12);
  background: #090e17;
}

.prompt-runtime-embed-interactive::before {
  content: none;
}

.prompt-runtime-block--interactive {
  padding-top: clamp(1.6rem, 2.4vw, 2.4rem);
  padding-bottom: clamp(1.4rem, 2.1vw, 2rem);
}

.prompt-runtime-block--interactive .prompt-runtime-head {
  gap: 0;
}

.prompt-runtime-block--interactive .prompt-runtime-subtitle {
  margin-top: 14px;
  max-width: 50ch;
}

.prompt-runtime-block--interactive .prompt-runtime-layout {
  margin-top: clamp(1rem, 1.8vw, 1.5rem);
  gap: 0;
}

.prompt-runtime-layout {
  margin-top: clamp(2.2rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 3.2vw, 3.2rem);
  align-items: start;
  width: min(100%, 1240px);
  margin-inline: auto;
}

.prompt-runtime-block--fuzu .prompt-runtime-layout {
  margin-top: clamp(1.2rem, 2.4vw, 2rem);
}

.prompt-runtime-block--fuzu .prompt-runtime-embed {
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    #090e17;
}

.prompt-runtime-block--fuzu .prompt-runtime-embed iframe {
  min-height: 940px;
  transform: none;
}

.prompt-runtime-rail {
  display: none;
}

.prompt-runtime-layout--single .prompt-runtime-embed {
  width: 100%;
}

.prompt-runtime-rail-title {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b7c9e5;
}

.prompt-runtime-rail p {
  margin: 0;
  color: #d4dded;
  font-size: 15px;
  line-height: 1.5;
}

.prompt-runtime-rail ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #d4dded;
  display: grid;
  gap: 8px;
}

.prompt-runtime-rail-live {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(123, 148, 186, 0.32);
  background: rgba(17, 27, 41, 0.45);
  color: #dce9fd;
  font-size: 14px;
  line-height: 1.45;
}

.prompt-runtime-rail-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  gap: 10px;
}

.prompt-runtime-rail-steps li {
  position: relative;
  padding: 8px 10px 8px 28px;
  border-radius: 9px;
  border: 1px solid rgba(108, 132, 165, 0.22);
  background: rgba(8, 14, 24, 0.35);
  color: #9fb2cf;
  font-size: 13px;
  line-height: 1.35;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.prompt-runtime-rail-steps li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: #536b8d;
}

.prompt-runtime-rail-steps li.is-active {
  border-color: rgba(106, 179, 255, 0.5);
  background: rgba(48, 107, 203, 0.2);
  color: #e5f0ff;
}

.prompt-runtime-rail-steps li.is-active::before {
  background: #86cbff;
  box-shadow: 0 0 0 5px rgba(88, 160, 242, 0.18);
}

.prompt-runtime-rail-steps li.is-done {
  border-color: rgba(85, 186, 169, 0.4);
  color: #b9e7df;
}

.prompt-runtime-rail-steps li.is-done::before {
  background: #56cfbf;
}

.prompt-runtime-story {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 16, 26, 0.98) 0%, rgba(10, 15, 24, 0.95) 100%);
  border: 1px solid rgba(123, 148, 186, 0.35);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 20px 56px rgba(3, 8, 16, 0.62);
}

.prs-topbar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(145, 170, 209, 0.24);
  background: rgba(17, 27, 41, 0.6);
  font-size: 12px;
  color: #d2e4ff;
}

.prs-phase {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c4d9fb;
}

.prs-arrow {
  color: #739ad3;
  font-size: 14px;
}

.prs-stage {
  margin-top: 12px;
  min-height: 430px;
  position: relative;
}

.prs-chat,
.prs-editor,
.prs-runtime {
  width: 100%;
  border: 1px solid rgba(145, 170, 209, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(17, 27, 41, 0.94), rgba(12, 20, 31, 0.9));
  box-shadow: 0 24px 60px rgba(2, 7, 14, 0.55);
}

.prs-chat {
  position: relative;
  z-index: 3;
  transition: opacity 450ms ease, transform 500ms ease;
}

.prs-chat.is-hidden {
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  pointer-events: none;
}

.prs-chat-head,
.prs-editor-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(145, 170, 209, 0.2);
}

.prs-chat-head p,
.prs-editor-head p {
  margin: 0;
  color: #d4e7ff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prs-dots {
  display: inline-flex;
  gap: 6px;
}

.prs-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4a658a;
}

.prs-dots span:nth-child(1) {
  background: #ec7668;
}

.prs-dots span:nth-child(2) {
  background: #f2c26f;
}

.prs-dots span:nth-child(3) {
  background: #7bd8a6;
}

.prs-chat-body {
  padding: 12px;
  min-height: 190px;
}

.prs-message {
  border-radius: 12px;
  border: 1px solid rgba(145, 170, 209, 0.24);
  padding: 10px 11px;
  background: rgba(11, 18, 30, 0.88);
}

.prs-message + .prs-message {
  margin-top: 10px;
}

.prs-message pre {
  margin: 0;
  color: #d3dff2;
  font-family: "Fira Code", "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.prs-message-user {
  background: rgba(79, 122, 211, 0.16);
  border-color: rgba(112, 148, 219, 0.35);
}

.prs-message-assistant {
  background: rgba(37, 167, 164, 0.14);
  border-color: rgba(85, 193, 188, 0.34);
}

.prs-role {
  margin: 0 0 6px;
  color: #8ed9d4;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.prs-composer {
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(145, 170, 209, 0.2);
  display: flex;
  gap: 10px;
}

.prs-composer-input {
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(145, 170, 209, 0.24);
  background: rgba(8, 14, 25, 0.82);
  min-height: 42px;
  padding: 9px 10px;
  color: #d6e1f2;
  font-family: "Fira Code", "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  line-height: 1.4;
}

.prs-composer button {
  width: 42px;
  border-radius: 12px;
  border: 1px solid rgba(116, 166, 244, 0.4);
  background: rgba(74, 130, 230, 0.24);
  color: #dbe8ff;
  cursor: default;
}

.prs-caret {
  display: inline-block;
  width: 8px;
  border-left: 2px solid rgba(220, 233, 255, 0.84);
  margin-left: 2px;
  animation: prs-caret 0.9s steps(1) 8;
}

@keyframes prs-caret {
  50% {
    opacity: 0.15;
  }
}

.prs-editor {
  position: absolute;
  inset: 42px 0 auto 0;
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  pointer-events: none;
  transition: opacity 500ms ease, transform 550ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.prs-editor.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.prs-editor-body {
  padding: 12px;
}

.prs-line {
  color: #b9cae4;
  font-family: "Fira Code", "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.prs-line .kw {
  color: #7fd2ff;
}

.prs-line .fn {
  color: #e8f2ff;
}

.prs-template {
  margin: 7px 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px dashed rgba(122, 154, 229, 0.5);
  background: rgba(67, 102, 188, 0.18);
  color: #d6e5ff;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prs-runtime {
  position: absolute;
  inset: auto 0 0 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 450ms ease, transform 500ms ease;
}

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

.prs-runtime header {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(145, 170, 209, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prs-runtime h3 {
  margin: 0;
  color: #e8f3ff;
  font-size: 22px;
  line-height: 1;
}

.prs-runtime header span {
  border-radius: 999px;
  background: rgba(63, 194, 176, 0.15);
  border: 1px solid rgba(83, 211, 194, 0.36);
  color: #a1eee0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
}

.prs-runtime-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.prs-runtime-grid article {
  border-radius: 10px;
  border: 1px solid rgba(145, 170, 209, 0.22);
  background: rgba(9, 15, 24, 0.84);
  padding: 10px;
}

.prs-runtime-grid p {
  margin: 0 0 6px;
  color: #8ca9d0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prs-runtime-grid strong {
  color: #dce8fa;
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .prompt-runtime-story {
    padding: 12px;
  }

  .prs-stage {
    min-height: 560px;
  }

  .prs-runtime h3 {
    font-size: 18px;
  }

  .prs-runtime-grid {
    gap: 8px;
  }

  .prs-runtime-grid strong {
    font-size: 13px;
  }

  .prompt-runtime-embed iframe {
    min-height: 1040px;
  }

  .prompt-runtime-block--validation .prompt-runtime-embed-video iframe {
    min-height: clamp(280px, 64vw, 420px);
  }

  .prompt-runtime-block--validation .prompt-runtime-validation-small .prompt-runtime-embed-video {
    max-width: 100%;
  }

  .prompt-runtime-validation-head {
    grid-template-columns: 1fr;
  }

  .prompt-runtime-validation-title {
    justify-self: start;
    text-align: left;
  }

  .prompt-runtime-block--validation .prompt-runtime-validation-sequence {
    grid-template-columns: 1fr;
    grid-template-areas: "symbol";
  }

  .prompt-runtime-validation-copy {
    margin-inline-start: 0;
    transform: none;
  }
}

.panda-microservice-block {
  padding-bottom: clamp(2.4rem, 4.2vw, 5rem);
}

.microservice-layout {
  margin-top: clamp(1.8rem, 3vw, 3.2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}

.microservice-layout h3 {
  margin: 0 0 clamp(0.9rem, 1.5vw, 1.5rem);
  font-size: clamp(30px, 3.3vw, 58px);
  line-height: 1.08;
  color: var(--slide-title, #fff);
  font-family: "Rajdhani", sans-serif;
  max-width: 20ch;
}

.microservice-layout p {
  margin: 0;
  font-size: clamp(18px, 1.32vw, 24px);
  color: var(--slide-muted, #cfd5e3);
  line-height: 1.58;
  max-width: 42ch;
}

.microservice-layout img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panda-microservice-block--statement {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
  border-radius: 0;
  height: clamp(560px, 88vh, 980px);
  background: #000;
  transition: height 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.panda-microservice-block--statement.is-collapsed {
  height: clamp(170px, 26vh, 250px);
}

.microservice-statement-stage {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #0d1018, #06080c 72%);
}

.microservice-statement-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 760ms ease;
}

.microservice-statement-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(6, 10, 20, 0.12), rgba(2, 4, 8, 0.4));
  pointer-events: none;
  transition: opacity 520ms ease;
}

.microservice-statement-audio-toggle {
  position: absolute;
  top: clamp(0.8rem, 2.2vw, 1.35rem);
  left: clamp(0.8rem, 2.2vw, 1.35rem);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  min-height: 2.6rem;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(13px, 1.25vw, 16px);
  letter-spacing: 0.02em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: linear-gradient(150deg, rgba(255, 90, 170, 0.98), rgba(130, 85, 255, 0.93));
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.microservice-statement-audio-toggle:hover,
.microservice-statement-audio-toggle:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}

.microservice-statement-audio-toggle.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.microservice-statement-stage.is-ending .microservice-statement-audio-toggle,
.microservice-statement-stage.is-complete .microservice-statement-audio-toggle {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.microservice-video-question {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: clamp(1.2rem, 3vw, 3rem);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(32px, 4.4vw, 84px);
  line-height: 1.03;
  letter-spacing: 0.005em;
  color: #fff;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
  pointer-events: none;
}

.microservice-statement-stage.is-ending .microservice-statement-video,
.microservice-statement-stage.is-complete .microservice-statement-video {
  opacity: 0.06;
}

.microservice-statement-stage.is-ending .microservice-statement-shade,
.microservice-statement-stage.is-complete .microservice-statement-shade {
  opacity: 0.96;
}

.microservice-statement-stage.is-ending .microservice-video-question,
.microservice-statement-stage.is-complete .microservice-video-question {
  opacity: 1;
  transform: scale(1);
}

.panda-microservice-block--statement.is-collapsed .microservice-video-question {
  font-size: clamp(24px, 2.9vw, 44px);
  padding: clamp(0.8rem, 1.6vw, 1.4rem) clamp(1rem, 3vw, 2.6rem);
}

.cta-primary,
.cta-magenta {
  margin: clamp(1.8rem, 3vw, 3rem) 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  text-align: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(14px, 1vw, 16px);
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
}

.cta-primary {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
}

.eyebrow,
.ctox-proof-kicker,
.engineering-project-meta {
  margin: 0;
  font-size: clamp(12px, 0.85vw, 14px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(71, 196, 255, 0.84);
}

.ctox-proof-slide {
  padding: clamp(3rem, 7vw, 7rem) 0;
  min-height: clamp(620px, 82svh, 880px);
  display: grid;
  align-items: center;
}

.ctox-proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.ctox-proof-copy {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  max-width: 760px;
}

.ctox-proof-logo {
  width: min(420px, 70vw);
  height: auto;
}

.ctox-proof-copy h2 {
  margin: 0;
  max-width: 10ch;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(48px, 6.2vw, 104px);
  line-height: 0.88;
  color: #f5f7fb;
}

.ctox-proof-copy > p:not(.ctox-proof-kicker) {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.45;
  color: rgba(221, 229, 243, 0.76);
}

.ctox-proof-actions,
.engineering-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ctox-proof-actions .cta-primary,
.engineering-actions .cta-primary {
  margin-top: 0;
}

.ctox-secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 45px;
  padding: 0 2px;
  font-weight: 700;
  color: rgba(245, 247, 251, 0.88);
  text-decoration: underline;
  text-decoration-color: rgba(71, 196, 255, 0.46);
  text-underline-offset: 6px;
}

.ctox-command-plane {
  position: relative;
  display: grid;
  gap: 10px;
  padding: clamp(1.4rem, 2.6vw, 2.4rem);
  background:
    radial-gradient(circle at 18% 8%, rgba(71, 196, 255, 0.18), transparent 36%),
    radial-gradient(circle at 86% 18%, rgba(255, 10, 168, 0.14), transparent 34%),
    linear-gradient(150deg, rgba(15, 20, 32, 0.96), rgba(8, 11, 18, 0.92));
  box-shadow: inset 0 1px 0 rgba(245, 247, 251, 0.05);
}

.ctox-command-plane::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(245, 247, 251, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 247, 251, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.32;
  pointer-events: none;
}

.ctox-command-row,
.ctox-command-plane > p {
  position: relative;
  z-index: 1;
}

.ctox-command-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.34fr) 1fr;
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(164, 183, 214, 0.18);
}

.ctox-command-row:last-of-type {
  border-bottom-color: transparent;
}

.ctox-command-row span {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 700;
  color: rgba(71, 196, 255, 0.9);
}

.ctox-command-row strong {
  font-size: clamp(18px, 1.45vw, 25px);
  color: rgba(245, 247, 251, 0.94);
}

.ctox-command-row--active span {
  color: rgba(255, 10, 168, 0.9);
}

.ctox-command-plane > p {
  margin: clamp(0.8rem, 1.6vw, 1.4rem) 0 0;
  max-width: 46ch;
  color: rgba(221, 229, 243, 0.7);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.5;
}

.engineering-page {
  background: #090b10;
  color: rgba(235, 240, 250, 0.9);
}

.engineering-hero {
  padding: clamp(3.8rem, 7vw, 7.5rem) 0 clamp(3rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 10, 168, 0.14), transparent 34%),
    radial-gradient(circle at 18% 22%, rgba(71, 196, 255, 0.16), transparent 38%),
    linear-gradient(180deg, #0b0d12, #090b10 72%);
}

.engineering-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.7fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.engineering-hero-copy {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.engineering-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(54px, 7vw, 118px);
  line-height: 0.88;
  color: #f5f7fb;
}

.engineering-hero-copy > p:not(.eyebrow) {
  margin: 0;
  max-width: 64ch;
  color: rgba(221, 229, 243, 0.76);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.48;
}

.engineering-hero-visual {
  display: grid;
  gap: clamp(1.2rem, 2.2vw, 2rem);
  align-content: center;
  min-height: 420px;
  padding: clamp(1rem, 2vw, 1.6rem);
  background:
    radial-gradient(circle at 14% 18%, rgba(71, 196, 255, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(16, 22, 36, 0.94), rgba(8, 11, 18, 0.96));
}

.engineering-hero-visual img {
  width: min(420px, 100%);
  height: auto;
}

.engineering-layer-stack {
  display: grid;
  gap: 9px;
}

.engineering-layer-stack div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(164, 183, 214, 0.18);
}

.engineering-layer-stack span {
  color: rgba(255, 10, 168, 0.82);
  font-family: "Rajdhani", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.engineering-layer-stack strong {
  color: rgba(245, 247, 251, 0.92);
  font-size: clamp(17px, 1.25vw, 22px);
}

.engineering-projects {
  padding-top: clamp(3rem, 6vw, 6rem);
}

.engineering-projects--support {
  padding-top: clamp(2rem, 4vw, 4rem);
}

.engineering-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
}

.engineering-section-head h2 {
  margin: 0;
  max-width: 14ch;
}

.engineering-project {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  align-items: start;
  padding: clamp(1.2rem, 2.4vw, 2rem) 0;
  border-top: 1px solid rgba(164, 183, 214, 0.18);
}

.engineering-project--primary {
  border-top-color: rgba(71, 196, 255, 0.34);
}

.engineering-project--muted {
  opacity: 0.82;
}

.engineering-project h3 {
  margin: 8px 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(30px, 3vw, 54px);
  line-height: 0.94;
  color: #f5f7fb;
}

.engineering-project p {
  margin: 0;
  max-width: 72ch;
  color: rgba(221, 229, 243, 0.74);
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.5;
}

.engineering-project code {
  color: rgba(245, 247, 251, 0.92);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.engineering-project > a {
  justify-self: end;
  padding-top: 7px;
  color: rgba(71, 196, 255, 0.9);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(71, 196, 255, 0.42);
  text-underline-offset: 5px;
}

.engineering-archive-note {
  max-width: min(1380px, calc(100% - 2.2rem));
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.engineering-archive-note p:last-child {
  margin: 10px 0 0;
  max-width: 68ch;
  color: rgba(221, 229, 243, 0.68);
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.5;
}

.panda-metrics-block {
  clip-path: none;
  padding-bottom: clamp(2.4rem, 4.2vw, 5rem);
}

.metrics-head {
  display: block;
}

.metrics-head h2 {
  margin: 0;
}

.metrics-testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  margin-top: clamp(0.8rem, 1.6vw, 1.4rem);
  align-items: stretch;
}

.metrics-testimonial {
  justify-self: stretch;
  display: grid;
  gap: 0.7rem;
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(136, 164, 212, 0.4);
  background:
    radial-gradient(circle at 8% 14%, rgba(71, 196, 255, 0.14) 0%, rgba(71, 196, 255, 0) 42%),
    linear-gradient(156deg, rgba(10, 19, 38, 0.88), rgba(7, 12, 24, 0.9));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.metrics-testimonial-wide {
  grid-column: 1 / -1;
  max-width: min(960px, 100%);
  justify-self: center;
}

.metrics-testimonial-copy {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 0.55rem;
  height: 100%;
  min-width: 0;
}

.metrics-testimonial-kicker,
.metrics-testimonial-quote,
.metrics-testimonial-name,
.metrics-testimonial-role {
  margin: 0;
}

.metrics-testimonial-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #84d4ff;
  font-weight: 600;
}

.metrics-testimonial-quote {
  font-size: clamp(15px, 1.08vw, 19px);
  line-height: 1.6;
  color: rgba(245, 248, 255, 0.92);
}

.metrics-testimonial-name {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(21px, 1.55vw, 27px);
  line-height: 0.96;
  font-weight: 700;
  color: #f5f8ff;
}

.metrics-testimonial-role {
  font-size: clamp(11px, 0.82vw, 13px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9cb6de;
  font-weight: 500;
}

.idi-spotlight-slide {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.idi-spotlight-content {
  position: relative;
  border-radius: 0;
  background: transparent;
  color: #f5f7ff;
  overflow: hidden;
  clip-path: none;
}

.idi-spotlight-copy {
  display: block;
  max-width: min(760px, 100%);
  align-items: start;
}

.idi-spotlight-copy h2 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(38px, 4.5vw, 88px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.idi-spotlight-copy p {
  margin: clamp(1rem, 2.2vw, 1.8rem) 0 0;
  max-width: 30ch;
  font-size: clamp(22px, 2.4vw, 46px);
  line-height: 1.22;
  color: rgba(240, 244, 255, 0.92);
}

.idi-spotlight-media {
  position: relative;
  margin-top: 0;
}

.idi-spotlight-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 13, 0.38);
  pointer-events: none;
}

.idi-spotlight-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  padding: clamp(2.2rem, 4vw, 4.4rem) clamp(1.8rem, 3.6vw, 4rem) clamp(1.8rem, 2.8vw, 3rem);
}

.idi-spotlight-media video {
  width: 100%;
  height: clamp(420px, 52vw, 760px);
  object-fit: cover;
  display: block;
}

.client-row {
  margin: clamp(1.5rem, 2.4vw, 2.6rem) 0 clamp(1.6rem, 2.8vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.6rem, 1.2vw, 1.1rem);
}

.client-row span {
  color: rgba(255, 255, 255, 0.48);
  text-align: center;
  padding: 0.18rem 0.32rem;
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 500;
  letter-spacing: 0.015em;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2.2rem);
}

.metric-grid article {
  padding: clamp(1rem, 1.8vw, 1.4rem);
  border-radius: 22px;
  border: 1px solid rgba(136, 164, 212, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 21, 34, 0.84), rgba(10, 14, 24, 0.9)),
    radial-gradient(circle at top left, rgba(71, 196, 255, 0.08), transparent 42%);
  min-height: 100%;
}

.metric-topic-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #84d4ff;
  font-weight: 600;
}

.metric-grid article h3 {
  margin: 0.45rem 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.04;
  color: #ffffff;
}

.metric-grid article p:last-child {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.48;
  max-width: 30ch;
  border-top: 0;
  padding-top: 0;
}

.metric-grid article:nth-child(1) p:last-child {
  border-top-color: transparent;
}

.metric-grid article:nth-child(2) p:last-child {
  border-top-color: transparent;
}

.metric-grid article:nth-child(3) p:last-child {
  border-top-color: transparent;
}

.metric-grid article:nth-child(4) p:last-child {
  border-top-color: transparent;
}

.cta-magenta {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
}

.flow-slide.slide-theme-bright .metric-grid .num {
  color: var(--slide-title) !important;
}

.flow-slide.slide-theme-bright .metric-grid article p:last-child {
  border-top-color: var(--slide-subtle-border);
}

.section {
  padding: clamp(1.4rem, 2.4vw, 2.5rem) 0;
}

.section h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 3.9vw, 66px);
  line-height: 1;
  font-family: "Rajdhani", sans-serif;
  color: var(--slide-title, #fff);
}

.section h2 strong {
  color: var(--cyan);
}

.partner-collage-stage {
  position: relative;
  isolation: isolate;
  margin-top: clamp(14px, 2vw, 24px);
  min-height: 620px;
  border-radius: 26px;
  border: 1px solid rgba(132, 150, 184, 0.24);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(71, 196, 255, 0.2) 0%, rgba(71, 196, 255, 0) 48%),
    radial-gradient(circle at 86% 12%, rgba(255, 10, 168, 0.16) 0%, rgba(255, 10, 168, 0) 52%),
    radial-gradient(circle at 54% 90%, rgba(99, 239, 210, 0.19) 0%, rgba(99, 239, 210, 0) 44%),
    linear-gradient(155deg, #101523 0%, #090d16 58%, #070a11 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.partner-collage-profile {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 60;
  width: clamp(360px, 34vw, 560px);
  max-width: calc(100% - 40px);
  overflow: visible;
}

.partner-collage-profile-portrait {
  position: relative;
  inset: auto;
  width: 100%;
}

.partner-collage-profile-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1065 / 1451;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(147, 169, 212, 0.32);
  background: linear-gradient(180deg, #13244b, #0d1a32 82%);
  box-shadow:
    0 14px 24px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.partner-collage-profile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center top !important;
  filter: contrast(1.04) saturate(1.03);
}

.partner-collage-profile-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  width: auto;
  min-width: 0;
  display: grid;
  gap: 0;
  align-content: start;
  padding: 14px 15px 13px;
  border-radius: 16px;
  border: 1px solid rgba(160, 183, 223, 0.26);
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.68), rgba(5, 9, 18, 0.84));
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.partner-collage-profile-kicker,
.partner-collage-profile-name,
.partner-collage-profile-title,
.partner-collage-profile-stats {
  margin: 0;
  color: #e8edf7;
}

.partner-collage-profile-name {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 0.9;
  font-weight: 700;
  color: #f8fbff;
  text-shadow: 0 2px 12px rgba(86, 130, 202, 0.24);
}

.partner-collage-profile-kicker {
  margin-top: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9fbae4;
}

.partner-collage-profile-title {
  margin-top: 8px;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(34px, 3.1vw, 52px);
  line-height: 0.9;
  font-weight: 700;
  color: #f7faff;
  text-shadow: 0 3px 16px rgba(88, 143, 231, 0.24);
}

.partner-collage-profile-stats {
  margin-top: 8px;
  font-size: clamp(18px, 1.42vw, 25px);
  color: #cce2ff;
  font-weight: 700;
}

.partner-collage-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.partner-collage-stage::after {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle at 50% 42%, rgba(96, 131, 198, 0.2) 0%, rgba(5, 8, 14, 0) 68%);
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
}

.partner-collage-node {
  --project-size: 18px;
  --drift-duration: 8s;
  --drift-distance: 8px;
  --node-angle: 0deg;
  --z-layer: 2;
  position: absolute;
  z-index: var(--z-layer);
  max-width: min(33%, 320px);
  padding: clamp(0.24rem, 0.38vw, 0.42rem) clamp(0.46rem, 0.74vw, 0.7rem);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(17, 24, 38, 0.88), rgba(10, 15, 24, 0.9));
  box-shadow: 0 8px 28px rgba(8, 10, 15, 0.32);
  font-size: var(--project-size);
  opacity: 0;
  filter: blur(9px);
  transform: translate3d(0, 18px, 0) scale(0.88) rotate(calc(var(--node-angle) * 0.6));
  transform-origin: center center;
  will-change: transform, opacity, filter;
  pointer-events: none;
  cursor: default;
  transition: box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.partner-collage-node-inner {
  display: grid;
  gap: 0.12em;
  animation: collage-float var(--drift-duration) ease-in-out 980ms infinite alternate;
}

.partner-collage-hover {
  margin-top: 0.32rem;
  display: grid;
  gap: 0.2rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-5px);
  transition: max-height 240ms ease, opacity 200ms ease, transform 200ms ease;
}

.partner-collage-hover p {
  margin: 0;
  display: grid;
  gap: 2px;
}

.partner-collage-hover span {
  font-size: 0.58em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(193, 209, 233, 0.7);
}

.partner-collage-hover strong {
  font-size: 0.68em;
  line-height: 1.15;
  font-weight: 600;
  color: #d7e4f9;
}

.partner-collage-project {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #f0f4fd;
}

.partner-collage-domain {
  display: block;
  font-family: "Exo 2", sans-serif;
  font-size: 0.66em;
  line-height: 1.1;
  font-weight: 400;
  color: #a9b8d0;
}

.partner-collage-node.tone-cyan {
  border-color: rgba(71, 196, 255, 0.36);
  box-shadow: 0 10px 26px rgba(71, 196, 255, 0.17);
}

.partner-collage-node.tone-pink {
  border-color: rgba(255, 10, 168, 0.34);
  box-shadow: 0 10px 26px rgba(255, 10, 168, 0.16);
}

.partner-collage-node.tone-mint {
  border-color: rgba(99, 239, 210, 0.32);
  box-shadow: 0 10px 26px rgba(99, 239, 210, 0.14);
}

.partner-collage-node.tone-ice {
  border-color: rgba(206, 218, 247, 0.34);
  box-shadow: 0 10px 26px rgba(188, 203, 236, 0.14);
}

.partner-collage-node.is-materialized {
  animation: collage-enter 560ms cubic-bezier(0.2, 0.7, 0, 1) forwards;
  pointer-events: auto;
}

.partner-collage-node:hover,
.partner-collage-node:focus-visible {
  z-index: 80 !important;
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: 0 16px 36px rgba(3, 10, 20, 0.58);
  background: linear-gradient(180deg, rgba(24, 34, 53, 0.95), rgba(12, 19, 30, 0.94));
}

.partner-collage-node:hover .partner-collage-hover,
.partner-collage-node:focus-visible .partner-collage-hover {
  max-height: 210px;
  opacity: 1;
  transform: translateY(0);
}

@keyframes collage-enter {
  0% {
    opacity: 0;
    filter: blur(9px);
    transform: translate3d(0, 18px, 0) scale(0.84) rotate(calc(var(--node-angle) * 0.5));
  }

  60% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1) rotate(var(--node-angle));
  }
}

@keyframes collage-float {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(0, calc(var(--drift-distance) * -1), 0);
  }
}

.hero {
  margin-top: 14px;
  min-height: 40vh;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: clamp(2rem, 5vw, 5rem);
}

.hero h1 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(38px, 5vw, 90px);
  color: var(--slide-title, #fff);
  line-height: 1;
}

.hero h1 strong {
  color: var(--cyan);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  min-height: 240px;
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: clamp(1.4rem, 2.2vw, 2.1rem);
}

.card-icon {
  width: 74px;
  margin-bottom: 14px;
}

.info-item {
  min-height: 240px;
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: clamp(1.4rem, 2.2vw, 2.1rem);
}

.info-icon {
  width: 74px;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 10px;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(26px, 2.3vw, 40px);
  color: #fff;
}

.card p {
  margin: 0;
  color: var(--slide-muted, #ced3e0);
  font-size: clamp(16px, 1.2vw, 22px);
}

.card .card-arrow {
  float: right;
  color: var(--cyan);
  font-size: 28px;
}

.center-copy {
  text-align: center;
}

.center-copy p {
  color: var(--slide-muted, #ced2dd);
  font-size: clamp(19px, 1.5vw, 28px);
  max-width: 44ch;
  margin: 0 auto;
}

.center-copy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(1rem, 2vw, 1.6rem);
}

.center-copy-actions .cta-primary {
  margin-top: 0;
}

.soft-panel {
  border-radius: 0;
  overflow: hidden;
  border: 0;
}

.integration-panel {
  border-radius: 0;
  overflow: hidden;
  border: 0;
}

.project-strip {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 14px;
}

.project-strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

.project-detail {
  margin-top: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  gap: 16px;
}

.project-meta {
  margin-top: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  gap: 16px;
}

.project-detail h4 {
  margin: 0 0 8px;
  color: var(--slide-muted, #9099aa);
}

.project-meta h4 {
  margin: 0 0 8px;
  color: var(--slide-muted, #9099aa);
}

.project-detail p,
.project-detail li {
  color: var(--slide-text, #d3d9e7);
}

.project-meta p,
.project-meta li {
  color: var(--slide-text, #d3d9e7);
}

.stats-wrap {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: clamp(1.3rem, 2.1vw, 2rem);
  position: relative;
}

.about-stats {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: clamp(1.3rem, 2.1vw, 2rem);
  position: relative;
}

.stats-bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(71, 196, 255, 0.12);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(76px, 15vw, 240px);
  font-weight: 700;
  pointer-events: none;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stats-grid .num {
  margin: 0;
  font-size: clamp(68px, 8vw, 140px);
  color: var(--slide-title, #fff);
  font-family: "Rajdhani", sans-serif;
  line-height: 0.9;
}

.stats-grid .label {
  margin: 8px 0 0;
  color: var(--slide-muted, #d4d8e2);
}

.site-footer {
  margin-top: 26px;
  border-top: 1px solid #1f2535;
  padding: 30px 0 36px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact-video-footer .container {
  position: relative;
  z-index: 2;
}

.footer-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

.footer-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 56%, rgba(71, 196, 255, 0.28) 0%, rgba(71, 196, 255, 0) 42%),
    linear-gradient(180deg, rgba(6, 8, 14, 0.44), rgba(6, 8, 14, 0.78));
}

.contact-details {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 560ms ease, transform 560ms ease;
}

.contact-video-footer.is-contact-pending .contact-details {
  opacity: 0;
  transform: translateY(16px);
}

.contact-video-footer.is-contact-revealed .contact-details {
  opacity: 1;
  transform: translateY(0);
}

.page-section {
  scroll-margin-top: 108px;
  padding-top: 8px;
}

#slide-container {
  min-height: 62vh;
}

.slide-shell {
  animation: slide-fade 0.22s ease;
}

.slide-state {
  margin: 0;
  min-height: 62vh;
  display: grid;
  place-items: center;
  color: #ced3e0;
  font-size: clamp(20px, 1.4vw, 26px);
}

.slide-error {
  color: #ff9ad5;
}

.slide-frame {
  width: 100%;
  min-height: 68vh;
  border: 0;
  display: block;
  background: transparent;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-grid h4 {
  margin: 0 0 8px;
  color: #fff;
}

.footer-grid p,
.footer-grid a {
  margin: 0 0 6px;
  color: #b8bfd0;
}

.footer-grid a {
  display: block;
}

.legal-hero {
  padding-top: 136px;
}

.legal-intro {
  max-width: 72ch;
}

.legal-copy {
  display: grid;
  gap: 24px;
}

.legal-block {
  border: 1px solid #1f2535;
  border-radius: 24px;
  background: rgba(9, 12, 20, 0.8);
  padding: 28px;
}

.legal-block h2,
.legal-block h3 {
  margin-top: 0;
}

.legal-block h3 {
  margin-bottom: 10px;
}

.legal-block p,
.legal-block li {
  max-width: 78ch;
}

.legal-list {
  margin: 0 0 18px;
  padding-left: 20px;
}

.legal-list-numbered {
  padding-left: 24px;
}

@media (max-width: 1200px) {
  .panda-hero-top,
  .idi-spotlight-copy,
  .panda-idi-grid,
  .prompt-runtime-layout,
  .prs-runtime-grid,
  .microservice-layout,
  .ctox-proof-layout,
  .engineering-hero-grid,
  .engineering-project,
  .metric-grid,
  .cards-grid,
  .project-strip,
  .project-detail,
  .stats-grid,
  .footer-grid,
  .client-row {
    grid-template-columns: 1fr;
  }

  .icon-grid {
    border-right: 0;
    border-bottom: 1px solid #2b3242;
    padding-right: 0;
    padding-bottom: 16px;
  }

  .prompt-runtime-rail {
    border-right: 0;
    border-bottom: 1px solid rgba(167, 186, 216, 0.26);
    padding-right: 0;
    padding-bottom: 14px;
  }

  .prompt-runtime-embed iframe {
    min-height: 980px;
  }

  .prompt-runtime-embed video {
    min-height: 620px;
  }

  .prompt-runtime-embed-interactive iframe {
    min-height: 560px;
    transform: none;
  }

  .prompt-runtime-block--training-carousel .training-carousel-head {
    grid-template-columns: 1fr;
  }

  .training-carousel-controls {
    justify-content: flex-start;
  }

  .training-carousel-controls-row {
    justify-content: flex-start;
  }

  .training-process-banner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .training-process-progress {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "bar"
      "status"
      "detail";
    gap: 8px;
    padding: 10px 12px;
  }

  .training-process-progress-status {
    text-align: left;
  }

  .training-process-bar {
    height: 14px;
  }

  .training-process-dot {
    width: 14px;
    height: 14px;
  }

  .training-hero-embed .prompt-runtime-embed iframe {
    min-height: 340px;
    aspect-ratio: 16 / 8;
  }

  .training-carousel-btn {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }

  .training-carousel-track {
    gap: 12px;
  }

  .training-carousel-viewport {
    width: 100%;
    margin-inline: auto;
  }

  .training-panel {
    flex-basis: 100%;
    grid-template-columns: 1fr;
  }

  .training-panel h3 {
    max-width: 14ch;
  }

  .metrics-head {
    display: block;
  }

  .metrics-testimonials {
    grid-template-columns: 1fr;
  }

  .metrics-testimonial {
    justify-self: stretch;
    width: 100%;
  }

  .metrics-testimonial-wide {
    grid-column: auto;
    max-width: none;
  }

  .panda-metrics-block .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-collage-node {
    max-width: min(46%, 360px);
  }

  .prs-stage {
    min-height: 520px;
  }

  .prs-editor {
    inset: 62px 0 auto 0;
  }

  .panda-hero {
    clip-path: none;
  }

  .panda-metrics-block {
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
    padding-bottom: 36px;
  }

  .panda-transition-rise,
  .panda-transition-fall,
  .panda-transition-notch {
    clip-path: none;
  }

  .transition-rise,
  .transition-fall,
  .transition-notch {
    clip-path: none;
  }

  .panda-slide {
    margin-top: 12px;
    padding-top: clamp(1rem, 2.4vw, 1.4rem);
  }

  .flow-stack {
    --flow-overlap: 12px;
  }

  .idi-spotlight-content {
    clip-path: none;
  }

  .project-strip img {
    height: 200px;
  }

  .ctox-proof-slide {
    min-height: auto;
  }

  .ctox-command-plane,
  .engineering-hero-visual {
    min-height: auto;
  }

  .engineering-project > a {
    justify-self: start;
  }
}

@media (max-width: 1100px) {
  .header-shell {
    min-height: 80px;
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    border: 1px solid #1a1f2b;
    border-radius: 24px;
    background: rgba(11, 13, 18, 0.98);
    box-shadow: 0 28px 48px rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 80;
  }

  .site-header.nav-open .header-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 16px;
    font-size: 17px;
  }

  .header-actions {
    width: auto;
  }

  .header-actions .contact-btn {
    width: auto;
    min-width: 0;
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .logo img {
    width: min(168px, 100%);
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .header-menu {
    padding: 14px;
    border-radius: 18px;
  }

  .ctox-proof-copy h2,
  .engineering-hero h1 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .ctox-command-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ctox-proof-actions,
  .engineering-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .engineering-hero-visual {
    padding: 18px;
  }

  .engineering-layer-stack div {
    grid-template-columns: 42px 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .container {
    width: min(1380px, calc(100% - 1.2rem));
  }

  .mark-main {
    font-size: clamp(34px, 7vw, 44px);
  }

  .main-nav a,
  .lang-switch a {
    padding: 8px 9px;
  }

  .panda-bullets li {
    font-size: clamp(20px, 6vw, 28px);
  }

  .panda-microservice-block--statement {
    height: 76vh;
  }

  .microservice-video-question {
    font-size: clamp(28px, 8.2vw, 54px);
    line-height: 1.05;
  }

  .partner-collage-stage {
    min-height: 860px;
    border-radius: 20px;
  }

  .partner-collage-profile {
    top: 24px;
    bottom: auto;
    left: 12px;
    width: min(640px, calc(100% - 24px));
    min-height: 236px;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 14px 14px;
    border-radius: 16px;
    display: grid;
    align-items: center;
    overflow: visible;
  }

  .partner-collage-profile-portrait {
    position: relative;
    inset: auto;
    width: 126px;
    height: 150px;
    margin-top: 0;
  }

  .partner-collage-profile-photo-frame {
    position: relative;
    inset: auto;
    height: 150px;
    border-radius: 14px;
  }

  .partner-collage-profile-copy {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  .partner-collage-profile-name {
    font-size: clamp(22px, 6vw, 32px);
  }

  .partner-collage-profile-title {
    font-size: clamp(24px, 6.8vw, 34px);
  }

  .partner-collage-profile-stats {
    font-size: clamp(15px, 4.2vw, 22px);
  }

  .partner-collage-stage::before {
    background-size: 56px 56px;
  }

  .metrics-testimonial {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .metrics-testimonial-kicker {
    font-size: 10px;
  }

  .metrics-testimonial-quote {
    font-size: clamp(14px, 4vw, 17px);
  }

  .metrics-testimonial-name {
    font-size: clamp(18px, 5.4vw, 24px);
  }

  .metrics-testimonial-role {
    font-size: clamp(10px, 2.9vw, 12px);
  }

  .panda-metrics-block .metric-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .panda-metrics-block .metric-grid article {
    padding: 16px 16px 18px;
    border-radius: 18px;
  }

  .panda-metrics-block .metric-grid article h3 {
    font-size: clamp(22px, 5.6vw, 30px);
  }

  .panda-metrics-block .metric-grid article p:last-child {
    max-width: none;
    font-size: clamp(15px, 4vw, 18px);
  }

  .partner-collage-node {
    max-width: min(70%, 360px);
    padding: 0.28rem 0.5rem;
  }

  .partner-collage-domain {
    font-size: 0.7em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-collage-node,
  .partner-collage-node .partner-collage-node-inner {
    animation: none !important;
  }

  .partner-collage-node {
    opacity: 1;
    filter: none;
    transform: rotate(var(--node-angle));
  }
}

@keyframes slide-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
