:root {
  --ink: #2b2117;
  --lemon: #ffd12f;
  --lemon-deep: #f2a51a;
  --cream: #fff6e3;
  --paper: #ffffff;
  --sky: #4fb0f5;
  --sky-pale: #bdebfc;
  --leaf: #338f38;
  --coral: #ef5c54;
  --muted: #6f6355;
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 500 18px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; font-weight: 900; margin: 0; letter-spacing: -0.01em; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); margin: 0 auto; }

/* Nav */
.nav { background: var(--cream); border-bottom: 3px solid var(--ink); position: sticky; top: 0; z-index: 5; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; border: 2px solid var(--ink); }
.nav nav { display: flex; gap: 18px; font-weight: 800; font-size: 16px; flex-wrap: wrap; }
.nav nav a { text-decoration: none; }
.nav nav a:hover, .nav nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--lemon-deep); }

/* The game's logo: yellow letters, thick dark border */
.logo { font-size: clamp(60px, 11vw, 112px); line-height: 0.92; font-weight: 900; color: var(--lemon); -webkit-text-stroke: 0.15em var(--ink); paint-order: stroke fill; text-shadow: 0 0.07em 0 var(--ink); letter-spacing: 0; }
.logo span { display: block; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(var(--sky), var(--sky-pale)); border-bottom: 3px solid var(--ink); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; padding: 158px 0 0; }
.hero .tag { display: inline-block; background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 0 3px 0 var(--ink); padding: 6px 16px; font-weight: 800; font-size: 20px; margin: 22px 0 18px; }
.hero p.lead { font-size: 21px; font-weight: 700; line-height: 1.4; max-width: 30em; margin: 0 0 24px; }
.hero .copy { padding-bottom: 56px; }
.hero .shot { justify-self: center; width: min(320px, 78vw); margin-bottom: -96px; }
.sun { position: absolute; width: 130px; top: 16px; left: max(16px, calc(50% - 560px)); animation: spin 40s linear infinite; }
.cloud { position: absolute; }
.c1 { width: 170px; top: 36px; right: 6%; }
.c2 { width: 120px; top: 210px; left: 44%; opacity: .95; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sun { animation: none; } html { scroll-behavior: auto; } }

/* Stickers and buttons */
.sticker { background: var(--paper); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 4px 0 var(--ink); }
.button { display: inline-block; background: var(--lemon); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink); padding: 12px 22px; font-weight: 900; font-size: 19px; text-decoration: none; }
.button:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.button.plain { background: var(--cream); }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.soon { font-weight: 800; font-size: 16px; }

/* Phone frames */
.phone { border: 4px solid var(--ink); border-radius: 34px; overflow: hidden; background: var(--ink); box-shadow: 0 6px 0 var(--ink); }
.phone img { width: 100%; height: auto; }

/* Sections */
section { padding: 64px 0; }
section.tint { background: var(--paper); border-block: 3px solid var(--ink); }
section h2 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 12px; }
.intro { font-size: 20px; max-width: 38em; margin: 0 0 30px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.features .sticker { padding: 20px; }
.features h3 { font-size: 22px; margin-bottom: 6px; }
.features p { margin: 0; font-size: 17px; }

.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 22px; }
.gallery figure { flex: 0 0 min(250px, 68vw); margin: 0; scroll-snap-align: start; }
.gallery figcaption { font-weight: 800; font-size: 16px; line-height: 1.3; margin-top: 12px; }

.steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 14px 16px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; background: var(--lemon); border: 3px solid var(--ink); border-radius: 50%; font-weight: 900; }
.steps strong { display: block; font-size: 19px; font-weight: 900; }

.contact { display: grid; gap: 8px; padding: 24px; }
.contact a.mail { font-size: clamp(19px, 4.6vw, 26px); font-weight: 900; overflow-wrap: anywhere; }
.contact p { margin: 0; }

/* Guide and privacy */
.pagehead { background: var(--lemon); border-bottom: 3px solid var(--ink); padding: 40px 0; }
.pagehead h1 { font-size: clamp(38px, 7vw, 60px); }
.pagehead p { margin: 8px 0 0; font-size: 19px; font-weight: 700; }
article { padding: 36px 0 64px; }
article h2 { font-size: 30px; margin: 40px 0 10px; scroll-margin-top: 90px; }
article h3 { font-size: 21px; margin: 24px 0 6px; }
article p { margin: 0 0 14px; }
article ul { padding-left: 22px; margin: 0 0 14px; }
article li { margin-bottom: 6px; }
.toc { padding: 16px 20px; margin-bottom: 8px; }
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 800; font-size: 16px; }
.tip { background: var(--lemon); border: 3px solid var(--ink); border-radius: 14px; padding: 12px 16px; margin: 16px 0; font-weight: 700; }
.tip p { margin: 0; }
.tablewrap { overflow-x: auto; margin: 0 0 16px; padding: 0; }
table { border-collapse: collapse; width: 100%; font-size: 16px; min-width: 520px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 2px solid #e8dfcd; vertical-align: top; }
th { font-weight: 900; background: var(--cream); }
tr:last-child td { border-bottom: 0; }
.withshot { display: grid; grid-template-columns: 1fr 230px; gap: 28px; align-items: start; }
details.spoiler { background: #17172e; color: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 16px 20px; margin-top: 16px; }
details.spoiler summary { font-weight: 900; font-size: 20px; cursor: pointer; color: var(--lemon); }
details.spoiler h3 { color: var(--lemon); }
details.spoiler .phone { border-color: #555; box-shadow: none; }
.summary { padding: 16px 20px; margin-bottom: 8px; }
.summary h2 { margin: 0 0 6px; font-size: 22px; }
.summary p { margin: 0; }

footer { background: var(--ink); color: var(--cream); padding: 26px 0; font-size: 16px; font-weight: 700; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 116px; }
  .hero .tag { font-size: 17px; padding: 6px 12px; }
  .hero .copy { padding-bottom: 12px; }
  .sun { width: 96px; top: 12px; }
  .c2 { display: none; }
  .c1 { width: 120px; top: 22px; }
  .withshot { grid-template-columns: 1fr; }
  .withshot .phone { width: min(230px, 70vw); }
  body { font-size: 17px; }
}
