:root {
  --sun: #ffd60a;
  --gold: #ffb800;
  --ink: #2c1f41;
  --purple: #7c5cff;
  --pink: #ff8fb8;
  --bg: #f6f2fb;
  --surface: #ffffff;
  --line: #e3daf1;
  --muted: #7a6b94;
  --shadow: 0 18px 40px rgba(44, 31, 65, 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Nunito, ui-rounded, "Avenir Next", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
}

a { color: var(--purple); }

img, svg { display: block; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 10px;
  z-index: 5;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  margin-right: auto;
}

.brand strong {
  font-family: Fredoka, Nunito, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--purple);
  -webkit-text-stroke: 1.5px white;
  paint-order: stroke fill;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.lang {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--sun);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin: 12px 0 28px;
  padding: 36px;
  border-radius: 36px;
  background: var(--sun);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

h1, h2, h3, .hero-title {
  font-family: Fredoka, Nunito, sans-serif;
  line-height: 1.05;
  margin: 0;
}

h1, .hero-title { font-size: clamp(2.4rem, 5vw, 4.2rem); }

.lead {
  font-size: 1.2rem;
  max-width: 38rem;
  margin: 14px 0 0;
}

.sheet {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px;
  border-radius: 28px;
  background: white;
  border: 2px dashed color-mix(in srgb, var(--ink) 35%, transparent);
}

.sticker {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: white;
  border: 4px solid white;
  box-shadow: 0 8px 0 rgba(44, 31, 65, 0.08);
}

.sticker svg { width: 58%; height: 58%; }

.s1 { background: #ffe1ef; transform: rotate(-6deg); }
.s2 { background: #d9fff2; transform: rotate(4deg); }
.s3 { background: #e4dcff; transform: rotate(-2deg); }
.s4 { background: #fff1c2; transform: rotate(5deg); }
.s5 { background: #ffd6c9; transform: rotate(3deg); }
.s6 { background: #d7f0ff; transform: rotate(-5deg); }
.s7 { background: #f3d9ff; transform: rotate(2deg); }
.s8 { background: #e7ffc8; transform: rotate(-3deg); }

.section { padding: 28px 0 8px; }

.section h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 8px; }

.intro { color: var(--muted); font-weight: 700; max-width: 40rem; }

.steps, .modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.modes { grid-template-columns: 1fr 1fr; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px 18px 20px;
}

.card h3 { font-size: 1.35rem; margin-bottom: 6px; }

.card p { margin: 0; }

.step-no {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--sun);
  font-family: Fredoka, Nunito, sans-serif;
  font-weight: 700;
}

.note {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: 28px;
  background: var(--ink);
  color: white;
}

.note h2 { margin-bottom: 8px; }

.note p { margin: 0; max-width: 44rem; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 28px 0 40px;
  color: var(--muted);
  font-weight: 800;
}

.site-footer nav { display: flex; gap: 14px; }

.prose {
  width: min(740px, calc(100% - 32px));
  margin: 12px auto 48px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 28px 12px;
}

.prose h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }

.prose h2 {
  font-size: 1.35rem;
  margin: 22px 0 6px;
}

.prose p { margin: 0 0 12px; }

.updated { color: var(--muted); font-weight: 800; }

@media (max-width: 800px) {
  .hero, .steps, .modes { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 22px; }
}
