body[data-page="home"] .page-shell {
  margin-left: 0;
}

:root:not([data-theme="light"]) body[data-page="home"] {
  --paper: #282a2e;
  --ground: #303237;
  --raised: #393b40;
  --hover: #414249;
  --line: #484a50;
  --muted: #c2beb7;
  --subtle: #aaa7a2;
  --selected: #44362e;
  background:
    radial-gradient(ellipse 75% 650px at 88% 160px, #72503a40, transparent),
    var(--paper);
}
:root[data-theme="light"] body[data-page="home"] {
  background:
    radial-gradient(ellipse 75% 650px at 88% 160px, #f4bc8b26, transparent),
    var(--paper);
}

body[data-page="home"] .review-bar {
  display: none;
}

body[data-page="home"] .workspace {
  display: block;
  max-width: 1600px;
  padding: 0 48px;
}

body[data-page="home"] .skip {
  left: 24px;
}

.home-header {
  max-width: 1600px;
  margin: auto;
  min-height: 88px;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  gap: 64px;
  border-bottom: 1px solid var(--line);
}

.home-header nav {
  display: flex;
  gap: 30px;
}

.home-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.home-header nav a:hover {
  color: var(--accent-strong);
}

.home-wrap {
  padding: 0;
}

.play-section {
  margin: 56px 0 0;
  color: var(--ink);
  border-radius: 12px;
}

.editorial-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 70px;
  align-items: end;
}

.section-kicker {
  font-size: 0.6875rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 26px;
}

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

.editorial-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -1.5px;
}

.editorial-heading h2 span {
  color: var(--subtle);
}

.editorial-heading > p:last-child {
  color: var(--subtle);
  font-size: 0.9375rem;
  line-height: 1.9;
  margin-bottom: 4px;
}

.demo-foot {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--subtle);
  padding: 23px 0 0;
}

.demo-foot a {
  color: var(--ink);
  white-space: nowrap;
  text-decoration: none;
}

.demo-foot a:hover {
  color: var(--accent-strong);
}

.capability-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  padding: 110px 24px;
}

.capability-section .editorial-heading {
  display: block;
  align-self: start;
  position: sticky;
  top: 50px;
}

.capability-section .editorial-heading > p:last-child {
  margin-top: 24px;
  color: var(--muted);
}

.capability-section .editorial-heading h2 span {
  color: var(--subtle);
}

.capability-list a {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  text-decoration: none;
}

.capability-list a > span {
  color: var(--accent-strong);
  font-size: 0.625rem;
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}

.capability-list h3 {
  font-size: 1.0625rem;
  font-weight: 500;
}

.capability-list p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 10px 0 0;
}

.capability-list b {
  margin-left: auto;
  color: var(--subtle);
  font-size: 1rem;
  font-weight: 400;
}

.capability-list a:hover h3 {
  color: var(--accent-strong);
}

.start-section {
  border-top: 1px solid var(--line);
  padding: 72px 24px;
}

.start-section h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -1px;
}

.start-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  margin-top: 48px;
}

.start-routes a {
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.start-routes a > span {
  font-size: 0.625rem;
  color: var(--muted);
}

.start-routes h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 18px;
}

.start-routes p {
  color: var(--muted);
  font-size: 0.8125rem;
}

.start-routes a:hover h3 {
  color: var(--accent-strong);
}

.home-conditions {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  border-top: 1px solid var(--line);
  padding: 64px 24px;
}

.home-conditions h2 {
  font-size: 1.7rem;
  font-weight: 500;
}

.home-conditions p:not(.section-kicker) {
  font-size: 0.8125rem;
  color: var(--muted);
}

.home-conditions > .home-environment {
  display: grid;
  align-content: center;
}

.home-conditions a {
  font-size: 0.8125rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--muted);
}

.home-conditions a:hover {
  color: var(--accent-strong);
}

body[data-page="home"] footer {
  max-width: 1504px;
  margin: 0 auto;
  padding: 28px 24px 40px;
}

