/* =============================================================================
   ALMA landing (views/landing.ejs, public/js/landing.js) · the title screen and the marketing sections.
   Builds on game-system.css (tokens, .btn, .chip, .input, .range, motion keyframes) and site.css
   (.wrap, .sec, .sec-head, .eyebrow, .pill). Ported from the approved round 5 design, without the
   "Your server" section. Motion is transform and opacity only; prefers-reduced-motion and html.gm-lite
   switch the costly parts off (see the end of this file).
   ============================================================================= */
.lp { --lp-ease: var(--ease-panel); }
.lp .cr { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.lp main code { font: 400 0.9em var(--f-mono); color: var(--gold); }

/* --- section shell (site.css has the same names; these keep the page whole if it lags) --- */
.lp .sec { padding-block: clamp(56px, 8vw, 104px) 0; }
.lp .sec:last-child { padding-bottom: clamp(56px, 8vw, 104px); }
.lp .sec-head { display: grid; gap: var(--s3); max-width: 720px; margin-bottom: var(--s6); }
.lp .sec-head h2 { font: 400 clamp(30px, 3.6vw, 46px)/1.08 var(--f-display); letter-spacing: 0.01em; text-wrap: balance; }
.lp .sec-head > p { color: var(--fg-2); font-size: 17px; line-height: 1.6; }
.lp .sec-head.is-center { margin-inline: auto; text-align: center; justify-items: center; }
.lp .eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--f-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.lp .eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* scroll reveals: [data-reveal="rise"] is watched by controls.js; siblings stagger by --i (set in landing.js) */
.lp .is-in[data-reveal="rise"] { animation-delay: calc(var(--i, 0) * 70ms); animation-duration: 700ms; }

/* --- 1 · hero ------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(640px, calc(100vh - var(--nav-h, 64px)), 880px); display: grid; grid-template-rows: minmax(0, 1fr) auto; --px: 0; --py: 0; --sy: 0; }
.hero-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-layer { position: absolute; inset: -4%; display: block; transform: translate3d(calc(var(--px) * -12px), calc(var(--py) * -9px + var(--sy) * 0.22px), 0) scale(1.04); transition: transform 900ms var(--lp-ease); will-change: transform; }
.hero-layer img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 46%; animation: drift 38s ease-in-out infinite alternate; }
.hero-dust { position: absolute; inset: -6%; pointer-events: none; opacity: 0.9;
  background-image: radial-gradient(1.5px 1.5px at 12% 22%, oklch(0.95 0.05 85 / 0.85), transparent 60%), radial-gradient(1px 1px at 72% 18%, oklch(0.95 0.05 85 / 0.7), transparent 60%), radial-gradient(1.5px 1.5px at 84% 64%, oklch(0.9 0.06 210 / 0.7), transparent 60%), radial-gradient(1px 1px at 38% 72%, oklch(0.95 0.05 85 / 0.6), transparent 60%), radial-gradient(1px 1px at 56% 38%, oklch(0.95 0.05 85 / 0.7), transparent 60%), radial-gradient(1.5px 1.5px at 27% 48%, oklch(0.9 0.06 210 / 0.6), transparent 60%), radial-gradient(1px 1px at 91% 31%, oklch(0.95 0.05 85 / 0.7), transparent 60%);
  transform: translate3d(calc(var(--px) * -30px), calc(var(--py) * -22px + var(--sy) * 0.08px), 0); transition: transform 900ms var(--lp-ease); animation: lp-twinkle 7s ease-in-out infinite alternate; }
@keyframes lp-twinkle { to { opacity: 0.45; } }
.hero-veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, oklch(0.10 0.024 262 / 0.95) 0%, oklch(0.10 0.024 262 / 0.82) 32%, oklch(0.10 0.024 262 / 0.2) 62%, oklch(0.10 0.024 262 / 0.1) 100%),
  linear-gradient(0deg, oklch(0.12 0.024 262) 0%, oklch(0.12 0.024 262 / 0) 30%),
  linear-gradient(180deg, oklch(0.12 0.024 262 / 0.6) 0%, transparent 18%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: var(--s6); padding-block: var(--s7) var(--s6); }
.hero-copy { display: grid; gap: var(--s4); max-width: 620px; }
.hero-kicker { color: var(--gold); }
.hero h1 { font: 400 clamp(40px, 5.4vw, 74px)/1.02 var(--f-display); letter-spacing: 0.005em; text-wrap: balance; }
.slash { position: relative; display: inline-grid; place-items: center; width: 0.9em; height: 0.9em; margin: 0 0.04em; vertical-align: -0.06em; }
.slash b { display: grid; place-items: center; width: 100%; height: 100%; color: var(--on-gold); background: var(--gold); font: 400 0.72em/1 var(--f-mono); clip-path: polygon(0.14em 0, 100% 0, 100% calc(100% - 0.14em), calc(100% - 0.14em) 100%, 0 100%, 0 0.14em); }
.slash::after { content: ""; position: absolute; inset: -0.08em; border: 2px solid var(--gold); opacity: 0; transform: scale(0.9); pointer-events: none; }
.slash.is-pulse b { animation: lp-slash 900ms var(--ease-spring) both; }
.slash.is-pulse::after { animation: lp-slash-ring 1100ms var(--lp-ease) both; }
@keyframes lp-slash { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes lp-slash-ring { 0% { opacity: 0.9; transform: scale(0.95); } 100% { opacity: 0; transform: scale(1.9); } }
.hero-lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--fg-2); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); }
.hero-offer { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--fg-2); }
.hero-offer a { color: var(--gold); }
.rise { animation: rise 900ms var(--lp-ease) both; }
.r2 { animation-delay: 90ms; } .r3 { animation-delay: 180ms; } .r4 { animation-delay: 270ms; } .r5 { animation-delay: 360ms; }

/* the five relic picks, floating in an arc over the balcony; the whole set is a parallax layer */
.relics { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; align-self: end; padding-bottom: var(--s5); translate: calc(var(--px) * 14px) calc(var(--py) * 10px); transition: translate 900ms var(--lp-ease); }
.relic { --cut: 10px; --lift: 0px; position: relative; display: grid; gap: 8px; justify-items: center; padding: 8px 6px 12px; border: 0; background: oklch(0.12 0.026 262 / 0.62); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); cursor: pointer; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); backdrop-filter: blur(10px); transform: translateY(var(--lift)); transition: transform 600ms var(--lp-ease), background var(--t-quick), box-shadow var(--t-quick); animation: rise 900ms var(--lp-ease) both; }
.relic:nth-child(1) { --lift: -6px; animation-delay: 420ms; } .relic:nth-child(2) { --lift: -34px; animation-delay: 480ms; }
.relic:nth-child(3) { --lift: -48px; animation-delay: 540ms; } .relic:nth-child(4) { --lift: -34px; animation-delay: 600ms; }
.relic:nth-child(5) { --lift: -6px; animation-delay: 660ms; }
.relic-art { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; animation: lp-float 6s ease-in-out infinite; }
.relic:nth-child(2) .relic-art { animation-delay: -1.2s; } .relic:nth-child(3) .relic-art { animation-delay: -2.4s; }
.relic:nth-child(4) .relic-art { animation-delay: -3.6s; } .relic:nth-child(5) .relic-art { animation-delay: -4.8s; }
@keyframes lp-float { 50% { translate: 0 -5px; } }
.relic-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 900ms var(--lp-ease), opacity 600ms; opacity: 0.88; }
/* the glow is its own layer, faded in with opacity (no filter animation) */
.relic-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, oklch(0.85 0.09 85 / 0.38), transparent 62%); opacity: 0; transition: opacity 500ms var(--lp-ease); mix-blend-mode: screen; pointer-events: none; }
.relic-n { position: absolute; left: 8px; top: 8px; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; color: var(--gold); font: 600 12px/1 var(--f-label); }
.relic-n::before { content: ""; position: absolute; inset: 3px; border: 1px solid var(--gold); transform: rotate(45deg); }
.relic-t { display: grid; gap: 3px; justify-items: center; }
.relic-t code { font-size: 12.5px; color: var(--fg) !important; }
.relic-t small { font: 600 10.5px/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }
.relic:hover, .relic:focus-visible, .relic.is-down { background: oklch(0.18 0.03 262 / 0.82); box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 26px var(--gold-tint); outline: none; transform: translateY(calc(var(--lift) - 6px)); }
.relic:hover .relic-art img, .relic:focus-visible .relic-art img, .relic.is-down .relic-art img { transform: scale(1.3) translateY(-3px); opacity: 1; }
.relic:hover .relic-art::after, .relic:focus-visible .relic-art::after, .relic.is-down .relic-art::after, .relic.is-on .relic-art::after { opacity: 1; }
.relic.is-down { transform: translateY(calc(var(--lift) + 2px)) scale(0.97); transition-duration: 120ms; }
.relic.is-on { box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 26px var(--gold-glow); }
.relic.is-on::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; background: var(--gold); transform: rotate(45deg); }
.relics-hint { grid-column: 1 / -1; justify-self: center; margin-top: 4px; font: 600 12px/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.relics-hint b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin: 0 3px; color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-2); }

