/* Original CodeCR motion composition. Shared brand tokens remain authoritative. */
.neural-home .product-hero { grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); gap: clamp(20px,3vw,48px); padding-block: 64px 48px; }
.neural-home .hero-copy { position: relative; z-index: 1; }
.neural-home .hero-copy h1 { font-size: clamp(2.6rem,4.55vw,4.4rem); }
.neural-home .hero-copy h1 span { color: var(--text); }
.neural-home .hero-copy .product-lead { max-width: 37rem; }
.neural-home .guide-kicker { letter-spacing: .14em; }
.hero-release { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 25px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; color: var(--text-soft); font: .72rem/1.5 var(--font-mono); }
.hero-release svg { width: 14px; height: 14px; color: var(--red-bright); }
.hero-demo-link { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; text-decoration: underline; text-underline-offset: 5px; }
.hero-demo-link svg { width: 18px; height: 18px; color: var(--red-bright); }
.neural-planet { margin: 0; position: relative; min-width: 0; }
.planet-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-soft); font: .65rem/1.6 var(--font-mono); letter-spacing: .1em; }
.planet-meta span:first-child { color: var(--red-bright); }
.neural-planet-stage { position: relative; width: 100%; aspect-ratio: 1.2; isolation: isolate; touch-action: pan-y pinch-zoom; overflow: hidden; border-radius: var(--radius); }
.neural-planet-stage::before { content: ""; position: absolute; inset: 4%; z-index: -1; background: radial-gradient(ellipse at 56% 46%,rgba(199,35,62,.1),transparent 64%); }
.neural-planet-stage canvas, .neural-planet-fallback { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.neural-planet-stage canvas[hidden], .neural-planet-fallback[hidden] { display: none; }
.planet-label { position: absolute; border: 1px solid var(--line); border-radius: 5px; background: var(--bg-deep); padding: 7px 10px; color: var(--text-soft); font: .65rem/1.3 var(--font-mono); pointer-events: none; }
.planet-label::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--red-bright); margin-right: 7px; vertical-align: middle; }
.planet-label-source { left: 2%; top: 20%; }
.planet-label-context { right: 0; top: 63%; }
.planet-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.planet-hint { margin: 0 !important; font: .65rem/1.6 var(--font-mono); color: var(--text-soft); }
.planet-motion { color: var(--text); border: 1px solid var(--line-control); border-radius: 6px; padding: 7px 10px; background: transparent; font: .7rem/1.5 var(--font-mono); cursor: pointer; min-height: 36px; }
.planet-motion:hover, .planet-motion[aria-pressed=true] { border-color: var(--red-bright); background: var(--surface); }
.planet-motion[hidden] { display: none; }
.planet-layers { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.planet-layers[hidden] { display: none; }
.planet-layers button { flex: 1; min-height: 40px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text-soft); font: .72rem/1.5 var(--font-mono); cursor: pointer; }
.planet-layers button[aria-pressed=true] { color: var(--text); background: var(--surface-2); border-color: var(--red-bright); }
.planet-description { min-height: 3.5em; font-size: .79rem; margin: 12px 0 0; }
.planet-figure-caption { font: .62rem/1.6 var(--font-mono); color: var(--text-dim); margin-top: 9px; }
.planet-layers button:focus-visible, .planet-motion:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 4px; }
.neural-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid var(--line); margin-bottom: 24px; }
.neural-strip div { padding: 23px 16px; display: flex; align-items: center; gap: 12px; }
.neural-strip div + div { border-left: 1px solid var(--line); }
.neural-strip svg { width: 25px; height: 25px; flex: none; color: var(--red-bright); }
.neural-strip span { color: var(--text-soft); font-size: .8rem; }
.neural-strip strong { color: var(--text); display: block; font-weight: 550; margin-bottom: 3px; }
.neural-home #workflow { border-top: 0; }
.flow-art { display: block; width: 100%; height: 120px; margin-bottom: 26px; color: var(--text-soft); }
.flow-art .flow-accent { stroke: var(--red-bright); }
.flow-art .flow-dim { stroke: var(--line-control); }
.neural-home #workflow .product-grid article { background: linear-gradient(180deg,var(--surface),var(--bg)); }
.neural-home #workflow .product-grid h3 { margin-top: 16px; }
.neural-home .product-artwork--retained { margin-top: 28px; max-width: 520px; }
.neural-home .product-artwork--retained img { border-color: var(--line); }
.neural-demo { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: clamp(24px,5vw,70px); align-items: center; }
.neural-demo-media { min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.neural-demo-media video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 7px; background: var(--bg-deep); }
.neural-demo-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 4px 2px 15px; color: var(--text-soft); font: .65rem/1.5 var(--font-mono); }
.neural-demo-media figcaption { color: var(--text-soft); font-size: .75rem; line-height: 1.75; padding: 14px 2px 0; }
.neural-demo-media a { color: var(--text); }
@media (max-width:1000px) {
  .neural-home .product-hero { grid-template-columns: minmax(0,1fr); padding-block: 45px; gap: 40px; }
  .neural-planet { width: 100%; max-width: 620px; justify-self: center; }
  .neural-home .hero-copy h1 { font-size: clamp(2.6rem,6vw,4.4rem); }
  .neural-demo { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:600px) {
  .neural-home .hero-copy h1 { font-size: clamp(2.35rem,9vw,3.6rem); }
  .neural-home .product-hero { padding-top: 34px; }
  .hero-release { font-size: .64rem; margin-bottom: 22px; }
  .neural-planet-stage { aspect-ratio: 1.06; }
  .planet-meta { font-size: .57rem; }
  .planet-label { font-size: .55rem; padding: 6px 7px; }
  .planet-label-source { top: 16%; }
  .planet-label-context { top: 71%; }
  .planet-layers button { padding: 10px 6px; font-size: .65rem; min-width: 0; }
  .planet-description { min-height: 5em; }
  .neural-strip { grid-template-columns: minmax(0,1fr); }
  .neural-strip div { padding: 16px 0; }
  .neural-strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  .neural-demo-media { padding: 10px; }
}
@media (prefers-reduced-motion:reduce) {
  .neural-home { scroll-behavior: auto; }
}

.neural-home .product-grid article { transition: transform .18s ease, border-color .18s ease; }
.neural-home .product-grid article:hover, .neural-home .product-grid article:focus-within { transform: translateY(-3px); border-color: var(--line-control); }
.neural-home .product-closing { border: 1px solid var(--line); border-radius: 16px; padding: clamp(28px,5vw,64px); margin-block: 38px 72px; background: radial-gradient(ellipse at 90% 80%,rgba(199,35,62,.12),var(--surface)); }
.neural-home .hero-release { background: rgba(13,18,24,.72); }
.product-artwork--scene .neural-planet-stage { border: 1px solid var(--line); }
.product-artwork--scene .neural-planet-fallback { border: 0; aspect-ratio: auto; }
@media (prefers-reduced-motion: reduce) { .neural-home .product-grid article { transition: none; } .neural-home .product-grid article:hover, .neural-home .product-grid article:focus-within { transform: none; } }

.workflow-flow { margin: -12px -12px 26px; }
.workflow-flow [data-flow-stage] { border: 1px solid var(--line); border-radius: 9px; }