@media (max-width: 1100px) {
  body[data-page="home"] .workspace {
    padding: 0 28px;
  }

  .home-header {
    padding: 20px 28px;
    gap: 32px;
  }

  .capability-section {
    gap: 42px;
    padding: 80px 0;
  }

  .editorial-heading {
    gap: 10px 32px;
  }

  .start-section,
  .home-conditions {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .home-header {
    flex-wrap: wrap;
    gap: 18px;
    padding: 20px 24px;
  }

  .home-header nav {
    width: 100%;
    gap: 22px;
    justify-content: space-between;
  }

  .home-header nav a {
    font-size: 0.75rem;
  }

  body[data-page="home"] .workspace {
    padding: 0 20px;
  }

  .play-section {
    margin-top: 26px;
    border-radius: 8px;
  }

  .editorial-heading {
    display: block;
  }

  .editorial-heading h2 {
    font-size: 2rem;
  }

  .editorial-heading > p:last-child {
    font-size: 0.8125rem;
    margin-top: 20px;
  }

  .section-kicker {
    margin-bottom: 20px;
  }

  .demo-foot {
    display: block;
    font-size: 0.75rem;
  }

  .demo-foot a {
    display: inline-block;
    margin-top: 12px;
  }

  .capability-section {
    display: block;
    padding: 64px 6px;
  }

  .capability-section .editorial-heading {
    position: static;
  }

  .capability-list {
    margin-top: 34px;
  }

  .capability-list a {
    gap: 18px;
    padding: 22px 0;
  }

  .start-section {
    padding: 44px 6px;
  }

  .start-routes {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .start-routes h3 {
    margin-top: 8px;
  }

  .home-conditions {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 44px 6px;
  }

  .home-conditions .section-kicker {
    margin-bottom: 14px;
  }

  body[data-page="home"] footer {
    margin: 0 20px;
    padding-left: 6px;
    padding-right: 6px;
  }
}

.connection-art {
  margin-top: 44px;
  max-width: 460px;
}

.connection-art svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.connection-art > span {
  display: block;
  color: var(--subtle);
  font-size: 0.6875rem;
  margin: 8px 0 0 10px;
}

.connection-path {
  fill: none;
  stroke: var(--motion-line);
  stroke-width: 1;
}

.connection-signal {
  fill: none;
  stroke: var(--motion-dot);
  stroke-width: 2;
  stroke-dasharray: 12 308;
  animation: signal-flow 4s linear infinite;
  animation-play-state: paused;
}

.connection-node rect {
  fill: var(--ground);
  stroke: var(--line);
}

.connection-text {
  font-size: 13px;
  fill: var(--ink);
  text-anchor: middle;
}

.connection-caption {
  font-size: 10px;
  fill: var(--subtle);
  text-anchor: middle;
}

.motion-active .connection-art.in-view .connection-signal {
  animation-play-state: running;
}

@keyframes signal-flow {
  to {
    stroke-dashoffset: -320;
  }
}

@media (prefers-reduced-motion: reduce) {
  .connection-signal {
    animation: none !important;
  }
}

.home-header nav a {
  position: relative;
  padding: 5px 0;
}

.home-header nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.home-header nav a:is(:hover, :focus-visible)::after {
  transform: scaleX(1);
}

.capability-list b {
  display: inline-block;
  transition: transform 0.18s ease;
}

.capability-list a:hover b {
  transform: translate(2px, -2px);
}

@media (prefers-reduced-motion: reduce) {
  .home-header nav a::after,
  .capability-list b {
    transition: none;
  }
}

/* Homepage reading sections share the existing theme and spacing. */
.start-routes small {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
}

.home-content-note {
  color: var(--subtle);
  font-size: 0.75rem;
  line-height: 1.85;
  margin: 16px 0 0;
}

.capability-note {
  margin: -64px 24px 64px;
  max-width: 800px;
}

.start-routes a {
  display: flex;
  flex-direction: column;
}

.start-routes p {
  line-height: 1.85;
  margin-bottom: 22px;
}

.start-routes small {
  margin-top: auto;
  color: var(--accent-strong);
}

.home-conditions h2,
.home-faq h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -1px;
}

.home-conditions {
  grid-template-columns: 1fr 1.5fr;
}

.home-conditions > div:first-child > a {
  display: inline-block;
  border: 0;
}

.home-environment dl {
  margin: 0;
}

.home-environment dl > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.home-environment dt {
  font-size: 0.8125rem;
  color: var(--muted);
}

.home-environment dd {
  font-size: 0.9375rem;
  margin: 0;
}

.home-environment small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 8px;
}

.home-faq {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding: 64px 24px 80px;
  border-top: 1px solid var(--line);
}

.home-faq > div > p:not(.section-kicker) {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.9;
}

.home-faq a {
  font-size: 0.8125rem;
  color: var(--ink);
  text-underline-offset: 5px;
  text-decoration-color: var(--line);
}

.home-answers details {
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
}

.home-answers details:first-child {
  border-top: 1px solid var(--line);
}

.home-answers summary {
  user-select: none;
  caret-color: transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  padding-right: 8px;
}

.home-answers summary::marker {
  color: var(--subtle);
}

