[data-preview] {
  --bg: light-dark(#fbfdff, #101820);
  --bg-elevated: light-dark(#fff, #19242e);
  --bg-subtle: light-dark(#f0f7fa, #202e3a);
  --text-primary: light-dark(#102031, #f0f4fa);
  --text-secondary: light-dark(#45576b, #c7d2df);
}
[data-preview] [class*="hero__"]::before {
  background: radial-gradient(ellipse at 29% 28%, rgb(144 194 243 / .13), transparent 52%),
    radial-gradient(ellipse at 75% 38%, rgb(152 196 214 / .18), transparent 50%),
    radial-gradient(ellipse at 76% 77%, rgb(189 216 235 / .13), transparent 59%);
}
[data-preview] [class*="launchHero"] {
  background: linear-gradient(145deg, var(--panel) 26%, var(--bg-subtle));
  box-shadow: 0 24px 66px -38px var(--forest), inset 0 1px var(--panel);
}
[data-preview] [class*="launchHero"] [class*="launchWordmark"] {
  position: relative;
  color: var(--ink);
}
[data-preview] .wordmark-light {
  position: absolute;
  inset: 0;
  color: transparent;
  background: linear-gradient(107deg, var(--accent) 0%, light-dark(#397782, #a0deed) 50%, var(--accent) 100%);
  background-clip: text;
  pointer-events: none;
  opacity: .33;
}
[data-preview] .app-gallery {
  width: var(--length);
  margin: 0 auto;
  padding: clamp(3.5rem, 10vh, 8rem) 0;
}
[data-preview] .app-gallery h2 { max-width: 21ch; margin-bottom: 1.35rem; }
.app-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(1rem, 3vw, 2rem);
}
[data-preview] .app-gallery figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(1rem, 2vw, 1.65rem);
  background: var(--panel);
  box-shadow: 0 14px 44px -26px rgb(40 76 107 / .28);
}
.app-gallery figure:first-child { grid-column: 1 / -1; }
.app-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 64 / 45; object-fit: cover; }
.app-gallery figure:first-child img { aspect-ratio: 2 / 1; object-position: center top; }
.app-gallery figcaption { padding: .95rem 1.15rem; color: var(--ink); font-size: 1rem; font-weight: 650; }
@media (max-width: 650px) {
  .app-gallery-grid { grid-template-columns: minmax(0,1fr); }
  .app-gallery figure:first-child img { aspect-ratio: 64 / 45; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-sunrise-launch] .wordmark-light { animation: wordmark-dawn 5.6s ease-in-out infinite; }
  [data-sunrise-launch] svg g path {
    transform-origin: center;
    transform-box: fill-box;
    animation: sunrise-rays 5.6s ease-in-out infinite;
  }
  [data-sunrise-launch][data-motion-paused] .wordmark-light,
  [data-sunrise-launch][data-motion-paused] svg g path { animation: none; }
  .app-gallery figure { transition: transform 340ms var(--ease-out, ease-out); }
  .app-gallery figure:hover { transform: translateY(-4px); }
}
@keyframes wordmark-dawn {
  0%,100% { opacity: .13; }
  51% { opacity: .72; }
}
@keyframes sunrise-rays {
  0%,100% { opacity: .72; transform: scale(.94); }
  51% { opacity: 1; transform: scale(1.07); }
}
