:root {
  --bg: #09090a;
  --panel: #111113;
  --panel-2: #171719;
  --line: rgba(242, 242, 234, 0.12);
  --text: #f2f2ea;
  --muted: #9a9a94;
  --green: #c8ff26;
  --green-dark: #28480e;
  --violet: #9b78ff;
  --gold: #e0b872;
  --blue: #6cb4ff;
  --red: #ff6b6b;
  --radius: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; object-fit: contain; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--green);
  color: #09090a;
  font-weight: 800;
}
.skip-link:focus { top: 16px; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 10, .84);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { border-radius: 12px; }
.brand span { display: grid; }
.brand strong { font-size: 17px; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav > a:not(.button) { color: #bdbdb6; font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.desktop-nav > a:hover { color: var(--green); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; top: 48px; right: 0; display: grid; min-width: 230px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #101012; box-shadow: 0 16px 50px rgba(0,0,0,.5); }
.mobile-nav nav a { padding: 11px 12px; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 700; }
.mobile-nav nav a:hover { background: rgba(200,255,38,.08); color: var(--green); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #09090a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(200,255,38,.18); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.button-small { min-height: 42px; padding-inline: 18px; font-size: 11px; }
.button-ghost { border-color: var(--line); background: transparent; color: var(--text); }
.button-ghost:hover { border-color: rgba(200,255,38,.5); color: var(--green); box-shadow: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
  align-items: center;
  min-height: 820px;
  padding-block: 80px 96px;
  gap: 64px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.hero h1, .section-heading h2, .forge-copy h2, .test-panel h2, .final-cta h2, .legal-hero h1 {
  margin: 0;
  font-size: clamp(54px, 7.1vw, 102px);
  line-height: .91;
  letter-spacing: -.072em;
  text-transform: uppercase;
}
.hero h1 em, .forge-copy h2 em, .final-cta h2 em { color: var(--green); font-style: italic; font-weight: 900; }
.hero-lede { max-width: 680px; margin: 32px 0 0; color: #b4b4ae; font-size: clamp(17px, 2vw, 20px); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fine-print { margin: 18px 0 0; color: #6f6f6b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 1.6; text-transform: uppercase; letter-spacing: .04em; }
.hero-visual { position: relative; min-height: 610px; display: grid; place-items: center; }
.suit-burst { position: absolute; width: min(680px, 128%); max-width: none; opacity: .36; filter: saturate(.8); animation: slow-turn 34s linear infinite; }
.app-shot { position: relative; z-index: 2; width: 100%; aspect-ratio: 8 / 5; padding: 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: #060607; box-shadow: 0 26px 80px rgba(0,0,0,.58); overflow: hidden; }
.app-shot img { width: 100%; height: auto; aspect-ratio: 8 / 5; border-radius: 14px; object-fit: contain; }
.hero-shot { width: min(700px, 104%); transform: rotate(1.2deg); animation: float-in .9s cubic-bezier(.2,.8,.2,1) both; }
.screen-label { position: absolute; z-index: 3; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(14,14,16,.88); color: #c5c5be; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; backdrop-filter: blur(10px); }
.label-one { top: 18%; left: -3%; }
.label-two { right: -4%; bottom: 18%; color: var(--green); }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stats-strip div { display: grid; place-items: center; min-height: 150px; border-right: 1px solid var(--line); text-align: center; }
.stats-strip div:last-child { border-right: 0; }
.stats-strip strong { font-size: 44px; line-height: 1; letter-spacing: -.05em; }
.stats-strip span { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }

.intro-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; padding-block: 140px; }
.sticky-heading { align-self: start; position: sticky; top: 118px; }
.section-heading h2, .forge-copy h2, .test-panel h2, .final-cta h2, .legal-hero h1 { font-size: clamp(48px, 6vw, 82px); }
.section-heading > p, .split-heading > p, .forge-copy > p:not(.eyebrow), .test-panel > div > p:not(.eyebrow), .faq-layout .section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.65; }
.screen-stack { display: grid; gap: 26px; }
.screen-feature { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); align-items: center; gap: 30px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(145deg, rgba(40,72,14,.42), var(--panel) 52%); }
.screen-feature.reverse { grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr); }
.screen-feature.reverse > div:first-child { order: 2; }
.screen-feature.gold { background: linear-gradient(145deg, rgba(91,64,20,.35), var(--panel) 52%); }
.screen-feature.blue { background: linear-gradient(145deg, rgba(26,67,94,.34), var(--panel) 52%); }
.screen-feature .app-shot { box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.screen-feature .number { color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.screen-feature.gold .number { color: var(--gold); }
.screen-feature.blue .number { color: var(--blue); }
.screen-feature h3 { margin: 16px 0; font-size: clamp(25px, 3.3vw, 42px); line-height: 1.03; letter-spacing: -.045em; }
.screen-feature p:last-child { color: #aaa9a4; font-size: 14px; line-height: 1.65; }

.games-section { padding-block: 130px; background: #f0f0e8; color: #101011; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; margin-bottom: 64px; }
.games-section .eyebrow { color: #356d0a; }
.games-section .split-heading > p { color: #565650; }
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(16,16,17,.2); border-left: 1px solid rgba(16,16,17,.2); }
.shelf-preview { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(260px, .82fr); align-items: center; gap: 58px; margin-bottom: 66px; padding: 42px; border: 1px solid rgba(16,16,17,.16); border-radius: var(--radius); background: linear-gradient(135deg, #dfe7d5, #fff 55%); overflow: hidden; }
.shelf-preview .app-shot { box-shadow: 0 24px 55px rgba(17,17,18,.24); }
.shelf-preview .eyebrow { color: #356d0a; }
.shelf-preview h3 { margin: 10px 0 16px; font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -.05em; }
.shelf-preview p:last-child { max-width: 580px; color: #61615c; font-size: 15px; line-height: 1.65; }
.game-grid article { min-height: 230px; padding: 28px; border-right: 1px solid rgba(16,16,17,.2); border-bottom: 1px solid rgba(16,16,17,.2); transition: background .2s ease, transform .2s ease; }
.game-grid article:hover { background: #fff; transform: translateY(-3px); }
.game-glyph { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 44px; border: 1px solid rgba(16,16,17,.18); border-radius: 11px; background: #fff; font-family: Georgia, serif; font-weight: 900; }
.game-glyph.red { color: #c43737; }
.game-glyph.gold { color: #916418; }
.game-glyph.green { color: #2e7b46; }
.game-glyph.violet { color: #6d49d4; }
.game-grid h3 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.game-grid p { margin: 8px 0 0; color: #64645f; font-size: 13px; line-height: 1.55; }

.forge-section { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 64px; padding-block: 140px; }
.forge-copy h2 em { color: var(--violet); }
.violet-text { color: var(--violet); }
.check-list { display: grid; gap: 11px; margin: 32px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 26px; color: #c3c3bd; font-size: 14px; }
.check-list li::before { content: "◆"; position: absolute; left: 0; color: var(--violet); font-size: 10px; top: 3px; }
.forge-shot { margin: 0; padding: 12px; border: 1px solid rgba(155,120,255,.3); border-radius: var(--radius); background: linear-gradient(145deg, rgba(155,120,255,.13), transparent 45%); box-shadow: 0 30px 80px rgba(0,0,0,.4); transform: rotate(1deg); }
.forge-shot img { width: 100%; height: auto; aspect-ratio: 8 / 5; border-radius: 13px; object-fit: contain; }
.forge-shot figcaption { padding: 12px 6px 2px; color: #777771; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }

.feature-section { padding-block: 130px; border-block: 1px solid var(--line); background: radial-gradient(circle at 78% 30%, rgba(108,180,255,.08), transparent 34%); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid article { min-height: 260px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid span { color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.feature-grid h3 { margin: 62px 0 10px; font-size: 21px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.test-section { padding-block: 140px; }
.test-panel { position: relative; padding: 70px; border: 1px solid rgba(200,255,38,.28); border-radius: 30px; background: linear-gradient(135deg, rgba(40,72,14,.45), #111113 48%, rgba(108,180,255,.08)); overflow: hidden; }
.test-panel::after { content: "CF"; position: absolute; right: -26px; top: -80px; color: rgba(255,255,255,.025); font-size: 300px; font-weight: 950; letter-spacing: -.09em; }
.test-panel > * { position: relative; z-index: 1; }
.test-panel > div:first-child { max-width: 680px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 54px 0 34px; }
.timeline-item { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: rgba(10,10,11,.54); }
.timeline-item.current { border-color: rgba(200,255,38,.45); }
.timeline-item span { color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.timeline-item.current span { color: var(--green); }
.timeline-item strong { display: block; margin-top: 11px; font-size: 16px; }
.timeline-item p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.faq-section { padding-block: 140px; border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 26px 54px 26px 0; font-size: 18px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 10px; top: 22px; color: var(--green); font-size: 28px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 720px; margin: -4px 54px 28px 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.faq-list details a { color: var(--green); }

.final-cta { display: grid; justify-items: center; padding-block: 130px 150px; text-align: center; }
.final-cta img { margin-bottom: 32px; border-radius: 28px; }
.final-cta h2 { margin-bottom: 38px; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; padding: 32px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { border-radius: 10px; }
.footer-brand div { display: grid; }
.footer-brand span { color: var(--muted); font-size: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: #aaa9a4; font-size: 11px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .07em; }
.site-footer a:hover { color: var(--green); }
.site-footer > p { margin: 0; color: #62625e; font-size: 10px; }

/* Legal, terms, and support pages */
.subpage .site-header { position: static; }
.legal-main { min-height: 70vh; }
.legal-hero { padding-block: 90px 52px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 900px; }
.legal-hero p:last-child { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: 17px; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 80px; padding-block: 70px 110px; }
.legal-meta { color: #787873; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 1.7; text-transform: uppercase; letter-spacing: .06em; }
.legal-copy { display: grid; gap: 34px; }
.legal-copy section { scroll-margin-top: 24px; }
.legal-copy h2 { margin: 0 0 12px; font-size: 25px; letter-spacing: -.035em; }
.legal-copy h3 { margin: 22px 0 8px; font-size: 16px; }
.legal-copy p, .legal-copy li { color: #aaa9a4; font-size: 14px; line-height: 1.75; }
.legal-copy ul, .legal-copy ol { padding-left: 22px; }
.legal-callout { padding: 20px; border: 1px solid rgba(108,180,255,.3); border-radius: 14px; background: rgba(108,180,255,.06); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.support-card { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.support-card h3 { margin-top: 0; }
.support-card p { margin-bottom: 0; }

@keyframes float-in { from { opacity: 0; transform: translateY(28px) rotate(2.4deg); } to { opacity: 1; transform: translateY(0) rotate(1.2deg); } }
@keyframes slow-turn { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 76px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 560px; }
  .intro-grid, .forge-section, .faq-layout { grid-template-columns: 1fr; }
  .sticky-heading { position: static; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 30px, 1180px); }
  .site-header { min-height: 66px; padding: 10px 15px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 15px; }
  .brand small { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero { padding-block: 58px 74px; gap: 30px; }
  .hero h1 { font-size: clamp(48px, 15.5vw, 70px); }
  .hero-lede { margin-top: 24px; font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { min-height: 360px; }
  .hero-shot { width: 100%; transform: none; }
  .label-one { left: 0; top: 12%; }
  .label-two { right: 0; bottom: 9%; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip div { min-height: 118px; border-bottom: 1px solid var(--line); }
  .stats-strip div:nth-child(2) { border-right: 0; }
  .intro-grid, .forge-section, .feature-section, .test-section, .faq-section { padding-block: 84px; }
  .screen-feature, .screen-feature.reverse { grid-template-columns: 1fr; padding: 28px 22px 0; }
  .screen-feature.reverse > div:first-child { order: 0; }
  .screen-feature .app-shot { justify-self: center; }
  .games-section { padding-block: 84px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .shelf-preview { grid-template-columns: 1fr; padding: 30px 22px; }
  .shelf-preview .app-shot { justify-self: center; width: 100%; }
  .game-grid article { min-height: 205px; padding: 20px; }
  .game-glyph { margin-bottom: 32px; }
  .forge-shot { transform: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 220px; }
  .test-panel { padding: 34px 22px; border-radius: 22px; }
  .test-panel .button { width: 100%; }
  .faq-layout { gap: 44px; }
  .final-cta { padding-block: 90px 110px; }
  .site-footer nav { gap: 14px 20px; }
  .legal-hero { padding-block: 64px 36px; }
  .legal-layout { padding-block: 48px 80px; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
