/* cosmicmerge site — the game's own palette and typeface.
 * One family (Outfit), solid colour type throughout: the app removed every
 * gradient from its text and buttons, and the site follows it. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;800;900&display=swap');

:root {
  --bg: #0D0720;
  --field: #1E1140;
  --panel: #1B1038;
  --edge: #3B2270;
  --ink: #EEF2FF;
  --dim: rgba(238, 242, 255, .68);
  --faint: rgba(238, 242, 255, .42);
  --violet: #A78BFA;
  --cyan: #22D3EE;
  --gold: #FDE047;
  --gold-ink: #1A0B33;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 18px/1.6 'Outfit', -apple-system, system-ui, 'Segoe UI', sans-serif;
  background-image:
    radial-gradient(60% 40% at 15% 0%, rgba(167, 139, 250, .22), transparent 70%),
    radial-gradient(50% 35% at 95% 20%, rgba(34, 211, 238, .12), transparent 70%);
  background-repeat: no-repeat;
}
img, video { max-width: 100%; display: block; }
a { color: var(--cyan); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 22px; }

/* ---- header ---- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none;
  font-weight: 800; letter-spacing: 2.5px; font-size: 15px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.top nav a { color: var(--dim); text-decoration: none; margin-left: 20px; font-size: 16px; }
.top nav a:hover { color: var(--ink); }

/* ---- hero ---- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  padding-block: 40px 90px; }
.hero h1 { font-size: clamp(52px, 7.4vw, 96px); line-height: .98; letter-spacing: -2.5px;
  font-weight: 900; margin: 0; }
.hero h1 span { display: block; color: var(--cyan); }
.hero p.lede { font-size: clamp(19px, 2vw, 22px); color: var(--dim); max-width: 30ch;
  margin: 26px 0 34px; }
.cta { display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px;
  border-radius: 999px; background: var(--gold); color: var(--gold-ink);
  font-weight: 800; font-size: 19px; text-decoration: none; border: 0;
  box-shadow: 0 6px 0 #8A5A0B, 0 0 60px rgba(253, 224, 71, .28); }
.cta.soon { cursor: default; }
.cta small { font-weight: 600; opacity: .7; font-size: 15px; }
.note { margin-top: 18px; color: var(--faint); font-size: 15px; }

.reel { justify-self: center; width: min(100%, 380px); aspect-ratio: 886 / 1920;
  border-radius: 38px; overflow: hidden; background: var(--panel);
  border: 2px solid rgba(167, 139, 250, .45);
  box-shadow: 0 0 120px rgba(139, 92, 246, .45), 0 40px 90px rgba(0, 0, 0, .6); }
.reel video { width: 100%; height: 100%; object-fit: cover; }

/* ---- sections ---- */
section { padding-block: 70px; }
section h2, .closing h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -1.2px;
  font-weight: 900; margin: 0 0 14px; }
section h2 span, .closing h2 span { color: var(--violet); }
section .intro, .closing .intro { color: var(--dim); max-width: 56ch; margin: 0 0 40px; font-size: 19px; }

/* how it plays: genuinely a sequence, so it is numbered */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none;
  padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; }
.steps figure { margin: 0; border-radius: 26px; overflow: hidden; background: var(--panel);
  border: 1px solid var(--edge); }
.steps img { width: 100%; aspect-ratio: 1320 / 2300; object-fit: cover; object-position: bottom; }
/* The store frames carry their own headline in the top fifth; the section
   heading already says it, so the crop starts below it. */
.steps h3 { margin: 18px 0 4px; font-size: 22px; }
.steps h3::before { content: counter(step); color: var(--gold); margin-right: 10px; }
.steps p { margin: 0; color: var(--dim); }

/* the ladder: bodies climbing left to right */
.ladder { display: flex; align-items: flex-end; gap: 6px; overflow-x: auto;
  padding: 10px 0 18px; scrollbar-width: thin; }
.rung { flex: 0 0 auto; text-align: center; }
.rung img { mix-blend-mode: screen; margin: 0 auto;
  -webkit-mask-image: radial-gradient(closest-side circle, #000 62%, rgba(0,0,0,.5) 82%, transparent 100%);
          mask-image: radial-gradient(closest-side circle, #000 62%, rgba(0,0,0,.5) 82%, transparent 100%); }
.rung b { display: block; font-size: 16px; font-weight: 700; margin-top: -8px; }
.rung i { font-style: normal; color: var(--cyan); font-size: 14px; letter-spacing: 1px; }

/* powers */
.powers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.power { background: linear-gradient(180deg, #2A1856, var(--panel)); border: 2px solid var(--edge);
  border-radius: 26px; padding: 28px 24px; }
.power .ic { font-family: 'Material Symbols Rounded'; font-size: 46px; line-height: 1;
  color: var(--ink); text-shadow: 0 0 30px rgba(167, 139, 250, .9); }
.power h3 { margin: 16px 0 6px; font-size: 22px; }
.power p { margin: 0; color: var(--dim); font-size: 16.5px; }

/* the kind-to-you list */
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px;
  list-style: none; padding: 0; margin: 0; }
.promises li { padding-left: 34px; position: relative; color: var(--dim); }
.promises li b { color: var(--ink); display: block; font-weight: 700; }
.promises li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }

.closing { text-align: center; padding-block: 90px; }
.closing img.icon { width: 120px; height: 120px; border-radius: 28px; margin: 0 auto 26px;
  box-shadow: 0 0 90px rgba(139, 92, 246, .6); }

/* ---- footer ---- */
footer { border-top: 1px solid var(--edge); padding-block: 34px 50px; color: var(--faint);
  font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--dim); text-decoration: none; margin-right: 20px; }
footer a:hover { color: var(--ink); }

/* ---- legal and support pages ---- */
.doc { max-width: 720px; padding-block: 30px 90px; }
.doc h1 { font-size: clamp(38px, 5vw, 54px); letter-spacing: -1px; line-height: 1.05; margin: 10px 0 16px; }
.doc h2 { font-size: 21px; margin: 38px 0 8px; }
.doc p, .doc li { color: var(--dim); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-block: 16px 60px; }
  .hero .copy { text-align: center; }
  .hero p.lede { margin-inline: auto; }
  .steps, .powers { grid-template-columns: 1fr; }
  .steps img { max-height: 620px; }
  .promises { grid-template-columns: 1fr; }
  .top nav a { margin-left: 14px; font-size: 15px; }
}
@media (max-width: 420px) {
  .top nav a:not(:last-child) { display: none; }
}