/* just built marquee: the set is doubled, so -50% loops seamlessly; hover or focus pauses it */
.fresh { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s4); padding: 12px var(--gutter, 24px); border-block: 1px solid var(--line); background: oklch(0.10 0.022 262 / 0.66); backdrop-filter: blur(12px); }
.fresh-label { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--f-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.fresh-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.fresh-track { display: flex; width: max-content; animation: lp-marquee var(--marquee, 48s) linear infinite; }
.fresh:hover .fresh-track, .fresh:focus-within .fresh-track { animation-play-state: paused; }
.fresh-set { display: flex; }
.fresh-set a { display: inline-flex; align-items: center; gap: 14px; padding: 4px 22px 4px 0; color: var(--fg-2); text-decoration: none; font-size: 14px; white-space: nowrap; transition: color var(--t-quick); }
.fresh-set a::before { content: ""; width: 5px; height: 5px; background: var(--line-2); transform: rotate(45deg); transition: background var(--t-quick); }
.fresh-set a:hover, .fresh-set a:focus-visible { color: var(--fg); }
.fresh-set a:hover::before, .fresh-set a:focus-visible::before { background: var(--gold); }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* --- 2 · try it: an in-game comms panel that still reads as Discord ---------------- */
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s4); align-items: start; }
.ch { --cut: 14px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 620px; background: oklch(0.15 0.028 262 / 0.86); box-shadow: inset 0 0 0 1px var(--line-2); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); backdrop-filter: blur(16px); }
.ch-head { display: flex; align-items: center; gap: 8px; padding: 14px var(--s5); border-bottom: 1px solid var(--line); font-size: 15px; }
.ch-hash { color: var(--fg-3); font: 400 20px/1 var(--f-body); }
.ch-tag { margin-left: 6px; padding: 3px 7px; box-shadow: inset 0 0 0 1px var(--line); font: 600 10.5px/1 var(--f-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.ch-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 600 11px/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--good); }
.ch-live i { width: 6px; height: 6px; background: var(--good); transform: rotate(45deg); animation: lp-pulse 2.4s ease-in-out infinite; }
@keyframes lp-pulse { 50% { opacity: 0.35; } }
.ch-log { list-style: none; margin: 0; padding: var(--s4) var(--s5); display: flex; flex-direction: column; gap: var(--s4); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.ch-msg { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; animation: rise 500ms var(--lp-ease) both; }
.ch-msg.is-seed { animation: none; }
.ch-av { position: relative; width: 38px; height: 38px; display: grid; place-items: center; background: oklch(0.22 0.035 262); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); font: 600 15px/1 var(--f-label); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.ch-bot .ch-av i { width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 12px var(--gold-glow); }
.ch-body { display: grid; gap: 6px; min-width: 0; font-size: 14.5px; color: var(--fg-2); }
.ch-body > p { line-height: 1.5; }
.ch-name { color: var(--fg) !important; font-weight: 600; font-size: 14.5px; }
.ch-name small { margin-left: 6px; color: var(--fg-3); font-weight: 400; font-size: 12px; }
.ch-app { display: inline-block; margin-left: 4px; padding: 2px 5px; background: oklch(0.55 0.12 270); color: #fff; font: 700 9.5px/1 var(--f-label); letter-spacing: 0.06em; vertical-align: 2px; }
.ch-cmdline code { padding: 2px 6px; background: var(--gold-tint); }
.ch-arg { color: var(--fg); }
.ch-typing { display: inline-flex; gap: 5px; padding: 6px 0; }
.ch-typing i { width: 6px; height: 6px; background: var(--fg-3); transform: rotate(45deg); animation: lp-dot 1s ease-in-out infinite; }
.ch-typing i:nth-child(2) { animation-delay: 160ms; } .ch-typing i:nth-child(3) { animation-delay: 320ms; }
@keyframes lp-dot { 40% { opacity: 1; translate: 0 -3px; } 0%, 80%, 100% { opacity: 0.35; translate: 0 0; } }
.ch-card { --cut: 10px; display: grid; gap: 10px; max-width: 440px; padding: 12px; background: oklch(0.12 0.024 262 / 0.8); box-shadow: inset 0 0 0 1px var(--line-2), inset 3px 0 0 var(--gold); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); font-size: 13.5px; }
.ch-card-title { font: 400 17px/1.2 var(--f-display); color: var(--fg); letter-spacing: 0.02em; }
.ch-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 0; }
.ch-rows dt { font: 600 10.5px/1 var(--f-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.ch-rows dd { margin: 4px 0 0; color: var(--fg); }
.ch-credit { color: var(--gold) !important; font-weight: 600; font-variant-numeric: tabular-nums; }
.ch-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; color: var(--fg-3); }
.ch-steps li { display: flex; align-items: center; gap: 8px; animation: rise 300ms var(--lp-ease) both; }
.ch-steps li::before { content: ""; flex: none; width: 6px; height: 6px; border: 1px solid var(--fg-3); transform: rotate(45deg); }
.ch-steps li.is-done { color: var(--fg-2); }
.ch-steps li.is-done::before { background: var(--good); border-color: var(--good); }
.ch-steps li.is-bad { color: var(--bad); }
.ch-steps li.is-bad::before { background: var(--bad); border-color: var(--bad); }
.ch-media { width: 100%; max-width: 440px; height: auto; display: block; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.ch-audio { width: 100%; max-width: 440px; }
.ch-pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-width: 440px; }
.ch-pages img { width: 100%; height: auto; }
.ch-site { position: relative; display: grid; gap: 8px; max-width: 520px; }
.ch-site img { width: 100%; height: auto; box-shadow: inset 0 0 0 1px var(--line); }
.ch-site .btn { justify-self: start; }
/* A build in a card is laid out at 1280px wide and scaled to fit (landing.js fitDesk sets the two variables),
   so it shows its desktop layout instead of the phone one. */
.desk { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #050812; box-shadow: 0 0 0 1px var(--line-2); }
.desk iframe { position: absolute; left: 0; top: 0; width: 1280px; height: var(--desk-h, 800px); max-width: none; border: 0; transform: scale(var(--desk-scale, 0.4)); transform-origin: 0 0; }
.ch-small, .ch-saved { font-size: 12px; color: var(--fg-3); }
.ch-reply { white-space: pre-line; color: var(--fg); }
.ch-after { margin: 0; }
.ch-link { padding: 0; border: 0; background: none; color: var(--gold); font: 500 12.5px/1.4 var(--f-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ch-compose { position: relative; padding: var(--s3) var(--s4) var(--s4); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ch-compose.is-busy .ch-input { opacity: 0.8; }
.ch-input { --cut: 8px; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 14px; background: oklch(0.10 0.022 262 / 0.82); box-shadow: inset 0 0 0 1px var(--line-2); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: box-shadow var(--t-quick), opacity var(--t-quick); }
.ch-input:focus-within { box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 4px var(--gold-tint); }
.ch-input input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--fg); font-size: 15px; }
.ch-input input:focus { outline: none; }
.ch-input input::placeholder { color: var(--fg-3); }
.ch-cmd { padding: 4px 8px; background: var(--gold-tint); box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); font: 500 13px/1 var(--f-mono); white-space: nowrap; }
.ch-send { display: grid; place-items: center; width: 38px; height: 38px; border: 0; background: var(--gold); color: var(--on-gold); cursor: pointer; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); transition: background var(--t-quick); }
.ch-send:hover { background: var(--gold-hot); }
.ch-send:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--on-gold); }
.ch-send .ico { width: 16px; height: 16px; }
.ch-pop { position: absolute; left: var(--s4); right: var(--s4); bottom: calc(100% - 6px); z-index: 5; max-height: 330px; overflow-y: auto; padding: 6px; background: var(--layer-solid); box-shadow: inset 0 0 0 1px var(--line-2), 0 -18px 40px -16px oklch(0 0 0 / 0.7); animation: rise 300ms var(--lp-ease) both; }
.ch-pop .label { display: block; padding: 8px 10px 6px; }
.ch-opt { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; width: 100%; min-height: 40px; padding: 6px 10px; border: 0; background: none; color: var(--fg-2); text-align: left; font-size: 13.5px; cursor: pointer; }
.ch-opt code { color: var(--fg) !important; }
.ch-opt em { font: 600 11px/1 var(--f-label); font-style: normal; letter-spacing: 0.06em; color: var(--gold); white-space: nowrap; }
.ch-opt small { grid-column: 2 / -1; font-size: 11.5px; color: var(--fg-3); }
.ch-opt[aria-selected="true"], .ch-opt:hover { background: var(--gold-tint); box-shadow: inset 2px 0 0 var(--gold); color: var(--fg); }
.ch-suggest { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ch-suggest:empty { display: none; }
.ch-suggest .chip { flex: none; height: 30px; font-size: 13px; }
.ch-suggest-label { flex: none; font: 600 11px/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }
.ch-noscript { padding: var(--s4); color: var(--fg-2); }

/* the credit tray: numbers tick, a coin floats, diamonds burst on hold and on refund */
.tray { --cut: 14px; display: grid; gap: var(--s3); padding: var(--s5); background: var(--layer-1); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); backdrop-filter: blur(14px); }
.tray-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--fg-2); }
.tray-num { display: inline-block; font: 400 32px/1 var(--f-display); color: var(--fg); font-variant-numeric: tabular-nums; }
.tray-row.is-held .tray-num { color: var(--gold); }
.tray-num.is-bump { animation: lp-bump 600ms var(--lp-ease); }
@keyframes lp-bump { 30% { transform: translateY(-4px); } }
.tray-coins { position: relative; height: 104px; display: grid; place-items: center; }
.tray-coin { width: 104px; height: 104px; object-fit: cover; clip-path: circle(38%); animation: lp-float 6s ease-in-out infinite; }
.tray-coins picture { display: contents; }
.coin-fx { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; background: var(--gold); box-shadow: 0 0 10px var(--gold-glow); opacity: 0; animation: lp-coin 900ms var(--lp-ease) both; animation-delay: var(--delay, 0ms); }
.coin-fx.is-back { background: var(--good); box-shadow: 0 0 10px oklch(0.80 0.12 165 / 0.5); }
@keyframes lp-coin { from { transform: translate(0, 0) rotate(45deg) scale(0.6); opacity: 0; } 20% { opacity: 1; } to { transform: translate(var(--dx, 0px), var(--dy, -60px)) rotate(225deg) scale(1); opacity: 0; } }
.tray-note { font-size: 13.5px; color: var(--fg-2); line-height: 1.55; min-height: 3.1em; }
.tray-note b { color: var(--fg); }
.tray-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--fg-2); }
.tray-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; }
.tray-steps em { font-style: normal; }
.tray-steps span { position: relative; display: grid; place-items: center; width: 24px; height: 24px; color: var(--gold); font: 600 12px/1 var(--f-label); }
.tray-steps span::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* --- 3 · what it makes --------------------------------------------------------- */
.intents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.intent { --cut: 14px; position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: var(--s3) var(--s4); padding: var(--s5); background: var(--layer-1); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); backdrop-filter: blur(14px); transition: background var(--t-quick); overflow: hidden; }
.intent:hover { background: var(--layer-2); }
.intent::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: translateX(-100%); opacity: 0; transition: transform 800ms var(--lp-ease), opacity 300ms; pointer-events: none; }
.intent:hover::before, .intent:focus-within::before { transform: translateX(100%); opacity: 1; }
.intent-art { grid-row: span 2; width: 88px; height: 88px; overflow: hidden; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); box-shadow: inset 0 0 0 1px var(--line); }
.intent-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: transform 1s var(--lp-ease); }
.intent:hover .intent-art img { transform: scale(1.32); }
.intent h3 { font: 400 20px/1.2 var(--f-display); letter-spacing: 0.02em; align-self: center; }
.intent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-column: 2; align-content: start; }
.intent-ask { grid-column: span 3; }
.intent-ask ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px var(--s3); }
.lp-cmd { --cut: 6px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 10px; width: 100%; padding: 9px 12px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg-2); text-align: left; font-size: 13.5px; line-height: 1.45; cursor: pointer; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: background var(--t-quick), box-shadow var(--t-quick), color var(--t-quick); }
.lp-cmd code { grid-row: span 2; color: var(--fg) !important; font-size: 13px; }
.lp-cmd em { grid-column: 2; font: 600 11.5px/1.2 var(--f-label); font-style: normal; letter-spacing: 0.06em; color: var(--gold); }
.lp-cmd .new { grid-column: 2; justify-self: start; padding: 2px 6px; background: var(--good-tint); color: var(--good); font: 600 10px/1.2 var(--f-label); letter-spacing: 0.14em; text-transform: uppercase; }
.lp-cmd:hover { background: var(--gold-tint); box-shadow: inset 0 0 0 1px var(--gold); color: var(--fg); }
.lp-cmd:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }

