/* Symbolon landing: a short brand page. The breakdown lives in the app. */

/* ------------------------------------------------------------------ hero */

.hero { position: relative; isolation: isolate; padding: 112px 0 64px; min-height: min(940px, 100svh); display: grid; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -12vw; top: 50%; width: 82vw; max-width: 1100px; aspect-ratio: 1; transform: translateY(-50%); background: radial-gradient(closest-side, var(--gold-wash), transparent 70%); }
.hero-g { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.inscription { font: 400 15px/1 var(--greek); letter-spacing: 0.5em; color: var(--gold); margin-bottom: 26px; }
.hero h1 { font-size: clamp(42px, 5.4vw, 78px); }
.hero h1 span { display: block; color: var(--gold); }
.hero .lede { margin-top: 26px; max-width: 46ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.proof-row { display: flex; gap: 0; margin: 40px 0 0; flex-wrap: wrap; }
.proof-row > div { padding: 0 26px; border-left: 1px solid var(--line-strong); }
.proof-row > div:first-child { padding-left: 0; border-left: 0; }
.proof-row dt { font: 600 10px var(--sans); font-stretch: 118%; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.proof-row dd { margin: 8px 0 0; font: 600 28px/1 var(--display); font-stretch: 112%; letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.testnet { display: flex; align-items: center; gap: 10px; margin-top: 26px; font: 500 12.5px var(--sans); color: var(--muted); letter-spacing: 0.01em; }

.stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.stage .fallback { position: absolute; inset: 28%; width: 44%; height: 44%; display: none; z-index: 1; }
.stage.flat canvas { display: none; }
.stage.flat .fallback { display: block; }
/* the orbit: every listed coin gravitating around the symbolon */
.orbit-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orbit-ring path { fill: none; stroke-width: 1; }
.orbit-ring.back { z-index: 0; }
.orbit-ring.back path { stroke: var(--line-strong); }
.orbit-ring.front { z-index: 3; }
.orbit-ring.front path { stroke: color-mix(in srgb, var(--gold) 50%, transparent); }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 6px; pointer-events: auto; cursor: default; will-change: transform, opacity; outline: none; }
.orb img { width: 36px; height: 36px; border-radius: 50%; background: #f4f1ea; box-shadow: 0 0 0 1px var(--line-strong), 0 10px 24px -8px rgba(0, 0, 0, 0.6); }
.orb em { font: 600 9.5px var(--sans); font-style: normal; font-stretch: 118%; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.orb.far em { opacity: 0; }
.orb-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: pre; padding: 7px 10px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow); font: 600 11px var(--sans); color: var(--ink); opacity: 0; pointer-events: none; transition: opacity 150ms; }
.orb.on .orb-tip, .orb:focus-visible .orb-tip { opacity: 1; }
.orb.on img, .orb:focus-visible img { box-shadow: 0 0 0 2px var(--gold), 0 10px 24px -8px rgba(0, 0, 0, 0.6); }


@media (max-width: 960px) {
  .hero { padding: 92px 0 48px; min-height: 0; }
  .hero-g { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stage { order: -1; max-width: 440px; }
  .orb img { width: 30px; height: 30px; }
  .inscription { margin-bottom: 18px; }
}
@media (max-width: 520px) {
  .proof-row > div { padding: 0 16px; }
  .proof-row dd { font-size: 22px; }
  .orb img { width: 26px; height: 26px; }
  .orb em { display: none; }
}

/* ------------------------------------------------------------------ section heads */

.sec-h { display: flex; align-items: baseline; gap: 20px; margin-bottom: 40px; }
.sec-h .gk { font-size: 40px; line-height: 1; }

/* ------------------------------------------------------------------ two halves: three steps, one figure */

.halves { padding: 112px 0 0; }
.halves-g { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.halves-fig { display: grid; place-items: center; gap: 26px; padding: 36px 0; }
.halves-art { position: relative; width: min(300px, 72%); aspect-ratio: 1; }
.halves-art svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4)); }
.halves-art .hl, .halves-art .hr { transition: transform 900ms var(--ease), opacity 600ms; }
.halves-art .ring { position: absolute; inset: -12%; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold); opacity: 0; transform: scale(0.8); transition: opacity 600ms, transform 900ms var(--ease); }
.halves-fig[data-step="1"] .hl, .halves-fig[data-step="2"] .hl { transform: translateX(-3.2px); }
.halves-fig[data-step="1"] .hr, .halves-fig[data-step="2"] .hr { transform: translateX(3.2px); }
.halves-fig[data-step="1"] .hr { opacity: 0.22; }
.halves-fig[data-step="2"] .hl { opacity: 0.22; }
.halves-fig[data-step="3"] .ring { opacity: 1; transform: scale(1); }
.halves-cap { position: relative; height: 20px; width: 100%; text-align: center; font: 600 12.5px var(--sans); font-stretch: 112%; letter-spacing: 0.06em; color: var(--ink-2); }
.halves-cap span { position: absolute; inset: 0; opacity: 0; transform: translateY(6px); transition: opacity 400ms, transform 500ms var(--ease); }
.halves-fig[data-step="1"] .c1, .halves-fig[data-step="2"] .c2, .halves-fig[data-step="3"] .c3 { opacity: 1; transform: none; }
.halves-fig[data-step="3"] .c3 { color: var(--gold); }
.halves-steps { display: grid; align-content: start; }
.halves-steps > .lede { margin: 20px 0 30px; max-width: 46ch; }
.hstep { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 18px 0 18px 22px; border-left: 1px solid var(--line); cursor: pointer; transition: border-color 400ms, background-color 400ms; }
.hstep .gk { grid-row: span 2; font-size: 30px; line-height: 1; opacity: 0.35; transition: opacity 400ms; }
.hstep .h3 { font-size: 19px; }
.hstep p { color: var(--muted); font-size: 15px; max-width: 46ch; transition: color 400ms; }
.hstep:hover .gk { opacity: 0.7; }
.hstep.on { border-left-color: var(--gold); background: linear-gradient(90deg, var(--gold-wash), transparent 70%); }
.hstep.on .gk { opacity: 1; }
.hstep.on p { color: var(--ink-2); }
@media (max-width: 860px) {
  .halves { padding-top: 84px; }
  .halves-g { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .halves-fig { order: 1; padding: 20px 0 0; }
  .halves-art { width: 170px; }
}

/* ------------------------------------------------------------------ what you can do */

.use { padding: 120px 0 0; }
.use-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .use-g { grid-template-columns: minmax(0, 1fr); } }
.use-c { display: grid; gap: 14px; align-content: start; padding: 28px 26px 24px; min-height: 420px; grid-template-rows: auto auto 1fr auto; }
.use-c .h3 { font-size: 24px; max-width: 16ch; }
.go { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin-top: 6px; font: 600 14px var(--sans); color: var(--gold); }
.go svg { width: 14px; height: 14px; transition: transform 200ms var(--ease); }
.go:hover svg { transform: translateX(4px); }

.hold-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; align-content: start; }
.hold-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hold-list li:last-child { border-bottom: 0; }
.hold-list .who { display: inline-flex; align-items: center; gap: 10px; }
.hold-list img { width: 24px; height: 24px; border-radius: 50%; background: #f4f1ea; }
.hold-list .who b { font-weight: 600; }
.hold-list .who i { font: 600 11px var(--sans); font-style: normal; color: var(--gold); letter-spacing: 0.02em; }
.hold-list .px { font: 600 14px var(--sans); font-variant-numeric: tabular-nums; }


.gauge { position: relative; width: 168px; height: 168px; justify-self: center; margin-top: 4px; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.g-track { fill: none; stroke: var(--line); stroke-width: 10; }
.g-claims { fill: none; stroke: var(--ink-2); stroke-width: 10; stroke-linecap: butt; transform-origin: 60px 60px; transform: translateX(-3px); }
.g-res { fill: none; stroke: var(--gold); stroke-width: 10; stroke-dasharray: 158; stroke-dashoffset: 158; transform: translateX(3px); transition: stroke-dashoffset 1400ms var(--ease); }
.gauge.on .g-res { stroke-dashoffset: 0; }
.g-c { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; }
.g-c b { font: 600 34px/1 var(--display); font-stretch: 115%; letter-spacing: -0.03em; }
.g-c span { font: 600 10px var(--sans); font-stretch: 118%; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.gauge-sub { text-align: center; color: var(--muted); font-size: 13px; align-self: start; }

.rise { opacity: 0.001; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 900ms var(--ease); }
.rise.in { opacity: 1; transform: none; }
.use-g .rise:nth-child(2) { transition-delay: 90ms; }
.use-g .rise:nth-child(3) { transition-delay: 180ms; }

/* ------------------------------------------------------------------ coverage */

.coverage { padding: 120px 0 0; }
.cov-g { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 960px) { .cov-g { grid-template-columns: minmax(0, 1fr); } }
.cov-coins { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cov-coin { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color 200ms; }
.cov-coin:hover { background: var(--surface); }
.cov-coin img { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: #f4f1ea; box-shadow: 0 0 0 1px var(--line-strong); }
.cov-coin b { font: 600 15px var(--sans); }
.cov-coin span { font: 500 12.5px var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.cov-coin span em { font-style: normal; color: var(--up); }
.cov-big { display: grid; gap: 4px; }
.cov-big b { font: 600 88px/0.9 var(--display); font-stretch: 120%; letter-spacing: -0.05em; color: var(--gold); }
.cov-big span { color: var(--ink-2); font-size: 15px; }
.cov-bar { display: flex; gap: 3px; height: 12px; margin: 28px 0 14px; }
.cov-bar i { display: block; height: 100%; transition: flex-grow 1200ms var(--ease); flex-grow: 1; }
.cov-bar .live, .cov-legend .live { background: var(--gold); }
.cov-bar .route, .cov-legend .route { background: var(--sea); }
.cov-bar .rest, .cov-legend .rest { background: var(--line-strong); }
.cov-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.cov-legend li { display: flex; align-items: center; gap: 10px; }
.cov-legend i { width: 10px; height: 10px; }
.held { margin-top: 34px; display: grid; gap: 14px; }
.held-row { display: flex; flex-wrap: wrap; gap: 10px; }
.held-row span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 5px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--ink-2); }
.held-row img { width: 24px; height: 24px; border-radius: 50%; background: #f4f1ea; }

/* ------------------------------------------------------------------ next */

.next { padding: 120px 0 0; }
.next-g { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.next-g > div:first-child { max-width: 640px; }
.next-g .gk { display: block; font-size: 40px; line-height: 1; margin-bottom: 18px; }
.next-g .lede { margin-top: 18px; max-width: 42ch; }
.next-c { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.next-c .panel { display: grid; gap: 12px; align-content: start; }
.next-c p { color: var(--muted); font-size: 14px; }
.soon { justify-self: start; font: 600 10px var(--sans); font-stretch: 118%; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding: 4px 8px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 50%, transparent); }
.logos { display: flex; gap: 6px; margin-top: 4px; }
.logos img { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); }
@media (max-width: 960px) { .next-g { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .next-c { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ close and footer */

.close { padding: 150px 0 120px; text-align: center; position: relative; isolation: isolate; overflow: hidden; }
.close::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 40%; width: 900px; max-width: 120vw; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--gold-wash), transparent 70%); }
.close-g { display: grid; justify-items: center; gap: 28px; }
.close .mark { width: 64px; height: 64px; }
.close h2 { font-size: clamp(40px, 5.6vw, 84px); }
.close h2 span { display: block; color: var(--gold); }

.foot { border-top: 1px solid var(--line); padding: 34px 0 40px; }
.foot-g { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.foot nav a:hover { color: var(--ink); }
.soon-l { color: var(--muted); }
.soon-l::after { content: " soon"; font: 600 9.5px var(--sans); font-stretch: 118%; text-transform: uppercase; letter-spacing: 0.08em; }
.foot-gk { margin-left: auto; font: 400 16px var(--greek); letter-spacing: 0.4em; color: var(--muted); }
.foot-legal { margin-top: 26px; max-width: 110ch; font-size: 12px; line-height: 1.6; color: var(--muted); }
@media (max-width: 720px) { .foot-gk { margin-left: 0; width: 100%; } }

/* ------------------------------------------------------------------ into the app: a loading line the coin closes */
/* The page stays visible under a blur. The line fills from both ends while the coin's halves ride it in; they
   close at the centre and the app opens them again (its splash, app/index.html). */
.launch { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: color-mix(in srgb, var(--ground) 42%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); animation: launch-veil 200ms ease-out both; }
.launch .ln { --run: min(140px, 34vw); position: relative; width: calc(var(--run) * 2); height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.launch .ln-fill { position: absolute; top: 0; bottom: 0; width: 50%; border-radius: 2px; background: var(--gold); transform: scaleX(0); animation: ln-fill 600ms cubic-bezier(0.65, 0, 0.25, 1) 120ms forwards; }
.launch .ln-fill.l { left: 0; transform-origin: left; }
.launch .ln-fill.r { right: 0; transform-origin: right; }
.launch .ln-half { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; overflow: visible; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25)); }
.launch .ln-half.l { fill: var(--ink); animation: ln-in-l 600ms cubic-bezier(0.65, 0, 0.25, 1) 120ms both; }
.launch .ln-half.r { fill: var(--gold); animation: ln-in-r 600ms cubic-bezier(0.65, 0, 0.25, 1) 120ms both; }
@keyframes launch-veil { from { opacity: 0; } }
@keyframes ln-fill { to { transform: scaleX(1); } }
@keyframes ln-in-l { from { transform: translateX(calc(var(--run) * -1)); } }
@keyframes ln-in-r { from { transform: translateX(var(--run)); } }

/* Mainnet: the live line, Live tags, the Index card's ring of coins */
.testnet.live .dot { background: #4fbf8a; box-shadow: 0 0 0 0 rgba(79, 191, 138, 0.5); animation: live-ping 2.2s ease-out infinite; }
@keyframes live-ping { 0% { box-shadow: 0 0 0 0 rgba(79, 191, 138, 0.55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(79, 191, 138, 0); } }
.live-tag { justify-self: start; font: 600 10px var(--sans); font-stretch: 118%; letter-spacing: 0.2em; text-transform: uppercase; color: #4fbf8a; padding: 4px 8px; box-shadow: inset 0 0 0 1px rgba(79, 191, 138, 0.5); }
.ix-fig { position: relative; display: grid; place-items: center; height: 170px; margin: 4px 0; }
.ix-ring { width: 150px; height: 150px; animation: ix-turn 40s linear infinite; }
@keyframes ix-turn { to { transform: rotate(360deg); } }
.ix-logos { position: absolute; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: 92px; }
.ix-logos img, .ix-logos i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--sans); font-style: normal; background: var(--panel, #222); }
.ix-sub { font-size: 13.5px; margin: 0; }
.cov-side .go { margin-top: 18px; }
@media (max-width: 900px) { .next-c { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ix-ring, .testnet.live .dot { animation: none; } }

/* ------------------------------------------------------------------ the institutional finish (8 Nov): dark grey,
   light halos behind the page, calmer type, clean hairline cards, platinum pill buttons; gold stays on the mark */

body { position: relative; }
body::after {
  content: ""; position: fixed; inset: -15vh -10vw; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55vw 42vh at 50% -4%, rgba(255, 247, 232, 0.11), transparent 72%),
    radial-gradient(38vw 36vh at 88% 32%, rgba(220, 183, 110, 0.075), transparent 70%),
    radial-gradient(42vw 42vh at 6% 78%, rgba(160, 178, 214, 0.06), transparent 70%);
  animation: halo-drift 36s ease-in-out infinite alternate;
}
@keyframes halo-drift { to { transform: translate3d(2vw, 3vh, 0) scale(1.05); } }
:root[data-theme="light"] body::after { background: radial-gradient(55vw 42vh at 50% -4%, rgba(220, 183, 110, 0.12), transparent 72%), radial-gradient(42vw 42vh at 6% 78%, rgba(120, 150, 200, 0.08), transparent 70%); }

.display { font-stretch: 110%; letter-spacing: -0.035em; line-height: 0.98; }
.h2 { font-stretch: 106%; letter-spacing: -0.03em; }
.h3 { font-stretch: 104%; }
.hero h1 { font-size: clamp(40px, 5vw, 72px); }
.hero h1 span { color: color-mix(in srgb, var(--gold) 88%, var(--ink)); }
.hero::before { background: radial-gradient(closest-side, rgba(255, 244, 222, 0.12), rgba(220, 183, 110, 0.05) 45%, transparent 72%); }
.inscription { letter-spacing: 0.6em; opacity: 0.9; }

/* cards: rounded, a hairline edge lit from above, a soft lift */
.panel { border-radius: 20px; padding: 26px; background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 100%, white 3%), var(--surface)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -40px rgba(0, 0, 0, 0.7); transition: box-shadow 220ms, transform 220ms var(--ease); }
.panel::before, .panel::after { display: none; }
.panel:hover { box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 36px 70px -40px rgba(0, 0, 0, 0.75); transform: translateY(-2px); }
.panel.hl { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 38%, var(--line)), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px -40px rgba(0, 0, 0, 0.7); }

/* buttons: pills; the primary is platinum, like the app's */
.btn { border-radius: 999px; height: 46px; padding: 0 24px; }
.btn.gold { clip-path: none; border-radius: 999px; background: linear-gradient(180deg, #f6f5f1, #e2e1dc); color: #1d1e22; box-shadow: 0 10px 30px -12px rgba(255, 244, 222, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.08); }
.btn.gold:hover { filter: none; box-shadow: 0 14px 36px -12px rgba(255, 244, 222, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.08); transform: translateY(-1px); }
.btn.sm { height: 36px; padding: 0 16px; }
.icon-btn { border-radius: 999px; }

/* the header: a quiet glass bar once scrolled */
.top.solid { background: color-mix(in srgb, var(--ground) 72%, transparent); }

/* figures under the hero: a single hairline card */
.proof-row { display: inline-flex; padding: 18px 8px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.proof-row > div { padding: 0 24px; }
.proof-row > div:first-child { padding-left: 24px; }
.proof-row dd { font-stretch: 106%; }

.soon, .live-tag { border-radius: 999px; padding: 4px 10px; }
.orb img { background: #f6f4ef; }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }
