/* Swoop's site pages (home.html, plus.html), 2026-11-10. The game's own look: Inter, the night page with
   the two halftone blooms, cream keycap tiles, the pink keycap button, and the five panel colours of the
   store screenshots (blue, yellow, mint, pink, cream). No scripts needed, no trackers, one small file. */
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --bg: #141218; --bg2: #1e1b24; --bg3: #29252f; --line: rgba(246, 239, 226, 0.09); --line2: rgba(246, 239, 226, 0.18);
  --text: #f6efe2; --muted: #aaa3b5; --tile: #f6efe2; --lip: #cdbfa3; --ink: #1a1720;
  --pink: #ff4fa3; --pink-lip: #c42f78; --pink-ink: #ff6fb5; --blue: #3d6bff; --blue-lip: #2445c2;
  --mint: #2fe0a0; --sun: #ffd23f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.5 Inter, system-ui, -apple-system, sans-serif; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--pink-ink); }

/* the halftone blooms, as behind every screen of the game */
.dots { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.dots::before, .dots::after { content: ''; position: absolute; width: 520px; height: 520px;
  background: radial-gradient(circle, currentColor 0 1.9px, transparent 2.2px) 0 0 / 11px 11px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%); mask-image: radial-gradient(circle, #000 0%, transparent 68%); opacity: .2; }
.dots::before { color: var(--pink); top: -200px; right: -200px; }
.dots::after { color: var(--blue); bottom: -220px; left: -220px; }

.wrap { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 14px) 0 6px; }
.top .mark img { width: 126px; height: auto; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text); font-weight: 700; font-size: 15px; text-decoration: none; border-radius: 12px; }
.top nav a:hover { background: var(--bg2); }
.top nav a.on { color: var(--pink-ink); }

h1 { font: 900 clamp(42px, 12.5vw, 76px)/1.02 Inter, system-ui, sans-serif; letter-spacing: -0.035em; margin: 0; }
h2 { font: 900 clamp(30px, 8.4vw, 44px)/1.05 Inter, system-ui, sans-serif; letter-spacing: -0.03em; margin: 0; }
h3 { font: 800 20px/1.25 Inter, system-ui, sans-serif; letter-spacing: -0.01em; margin: 0; }
.chip { display: inline-block; padding: 0 .16em .04em; border-radius: .2em; transform: rotate(-2deg); background: var(--pink); color: var(--ink); }
.chip.blue { background: var(--blue); color: #fff; }
.chip.sun { background: var(--sun); }
.chip.mint { background: var(--mint); }
.lead { font-size: 18px; color: var(--text); margin: 18px 0 0; max-width: 34em; }
.fine { font-size: 14px; color: var(--muted); }
.label { font: 800 13px/1 Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* the one raised keycap: the pink primary */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 30px; border: 0; border-radius: 18px;
  background: var(--pink); color: var(--ink); font: 800 20px/1 Inter, system-ui, sans-serif; text-decoration: none; box-shadow: 0 6px 0 var(--pink-lip); transition: transform .08s, box-shadow .08s; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--pink-lip); }
.btn[disabled], .btn.off { background: var(--bg3); color: var(--muted); box-shadow: 0 6px 0 #17141c; cursor: not-allowed; }
.btn.flat { min-height: 48px; padding: 0 18px; font-size: 16px; background: var(--bg3); color: var(--text); box-shadow: none; border-radius: 14px; }

/* tiles */
.tiles { display: flex; gap: 8px; }
.tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--tile); color: var(--ink); font: 800 28px/1 Inter, system-ui, sans-serif; box-shadow: 0 5px 0 var(--lip); }
.tile.hit { background: var(--mint); box-shadow: 0 5px 0 #1ea877; }

/* a phone holding a real capture of the game (440 x 894 pt, the area under the status bar) */
.phone { width: 264px; flex: none; border-radius: 44px; background: #141218; border: 9px solid #08070a; box-shadow: 0 0 0 2px #3a3642, 0 26px 50px rgba(0, 0, 0, .38); overflow: hidden; position: relative; }
.phone::before { content: ''; display: block; height: 30px; background: #141218; }
.phone::after { content: ''; position: absolute; top: 9px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 12px; background: #000; }
.phone img { width: 100%; height: auto; }

/* hero */
.hero { display: grid; gap: 34px; padding: 26px 0 8px; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; }
.hero .stage { background: var(--blue); border-radius: 28px; padding: 34px 0 0; display: flex; justify-content: center; height: 470px; overflow: hidden; }

/* feature panels, the store strip's colours */
.features { display: grid; gap: 16px; margin: 16px 0 0; }
.panel { border-radius: 28px; padding: 30px 24px 0; color: var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.panel p { margin: 12px 0 0; font-weight: 600; font-size: 17px; max-width: 26em; }
.panel .shot { margin-top: auto; padding-top: 26px; height: 356px; display: flex; justify-content: center; }
.panel.sun { background: var(--sun); } .panel.mint { background: var(--mint); } .panel.pink { background: var(--pink); } .panel.cream { background: var(--tile); } .panel.blue { background: var(--blue); color: #fff; }
.panel .chip { background: var(--ink); color: var(--tile); }

section { margin-top: 64px; }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.stores { display: grid; gap: 12px; margin-top: 18px; }
.store { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; border: 1px dashed var(--line2); color: var(--muted); }
.store svg { width: 28px; height: 28px; flex: none; }
.store b { display: block; color: var(--text); font-weight: 800; font-size: 17px; line-height: 1.2; }
.store span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.soon { display: inline-block; padding: 4px 9px; border-radius: 8px; background: var(--bg3); color: var(--muted); font: 800 11px/1 Inter, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.soon.live { background: var(--mint); color: var(--ink); }

.plusband { display: grid; gap: 16px; align-items: center; }
.plusband h2 .chip { transform: rotate(-3deg); }

footer { margin-top: 72px; padding: 26px 0 calc(env(safe-area-inset-bottom) + 34px); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; margin-left: -12px; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text); font-weight: 700; text-decoration: none; }
footer nav a:hover { color: var(--pink-ink); }

/* ---------- Swoop+ ---------- */
.perks { display: grid; gap: 16px; margin-top: 30px; }
.perks > *, .features > *, .hero > * { min-width: 0; }
.perk { background: var(--bg2); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.perk h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 22px; }
.perk p { margin: 10px 0 0; color: var(--muted); }
.perk p b { color: var(--text); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.sw { min-width: 0; border-radius: 12px; padding: 9px 6px 7px; text-align: center; font: 700 10.5px/1 Inter, system-ui, sans-serif; border: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.sw i { display: flex; justify-content: center; gap: 3px; margin-bottom: 7px; }
.sw i b { width: 16px; height: 16px; border-radius: 4px; }
.sw i u { width: 16px; height: 16px; border-radius: 4px; }
.icons { display: flex; gap: 12px; margin-top: 18px; }
.icons img, .icons .ph { width: 68px; height: 68px; border-radius: 16px; }
.icons .ph { display: grid; place-items: center; border: 2px dashed var(--line2); color: var(--muted); font: 800 26px/1 Inter, system-ui, sans-serif; }
.big5 { display: grid; gap: 18px; align-items: center; }
.big5 .grids { display: flex; align-items: flex-end; gap: 14px; }
.mini { display: grid; gap: 4px; }
.mini.n4 { grid-template-columns: repeat(4, 24px); opacity: .45; }
.mini.n5 { grid-template-columns: repeat(5, 24px); }
.mini i { display: grid; place-items: center; height: 24px; border-radius: 6px; background: var(--tile); color: var(--ink); font: 800 13px/1 Inter, system-ui, sans-serif; font-style: normal; box-shadow: 0 2px 0 var(--lip); }
.mini.n5 i:nth-child(-n+5) { background: var(--mint); box-shadow: 0 2px 0 #1ea877; }
.faces { display: flex; gap: 8px; margin-top: 18px; min-height: 54px; }
.faces svg { width: 54px; height: 54px; flex: none; }
.buy { margin-top: 30px; text-align: center; padding: 30px 24px; }
.price { font: 900 34px/1.1 Inter, system-ui, sans-serif; letter-spacing: -0.02em; margin: 6px 0 20px; }
.buy .btn { width: 100%; max-width: 340px; padding: 0 18px; white-space: nowrap; } /* 11/10: 'Coming soon, $5.99 one-time' stays on one line */
.free { margin-top: 16px; }
.free ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.free li { margin: 5px 0; }

@media (min-width: 760px) {
  .wrap { padding: 0 32px; }
  .top .mark img { width: 150px; }
  .hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding-top: 44px; }
  .hero .stage { height: 560px; }
  .features { grid-template-columns: 1fr 1fr; }
  .stores { grid-template-columns: 1fr 1fr; }
  .plusband { grid-template-columns: 1fr auto; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perk.wide { grid-column: 1 / -1; }
  .big5 { grid-template-columns: 1fr auto; gap: 28px; }
  .swatches { grid-template-columns: repeat(8, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
@media (max-width: 400px) { .buy .btn { font-size: 15px; padding: 0 10px; } }
