/* Skip the Stone's public pages: the game's sunset palette, readable on a phone. */
:root {
  --ink: #101a2e; --ink-soft: #4a4a66; --cream: #f4eedc; --cream-dark: #e4d8c0; --paper: #fffaf0;
  --teal: #2f6f9a; --dusk-top: #2c3a78; --dusk-mid: #b8688c; --dusk-low: #ff9a58;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); }

/* The header: a dusk sky, as in the game. */
header { background: linear-gradient(180deg, var(--dusk-top), var(--dusk-mid) 60%, var(--dusk-low)); color: var(--cream); padding: 40px 16px 32px; text-align: center; }
header .icon, header > img { width: 96px; height: 96px; border-radius: 22px; image-rendering: pixelated; box-shadow: 0 6px 0 rgba(27, 36, 64, .35); }
header h1 { margin: 12px 0 0; font-size: 38px; line-height: 1.2; letter-spacing: .5px; text-shadow: 0 3px 0 var(--ink); }
header p { margin: 4px 0 0; opacity: .92; }
nav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
header nav a { color: var(--cream); font-weight: 600; }

/* The landing page's header: the game on a screen, and when it's out. */
.hero { padding-bottom: 40px; }
.tagline { font-size: 20px; }
.screen { margin: 28px auto 0; max-width: 960px; padding: 10px; background: #1b2440; border-radius: 22px; box-shadow: 0 8px 0 rgba(16, 26, 46, .45); }
.screen img { display: block; width: 100%; border-radius: 12px; }
.soon { margin-top: 20px; font-weight: 600; font-size: 16px; letter-spacing: .3px; }

main { max-width: 680px; margin: 0 auto; padding: 24px 16px 48px; }
h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 8px; }
.card { background: #fff; border-radius: 18px; padding: 4px 20px 16px; box-shadow: 0 5px 0 var(--cream-dark); margin: 16px 0; }

/* The landing page: wider than the text pages, for the pictures. */
.hero ~ main { max-width: 960px; }
.intro { max-width: 680px; margin: 8px auto 0; font-size: 19px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 8px; }
.how div { background: var(--paper); border-radius: 16px; padding: 4px 18px 12px; box-shadow: 0 5px 0 var(--cream-dark); }
.how h2 { margin-top: 12px; color: var(--teal); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; border-radius: 12px; box-shadow: 0 5px 0 var(--cream-dark); background: #1b2440; }
.gallery figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 8px; text-align: center; }
.features { max-width: 680px; margin: 0 auto; }
.features ul { padding-left: 20px; }
.features li { margin: 8px 0; }
.price { max-width: 680px; margin: 32px auto 0; }

footer { text-align: center; color: var(--ink-soft); font-size: 14px; padding: 0 16px 32px; }
footer nav { margin: 0 0 8px; }
footer nav a { font-weight: 600; }

@media (max-width: 640px) {
  header h1 { font-size: 32px; }
  .how, .gallery { grid-template-columns: 1fr; }
  .screen { padding: 6px; border-radius: 16px; }
  .screen img { border-radius: 10px; }
}
