@font-face { font-family: "Bungee"; src: url("/blockslash/fonts/bungee.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/blockslash/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --bg: #160C36;
  --bg-2: #22145A;
  --bg-3: #321C78;
  --well: #120A2E;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --text: #FFFFFF;
  --muted: #CFC6F2;
  --faint: #9D93C9;
  --gold: #FFC233;
  --gold-2: #FF9F1C;
  --gold-ink: #3A1D00;
  --ruby: #FF4D6D;
  --sapphire: #3D8BFF;
  --mint: #2EE59D;
  --grape: #B26BFF;
  --radius: 22px;
  --display: "Bungee", "Arial Black", Impact, sans-serif;
  --font: "Figtree", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg) linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #FFE08A; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 12px; font-weight: 800; z-index: 50; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 780px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.02em; }
.brand img { border-radius: 9px; }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: var(--surface); }
@media (max-width: 860px) { .nav { display: none; } .site-header .btn { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px; border-radius: 16px; text-decoration: none; font-weight: 800; line-height: 1.15;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn small { display: block; font-size: 0.72rem; font-weight: 700; opacity: .8; letter-spacing: .02em; }
.btn strong { display: block; font-size: 1.1rem; }
.btn-gold { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%); color: var(--gold-ink); box-shadow: 0 5px 0 #C46A00, 0 14px 28px -10px rgba(255, 159, 28, .6); }
.btn-gold:hover { color: var(--gold-ink); transform: translateY(-1px); }
.btn-gold:active { transform: translateY(3px); box-shadow: 0 2px 0 #C46A00; }
.btn-sm { padding: 9px 16px; border-radius: 12px; font-size: .92rem; box-shadow: 0 3px 0 #C46A00; }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, .16); }
.store-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.store-badge img { display: block; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-note { color: var(--faint); font-size: .9rem; margin: 12px 0 0; }

/* Hero */
.hero { position: relative; isolation: isolate; padding: 72px 0 64px; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 12, 54, .94) 0%, rgba(22, 12, 54, .78) 42%, rgba(22, 12, 54, .25) 75%, rgba(22, 12, 54, .15) 100%),
    linear-gradient(180deg, rgba(22, 12, 54, 0) 60%, var(--bg) 100%);
}
@media (max-width: 700px) {
  .hero { min-height: 0; padding: 44px 0 40px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(22, 12, 54, .55) 0%, rgba(22, 12, 54, .9) 55%, var(--bg) 100%); }
}
.hero-copy { max-width: 1120px; }
.hero-copy > * { max-width: 560px; }
.eyebrow { margin: 0 0 10px; color: var(--mint); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
h1, .section-title, .guide h2 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; }
.hero h1 { font-size: clamp(2.7rem, 7.5vw, 5rem); line-height: .98; margin: 0 0 14px; text-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.hero h1 .sub { display: block; font-size: .42em; color: var(--gold); margin-top: 10px; letter-spacing: .04em; }
.tagline { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 800; margin: 0 0 12px; }
.pitch { color: var(--muted); margin: 0 0 26px; font-size: 1.1rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 0; }
.chips li { background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: .85rem; font-weight: 700; color: var(--muted); }

/* Sections */
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 88px 0; } }
.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.1; margin: 0 0 12px; }
.section-lead { color: var(--muted); margin: 0 0 30px; max-width: 40rem; font-size: 1.1rem; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr .9fr; gap: 64px; } .split.reverse > :first-child { order: 2; } .split.tight { grid-template-columns: 1.3fr .7fr; gap: 40px; } }
.split p { color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; margin-top: 8px; }
.link-arrow svg { transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--muted); }
.steps li strong { color: var(--text); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 15px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--display); color: var(--gold-ink); background: var(--gold); }

.diagram { margin: 0; text-align: center; }
.diagram figcaption, .shape-grid figcaption { color: var(--faint); font-size: .92rem; margin-top: 10px; }
.wall-svg { display: inline-block; width: auto; max-width: 100%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }

.phone { margin: 0; justify-self: center; max-width: 300px; }
.phone img { border-radius: 30px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgba(0, 0, 0, .6); }

