@font-face { font-family: "Silkscreen"; src: url("/assets/fonts/Silkscreen.ttf") format("truetype"); font-display: swap; }
:root {
  --night: #10142e; --night-2: #181d44; --ink: #14131f; --cream: #fff8ec; --muted: #b9bbd6;
  --gold: #ffd23f; --sunset: #f0965c; --rose: #c04c6e; --leaf: #7ec260; --line: #2c3266;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--cream);
  font: 400 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0;
}
img { max-width: 100%; height: auto; image-rendering: pixelated; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
.pixel { font-family: "Silkscreen", ui-monospace, monospace; letter-spacing: 0; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(16, 20, 46, .92); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-family: "Silkscreen", monospace; font-size: 20px; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; background: var(--gold); color: var(--ink); border-radius: 4px; font-size: 16px; }
.site-header nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--cream); }

/* Dusk band: the 8-bit sky used as a full-bleed section background */
.dusk {
  background:
    linear-gradient(180deg, #10142e 0 18%, #161a3c 18% 30%, #1e2250 30% 42%, #2a2c5c 42% 52%,
      #3e366c 52% 60%, #5c4074 60% 67%, #804c76 67% 73%, #aa5c6e 73% 79%, #d47460 79% 85%, #f0965c 85% 91%, #fcbe6e 91% 100%);
  position: relative;
}
.dusk::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 28px;
  background: linear-gradient(180deg, #14181f 0 40%, #221814 40% 100%);
}

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.eyebrow { color: var(--gold); font-size: 14px; margin: 0 0 14px; }
.hero h1 { font-family: "Silkscreen", monospace; font-weight: 400; font-size: 64px; line-height: 1.05; margin: 0 0 18px; }
.hero p.lead { font-size: 21px; color: var(--cream); max-width: 34ch; margin: 0 0 26px; }
.hero-art { justify-self: center; width: min(100%, 420px); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.hero-art img { border-radius: 50%; border: 10px solid #23232c; box-shadow: 0 0 0 3px #3a3a46; display: block; }
.hero-home h1 { font-size: 56px; }
.hero-home p.lead { max-width: 40ch; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 6px;
  background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; border: 2px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.button:hover { color: var(--ink); transform: translateY(1px); box-shadow: 0 3px 0 var(--ink); }
.button.secondary { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: none; }
.button svg { width: 20px; height: 20px; }
.note { color: var(--muted); font-size: 14px; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--night-2); border-block: 1px solid var(--line); }
h2 { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 800; font-size: 34px; line-height: 1.15; margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.section-intro { color: var(--muted); max-width: 60ch; margin: 0 0 32px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: #141938; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.card .icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 12px; background: #20265a; border-radius: 6px; }
.card .icon img { width: 32px; height: 32px; object-fit: contain; }

/* Friends strip */
.friends { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; }
.friends li { background: #c3e3a8; border: 2px solid var(--ink); border-radius: 6px; width: 104px; padding: 12px 6px 8px; text-align: center; color: var(--ink); }
.friends img { width: 72px; height: 64px; object-fit: contain; display: block; margin: 0 auto 6px; }
.friends span { font-family: "Silkscreen", monospace; font-size: 13px; }
.friends li.later { background: #2a2f5a; color: var(--muted); border-color: #3a4078; }
.friends li.later img { opacity: .55; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shots figure { margin: 0; }
.shots img { border-radius: 8px; border: 1px solid var(--line); display: block; image-rendering: auto; }
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); font-family: "Silkscreen", monospace; width: 44px; height: 44px; display: grid; place-items: center; background: var(--gold); color: var(--ink); border-radius: 6px; font-size: 20px; }
.steps strong { display: block; }
.steps span { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #141938; border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: "Silkscreen", monospace; color: var(--gold); }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* App cards on the home page */
.app-card { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; background: #141938; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.app-card img { border-radius: 50%; border: 6px solid #23232c; }
.app-card .tag { display: inline-block; font-size: 13px; padding: 2px 10px; border-radius: 4px; background: #20265a; color: var(--leaf); margin-bottom: 8px; }
.app-card.soon { opacity: .8; }
.app-card.soon .placeholder { width: 180px; height: 180px; border-radius: 50%; border: 6px dashed #3a4078; display: grid; place-items: center; color: var(--muted); font-family: "Silkscreen", monospace; }

.watch-list { columns: 2; column-gap: 32px; padding-left: 18px; color: var(--muted); }

/* Policy pages */
.policy { padding: 56px 0 72px; }
.policy .wrap { max-width: 760px; }
.policy h1 { font-weight: 800; font-size: 40px; margin: 0 0 8px; }
.policy h2 { font-size: 22px; margin-top: 36px; }
.policy p, .policy li { color: #dcdcef; }
.policy .date { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero { padding: 44px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1, .hero-home h1 { font-size: 40px; }
  .hero p.lead { font-size: 18px; }
  .hero-art { width: min(100%, 320px); }
  .grid-3, .grid-2, .shots { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 1fr; }
  .app-card img, .app-card.soon .placeholder { width: 140px; height: 140px; }
  .watch-list { columns: 1; }
  h2 { font-size: 27px; }
  section { padding: 52px 0; }
  .site-header nav { gap: 14px; }
}

/* Free vs full table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.compare thead th { background: #20265a; font-weight: 700; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--muted); }
.compare td:nth-child(2) { color: var(--leaf); font-weight: 600; }
