@font-face {
  font-family: "Baloo 2";
  src: url("assets/fonts/Baloo2-500.ttf") format("truetype");
  font-display: swap;
  font-weight: 500;
}
@font-face {
  font-family: "Baloo 2";
  src: url("assets/fonts/Baloo2-700.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}
@font-face {
  font-family: "Baloo 2";
  src: url("assets/fonts/Baloo2-800.ttf") format("truetype");
  font-display: swap;
  font-weight: 800;
}

:root {
  --paper: #fff9ef;
  --ink: #20302b;
  --gold: #ffb627;
  --gold-deep: #b57e10;
  --gold-ink: #6b5320; /* small text on gold: darker than gold-deep for contrast */
  --mint-soft: #d9f5ec;
  --mint-deep: #0b6b54;
  --teal-bright: #2ed3ae;
  --teal: #14b795;
  --teal-deep: #0ca39a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Baloo 2", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(rgba(255, 255, 255, 0.13) 2.2px, transparent 2.6px) 0 0 / 30px 30px,
    linear-gradient(168deg, var(--teal-bright), var(--teal) 55%, var(--teal-deep));
  min-height: 100vh;
  line-height: 1.5;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px 64px; }

header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand span { font-weight: 800; font-size: 28px; color: #fff; letter-spacing: 0.5px; }
nav a {
  color: #fff; text-decoration: none; font-weight: 700; margin-left: 22px; font-size: 17px;
}
nav a:hover { text-decoration: underline; }

.paper {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 7px 7px 0 rgba(32, 48, 43, 0.85);
}

.hero { text-align: center; padding: 52px 28px 44px; margin-top: 18px; }
.hero img.icon {
  width: 132px; height: 132px; border-radius: 30px;
  border: 3px solid var(--ink); box-shadow: 5px 5px 0 rgba(32, 48, 43, 0.85);
}
.hero h1 { font-size: 64px; font-weight: 800; line-height: 1.05; margin-top: 18px; }
.hero .tagline { font-size: 27px; font-weight: 700; color: var(--mint-deep); margin-top: 6px; }
.hero p.sub { font-size: 19px; max-width: 620px; margin: 16px auto 0; }
.stores { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  background: var(--gold); color: var(--ink); font-weight: 800; font-size: 18px;
  border: 3px solid var(--ink); border-radius: 16px; padding: 12px 22px;
  box-shadow: 4px 4px 0 rgba(32, 48, 43, 0.85); text-decoration: none;
}
.store-btn small { display: block; font-weight: 700; font-size: 13px; color: var(--gold-ink); }

section { margin-top: 44px; }
h2.title { color: #fff; font-size: 34px; font-weight: 800; text-align: center; margin-bottom: 20px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 24px 22px; }
.step .num {
  display: inline-block; background: var(--gold); border: 3px solid var(--ink);
  border-radius: 50%; width: 40px; height: 40px; line-height: 36px; text-align: center;
  font-weight: 800; font-size: 20px;
}
.step h3 { font-size: 22px; font-weight: 800; margin: 12px 0 6px; }
.step p { font-size: 16.5px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 22px; }
.feature .emoji { font-size: 30px; }
.feature h3 { font-size: 20px; font-weight: 800; margin: 8px 0 5px; }
.feature p { font-size: 16px; }

.shots { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.shot { padding: 10px; width: 232px; }
.shot img { width: 100%; display: block; border-radius: 12px; border: 2px solid var(--ink); }
.shot figcaption { text-align: center; font-weight: 700; padding: 9px 0 3px; font-size: 16px; }

/* Tour: 3+2 on desktop. Percentage widths keep every row complete at any
   viewport width (fixed pixel cards wrapped a lone card at some widths). */
.shots.tour .shot { width: calc((100% - 36px) / 3); }
/* Themes: 4 in a row on desktop, same percentage-width reasoning. */
.shots.themes .shot { width: calc((100% - 54px) / 4); }

.joke { text-align: center; padding: 28px; font-size: 20px; }
.joke .q { font-weight: 800; }
.joke .a { color: var(--mint-deep); font-weight: 700; }

footer {
  margin-top: 48px; text-align: center; color: #fff; font-weight: 600; font-size: 16px;
}
footer a { color: #fff; }

/* Simple pages (privacy / support) */
.page { padding: 40px 34px; margin-top: 18px; }
.page h1 { font-size: 38px; font-weight: 800; margin-bottom: 6px; }
.page h2 { font-size: 23px; font-weight: 800; margin: 26px 0 8px; }
.page p, .page li { font-size: 17px; }
.page ul { padding-left: 22px; }
.page .updated { color: #5c6f66; font-weight: 600; }
.page a { color: var(--mint-deep); font-weight: 700; }

@media (max-width: 820px) {
  .steps, .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; }
  .hero .tagline { font-size: 22px; }
  .shot { width: 46%; }
  /* Tour: single centered column on mobile, so no card is ever orphaned. */
  .shots.tour .shot { width: 100%; max-width: 400px; }
  /* Themes: 2+2 on mobile, a complete pair of rows. */
  .shots.themes .shot { width: calc((100% - 18px) / 2); }
}
