/* Toy Collection & Play Planner — landing. "Shelf catalogue": cream paper, forest-green felt,
   tomato and sunflower counters, screens standing on a shelf, a board-game track for the steps. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/figtree-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/figtree-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/figtree-latin-700-normal.woff2") format("woff2");
}

:root {
  --cream: #fbf5ea;
  --paper: #fffdf8;
  --sunk: #f1e8d8;
  --line: #e3d9c6;
  --ink: #1f2421;
  --soft: #4f5a54;
  --forest: #1e4d3b;
  --forest-mid: #2b6a51;
  --felt: #0c4f32;
  --tomato: #d9472b;
  --tomato-dark: #a93420;
  --sun: #ffc705;
  --sky: #2f6e95;
  --plum: #7b4b7f;
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --text: "Figtree", "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--tomato-dark);
}
:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus {
  left: 8px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand img {
  width: 216px;
  height: auto;
}
.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nav a {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--sun);
  color: var(--ink);
}

/* ---------- Shared ---------- */

.kicker {
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tomato-dark);
  margin: 0 0 12px;
}
.kicker--2 {
  color: var(--sky);
}
.kicker--3 {
  color: var(--forest-mid);
}
.kicker--4 {
  color: var(--plum);
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 36px;
  color: var(--forest);
}
.section-title--light {
  color: var(--cream);
}

/* Store badge */
.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58px;
  padding: 8px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
}
.store-small {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.store-big {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
}
.store--live:hover {
  background: var(--forest);
  color: #fff;
}
.store--soon {
  background: var(--paper);
  color: var(--soft);
  border: 2px dashed var(--soft);
  cursor: default;
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--forest);
  max-width: 16ch;
}
.lead {
  font-size: 1.2rem;
  color: var(--soft);
  max-width: 34rem;
  margin: 20px 0 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.facts li {
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 6px 14px 6px 30px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--tomato);
  box-shadow: 0 0 0 2px var(--sun);
}
.version {
  margin: 18px 0 0;
  font-size: 0.875rem;
  color: var(--soft);
}

/* Screens standing on a shelf */
.shelf {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4%;
  padding: 0 4% 26px;
}
.shelf-item {
  margin: 0;
  width: 30%;
  max-width: 230px;
}
.shelf-item .shot {
  border-radius: 22px;
  border: 6px solid var(--ink);
  box-shadow: 0 18px 30px -18px rgba(12, 40, 28, 0.55);
  background: var(--paper);
}
.shelf-item--1 {
  transform: translateY(-6px);
}
.shelf-item--2 {
  width: 34%;
  max-width: 260px;
}
.shelf-item--3 {
  transform: translateY(-18px);
}
.plank {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26px;
  border-radius: 8px;
  background: var(--forest);
  box-shadow: 0 10px 0 -4px var(--felt);
}
.plank::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 9px;
  height: 8px;
  background: radial-gradient(circle, var(--sun) 3px, transparent 3.5px) 0 0 / 22px 8px repeat-x;
  opacity: 0.9;
}

/* ---------- How it works: a board-game track ---------- */

.how {
  padding: 96px 0 72px;
}
.track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  position: relative;
}
.space {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px 22px 88px;
}
.space h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.space p {
  margin: 0;
  color: var(--soft);
}
.counter {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  background: var(--tomato);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}
.space--2 .counter {
  background: var(--sky);
}
.space--3 .counter {
  background: var(--sun);
  color: var(--ink);
}
.space--4 .counter {
  background: var(--forest-mid);
}

/* ---------- Feature stories ---------- */

