:root {
  --bg: #f7f8f8;
  --panel: #ffffff;
  --panel-2: #f1f3f3;
  --text: #101418;
  --muted: #5f6b75;
  --subtle: #dce2e6;
  --line: rgba(16, 20, 24, 0.11);
  --accent: #1fb678;
  --accent-2: #0e8f62;
  --accent-soft: rgba(31, 182, 120, 0.12);
  --dark: #0b0f14;
  --dark-2: #121820;
  --warning: #b26a00;
  --shadow: 0 22px 70px rgba(14, 24, 33, 0.10);
  --radius: 24px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(31, 182, 120, 0.14), transparent 28rem),
    radial-gradient(circle at top right, rgba(19, 37, 57, 0.09), transparent 34rem),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(16, 20, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 24, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
}

button, a { font: inherit; }

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

p { line-height: 1.72; }

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 14px 0 0;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(16, 20, 24, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(13, 20, 28, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #101418, #1f2b35);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.05em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15), 0 12px 25px rgba(16,20,24,0.20);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #2f3943;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: var(--panel-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ghost-link {
  font-size: 14px;
  font-weight: 700;
  color: #26313b;
  padding: 10px 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(16, 20, 24, 0.15);
  border-radius: 999px;
  color: #fff;
  background: var(--dark);
  box-shadow: 0 14px 34px rgba(16, 20, 24, 0.20);
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(16, 20, 24, 0.25);
}

.button.small { padding: 11px 16px; font-size: 14px; }
.button.large { padding: 15px 21px; font-size: 15px; }
.button.secondary {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 10px 28px rgba(16, 20, 24, 0.08);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 10px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 999px;
}

.section-pad {
  padding: 86px 0;
}

.hero {
  padding-top: 92px;
  padding-bottom: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-2);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 rgba(31, 182, 120, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 182, 120, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(31, 182, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 182, 120, 0); }
}

.hero h1 {
  margin: 20px 0 20px;
  font-size: clamp(45px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  max-width: 820px;
}

.hero-subtitle {
  max-width: 660px;
  margin: 0;
  color: #4b5863;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.hero-actions.center { justify-content: center; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.hero-proof span, .compare-points span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 9px 12px;
  color: #35414c;
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.orbit-card {
  position: absolute;
  inset: 8px 0 auto 70px;
  width: min(420px, 86vw);
  height: 420px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 50%, rgba(31, 182, 120, 0.26), transparent 26%),
    radial-gradient(circle at top right, rgba(255,255,255,0.09), transparent 26%),
    linear-gradient(135deg, #101820, #070b10);
  box-shadow: 0 34px 90px rgba(16,20,24,0.30);
  overflow: hidden;
}

.orbit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle, black, transparent 78%);
}

.orbit-ring {
  position: absolute;
  inset: 70px;
  border: 1px dashed rgba(255,255,255,0.22);
  border-radius: 999px;
  animation: rotate 18s linear infinite;
}
.orbit-ring.two {
  inset: 112px;
  animation-duration: 12s;
  animation-direction: reverse;
}

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

.node {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.11);
  color: white;
  border-radius: 16px;
  min-width: 74px;
  min-height: 44px;
  font-weight: 900;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
}
.center-node {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  left: calc(50% - 55px);
  top: calc(50% - 55px);
  background: linear-gradient(135deg, var(--accent), #0b6d4d);
}
.node-a { top: 58px; left: 52px; }
.node-b { top: 72px; right: 54px; }
.node-c { bottom: 62px; left: 58px; }
.node-d { bottom: 70px; right: 62px; }

.terminal-card {
  position: absolute;
  right: 6px;
  bottom: 5px;
  width: min(440px, 90vw);
  border-radius: 24px;
  background: rgba(8, 12, 18, 0.92);
  color: #ecfdf5;
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 28px 80px rgba(0,0,0,0.32);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.035);
}
.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #ef4444;
}
.terminal-top span:nth-child(2) { background: #f59e0b; }
.terminal-top span:nth-child(3) { background: #22c55e; }
.terminal-top small {
  margin-left: auto;
  color: rgba(255,255,255,0.56);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  line-height: 1.75;
}
code { font-family: inherit; }
.muted { color: #8aa0b4; }
.success { color: #39d98a; font-weight: 900; }

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.70);
  box-shadow: var(--shadow);
}
.logo-strip span {
  padding: 11px 14px;
  border-radius: 999px;
  color: #46535f;
  background: var(--panel-2);
  font-weight: 800;
  font-size: 13px;
}

.section-heading {
  text-align: center;
  max-width: 810px;
  margin: 0 auto 36px;
}
.section-heading.align-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.section-heading.compact { margin-bottom: 32px; }
.section-heading h2 {
  margin: 13px 0 13px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.06em;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.problem-grid, .feature-grid, .trust-grid, .roadmap-grid {
  display: grid;
  gap: 16px;
}
.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.problem-card, .feature-card, .trust-card, .roadmap-step {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.76);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 38px rgba(17, 24, 39, 0.06);
}
.problem-card h3, .feature-card h3, .trust-card h3, .roadmap-step h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.035em;
}
.problem-card p, .feature-card p, .trust-card p, .roadmap-step p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feature-card {
  min-height: 236px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 182, 120, 0.32);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 22px;
  font-weight: 900;
  color: #082d20;
  background: var(--accent-soft);
  border: 1px solid rgba(31, 182, 120, 0.22);
}

.quickstart-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.code-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--dark);
  color: #f8fafc;
  box-shadow: 0 35px 90px rgba(16,20,24,0.24);
}
.tabs {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.035);
}
.tab {
  border: 0;
  border-radius: 999px;
  padding: 10px 13px;
  color: rgba(255,255,255,0.70);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
}
.tab.active {
  color: #06150f;
  background: var(--accent);
}
.tab-content {
  display: none;
  position: relative;
}
.tab-content.active { display: block; }
.copy-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 8px 11px;
  font-weight: 800;
  cursor: pointer;
}
.code-panel pre { padding: 26px 22px 28px; }

.architecture-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 0.7fr;
  gap: 16px;
  align-items: center;
}
.arch-column {
  display: grid;
  gap: 14px;
}
.arch-column span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  color: #33404b;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(16,20,24,0.05);
}
.arch-core {
  position: relative;
  padding: 28px;
  min-height: 330px;
  border-radius: 34px;
  background: linear-gradient(135deg, #111820, #07100d);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(16,20,24,0.24);
}
.arch-core::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(31, 182, 120, 0.34), transparent 28%),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}
.arch-core-title, .arch-core-grid {
  position: relative;
}
.arch-core-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-bottom: 26px;
}
.arch-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.arch-core-grid b {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
}

.trust-grid {
  grid-template-columns: 1.05fr 0.95fr;
}
.trust-card.strong {
  background: #07100d;
  color: #fff;
}
.trust-card.strong p { color: rgba(255,255,255,0.78); }
.trust-card.caution {
  border-color: rgba(178, 106, 0, 0.22);
  background: rgba(255, 247, 237, 0.85);
}
ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.85;
}

.example-list {
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow);
}
.example-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}
.example-item:last-child { border-bottom: 0; }
.example-item:hover { background: #fff; }
.example-item span {
  color: var(--accent-2);
  font-weight: 900;
  font-family: "JetBrains Mono", monospace;
}
.example-item h3 {
  margin: 0 0 6px;
  font-size: 23px;
  letter-spacing: -0.04em;
}
.example-item p {
  margin: 0;
  color: var(--muted);
}

.compare-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 36px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(31,182,120,0.20), transparent 30%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.compare-card h2 {
  margin: 12px 0;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}
.compare-card p {
  margin: 0;
  color: var(--muted);
}
.compare-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.roadmap-step span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-2);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.roadmap-step.now {
  border-color: rgba(31,182,120,0.30);
  background: linear-gradient(180deg, rgba(31,182,120,0.11), rgba(255,255,255,0.82));
}

.final-cta {
  text-align: center;
  border-radius: 42px;
  background: linear-gradient(135deg, #101820, #07100d);
  color: #fff;
  margin-bottom: 70px;
  position: relative;
  overflow: hidden;
  padding-left: 28px;
  padding-right: 28px;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(31,182,120,0.34), transparent 30%),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
}
.final-cta > * { position: relative; }
.final-cta h2 {
  margin: 12px auto;
  max-width: 720px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}
.final-cta p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255,255,255,0.76);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
}
.footer p {
  max-width: 520px;
  color: var(--muted);
}
.footer-links {
  display: grid;
  gap: 12px;
  color: #3f4c57;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 90ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 230ms; }

/* Robot hero composition */
.robot-visual {
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.robot-stage {
  position: relative;
  width: min(540px, 100%);
  height: 620px;
  border-radius: 42px;
  border: 1px solid rgba(16, 20, 24, 0.10);
  background:
    radial-gradient(circle at 50% 16%, rgba(63, 218, 255, 0.22), transparent 27%),
    radial-gradient(circle at 80% 34%, rgba(31, 182, 120, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(236, 245, 249, 0.92));
  box-shadow:
    0 42px 110px rgba(14, 24, 33, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.85);
  overflow: visible;
  isolation: isolate;
}

.robot-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 34px;
  background-image:
    linear-gradient(rgba(16, 20, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 24, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 45%, black 0%, transparent 72%);
  z-index: 0;
}

.robot-backdrop {
  position: absolute;
  inset: 52px 42px 62px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.95) 0 26%, rgba(31, 182, 120, 0.18) 27% 42%, rgba(63, 218, 255, 0.12) 43% 58%, transparent 60%);
  filter: blur(2px);
  z-index: 1;
}

.robot-orbit {
  position: absolute;
  left: 50%;
  top: 45%;
  translate: -50% -50%;
  border: 1px dashed rgba(14, 143, 98, 0.28);
  border-radius: 999px;
  z-index: 1;
  animation: rotate 22s linear infinite;
}

.robot-orbit::before,
.robot-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #1fb678;
  box-shadow: 0 0 24px rgba(31, 182, 120, 0.65);
}

.robot-orbit::before { top: 10%; left: 16%; }
.robot-orbit::after { right: 14%; bottom: 12%; }

.orbit-one { width: 410px; height: 410px; }
.orbit-two {
  width: 310px;
  height: 310px;
  animation-duration: 15s;
  animation-direction: reverse;
  border-color: rgba(63, 218, 255, 0.28);
}

.robot-main {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 10px;
  width: auto;
  height: min(570px, calc(100% - 46px));
  transform: translateX(-50%);
  object-fit: contain;
  filter: drop-shadow(0 34px 36px rgba(16, 20, 24, 0.24));
  animation: robotFloat 5.8s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}

@keyframes robotFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.floating-badge {
  position: absolute;
  z-index: 5;
  display: grid;
  grid-template-columns: 10px 1fr;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  min-width: 196px;
  padding: 13px 15px;
  border-radius: 18px;
  border: 1px solid rgba(16, 20, 24, 0.11);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(14, 24, 33, 0.12);
  backdrop-filter: blur(16px);
}

.floating-badge strong {
  color: #101418;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.floating-badge small {
  grid-column: 2;
  color: #61707b;
  font-size: 11px;
  font-weight: 700;
}

.badge-light {
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #1fb678;
  box-shadow: 0 0 0 7px rgba(31, 182, 120, 0.12), 0 0 22px rgba(31, 182, 120, 0.55);
}

.badge-top {
  top: 42px;
  right: -18px;
  animation: badgeFloatA 6.2s ease-in-out infinite;
}

.badge-mid {
  top: 226px;
  left: -28px;
  animation: badgeFloatB 6.8s ease-in-out infinite;
}

@keyframes badgeFloatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes badgeFloatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.robot-terminal {
  position: absolute;
  z-index: 6;
  left: -14px;
  bottom: 28px;
  width: min(360px, calc(100% - 26px));
  border-radius: 22px;
  background: rgba(8, 12, 18, 0.92);
  color: #ecfdf5;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 28px 80px rgba(0,0,0,0.28);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.robot-terminal pre {
  padding: 18px;
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .nav {
    border-radius: 26px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .mobile-toggle { display: inline-block; margin-left: auto; }
  .nav-links, .nav-actions {
    display: none;
    width: 100%;
  }
  .nav-links.open, .nav-actions.open {
    display: flex;
  }
  .nav-links.open {
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }
  .nav-actions.open { justify-content: stretch; }
  .nav-actions.open .button, .nav-actions.open .ghost-link { flex: 1; }
  .hero-grid, .quickstart-layout, .architecture-grid, .compare-card, .footer {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: 620px; }
  .robot-stage { width: min(560px, 100%); }
  .badge-top { right: 14px; }
  .badge-mid { left: 14px; }
  .orbit-card { left: 0; right: 0; margin: auto; }
  .terminal-card { left: 0; right: 0; margin: auto; }
  .problem-grid, .feature-grid, .trust-grid, .roadmap-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .page-shell { width: min(100% - 22px, 1180px); }
  .site-header { top: 8px; }
  .hero { padding-top: 62px; }
  .section-pad { padding: 62px 0; }
  .hero h1 { font-size: clamp(42px, 14vw, 64px); }
  .hero-subtitle { font-size: 16px; }
  .problem-grid, .feature-grid, .trust-grid, .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: 590px; }
  .robot-stage {
    height: 560px;
    border-radius: 30px;
    overflow: hidden;
  }
  .robot-main {
    height: 500px;
    bottom: 10px;
  }
  .orbit-one { width: 330px; height: 330px; }
  .orbit-two { width: 245px; height: 245px; }
  .floating-badge {
    min-width: 172px;
    padding: 11px 12px;
  }
  .badge-top { top: 24px; right: 12px; }
  .badge-mid { top: 178px; left: 12px; }
  .robot-terminal {
    left: 12px;
    bottom: 16px;
    width: calc(100% - 24px);
  }
  .orbit-card { height: 340px; width: 100%; }
  .terminal-card { width: calc(100% - 4px); }
  .center-node { transform: scale(0.85); }
  .node { transform: scale(0.88); }
  .example-item { grid-template-columns: 44px 1fr; padding: 20px; }
  .compare-card, .final-cta { padding: 28px; }
  pre { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* GIF hero fix + trust-enhanced motion layer */
.gif-stage {
  --stage-blue: rgba(22, 163, 255, 0.22);
  --stage-green: rgba(31, 182, 120, 0.20);
  height: 660px;
  overflow: hidden;
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.95) 0 6%, transparent 24%),
    radial-gradient(circle at 49% 35%, var(--stage-blue), transparent 36%),
    radial-gradient(circle at 83% 26%, var(--stage-green), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(236, 246, 249, 0.94) 54%, rgba(226, 239, 244, 0.95));
  box-shadow:
    0 46px 120px rgba(14, 24, 33, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.92),
    inset 0 -1px 0 rgba(16,20,24,0.08);
}

.gif-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,0.28) 44%, transparent 56% 100%),
    radial-gradient(circle at 50% 96%, rgba(16,20,24,0.12), transparent 34%);
  mix-blend-mode: soft-light;
  animation: stageSweep 7.5s ease-in-out infinite;
}

@keyframes stageSweep {
  0%, 100% { transform: translateX(-18%); opacity: 0.45; }
  48% { transform: translateX(18%); opacity: 0.82; }
}

.gif-stage .robot-backdrop {
  inset: 54px 36px 60px;
  filter: blur(0);
  opacity: 0.96;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.95) 0 21%, rgba(67, 198, 255, 0.18) 22% 38%, rgba(31, 182, 120, 0.13) 39% 57%, transparent 60%);
  animation: haloBreath 5.6s ease-in-out infinite;
}

@keyframes haloBreath {
  0%, 100% { transform: scale(0.98); opacity: 0.88; }
  50% { transform: scale(1.03); opacity: 1; }
}

.signal-line {
  position: absolute;
  z-index: 2;
  height: 1px;
  width: 52%;
  background: linear-gradient(90deg, transparent, rgba(14,143,98,0.48), transparent);
  transform-origin: center;
  opacity: 0.0;
  animation: signalMove 4.8s ease-in-out infinite;
}
.signal-a { top: 138px; left: 42px; rotate: -10deg; }
.signal-b { bottom: 205px; right: 30px; rotate: 14deg; animation-delay: 1.7s; }

@keyframes signalMove {
  0%, 100% { opacity: 0; transform: translateX(-26px); }
  35%, 62% { opacity: 1; }
  72% { opacity: 0; transform: translateX(34px); }
}

