/* Noto Sans CJK SC / SIL OFL: extend the existing subset for the navigation label. */
@font-face {
  font-family: WarmSans;
  src: url('./nav-sc-400.otf') format('opentype');
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+9A8C;
}
/* Fullscreen scenes share one persistent background and fade with native scrolling. */
html[data-theme='mint'] {
  --palette-accent: #6f9fc8;
  --palette-sand: #d8cbb2;
  --palette-linen: #e6e2da;
  --palette-brand: #6f9fc8;
  --palette-secondary: #d8cbb2;
  --palette-ink: #3f5f86;
  --palette-emphasis: #6f9fc8;
  --palette-card: #f7f5f1;
  --paper: #f2efe9;
  --ink: #2f4359;
  --muted: #586773;
  --deep-coral: #3f5f86;
  --line: #cfc9c3;
}
html[data-theme='mint'] .scene-backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--palette-linen);
  opacity: var(--collage-opacity, 1);
}
html[data-theme='mint'] .scene-wordmark,
html[data-theme='mint'] .scene-headline {
  color: var(--palette-ink);
}
.immersive-home {
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}
.scene-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--paper);
}
.scene-backdrop canvas,
.scene-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scene-collage,
.scene-fallback {
  opacity: var(--collage-opacity, 1);
}
.scene-closing-art {
  opacity: var(--ending-opacity, 0);
}
.scene-drawn .scene-fallback {
  display: none;
}
.scene-ascii {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  white-space: pre;
  font:
    18px/18px ui-monospace,
    monospace;
  letter-spacing: 6px;
  color: var(--muted);
  opacity: 0.38;
  user-select: none;
}
.scene-ascii:empty {
  background: radial-gradient(circle, #577c9133 0.7px, transparent 1px) 0 0/20px
    20px;
}
.scene-registration {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.scene-registration i {
  position: absolute;
  width: 16px;
  height: 16px;
  color: var(--muted);
  opacity: 0.35;
}
.scene-registration i::before,
.scene-registration i::after {
  content: '';
  position: absolute;
  background: currentColor;
}
.scene-registration i::before {
  width: 16px;
  height: 1px;
  top: 7px;
}
.scene-registration i::after {
  width: 1px;
  height: 16px;
  left: 7px;
}
.scene-registration i:nth-child(1) {
  left: 40px;
  top: 40px;
}
.scene-registration i:nth-child(2) {
  left: calc(50% - 8px);
  top: 40px;
}
.scene-registration i:nth-child(3) {
  right: 40px;
  top: 40px;
}
.scene-registration i:nth-child(4) {
  left: 40px;
  bottom: 40px;
}
.scene-registration i:nth-child(5) {
  left: calc(50% - 8px);
  bottom: 40px;
}
.scene-registration i:nth-child(6) {
  right: 40px;
  bottom: 40px;
}
.scene-header {
  position: fixed;
  inset: 24px 24px auto;
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.scene-home {
  pointer-events: auto;
  font-size: 12px;
  letter-spacing: 0.06em;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  border-radius: 4px;
  padding: 6px 8px;
  margin-left: 43px;
}
.scene-home span {
  margin-left: 7px;
  font-size: 10px;
}
.scene-menu {
  position: relative;
  pointer-events: auto;
}
.scene-menu > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
}
.scene-menu > summary::-webkit-details-marker {
  display: none;
}
.scene-menu .brand-mark {
  width: 21px;
  height: 27px;
  fill: currentColor;
}
.scene-menu-panel {
  position: absolute;
  right: 0;
  top: 55px;
  width: 270px;
  padding: 22px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 40px #20374415;
}
.scene-menu .navigation {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  gap: 4px;
  font-size: 14px;
}
.scene-menu .navigation a {
  padding: 7px 0;
  min-height: 44px;
}
.scene-menu .navigation a[aria-current]::after {
  display: none;
}
.scene-menu .header-actions {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  justify-content: space-between;
}
.scene-menu .header-signin {
  padding: 0;
  border: 0;
  margin: 0;
  min-height: 36px;
}
.scene-menu .theme-options {
  right: auto;
  left: 0;
}
.immersive-home main {
  position: relative;
  z-index: 1;
}
.scene-intro {
  height: 100svh;
  min-height: 360px;
  display: grid;
  place-items: center;
  position: relative;
}
.scene-intro-content {
  width: 65%;
  max-width: 1400px;
  text-align: center;
}
.scene-intro h1 {
  max-width: none;
  width: 100%;
  margin: 0;
  font-size: inherit;
  line-height: 1;
}
.scene-wordmark {
  display: block;
  width: 100%;
  height: auto;
  fill: var(--ink);
  overflow: visible;
}
.scene-wordmark circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: dot-arrive 1s both;
}
.scene-wordmark circle:nth-child(3n) {
  animation-delay: 0.1s;
}
.scene-wordmark circle:nth-child(5n) {
  animation-delay: 0.2s;
}
.scene-wordmark circle:nth-child(7n) {
  animation-delay: 0.3s;
}
.scene-brand-cn {
  display: block;
  color: var(--ink);
  font:
    400 15px/1.5 WarmSans,
    sans-serif;
  letter-spacing: 0.5em;
  margin: 30px 0 0 0.5em;
}
.scene-scroll {
  position: absolute;
  bottom: 30px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 10px;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
}
.scene-scroll span {
  font-size: 18px;
}
.scene-section {
  min-height: 145svh;
  padding: 14svh 24px 18svh;
  position: relative;
  scroll-margin-top: 50px;
}
.scene-content {
  width: 100%;
  max-width: 1152px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(56px, 10svh, 110px);
}
.scene-headline {
  margin: 0;
  font:
    700 clamp(38px, 4.5vw, 68px)/1.55 WarmSans,
    sans-serif;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--ink);
}
@supports (-webkit-background-clip: text) {
  .scene-headline {
    background: radial-gradient(circle, var(--ink) 1.15px, transparent 1.4px) 0
      0/3.4px 3.4px;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.scene-panel {
  width: min(100%, 448px);
  padding: 27px 24px 18px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--paper) 10%, white);
  color: var(--ink);
}
.scene-panel > p {
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.9;
}
.scene-panel-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font:
    9px/1.5 ui-monospace,
    monospace;
}
.scene-panel-label i {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.scene-links {
  display: flex;
  flex-direction: column;
}
.scene-links > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 14px 0;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.scene-links small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.scene-links .icon,
.scene-steps .icon {
  width: 17px;
  height: 17px;
}
.scene-links a:hover,
.scene-steps a:hover {
  color: var(--deep-coral);
}
.scene-links a .icon,
.scene-steps a .icon {
  transition: transform 0.2s;
}
.scene-links a:is(:hover, :focus-visible) .icon,
.scene-steps a:is(:hover, :focus-visible) .icon {
  transform: translate(2px, -2px);
}
.scene-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.scene-steps a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.scene-steps li:first-child a {
  padding-top: 0;
}
.scene-steps a > span {
  font:
    11px ui-monospace,
    monospace;
  color: var(--muted);
}
.scene-steps a > div {
  flex: 1;
}
.scene-steps h3 {
  font-size: 14px;
  margin: 0 0 7px;
  font-weight: 400;
}
.scene-steps p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.scene-panel .scene-fine-print {
  font-size: 10px;
  color: var(--muted);
  margin: 20px 0 0;
}
.scene-panel .faq {
  margin: 20px 0 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.scene-panel .faq summary {
  padding: 18px 0 0;
  font-size: 12px;
  line-height: 1.7;
  gap: 16px;
}
.scene-panel .faq > p {
  padding: 14px 0 0;
  font-size: 12px;
}
.scene-ending {
  min-height: 100svh;
  padding: 96px 24px;
  display: flex;
  align-items: center;
}
.scene-ending .scene-content {
  gap: 36px;
  align-items: center;
  text-align: center;
}
.scene-ending .scene-headline {
  width: fit-content;
  margin-inline: auto;
  letter-spacing: 0;
  text-align: center;
}
.scene-ending .scene-headline > span {
  display: block;
}
.scene-ending .text-link .icon {
  position: absolute;
  right: 18px;
}
.scene-ending .text-link .action-label {
  display: block;
  text-align: center;
}
.scene-ending .text-link {
  position: relative;
  display: inline-flex;
  justify-content: center;
  padding: 14px 44px;
  background: var(--paper);
  border-radius: 30px;
  color: var(--ink);
}
.scene-cta {
  position: fixed;
  z-index: 10;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 40px;
  background: var(--ink);
  color: var(--paper);
  padding: 0 22px;
  min-height: 48px;
  gap: 22px;
  font-size: 12px;
  box-shadow: none;
}
.scene-cta:is(:hover, :focus-visible) {
  transform: translateX(-50%);
  background: var(--deep-coral);
}
.scene-cta .icon {
  width: 17px;
  height: 17px;
}
.scene-enhanced .scene-cta {
  opacity: var(--cta-opacity, 0);
  visibility: var(--cta-visibility, hidden);
}
.scene-enhanced .scene-cta:focus-visible {
  opacity: 1;
  visibility: visible;
}
.scene-enhanced .scene-scroll {
  opacity: var(--scroll-opacity, 1);
}
.scene-enhanced .scene-intro-content,
.scene-enhanced .scene-content {
  opacity: var(--content-opacity, 1);
  transform: translateY(var(--content-shift, 0px));
}
.scene-content:focus-within {
  opacity: 1 !important;
}
.immersive-home .footer {
  position: relative;
  z-index: 2;
}
html[data-theme='ocean'] .scene-panel {
  background: #1b2a4a;
}
html[data-theme='ocean'] .scene-backdrop canvas,
html[data-theme='ocean'] .scene-fallback {
  filter: brightness(0.45) saturate(0.7);
}
html[data-theme='beige'] .scene-backdrop canvas,
html[data-theme='beige'] .scene-fallback {
  filter: grayscale(1) sepia(0.2);
}
html[data-theme='vermilion'] .scene-backdrop canvas,
html[data-theme='vermilion'] .scene-fallback {
  filter: hue-rotate(140deg) saturate(0.7);
}
html[data-theme='warm'] .scene-backdrop canvas,
html[data-theme='warm'] .scene-fallback {
  filter: hue-rotate(155deg) saturate(0.7);
}
@keyframes dot-arrive {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (min-width: 1800px) {
  .scene-headline {
    font-size: 78px;
  }
}
@media (max-width: 800px) {
  .scene-header {
    inset: 16px 16px auto;
  }
  .scene-home {
    margin-left: 0;
    margin-top: 8px;
  }
  .scene-registration i:nth-child(-n + 3) {
    top: 29px;
  }
  .scene-registration i:nth-child(n + 4) {
    bottom: 25px;
  }
  .scene-registration i:nth-child(1),
  .scene-registration i:nth-child(4) {
    left: 20px;
  }
  .scene-registration i:nth-child(3),
  .scene-registration i:nth-child(6) {
    right: 20px;
  }
  .scene-registration i:nth-child(1) {
    display: none;
  }
  .scene-intro-content {
    width: 87%;
  }
  .scene-brand-cn {
    font-size: 12px;
    margin-top: 22px;
  }
  .scene-headline {
    font-size: clamp(28px, 6.6vw, 44px);
  }
  .scene-section {
    min-height: 130svh;
    padding: 14svh 24px;
  }
  .scene-content {
    gap: 70px;
  }
  .scene-panel {
    padding: 24px 20px 18px;
  }
  .scene-panel > p {
    font-size: 14px;
  }
  .scene-menu .navigation {
    width: auto;
  }
  .scene-scroll {
    left: 16px;
    gap: 8px;
    padding-inline: 0;
    bottom: 22px;
  }
  .scene-cta {
    bottom: 18px;
    min-height: 44px;
  }
}
@media (max-width: 480px) {
  .scene-ascii {
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 4px;
  }
  .scene-headline {
    background-size: 2.6px 2.6px;
  }
  .scene-panel {
    border-radius: 12px;
  }
  .scene-links > a {
    font-size: 13px;
  }
  .scene-panel-label {
    margin-top: 30px;
  }
  .scene-menu-panel {
    width: min(270px, calc(100vw - 32px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene-wordmark circle {
    animation: none;
  }
  .scene-enhanced .scene-content,
  .scene-enhanced .scene-intro-content {
    transform: none;
    opacity: 1;
  }
  .scene-ascii {
    opacity: 0.22;
  }
  :root {
    scroll-behavior: auto;
  }
}

/* Code-drawn brand mark and live typography stay sharp at every scale. */
.scene-home {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: var(--ink);
}
.scene-home span {
  margin: 0;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
}
.brand-cube {
  display: block;
  width: 52px;
  height: 57px;
  flex: none;
  fill: none;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding-left: 14px;
  border-left: 1px solid currentColor;
}
.scene-home .brand-copy strong,
.footer-brand .brand-copy strong {
  font:
    700 24px/1.2 WarmSans,
    sans-serif;
  letter-spacing: 0.06em;
}
.scene-home .brand-copy small,
.footer-brand .brand-copy small {
  margin: 0;
  font:
    600 13px/1.2 Arial,
    sans-serif;
  letter-spacing: 0.055em;
  color: inherit;
}
.scene-menu > summary {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
}
.scene-menu .brand-mark {
  display: block;
  width: 31px;
  height: 34px;
  fill: none;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-brand .footer-tagline {
  font-size: 12px;
  letter-spacing: 0.04em;
}
html[data-theme='mint'] .scene-panel {
  background: var(--palette-linen);
}
html[data-theme='mint'] .scene-panel-label i {
  background: var(--palette-accent);
  border-color: var(--palette-accent);
}
html[data-theme='mint'] .scene-links > a > .icon {
  color: var(--palette-accent);
}
html[data-theme='mint'] .scene-menu-panel {
  border-top: 3px solid var(--palette-brand);
}
html[data-theme='mint'] .scene-cta {
  background: var(--palette-ink);
  color: var(--palette-linen);
}
html[data-theme='mint'] .scene-cta:is(:hover, :focus-visible) {
  background: var(--palette-emphasis);
  color: #20344d;
}
html[data-theme='mint'] .scene-ending .text-link {
  background: var(--palette-card);
  color: var(--ink);
  border: 1px solid var(--line);
}
html[data-theme='mint'] .scene-ending .scene-headline {
  color: var(--ink);
}
html[data-theme='mint'] .footer {
  background: var(--palette-ink);
  color: var(--palette-linen);
}
html[data-theme='mint'] .footer-top > div > p {
  color: var(--palette-sand);
}
html[data-theme='mint'] .footer-top > div > a,
html[data-theme='mint'] .footer-bottom,
html[data-theme='mint'] .footer-brand .footer-tagline {
  color: var(--palette-linen);
}
html[data-theme='mint'] .footer-top > div > a:hover {
  color: var(--palette-secondary);
}
@media (max-width: 800px) {
  .scene-home {
    margin: 0;
  }
  .scene-home .brand-lockup {
    gap: 10px;
  }
  .scene-home .brand-cube {
    width: 39px;
    height: 43px;
  }
  .scene-home .brand-copy {
    padding-left: 10px;
    gap: 4px;
  }
  .scene-home .brand-copy strong {
    font-size: 20px;
  }
  .scene-home .brand-copy small {
    font-size: 11px;
  }
}

/* Compact wordmark and direct links reuse the existing native navigation. */
.scene-header {
  align-items: center;
}
.scene-home .brand-copy {
  border: 0;
  padding: 0;
  gap: 3px;
}
.scene-home .brand-copy strong {
  font-size: 19px;
}
.scene-home .brand-copy small {
  font-size: 10px;
}
.scene-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  pointer-events: auto;
}
.scene-shortcuts {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  font-size: 14px;
  color: var(--ink);
}
.scene-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-shadow:
    0 0 12px var(--paper),
    0 0 4px var(--paper);
}
.scene-shortcuts a:hover {
  color: var(--deep-coral);
}

/* Wide API rows and four independent step cards replace the narrow column. */
.scene-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 96px 48px;
  scroll-margin-top: 0;
}
.scene-section .scene-content {
  align-items: stretch;
  gap: 32px;
}
.scene-section .scene-headline {
  background: none;
  color: var(--ink);
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.4;
  letter-spacing: -0.025em;
  text-align: left;
}
#capabilities .scene-headline br {
  display: none;
}
.scene-section .scene-panel {
  width: 100%;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 85%, white);
}
html[data-theme='mint'] .scene-section .scene-panel {
  background: var(--palette-card);
}
.scene-panel > .scene-headline + p {
  margin: 18px 0 36px;
  color: var(--muted);
  font-size: 16px;
}
#capabilities .scene-links > a {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.5fr) 24px;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  padding: 22px 0;
  font-size: clamp(18px, 1.7vw, 23px);
  border-color: color-mix(in srgb, var(--ink) 16%, transparent);
}
#capabilities .scene-links > a:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
}
#capabilities .scene-links > a > span {
  font-weight: 600;
}
#capabilities .scene-links small {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}
#capabilities .scene-links .icon {
  width: 21px;
  height: 21px;
}
.scene-section .scene-panel-label {
  margin-top: 28px;
}
#quickstart .scene-panel {
  padding: 0;
  background: none;
  border: 0;
}
.scene-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.scene-steps li {
  min-width: 0;
}
.scene-steps a,
.scene-steps li:first-child a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
  min-height: 290px;
  padding: 26px 24px;
  gap: 36px;
  border: 1px solid color-mix(in srgb, var(--ink) 24%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 85%, white);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