.stories {
  padding: 40px 0 72px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stories .section-title {
  margin-top: 40px;
}
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 2px dotted var(--line);
}
.story:last-child {
  border-bottom: 0;
}
.story-shot {
  display: flex;
  justify-content: center;
  padding: 26px;
  border-radius: 28px;
  background: var(--sunk);
}
.story-shot .shot {
  width: 64vw;
  max-width: 300px;
  border-radius: 20px;
  border: 5px solid var(--ink);
}
.story h3 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 14px;
}
.story-copy p {
  margin: 0 0 16px;
  color: var(--soft);
  max-width: 36rem;
}
.points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.points li {
  position: relative;
  padding-left: 28px;
  font-weight: 500;
}
.points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--sun);
  background: var(--forest-mid);
}

/* ---------- Privacy band ---------- */

.private {
  background: var(--forest);
  color: var(--cream);
  padding: 80px 0;
  background-image: radial-gradient(circle, rgba(255, 199, 5, 0.18) 2px, transparent 2.5px);
  background-size: 26px 26px;
}
.private-grid {
  display: grid;
  gap: 28px;
}
.private-lead {
  margin: -20px 0 0;
  font-size: 1.125rem;
  color: #d6e7de;
  max-width: 28rem;
}
.private-lead a {
  color: var(--sun);
}
.private-list {
  margin: 0;
  display: grid;
  gap: 14px;
}
.private-list div {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 18px 20px;
}
.private-list dt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--sun);
}
.private-list dd {
  margin: 4px 0 0;
  color: #e7f0eb;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 80px 0;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.0625rem;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sun);
  font-family: var(--display);
  font-weight: 800;
}
.faq details[open] summary::before {
  content: "–";
  background: var(--tomato);
  color: #fff;
}
.faq details p {
  margin: 0 0 18px 40px;
  color: var(--soft);
}

/* ---------- Download ---------- */

.download {
  padding: 0 0 80px;
}
.download-box {
  display: grid;
  gap: 20px;
  justify-items: start;
  background: var(--sun);
  border-radius: 28px;
  padding: 32px 28px;
}
.download-box img {
  border-radius: 22px;
}
.download-box h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--ink);
}
.download-box p {
  margin: 6px 0 0;
}
.download-box .store--soon {
  background: var(--paper);
}
.download-mail a {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #d9ddd8;
  padding: 40px 0;
  font-size: 0.9375rem;
}
.site-footer a {
  color: var(--sun);
}
.footer-grid {
  display: grid;
  gap: 24px;
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}
.footer-meta,
.footer-small {
  margin: 0;
  color: #a9b1ab;
  font-size: 0.875rem;
}
.footer-links p {
  margin: 0 0 6px;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: 56px 0 80px;
}
.legal-wrap {
  max-width: 780px;
}
.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--forest);
}
.legal-meta {
  color: var(--soft);
  font-size: 0.9375rem;
}
.legal-summary {
  background: var(--paper);
  border-left: 6px solid var(--sun);
  border-radius: 12px;
  padding: 16px 20px;
  font-weight: 500;
}
.legal h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 36px 0 10px;
  color: var(--forest);
}
.legal ul {
  padding-left: 22px;
}
.legal li {
  margin-bottom: 6px;
}
.notfound {
  min-height: 40vh;
}

/* ---------- Larger screens ---------- */

@media (min-width: 720px) {
  .track {
    grid-template-columns: repeat(2, 1fr);
  }
  .private-grid {
    grid-template-columns: 1fr 1.3fr;
    align-items: start;
  }
  .private-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-box {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
  }
  .hero {
    padding-top: 72px;
  }
  .track {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
  .track::before {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    top: 47px;
    height: 6px;
    background: radial-gradient(circle, var(--forest-mid) 3px, transparent 3.5px) 0 0 / 18px 6px repeat-x;
    z-index: 0;
  }
  .space {
    padding: 92px 22px 24px;
    background: transparent;
    border: 0;
  }
  .counter {
    left: 22px;
    top: 20px;
    width: 56px;
    height: 56px;
    z-index: 1;
  }
  .story {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }
  .story--flip .story-shot {
    order: 2;
  }
  .story-shot .shot {
    width: 300px;
  }
  .faq-wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