/* --- 4 · story books ----------------------------------------------------------- */
.books-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: center; }
.books-grid .sec-head { margin-bottom: 0; }
.book-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s5); margin: var(--s3) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); }
.book-facts dt { font: 600 11px/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }
.book-facts dd { margin: 6px 0 0; font-size: 14.5px; }
.flip { display: grid; gap: var(--s3); justify-items: center; margin: 0; }
.flip-stage { width: min(330px, 100%); perspective: 1800px; }
.flip-book { position: relative; aspect-ratio: var(--ratio, 900 / 1458); outline: none; transform-style: preserve-3d; cursor: pointer; }
.flip-book:focus-visible { box-shadow: 0 0 0 2px var(--void), 0 0 0 4px var(--gold); }
.flip-page { position: absolute; inset: 0; z-index: var(--z, 1); transform-origin: left center; transform-style: preserve-3d; backface-visibility: hidden; transition: transform 900ms var(--lp-ease), opacity 900ms var(--lp-ease); box-shadow: 0 30px 60px -24px oklch(0 0 0 / 0.8), inset 0 0 0 1px oklch(1 0 0 / 0.08); }
.flip-page img { width: 100%; height: 100%; object-fit: contain; display: block; background: #f3ead8; }
.flip-page::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(0 0 0 / 0.28), transparent 18%); opacity: 0; transition: opacity 600ms; pointer-events: none; }
.flip-page.is-turned { transform: rotateY(-100deg); opacity: 0; }
.flip-page.is-turned::after { opacity: 1; }
.flip[data-flip] .ico { transform: none; } /* game-system's .flip .ico mirrors icons for its own .flip control */
.flip-controls { display: flex; align-items: center; gap: var(--s3); }
.flip-count { min-width: 92px; text-align: center; font: 600 12px/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.flip figcaption, .tile figcaption { display: grid; gap: 6px; }
.flip figcaption { justify-items: center; text-align: center; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font: 600 11.5px/1.3 var(--f-label); letter-spacing: 0.08em; color: var(--fg-3); }
.meta code { font-size: 12px; }
.look { padding: 2px 7px; background: var(--gold-tint); color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; }
.caption { font-size: 14px; color: var(--fg-2); line-height: 1.5; }

/* --- 5 · real results: tiles tilt a little toward the pointer (--rx/--ry from landing.js) --- */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s4); perspective: 1400px; }
.tile { --cut: 14px; --rx: 0deg; --ry: 0deg; display: grid; grid-template-rows: auto 1fr; gap: var(--s3); margin: 0; padding: 10px 10px var(--s4); background: var(--layer-1); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); backdrop-filter: blur(14px); grid-column: span 2; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 500ms var(--lp-ease); }
.tile.is-tilting { transition-duration: 120ms; }
.tile figcaption { padding: 0 6px; }
.tile-image, .tile-video { grid-column: span 3; }
.tile-media { position: relative; overflow: hidden; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); background: var(--void-2); }
.tile-image .tile-media, .tile-video .tile-media { aspect-ratio: 3 / 2; }
.tile-media img, .tile-media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--lp-ease); }
.tile-image:hover .tile-media img { transform: scale(1.04); }
.tile-audio .tile-media, .tile-chat .tile-media { aspect-ratio: 1; }
.orb { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, oklch(0.24 0.05 260), oklch(0.12 0.024 262) 72%); }
.orb[data-family="speech"] { background: radial-gradient(circle at 50% 45%, oklch(0.24 0.05 300), oklch(0.12 0.024 262) 72%); }
.orb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb-play { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border: 0; background: var(--gold); color: var(--on-gold); cursor: pointer; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: transform 400ms var(--lp-ease), background var(--t-quick); }
.orb-play:hover { background: var(--gold-hot); transform: scale(1.06); }
.orb-play:focus-visible { outline: none; transform: scale(1.08); background: var(--gold-hot); }
.orb-play .ico { width: 20px; height: 20px; fill: currentColor; stroke: none; margin-left: 2px; }
.orb.is-playing .orb-play .ico { margin-left: 0; fill: none; stroke: currentColor; stroke-width: 2.5; }
.orb-time { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font: 600 12px/1 var(--f-label); letter-spacing: 0.1em; color: var(--fg-2); }
.tile-chat-body { position: absolute; inset: 0; display: grid; align-content: start; gap: 10px; padding: var(--s3); overflow: hidden; background: oklch(0.14 0.028 262); font-size: 13px; }
.tile-q { justify-self: end; max-width: 88%; padding: 8px 10px; background: var(--gold-tint); box-shadow: inset 0 0 0 1px oklch(0.85 0.09 85 / 0.3); color: var(--fg); }
.tile-a { white-space: pre-line; color: var(--fg-2); line-height: 1.45; }