.robot-main.animated-gif {
  z-index: 4;
  bottom: -8px;
  height: min(620px, calc(100% - 34px));
  width: auto;
  transform: translateX(-50%);
  filter:
    drop-shadow(0 30px 33px rgba(16, 20, 24, 0.24))
    drop-shadow(0 0 18px rgba(39, 185, 255, 0.16));
  animation: robotPresence 6.8s ease-in-out infinite;
}

@keyframes robotPresence {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(-6px) scale(1.006); }
}

.gif-stage .robot-orbit {
  z-index: 2;
  border-color: rgba(12, 119, 87, 0.28);
  animation-duration: 26s;
}
.gif-stage .orbit-two {
  border-color: rgba(25, 154, 220, 0.26);
  animation-duration: 17s;
}
.gif-stage .robot-orbit::before,
.gif-stage .robot-orbit::after {
  width: 8px;
  height: 8px;
}

.gif-stage .floating-badge {
  z-index: 7;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(16, 20, 24, 0.10);
}
.gif-stage .badge-top { right: 18px; top: 36px; }
.gif-stage .badge-mid { left: 18px; top: 212px; }
.badge-bottom {
  right: 22px;
  bottom: 126px;
  min-width: 212px;
  animation: badgeFloatC 7.1s ease-in-out infinite;
}
.badge-light.blue {
  background: #25b7ff;
  box-shadow: 0 0 0 7px rgba(37, 183, 255, 0.12), 0 0 22px rgba(37, 183, 255, 0.50);
}
@keyframes badgeFloatC {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.gif-stage .robot-terminal {
  left: 24px;
  bottom: 24px;
  width: min(348px, calc(100% - 48px));
  z-index: 8;
  background: rgba(7, 12, 18, 0.86);
  box-shadow: 0 28px 78px rgba(5, 10, 16, 0.30);
}

.robot-terminal code .success,
.success {
  text-shadow: 0 0 18px rgba(57,217,138,0.30);
}

.gif-stage[data-status="animated"]::before {
  animation: gridDrift 18s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 34px 34px, 34px 34px; }
}

@media (max-width: 980px) {
  .gif-stage { height: 650px; }
  .robot-main.animated-gif { height: 605px; bottom: -6px; }
  .gif-stage .badge-top { right: 18px; }
  .gif-stage .badge-mid { left: 18px; }
  .badge-bottom { right: 18px; bottom: 126px; }
}

@media (max-width: 680px) {
  .gif-stage { height: 590px; border-radius: 30px; }
  .robot-main.animated-gif { height: 510px; bottom: -2px; }
  .gif-stage .badge-top { top: 18px; right: 12px; }
  .gif-stage .badge-mid { top: 154px; left: 12px; }
  .badge-bottom { display: none; }
  .gif-stage .robot-terminal { left: 12px; bottom: 14px; width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  .gif-stage::after,
  .gif-stage .robot-backdrop,
  .signal-line,
  .robot-main.animated-gif,
  .gif-stage .robot-orbit,
  .badge-bottom,
  .gif-stage[data-status="animated"]::before {
    animation: none !important;
  }
}


/* SVG hero final: clean, trusted, non-video composition */
.hero-grid {
  align-items: center;
}

.robot-stage.gif-stage {
  height: 660px;
  overflow: hidden;
  border-radius: 44px;
  border-color: rgba(16, 20, 24, 0.095);
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.98) 0 9%, transparent 27%),
    radial-gradient(circle at 49% 36%, rgba(37, 183, 255, 0.20), transparent 38%),
    radial-gradient(circle at 84% 26%, rgba(31, 182, 120, 0.17), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(240, 248, 250, 0.98) 54%, rgba(228, 240, 246, 0.98));
  box-shadow:
    0 46px 120px rgba(14, 24, 33, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.94),
    inset 0 -1px 0 rgba(16,20,24,0.08);
}

.robot-stage.gif-stage::before {
  opacity: 0.8;
  animation: gridDrift 22s linear infinite;
}

.robot-stage.gif-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 35%, rgba(255,255,255,0.26) 46%, transparent 58% 100%),
    radial-gradient(circle at 50% 97%, rgba(16,20,24,0.12), transparent 36%);
  mix-blend-mode: soft-light;
  animation: stageSweep 8s ease-in-out infinite;
}

.robot-main.robot-svg {
  z-index: 4;
  bottom: -6px;
  height: min(620px, calc(100% - 30px));
  width: auto;
  max-width: 94%;
  object-fit: contain;
  transform: translateX(-50%) translateY(0) rotate(var(--robot-tilt, 0deg));
  filter:
    drop-shadow(0 32px 36px rgba(16, 20, 24, 0.23))
    drop-shadow(0 0 22px rgba(39, 185, 255, 0.16));
  animation: robotPresenceSvg 6.8s ease-in-out infinite;
  mix-blend-mode: normal;
}

@keyframes robotPresenceSvg {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(var(--robot-tilt, 0deg)) scale(1); }
  50% { transform: translateX(-50%) translateY(-4px) rotate(var(--robot-tilt, 0deg)) scale(1.003); }
}

.gif-stage .robot-backdrop {
  inset: 32px 26px 42px;
  border-radius: 38px;
  opacity: 0.98;
  filter: blur(0);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(238,247,250,0.66)),
    radial-gradient(circle at center, rgba(255,255,255,0.96) 0 22%, rgba(67,198,255,0.18) 23% 39%, rgba(31,182,120,0.12) 40% 58%, transparent 63%);
  box-shadow: inset 0 0 0 1px rgba(16,20,24,0.05);
  animation: haloBreath 6.2s ease-in-out infinite;
}

.gif-stage .robot-orbit {
  z-index: 2;
  border-color: rgba(12, 119, 87, 0.26);
  animation-duration: 28s;
}

.gif-stage .orbit-two {
  border-color: rgba(25, 154, 220, 0.26);
  animation-duration: 18s;
}

.gif-stage .floating-badge,
.gif-stage .robot-terminal {
  will-change: transform;
}

.gif-stage .badge-top { right: 18px; top: 36px; }
.gif-stage .badge-mid { left: 18px; top: 212px; }
.badge-bottom { right: 22px; bottom: 126px; }

/* Trust-focused micro-interaction: only moves the stage slightly on pointer devices. */
@media (hover: hover) and (pointer: fine) {
  .robot-stage.gif-stage {
    transform: perspective(1100px) rotateX(calc(var(--hero-y, 0) * -0.65deg)) rotateY(calc(var(--hero-x, 0) * 0.65deg));
    transition: transform 180ms ease-out;
  }
}

@media (max-width: 980px) {
  .robot-stage.gif-stage { height: 650px; }
  .robot-main.robot-svg { height: 605px; bottom: -6px; }
  .gif-stage .badge-top { right: 18px; }
  .gif-stage .badge-mid { left: 18px; }
  .badge-bottom { right: 18px; bottom: 126px; }
}

@media (max-width: 680px) {
  .robot-stage.gif-stage { height: 590px; border-radius: 30px; }
  .robot-main.robot-svg { height: 510px; bottom: -2px; max-width: 96%; }
  .gif-stage .badge-top { top: 18px; right: 12px; }
  .gif-stage .badge-mid { top: 154px; left: 12px; }
  .badge-bottom { display: none; }
  .gif-stage .robot-terminal { left: 12px; bottom: 14px; width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  .robot-stage.gif-stage,
  .robot-stage.gif-stage::after,
  .robot-stage.gif-stage::before,
  .gif-stage .robot-backdrop,
  .signal-line,
  .robot-main.robot-svg,
  .gif-stage .robot-orbit,
  .badge-bottom {
    animation: none !important;
    transform: none !important;
  }
  .robot-main.robot-svg { transform: translateX(-50%) !important; }
}

/* Uploaded MP4 hero: uses the user's actual video, inside a clean trust-focused frame. */
.robot-stage.gif-stage[data-status="video-ready"] {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.98) 0 12%, transparent 28%),
    radial-gradient(circle at 49% 36%, rgba(37, 183, 255, 0.18), transparent 38%),
    radial-gradient(circle at 83% 26%, rgba(31, 182, 120, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(244,249,251,0.99) 56%, rgba(232,242,247,0.99));
}

.robot-main.robot-video {
  z-index: 4;
  bottom: -8px;
  height: min(650px, calc(100% - 22px));
  width: auto;
  max-width: 96%;
  object-fit: contain;
  transform: translateX(-50%) translateY(0) rotate(var(--robot-tilt, 0deg));
  border: 0;
  outline: 0;
  background: transparent;
  filter:
    drop-shadow(0 34px 38px rgba(16, 20, 24, 0.21))
    drop-shadow(0 0 22px rgba(37, 183, 255, 0.12));
  animation: robotPresenceVideo 10.5s ease-in-out infinite;
}

@keyframes robotPresenceVideo {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(var(--robot-tilt, 0deg)) scale(1); }
  50% { transform: translateX(-50%) translateY(-4px) rotate(var(--robot-tilt, 0deg)) scale(1.003); }
}

.robot-stage.gif-stage[data-status="video-ready"] .robot-backdrop {
  inset: 30px 24px 40px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(239,248,250,0.72)),
    radial-gradient(circle at center, rgba(255,255,255,0.98) 0 25%, rgba(67,198,255,0.16) 26% 42%, rgba(31,182,120,0.10) 43% 60%, transparent 64%);
}

.robot-stage.gif-stage[data-status="video-ready"]::after {
  mix-blend-mode: normal;
  opacity: 0.72;
}

@media (max-width: 980px) {
  .robot-main.robot-video { height: 590px; bottom: -6px; }
}

@media (max-width: 680px) {
  .robot-main.robot-video { height: 500px; bottom: -2px; max-width: 97%; }
}

@media (prefers-reduced-motion: reduce) {
  .robot-main.robot-video {
    animation: none !important;
    transform: translateX(-50%) !important;
  }
}


/* Transparent WebM hero refinement */
.robot-main.transparent-robot-video {
  background: transparent !important;
  mix-blend-mode: normal;
  object-fit: contain;
  filter: drop-shadow(0 28px 48px rgba(15, 23, 42, 0.15)) saturate(1.04) contrast(1.025);
}

.robot-stage.gif-stage[data-status="video-ready"] {
  background:
    radial-gradient(circle at 50% 38%, rgba(59, 130, 246, 0.08), transparent 36%),
    radial-gradient(circle at 50% 82%, rgba(15, 23, 42, 0.05), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.94));
}

/* Premium feature body-map section using uploaded robot capability panels */
.feature-map {
  position: relative;
  margin: 10px calc(50% - 50vw) 0;
  padding-left: max(32px, calc((100vw - 1180px) / 2));
  padding-right: max(32px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 187, 255, 0.17), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(31, 182, 120, 0.12), transparent 34rem),
    linear-gradient(180deg, #081019 0%, #0b1118 46%, #f7f8f8 100%);
  color: #eaf6ff;
  overflow: hidden;
}

.feature-map::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(79, 209, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 209, 255, 0.16) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, black 54%, transparent 92%);
}

.feature-map .section-heading {
  position: relative;
  z-index: 1;
}

.feature-map .section-heading h2 {
  color: #ffffff;
}

.feature-map .section-heading p {
  color: rgba(234, 246, 255, 0.72);
}

.flow-ribbon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: min(1100px, 100%);
  margin: 26px auto 42px;
  padding: 16px;
  border: 1px solid rgba(115, 215, 255, 0.23);
  border-radius: 999px;
  background: rgba(5, 12, 20, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 24px 70px rgba(0, 0, 0, 0.24);
}

.flow-ribbon span {
  padding: 9px 12px;
  border: 1px solid rgba(96, 210, 255, 0.22);
  border-radius: 999px;
  color: #dff7ff;
  background: linear-gradient(180deg, rgba(16, 38, 56, 0.92), rgba(4, 16, 28, 0.76));
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(0, 187, 255, 0.10);
}

.flow-ribbon i {
  width: 20px;
  height: 1px;
  display: inline-block;
  background: linear-gradient(90deg, transparent, rgba(74, 220, 255, 0.88), transparent);
  position: relative;
}

.flow-ribbon i::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(74, 220, 255, 0.88);
  border-right: 1px solid rgba(74, 220, 255, 0.88);
  transform: rotate(45deg);
}

.feature-visual-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.feature-visual-card {
  min-height: 520px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(92, 210, 255, 0.22);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    rgba(4, 10, 18, 0.82);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255,255,255,0.035);
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.feature-visual-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 35%), rgba(0, 195, 255, 0.18), transparent 34%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.feature-visual-card:hover {
  transform: translateY(-6px);
  border-color: rgba(92, 220, 255, 0.42);
  box-shadow: 0 38px 105px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(0, 187, 255, 0.10);
}

.feature-visual-card:hover::before {
  opacity: 1;
}

.feature-visual-card.feature-wide {
  grid-column: span 2;
  min-height: 620px;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: 1fr;
  align-items: center;
}

.feature-visual-card.feature-wide.reverse {
  grid-template-columns: 1fr 1fr;
}

.feature-visual-card.feature-wide.reverse .feature-visual-copy {
  order: 2;
}

.feature-visual-card.feature-wide.reverse .feature-figure {
  order: 1;
}

.feature-visual-copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.feature-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(91, 220, 255, 0.35);
  background: rgba(0, 166, 255, 0.10);
  color: #8be6ff;
  font: 800 13px/1 JetBrains Mono, monospace;
  box-shadow: 0 0 34px rgba(0, 187, 255, 0.16);
}

.feature-visual-copy h3 {
  margin: 18px 0 10px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #fff;
}

.feature-visual-copy p {
  margin: 0;
  color: rgba(231, 247, 255, 0.73);
  font-size: 16px;
}

.feature-visual-copy ul {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  color: rgba(231, 247, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.feature-visual-copy li {
  position: relative;
  padding-left: 20px;
}

.feature-visual-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #35d7ff;
  box-shadow: 0 0 18px rgba(53, 215, 255, 0.85);
}

.feature-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  min-height: 300px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background:
    radial-gradient(circle at center, rgba(0, 187, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
  overflow: hidden;
}

.feature-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.13) 45%, transparent 66%);
  transform: translateX(-120%);
  animation: featureSheen 6.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes featureSheen {
  0%, 72% { transform: translateX(-120%); opacity: 0; }
  78% { opacity: 0.65; }
  100% { transform: translateX(120%); opacity: 0; }
}

.feature-figure img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.45));
  transform: translate3d(0,0,0) scale(1.01);
  animation: featureFloat 8s ease-in-out infinite;
}

.feature-figure.landscape img { max-height: 520px; }
.feature-figure.portrait img { max-height: 600px; }
.feature-figure.portrait.tall img { max-height: 680px; }
.feature-figure.tight img { max-height: 420px; }

@keyframes featureFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.01); }
  50% { transform: translate3d(0, -9px, 0) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .feature-figure::after,
  .feature-figure img,
  .flow-ribbon span,
  .pulse-dot {
    animation: none !important;
  }
}

@media (max-width: 920px) {
  .feature-map {
    padding-left: 20px;
    padding-right: 20px;
  }

  .flow-ribbon {
    border-radius: 28px;
    justify-content: flex-start;
  }

  .flow-ribbon i {
    display: none;
  }

  .feature-visual-grid,
  .feature-visual-card.feature-wide,
  .feature-visual-card.feature-wide.reverse {
    grid-template-columns: 1fr;
  }

  .feature-visual-card.feature-wide,
  .feature-visual-card {
    grid-column: span 1;
    min-height: auto;
  }

  .feature-visual-card.feature-wide.reverse .feature-visual-copy,
  .feature-visual-card.feature-wide.reverse .feature-figure {
    order: initial;
  }

  .feature-figure img,
  .feature-figure.portrait img,
  .feature-figure.portrait.tall img,
  .feature-figure.landscape img {
    max-height: 460px;
  }
}

@media (max-width: 560px) {
  .feature-map {
    padding-top: 68px;
  }

  .feature-visual-card {
    padding: 18px;
    border-radius: 24px;
  }

  .feature-visual-copy h3 {
    font-size: 34px;
  }

  .feature-figure {
    min-height: 260px;
  }

  .feature-figure img,
  .feature-figure.portrait img,
  .feature-figure.portrait.tall img,
  .feature-figure.landscape img {
    max-height: 360px;
  }
}

