:root {
  --orange: #ff6a00;
  --orange-2: #ff9a2f;
  --ink: #08090b;
  --ink-2: #10141a;
  --paper: #f6f7f4;
  --muted: #9aa3ad;
  --line: rgba(255, 255, 255, 0.14);
  --teal: #31d4c3;
  --violet: #8a7cff;
  --green: #5fe38c;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 750;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

.button.primary {
  background: var(--orange);
  border-color: rgba(255, 106, 0, 0.9);
  color: #090909;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.button.secondary.light {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.eyebrow {
  color: var(--orange-2);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header,
.systems-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 22px clamp(18px, 4vw, 54px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand img {
  height: 38px;
  object-fit: contain;
  width: 154px;
}

.compact-brand img {
  height: 32px;
  width: 130px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.88rem;
  font-weight: 720;
}

.theme-cinematic {
  background: #030405;
  color: #fff;
  overflow-x: hidden;
}

.grain {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 70%);
  pointer-events: none;
  position: fixed;
  z-index: 1;
}

.cinematic-hero {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
  overflow: hidden;
  padding: 110px clamp(18px, 6vw, 82px) 58px;
  position: relative;
}

.cinematic-hero::before {
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 106, 0, 0.22), transparent 33%),
    linear-gradient(120deg, rgba(255, 106, 0, 0.12), transparent 38%),
    #030405;
  content: "";
  inset: 0;
  position: absolute;
}

.cinematic-hero::after {
  background-image:
    linear-gradient(115deg, transparent 0 24%, rgba(255, 106, 0, 0.18) 24% 24.4%, transparent 24.4% 100%),
    linear-gradient(115deg, transparent 0 55%, rgba(49, 212, 195, 0.16) 55% 55.3%, transparent 55.3% 100%);
  content: "";
  inset: 0;
  opacity: 0.9;
  position: absolute;
}

.hero-copy {
  max-width: 850px;
  min-width: 0;
  position: relative;
  width: 100%;
  z-index: 3;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 9vw, 8.4rem);
  letter-spacing: 0;
  line-height: 0.86;
  margin-top: 18px;
  max-width: 980px;
  text-transform: uppercase;
}

.hero-lede {
  color: #c8ced6;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.7;
  margin-top: 24px;
  max-width: 720px;
}

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

.control-stage {
  bottom: clamp(22px, 6vh, 76px);
  position: absolute;
  right: clamp(18px, 5vw, 78px);
  width: min(680px, 52vw);
  z-index: 2;
}

.stage-topline {
  align-items: center;
  color: #e9edf2;
  display: flex;
  font-size: 0.82rem;
  font-weight: 780;
  justify-content: space-between;
  margin-bottom: 10px;
}

.live-dot {
  color: var(--green);
}

.frame-stack {
  display: grid;
  gap: 10px;
  grid-template-columns: 1.1fr 0.92fr 0.78fr;
  min-height: 170px;
}

.robot-frame {
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.24), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  min-height: 160px;
  overflow: hidden;
  position: relative;
}

.robot-frame::before,
.robot-frame::after {
  content: "";
  position: absolute;
}

.robot-frame::before {
  background: var(--orange);
  height: 3px;
  left: 10%;
  top: 36%;
  transform: rotate(-18deg);
  width: 76%;
}

.robot-frame::after {
  animation: scan 2.6s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.64), transparent);
  height: 100%;
  left: -50%;
  top: 0;
  width: 40%;
}

.frame-two {
  opacity: 0.72;
  transform: translateY(28px);
}

.frame-three {
  opacity: 0.48;
  transform: translateY(54px);
}

.latency-rail {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  font-size: 0.76rem;
  font-weight: 820;
  grid-template-columns: 0.9fr 1.3fr 0.8fr;
  margin-top: 18px;
  overflow: hidden;
  text-transform: uppercase;
}

.latency-rail span {
  border-right: 1px solid var(--line);
  padding: 12px;
}

.latency-rail span:nth-child(2) {
  background: rgba(255, 106, 0, 0.18);
}

.latency-rail span:last-child {
  border-right: 0;
}

.metric-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
}