/* the featured build: a poster first; "Press to play" swaps in the sandboxed page (landing.js) */
.feat { --cut: 16px; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: var(--s5); align-items: center; margin-bottom: var(--s4); padding: 12px; background: var(--layer-1); box-shadow: inset 0 0 0 1px oklch(0.85 0.09 85 / 0.4); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); backdrop-filter: blur(14px); scroll-margin-top: calc(var(--nav-h, 64px) + 16px); }
.feat-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #050812; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.feat-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--lp-ease), opacity 400ms; }
.feat:hover .feat-poster img { transform: scale(1.03); }
.feat-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; border: 0; padding: var(--s4); background: radial-gradient(circle at 50% 50%, oklch(0.10 0.022 262 / 0.25), oklch(0.10 0.022 262 / 0.6) 70%); color: var(--fg); cursor: pointer; text-align: center; transition: opacity 400ms var(--lp-ease); }
.feat-play > span:not(.feat-play-dia) { font: 600 15px/1 var(--f-label); letter-spacing: 0.22em; text-transform: uppercase; }
.feat-play small { font-size: 13px; color: var(--fg-2); }
.feat-play-dia { position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 6px; background: var(--gold); color: var(--on-gold); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: transform 400ms var(--ease-spring), background var(--t-quick); }
.feat-play-dia .ico { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; stroke: none; }
.feat-play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -76px 0 0 -38px; border: 1px solid var(--gold); transform: rotate(45deg) scale(0.75); opacity: 0; animation: lp-ring 2.6s var(--lp-ease) infinite; pointer-events: none; }
@keyframes lp-ring { 0% { opacity: 0.8; transform: rotate(45deg) scale(0.75); } 70%, 100% { opacity: 0; transform: rotate(45deg) scale(1.5); } }
.feat-play:hover .feat-play-dia, .feat-play:focus-visible .feat-play-dia { transform: scale(1.08); background: var(--gold-hot); }
.feat-play:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.feat-stage .desk { position: absolute; inset: 0; aspect-ratio: auto; box-shadow: none; animation: gm-in-fade 600ms var(--ease-soft) both; }
.feat-stage.is-live .feat-play, .feat-stage.is-live .feat-poster { opacity: 0; pointer-events: none; }
.feat-copy { display: grid; gap: var(--s3); padding: var(--s3) var(--s4) var(--s3) 0; align-content: center; }
.feat-copy h3 { font: 400 clamp(24px, 2.4vw, 32px)/1.15 var(--f-display); letter-spacing: 0.01em; text-wrap: balance; }
.feat-prompt { display: grid; gap: 6px; font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }
.feat-hint { font-size: 13.5px; color: var(--fg-3); }
.feat .book-facts { margin-top: 0; }
.feat-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.fresh-set a.is-feat { color: var(--gold); }
.fresh-set a.is-feat::before { background: var(--gold); }

