/* Hallmark · shape: Split Studio · genre: modern-minimal · theme: Rim (deal 2/3, seed flashx-crypto-trading-app-73c0·552c6fa6·2026-11-16·r0) · job: try · draw: 4a24d4
 * hero: Stage · nav: bar · footer: columns · imagery: a drawn picture of the promise (rain in front of the mark, a cover that opens under the pointer) and four moving symbols; no screenshots · signature: four small cards, each a moving symbol, whose rims light under the pointer
 * axes: dark/grotesk-sans/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: V, one accent only, so the yellow light, the cover line and the buttons carry the colour */
/* waive: 48 on astryx.css · the library's own theme file defines its tokens on its scope; this page overrides them from :root tokens in .ax
 * waive: 39b · the Astryx number field is 52px tall; the linter measures the bare input inside it
 * waive: 47a · the screen sits in a phone, asked for by name; it is a plain slab with no drawn hardware
 * waive: benchmark · rounded cards, a two-tone headline, one soft light behind the hero and a bento of working demos follow the reference the brief named, over Rim's square, single-tone, flat defaults
 * waive: sections · two sections by request: the product, and what you can do with it
 * waive: mono · amounts are set in the text face with tabular figures
 * waive: brand · FlashX's own yellow and Geist replace Rim's orange and Switzer; controls are Astryx components by request */
@import url("./tokens.css?v=2");
@import url("./base.css?v=2");

/* Astryx controls: the library's own markup and CSS, themed to this page through its tokens */
.ax { display: contents; --color-accent: var(--fx-yellow); --color-on-accent: var(--fx-on-yellow); --color-text-primary: var(--color-ink); --color-text-secondary: var(--color-muted); --color-neutral: var(--color-rule); --color-border: var(--color-muted-2); --color-border-emphasized: var(--color-muted); --color-background-surface: var(--color-paper); --color-background-body: var(--color-paper); --radius-element: 999px; --radius-inner: 999px; --radius-container: 16px; --radius-full: 999px; --font-family-body: var(--font-body); --font-family-heading: var(--font-display); --size-element-md: 44px; --size-element-lg: 52px; --font-size-base: 1rem; --spacing-3: 1.375rem; }
.ax [role="group"] { flex-wrap: wrap; max-width: 100%; }
.ax input { font-variant-numeric: tabular-nums; }
.ax .astryx-button { transition: transform var(--dur-micro) var(--ease-out); }
.ax .astryx-button:active { transform: scale(0.97); }

a.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-tooltip); background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-sm); }
a.skip:focus-visible { top: var(--space-xs); }
.dim { color: var(--color-muted-2); }
h1, h2 { letter-spacing: -0.045em; }
h2 { font-size: var(--text-section); max-width: 22ch; }

/* nav: a quiet dark bar that stays with you */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.nav .container { display: flex; align-items: center; gap: var(--space-lg); height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); font-weight: 600; font-size: var(--text-lg); letter-spacing: -0.02em; text-decoration: none; color: var(--color-ink); }
.brand svg { width: 16px; height: 22px; fill: var(--fx-yellow); }
.nav-links { display: flex; align-items: center; gap: var(--space-2xs); margin-left: auto; margin-right: var(--space-md); font-size: var(--text-sm); font-weight: 500; }
.nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-sm); text-decoration: none; color: var(--color-ink-2); transition: color var(--dur-short) var(--ease-out); }
.nav-links a::after { content: ""; position: absolute; left: var(--space-sm); right: var(--space-sm); bottom: 10px; height: 1px; background: var(--fx-yellow); transform: scaleX(0); transform-origin: left; transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--color-ink); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