/* Screenshots */
.shots-section { padding-bottom: 40px; }
.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 24px; scrollbar-width: thin; }
@media (min-width: 1176px) { .shots { padding-left: calc((100vw - 1120px) / 2 + 28px); } }
.shot { flex: 0 0 auto; width: min(62vw, 260px); margin: 0; scroll-snap-align: center; }
.shot img { display: block; width: 100%; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -18px rgba(0, 0, 0, .6); }
.shot figcaption { font-weight: 700; color: var(--muted); font-size: .92rem; margin-top: 10px; text-align: center; }

.share { background: var(--well); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 1rem; line-height: 1.5; white-space: pre; overflow-x: auto; color: var(--text); }
.race-no { color: var(--gold); }

/* Cards */
.cards { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 14px 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.block { --c-light: #FFE08A; --c-base: #FFC233; --c-dark: #E09A00; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; font-size: 1rem; background: linear-gradient(180deg, var(--c-light), var(--c-base) 55%, var(--c-dark)); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 6px 14px -6px var(--c-base); }
.ruby { --c-light: #FF8FA3; --c-base: #FF4D6D; --c-dark: #D6264A; }
.sapphire { --c-light: #8CBCFF; --c-base: #3D8BFF; --c-dark: #1F5FD6; }
.mint { --c-light: #8CF5C9; --c-base: #2EE59D; --c-dark: #13B576; }
.grape { --c-light: #D9B3FF; --c-base: #B26BFF; --c-dark: #8A3FE0; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 18px 14px; color: var(--muted); }
.faq details > div p { margin: 0 0 6px; }

.closing { text-align: center; }
.closing .section-lead { margin-left: auto; margin-right: auto; }
.closing .cta { justify-content: center; }

/* Guide pages */
.guide { padding-top: 32px; padding-bottom: 72px; }
.crumbs { color: var(--faint); font-size: .9rem; margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.guide h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); line-height: 1.05; margin: 0 0 14px; }
.guide .lede { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; }
.guide h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 48px 0 12px; scroll-margin-top: 84px; }
.guide h3 { margin: 26px 0 8px; }
.guide p, .guide li, .guide dd { color: var(--muted); }
.guide strong { color: var(--text); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.toc a { font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.toc a:hover { color: var(--text); }
.shape-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; align-items: end; margin: 20px 0; }
.shape-grid figure { margin: 0; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 10px 10px; }
.shape-grid figcaption { font-weight: 800; color: var(--text); }
.defs { display: grid; gap: 12px; margin: 16px 0; }
.defs dt { font-weight: 900; color: var(--gold); }
.defs dd { margin: 2px 0 0; }
@media (min-width: 640px) { .defs { grid-template-columns: 140px 1fr; } .defs dd { margin: 0; } }
.tips { padding-left: 1.3em; display: grid; gap: 10px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 6px; background: var(--mint); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.end-cta { margin-top: 56px; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); }
.end-cta h2 { margin-top: 0; }
.contact-card { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.contact-card p { margin: 0; color: var(--muted); }

/* Prose (legal) */
.prose h2 { font-family: var(--font); font-weight: 900; font-size: 1.25rem; letter-spacing: 0; margin-top: 36px; }
.prose ul { padding-left: 1.2em; }

/* Press */
.press-grid { display: grid; gap: 32px; margin-top: 24px; }
@media (min-width: 900px) { .press-grid { grid-template-columns: .8fr 1.2fr; } }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.facts dt { color: var(--faint); font-weight: 700; font-size: .92rem; }
.facts dd { margin: 0; color: var(--text); }
.press-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.press-shots img { border-radius: 16px; box-shadow: 0 0 0 1px var(--line); display: block; }
.press-art { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; }
.press-art figure { margin: 0; }
.press-art img { border-radius: 18px; display: block; }
.press-art figcaption { margin-top: 8px; font-size: .92rem; }
.note { color: var(--faint); font-size: .92rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; background: rgba(0, 0, 0, .18); }
.site-footer > .wrap:first-child { display: grid; gap: 36px; }
@media (min-width: 860px) { .site-footer > .wrap:first-child { grid-template-columns: 1fr 1.2fr; } }
.foot-brand p { color: var(--muted); max-width: 26rem; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.foot-cols h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.foot-cols a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; font-weight: 600; overflow-wrap: anywhere; }
.foot-cols a:hover { color: var(--text); }
.legal p { color: var(--faint); font-size: .8rem; margin: 32px 0 0; }
.press-grid section { padding: 0; }
.diagram .wall-svg { width: min(100%, 340px); }
.guide .diagram { margin: 24px 0; }