/* --- 6 · pricing ---------------------------------------------------------------- */
.est { --cut: 14px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s5); padding: var(--s5); margin-bottom: var(--s4); background: var(--layer-1); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); backdrop-filter: blur(14px); }
.est-input { display: grid; gap: var(--s3); align-content: start; }
.est-input .input { height: 48px; font-size: 16px; }
.est-chips .chip { height: 34px; }
.est-amount { display: grid; gap: 6px; }
.est-qty-out { font-size: 18px; color: var(--gold); }
.est-out { --cut: 10px; display: grid; gap: 8px; align-content: center; padding: var(--s5); background: oklch(0.10 0.022 262 / 0.6); box-shadow: inset 0 0 0 1px var(--line-2); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); min-height: 180px; }
.est-out > * { animation: rise 420ms var(--lp-ease) both; }
.est-what { font: 400 22px/1.25 var(--f-display); letter-spacing: 0.01em; color: var(--fg); }
.est-total { font: 400 clamp(28px, 3vw, 40px)/1.1 var(--f-display); color: var(--fg); font-variant-numeric: tabular-nums; }
.est-total .lp-credit { color: var(--gold); }
.est-note, .est-sub { font-size: 13.5px; color: var(--fg-2); line-height: 1.5; }
.est-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.est-tiers li { display: grid; grid-template-columns: 80px auto minmax(0, 1fr); align-items: baseline; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 14px; }
.est-tiers li:last-child { border-bottom: 0; }
.est-tiers span { font: 600 12px/1 var(--f-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); }
.est-tiers small { color: var(--fg-3); font-size: 12.5px; }
.lp-credit { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.plans { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s4); align-items: stretch; }
.plan { --cut: 14px; position: relative; display: grid; gap: var(--s3); align-content: start; padding: var(--s5); background: var(--layer-1); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); backdrop-filter: blur(14px); overflow: hidden; }
.plan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: translateX(-100%); opacity: 0; transition: transform 800ms var(--lp-ease), opacity 300ms; pointer-events: none; }
.plan:hover::before, .plan:focus-within::before { transform: translateX(100%); opacity: 1; }
.plan h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 400 22px/1.2 var(--f-display); letter-spacing: 0.02em; }
.plan-free { box-shadow: inset 0 0 0 1px oklch(0.85 0.09 85 / 0.45); }
.plan-top { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: var(--s3); align-items: start; }
.plan-top div { display: grid; gap: var(--s2); }
.plan-art { width: 84px; height: 84px; overflow: hidden; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); animation: lp-float 6s ease-in-out infinite; }
.plan-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
.plan-price { font: 400 40px/1 var(--f-display); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--fg-2); }
.plan ul li { display: flex; align-items: baseline; gap: 10px; }
.plan-free ul li::before { content: ""; flex: none; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg) translateY(-2px); }
.plan-costs li { justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.plan-costs li:last-child { border-bottom: 0; }
.plan .btn { justify-self: start; margin-top: var(--s2); }

/* --- 7 · FAQ: the diamond turns and fills as an entry opens ------------------------ */
.faq { display: grid; gap: var(--s2); max-width: 820px; margin: 0 auto; }
.faq-item { --cut: 10px; background: var(--layer-1); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: background var(--t-quick); }
.faq-item[open] { background: var(--layer-2); box-shadow: inset 0 0 0 1px oklch(0.85 0.09 85 / 0.35); }
.faq-item summary { list-style: none; display: flex; align-items: center; gap: var(--s3); min-height: 60px; padding: 12px var(--s5); cursor: pointer; font: 400 19px/1.3 var(--f-display); letter-spacing: 0.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: ""; flex: none; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); transition: background var(--t-quick), transform var(--t-panel) var(--lp-ease); }
.faq-item[open] summary::before { background: var(--gold); transform: rotate(225deg); }
.faq-item summary:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.faq-item p { padding: 0 var(--s5) var(--s5) calc(var(--s5) + 20px); color: var(--fg-2); line-height: 1.65; }
.faq-item[open] p { animation: rise 420ms var(--lp-ease) both; }

