/* The landing hero's example tiles and the network colours around them. Champagne stays the accent for actions; the
   three network colours (Solana, Ethereum, Base) are decoration here, never a gain or loss signal. */
:root { --sol-green: #14f195; --sol-violet: #9945ff; --eth: #8c8dfc; --base: #3b7bff; }

body {
  background:
    radial-gradient(700px 420px at 82% 8%, rgba(153, 69, 255, .13), transparent 70%),
    radial-gradient(620px 380px at 96% 46%, rgba(59, 123, 255, .10), transparent 70%),
    radial-gradient(520px 340px at 58% 30%, rgba(20, 241, 149, .07), transparent 70%),
    radial-gradient(1000px 520px at 50% -12%, rgba(212, 189, 138, .07), transparent 70%), var(--bg);
}

.hero h1 em.spectrum {
  font-style: normal; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(100deg, var(--gold-ink) 0%, var(--sol-green) 28%, var(--eth) 52%, var(--sol-violet) 72%, var(--gold-ink) 100%);
  background-size: 220% 100%; animation: spectrum-drift 9s ease-in-out infinite alternate;
}
@keyframes spectrum-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.hero { overflow-x: clip; }
/* The example in tiles, as the app draws holdings: the picture, its view switch and pause, and a note on what was tapped. */
.hero-tiles { margin: 0; width: 100%; max-width: 560px; justify-self: center; display: grid; gap: 12px; }
.hero-tiles-stage { position: relative; height: clamp(340px, 32vw, 420px); }
.hero-tiles-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.hero-tiles-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.hero-tiles:not([data-ready]) .hero-tiles-controls { visibility: hidden; }
.hero-modes { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(12, 16, 21, .72); }
.hero-modes button { min-width: 64px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: 600 12px/1 var(--font); letter-spacing: .04em; cursor: pointer; }
.hero-modes button:hover { color: var(--text); }
.hero-modes button[aria-pressed="true"] { background: var(--gold-wash); color: var(--gold-ink); box-shadow: inset 0 0 0 1px var(--gold-line); }
.hero-pause { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text-2); cursor: pointer; }
.hero-pause:hover { color: var(--text); border-color: var(--gold-line); }
.hero-pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-pause .icon-play, .hero-pause[data-paused] .icon-pause { display: none; }
.hero-pause[data-paused] .icon-play { display: block; }
.hero-tiles figcaption { display: grid; justify-items: center; gap: 6px; text-align: center; }
.hero-tiles-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero-tiles-note { margin: 0; max-width: 46ch; min-height: 3.2em; font-size: 13px; line-height: 1.6; color: var(--text-2); }
.hero-tiles-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.example-section { padding-block: 0 clamp(56px, 8vw, 96px); }
.example-section .purpose-preview { max-width: 560px; margin-inline: auto; }

@media (max-width: 860px) {
  .hero-tiles { order: -1; max-width: 520px; }
  .hero-tiles-stage { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 em.spectrum { animation: none; }
}