.home-answers p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.95;
  margin: 18px 0 10px;
}

.home-closing {
  text-align: center;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 64px 32px 32px;
  margin: 0 0 48px;
}

.home-closing h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 550;
  letter-spacing: -1px;
}

.home-closing > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.9;
}

.home-closing .buttons {
  justify-content: center;
  align-items: center;
  margin: 28px 0 44px;
}

.home-closing .buttons > a:last-child {
  font-size: 0.875rem;
  text-decoration: none;
}

.home-credit {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.85;
}

.home-credit p {
  margin: 6px 0;
}

.home-credit a {
  color: var(--muted);
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .home-faq {
    padding: 44px 6px;
  }

  .home-conditions,
  .home-faq {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .capability-note {
    margin: -32px 6px 44px;
  }

  .home-closing {
    padding: 40px 20px 24px;
  }
}

.home-hero {
  position: relative;
  isolation: isolate;
}
.hero-stage {
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
  padding: 0 24px;
}
#brand-canvas {
  position: absolute;
  width: 80%;
  height: 610px;
  right: -8%;
  top: -28px;
  transform: rotate(-12deg);
  opacity: 0.92;
  pointer-events: none;
  mask-image: linear-gradient(
    90deg,
    transparent 4%,
    #000 50%,
    #000 92%,
    transparent
  );
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 62px 12px 52px;
  max-width: 860px;
  min-width: 0;
}
.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1.5px;
  margin: 0;
}
.hero-copy h1 {
  font-size: clamp(46px, 5.05vw, 76px);
  line-height: 1.22;
  letter-spacing: -2.4px;
  font-weight: 550;
  margin: 28px 0 26px;
}
.hero-copy h1 > span {
  display: block;
}
.hero-copy h1 em {
  display: block;
  color: var(--accent-strong);
  font-style: normal;
  font-size: 1.24em;
  line-height: 1.12;
  margin-top: 6px;
}
.hero-lead {
  font-size: clamp(25px, 2.05vw, 30px);
  line-height: 1.5;
  margin: 0 0 14px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.hero-lead > span {
  display: inline-block;
}
.hero-lead strong {
  color: var(--accent-strong);
  font-weight: 650;
}
.hero-description {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 560px;
  margin: 0;
}
.hero-copy .buttons {
  gap: 28px;
  align-items: center;
  margin: 32px 0 14px;
}
.hero-copy .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  min-height: 56px;
  min-width: 228px;
}
.hero-copy .copy-icon {
  flex-shrink: 0;
}
.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 15px;
  text-decoration: none;
}
.hero-secondary span {
  color: var(--muted);
}
.hero-secondary:hover {
  color: var(--accent-strong);
}
.hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--subtle);
  margin: 0;
}
.hero-note a {
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
}
.hero-note a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-baseline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 26px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-how {
  display: flex;
  flex: 1;
  max-width: 680px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-how li {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  font-size: 15px;
  white-space: nowrap;
}
.hero-how b {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
}
.hero-how li:not(:last-child)::after {
  content: "→";
  color: var(--subtle);
  margin: 0 auto;
  padding: 0 18px 0 6px;
}
.hero-baseline > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.hero-baseline > p span {
  color: var(--subtle);
}
.hero-result {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  min-width: 0;
  padding-top: 56px;
  scroll-margin-top: 24px;
}
.experience-intro {
  padding: 8px 0 0 12px;
}
.experience-intro .section-kicker {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}
.experience-intro h2 {
  font-size: 34px;
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -1px;
  margin: 0;
}
.experience-intro h2 span {
  color: var(--subtle);
}
.demo-context {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.request-label,
.request-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--subtle);
}
.request-label > span:first-child {
  color: var(--muted);
}
.demo-context > p {
  font-size: 16px;
  line-height: 1.8;
  margin: 12px 0 16px;
  color: var(--muted);
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 4px 0;
  font-size: 14px;
  cursor: pointer;
}
.text-button:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero-result .lab-fit {
  box-shadow: 0 20px 70px var(--shadow);
}
.hero-result .play-section {
  min-width: 0;
  margin: 0;
  padding: 0;
}
.hero-result .lab-intro {
  display: none;
}
.hero-result .demo-switch {
  max-width: none;
  margin: 0 0 16px;
  padding: 0;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.hero-result .demo-switch button {
  padding: 12px;
  border: 0;
  border-radius: 6px;
  text-align: center;
}
.hero-result .demo-switch button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  box-shadow: none;
}
.hero-result .demo-switch strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
}
.hero-result .demo-switch strong::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
}
.hero-result .demo-switch button[aria-pressed="true"] strong::before {
  opacity: 1;
}
.hero-result .demo-switch small {
  display: none;
}
.hero-result .lab-caption {
  gap: 12px;
  margin: 0;
  padding: 18px 0;
}
.hero-result .lab-caption-title {
  display: none;
}
.hero-result .lab-caption-description {
  font-size: 14px;
  line-height: 1.7;
}
.hero-result .lab-example-link {
  font-size: 14px;
}
.hero-result .demo-foot {
  gap: 12px;
  padding-top: 14px;
  font-size: 12px;
}
@media (max-width: 1279px) {
  .hero-result {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .experience-intro {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    align-items: center;
    gap: 40px;
    padding: 0 6px;
  }
  .demo-context {
    margin: 0;
    padding: 0;
    border: 0;
  }
}

@media (max-width: 1100px) {
  #brand-canvas {
    width: 92%;
    right: -24%;
    opacity: 0.75;
  }
  .hero-baseline {
    gap: 24px;
  }
  .hero-how li {
    font-size: 13px;
    gap: 8px;
  }
  .hero-how li:not(:last-child)::after {
    padding: 0 10px 0 4px;
  }
  .hero-baseline > p {
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .hero-stage {
    margin: 0 -14px;
    padding: 0 14px;
  }
  #brand-canvas {
    width: 120%;
    height: 540px;
    top: -90px;
    right: -58%;
    opacity: 0.36;
    transform: rotate(-32deg);
  }
  .hero-copy {
    padding: 42px 6px 38px;
  }
  .hero-copy h1 {
    font-size: clamp(32px, 6.6vw, 50px);
    letter-spacing: -1.4px;
    margin-top: 24px;
  }
  .hero-copy .eyebrow {
    font-size: 11px;
    gap: 10px;
  }
  .hero-lead {
    font-size: 23px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-description .wide-only {
    display: none;
  }
  .hero-copy .buttons {
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero-copy .button {
    min-width: 205px;
    padding: 14px 16px;
    font-size: 14px;
  }
  .hero-secondary {
    font-size: 14px;
  }
  .hero-baseline {
    display: block;
    padding: 24px 6px;
  }
  .hero-how {
    max-width: 540px;
  }
  .hero-how li {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    font-size: 12px;
  }
  .hero-how li:not(:last-child)::after {
    display: none;
  }
  .hero-baseline > p {
    margin-top: 22px;
    font-size: 12px;
  }
  .hero-baseline > p br {
    display: none;
  }
  .hero-baseline > p span {
    display: block;
  }
  .hero-result {
    padding-top: 42px;
    gap: 24px;
  }
  .experience-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 6px;
  }
  .experience-intro .section-kicker {
    margin-bottom: 10px;
  }
  .experience-intro h2 {
    font-size: 28px;
  }
  .experience-intro h2 br {
    display: initial;
  }
  .hero-result .demo-switch button {
    padding: 12px 4px;
  }
  .hero-result .demo-switch {
    gap: 4px;
  }
  .hero-result .demo-switch strong {
    font-size: 14px;
    gap: 5px;
  }
}

.home-header {
  gap: 36px;
}

.home-header nav {
  gap: 24px;
}
.home-header nav .nav-start {
  color: var(--accent);
}

.section-kicker {
  font-size: 12px;
}
.migration-section {
  padding: 86px 12px;
  scroll-margin-top: 24px;
}

.migration-intro h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.4;
  font-weight: 550;
  letter-spacing: -1.2px;
  margin: 0;
}
.migration-intro h2 span {
  color: var(--subtle);
}
.migration-intro > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.text-link {
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
}