/* Clean scroll-driven feature flow: transparent robot panels fade in/out one by one */
.scroll-feature-flow {
  position: relative;
  margin: 10px calc(50% - 50vw) 0;
  padding-left: max(28px, calc((100vw - 1180px) / 2));
  padding-right: max(28px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 16% 4%, rgba(44, 186, 255, 0.14), transparent 30rem),
    radial-gradient(circle at 86% 10%, rgba(31, 182, 120, 0.10), transparent 34rem),
    linear-gradient(180deg, #fbfcfd 0%, #f4f8fa 48%, #ffffff 100%);
  color: var(--text);
  overflow: clip;
}

.scroll-feature-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 20, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 24, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
}

.scroll-feature-flow .section-heading,
.scroll-feature-flow .flow-ribbon,
.scroll-feature-flow .scroll-flow-shell {
  position: relative;
  z-index: 1;
}

.scroll-feature-flow .section-heading h2 {
  color: #0e141b;
}

.scroll-feature-flow .section-heading p {
  color: #52616d;
}

.scroll-feature-flow .flow-ribbon {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(16, 20, 24, 0.10);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.92);
}

.scroll-feature-flow .flow-ribbon span {
  color: #0d2332;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(238,246,249,0.86));
  border-color: rgba(18, 151, 205, 0.18);
  box-shadow: 0 9px 22px rgba(15, 23, 42, 0.055);
}

.scroll-feature-flow .flow-ribbon i {
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.62), transparent);
}

.scroll-feature-flow .flow-ribbon i::after {
  border-color: rgba(14, 165, 233, 0.72);
}

.scroll-flow-shell {
  width: min(1180px, 100%);
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: minmax(380px, 0.96fr) minmax(360px, 0.84fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.scroll-stage-wrap {
  position: sticky;
  top: 108px;
  height: min(760px, calc(100vh - 136px));
  min-height: 560px;
}

.scroll-stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 45%, rgba(14, 165, 233, 0.10), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.46));
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow:
    0 34px 90px rgba(15, 23, 42, 0.11),
    inset 0 1px 0 rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
}

.stage-halo {
  position: absolute;
  inset: 12% 7%;
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 187, 255, 0.20), transparent 28%),
    radial-gradient(circle at 55% 70%, rgba(31, 182, 120, 0.10), transparent 30%);
  filter: blur(10px);
  opacity: 0.84;
  animation: cleanHalo 7.5s ease-in-out infinite;
}

@keyframes cleanHalo {
  0%, 100% { transform: scale(0.98); opacity: 0.72; }
  50% { transform: scale(1.035); opacity: 0.92; }
}

.stage-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(14, 165, 233, 0.20);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  opacity: 0.55;
}

.ring-one {
  width: min(88%, 520px);
  aspect-ratio: 1;
  animation: ringRotate 24s linear infinite;
}

.ring-two {
  width: min(68%, 390px);
  aspect-ratio: 1;
  animation: ringRotate 34s linear infinite reverse;
}

.stage-ring::before,
.stage-ring::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.62);
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.34);
}

.stage-ring::before { top: -4px; left: 50%; }
.stage-ring::after { bottom: -4px; left: 50%; }

@keyframes ringRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.stage-scan {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.22;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 42%, rgba(255,255,255,0.8) 50%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: cleanScan 6.4s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes cleanScan {
  0%, 66% { transform: translateX(-120%); opacity: 0; }
  74% { opacity: 0.28; }
  100% { transform: translateX(120%); opacity: 0; }
}

.flow-panel {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 34px);
  opacity: 0;
  transform: translateY(18px) scale(0.965);
  transition: opacity 650ms ease, transform 650ms ease, filter 650ms ease;
  will-change: opacity, transform;
}

.flow-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  z-index: 2;
}

.flow-panel img,
.flow-panel video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  filter:
    drop-shadow(0 28px 56px rgba(15, 23, 42, 0.16))
    saturate(1.03)
    contrast(1.035);
}

.flow-panel img {
  opacity: 0.50;
}

.flow-panel-video video {
  opacity: 0.94;
  max-height: 94%;
}

.stage-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 5;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-areas: "num title" "num sub";
  align-items: center;
  gap: 1px 12px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(18px);
}

.stage-caption span {
  grid-area: num;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.11);
  border: 1px solid rgba(14, 165, 233, 0.22);
  font: 800 13px/1 JetBrains Mono, monospace;
}

.stage-caption strong {
  grid-area: title;
  color: #0f172a;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.stage-caption small {
  grid-area: sub;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.flow-steps {
  position: relative;
  display: grid;
  gap: 0;
  padding-bottom: 12vh;
}

.flow-steps::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(14, 165, 233, 0.34), rgba(31,182,120,0.26), transparent);
}

.flow-step {
  position: relative;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 0 34px 66px;
  opacity: 0.45;
  transform: translateX(8px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.flow-step::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(14, 165, 233, 0.42);
  box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.06);
  transform: translateY(-50%);
  transition: transform 420ms ease, background 420ms ease, box-shadow 420ms ease;
}

.flow-step.active {
  opacity: 1;
  transform: translateX(0);
}

.flow-step.active::before {
  transform: translateY(-50%) scale(1.18);
  background: #0ea5e9;
  box-shadow: 0 0 0 11px rgba(14, 165, 233, 0.10), 0 0 28px rgba(14, 165, 233, 0.38);
}

.flow-step > * {
  max-width: 520px;
}

.step-number {
  width: max-content;
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.10);
  border: 1px solid rgba(14, 165, 233, 0.18);
  font: 800 12px/1 JetBrains Mono, monospace;
}

.flow-step h3 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  color: #0f172a;
}

.flow-step p {
  margin: 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.72;
}

.flow-step ul {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  color: #334155;
  font-weight: 750;
  padding-left: 20px;
}

.final-video-step {
  min-height: 88vh;
}

.final-video-step h3 {
  color: #06150f;
}

@media (max-width: 980px) {
  .scroll-flow-shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .scroll-stage-wrap {
    position: sticky;
    top: 92px;
    height: 58vh;
    min-height: 430px;
    z-index: 4;
  }

  .flow-step {
    min-height: 58vh;
    padding-left: 60px;
  }
}

@media (max-width: 680px) {
  .scroll-feature-flow {
    padding-left: 18px;
    padding-right: 18px;
  }

  .scroll-flow-shell {
    margin-top: 36px;
  }

  .scroll-stage-wrap {
    top: 84px;
    height: 48vh;
    min-height: 340px;
  }

  .scroll-stage {
    border-radius: 30px;
  }

  .flow-panel {
    padding: 12px;
  }

  .flow-panel img {
    opacity: 0.50;
  }

  .flow-step {
    min-height: 56vh;
    padding: 28px 0 28px 48px;
  }

  .flow-steps::before {
    left: 20px;
  }

  .flow-step::before {
    left: 12px;
  }

  .flow-step h3 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .flow-step p {
    font-size: 15px;
  }

  .stage-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 11px 12px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-halo,
  .stage-ring,
  .stage-scan {
    animation: none !important;
  }

  .flow-panel,
  .flow-step {
    transition: none !important;
  }
}

/* v2: clearer automatic runtime story, real transparent images, stronger mobile layout */
.runtime-heading {
  max-width: 920px;
}
.runtime-summary {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 28px auto 24px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 24px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}
.runtime-summary div {
  display: grid;
  gap: 4px;
}
.runtime-summary span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0284c7;
}
.runtime-summary strong {
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.45;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.runtime-summary a {
  flex: 0 0 auto;
  padding: 11px 15px;
  border-radius: 999px;
  color: #fff;
  background: #0f172a;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}
.runtime-ribbon span.active {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #0369a1);
  border-color: rgba(14, 165, 233, 0.42);
  box-shadow: 0 14px 34px rgba(3, 105, 161, 0.25);
}
.runtime-scroll-shell {
  grid-template-columns: minmax(440px, 1fr) minmax(420px, 0.86fr);
  gap: clamp(32px, 5.5vw, 86px);
}
.runtime-stage {
  background:
    radial-gradient(circle at 50% 40%, rgba(14, 165, 233, 0.20), transparent 32%),
    radial-gradient(circle at 50% 70%, rgba(31, 182, 120, 0.13), transparent 34%),
    linear-gradient(180deg, #07111b 0%, #071827 52%, #eef5f8 100%);
  border: 1px solid rgba(14, 165, 233, 0.22);
  box-shadow:
    0 36px 110px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -90px 120px rgba(255,255,255,0.18);
}
.stage-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.42;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.10) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}
.stage-progress {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 18px;
  z-index: 6;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.12);
}
.stage-progress span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.55);
  transition: width 220ms ease;
}
.runtime-stage .flow-panel {
  padding: clamp(12px, 2.4vw, 26px);
  transform: translateY(28px) scale(0.955);
  transition: opacity 820ms cubic-bezier(.2,.8,.2,1), transform 820ms cubic-bezier(.2,.8,.2,1), filter 820ms ease;
}
.runtime-stage .flow-panel.active {
  transform: translateY(0) scale(1);
}
.runtime-stage .flow-panel img,
.runtime-stage .flow-panel video {
  max-height: 92%;
  filter:
    drop-shadow(0 34px 70px rgba(2, 8, 23, 0.30))
    drop-shadow(0 0 28px rgba(14, 165, 233, 0.20))
    saturate(1.08)
    contrast(1.06)
    brightness(1.03);
}
.runtime-stage .flow-panel img {
  opacity: 0.96;
}
.runtime-stage .flow-panel-video video {
  opacity: 0.98;
  max-height: 94%;
}
.runtime-stage .stage-caption {
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(14, 165, 233, 0.16);
}
.runtime-stage .stage-caption strong {
  font-size: 17px;
}
.runtime-stage .stage-caption small {
  font-size: 12.5px;
  line-height: 1.35;
}
.runtime-steps .flow-step {
  min-height: 78vh;
  padding-top: 48px;
  padding-bottom: 48px;
}
.runtime-steps .flow-step.active {
  opacity: 1;
  transform: translateX(0);
}
.step-label {
  width: max-content;
  margin-bottom: 14px;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.10);
  border: 1px solid rgba(14, 165, 233, 0.18);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.runtime-steps .flow-step h3 {
  max-width: 620px;
  font-size: clamp(35px, 4.8vw, 66px);
}
.runtime-steps .flow-step p {
  max-width: 620px;
  font-size: 17px;
}
.step-flow-mini {
  width: min(620px, 100%);
  margin: 22px 0 2px;
  padding: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}
.step-flow-mini span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 12px;
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff, #eff8fc);
  border: 1px solid rgba(14, 165, 233, 0.14);
  font-size: 12.5px;
  font-weight: 850;
}
.step-flow-mini i {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.18), rgba(14, 165, 233, 0.72));
  position: relative;
}
.step-flow-mini i::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(14, 165, 233, 0.84);
  border-top: 1px solid rgba(14, 165, 233, 0.84);
  transform: translateY(-50%) rotate(45deg);
}
.runtime-steps .flow-step ul {
  max-width: 620px;
  margin-top: 18px;
}
.runtime-steps .flow-step ul li::marker {
  color: #0284c7;
}
@media (max-width: 980px) {
  .runtime-scroll-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .scroll-stage-wrap {
    order: -1;
  }
  .runtime-stage {
    max-width: 720px;
    margin: 0 auto;
  }
  .runtime-steps .flow-step {
    min-height: 54vh;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .runtime-steps .flow-step h3,
  .runtime-steps .flow-step p,
  .runtime-steps .flow-step ul,
  .step-flow-mini {
    max-width: 760px;
  }
}
@media (max-width: 680px) {
  .runtime-summary {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
    border-radius: 22px;
  }
  .runtime-summary a {
    text-align: center;
  }
  .runtime-ribbon {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .runtime-ribbon::-webkit-scrollbar { display: none; }
  .runtime-ribbon span {
    flex: 0 0 auto;
  }
  .runtime-ribbon i {
    flex: 0 0 26px;
  }
  .runtime-scroll-shell {
    margin-top: 28px;
  }
  .scroll-stage-wrap {
    top: 76px;
    height: 43vh;
    min-height: 310px;
  }
  .runtime-stage {
    border-radius: 28px;
  }
  .runtime-stage .flow-panel img,
  .runtime-stage .flow-panel video {
    max-height: 84%;
  }
  .runtime-stage .stage-caption {
    grid-template-columns: 40px 1fr;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px;
  }
  .runtime-stage .stage-caption span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .runtime-stage .stage-caption strong {
    font-size: 14px;
  }
  .runtime-stage .stage-caption small {
    font-size: 11px;
  }
  .runtime-steps .flow-step {
    min-height: 68vh;
    padding-left: 42px;
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .runtime-steps .flow-step h3 {
    font-size: clamp(32px, 10vw, 46px);
    letter-spacing: -0.055em;
  }
  .runtime-steps .flow-step p {
    font-size: 15.5px;
    line-height: 1.68;
  }
  .step-flow-mini {
    padding: 10px;
    border-radius: 18px;
  }
  .step-flow-mini span {
    font-size: 11.5px;
    min-height: 28px;
    padding: 6px 8px;
  }
  .step-flow-mini i {
    width: 12px;
  }
  .runtime-steps .flow-step ul {
    font-size: 14px;
    gap: 8px;
  }
}
@media (max-width: 420px) {
  .scroll-stage-wrap {
    height: 40vh;
    min-height: 280px;
  }
  .runtime-stage .flow-panel {
    padding: 7px;
  }
  .runtime-stage .flow-panel img,
  .runtime-stage .flow-panel video {
    max-height: 80%;
  }
  .runtime-steps .flow-step {
    min-height: 72vh;
  }
}

/* === Final polish: trust status, PyPI quickstart, complete feature surface, unified grids === */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(15, 23, 42, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(14, 165, 233, 0.10), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(31, 182, 120, 0.08), transparent 28%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.hero-status-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.11);
  background: rgba(255, 255, 255, 0.86);
  color: #26313b;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(14px);
}

.status-pill.primary {
  color: #042f22;
  background: linear-gradient(135deg, rgba(31, 182, 120, 0.22), rgba(255, 255, 255, 0.92));
  border-color: rgba(31, 182, 120, 0.36);
  box-shadow: 0 18px 44px rgba(31, 182, 120, 0.14);
}

.hero-terminal-card {
  margin-top: 24px;
  width: min(620px, 100%);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(7, 13, 22, 0.96);
  color: #eafff7;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.hero-terminal-card pre {
  padding: 18px 20px 20px;
  font-size: 12.5px;
  line-height: 1.66;
}

.robot-stage.gif-stage[data-status="video-ready"] {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.98) 0 12%, transparent 28%),
    radial-gradient(circle at 49% 36%, rgba(37, 183, 255, 0.18), transparent 38%),
    radial-gradient(circle at 83% 26%, rgba(31, 182, 120, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(244,249,251,0.99) 56%, rgba(232,242,247,0.99));
}

.robot-status-dock {
  position: absolute;
  z-index: 8;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.10);
}

.robot-status-dock span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #20303d;
  font-size: 11px;
  font-weight: 900;
}

.gif-stage .badge-bottom {
  right: 18px;
  bottom: 90px;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(37, 183, 255, 0.22);
}

.runtime-stage,
.arch-core,
.final-cta,
.install-terminal-panel {
  background-image:
    radial-gradient(circle at 50% 34%, rgba(14, 165, 233, 0.24), transparent 30%),
    radial-gradient(circle at 70% 72%, rgba(31, 182, 120, 0.12), transparent 36%),
    linear-gradient(rgba(125, 211, 252, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.065) 1px, transparent 1px),
    linear-gradient(180deg, #06111d 0%, #071827 56%, #0a1018 100%) !important;
  background-size: auto, auto, 36px 36px, 36px 36px, auto !important;
}

.scroll-feature-flow {
  position: relative;
}

.scroll-feature-flow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 34px;
  bottom: 34px;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 18%, rgba(14, 165, 233, 0.08), transparent 30%);
  background-size: 42px 42px, 42px 42px, auto;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.runtime-stage .flow-panel img,
.runtime-stage .flow-panel video,
.flow-panel img,
.flow-panel video {
  opacity: 1 !important;
  filter:
    drop-shadow(0 36px 74px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 32px rgba(14, 165, 233, 0.22))
    saturate(1.10)
    contrast(1.06)
    brightness(1.04) !important;
}

.stage-caption {
  background: rgba(255, 255, 255, 0.90) !important;
}

