/* Piecefully pages: the game's craft-album look (mint dotted paper, washi tape, lilac cutting mat, ink outlines). */
:root {
  --bg: #e4f6ee;
  --bg2: #f3edff;
  --card: #fffdf8;
  --ink: #36304f;
  --muted: #6a6383;
  --teal: #1f8a75;
  --lilac: #7a62cc;
  --lilac-soft: #ddd3fb;
  --tape: #f6cf5a;
  --border: #c2ded2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink);
  background-image: radial-gradient(circle, rgba(54, 48, 79, .09) 1px, transparent 1.2px); background-size: 18px 18px;
  font: 17px/1.55 ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", system-ui, sans-serif; }
a { color: var(--teal); }
img { max-width: 100%; height: auto; }

.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px);
  border-bottom: 2px dashed var(--border); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 7px; }
.bar nav { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.bar nav a { color: var(--ink); text-decoration: none; }
.lang { display: inline-flex; border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; }
.lang a { padding: 1px 9px; font-size: 13px; font-weight: 800; }
.lang a.on { background: var(--ink); color: #fff; }
@media (max-width: 520px) { .bar nav > a { display: none; } }

.hero { text-align: center; padding: 48px 16px 28px; }
.hero .icon { border-radius: 26px; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.eyebrow { margin: 20px 0 6px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: 13px; color: var(--teal); }
.hero h1 { margin: 0 auto 14px; max-width: 760px; font-size: clamp(32px, 6vw, 54px); line-height: 1.12; }
.hero h1 em { font-style: normal; display: inline-block; padding: 0 .25em; background: var(--teal); color: #fff; transform: rotate(-1.5deg); }
.lead { margin: 0 auto 22px; max-width: 640px; font-size: 19px; color: var(--muted); }
.store { display: inline-block; padding: 13px 24px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 800;
  text-decoration: none; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--teal); }
.store.off { background: var(--card); color: var(--ink); box-shadow: 4px 4px 0 var(--tape); }
.note { margin: 14px 0 26px; font-size: 14px; color: var(--muted); }
.hero-shots { display: flex; justify-content: center; gap: 14px; }
.hero-shots img { width: min(230px, 31%); border-radius: 18px; border: 2px solid var(--ink); box-shadow: 5px 5px 0 rgba(54, 48, 79, .25); }
.hero-shots img:nth-child(2) { transform: translateY(-14px); }

main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 0 0 18px; }
.kicker { margin: 0 0 4px; font-weight: 800; color: var(--lilac); text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; padding: 48px 0; }
.feat { position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 20px;
  box-shadow: 4px 4px 0 rgba(54, 48, 79, .18); }
.feat::before { content: ""; position: absolute; top: -9px; left: 22px; width: 54px; height: 16px; background: var(--tape);
  opacity: .85; transform: rotate(-4deg); }
.feat:nth-child(3n+2)::before { background: #9fd9c8; }
.feat:nth-child(3n)::before { background: var(--lilac-soft); }
.feat .em { font-size: 28px; }
.feat h3 { margin: 6px 0 6px; font-size: 19px; }
.feat p { margin: 0; color: var(--muted); font-size: 16px; }

.chapters { padding: 8px 0 40px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.cards figure { margin: 0; background: var(--card); border: 2px solid var(--ink); border-radius: 12px; padding: 8px 8px 10px; }
.cards img { display: block; width: 100%; border-radius: 6px; aspect-ratio: 3 / 4; object-fit: cover; }
.cards figcaption { text-align: center; padding: 8px 0 0; font-size: 14px; color: var(--muted); line-height: 1.3; }
.cards figcaption b { display: block; color: var(--ink); font-size: 15px; }

.twists { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding: 0 0 48px; }
.twists div { background: var(--bg2); border: 2px dashed var(--lilac); border-radius: 16px; padding: 14px 16px; }
.twists b { display: block; font-size: 17px; }
.twists span { color: var(--muted); font-size: 15px; }

.shots-sec { padding: 24px 0 0; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(62%, 260px); gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 8px 4px 14px; }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { display: block; width: 100%; height: auto; border-radius: 16px; border: 2px solid var(--ink); }
.shots figcaption { text-align: center; padding: 6px 0 0; font-size: 14px; color: var(--muted); }

.guides-sec { padding: 0 0 40px; }
.guides-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 14px 0 0; }
.guides-links a { display: block; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 2px solid var(--ink);
  color: var(--ink); text-decoration: none; font-weight: 700; }
.guides-links a:hover { box-shadow: 3px 3px 0 var(--teal); }

.support { padding: 8px 0 56px; }
.card { background: var(--card); border: 2px dashed var(--teal); border-radius: 16px; padding: 16px 18px; margin: 0 0 16px; }
details { border-bottom: 2px dashed var(--border); padding: 12px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 8px 0 0; color: var(--muted); }

.foot { text-align: center; padding: 28px 16px 40px; border-top: 2px dashed var(--border); font-size: 14px; color: var(--muted); }
.foot a { margin: 0 9px; color: var(--muted); }

.policy main { max-width: 760px; padding: 32px 16px 64px; }
.policy h1 { font-size: 32px; margin: 32px 0 4px; }
.policy h2 { font-size: 20px; margin: 26px 0 6px; }
.policy .muted { color: var(--muted); }
.crumbs { font-size: 14px; }