/* the frame: faint guide lines down the page, with a cross where a section begins */
.frame { position: relative; }
.section, .close { position: relative; border-top: var(--rule-hair) solid var(--color-rule-2); }
.section > .frame::before, .section > .frame::after, .close > .frame::before, .close > .frame::after { content: "+"; position: absolute; top: calc(-1 * (var(--section-pad) + 11px)); font-size: var(--text-md); line-height: 20px; color: var(--color-muted-2); pointer-events: none; }
.section > .frame::before, .close > .frame::before { left: calc(max(var(--gutter), env(safe-area-inset-left, 0px)) - 5px); }
.section > .frame::after, .close > .frame::after { right: calc(max(var(--gutter), env(safe-area-inset-right, 0px)) - 5px); }
.section { --section-pad: calc(var(--section-gap) / 2 + 24px); padding-block: var(--section-pad); }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: var(--space-2xl) var(--space-2xl); }
#cover { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero > .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.2vw + 0.5rem, 4.5rem); line-height: 1.02; max-width: none; }
.hero h1 .line { display: block; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 40ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero-art { display: grid; justify-items: center; gap: var(--space-xs); }
.logo-spot { width: 100%; height: min(56vh, 520px); }
.phone { --phone-gap: 8px; --phone-radius: 44px; width: min(100%, 300px); padding: var(--phone-gap); border-radius: var(--phone-radius); background: var(--color-rule); }
.phone-screen { overflow: hidden; border-radius: calc(var(--phone-radius) - var(--phone-gap)); aspect-ratio: 1 / 2; background: var(--color-paper-3); }
.phone video { display: block; width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl); margin: var(--space-2xl) 0 0; }
.facts div { margin: 0; }
.facts dt { font-size: var(--text-display-s); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts dd { margin: var(--space-xs) 0 0; font-size: var(--text-md); color: var(--color-muted); max-width: 22ch; }
[data-pop] span { display: inline-block; }
.js .is-in[data-pop] span, .js .hero [data-pop] span { animation: pop 500ms cubic-bezier(0.34, 1.45, 0.64, 1) both; animation-delay: calc(600ms + var(--i, 0) * 70ms); }
@keyframes pop { from { transform: translateY(0.18em); opacity: 0; filter: blur(2px); } }

/* what you can do: four small cards, each a moving symbol; the rim lights up under the pointer */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-2xl); perspective: 1200px; }
.card { position: relative; display: flex; flex-direction: column; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); box-shadow: inset 0 0 0 1px var(--color-rule-2); isolation: isolate; }
.js .card.reveal.is-in { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1), opacity 700ms cubic-bezier(0.22, 1, 0.36, 1); }
/* the rim: a ring of light, strongest where the pointer is */
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; padding: 1.5px; border-radius: inherit; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), var(--fx-yellow), color-mix(in oklab, var(--fx-yellow) 30%, transparent) 45%, transparent 75%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1); pointer-events: none; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), color-mix(in oklab, var(--fx-yellow) 14%, transparent), transparent 70%); opacity: 0; transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1); pointer-events: none; }
.card:hover::before, .card:hover::after, .card:focus-within::before { opacity: 1; }
.card:hover { box-shadow: inset 0 0 0 1px var(--color-rule-2), 0 0 48px -12px color-mix(in oklab, var(--fx-yellow) 55%, transparent); }
.card h3 { margin-top: var(--space-lg); font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.03em; }
.card p { margin-top: var(--space-2xs); color: var(--color-ink-2); }
.sym { position: relative; display: grid; place-items: center; height: 150px; border-radius: 12px; background: var(--color-paper-3); overflow: hidden; }
.sym svg { width: 100%; height: 100%; }
/* flash order: two drops become one */
.orb { transform-box: fill-box; transform-origin: center; }
.o-perp { fill: var(--color-ink); transform: translateX(-34px); }
.o-cover { fill: var(--fx-yellow); transform: translateX(34px); }
.bolt { fill: var(--fx-on-yellow); opacity: 0; }
.js .card.is-in .o-perp { animation: meet-l 5s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.js .card.is-in .o-cover { animation: meet-r 5s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.js .card.is-in .bolt { animation: bolt 5s cubic-bezier(0.34, 1.45, 0.64, 1) infinite; }
@keyframes meet-l { 0%, 18% { transform: translateX(-46px); } 42%, 78% { transform: translateX(-4px) scale(1.12); } 100% { transform: translateX(-46px); } }
@keyframes meet-r { 0%, 18% { transform: translateX(46px); } 42%, 78% { transform: translateX(4px) scale(1.12); } 100% { transform: translateX(46px); } }
@keyframes bolt { 0%, 44% { opacity: 0; transform: translate(88px, 42px) scale(0.3); } 54%, 76% { opacity: 1; transform: translate(88px, 42px) scale(0.55); } 84%, 100% { opacity: 0; transform: translate(88px, 42px) scale(0.55); } }
/* perps: a gauge that sweeps up to 40x */
.s-gauge svg { padding-top: var(--space-sm); }
.s-gauge line { stroke: var(--color-rule); stroke-width: 3; stroke-linecap: round; }
.js .card.is-in .s-gauge line { animation: lit 6s linear infinite; animation-delay: calc(var(--i) * 70ms); }
@keyframes lit { 0%, 4% { stroke: var(--color-rule); } 8%, 58% { stroke: var(--fx-yellow); } 66%, 100% { stroke: var(--color-rule); } }
.g-num { position: absolute; left: 50%; bottom: 14px; height: 40px; overflow: hidden; transform: translateX(-50%); font-size: var(--text-3xl); font-weight: 500; letter-spacing: -0.04em; line-height: 40px; font-variant-numeric: tabular-nums; }
.reel { display: grid; transform: translateY(-120px); }
.reel b { height: 40px; font-weight: 500; text-align: center; }
.js .card.is-in .reel { animation: reel 6s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
@keyframes reel { 0%, 6% { transform: translateY(0); } 12%, 16% { transform: translateY(-40px); } 22%, 26% { transform: translateY(-80px); } 32%, 92% { transform: translateY(-120px); } 100% { transform: translateY(0); } }
/* options: one switch, up or down; the drop stretches as it travels */
.sw { position: relative; display: grid; grid-template-rows: 1fr 1fr; place-items: center; width: 56px; height: 112px; border-radius: 28px; background: var(--color-rule-2); font-size: var(--text-xl); font-weight: 600; }
.sw span { position: relative; z-index: 1; color: var(--color-muted); }
.drop { position: absolute; left: 6px; top: 6px; width: 44px; height: 44px; border-radius: 22px; background: var(--color-success); transform-origin: center; }
.js .card.is-in .drop { animation: drop-move 4.8s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.js .card.is-in .sw-up { animation: ink-up 4.8s linear infinite; }
.js .card.is-in .sw-dn { animation: ink-dn 4.8s linear infinite; }
@keyframes drop-move { 0%, 34% { transform: translateY(0); background: var(--color-success); } 42% { transform: translateY(28px) scaleY(1.5) scaleX(0.86); } 50%, 84% { transform: translateY(56px); background: var(--color-error); } 92% { transform: translateY(28px) scaleY(1.5) scaleX(0.86); } 100% { transform: translateY(0); background: var(--color-success); } }
@keyframes ink-up { 0%, 38% { color: var(--color-paper); } 46%, 90% { color: var(--color-muted); } 100% { color: var(--color-paper); } }
@keyframes ink-dn { 0%, 40% { color: var(--color-muted); } 50%, 86% { color: var(--color-paper); } 96%, 100% { color: var(--color-muted); } }
.sw-up { color: var(--color-paper); }
/* parlays: three tickets fan out and close into one stack */
.tk { position: absolute; display: grid; place-items: center; width: 84px; height: 104px; border-radius: 12px; background: var(--color-paper-2); box-shadow: inset 0 0 0 1px var(--color-rule); }
.tk i { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--fx-yellow); }
.tk i::after { content: ""; position: absolute; left: 9px; top: 5px; width: 6px; height: 12px; border: solid var(--fx-on-yellow); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.t1 { background: var(--color-rule-2); }
.t2 { transform: translateX(-52px) rotate(-10deg); }
.t3 { transform: translateX(52px) rotate(10deg); }
.js .card.is-in .t2 { animation: fan-l 5s cubic-bezier(0.34, 1.3, 0.64, 1) infinite; }
.js .card.is-in .t3 { animation: fan-r 5s cubic-bezier(0.34, 1.3, 0.64, 1) infinite; }
.js .card.is-in .t1 { animation: lift 5s cubic-bezier(0.34, 1.3, 0.64, 1) infinite; }
@keyframes fan-l { 0%, 12% { transform: translate(-4px, 4px) rotate(-3deg); } 34%, 70% { transform: translateX(-56px) rotate(-12deg); } 92%, 100% { transform: translate(-4px, 4px) rotate(-3deg); } }
@keyframes fan-r { 0%, 12% { transform: translate(4px, 4px) rotate(3deg); } 34%, 70% { transform: translateX(56px) rotate(12deg); } 92%, 100% { transform: translate(4px, 4px) rotate(3deg); } }
@keyframes lift { 0%, 12% { transform: none; } 34%, 70% { transform: translateY(-8px); } 92%, 100% { transform: none; } }
.end { display: grid; justify-items: center; margin-top: var(--space-2xl); }

/* the close, and the name written large */
.giant { margin: 0 0 var(--space-lg); text-align: center; font-size: clamp(6rem, 25vw, 26rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.86; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--color-muted-2); background: linear-gradient(to bottom, var(--color-rule), transparent 90%); -webkit-background-clip: text; background-clip: text; user-select: none; }

.footer { position: relative; overflow: hidden; border-top: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper-3); color: var(--color-ink); padding-block: var(--space-xl) var(--space-2xl); }
.foot-grid { position: relative; margin-top: var(--space-xl); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: var(--space-xl); }
.foot-grid p { margin-top: var(--space-sm); color: var(--color-muted); }
.foot-h { margin-bottom: var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.footer nav a, .footer nav span { display: block; padding-block: var(--space-2xs); text-decoration: none; color: var(--color-ink-2); min-height: 32px; }
.footer nav span { color: var(--color-muted); }
.footer nav a:hover { color: var(--fx-yellow); }
.risk { margin-top: var(--space-xl); max-width: 60ch; font-size: var(--text-sm); color: var(--color-muted); }
.risk + .risk { margin-top: var(--space-xs); }

/* entrances: the headline's lines and the phone rise in on load; sections rise as they come into view */
@keyframes rise { from { opacity: 0; transform: translateY(var(--space-lg)); } }
.hero .line, .hero .lead, .hero .actions, .hero-art, .facts { animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.hero .line.dim { animation-delay: 90ms; }
.hero .lead { animation-delay: 180ms; }
.hero .actions { animation-delay: 260ms; }
.hero-art { animation-delay: 200ms; }
.facts { animation-delay: 420ms; }
.js .reveal { opacity: 0.3; transform: translateY(var(--space-xl)); transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1), background-color var(--dur-short) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .bento .reveal:nth-child(2) { transition-delay: 70ms; }
.js .bento .reveal:nth-child(3) { transition-delay: 140ms; }
.js .bento .reveal:nth-child(4) { transition-delay: 210ms; }

@media (min-width: 68rem) { .hero h1 .line { white-space: nowrap; } }
@media (max-width: 68rem) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
  .nav .container > .ax { margin-left: auto; }
}
@media (max-width: 60rem) {
  .hero-grid, .try-head, .split, .faq-wrap, .foot-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .try-controls { justify-self: start; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-spot { height: 300px; }
  .section { --section-pad: var(--space-3xl); }
}
@media (max-width: 40rem) {
  .bento { gap: var(--space-sm); }
  .card { padding: var(--space-md); }
  .sym { height: 124px; }
  .try-controls { grid-template-columns: minmax(0, 1fr); }
  .sim-move .num { font-size: var(--text-2xl); }
  .actions { flex-direction: column; align-items: flex-start; }
  .close .actions { align-items: center; }
  .fq > button { font-size: var(--text-md); }
}
@media (prefers-reduced-motion: reduce) {
  .glow, .chip::before, .js .card.is-in *, .hero .line, .hero .lead, .hero .actions, .hero-art, .facts, .pair > .is-hit, [data-pop] span { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fq, .fa, .fa p, .fq i { transition: none; }
}