.all-feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.all-feature-grid .feature-card {
  min-height: 248px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.70)),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.install-notes {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.install-notes span {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.72);
  color: #44515d;
  font-size: 13px;
  font-weight: 750;
}

.install-notes b {
  color: #0f172a;
  font-family: "JetBrains Mono", monospace;
}

.quickstart-layout-upgraded {
  grid-template-columns: 0.88fr 1.12fr;
}

.install-terminal-panel pre {
  min-height: 360px;
}

.footer-upgraded {
  display: block;
  margin: 10px 0 58px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.12), transparent 28%),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(135deg, #07111b, #0a141f 64%, #07100d);
  background-size: auto, 38px 38px, 38px 38px, auto;
  color: #eaf6ff;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.16);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 34px;
  padding: 34px;
}

.footer-upgraded .brand-mark {
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  color: #06111d;
}

.footer-about p {
  color: rgba(234, 246, 255, 0.72);
  max-width: 560px;
}

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

.footer-columns h4 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-columns a {
  display: block;
  margin: 9px 0;
  color: rgba(234, 246, 255, 0.72);
  font-weight: 750;
  font-size: 14px;
}

.footer-columns a:hover { color: #ffffff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 34px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: rgba(234, 246, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .all-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .quickstart-layout-upgraded,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .hero-terminal-card { max-width: 100%; }
  .install-terminal-panel pre { min-height: 0; }
}

@media (max-width: 680px) {
  .hero-status-stack { gap: 8px; }
  .status-pill { padding: 9px 11px; font-size: 12px; }
  .hero-terminal-card pre { font-size: 11.2px; padding: 15px; }
  .all-feature-grid { grid-template-columns: 1fr; }
  .robot-status-dock { display: none; }
  .gif-stage .badge-bottom { display: grid; right: 12px; bottom: 84px; min-width: 180px; }
  .footer-main { padding: 24px; }
  .footer-columns { grid-template-columns: 1fr; }
  .footer-bottom { padding: 14px 24px; }
  .runtime-stage .flow-panel img,
  .runtime-stage .flow-panel video { max-height: 82%; }
}

@media (max-width: 430px) {
  .gif-stage .badge-bottom { display: none; }
}

/* === v3 standard surface polish: light grid system, realistic tabs, smaller headings === */
:root {
  --surface-grid-line: rgba(15, 23, 42, 0.052);
  --surface-grid-line-soft: rgba(15, 23, 42, 0.036);
  --surface-blue: rgba(14, 165, 233, 0.095);
  --surface-green: rgba(31, 182, 120, 0.075);
  --surface-white: rgba(255, 255, 255, 0.84);
  --surface-border: rgba(15, 23, 42, 0.105);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(14, 165, 233, 0.08), transparent 26rem),
    radial-gradient(circle at 82% 4%, rgba(31, 182, 120, 0.075), transparent 30rem),
    linear-gradient(rgba(15, 23, 42, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.032) 1px, transparent 1px),
    #f7f9fb;
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

body::before {
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(14, 165, 233, 0.018) 2px, transparent 2px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.018) 2px, transparent 2px);
  background-size: 42px 42px, 42px 42px, 168px 168px, 168px 168px;
  mask-image: none;
}

body::after {
  opacity: 0.78;
  background:
    radial-gradient(circle at 10% 10%, rgba(14, 165, 233, 0.08), transparent 24%),
    radial-gradient(circle at 90% 12%, rgba(31, 182, 120, 0.07), transparent 26%);
  background-size: auto;
}

main > section {
  position: relative;
  isolation: isolate;
}

main > section:not(.hero):not(.scroll-feature-flow)::before {
  content: "";
  position: absolute;
  inset: 18px calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--surface-grid-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--surface-grid-line-soft) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 86%, transparent 100%);
}

.page-shell { width: min(1160px, calc(100% - 32px)); }
.section-pad { padding: clamp(58px, 8vw, 82px) 0; }
.hero { padding-top: clamp(72px, 10vw, 96px); padding-bottom: 56px; }

.hero h1 {
  font-size: clamp(38px, 5.55vw, 62px) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.052em !important;
  max-width: 720px;
}

.hero-subtitle {
  font-size: clamp(16px, 1.65vw, 18px) !important;
  line-height: 1.68;
  max-width: 620px;
}

.section-heading { max-width: 760px; }
.section-heading h2,
.feature-map .section-heading h2,
.scroll-feature-flow .section-heading h2,
.compare-card h2,
.final-cta h2 {
  font-size: clamp(30px, 4.1vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.043em !important;
}

.section-heading p,
.scroll-feature-flow .section-heading p,
.feature-map .section-heading p {
  font-size: clamp(15px, 1.45vw, 16.5px) !important;
  line-height: 1.68;
}

.kicker, .eyebrow {
  font-size: 12px;
  letter-spacing: 0.075em;
}

.hero-status-stack { margin-bottom: 18px; }
.status-pill {
  padding: 9px 12px;
  border-color: rgba(15, 23, 42, 0.11);
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 26px rgba(15,23,42,0.06);
}
.status-pill.primary {
  background: linear-gradient(135deg, rgba(31, 182, 120, 0.18), rgba(255, 255, 255, 0.94));
}

/* Unified light robot surface: feature images match the main hero video surface, not a dark slab. */
.robot-stage.gif-stage[data-status="video-ready"],
.scroll-stage,
.runtime-stage {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.98) 0 12%, transparent 28%),
    radial-gradient(circle at 48% 42%, rgba(14, 165, 233, 0.13), transparent 38%),
    radial-gradient(circle at 82% 24%, rgba(31, 182, 120, 0.10), transparent 34%),
    linear-gradient(rgba(15, 23, 42, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.036) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f6fbfd 54%, #eef7fb 100%) !important;
  background-size: auto, auto, auto, 38px 38px, 38px 38px, auto !important;
  border: 1px solid rgba(15, 23, 42, 0.105) !important;
  box-shadow: 0 28px 76px rgba(15, 23, 42, 0.11), inset 0 1px 0 rgba(255,255,255,0.95) !important;
}

.runtime-stage .flow-panel img,
.runtime-stage .flow-panel video,
.flow-panel img,
.flow-panel video {
  filter:
    drop-shadow(0 28px 48px rgba(15, 23, 42, 0.16))
    drop-shadow(0 0 20px rgba(14, 165, 233, 0.13))
    saturate(1.05)
    contrast(1.025)
    brightness(1.02) !important;
}

.stage-halo {
  background:
    radial-gradient(circle at 50% 42%, rgba(14, 165, 233, 0.16), transparent 31%),
    radial-gradient(circle at 58% 72%, rgba(31, 182, 120, 0.08), transparent 34%);
  filter: blur(8px);
}

.stage-ring { border-color: rgba(14, 165, 233, 0.16); }
.stage-scan { opacity: 0.16; mix-blend-mode: normal; }

.stage-caption {
  border-color: rgba(15, 23, 42, 0.12) !important;
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10) !important;
}

.stage-caption span {
  background: linear-gradient(135deg, #e0f2fe, #ecfdf5) !important;
  color: #0f172a !important;
  border: 1px solid rgba(14, 165, 233, 0.22);
}

.stage-caption strong { color: #0f172a !important; }
.stage-caption small { color: #52616d !important; }

/* Runtime text steps: less oversized, more engineering-documentation style. */
.runtime-steps .flow-step h3 {
  font-size: clamp(27px, 4.3vw, 38px) !important;
  line-height: 1.12;
  letter-spacing: -0.043em !important;
}
.runtime-steps .flow-step p {
  font-size: clamp(15px, 1.25vw, 16.2px) !important;
  line-height: 1.7;
  color: #53616d;
}
.runtime-steps .flow-step {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.step-flow-mini {
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    rgba(255,255,255,0.80);
  background-size: 26px 26px, 26px 26px, auto;
  border-color: rgba(15, 23, 42, 0.10);
}

/* Feature cards and framework cards get subtle internal grid, not heavy dark panels. */
.problem-card,
.feature-card,
.trust-card,
.roadmap-step,
.example-item,
.compare-card,
.runtime-summary,
.logo-strip,
.install-notes span {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78)),
    linear-gradient(var(--surface-grid-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--surface-grid-line-soft) 1px, transparent 1px) !important;
  background-size: auto, 30px 30px, 30px 30px !important;
  border-color: rgba(15, 23, 42, 0.105) !important;
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.065) !important;
}

.all-feature-grid .feature-card {
  min-height: 218px;
  padding: 22px;
}
.problem-card h3,
.feature-card h3,
.trust-card h3,
.roadmap-step h3,
.example-item h3 {
  font-size: clamp(18px, 1.8vw, 21px) !important;
  letter-spacing: -0.025em !important;
}

/* Architecture surface: make the framework block a credible light surface instead of an odd dark object. */
.arch-core,
.final-cta {
  color: #0f172a !important;
  background:
    radial-gradient(circle at 50% 28%, rgba(14, 165, 233, 0.12), transparent 34%),
    radial-gradient(circle at 80% 78%, rgba(31, 182, 120, 0.08), transparent 36%),
    linear-gradient(var(--surface-grid-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--surface-grid-line-soft) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%) !important;
  background-size: auto, auto, 34px 34px, 34px 34px, auto !important;
  border: 1px solid rgba(15, 23, 42, 0.11) !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10) !important;
}
.arch-core-title { color: #0f172a !important; }
.arch-core-grid b {
  background: rgba(255,255,255,0.86) !important;
  color: #0f172a !important;
  border-color: rgba(14, 165, 233, 0.18) !important;
}
.final-cta p { color: #51606b !important; }

/* Quickstart: keep it as a terminal, but make tabs more like a real IDE/terminal session. */
.install-terminal-panel,
.code-panel.install-terminal-panel {
  background:
    radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.10), transparent 28%),
    linear-gradient(180deg, #0b1220 0%, #090f1a 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.20) !important;
  box-shadow: 0 28px 78px rgba(15, 23, 42, 0.22) !important;
}

.install-terminal-panel .tabs {
  align-items: center;
  padding: 12px 14px;
  gap: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.028));
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.install-terminal-panel .tabs::before {
  content: "● ● ●  largestack terminal";
  flex: 1 1 auto;
  min-width: 170px;
  color: rgba(226, 232, 240, 0.66);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.01em;
}
.install-terminal-panel .tab {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px 10px 0 0;
  padding: 9px 12px;
  color: rgba(226, 232, 240, 0.78);
  background: rgba(15, 23, 42, 0.62);
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.install-terminal-panel .tab.active {
  color: #eafff7;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 13, 23, 0.96));
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: 0 -1px 0 rgba(56,189,248,0.35) inset, 0 0 0 1px rgba(56,189,248,0.06);
}
.install-terminal-panel pre {
  background:
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Footer: RivaiLabs ownership stays clear, but with the same light grid trust surface. */
.footer-upgraded {
  color: #0f172a !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.12), transparent 30%),
    radial-gradient(circle at 86% 0%, rgba(31, 182, 120, 0.10), transparent 32%),
    linear-gradient(var(--surface-grid-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--surface-grid-line-soft) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff, #f4fafc) !important;
  background-size: auto, auto, 38px 38px, 38px 38px, auto !important;
  border-color: rgba(15, 23, 42, 0.11) !important;
  box-shadow: 0 26px 72px rgba(15, 23, 42, 0.10) !important;
}
.footer-about p,
.footer-columns a,
.footer-bottom { color: #52616d !important; }
.footer-columns h4 { color: #0f172a !important; }
.footer-upgraded .brand-mark {
  background: linear-gradient(135deg, #0f172a, #155e75) !important;
  color: #ffffff !important;
}
.footer-bottom { border-top-color: rgba(15, 23, 42, 0.10) !important; }

@media (max-width: 980px) {
  .hero h1 { font-size: clamp(36px, 8.4vw, 54px) !important; }
  .section-heading h2,
  .feature-map .section-heading h2,
  .scroll-feature-flow .section-heading h2,
  .compare-card h2,
  .final-cta h2 { font-size: clamp(29px, 6vw, 40px) !important; }
  .install-terminal-panel .tabs { flex-wrap: wrap; }
  .install-terminal-panel .tabs::before { flex-basis: 100%; }
}

@media (max-width: 680px) {
  .page-shell { width: min(100% - 22px, 1160px); }
  .section-pad { padding: 52px 0; }
  .hero { padding-top: 68px; }
  .hero h1 { font-size: clamp(32px, 10.5vw, 43px) !important; letter-spacing: -0.045em !important; }
  .section-heading h2,
  .feature-map .section-heading h2,
  .scroll-feature-flow .section-heading h2,
  .compare-card h2,
  .final-cta h2 { font-size: clamp(27px, 8.2vw, 36px) !important; }
  .runtime-steps .flow-step h3 { font-size: clamp(25px, 8vw, 34px) !important; }
  .install-terminal-panel .tab { border-radius: 999px; padding: 8px 10px; font-size: 12px; }
  .runtime-stage,
  .scroll-stage { border-radius: 24px !important; }
}


/* === Deep project update: framework surface, architecture diagram, and trust center === */
.framework-surface-section {
  position: relative;
}
.surface-explainer {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  margin: 28px auto 24px;
  max-width: 1120px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, rgba(15,23,42,.035) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.10), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.95));
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.surface-rail {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(14,165,233,.12), rgba(16,185,129,.36), rgba(14,165,233,.12));
  transform: translateY(-50%);
  z-index: 0;
}
.surface-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #0ea5e9;
  box-shadow: 0 0 0 8px rgba(14,165,233,.12), 0 0 28px rgba(14,165,233,.5);
  transform: translateY(-50%);
  animation: surfacePulse 8s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes surfacePulse { 0%, 9% { left: 0; } 18%, 27% { left: 20%; } 36%, 45% { left: 40%; } 54%, 63% { left: 60%; } 72%, 81% { left: 80%; } 90%, 100% { left: calc(100% - 12px); } }
.surface-flow-card {
  position: relative;
  z-index: 1;
  padding: 16px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  display: grid;
  gap: 5px;
  min-height: 110px;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.surface-flow-card.active,
.surface-flow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14,165,233,.28);
  box-shadow: 0 18px 42px rgba(14,165,233,.13);
}
.surface-flow-card span { font: 700 12px/1 var(--mono, ui-monospace); color: #0ea5e9; }
.surface-flow-card b { font-size: 15px; color: #0f172a; }
.surface-flow-card small { color: #64748b; line-height: 1.45; }
.surface-feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.surface-feature-card {
  min-height: 248px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(90deg, rgba(15,23,42,.026) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(180deg, rgba(15,23,42,.026) 1px, transparent 1px) 0 0 / 24px 24px,
    rgba(255,255,255,.92) !important;
}
.svg-icon {
  display: grid !important;
  place-items: center;
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, rgba(14,165,233,.11), rgba(16,185,129,.10)) !important;
  color: #0369a1 !important;
}
.svg-icon svg,
.arch-node-icon svg,
.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.surface-feature-card small {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  color: #667085;
  line-height: 1.45;
  font-size: 12.5px;
}
.surface-feature-card code { font-size: .93em; color: #0369a1; }

.architecture-upgraded .section-heading { max-width: 850px; }
.architecture-board {
  position: relative;
  max-width: 1120px;
  margin: 26px auto 0;
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(15,23,42,.09);
  background:
    linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(180deg, rgba(15,23,42,.035) 1px, transparent 1px) 0 0 / 30px 30px,
    radial-gradient(circle at 50% 0%, rgba(14,165,233,.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.95));
  box-shadow: 0 28px 90px rgba(15,23,42,.09);
  overflow: hidden;
}
.architecture-board::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at var(--mx,50%) var(--my,20%), rgba(14,165,233,.12), transparent 28%);
  pointer-events: none;
}
.arch-lane, .arch-capability-mesh, .arch-band { position: relative; z-index: 1; }
.arch-lane { display: grid; place-items: center; }
.arch-core-lane {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin: 18px 0;
}
.arch-capability-mesh {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin: 20px 0;
}
.arch-node {
  display: grid;
  gap: 8px;
  padding: 18px;
  min-height: 126px;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.90);
  box-shadow: 0 18px 45px rgba(15,23,42,.065);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.arch-node:hover { transform: translateY(-4px); border-color: rgba(14,165,233,.28); box-shadow: 0 22px 55px rgba(14,165,233,.12); }
.arch-node.primary { width: min(520px, 100%); text-align: center; }
.arch-node.core { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,246,255,.82)); }
.arch-node span, .arch-band span { color: #0f172a; font-weight: 780; font-size: 15px; }
.arch-node small, .arch-band small { color: #64748b; line-height: 1.45; }
.arch-node-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #0369a1;
  background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(16,185,129,.10));
  justify-self: start;
}
.arch-node.primary .arch-node-icon { justify-self: center; }
.arch-connector {
  position: relative;
  z-index: 1;
  height: 30px;
  display: grid;
  place-items: center;
}
.arch-connector::before,
.arch-connector::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, rgba(14,165,233,.35), rgba(16,185,129,.35));
}
.arch-connector span {
  width: 10px; height: 10px; border-radius: 999px; background: #0ea5e9;
  box-shadow: 0 0 0 8px rgba(14,165,233,.10);
  z-index: 2;
  animation: archNodePulse 2.4s ease-in-out infinite;
}
@keyframes archNodePulse { 0%,100% { transform: scale(.88); opacity: .65; } 50% { transform: scale(1.1); opacity: 1; } }
.arch-band {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  margin-top: 14px;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 42px rgba(15,23,42,.055);
}
.guard-band { border-color: rgba(245,158,11,.18); }
.observe-band { border-color: rgba(14,165,233,.20); }
.architecture-explain {
  max-width: 1120px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 10px;
}
.architecture-explain article {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.07);
}
.architecture-explain strong { display: block; color: #0f172a; font-size: 13px; margin-bottom: 6px; }
.architecture-explain span { display: block; color: #64748b; font-size: 12.5px; line-height: 1.45; }

.trust-center-upgraded .trust-score-row {
  max-width: 1120px;
  margin: 26px auto 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px;
}
.trust-score-row article {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,.08);
  background:
    linear-gradient(90deg, rgba(15,23,42,.026) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(180deg, rgba(15,23,42,.026) 1px, transparent 1px) 0 0 / 24px 24px,
    rgba(255,255,255,.92);
  box-shadow: 0 14px 36px rgba(15,23,42,.06);
}
.trust-score-row span { display: block; color: #64748b; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.trust-score-row strong { display: block; color: #0f172a; font-size: clamp(22px, 4vw, 34px); line-height: 1; margin: 8px 0 7px; }
.trust-score-row small { color: #64748b; line-height: 1.35; }
.evidence-grid { align-items: stretch; }
.evidence-grid .trust-card {
  background:
    linear-gradient(90deg, rgba(15,23,42,.026) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(180deg, rgba(15,23,42,.026) 1px, transparent 1px) 0 0 / 24px 24px,
    rgba(255,255,255,.92) !important;
}
.evidence-grid .trust-card.strong {
  color: #0f172a !important;
  background:
    radial-gradient(circle at top left, rgba(14,165,233,.12), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(240,249,255,.88)) !important;
}
.evidence-grid .trust-card.strong p { color: #475467 !important; }
.evidence-grid ul { margin: 12px 0 0; padding-left: 18px; color: #52616d; line-height: 1.65; }
.honesty-panel {
  max-width: 1120px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.honesty-panel article {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.90);
  box-shadow: 0 16px 42px rgba(15,23,42,.055);
}
.honesty-panel h3 { margin: 0 0 8px; color: #0f172a; font-size: 16px; }
.honesty-panel p { margin: 0; color: #5f6f7e; line-height: 1.65; }

/* Keep feature image stage consistent with main robot light surface. */
.runtime-stage, .scroll-stage, .robot-stage.gif-stage[data-status="video-ready"] {
  background:
    linear-gradient(90deg, rgba(15,23,42,.034) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(180deg, rgba(15,23,42,.034) 1px, transparent 1px) 0 0 / 30px 30px,
    radial-gradient(circle at 50% 26%, rgba(14,165,233,.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}
.runtime-stage .flow-panel img,
.runtime-stage .flow-panel video,
.flow-panel img,
.flow-panel video {
  filter: drop-shadow(0 28px 42px rgba(15, 23, 42, 0.16)) !important;
}
.stage-grid { opacity: .45 !important; }

@media (max-width: 1040px) {
  .surface-explainer, .surface-feature-grid, .arch-capability-mesh, .architecture-explain, .trust-center-upgraded .trust-score-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .arch-core-lane, .honesty-panel { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .surface-explainer, .surface-feature-grid, .arch-capability-mesh, .architecture-explain, .trust-center-upgraded .trust-score-row { grid-template-columns: 1fr; }
  .surface-rail { left: 36px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .surface-pulse { left: 50%; top: 0; animation: surfacePulseMobile 8s cubic-bezier(.65,0,.35,1) infinite; }
  @keyframes surfacePulseMobile { 0%, 9% { top: 0; } 18%, 27% { top: 20%; } 36%, 45% { top: 40%; } 54%, 63% { top: 60%; } 72%, 81% { top: 80%; } 90%, 100% { top: calc(100% - 12px); } }
  .surface-flow-card { margin-left: 32px; min-height: 92px; }
  .architecture-board { padding: 18px; border-radius: 24px; }
  .arch-node { min-height: auto; }
  .trust-score-row strong { font-size: 26px; }
}


/* === Logo, HD assets, architecture diagram polish === */
.brand-mark.logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(239,246,255,.88));
  border: 1px solid rgba(191,219,254,.9);
  box-shadow: 0 10px 25px rgba(37,99,235,.12);
  overflow: hidden;
}
.brand-mark.logo-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  transform: translateY(-1px);
}
.footer-brand .brand-mark.logo-mark { width: 44px; height: 44px; }
.footer-brand .brand-mark.logo-mark img { width: 36px; height: 36px; }

.hero-proof-expanded {
  grid-template-columns: repeat(4, minmax(0, auto));
  gap: 8px;
  max-width: 680px;
}
.hero-proof-expanded span {
  background: rgba(255,255,255,.88);
  border-color: rgba(191,219,254,.92);
  color: #0f172a;
}
.robot-stage.gif-stage { isolation: isolate; }
.transparent-robot-video {
  image-rendering: auto;
  filter: drop-shadow(0 32px 52px rgba(15,23,42,.15)) saturate(1.04) contrast(1.035) brightness(1.015);
}
.robot-status-dock {
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  max-width: min(92%, 580px);
}
.robot-status-dock span {
  white-space: nowrap;
}
.hero-module-grid {
  position: absolute;
  right: clamp(8px, 2vw, 18px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 9px;
  width: min(178px, 31vw);
  z-index: 6;
  pointer-events: none;
}
.hero-module-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 15px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(191,219,254,.92);
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(15,23,42,.08);
  backdrop-filter: blur(12px);
}
.hero-module-grid i {
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  color: #0284c7;
  font-size: 10px;
}
.hero-module-grid span:nth-child(1), .hero-module-grid span:nth-child(4) { transform: translateX(-10px); }
.hero-module-grid span:nth-child(2), .hero-module-grid span:nth-child(5) { transform: translateX(4px); }
.hero-module-grid span:nth-child(3), .hero-module-grid span:nth-child(6) { transform: translateX(-4px); }

.flow-panel img,
.feature-figure img {
  image-rendering: auto;
  filter: drop-shadow(0 28px 42px rgba(15,23,42,.12)) saturate(1.05) contrast(1.04) brightness(1.01);
  transform: translateZ(0);
}
.flow-panel.active img { animation-duration: 9s; }
.scroll-stage.runtime-stage {
  background:
    radial-gradient(circle at 50% 42%, rgba(219,234,254,.84), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.92));
  border-color: rgba(191,219,254,.95);
}

.architecture-upgraded { position: relative; }
.architecture-svg-card {
  position: relative;
  max-width: 1220px;
  margin: 34px auto 18px;
  border-radius: 34px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,252,.9)),
    repeating-linear-gradient(90deg, rgba(59,130,246,.07) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(0deg, rgba(59,130,246,.07) 0 1px, transparent 1px 36px);
  border: 1px solid rgba(191,219,254,.95);
  box-shadow: 0 28px 80px rgba(15,23,42,.11);
  overflow: hidden;
}
.architecture-svg-card::before {
  content: "";
  position: absolute;
  inset: -180px 8% auto;
  height: 300px;
  background: radial-gradient(circle, rgba(14,165,233,.20), transparent 62%);
  pointer-events: none;
}
.architecture-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 14px;
  color: #64748b;
  border-bottom: 1px solid rgba(226,232,240,.9);
}
.architecture-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}
.architecture-toolbar span:first-child { background: #38bdf8; }
.architecture-toolbar span:nth-child(2) { background: #60a5fa; }
.architecture-toolbar span:nth-child(3) { background: #94a3b8; }
.architecture-toolbar strong {
  margin-left: 8px;
  color: #0f172a;
  font-size: 13px;
}
.architecture-toolbar em {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  color: #64748b;
}
.architecture-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: #fff;
}
.architecture-flow-summary {
  max-width: 1220px;
  margin: 18px auto 24px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.architecture-flow-summary article {
  position: relative;
  min-height: 132px;
  padding: 15px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(191,219,254,.92);
  box-shadow: 0 16px 36px rgba(15,23,42,.07);
  overflow: hidden;
}
.architecture-flow-summary article::after {
  content: "";
  position: absolute;
  inset: auto 14px 0 14px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #0ea5e9, #2d4cff);
  opacity: .78;
}
.architecture-flow-summary span {
  display: inline-flex;
  width: 34px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eff6ff;
  color: #0284c7;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
}
.architecture-flow-summary b {
  display: block;
  color: #0f172a;
  font-size: 15px;
  margin: 12px 0 6px;
}
.architecture-flow-summary small {
  display: block;
  color: #64748b;
  font-size: 12.2px;
  line-height: 1.45;
}
.architecture-deep-notes {
  margin-top: 16px;
}
.trust-docs-strip {
  max-width: 1180px;
  margin: 14px auto 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
.trust-docs-strip span {
  padding: 13px 14px;
  border: 1px solid rgba(191,219,254,.92);
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 14px 30px rgba(15,23,42,.06);
}
.trust-docs-strip b {
  display: block;
  color: #0f172a;
  font-size: 12.3px;
  margin-bottom: 3px;
}

@media (max-width: 1100px) {
  .hero-module-grid {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0,1fr));
    margin: -4px auto 14px;
    padding: 0 16px;
  }
  .hero-module-grid span { transform: none !important; justify-content: center; }
  .architecture-flow-summary { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .trust-docs-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .hero-proof-expanded { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-module-grid { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 0 10px; }
  .hero-module-grid span { font-size: 11px; padding: 8px; }
  .architecture-svg-card { border-radius: 24px; padding: 8px; overflow-x: auto; }
  .architecture-svg { min-width: 860px; }
  .architecture-toolbar { min-width: 860px; }
  .architecture-toolbar em { display: none; }
  .architecture-flow-summary { grid-template-columns: 1fr; }
  .trust-docs-strip { grid-template-columns: 1fr; }
}

/* === Clear-format correction: logo, feature icons, architecture === */
.brand-mark.logo-mark,
.footer-brand .brand-mark.logo-mark {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
}
.brand-mark.logo-mark img,
.footer-brand .brand-mark.logo-mark img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain;
  transform: none !important;
  filter: drop-shadow(0 8px 14px rgba(37, 99, 235, .13));
}
.footer-brand .brand-mark.logo-mark,
.footer-brand .brand-mark.logo-mark img {
  width: 46px !important;
  height: 46px !important;
}

.surface-feature-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}
.surface-feature-card h3,
.surface-feature-card p,
.surface-feature-card small {
  grid-column: 2;
}
.feature-logo {
  grid-row: 1 / span 3;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 32% 22%, rgba(255,255,255,.96), rgba(239,246,255,.82) 42%, rgba(219,234,254,.76)),
    linear-gradient(135deg, rgba(14,165,233,.10), rgba(37,99,235,.13));
  border: 1px solid rgba(147, 197, 253, .82);
  box-shadow: 0 16px 32px rgba(37, 99, 235, .12), inset 0 1px 0 rgba(255,255,255,.9);
  color: #0284c7;
  position: relative;
  overflow: hidden;
}
.feature-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 30%, rgba(255,255,255,.55) 44%, transparent 60% 100%);
  transform: translateX(-130%);
  animation: featureLogoSheen 7s ease-in-out infinite;
}
@keyframes featureLogoSheen {
  0%, 52% { transform: translateX(-130%); }
  70%, 100% { transform: translateX(130%); }
}
.feature-logo svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}
.feature-logo-agents,
.feature-logo-security { color: #2563eb; }
.feature-logo-rag,
.feature-logo-memory { color: #0891b2; }
.feature-logo-observability,
.feature-logo-scale { color: #0369a1; }

.architecture-svg-card {
  max-width: 1240px;
  padding: 0 !important;
  border-radius: 30px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.92)),
    repeating-linear-gradient(90deg, rgba(59,130,246,.055) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(59,130,246,.055) 0 1px, transparent 1px 38px) !important;
  border: 1px solid rgba(191,219,254,.88) !important;
  box-shadow: 0 28px 76px rgba(15,23,42,.10) !important;
}
.architecture-toolbar {
  padding: 13px 18px !important;
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(10px);
}
.architecture-toolbar strong {
  font-size: 13.5px !important;
  letter-spacing: -.01em;
}
.architecture-svg {
  border-radius: 0 0 30px 30px !important;
  background: #fff !important;
}
.architecture-flow-summary {
  counter-reset: archstep;
  gap: 12px !important;
}
.architecture-flow-summary article {
  min-height: 142px !important;
  padding: 16px 15px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.88)),
    repeating-linear-gradient(90deg, rgba(59,130,246,.04) 0 1px, transparent 1px 24px) !important;
}
.architecture-flow-summary article::before {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #93c5fd, transparent);
  z-index: 2;
}
.architecture-flow-summary article:last-child::before { display: none; }
.architecture-deep-notes article {
  background: rgba(255,255,255,.86) !important;
  border-color: rgba(191,219,254,.82) !important;
}

@media (max-width: 720px) {
  .surface-feature-card {
    grid-template-columns: 1fr;
  }
  .feature-logo,
  .surface-feature-card h3,
  .surface-feature-card p,
  .surface-feature-card small {
    grid-column: 1;
  }
  .feature-logo { margin-bottom: 12px; }
  .architecture-svg-card { overflow-x: auto; }
  .architecture-svg { min-width: 980px !important; }
  .architecture-toolbar { min-width: 980px !important; }
  .architecture-flow-summary article::before { display: none; }
}


/* === Final polish: uploaded logo, clean hero badges, HD robot/features, proper architecture diagram === */
.brand-mark.logo-mark {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.84) !important;
  border: 1px solid rgba(37,99,235,.13) !important;
  box-shadow: 0 10px 26px rgba(15,23,42,.08) !important;
  overflow: hidden !important;
}
.brand-mark.logo-mark img {
  width: 88% !important;
  height: 88% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 5px 8px rgba(37,99,235,.12));
}
.footer-upgraded .brand-mark.logo-mark {
  background: rgba(255,255,255,.9) !important;
}

/* Main robot: show only the three trust badges requested. */
.robot-status-dock,
.hero-module-grid { display: none !important; }
.robot-stage.gif-stage[data-status="video-ready"] {
  min-height: 680px;
  background:
    linear-gradient(90deg, rgba(15,23,42,.032) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, rgba(15,23,42,.032) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(circle at 50% 34%, rgba(14,165,233,.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}
.robot-main.transparent-robot-video {
  height: min(690px, calc(100% - 10px)) !important;
  max-width: 98% !important;
  filter:
    drop-shadow(0 30px 52px rgba(15,23,42,.18))
    saturate(1.09)
    contrast(1.055)
    brightness(1.02) !important;
  image-rendering: auto;
  backface-visibility: hidden;
}
.gif-stage .floating-badge {
  backdrop-filter: blur(16px);
  border-color: rgba(37,183,255,.28) !important;
  box-shadow: 0 16px 42px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.9) !important;
}
.gif-stage .badge-top { top: 34px !important; right: 18px !important; }
.gif-stage .badge-mid { top: 212px !important; left: 18px !important; }
.gif-stage .badge-bottom { bottom: 78px !important; right: 18px !important; display: block !important; }

/* Feature visuals: keep original transparency and strengthen perceived HD without dark backgrounds. */
.scroll-stage.runtime-stage,
.runtime-stage,
.scroll-stage {
  background:
    linear-gradient(90deg, rgba(15,23,42,.030) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(180deg, rgba(15,23,42,.030) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(circle at 50% 42%, rgba(219,234,254,.84), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.94)) !important;
  border-color: rgba(191,219,254,.95) !important;
}
.runtime-stage .flow-panel img,
.runtime-stage .flow-panel video,
.flow-panel img,
.flow-panel video {
  opacity: 1 !important;
  filter:
    drop-shadow(0 30px 46px rgba(15, 23, 42, 0.16))
    saturate(1.11)
    contrast(1.065)
    brightness(1.015) !important;
  image-rendering: auto;
}

/* Architecture: make the diagram read like a real product architecture board. */
.architecture-svg-card {
  padding: 12px !important;
  border-radius: 32px !important;
  background:
    linear-gradient(90deg, rgba(15,23,42,.030) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, rgba(15,23,42,.030) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(circle at 50% 20%, rgba(14,165,233,.11), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fafc) !important;
  border: 1px solid rgba(191,219,254,.96) !important;
  box-shadow: 0 30px 85px rgba(15,23,42,.105) !important;
}
.architecture-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.035);
}
.architecture-flow-summary article {
  background: rgba(255,255,255,.92) !important;
  border-color: rgba(191,219,254,.85) !important;
}
.architecture-deep-notes article {
  background: rgba(255,255,255,.94) !important;
  border-color: rgba(191,219,254,.75) !important;
}

@media (max-width: 680px) {
  .robot-stage.gif-stage[data-status="video-ready"] { min-height: 575px; }
  .robot-main.transparent-robot-video { height: 520px !important; }
  .gif-stage .badge-top { top: 14px !important; right: 10px !important; }
  .gif-stage .badge-mid { top: 138px !important; left: 10px !important; }
  .gif-stage .badge-bottom { bottom: 28px !important; right: 10px !important; }
  .floating-badge { max-width: 186px; }
  .architecture-svg-card { padding: 8px !important; border-radius: 24px !important; overflow-x: auto; }
  .architecture-svg { min-width: 920px; border-radius: 18px; }
}


/* === Final user requested polish: bigger clean logo, proper surface grid, HD architecture === */
:root { --logo-blue: #0b84ff; --logo-blue-2: #1557ff; }
.site-header .nav { padding: 10px 14px 10px 18px; }
.brand { gap: 14px; text-decoration: none; }
.brand-mark.logo-mark,
.footer-brand .brand-mark.logo-mark {
  width: 58px !important;
  height: 58px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  flex: 0 0 auto;
}
.brand-mark.logo-mark img,
.footer-brand .brand-mark.logo-mark img {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(37,99,235,.16));
  transform: none !important;
}
.brand-copy strong { font-size: 18px; letter-spacing: -.04em; color: #0b1220; }
.brand-copy strong span { color: #188bff; }
.brand-copy small { font-size: 12px; color: #475569; }
.footer-brand .brand-copy strong { font-size: 18px; }
.footer-brand .brand-copy small { font-size: 12px; }
@media (max-width: 720px) {
  .brand-mark.logo-mark, .footer-brand .brand-mark.logo-mark { width: 48px !important; height: 48px !important; }
  .brand-mark.logo-mark img, .footer-brand .brand-mark.logo-mark img { width: 48px !important; height: 48px !important; }
  .brand-copy strong { font-size: 15px; }
}

/* Keep the whole site light-grid and product credible */
body::before {
  background-image:
    linear-gradient(rgba(37,99,235,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.045) 1px, transparent 1px),
    radial-gradient(circle at 30% 0%, rgba(59,130,246,.10), transparent 35%),
    radial-gradient(circle at 90% 18%, rgba(14,165,233,.08), transparent 30%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}
.section-heading h2 { font-size: clamp(30px, 3.6vw, 50px) !important; line-height: 1.05; }
.hero-copy h1 { font-size: clamp(42px, 6vw, 76px) !important; }

/* Framework surface: replace odd surface with structured product grid */
.framework-surface-clean { position: relative; }
.surface-product-board {
  max-width: 1240px;
  margin: 34px auto 20px;
  border: 1px solid rgba(191,219,254,.95);
  border-radius: 34px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96)),
    linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  box-shadow: 0 30px 80px rgba(15,23,42,.10);
  overflow: hidden;
}
.surface-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 18px;
  border-bottom: 1px solid rgba(226,232,240,.95);
}
.surface-brand-mini,
.surface-board-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-weight: 750;
}
.surface-brand-mini img { width: 38px; height: 38px; object-fit: contain; }
.surface-board-status { font-size: 12px; color: #475569; padding: 9px 12px; border: 1px solid rgba(191,219,254,.9); border-radius: 999px; background: rgba(255,255,255,.82); }
.surface-board-status span { width: 8px; height: 8px; border-radius: 999px; background: #22c55e; box-shadow: 0 0 0 5px rgba(34,197,94,.12); }
.surface-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  padding: 16px 0 0;
}
.surface-stage-card {
  position: relative;
  min-height: 218px;
  padding: 20px;
  border: 1px solid rgba(226,232,240,.94);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 40px rgba(15,23,42,.055);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.surface-stage-card::before {
  content: "";
  position: absolute;
  inset: -80px -80px auto auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(37,99,235,.12), transparent 64%);
  opacity: 0;
  transition: opacity .35s ease;
}
.surface-stage-card.active,
.surface-stage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.40);
  box-shadow: 0 22px 55px rgba(37,99,235,.12);
}
.surface-stage-card.active::before,
.surface-stage-card:hover::before { opacity: 1; }
.stage-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #eff6ff, #fff);
  border: 1px solid rgba(191,219,254,.95);
  margin-bottom: 14px;
}
.stage-icon svg, .capability-catalog svg { width: 24px; height: 24px; fill: none; stroke: #147cff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.surface-stage-card span { color: #2563eb; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.surface-stage-card h3 { margin: 8px 0 8px; color: #0f172a; font-size: 19px; letter-spacing: -.02em; }
.surface-stage-card p { color: #475569; font-size: 14px; line-height: 1.62; margin: 0; }
.surface-usage-layout {
  max-width: 1240px;
  margin: 18px auto 20px;
  display: grid;
  grid-template-columns: minmax(420px,.95fr) 1.05fr;
  gap: 18px;
  align-items: stretch;
}
.usage-terminal {
  border-radius: 28px;
  border: 1px solid rgba(15,23,42,.10);
  background: #0b1220;
  box-shadow: 0 30px 80px rgba(15,23,42,.18);
  overflow: hidden;
}
.usage-terminal pre { margin: 0; padding: 20px; overflow-x: auto; color: #e2e8f0; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.8; }
.usage-list {
  border: 1px solid rgba(191,219,254,.95);
  border-radius: 28px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.94)),
    linear-gradient(rgba(37,99,235,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.045) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}
.usage-list h3 { margin: 0 0 16px; font-size: 24px; color: #0f172a; letter-spacing: -.03em; }
.usage-case-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.usage-case-grid article { padding: 16px; border: 1px solid rgba(226,232,240,.95); border-radius: 18px; background: rgba(255,255,255,.86); }
.usage-case-grid b { display: block; color: #0f172a; margin-bottom: 6px; }
.usage-case-grid span { color: #64748b; font-size: 13px; line-height: 1.55; }
.capability-catalog {
  max-width: 1240px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 12px;
}
.capability-catalog article {
  min-height: 142px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(226,232,240,.95);
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 34px rgba(15,23,42,.055);
}
.capability-catalog b { display: block; margin: 10px 0 5px; color: #0f172a; }
.capability-catalog span { color: #64748b; font-size: 13px; line-height: 1.45; }

/* HD architecture: use user's supplied diagram as-is, clearly visible */
.architecture-image-card {
  max-width: 1440px;
  margin: 34px auto 20px;
  border: 1px solid rgba(191,219,254,.95);
  border-radius: 32px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96)),
    linear-gradient(rgba(37,99,235,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.045) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  box-shadow: 0 34px 90px rgba(15,23,42,.12);
  overflow: hidden;
}
.architecture-image-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 16px;
  border-bottom: 1px solid rgba(226,232,240,.95);
}
.architecture-image-topbar div { display: inline-flex; align-items: center; gap: 10px; }
.architecture-image-topbar img { width: 36px; height: 36px; object-fit: contain; }
.architecture-image-topbar strong { color: #0f172a; }
.architecture-image-topbar a { color: #2563eb; font-weight: 800; text-decoration: none; font-size: 13px; padding: 9px 12px; border: 1px solid rgba(191,219,254,.95); border-radius: 999px; background: white; }
.architecture-hd-img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px;
  border-radius: 22px;
  background: #fff;
  image-rendering: auto;
}
.architecture-read-guide {
  max-width: 1240px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}
.architecture-read-guide article {
  padding: 18px;
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px rgba(15,23,42,.055);
}
.architecture-read-guide span { color: #2563eb; font-weight: 900; font-size: 12px; letter-spacing: .1em; }
.architecture-read-guide b { display: block; margin: 8px 0 5px; color: #0f172a; }
.architecture-read-guide small { display: block; color: #64748b; line-height: 1.5; }

/* Feature images sharp and in clean light technical frames */
.flow-panel img,
.robot-video,
.transparent-robot-video {
  image-rendering: auto;
  filter: drop-shadow(0 28px 48px rgba(15,23,42,.14)) saturate(1.08) contrast(1.04);
}
.scroll-stage.runtime-stage {
  background:
    radial-gradient(circle at 50% 42%, rgba(219,234,254,.88), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96)),
    linear-gradient(rgba(37,99,235,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.045) 1px, transparent 1px) !important;
  background-size: auto, auto, 36px 36px, 36px 36px !important;
}

@media (max-width: 1100px) {
  .surface-stage-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .surface-usage-layout { grid-template-columns: 1fr; }
  .capability-catalog { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .architecture-read-guide { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .surface-board-header, .architecture-image-topbar { flex-direction: column; align-items: flex-start; }
  .surface-stage-grid, .usage-case-grid, .capability-catalog, .architecture-read-guide { grid-template-columns: 1fr; }
  .surface-stage-card { min-height: auto; }
  .usage-terminal pre { font-size: 12px; }
  .architecture-image-card { padding: 8px; border-radius: 22px; overflow-x: auto; }
  .architecture-hd-img { min-width: 1100px; border-radius: 16px; }
}


/* === Final responsive polish: clean logo, framework surface, HD architecture, quickstart === */
:root {
  --ls-blue: #1667f2;
  --ls-cyan: #15b8ff;
  --ls-navy: #07152f;
  --ls-line: rgba(37, 99, 235, .13);
  --ls-grid: rgba(59, 130, 246, .075);
}

body::before {
  background-image:
    linear-gradient(var(--ls-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ls-grid) 1px, transparent 1px),
    radial-gradient(circle at 18% 10%, rgba(59, 130, 246, .12), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(14, 165, 233, .10), transparent 28%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.brand { gap: 15px; }
.brand-mark.logo-mark,
.footer-brand .brand-mark.logo-mark {
  width: 64px !important;
  height: 64px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.brand-mark.logo-mark img,
.footer-brand .brand-mark.logo-mark img {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 12px 24px rgba(37,99,235,.14));
}
.brand-copy strong { font-size: 20px; }
.brand-copy small { font-size: 12.5px; }

.hero-grid { align-items: center; }
.hero-copy h1 { font-size: clamp(42px, 5.3vw, 76px); line-height: .98; letter-spacing: -.065em; }
.hero-subtitle { max-width: 760px; }
.hero-proof-clean {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
}
.hero-proof-clean span {
  justify-content: center;
  min-height: 42px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(191,219,254,.95);
  color: #0f2f68;
}
.hero-terminal-card { position: relative; z-index: 4; max-width: 650px; margin-top: 22px; }
.hero-terminal-card pre { white-space: pre-wrap; }
.robot-stage { isolation: isolate; }
.floating-badge { backdrop-filter: blur(18px); }

/* Framework surface: clean, bigger, grid-structured, not dark. */
.framework-surface-final { position: relative; }
.framework-explainer-board {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .85fr);
  gap: 24px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(191,219,254,.95);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,252,255,.96)),
    linear-gradient(var(--ls-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ls-grid) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  box-shadow: 0 28px 80px rgba(15,23,42,.08);
}
.framework-explainer-left,
.framework-explainer-right {
  min-width: 0;
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(219,234,254,.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.framework-explainer-left { padding: 20px; }
.surface-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(219,234,254,.95);
  margin-bottom: 18px;
}
.surface-title-row img { width: 54px; height: 54px; object-fit: contain; }
.surface-title-row strong { display: block; color: #07152f; font-size: 20px; letter-spacing: -.03em; }
.surface-title-row span { display: block; color: #475569; font-size: 13px; margin-top: 2px; }
.surface-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.surface-flow-card {
  position: relative;
  min-height: 146px;
  padding: 16px 16px 15px;
  border: 1px solid rgba(191,219,254,.9);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,252,255,.9)),
    linear-gradient(var(--ls-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ls-grid) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.surface-flow-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 0 16px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ls-blue), var(--ls-cyan));
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: left;
  transition: opacity .28s ease, transform .28s ease;
}
.surface-flow-card.active,
.surface-flow-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37,99,235,.36);
  box-shadow: 0 18px 44px rgba(37,99,235,.11);
}
.surface-flow-card.active::after,
.surface-flow-card:hover::after { opacity: 1; transform: scaleX(1); }
.surface-flow-card i {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(191,219,254,.95);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 26px rgba(37,99,235,.08);
  margin-bottom: 10px;
}
.surface-flow-card i::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background: linear-gradient(135deg, var(--ls-blue), var(--ls-cyan));
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}
.icon-user::before { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-5 0-9 2.5-9 5.5V22h18v-2.5C21 16.5 17 14 12 14Z"/></svg>'); -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-5 0-9 2.5-9 5.5V22h18v-2.5C21 16.5 17 14 12 14Z"/></svg>'); }
.icon-brain::before { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 3a4 4 0 0 0-4 4 4 4 0 0 0-2 7 4 4 0 0 0 4 6h2V3Zm6 0v17h2a4 4 0 0 0 4-6 4 4 0 0 0-2-7 4 4 0 0 0-4-4Z"/></svg>'); -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 3a4 4 0 0 0-4 4 4 4 0 0 0-2 7 4 4 0 0 0 4 6h2V3Zm6 0v17h2a4 4 0 0 0 4-6 4 4 0 0 0-2-7 4 4 0 0 0-4-4Z"/></svg>'); }
.icon-route::before { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M4 4h6v6H4V4Zm10 0h6v6h-6V4ZM4 14h6v6H4v-6Zm10 0h6v6h-6v-6ZM10 7h4v2h-4V7Zm-1 3h2v5H9v-5Zm6 0h2v5h-2v-5Z"/></svg>'); -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M4 4h6v6H4V4Zm10 0h6v6h-6V4ZM4 14h6v6H4v-6Zm10 0h6v6h-6v-6ZM10 7h4v2h-4V7Zm-1 3h2v5H9v-5Zm6 0h2v5h-2v-5Z"/></svg>'); }
.icon-agent::before { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M11 2h2v3h4a3 3 0 0 1 3 3v8a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4V8a3 3 0 0 1 3-3h4V2Zm-3 9a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm8 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm-7 4h6v2H9v-2Z"/></svg>'); -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M11 2h2v3h4a3 3 0 0 1 3 3v8a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4V8a3 3 0 0 1 3-3h4V2Zm-3 9a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm8 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm-7 4h6v2H9v-2Z"/></svg>'); }
.icon-db::before { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2C7 2 3 3.8 3 6v12c0 2.2 4 4 9 4s9-1.8 9-4V6c0-2.2-4-4-9-4Zm0 2c4.2 0 7 1.2 7 2s-2.8 2-7 2-7-1.2-7-2 2.8-2 7-2Zm0 16c-4.2 0-7-1.2-7-2v-2.3c1.6 1 4.2 1.5 7 1.5s5.4-.6 7-1.5V18c0 .8-2.8 2-7 2Z"/></svg>'); -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2C7 2 3 3.8 3 6v12c0 2.2 4 4 9 4s9-1.8 9-4V6c0-2.2-4-4-9-4Zm0 2c4.2 0 7 1.2 7 2s-2.8 2-7 2-7-1.2-7-2 2.8-2 7-2Zm0 16c-4.2 0-7-1.2-7-2v-2.3c1.6 1 4.2 1.5 7 1.5s5.4-.6 7-1.5V18c0 .8-2.8 2-7 2Z"/></svg>'); }
.icon-shield::before { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3Zm-1 14-4-4 1.4-1.4L11 13.2l5.6-5.6L18 9l-7 7Z"/></svg>'); -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3Zm-1 14-4-4 1.4-1.4L11 13.2l5.6-5.6L18 9l-7 7Z"/></svg>'); }
.icon-chat::before { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M4 4h16v12H8l-4 4V4Zm4 5h8V7H8v2Zm0 4h6v-2H8v2Z"/></svg>'); -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M4 4h16v12H8l-4 4V4Zm4 5h8V7H8v2Zm0 4h6v-2H8v2Z"/></svg>'); }
.icon-chart::before { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M4 19h16v2H4V3h2v14l4-5 4 3 5-8 1.7 1-6.6 10.5-3.8-2.9L6 20v-1Z"/></svg>'); -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M4 19h16v2H4V3h2v14l4-5 4 3 5-8 1.7 1-6.6 10.5-3.8-2.9L6 20v-1Z"/></svg>'); }
.surface-flow-card span {
  position: absolute;
  right: 14px;
  top: 14px;
  color: #2563eb;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
}
.surface-flow-card h3 { margin: 0 0 7px; color: #07152f; font-size: 17px; letter-spacing: -.02em; }
.surface-flow-card p { margin: 0; color: #475569; font-size: 13.5px; line-height: 1.54; }
.framework-explainer-right {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.visual-shell-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.visual-shell-top span { width: 9px; height: 9px; border-radius: 99px; background: #dbeafe; }
.framework-explainer-right img {
  width: 100%;
  max-height: 900px;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
  filter: drop-shadow(0 18px 40px rgba(15,23,42,.10));
}
.visual-shell-caption {
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(239,246,255,.92), rgba(255,255,255,.92));
  border: 1px solid rgba(191,219,254,.88);
}
.visual-shell-caption strong { display: block; color: #07152f; font-size: 14px; }
.visual-shell-caption small { display: block; margin-top: 4px; color: #475569; line-height: 1.5; }
.usage-lane-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.usage-lane-grid article {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(191,219,254,.9);
  background: rgba(255,255,255,.82);
  box-shadow: 0 16px 42px rgba(15,23,42,.055);
}
.usage-lane-grid b { display: block; color: #07152f; font-size: 15px; margin-bottom: 7px; }
.usage-lane-grid span { color: #475569; font-size: 13.4px; line-height: 1.55; }
.capability-catalog { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Quickstart: terminal tabs should feel realistic and never overlap. */
.install-terminal-panel { overflow: hidden; }
.install-terminal-panel .tabs {
  gap: 6px;
  padding: 10px 10px 0;
  background: linear-gradient(180deg, #f8fbff, #fff);
  border-bottom: 1px solid rgba(219,234,254,.9);
}
.install-terminal-panel .tab {
  border-radius: 12px 12px 0 0;
  border: 1px solid rgba(191,219,254,.95);
  border-bottom: 0;
  background: rgba(255,255,255,.72);
  color: #475569;
}
.install-terminal-panel .tab.active {
  background: #0b1220;
  color: #fff;
  border-color: #0b1220;
}
.code-panel pre { overflow-x: auto; }

/* Architecture: keep the user-supplied HD diagram clear and inspectable. */
.architecture-image-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,252,255,.94)),
    linear-gradient(var(--ls-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ls-grid) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
}
.architecture-hd-img {
  width: 100%;
  height: auto;
  image-rendering: auto;
  border-radius: 20px;
  background: #fff;
}
.architecture-zoom-note {
  display: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(191,219,254,.9);
  border-radius: 16px;
  color: #475569;
  background: rgba(255,255,255,.86);
  font-size: 13px;
}

/* Feature visuals: retain real images, light main-video-style surface, no artificial fading. */
.feature-visual-card,
.flow-stage-visual,
.visual-frame {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,252,255,.93)),
    linear-gradient(var(--ls-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ls-grid) 1px, transparent 1px) !important;
  background-size: auto, 30px 30px, 30px 30px !important;
}
.feature-visual-card img,
.flow-panel img,
.visual-frame img {
  opacity: 1 !important;
  image-rendering: auto;
  filter: drop-shadow(0 18px 38px rgba(15,23,42,.12));
}

@media (max-width: 1180px) {
  .framework-explainer-board { grid-template-columns: 1fr; }
  .framework-explainer-right img { max-height: 980px; }
  .usage-lane-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-grid { gap: 28px; }
  .hero-proof-clean { grid-template-columns: 1fr; max-width: 100%; }
  .hero-terminal-card { max-width: 100%; }
  .brand-mark.logo-mark, .footer-brand .brand-mark.logo-mark { width: 54px !important; height: 54px !important; }
  .brand-mark.logo-mark img, .footer-brand .brand-mark.logo-mark img { width: 54px !important; height: 54px !important; }
}
@media (max-width: 720px) {
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 11px; }
  .hero-copy h1 { font-size: clamp(34px, 11vw, 48px); }
  .framework-explainer-board { padding: 12px; border-radius: 24px; }
  .framework-explainer-left { padding: 14px; border-radius: 20px; }
  .surface-flow-grid, .usage-lane-grid, .capability-catalog { grid-template-columns: 1fr; }
  .surface-flow-card { min-height: auto; }
  .framework-explainer-right img { max-height: none; }
  .architecture-image-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .architecture-hd-img { min-width: 1080px; max-width: none; }
  .architecture-zoom-note { display: block; }
  .quickstart-layout-upgraded { gap: 20px; }
  .code-panel pre, .hero-terminal-card pre { font-size: 11.2px; line-height: 1.65; }
}
@media (max-width: 420px) {
  .brand-mark.logo-mark, .footer-brand .brand-mark.logo-mark { width: 48px !important; height: 48px !important; }
  .brand-mark.logo-mark img, .footer-brand .brand-mark.logo-mark img { width: 48px !important; height: 48px !important; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .surface-flow-card, .framework-explainer-right img, .floating-badge { animation: none !important; transition: none !important; }
}

/* === RivaiLabs final review polish: reduce grid stacking, normalize cards, remove repeated visual noise === */
:root {
  --ls-bg: #f8fbff;
  --ls-panel: rgba(255,255,255,.92);
  --ls-panel-strong: #ffffff;
  --ls-border: rgba(148, 163, 184, .26);
  --ls-border-blue: rgba(147, 197, 253, .62);
  --ls-text: #07152f;
  --ls-muted: #536173;
  --ls-blue: #1667f2;
  --ls-cyan: #0ea5e9;
  --ls-shadow: 0 18px 50px rgba(15, 23, 42, .075);
}

html { scroll-behavior: smooth; }
body {
  background: var(--ls-bg) !important;
  color: var(--ls-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
body::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -3 !important;
  pointer-events: none !important;
  opacity: .56 !important;
  background-image:
    linear-gradient(rgba(37, 99, 235, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .045) 1px, transparent 1px),
    radial-gradient(circle at 14% 8%, rgba(59, 130, 246, .13), transparent 28%),
    radial-gradient(circle at 90% 16%, rgba(14, 165, 233, .095), transparent 30%) !important;
  background-size: 48px 48px, 48px 48px, auto, auto !important;
  mask-image: none !important;
}
body::after,
main > section::before,
.scroll-feature-flow::before,
.stage-grid,
.robot-backdrop,
.stage-scan { display: none !important; }

.page-shell { width: min(1220px, calc(100% - 36px)) !important; }
.section-pad { padding: clamp(58px, 7vw, 86px) 0 !important; }
.section-heading { max-width: 840px; }
.section-heading.compact { max-width: 780px; }
.section-heading h2,
.compare-card h2,
.final-cta h2 {
  font-size: clamp(30px, 3.4vw, 48px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
}
.section-heading p,
.hero-subtitle { color: var(--ls-muted) !important; }

.site-header { top: 14px !important; }
.nav {
  border: 1px solid rgba(191,219,254,.74) !important;
  background: rgba(255,255,255,.86) !important;
  box-shadow: 0 18px 50px rgba(15,23,42,.08) !important;
  backdrop-filter: blur(18px);
}
.brand-mark.logo-mark,
.footer-brand .brand-mark.logo-mark {
  width: 64px !important;
  height: 64px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.brand-mark.logo-mark img,
.footer-brand .brand-mark.logo-mark img {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain !important;
}
.brand-copy strong { color: var(--ls-text) !important; }
.brand-copy strong span { color: var(--ls-blue) !important; }

.hero { padding-top: 96px !important; }
.hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(400px, .96fr) !important; gap: clamp(26px, 5vw, 58px) !important; }
.hero-copy h1 {
  font-size: clamp(42px, 5.4vw, 74px) !important;
  line-height: .99 !important;
  letter-spacing: -.06em !important;
}
.hero-subtitle { font-size: clamp(16px, 1.35vw, 19px) !important; max-width: 760px !important; }
.status-pill,
.hero-proof-clean span,
.logo-strip,
.runtime-summary,
.problem-card,
.trust-card,
.roadmap-step,
.example-item,
.compare-card,
.install-notes span,
.architecture-read-guide article,
.project-scope-grid article,
.usage-lane-grid article,
.capability-catalog article,
.honesty-panel article {
  background: var(--ls-panel) !important;
  background-image: none !important;
  border: 1px solid var(--ls-border) !important;
  box-shadow: var(--ls-shadow) !important;
}
.status-pill.primary { border-color: rgba(34,197,94,.35) !important; }

.robot-stage.gif-stage[data-status="video-ready"],
.robot-stage.gif-stage,
.scroll-stage.runtime-stage,
.runtime-stage,
.scroll-stage,
.framework-explainer-board,
.framework-explainer-left,
.framework-explainer-right,
.architecture-image-card,
.usage-list,
.footer-upgraded,
.final-cta {
  background:
    radial-gradient(circle at 50% 22%, rgba(219, 234, 254, .80), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,252,255,.95)) !important;
  background-size: auto !important;
  border: 1px solid var(--ls-border-blue) !important;
  box-shadow: 0 26px 78px rgba(15, 23, 42, .09) !important;
}
.robot-stage.gif-stage[data-status="video-ready"] { min-height: 680px !important; }
.robot-main.transparent-robot-video {
  height: min(690px, calc(100% - 12px)) !important;
  max-width: 98% !important;
  filter: drop-shadow(0 28px 48px rgba(15,23,42,.16)) saturate(1.08) contrast(1.045) brightness(1.02) !important;
}
.robot-orbit { opacity: .22 !important; border-color: rgba(14, 165, 233, .18) !important; }
.signal-line { opacity: .22 !important; }
.floating-badge {
  background: rgba(255,255,255,.90) !important;
  border: 1px solid rgba(147,197,253,.72) !important;
  box-shadow: 0 16px 42px rgba(15,23,42,.10) !important;
}

/* Runtime scroll: clearer cards, less visual clutter */
.scroll-flow-shell { gap: clamp(22px, 3.5vw, 42px) !important; }
.flow-ribbon.runtime-ribbon {
  background: rgba(255,255,255,.76) !important;
  border: 1px solid rgba(191,219,254,.74) !important;
  box-shadow: 0 16px 44px rgba(15,23,42,.06) !important;
}
.flow-ribbon span { background: rgba(255,255,255,.95) !important; border-color: rgba(191,219,254,.72) !important; }
.flow-ribbon span.active { background: #eaf4ff !important; color: #0759d1 !important; }
.stage-ring,
.stage-halo { opacity: .42 !important; }
.stage-caption {
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(191,219,254,.76) !important;
  box-shadow: 0 14px 38px rgba(15,23,42,.08) !important;
}
.runtime-stage .flow-panel img,
.runtime-stage .flow-panel video,
.flow-panel img,
.flow-panel video,
.feature-visual-card img,
.visual-frame img {
  opacity: 1 !important;
  image-rendering: auto !important;
  filter: drop-shadow(0 24px 42px rgba(15,23,42,.13)) saturate(1.08) contrast(1.045) brightness(1.015) !important;
}
.runtime-steps .flow-step { min-height: 68vh !important; border-bottom: 1px solid rgba(148,163,184,.20) !important; }
.runtime-steps .flow-step h3 { font-size: clamp(24px, 3.1vw, 36px) !important; letter-spacing: -.035em !important; }
.runtime-steps .flow-step p { color: var(--ls-muted) !important; }
.step-flow-mini { background: rgba(255,255,255,.86) !important; background-image: none !important; border-color: rgba(191,219,254,.7) !important; }

/* Framework surface: product board, no nested grid-on-grid */
.framework-explainer-board {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .86fr) !important;
  padding: clamp(14px, 2vw, 22px) !important;
  border-radius: 30px !important;
}
.framework-explainer-left,
.framework-explainer-right { background: rgba(255,255,255,.78) !important; background-image: none !important; }
.surface-flow-grid { gap: 12px !important; }
.surface-flow-card {
  min-height: 142px !important;
  background: #fff !important;
  background-image: none !important;
  border: 1px solid rgba(191,219,254,.74) !important;
  box-shadow: 0 10px 28px rgba(15,23,42,.055) !important;
}
.surface-flow-card.active,
.surface-flow-card:hover { box-shadow: 0 18px 42px rgba(37,99,235,.11) !important; }
.surface-title-row { border-bottom-color: rgba(191,219,254,.62) !important; }
.usage-lane-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
.capability-catalog { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }
.capability-catalog article { min-height: 132px !important; }
.capability-catalog svg { stroke: var(--ls-blue) !important; }

/* Architecture: inspectable HD image, not a second fake diagram */
.architecture-image-card { padding: 14px !important; border-radius: 30px !important; overflow: hidden !important; }
.architecture-image-topbar { border-bottom-color: rgba(191,219,254,.66) !important; }
.architecture-hd-img { background: #fff !important; border-radius: 20px !important; box-shadow: inset 0 0 0 1px rgba(148,163,184,.16) !important; }
.architecture-read-guide { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }

/* Project scope + trust */
.project-scope-grid {
  max-width: 1120px;
  margin: 26px auto 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px;
}
.project-scope-grid article { padding: 18px; border-radius: 20px; }
.project-scope-grid b { display:block; color: var(--ls-text); font-size: 15px; margin-bottom: 7px; }
.project-scope-grid span { display:block; color: var(--ls-muted); font-size: 13px; line-height: 1.5; }
.trust-score-row article strong { color: var(--ls-text) !important; }
.trust-docs-strip span { background: rgba(255,255,255,.88) !important; border: 1px solid rgba(191,219,254,.70) !important; }
.evidence-grid .trust-card.strong { background: #fff !important; }

/* Use case grid: bigger product scope without repeating evidence */
.example-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px !important;
}
.example-item { min-height: 128px; }
.example-item h3 { color: var(--ls-text) !important; }
.example-item p { color: var(--ls-muted) !important; }
.compare-card { grid-template-columns: minmax(0,1.1fr) minmax(300px,.7fr) !important; }
.compare-points span { background: rgba(255,255,255,.86) !important; border-color: rgba(191,219,254,.66) !important; }

.footer-upgraded { color: var(--ls-text) !important; }
.footer-about p,
.footer-columns a,
.footer-bottom { color: var(--ls-muted) !important; }
.footer-columns h4 { color: var(--ls-text) !important; }
.footer-bottom { border-top-color: rgba(191,219,254,.62) !important; }

@media (max-width: 1120px) {
  .hero-grid,
  .framework-explainer-board,
  .compare-card { grid-template-columns: 1fr !important; }
  .project-scope-grid,
  .usage-lane-grid,
  .capability-catalog,
  .architecture-read-guide { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .robot-stage.gif-stage[data-status="video-ready"] { min-height: 620px !important; }
}
@media (max-width: 760px) {
  .page-shell { width: min(100% - 22px, 1220px) !important; }
  .section-pad { padding: 52px 0 !important; }
  .hero { padding-top: 72px !important; }
  .brand-mark.logo-mark,
  .footer-brand .brand-mark.logo-mark,
  .brand-mark.logo-mark img,
  .footer-brand .brand-mark.logo-mark img { width: 50px !important; height: 50px !important; }
  .brand-copy strong { font-size: 15px !important; }
  .brand-copy small { font-size: 11px !important; }
  .hero-copy h1 { font-size: clamp(33px, 10.5vw, 46px) !important; letter-spacing: -.045em !important; }
  .hero-proof-clean,
  .project-scope-grid,
  .usage-lane-grid,
  .capability-catalog,
  .architecture-read-guide,
  .example-list,
  .surface-flow-grid { grid-template-columns: 1fr !important; }
  .robot-stage.gif-stage[data-status="video-ready"] { min-height: 560px !important; }
  .robot-main.transparent-robot-video { height: 520px !important; }
  .floating-badge { font-size: 12px !important; max-width: 185px !important; }
  .gif-stage .badge-mid { top: 142px !important; }
  .architecture-image-card { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .architecture-hd-img { min-width: 1080px !important; max-width: none !important; }
  .runtime-steps .flow-step { min-height: auto !important; padding: 42px 0 !important; }
}


/* === Public launch polish from final review === */
.site-header { top: 10px; padding-top: 8px; }
.nav {
  min-height: 56px;
  padding: 7px 9px 7px 12px;
  gap: 10px;
  border-radius: 22px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.075);
}
.brand { gap: 9px; }
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-copy strong { font-size: 16px; letter-spacing: -0.025em; text-transform: none; }
.brand-copy small { font-size: 10.5px; }
.nav-links { gap: 0; font-size: 13px; }
.nav-links a { padding: 8px 9px; }
.nav-poc-link { color: #075985 !important; font-weight: 900 !important; }
.nav-actions .button.small { padding: 9px 13px; font-size: 13px; }
.hero { padding-top: clamp(68px, 8vw, 86px) !important; }
.hero-grid { gap: clamp(28px, 4vw, 44px); }
.hero h1 { font-size: clamp(42px, 6vw, 70px) !important; letter-spacing: -0.06em !important; }
.hero-subtitle { max-width: 650px; }
.hero-actions { flex-wrap: wrap; }
.status-pill { padding: 7px 10px !important; font-size: 12px !important; }
.hero-terminal-card { margin-top: 20px; border-radius: 20px; }
.hero-terminal-card pre { font-size: 12px; line-height: 1.58; }
.logo-strip { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
/* remove stacked grid surfaces inside boxes; keep one global grid and subtle cards */
.problem-card, .trust-card, .roadmap-step, .example-item, .compare-card, .runtime-summary, .logo-strip, .install-notes span,
.project-scope-grid article, .trust-score-row article, .usage-lane-grid article, .capability-catalog article,
.poc-card, .contact-grid article {
  background: rgba(255,255,255,0.86) !important;
  background-image: none !important;
  border: 1px solid rgba(15,23,42,0.10) !important;
  box-shadow: 0 14px 40px rgba(15,23,42,0.06) !important;
}
.trust-score-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 12px;
}
.trust-score-row article { padding: 16px !important; min-height: 112px; }
.trust-score-row article span { font-size: 11px; }
.trust-score-row article strong { font-size: clamp(20px, 2.6vw, 28px) !important; }
.trust-score-row article small { font-size: 12px; }
.trust-grid.evidence-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.trust-card { padding: 18px !important; }
.trust-card h3 { font-size: 18px !important; }
.trust-card li { font-size: 13.5px; margin: 7px 0; }
.trust-docs-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-docs-strip span { padding: 8px 10px; font-size: 12px; border-radius: 999px; background: rgba(255,255,255,0.82); border: 1px solid rgba(15,23,42,0.08); }
.poc-section, .contact-section { padding-top: 58px; padding-bottom: 58px; }
.poc-card {
  border-radius: 28px;
  padding: clamp(24px, 5vw, 42px);
  text-align: center;
}
.poc-card h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.045em; margin: 12px auto; max-width: 780px; }
.poc-card p { max-width: 720px; margin: 0 auto 22px; color: #52616d; }
.poc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 22px 0 26px; text-align: left; }
.poc-list span { padding: 12px 13px; border: 1px solid rgba(15,23,42,0.10); border-radius: 16px; background: #fff; font-weight: 750; color: #22303a; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.contact-grid article { padding: 18px; border-radius: 20px; }
.contact-grid b { display: block; color: #0f172a; margin-bottom: 8px; }
.contact-grid a { color: #0369a1; font-weight: 850; overflow-wrap: anywhere; }
.footer-upgraded .brand-mark { background: transparent !important; }
.footer-about p { max-width: 520px; }
.footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-columns a[href=""] { display: none; }
@media (max-width: 1120px) {
  .nav { align-items: flex-start; border-radius: 22px; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 980px) {
  .nav { align-items: center; }
  .nav-links, .nav-actions { width: 100%; }
  .nav-links.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .nav-actions.open { display: flex; }
  .nav-links a { background: rgba(255,255,255,0.7); border: 1px solid rgba(15,23,42,0.08); }
}
@media (max-width: 680px) {
  .page-shell { width: min(100% - 22px, 1160px); }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 14px; }
  .hero h1 { font-size: clamp(40px, 13vw, 58px) !important; }
  .hero-subtitle { font-size: 15.5px !important; }
  .hero-actions .button { width: 100%; }
  .nav-links.open { grid-template-columns: 1fr; }
  .poc-list { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr; }
}

/* Developer resources: docs, source, package and POC link without header clutter */
.official-portals {
  position: relative;
  margin: clamp(20px, 4vw, 34px) auto clamp(30px, 5vw, 46px);
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,252,255,0.90)),
    radial-gradient(circle at 18% 12%, rgba(14,165,233,0.10), transparent 30%),
    radial-gradient(circle at 88% 30%, rgba(37,99,235,0.08), transparent 28%);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.official-portals::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.040) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.040) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  opacity: .36;
  pointer-events: none;
}
.portal-heading,
.portal-grid { position: relative; z-index: 1; }
.portal-heading {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 1.05fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: end;
  margin-bottom: 18px;
}
.portal-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #0f172a;
}
.portal-heading p {
  margin: 0;
  color: #52616d;
  line-height: 1.65;
  font-size: 14.5px;
}
.portal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.portal-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.90);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.055);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.portal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.12);
  background: #fff;
}
.portal-card.primary {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(180deg, rgba(239, 248, 255, 0.94), rgba(255,255,255,0.92));
}
.portal-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(37,99,235,0.10));
  border: 1px solid rgba(37,99,235,0.16);
  color: #0369a1;
  font-weight: 900;
  font-size: 14px;
  font-family: Inter, system-ui, sans-serif;
}
.portal-card strong { font-size: 15px; letter-spacing: -0.02em; }
.portal-card small { font-size: 12px; color: #52616d; line-height: 1.35; }

/* Restrained Cursor-style pointer animation. Desktop only; actual cursor remains unchanged. */
.cursor-glow,
.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  will-change: transform, opacity;
}
.cursor-glow {
  width: 168px;
  height: 168px;
  border-radius: 999px;
  transform: translate3d(-999px, -999px, 0);
  background: radial-gradient(circle, rgba(37,99,235,0.16) 0%, rgba(14,165,233,0.08) 36%, transparent 70%);
  filter: blur(2px);
  mix-blend-mode: multiply;
  transition: opacity .22s ease;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: translate3d(-999px, -999px, 0);
  background: #0284c7;
  box-shadow: 0 0 0 6px rgba(14,165,233,0.10), 0 0 22px rgba(37,99,235,0.32);
  transition: opacity .16s ease, width .18s ease, height .18s ease;
}
body.cursor-enabled .cursor-glow { opacity: .9; }
body.cursor-enabled .cursor-dot { opacity: .92; }
body.cursor-press .cursor-dot { width: 12px; height: 12px; }
body.cursor-hidden .cursor-glow,
body.cursor-hidden .cursor-dot { opacity: 0; }

@media (max-width: 1180px) {
  .portal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .portal-heading { grid-template-columns: 1fr; align-items: start; }
  .portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-card { min-height: 112px; }
}
@media (max-width: 520px) {
  .official-portals { border-radius: 22px; padding: 16px; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-card { min-height: 96px; }
  .portal-heading h2 { font-size: 24px; }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-glow,
  .cursor-dot { display: none !important; }
}

/* === Final fit polish: runtime flow, repo docs, trust cards === */
.runtime-summary.runtime-summary-flow {
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 22px;
}
.runtime-summary-flow .runtime-summary-copy {
  min-width: 160px;
  gap: 2px;
}
.runtime-summary-flow .runtime-summary-copy strong {
  font-size: clamp(13px, 1.25vw, 16px) !important;
  line-height: 1.35;
}
.runtime-flow-mini {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
.runtime-flow-mini span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(191,219,254,.80);
  color: #0f172a !important;
  font-size: clamp(10px, .82vw, 12px) !important;
  font-weight: 850;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  white-space: nowrap;
}
.runtime-flow-mini i {
  width: 18px;
  height: 1px;
  display: inline-block;
  background: linear-gradient(90deg, rgba(37,99,235,.16), rgba(37,99,235,.66));
  position: relative;
}
.runtime-flow-mini i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(37,99,235,.78);
  border-top: 1.5px solid rgba(37,99,235,.78);
  transform: rotate(45deg);
}
.runtime-summary-flow > a {
  padding: 9px 13px !important;
  font-size: 12px;
}

.repo-docs-section {
  margin: clamp(22px, 4vw, 42px) auto clamp(32px, 5vw, 54px);
  padding: clamp(18px, 3vw, 30px);
  border-radius: 28px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 56px rgba(15,23,42,.065);
}
.repo-docs-heading {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(280px, 1.25fr);
  gap: clamp(16px, 3vw, 30px);
  align-items: end;
  margin-bottom: 16px;
}
.repo-docs-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.repo-docs-heading p {
  margin: 0;
  color: var(--ls-muted);
  line-height: 1.6;
  font-size: 14px;
}
.repo-docs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.repo-docs-grid a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "num title" "num text";
  column-gap: 10px;
  row-gap: 3px;
  padding: 14px;
  min-height: 104px;
  border-radius: 18px;
  border: 1px solid rgba(191,219,254,.75);
  background: rgba(255,255,255,.92);
  text-decoration: none;
  color: var(--ls-text);
  box-shadow: 0 10px 30px rgba(15,23,42,.045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.repo-docs-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(37,99,235,.30);
  box-shadow: 0 16px 42px rgba(37,99,235,.10);
}
.repo-docs-grid span {
  grid-area: num;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(14,165,233,.10);
  color: #0369a1;
  font-weight: 900;
  font-size: 12px;
}
.repo-docs-grid b { grid-area: title; font-size: 14px; letter-spacing: -.015em; }
.repo-docs-grid small { grid-area: text; color: var(--ls-muted); font-size: 12px; line-height: 1.42; }

.portal-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.portal-card { min-height: 118px; }

.trust-score-row.trust-proof-row {
  max-width: 1180px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.trust-score-row.trust-proof-row a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 96px;
  padding: 13px 12px !important;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.90) !important;
  box-shadow: 0 12px 34px rgba(15,23,42,.055) !important;
  color: var(--ls-text);
  text-decoration: none;
}
.trust-score-row.trust-proof-row a:hover {
  border-color: rgba(37,99,235,.28);
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(37,99,235,.10) !important;
}
.trust-score-row.trust-proof-row span {
  font-size: 10px !important;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.trust-score-row.trust-proof-row strong {
  font-size: clamp(15px, 1.28vw, 18px) !important;
  line-height: 1.12 !important;
  margin: 8px 0 5px !important;
  letter-spacing: -.02em;
}
.trust-score-row.trust-proof-row small {
  font-size: 11.5px !important;
  line-height: 1.3;
}
.repo-doc-shortcuts {
  justify-content: center;
  margin: 10px auto 22px;
}
.repo-doc-shortcuts a {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.84);
  color: var(--ls-text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.examples .section-heading p {
  max-width: 780px;
  margin-inline: auto;
  color: var(--ls-muted);
  font-size: 15px;
  line-height: 1.65;
}
.example-list {
  align-items: stretch;
}
.example-item {
  min-height: 132px;
}
.example-item p {
  font-size: 13.5px;
}

@media (max-width: 1180px) {
  .portal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .repo-docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-score-row.trust-proof-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .runtime-summary.runtime-summary-flow { align-items: flex-start; flex-direction: column; }
  .runtime-flow-mini { width: 100%; }
  .runtime-flow-mini span { white-space: normal; }
  .repo-docs-heading { grid-template-columns: 1fr; align-items: start; }
  .trust-score-row.trust-proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .runtime-flow-mini { gap: 6px; }
  .runtime-flow-mini i { width: 12px; }
  .repo-docs-section { border-radius: 22px; padding: 16px; }
  .repo-docs-grid,
  .trust-score-row.trust-proof-row { grid-template-columns: 1fr; }
}


/* === Final runtime/workflow + use-case polish === */
.runtime-workflow {
  width: min(1220px, 100%);
  margin: 18px auto 34px;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,251,255,0.88));
  box-shadow: 0 20px 64px rgba(15, 23, 42, 0.07);
  position: relative;
  overflow: hidden;
}
.runtime-workflow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.runtime-workflow-head,
.runtime-workflow-foot,
.runtime-line { position: relative; z-index: 1; }
.runtime-workflow-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.runtime-workflow-head span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  color: #2563eb;
  text-transform: uppercase;
}
.runtime-workflow-head strong {
  font-size: clamp(14px, 1.4vw, 18px);
  color: #0f172a;
  letter-spacing: -.025em;
  text-align: right;
}
.runtime-line {
  display: grid;
  grid-template-columns: repeat(8, minmax(104px, 1fr));
  align-items: stretch;
  gap: 8px;
}
.runtime-line > i {
  display: none;
}
.runtime-node {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(191, 219, 254, 0.88);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
  position: relative;
}
.runtime-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  width: 10px;
  height: 2px;
  background: linear-gradient(90deg, rgba(37,99,235,.55), rgba(14,165,233,.25));
}
.runtime-node:last-child::after { display: none; }
.runtime-node small {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef6ff;
  color: #0759d1;
  font: 900 11px/1 "JetBrains Mono", monospace;
}
.runtime-node b {
  color: #0f172a;
  font-size: 14px;
  letter-spacing: -.02em;
}
.runtime-node span {
  color: #64748b;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 750;
}
.runtime-workflow-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15,23,42,.08);
}
.runtime-workflow-foot span {
  max-width: 780px;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}
.runtime-workflow-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}
.runtime-summary.runtime-summary-flow,
.flow-ribbon.runtime-ribbon { display: none !important; }

.trust-score-row.trust-proof-row {
  grid-template-columns: repeat(7, minmax(126px, 1fr)) !important;
  gap: 10px !important;
}
.trust-score-row.trust-proof-row a {
  min-height: 92px !important;
  padding: 12px !important;
}
.trust-score-row.trust-proof-row strong {
  font-size: clamp(14px, 1.05vw, 17px) !important;
}
.trust-score-row.trust-proof-row small {
  font-size: 11px !important;
}

.usecase-section .section-heading p {
  max-width: 850px;
}
.usecase-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.usecase-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  min-height: 188px;
  padding: 18px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 48px rgba(15,23,42,.055);
  text-decoration: none;
  color: #0f172a;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.usecase-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37,99,235,.28);
  box-shadow: 0 22px 60px rgba(37,99,235,.10);
}
.usecase-card span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef6ff;
  color: #0759d1;
  font: 900 12px/1 "JetBrains Mono", monospace;
}
.usecase-card h3 {
  margin: 0;
  font-size: clamp(17px, 1.45vw, 21px);
  letter-spacing: -.035em;
  line-height: 1.12;
}
.usecase-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .runtime-line { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .runtime-node:nth-of-type(4)::after,
  .runtime-node:nth-of-type(8)::after { display: none; }
  .usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-score-row.trust-proof-row { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  .runtime-workflow-head,
  .runtime-workflow-foot { align-items: flex-start; flex-direction: column; }
  .runtime-workflow-head strong { text-align: left; }
  .runtime-line { grid-template-columns: 1fr; gap: 8px; }
  .runtime-node { min-height: 82px; }
  .runtime-node::after {
    left: 24px;
    right: auto;
    top: auto;
    bottom: -9px;
    width: 2px;
    height: 10px;
    background: linear-gradient(180deg, rgba(37,99,235,.55), rgba(14,165,233,.25));
  }
  .runtime-node:nth-of-type(4)::after { display: block; }
  .runtime-node:last-child::after { display: none; }
  .usecase-grid { grid-template-columns: 1fr; }
  .trust-score-row.trust-proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 480px) {
  .trust-score-row.trust-proof-row { grid-template-columns: 1fr !important; }
  .usecase-card { min-height: 156px; }
}