.migration-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px 84px;
  padding-top: 20px;
}
.migration-intro > p:not(.section-kicker) {
  margin: 22px 0;
}
.migration-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.migration-steps > li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.migration-steps > li:first-child {
  padding-top: 0;
  border: 0;
}
.step-number {
  display: grid;
  place-items: center;
  height: 30px;
  width: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 14px;
}
.migration-steps h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}
.migration-steps p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin: 10px 0 16px;
}
.migration-source-note {
  grid-column: 1/-1;
  color: var(--muted);
  background: var(--ground);
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.9;
  margin: -30px 0 0;
}
.migration-source-note strong {
  color: var(--ink);
  font-weight: 500;
}
.migration-source-note a {
  color: var(--accent);
  white-space: nowrap;
  margin-left: 8px;
  text-decoration: none;
}

.home-hero .lab-caption-description {
  display: block;
  line-height: 1.8;
  margin-top: 5px;
}
@media (max-width: 1200px) {
  .home-header {
    gap: 24px;
  }

  .home-header nav {
    gap: 18px;
  }
  .home-header .home-search {
    display: none;
  }

  .migration-section {
    gap: 40px;
  }
}
@media (max-width: 860px) {
  .migration-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .migration-section {
    padding: 52px 6px;
  }

  .migration-source-note {
    margin: 0;
  }

  .home-header nav {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }

  .home-header {
    flex-wrap: wrap;
  }
  .home-header .home-controls {
    order: 1;
    margin-left: auto;
  }
  .home-header nav {
    order: 2;
  }
}
@media (max-width: 480px) {
  .home-header nav a {
    font-size: 12px;
  }
  .hero-copy h1 {
    letter-spacing: -1px;
  }
  .home-environment dl > div {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
  }
  .migration-steps > li {
    gap: 12px;
  }
}

.start-section-early {
  border-top: 0;
  border-bottom: 1px solid var(--line);
  padding: 32px 12px 12px;
}
.start-section-early .section-kicker {
  margin-bottom: 10px;
}
.start-section-early h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
}
.start-section-early .start-routes {
  margin-top: 24px;
  gap: 12px 38px;
}
.start-section-early .start-routes a {
  padding: 16px 0;
}
.start-section-early .start-routes h3 {
  margin-top: 8px;
}
.start-section-early .start-routes p {
  margin: 10px 0;
}
.experience-stage {
  min-width: 0;
}
.experience-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.experience-toolbar button {
  font-size: 13px;
}
.experience-stage:not(.show-lab-detail) .lab-chrome,
.experience-stage:not(.show-lab-detail) .lab-viewbar,
.experience-stage:not(.show-lab-detail) .lab-sidebar,
.experience-stage:not(.show-lab-detail) .lab-left-tools,
.experience-stage:not(.show-lab-detail) .lab-navigation {
  display: none;
}
.mobile-demo-note {
  display: none;
}
.hero-result {
  padding: 60px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-result .lab-caption {
  display: block;
}
.hero-result .lab-caption p {
  margin: 0 0 12px;
}
.hero-result .demo-foot {
  display: none;
}
.hero-result .demo-switch button[aria-pressed="true"] {
  background: var(--ground);
}
.hero-result .lab-fit {
  box-shadow: none;
}
@media (min-width: 1280px) {
  .hero-copy {
    max-width: 780px;
    padding-top: 72px;
    padding-bottom: 60px;
  }
  #brand-canvas {
    right: -6%;
    width: 76%;
  }
}
@media (max-width: 767px) {
  .hero-result {
    padding: 40px 6px;
  }
  .mobile-demo-note {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-top: 14px;
  }
}

.experience-anchor {
  position: absolute;
  top: 0;
}
.hero-result {
  position: relative;
}
.demo-context > .text-link {
  display: inline-block;
  margin-top: 14px;
}

.experience-intro .lab-caption {
  margin-top: 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  font-size: 13px;
  line-height: 1.8;
}
.experience-intro .lab-example-link {
  white-space: normal;
  display: inline-block;
  margin-top: 4px;
}

.home-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .home-header {
    column-gap: 10px;
  }
  .home-header .brand {
    font-size: 14px;
  }
  .home-controls {
    gap: 6px;
  }
}
html[lang="en"] .hero-how li {
  min-width: 0;
  white-space: normal;
}

/* The migration path and examples make the framework's scope concrete. */
.migration-section { padding-top: 72px; }
.web-stack { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.web-stack span { border: 1px solid var(--line); padding: 6px 10px; border-radius: 5px; font-size: 12px; color: var(--muted); }
.demo-context .demo-context-note { font-size: 12px; color: var(--subtle); line-height: 1.8; }
.extension-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: -38px 24px 0; }
.extension-cases > a { display: flex; flex-direction: column; padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; }
.extension-cases > a:hover h3 { color: var(--accent-strong); }
.extension-cases span { font-size: 11px; letter-spacing: 1px; color: var(--subtle); }
.extension-cases h3 { font-size: 20px; font-weight: 500; margin: 18px 0 0; }
.extension-cases p { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 12px 0 22px; }
.extension-cases small { color: var(--accent-strong); font-size: 12px; margin-top: auto; }
.extension-note { margin: 0 24px 68px; }
@media (max-width: 760px) {
  .extension-cases { grid-template-columns: 1fr; gap: 0; margin: 0 6px; }
  .extension-note { margin: 0 6px 44px; }
  .migration-section { padding-top: 44px; }
}