.metric-strip div {
  background: rgba(3, 4, 5, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
}

.metric-strip strong,
.metric-strip span {
  display: block;
}

.metric-strip strong {
  color: #fff;
  font-size: 1.15rem;
}

.metric-strip span {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 5px;
}

.showcase-band,
.split-band,
.kernel-band {
  padding: 78px clamp(18px, 6vw, 82px);
  position: relative;
  z-index: 3;
}

.section-heading {
  margin: 0 auto 28px;
  max-width: 760px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading.compact {
  max-width: 900px;
}

.section-heading h2,
.split-band h2,
.kernel-band h2 {
  font-size: clamp(2rem, 4.8vw, 4.7rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-top: 10px;
}

.section-heading p:not(.eyebrow),
.split-band p {
  color: #abb4bf;
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 14px;
}

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

.video-tile {
  background: #0d1015;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
}

.featured-video {
  grid-column: span 2;
}

.video-preview {
  aspect-ratio: 16 / 9;
  background: #07090d;
  overflow: hidden;
  position: relative;
}

.robot-preview img {
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  width: 100%;
}

.play-mark {
  background: var(--orange);
  border-radius: 7px;
  bottom: 14px;
  color: #101010;
  font-size: 0.8rem;
  font-weight: 850;
  padding: 9px 12px;
  position: absolute;
  right: 14px;
}

.synthetic-preview {
  align-items: end;
  display: flex;
  padding: 18px;
}

.synthetic-preview::before {
  animation: scan 2.8s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  content: "";
  height: 100%;
  left: -45%;
  position: absolute;
  top: 0;
  width: 42%;
}

.synthetic-preview span {
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 900;
  position: relative;
  text-transform: uppercase;
}

.preview-orange {
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.8), transparent),
    #16110d;
}

.preview-teal {
  background:
    linear-gradient(135deg, rgba(49, 212, 195, 0.7), transparent),
    #071616;
}

.preview-violet {
  background:
    linear-gradient(135deg, rgba(138, 124, 255, 0.72), transparent),
    #101021;
}

.video-meta {
  padding: 18px;
}

.video-meta span {
  color: var(--orange-2);
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.video-meta h3 {
  font-size: 1.05rem;
  line-height: 1.18;
}

.video-meta p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: 10px;
}

.split-band {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
}

.runtime-list {
  display: grid;
  gap: 12px;
}

.runtime-list div {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.runtime-list strong,
.runtime-list span {
  display: block;
}

.runtime-list span {
  color: #aab3bd;
  line-height: 1.55;
  margin-top: 8px;
}

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

.kernel-card {
  background: #f4f5f2;
  border-radius: 8px;
  color: #0a0d10;
  min-height: 210px;
  padding: 22px;
}

.kernel-card span {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
}

.kernel-card strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.15;
  margin-top: 52px;
}

.kernel-card p {
  color: #4d5560;
  line-height: 1.5;
  margin-top: 10px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: #aeb7c1;
  display: flex;
  font-size: 0.88rem;
  justify-content: space-between;
  padding: 24px clamp(18px, 6vw, 82px);
  position: relative;
  z-index: 3;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.theme-systems {
  background: var(--paper);
  color: #111418;
}

.systems-header {
  background: rgba(246, 247, 244, 0.78);
  border-bottom: 1px solid rgba(17, 20, 24, 0.09);
  backdrop-filter: blur(18px);
}

.systems-nav {
  color: #303741;
}

.systems-hero {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr);
  padding: 136px clamp(18px, 6vw, 82px) 42px;
}

.systems-copy {
  max-width: 1120px;
  min-width: 0;
  width: 100%;
}

.systems-copy h1 {
  font-size: clamp(2.8rem, 7.2vw, 7.2rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-top: 16px;
}

.systems-copy p:not(.eyebrow) {
  color: #596270;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.68;
  margin-top: 20px;
  max-width: 790px;
}

.terminal-panel,
.code-card {
  background: #10141a;
  border: 1px solid rgba(17, 20, 24, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(17, 20, 24, 0.16);
  color: #eef4fb;
  max-width: 860px;
  overflow: hidden;
}

.terminal-bar {
  align-items: center;
  background: #181e26;
  display: flex;
  gap: 8px;
  padding: 12px 14px;
}

.terminal-bar span {
  background: #47515e;
  border-radius: 99px;
  height: 9px;
  width: 9px;
}

.terminal-bar strong {
  color: #9ca8b6;
  font-size: 0.76rem;
  margin-left: 8px;
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 22px;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.7;
}

.trust-row,
.models-section,
.benchmark-section,
.hub-section,
.quickstart-section {
  padding: 62px clamp(18px, 6vw, 82px);
}

.trust-row {
  border-bottom: 1px solid rgba(17, 20, 24, 0.1);
  border-top: 1px solid rgba(17, 20, 24, 0.1);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-row div {
  min-width: 0;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  font-size: 1.15rem;
}

.trust-row span {
  color: #626b77;
  line-height: 1.55;
  margin-top: 7px;
}

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

.model-matrix article,
.launch-columns div {
  background: #fff;
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 8px;
  min-height: 245px;
  padding: 22px;
}

.model-matrix span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.model-matrix h3,
.launch-columns h3 {
  font-size: 1.25rem;
  line-height: 1.12;
  margin-top: 56px;
}

.model-matrix p,
.launch-columns p,
.hub-copy p {
  color: #596270;
  line-height: 1.58;
  margin-top: 12px;
}

.benchmark-section {
  background: #111418;
  color: #fff;
}

.benchmark-table {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
}

.benchmark-table [role="row"] {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr 1fr 1.15fr;
  min-width: 760px;
  padding: 16px 18px;
}

.benchmark-table [role="row"] + [role="row"] {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.benchmark-table span {
  color: #b6c0cc;
}

.benchmark-table strong {
  color: var(--green);
}

.table-head {
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hub-section {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
}

.hub-copy h2,
.quickstart-section h2,
.models-section h2,
.benchmark-section h2 {
  font-size: clamp(2rem, 5vw, 4.8rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-top: 10px;
}

.code-card {
  max-width: none;
}

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

.launch-columns div {
  min-height: 210px;
}

.systems-footer {
  border-color: rgba(17, 20, 24, 0.1);
  color: #5f6874;
}

.systems-footer a {
  color: #111418;
}

.selector {
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.18), transparent 34%),
    linear-gradient(180deg, #050608, #111418 70%, #050608);
  color: #fff;
}

.selector-shell {
  margin: 0 auto;
  max-width: 1180px;
  min-height: 100vh;
  padding: 72px 22px;
}

.selector-logo {
  height: auto;
  margin-bottom: 58px;
  max-width: 330px;
}

.selector-kicker {
  color: var(--orange-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.selector h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin-top: 14px;
  max-width: 960px;
}

.selector-copy {
  color: #bbc4cf;
  font-size: 1.1rem;
  line-height: 1.65;
  margin-top: 20px;
  max-width: 630px;
}

.selector-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 58px;
}

.selector-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  min-height: 350px;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.selector-card::before {
  content: "";
  inset: 0;
  opacity: 0.6;
  position: absolute;
}

.cinematic-card::before {
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.6), transparent 48%),
    #090b0e;
}

.systems-card::before {
  background:
    linear-gradient(135deg, rgba(49, 212, 195, 0.46), transparent 46%),
    #f4f5f2;
}

.selector-card > * {
  position: relative;
}

.selector-tag {
  color: var(--orange-2);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.systems-card .selector-tag,
.systems-card h2,
.systems-card p,
.systems-card .selector-cta {
  color: #101418;
}

.selector-card h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
  letter-spacing: 0;
  line-height: 0.94;
  margin-top: 110px;
}

.selector-card p {
  color: #c2cbd6;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 460px;
}

.selector-cta {
  bottom: 24px;
  color: #fff;
  font-weight: 900;
  position: absolute;
}

@keyframes scan {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(360%);
  }
}

@media (max-width: 1050px) {
  .control-stage {
    margin-top: 44px;
    position: relative;
    right: auto;
    width: 100%;
  }

  .cinematic-hero {
    align-items: end;
    padding-top: 130px;
  }

  .video-grid,
  .kernel-grid,
  .model-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-band,
  .hub-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .systems-header {
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .brand img {
    height: 30px;
    width: 122px;
  }

  .nav-links {
    display: none;
  }

  .hero-copy h1,
  .systems-copy h1,
  .selector h1 {
    font-size: clamp(2.15rem, 10.8vw, 2.85rem);
    overflow-wrap: anywhere;
  }

  .hero-copy h1,
  .systems-copy h1 {
    max-width: 300px;
  }

  .hero-copy,
  .systems-copy {
    max-width: min(300px, calc(100vw - 60px));
    width: min(300px, calc(100vw - 60px));
  }

  .hero-lede,
  .systems-copy p:not(.eyebrow),
  .selector-copy {
    font-size: 0.98rem;
  }

  .control-stage {
    display: none;
  }

  .cinematic-hero {
    min-height: 86vh;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .video-grid,
  .kernel-grid,
  .model-matrix,
  .trust-row,
  .launch-columns,
  .selector-grid {
    grid-template-columns: 1fr;
  }

  .featured-video {
    grid-column: span 1;
  }

  .showcase-band,
  .split-band,
  .kernel-band,
  .trust-row,
  .models-section,
  .benchmark-section,
  .hub-section,
  .quickstart-section {
    padding: 54px 16px;
  }

  .systems-hero {
    padding: 122px 16px 34px;
  }

  .benchmark-table {
    overflow-x: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 22px 16px;
  }

  .selector-shell {
    padding: 38px 16px;
  }

  .selector-logo {
    margin-bottom: 44px;
    max-width: 250px;
  }

  .selector-card {
    min-height: 300px;
  }
}

/* FlashRT revised direction */
.theme-flash {
  background: #f4f3ed;
  color: #15191f;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.006em;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

.flash-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 22px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 30;
}

.flash-logo {
  align-items: center;
  background: rgba(244, 243, 237, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(21, 25, 31, .1);
  border-radius: 8px;
  display: flex;
  padding: 7px 11px;
  transition: border-color .2s ease;
}

.flash-logo:hover {
  border-color: rgba(255, 90, 0, .4);
}

.flash-logo img {
  height: 30px;
  object-fit: contain;
  width: 44px;
}

.flash-nav {
  background: rgba(247, 246, 240, .68);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(21, 25, 31, .09);
  border-radius: 9px;
  box-shadow: 0 6px 22px rgba(21, 25, 31, .07);
  color: #2c323b;
  display: flex;
  gap: 2px;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.005em;
  padding: 6px;
}

.flash-nav a {
  border-radius: 6px;
  color: #3a414b;
  padding: 10px 13px;
  transition: background-color .18s ease, color .18s ease;
}

.flash-nav a:hover {
  background: rgba(255, 90, 0, .1);
  color: #ff5a00;
}

.flash-hero {
  min-height: 100vh;
  overflow: hidden;
  padding: 132px clamp(18px, 7vw, 96px) 64px;
  position: relative;
}

.runtime-field {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.grid-fade {
  -webkit-mask-image: radial-gradient(125% 105% at 72% 28%, #000 26%, transparent 80%);
  mask-image: radial-gradient(125% 105% at 72% 28%, #000 26%, transparent 80%);
}

/* one calm line language: neutral guides, only the strike is orange */
.flow-base {
  fill: none;
  stroke: #20272f;
  stroke-linecap: round;
}

.flow-base.main {
  stroke-width: 1.5;
  stroke-dasharray: 2.5 9;
  opacity: .4;
  animation: fieldDrift 24s linear infinite;
}

.flow-base.sec {
  stroke-width: 1.3;
  stroke-dasharray: 2 11;
  opacity: .16;
  animation: fieldDrift 34s linear infinite;
}

.flow-base.sec.warm {
  opacity: .18;
}

/* the flash: a fast electric strike that draws the main path */
.flow-trace {
  stroke: url(#traceGrad);
  stroke-width: 2.8;
  stroke-linecap: round;
  filter: url(#traceGlow);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  animation: traceSweep 5.2s cubic-bezier(.2, .85, .25, 1) infinite;
}

/* white-hot comet head leading the strike */
.comet {
  opacity: 0;
  animation: cometFade 5.2s ease-out infinite;
}

.comet-halo {
  fill: url(#cometHalo);
}

.comet-core {
  fill: #fffaf2;
  filter: url(#softGlow);
}

/* thin leader from each node up to its icon */
.icon-leader {
  stroke: rgba(27, 36, 48, .24);
  stroke-width: 1;
  stroke-dasharray: 1.5 5;
  opacity: .42;
  animation: leaderIgnite 5.2s ease-out infinite;
}

/* clickable stage */
.stage-link {
  cursor: pointer;
}

.node-hit {
  fill: transparent;
  stroke: none;
}

/* soft halo that appears under the node on hover */
.node-glow {
  fill: #ff5a00;
  opacity: 0;
  filter: url(#traceGlow);
  transition: opacity .25s ease;
}

.stage-link:hover .node-glow {
  opacity: .22;
}

/* icons */
.field-stages {
  color: rgba(27, 36, 48, .42);
}

.stage-icon {
  opacity: .52;
  transform-box: fill-box;
  transform-origin: center;
  animation: iconIgnite 5.2s ease-out infinite;
  transition: color .25s ease, opacity .25s ease;
}

.stage-link:hover .stage-icon {
  color: #ff5a00;
  opacity: 1;
}

.kernel-bolt {
  fill: currentColor;
}

/* nodes: resting dot + radar ping ring */
.node-dot {
  fill: #f4f3ed;
  stroke: #20272f;
  stroke-opacity: .5;
  stroke-width: 1.7;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodeIgnite 5.2s ease-out infinite;
  transition: stroke .25s ease;
}

.stage-link:hover .node-dot {
  stroke: #ff5a00;
  stroke-opacity: 1;
}

.node-ring {
  fill: none;
  stroke: #ff5a00;
  stroke-width: 1.6;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePing 5.2s cubic-bezier(.2, .6, .2, 1) infinite;
}

/* icon detail accents lit as the wave passes */
.camera-scan,
.matrix-scan {
  opacity: 0;
}

.camera-scan {
  animation: cameraScan 5.2s ease-out infinite;
}

.matrix-scan {
  animation: matrixScan 5.2s ease-out infinite;
}

.lens-iris,
.neural-out,
.chip-core,
.kernel-bolt {
  animation: partGlow 5.2s ease-out infinite;
}

.claw {
  transform-box: fill-box;
  transform-origin: left center;
  animation: clawTwitch 5.2s ease-out infinite;
}

/* labels */
.field-label {
  fill: #4c5460;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  opacity: .6;
  text-transform: uppercase;
  animation: labelIgnite 5.2s ease-out infinite;
  transition: fill .25s ease, opacity .25s ease;
}

.stage-link:hover .field-label {
  fill: #ff5a00;
  opacity: 1;
}

/* ignition delays — the strike cracks left→right in under a beat */
.node-1,
.icon-1,
.label-1,
.camera-scan,
.lens-iris {
  animation-delay: 0s;
}

.node-2,
.icon-2,
.label-2,
.neural-out {
  animation-delay: .31s;
}

.node-3,
.icon-3,
.label-3,
.matrix-scan,
.kernel-bolt {
  animation-delay: .6s;
}

.node-4,
.icon-4,
.label-4,
.chip-core {
  animation-delay: .86s;
}

.node-5,
.icon-5,
.label-5,
.claw {
  animation-delay: 1.09s;
}

@media (prefers-reduced-motion: reduce) {
  .flow-base,
  .flow-trace,
  .comet,
  .icon-leader,
  .stage-icon,
  .node-dot,
  .node-ring,
  .camera-scan,
  .matrix-scan,
  .lens-iris,
  .neural-out,
  .chip-core,
  .kernel-bolt,
  .claw,
  .field-label {
    animation: none;
  }

  .flow-trace {
    opacity: .9;
    stroke-dashoffset: 0;
  }

  .stage-icon {
    opacity: .7;
  }
}

.flash-hero-copy {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.flash-hero-copy::before {
  background: radial-gradient(98% 108% at 20% 40%, rgba(244, 243, 237, .92) 0 36%, rgba(244, 243, 237, .58) 58%, rgba(244, 243, 237, 0) 80%);
  content: "";
  inset: -30px -160px -10px -64px;
  position: absolute;
  z-index: -1;
}

.flash-kicker,
.flash-section-head span,
.flash-kernel-strip span,
.flash-kernels-section .flash-section-head span {
  color: #ff5a00;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.flash-kicker::before,
.flash-section-head span::before {
  background: currentColor;
  border-radius: 99px;
  content: "";
  height: 6px;
  width: 6px;
}

/* cool branded lockup */
.flash-brand {
  align-items: center;
  display: inline-flex;
  gap: 11px;
  margin-bottom: 22px;
}

.brand-bolt {
  align-items: center;
  background: linear-gradient(135deg, #ff9a2f, #ff3d2e);
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(255, 80, 0, .42);
  color: #fff;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
  animation: boltGlow 3.4s ease-in-out infinite;
}

.brand-word {
  background: linear-gradient(90deg, #ff8a1e 0%, #ff3d2e 38%, #ff9a2f 62%, #ff8a1e 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  animation: brandShimmer 5s linear infinite;
}

.brand-tag {
  border-left: 1px solid rgba(21, 25, 31, .18);
  color: #8a919b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  padding-left: 11px;
  text-transform: uppercase;
}

@keyframes boltGlow {
  0%, 100% {
    box-shadow: 0 5px 16px rgba(255, 80, 0, .35);
  }

  50% {
    box-shadow: 0 6px 22px rgba(255, 80, 0, .6);
  }
}

@keyframes brandShimmer {
  to {
    background-position: 220% 0;
  }
}

.flash-hero-copy h1 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 600px;
}

.flash-hero-copy p {
  color: #545b65;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  margin-top: 24px;
  max-width: 540px;
}

.flash-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.flash-button {
  align-items: center;
  background: #15191f;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(21, 25, 31, .12);
  color: #f4f3ed;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  height: 46px;
  justify-content: center;
  letter-spacing: -0.01em;
  min-width: 132px;
  padding: 0 20px;
  position: relative;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  z-index: 3;
}

.flash-button:hover {
  box-shadow: 0 6px 18px rgba(21, 25, 31, .18);
  transform: translateY(-1px);
}

.flash-button-primary {
  background: #ff5a00;
  color: #15191f;
  box-shadow: 0 1px 2px rgba(255, 90, 0, .25);
}

.flash-button-primary:hover {
  background: #ff6a14;
  box-shadow: 0 8px 22px rgba(255, 90, 0, .32);
}

.flash-section,
.flash-showcase,
.flash-quickstart,
.flash-kernel-strip,
.flash-kernels-section {
  padding: 86px clamp(18px, 7vw, 96px);
}

.flash-section {
  background: #14181f;
  color: #f4f3ed;
}

.flash-section-head {
  max-width: 740px;
}

.flash-section-head h2 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.02;
}

.flash-flow {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
}

.flash-flow article {
  border: 1px solid rgba(244, 243, 237, .18);
  border-radius: 4px;
  min-height: 220px;
  padding: 22px;
}

.flash-flow article span {
  color: #ff7a1a;
  font-size: 13px;
  font-weight: 800;
}

.flash-flow h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-top: 60px;
}

.flash-flow p {
  color: #b8bec5;
  font-size: 15px;
  line-height: 1.45;
  margin-top: 12px;
}

.flash-showcase {
  background: #f4f3ed;
}

.flash-quickstart {
  background: #14181f;
  color: #f4f3ed;
}

.quickstart-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  margin-top: 38px;
}

.quick-card {
  background: #0d1117;
  border: 1px solid rgba(244, 243, 237, .16);
  border-radius: 6px;
  min-width: 0;
  overflow: hidden;
}

.quick-card-hf {
  background:
    linear-gradient(135deg, rgba(255, 90, 0, .12), transparent 42%),
    #0d1117;
}

.quick-card-head {
  border-bottom: 1px solid rgba(244, 243, 237, .12);
  padding: 22px;
}

.quick-card-head span {
  color: #ff7a1a;
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.quick-card-head h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  max-width: 520px;
}

.quick-card pre {
  margin: 0;
  overflow-x: auto;
  padding: 24px;
}

.quick-card code {
  color: #dce2e8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.65;
}

.quick-link-card {
  align-self: stretch;
  background:
    linear-gradient(135deg, rgba(255, 90, 0, .2), transparent 52%),
    #20252d;
  border: 1px solid rgba(244, 243, 237, .14);
  border-radius: 6px;
  padding: 24px;
}

.quick-link-card span {
  color: #ff7a1a;
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 54px;
  text-transform: uppercase;
}

.quick-link-card h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.quick-link-card p {
  color: #b8bec5;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 14px;
}

.quick-link-card .flash-button {
  margin-top: 28px;
}

.flash-video-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.5fr 1fr 1fr;
  margin-top: 38px;
}

.flash-video {
  align-items: flex-end;
  background:
    radial-gradient(120% 90% at 18% 8%, rgba(255, 90, 0, .22), transparent 46%),
    linear-gradient(165deg, #252a33 0%, #181c23 58%, #11141a 100%);
  border: 1px solid rgba(244, 243, 237, .09);
  border-radius: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.flash-video::before {
  animation: fieldDash 18s linear infinite;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  -webkit-mask-image: radial-gradient(120% 100% at 20% 0%, #000, transparent 75%);
  mask-image: radial-gradient(120% 100% at 20% 0%, #000, transparent 75%);
  opacity: .5;
  position: absolute;
}

.flash-video::after {
  background: linear-gradient(90deg, #ff5a00, #ff9a2f);
  border-radius: 99px;
  content: "";
  height: 3px;
  left: 22px;
  opacity: .9;
  position: absolute;
  top: 22px;
  width: 30px;
}

.flash-video:hover {
  border-color: rgba(255, 90, 0, .4);
  box-shadow: 0 18px 44px rgba(8, 10, 14, .4);
  transform: translateY(-3px);
}

.flash-video.large {
  grid-row: span 2;
  min-height: 532px;
}

.flash-video div,
.flash-video p {
  position: relative;
  width: 100%;
}

.flash-video div {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.flash-video p {
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  margin-top: 9px;
}

.flash-kernels-section {
  background: #e7e6df;
  color: #15191f;
}

.kernel-section-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  margin-top: 38px;
}

.kernel-section-copy {
  background: #f4f3ed;
  border: 1px solid rgba(21, 25, 31, .1);
  border-radius: 6px;
  padding: 24px;
}

.kernel-section-copy p {
  color: #3f4650;
  font-size: 20px;
  line-height: 1.45;
}

.kernel-links {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.kernel-links a {
  border: 1px solid #15191f;
  border-radius: 4px;
  color: #15191f;
  font-size: 14px;
  font-weight: 800;
  padding: 14px 18px;
  text-decoration: none;
  white-space: nowrap;
}

.flash-footer {
  background: #14181f;
  color: #d8dbd7;
  font-size: 13px;
  font-weight: 700;
  padding: 24px clamp(18px, 7vw, 96px);
}

@keyframes fieldDash {
  to {
    background-position: 220px 0;
  }
}

@keyframes fieldDrift {
  to {
    stroke-dashoffset: -150;
  }
}

@keyframes traceSweep {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  2% {
    opacity: 1;
  }

  21% {
    opacity: 1;
    stroke-dashoffset: 0;
  }

  42% {
    opacity: .92;
    stroke-dashoffset: 0;
  }

  64%,
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes cometFade {
  0% {
    opacity: 0;
  }

  2%,
  18% {
    opacity: 1;
  }

  25%,
  100% {
    opacity: 0;
  }
}

@keyframes nodeIgnite {
  0%, 100% {
    fill: #f4f3ed;
    stroke: #2b343f;
    stroke-opacity: .5;
    transform: scale(1);
  }

  3% {
    fill: #ff5a00;
    stroke: #ff5a00;
    stroke-opacity: 1;
    transform: scale(1.4);
  }

  9% {
    transform: scale(1);
  }

  20% {
    fill: rgba(255, 90, 0, .22);
    stroke: #ff7a1a;
    stroke-opacity: .8;
  }
}

@keyframes nodePing {
  0%, 100% {
    opacity: 0;
    transform: scale(.55);
  }

  3% {
    opacity: .6;
    transform: scale(.6);
  }

  22% {
    opacity: 0;
    transform: scale(2.7);
  }
}

@keyframes iconIgnite {
  0%, 100% {
    color: rgba(27, 36, 48, .42);
    opacity: .52;
  }

  3%,
  9% {
    color: #ff5a00;
    opacity: 1;
  }

  26% {
    color: rgba(255, 90, 0, .55);
    opacity: .7;
  }
}

@keyframes leaderIgnite {
  0%, 100% {
    stroke: rgba(27, 36, 48, .24);
    opacity: .45;
  }

  4% {
    stroke: rgba(255, 90, 0, .85);
    opacity: .95;
  }

  26% {
    stroke: rgba(255, 122, 26, .4);
    opacity: .5;
  }
}

@keyframes labelIgnite {
  0%, 100% {
    fill: #4c5460;
    opacity: .58;
  }

  4% {
    fill: #ff5a00;
    opacity: 1;
  }

  30% {
    fill: #7a4a30;
    opacity: .72;
  }
}

@keyframes partGlow {
  0%, 100% {
    fill: transparent;
  }

  4% {
    fill: #ff7a1a;
  }

  26% {
    fill: rgba(255, 122, 26, .25);
  }
}

@keyframes cameraScan {
  0%, 100% {
    opacity: 0;
    transform: translateX(-7px);
  }

  4% {
    opacity: .9;
    transform: translateX(-7px);
  }

  16% {
    opacity: .9;
    transform: translateX(7px);
  }

  22% {
    opacity: 0;
    transform: translateX(7px);
  }
}

@keyframes matrixScan {
  0%, 100% {
    opacity: 0;
    transform: translateY(-9px);
  }

  4% {
    opacity: .85;
    transform: translateY(-9px);
  }

  18% {
    opacity: .85;
    transform: translateY(20px);
  }

  24% {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes clawTwitch {
  0%, 100% {
    transform: rotate(0deg);
  }

  4% {
    transform: rotate(-11deg);
  }

  12% {
    transform: rotate(3deg);
  }

  20% {
    transform: rotate(0deg);
  }
}

@media (max-width: 940px) {
  .flash-flow,
  .flash-video-grid,
  .quickstart-grid,
  .flash-kernel-strip,
  .kernel-section-grid {
    grid-template-columns: 1fr;
  }

  .flash-video.large {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .flash-header {
    padding: 16px;
  }

  .flash-nav {
    display: none;
  }

  .flash-hero {
    min-height: 92vh;
    padding: 112px 22px 46px;
  }

  .flash-hero-copy h1 {
    font-size: 46px;
    max-width: 330px;
  }

  .flash-hero-copy p {
    font-size: 17px;
    max-width: 318px;
  }

  .flash-actions {
    flex-direction: column;
    max-width: 318px;
  }

  .flash-button {
    width: 100%;
  }

  .field-label {
    display: none;
  }

  .runtime-field {
    opacity: .62;
  }

  .flash-hero-copy::before {
    background: linear-gradient(90deg, rgba(244, 243, 237, .96), rgba(244, 243, 237, .86));
    inset: -18px -20px -18px -12px;
  }

  .flash-section,
  .flash-showcase,
  .flash-quickstart,
  .flash-kernel-strip,
  .flash-kernels-section {
    padding: 58px 22px;
  }

  .flash-section-head h2 {
    font-size: 34px;
  }

  .flash-flow article {
    min-height: 190px;
  }

  .kernel-links {
    flex-direction: column;
  }
}

/* ======================================================================
   Pillar sections (scene · models · kernels · runtime · execution)
   ====================================================================== */

.flash-scene,
.flash-execution {
  padding: 86px clamp(18px, 7vw, 96px);
}

.flash-scene {
  background: #efeee8;
}

.flash-execution {
  background: #f4f3ed;
}

/* section sub-copy under the h2 */
.flash-section-head p {
  color: #545b65;
  font-size: 16px;
  line-height: 1.62;
  margin-top: 16px;
  max-width: 600px;
}

.flash-section .flash-section-head p,
.flash-quickstart .flash-section-head p {
  color: #aeb6bf;
}

.flash-execution .flash-section-head em {
  color: #ff5a00;
  font-style: normal;
  font-weight: 600;
}

/* ---- showcase play chip ---- */
.play-chip {
  background: rgba(255, 90, 0, .92);
  border-radius: 99px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  opacity: .9;
  padding: 6px 11px;
  position: absolute;
  right: 18px;
  text-transform: uppercase;
  top: 18px;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 2;
}

.flash-video:hover .play-chip {
  opacity: 1;
  transform: translateY(-1px);
}

/* ---- scene cards ---- */
.scene-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}

.scene-card {
  background: #f7f6f0;
  border: 1px solid rgba(21, 25, 31, .08);
  border-radius: 12px;
  padding: 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.scene-card:hover {
  box-shadow: 0 16px 40px rgba(21, 25, 31, .09);
  transform: translateY(-3px);
}

.scene-anim {
  display: block;
  height: 88px;
  width: 132px;
}

.scene-card h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 16px;
}

.scene-card p {
  color: #545b65;
  font-size: 14.5px;
  line-height: 1.55;
  margin-top: 10px;
}

.loop-track {
  fill: none;
  stroke: rgba(21, 25, 31, .16);
  stroke-dasharray: 2 6;
  stroke-width: 1.6;
}

.loop-node {
  fill: #fff;
  stroke: rgba(21, 25, 31, .32);
  stroke-width: 1.6;
}

.loop-dot {
  fill: #ff5a00;
}

.tick-base {
  stroke: rgba(21, 25, 31, .18);
  stroke-linecap: round;
  stroke-width: 1.6;
}

.tick-bars rect {
  animation: tickPulse 1.9s ease-in-out infinite;
  fill: rgba(21, 25, 31, .16);
  transform-box: fill-box;
  transform-origin: bottom;
}

.tick-bars rect:nth-child(1) { animation-delay: 0s; }
.tick-bars rect:nth-child(2) { animation-delay: .1s; }
.tick-bars rect:nth-child(3) { animation-delay: .2s; }
.tick-bars rect:nth-child(4) { animation-delay: .3s; }
.tick-bars rect:nth-child(5) { animation-delay: .4s; }

.mesh-edge {
  fill: none;
  stroke: rgba(21, 25, 31, .2);
  stroke-width: 1.6;
}

.mesh-node {
  fill: #fff;
  stroke: rgba(21, 25, 31, .32);
  stroke-width: 1.6;
}

.mesh-token {
  fill: #ff5a00;
}

/* ---- models grid (dark) ---- */
.model-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}

.model-card {
  background: rgba(244, 243, 237, .02);
  border: 1px solid rgba(244, 243, 237, .14);
  border-radius: 10px;
  min-height: 152px;
  padding: 24px;
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}

.model-card:hover {
  background: rgba(255, 90, 0, .05);
  border-color: rgba(255, 90, 0, .45);
  transform: translateY(-3px);
}

.model-tag {
  border: 1px solid rgba(255, 122, 26, .42);
  border-radius: 99px;
  color: #ff7a1a;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 4px 11px;
  text-transform: uppercase;
}

.model-card h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 18px;
}

.model-card p {
  color: #aab2bb;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
}

/* ---- kernels: chart on one side, code on the other ---- */
.kernel-redesign {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  margin-top: 38px;
}

.kernel-chart {
  background: linear-gradient(180deg, #1a1f27, #12161c);
  border: 1px solid rgba(244, 243, 237, .08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px clamp(18px, 2.5vw, 30px) 22px;
  position: relative;
}

.kchart-plot {
  align-items: flex-end;
  display: flex;
  gap: 0;
  justify-content: center;
}

.kgroup {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  padding: 0 clamp(8px, 1.4vw, 18px);
}

.kgroup + .kgroup {
  border-left: 1px solid rgba(244, 243, 237, .1);
}

.kbars {
  align-items: flex-end;
  border-bottom: 1px dashed rgba(244, 243, 237, .18);
  display: flex;
  gap: clamp(10px, 1.4vw, 20px);
  justify-content: center;
}

.kbar {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.kplot {
  align-items: flex-end;
  display: flex;
  gap: 4px;
  height: 168px;
}

.kbase {
  background: rgba(244, 243, 237, .16);
  border-radius: 3px 3px 0 0;
  display: block;
  height: 9%;
  width: 7px;
}

.kours {
  background: linear-gradient(180deg, #ffb24d 0%, #ff5a00 70%, #ff3d2e 100%);
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 18px rgba(255, 90, 0, .35);
  display: block;
  height: var(--h);
  position: relative;
  width: 17px;
  animation: kbarGlow 2.8s ease-in-out infinite;
}

.kbar:nth-child(2) .kours { animation-delay: .35s; }
.kbar:nth-child(3) .kours { animation-delay: .7s; }

.kgroup[style*="--tier:1"] .kours { width: 19px; }
.kgroup[style*="--tier:2"] .kours { width: 21px; }

/* bright highlight sweeping up the bar (confined to the fill box) */
.kours::after {
  animation: kbarSheen 3.2s ease-in-out infinite;
  background: linear-gradient(0deg, transparent 0%, rgba(255, 255, 255, .6) 50%, transparent 100%);
  background-position: 50% 160%;
  background-repeat: no-repeat;
  background-size: 100% 280%;
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
}

.kours b {
  color: #fff;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  left: 50%;
  letter-spacing: -0.01em;
  position: absolute;
  top: -25px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.kname {
  align-items: flex-start;
  color: #aeb6bf;
  display: flex;
  font-size: 11px;
  height: 30px;
  justify-content: center;
  line-height: 1.25;
  margin-top: 12px;
  max-width: 72px;
  text-align: center;
}

.kcap {
  border-top: 1px solid rgba(244, 243, 237, .14);
  color: #f4f3ed;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 14px;
  padding-top: 10px;
  text-align: center;
}

.kcap em {
  color: #9aa3ad;
  display: block;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 500;
  margin-top: 3px;
}

.kchart-legend {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 18px;
}

.kchart-legend span {
  align-items: center;
  color: #9aa3ad;
  display: inline-flex;
  font-size: 11.5px;
  gap: 7px;
}

.kchart-legend i {
  border-radius: 2px;
  height: 10px;
  width: 10px;
}

.lg-base { background: rgba(244, 243, 237, .3); }
.lg-ours { background: linear-gradient(180deg, #ffb24d, #ff5a00); }

.kernel-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kernel-side .quick-card-hf {
  flex: 1 1 auto;
}

.kernel-meta {
  background: #f4f3ed;
  border: 1px solid rgba(21, 25, 31, .1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}

.kernel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kernel-chips span {
  border: 1px solid rgba(21, 25, 31, .16);
  border-radius: 99px;
  color: #3f4650;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
}

/* ---- runtime hardware ---- */
.hw-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
}

.hw-card {
  border: 1px solid rgba(244, 243, 237, .14);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  min-height: 160px;
  padding: 22px;
}

.hw-card.soon {
  opacity: .82;
}

.hw-state {
  align-items: center;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hw-state i {
  border-radius: 99px;
  height: 7px;
  width: 7px;
}

.hw-card.live .hw-state {
  color: #5fe38c;
}

.hw-card.live .hw-state i {
  animation: hwPulse 2.4s ease-out infinite;
  background: #5fe38c;
}

.hw-card.soon .hw-state {
  color: #9aa3ad;
}

.hw-card.soon .hw-state i {
  background: #9aa3ad;
}

.hw-card h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: auto;
}

.hw-card p {
  color: #aab2bb;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
}

/* ---- execution ---- */
.exec-grid {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  margin-top: 40px;
}

.exec-diagram {
  background: #14181f;
  border-radius: 14px;
  padding: 30px clamp(20px, 4vw, 44px);
}

.exec-diagram svg {
  display: block;
  height: auto;
  width: 100%;
}

/* the managed state pool: a big dashed frame holding a few state blocks */
.state-map {
  cursor: pointer;
  display: block;
  height: auto;
  width: 100%;
}

.pool-frame {
  fill: none;
  stroke: rgba(244, 243, 237, .3);
  stroke-dasharray: 5 6;
  stroke-width: 1.6;
}

.pool-cell {
  fill: rgba(244, 243, 237, .035);
  stroke: rgba(244, 243, 237, .2);
  stroke-width: 1.4;
  transition: fill .5s ease, stroke .5s ease, filter .5s ease;
}

.pool-cell.lit {
  fill: rgba(255, 90, 0, .5);
  stroke: #ff8a2a;
  filter: drop-shadow(0 0 6px rgba(255, 110, 20, .55));
}

.pool-state {
  fill: rgba(244, 243, 237, .48);
  transition: fill .25s ease, opacity .55s ease;
}

.pool-state.fire {
  fill: #ff8a2a;
  filter: drop-shadow(0 0 5px rgba(255, 150, 60, .95));
}

.pool-state.is-click {
  fill: #ff5a00;
}

/* soft, dashed connector that flows toward the block it lights */
.pool-link {
  fill: none;
  stroke: #ff8a2a;
  stroke-linecap: round;
  stroke-width: 1.5;
  stroke-dasharray: 2.5 4.5;
  opacity: .85;
  filter: drop-shadow(0 0 2px rgba(255, 140, 40, .6));
  transition: opacity .5s ease;
  animation: linkFlow .7s linear infinite;
}

.pool-link.is-click {
  stroke: #ff5a00;
  stroke-width: 1.8;
}

.exec-stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.exec-stat strong {
  color: #15191f;
  display: block;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.exec-stat span {
  color: #545b65;
  display: block;
  font-size: 14px;
  margin-top: 4px;
}

.exec-stats .flash-button {
  align-self: flex-start;
  margin-top: 6px;
}

@keyframes tickPulse {
  0%, 100% {
    fill: rgba(21, 25, 31, .16);
    transform: scaleY(.55);
  }

  18% {
    fill: #ff5a00;
    transform: scaleY(1);
  }

  44% {
    fill: rgba(21, 25, 31, .16);
    transform: scaleY(.55);
  }
}

/* vertical sheen sweeping up the kernel bars */
@keyframes kbarSheen {
  0% {
    background-position: 50% 170%;
  }

  55%, 100% {
    background-position: 50% -70%;
  }
}

@keyframes kbarGlow {
  0%, 100% {
    box-shadow: 0 0 14px rgba(255, 90, 0, .28);
  }

  50% {
    box-shadow: 0 0 24px rgba(255, 90, 0, .5);
  }
}

@keyframes hwPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(95, 227, 140, .5);
  }

  70%, 100% {
    box-shadow: 0 0 0 7px rgba(95, 227, 140, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tick-bars rect,
  .loop-dot,
  .mesh-token,
  .kours,
  .kours::after,
  .hw-card.live .hw-state i {
    animation: none;
  }

  .pool-link {
    transition: opacity .4s ease;
  }
}

@keyframes linkFlow {
  to {
    stroke-dashoffset: -7;
  }
}

@media (max-width: 940px) {
  .scene-grid,
  .model-grid,
  .kernel-redesign,
  .exec-grid {
    grid-template-columns: 1fr;
  }

  .hw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .kchart-plot {
    flex-direction: column;
    gap: 28px;
  }

  .kgroup {
    flex: none;
    padding: 0;
  }

  .kgroup + .kgroup {
    border-left: 0;
    border-top: 1px solid rgba(244, 243, 237, .1);
    padding-top: 24px;
  }
}

@media (max-width: 680px) {
  .flash-scene,
  .flash-execution {
    padding: 58px 22px;
  }

  .hw-grid {
    grid-template-columns: 1fr;
  }

  .exec-stat strong {
    font-size: 26px;
  }
}