/* --- responsive ----------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: var(--s6) var(--s4); }
  .relics { max-width: 620px; padding-bottom: var(--s3); }
  .relic:nth-child(n) { --lift: 0px; }
  .try-grid { grid-template-columns: minmax(0, 1fr); }
  .intents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intent-ask { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-image, .tile-video, .tile-chat { grid-column: 1 / -1; } .tile-audio { grid-column: span 1; }
  .tile-chat .tile-media { aspect-ratio: 16 / 9; }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .feat-copy { padding: 0 var(--s3) var(--s3); }
}
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-layer img { object-position: 50% 30%; }
  .hero-veil { background: linear-gradient(0deg, oklch(0.12 0.024 262) 6%, oklch(0.12 0.024 262 / 0.92) 42%, oklch(0.12 0.024 262 / 0.25) 70%, oklch(0.12 0.024 262 / 0.5) 100%); }
  .hero-grid { padding-top: 46vw; gap: var(--s5); }
  .hero-actions .btn { width: 100%; }
  .relics { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 112px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter, 16px) * -1); padding: 4px var(--gutter, 16px) var(--s3); scroll-snap-type: x mandatory; translate: none; }
  .relic { scroll-snap-align: start; }
  .relics-hint { display: none; }
  .fresh { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ch { height: 580px; }
  .ch-head { padding: 12px var(--s4); }
  .ch-live { display: none; }
  .ch-log { padding: var(--s3) var(--s4); }
  .ch-opt { grid-template-columns: minmax(0, 1fr) auto; }
  .ch-opt span { display: none; }
  .ch-rows { grid-template-columns: minmax(0, 1fr); }
  .intents { grid-template-columns: minmax(0, 1fr); }
  .intent { grid-template-columns: 64px minmax(0, 1fr); padding: var(--s4); }
  .intent-art { width: 64px; height: 64px; grid-row: auto; }
  .intent ul, .intent-ask ul { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); }
  .books-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .tile-audio, .tile-chat { grid-column: 1 / -1; }
  .tile-audio .tile-media { aspect-ratio: 16 / 10; }
  .tile-chat .tile-media { aspect-ratio: auto; } .tile-chat-body { position: static; }
  .feat-stage.is-live { aspect-ratio: 4 / 5; transition: aspect-ratio 0s; }
  .feat-play small { display: none; }
  .est { grid-template-columns: minmax(0, 1fr); padding: var(--s4); }
  .est-tiers li { grid-template-columns: 70px minmax(0, 1fr); } .est-tiers small { grid-column: 1 / -1; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .faq-item summary { font-size: 17px; padding-inline: var(--s4); }
  .faq-item p { padding: 0 var(--s4) var(--s4) calc(var(--s4) + 20px); }
}
/* phones: the square art becomes a band above the copy, so the relic arc sits over the headline, never behind the lead */
@media (max-width: 600px) {
  .hero { background: oklch(0.12 0.024 262); }
  .hero-art { inset: 0 0 auto 0; height: 74vw; }
  .hero-layer { inset: 0; }
  .hero-layer img { object-position: 50% 8%; }
  .hero-dust { inset: 0; }
  .hero-veil { background: linear-gradient(180deg, oklch(0.12 0.024 262 / 0.55) 0%, oklch(0.12 0.024 262 / 0) 22%, oklch(0.12 0.024 262 / 0) 58%, oklch(0.12 0.024 262 / 0.85) 84%, oklch(0.12 0.024 262) 100%); }
  .hero-grid { padding-top: 66vw; }
  .hero-copy { position: relative; }
  .hero-lead { color: var(--fg); }
}