html[data-theme='mint'] .scene-steps a {
  background: var(--palette-linen);
}
html[data-theme='mint'] .scene-steps a > span {
  color: var(--palette-ink);
}
.scene-steps a:hover {
  border-color: var(--deep-coral);
  transform: translateY(-4px);
}
.scene-steps a > span {
  font:
    500 64px/1 Arial,
    sans-serif;
  letter-spacing: -0.06em;
  color: color-mix(in srgb, var(--ink) 32%, var(--paper));
}
.scene-steps a > div {
  flex: none;
  text-align: right;
}
.scene-steps h3 {
  font-size: 19px;
  font-weight: 700;
  /* Reserve two title lines plus the divider, even when only one line is used. */
  min-height: calc(3em + 19px);
  margin: 0 0 12px;
  line-height: 1.5;
}
.scene-steps h3::before {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  margin: 0 0 18px auto;
  background: var(--line);
}
.scene-steps p {
  font-size: 13px;
  line-height: 1.8;
  min-height: 3.6em;
}
.scene-steps a > .icon {
  position: absolute;
  right: 24px;
  top: 28px;
  color: var(--muted);
}
@media (max-width: 959px) {
  .scene-section {
    padding-inline: 32px;
  }
  .scene-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scene-steps a,
  .scene-steps li:first-child a {
    min-height: 260px;
  }
  .scene-header-actions {
    gap: 14px;
  }
  .scene-shortcuts {
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .scene-header {
    inset: 12px 16px auto;
  }
  .scene-home .brand-copy strong {
    font-size: 17px;
  }
  .scene-home .brand-copy small {
    font-size: 9px;
  }
  .scene-header-actions {
    gap: 8px;
  }
  .scene-shortcuts {
    font-size: 12px;
    gap: 12px;
  }
  .scene-menu > summary {
    width: 32px;
  }
  .scene-menu .brand-mark {
    width: 24px;
    height: 27px;
  }
  .scene-section {
    padding: 96px 24px 112px;
    scroll-margin-top: 0;
  }
  .scene-section .scene-panel {
    padding: 26px 22px;
  }
  .scene-section .scene-headline {
    font-size: 28px;
  }
  #capabilities .scene-headline br {
    display: initial;
  }
  .scene-panel > .scene-headline + p {
    font-size: 14px;
    margin: 18px 0 28px;
  }
  #capabilities .scene-links > a {
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 10px 16px;
    padding: 22px 0;
    min-height: 104px;
    font-size: 18px;
  }
  #capabilities .scene-links small {
    grid-column: 1;
    font-size: 13px;
  }
  #capabilities .scene-links .icon {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .scene-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .scene-steps a,
  .scene-steps li:first-child a {
    min-height: 230px;
    gap: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene-steps a:hover {
    transform: none;
  }
}

/* Short desktop windows still get a complete section between fixed controls. */
@media (min-width: 960px) and (max-height: 760px) {
  .scene-section .scene-content {
    gap: 24px;
  }
  .scene-section .scene-headline {
    font-size: 30px;
  }
  .scene-section .scene-panel {
    padding: 24px 32px;
  }
  .scene-panel > .scene-headline + p {
    margin: 12px 0 20px;
    font-size: 14px;
    line-height: 1.7;
  }
  #capabilities .scene-links > a {
    min-height: 64px;
    padding-block: 16px;
    font-size: 18px;
  }
  .scene-section .scene-panel-label {
    margin-top: 18px;
  }
  .scene-steps a,
  .scene-steps li:first-child a {
    min-height: 260px;
    padding: 22px 20px;
    gap: 24px;
  }
}