/* --- motion off: reduced motion, and the lite tier on low-end devices -------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-layer, .hero-dust, .relics { transform: none !important; translate: none !important; transition: none; }
  .hero-layer img, .hero-dust, .fresh-track, .tray-coin, .ch-live i, .relic-art, .plan-art, .ch-typing i { animation: none; }
  .rise, .relic, .ch-msg, .ch-steps li, .est-out > *, .faq-item[open] p, .ch-pop { animation: gm-in-fade 140ms linear both; }
  .slash.is-pulse b, .slash.is-pulse::after, .coin-fx, .feat-play::after { animation: none; }
  .fresh-viewport { overflow-x: auto; }
  .flip-page, .tile { transition: none; }
  .intent::before, .plan::before { display: none; }
}
html.gm-lite .feat-play::after, html.gm-lite .hero-layer img, html.gm-lite .hero-dust, html.gm-lite .relic-art, html.gm-lite .plan-art, html.gm-lite .tray-coin { animation: none; }
html.gm-lite .hero-layer, html.gm-lite .hero-dust, html.gm-lite .relics { transition: none; will-change: auto; }
html.gm-lite .relic, html.gm-lite .fresh, html.gm-lite .ch, html.gm-lite .tray, html.gm-lite .intent, html.gm-lite .tile, html.gm-lite .est, html.gm-lite .plan { backdrop-filter: none; }
html.gm-lite .relic-art::after { mix-blend-mode: normal; }
