/* Color Plink — shared styles
   Coloring-book palette: bright, playful, high-contrast, mobile-first. */

:root {
  --paper: #fffdf7;        /* warm coloring-book paper */
  --ink: #2b2440;          /* soft near-black outline */
  --ink-soft: #5b5470;
  --pink: #ff5da2;
  --tangerine: #ff9f45;
  --lemon: #ffd23f;
  --mint: #3ddc97;
  --sky: #4cc9f0;
  --grape: #9b5de5;
  --shadow: rgba(43, 36, 64, 0.12);
  --max: 960px;
  --radius: 20px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Fredoka", ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* Decorative canvas sits behind everything */
#plinks {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5vh 1.25rem 2rem;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 3.5rem 0 2rem;
}

.wordmark {
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-shadow: 3px 3px 0 var(--shadow);
}
.wordmark span { display: inline-block; }
.wordmark .space { width: 0.35em; }
.wordmark .c1 { color: var(--pink); }
.wordmark .c2 { color: var(--tangerine); }
.wordmark .c3 { color: var(--lemon); }
.wordmark .c4 { color: var(--mint); }
.wordmark .c5 { color: var(--sky); }
.wordmark .c6 { color: var(--grape); }
.wordmark .c7 { color: var(--pink); }
.wordmark .c8 { color: var(--tangerine); }
.wordmark .c9 { color: var(--mint); }
.wordmark .c10 { color: var(--sky); }

.tagline {
  font-size: clamp(1.15rem, 3.5vw, 1.6rem);
  font-weight: 600;
  color: var(--ink);
  margin: 1.5rem auto 0.75rem;
}

.blurb {
  max-width: 34rem;
  margin: 0 auto;
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem;
}
.badge {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 3px 3px 0 var(--shadow);
}

.cta {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.cta:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- Showcase ---------- */
.showcase { padding: 2.5rem 0; text-align: center; }
.section-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
}
.shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .shots { grid-template-columns: 1fr 1.4fr 1fr; align-items: center; }
}
.shot {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  border: 2px dashed var(--ink-soft);
  display: grid;
  place-items: center;
}
.shot.feature { aspect-ratio: 9 / 14; }
.placeholder {
  background: repeating-linear-gradient(
    45deg, #fff, #fff 12px, #fbf3ff 12px, #fbf3ff 24px);
  color: var(--ink-soft);
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--shadow);
  text-align: center;
}
.social, .legal {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer a {
  color: var(--grape);
  text-decoration: none;
  font-weight: 500;
}
.footer a:hover { text-decoration: underline; }
.legal .dot { color: var(--ink-soft); }
.copyright { color: var(--ink-soft); font-size: 0.85rem; margin-top: 0.5rem; }

/* ---------- Content pages (privacy / support) ---------- */
.doc {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0 auto;
  padding: 4vh 1.25rem 3rem;
  background: var(--paper);
}
.doc .back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--grape);
  text-decoration: none;
  font-weight: 600;
}
.doc h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin: 0 0 0.25rem;
  color: var(--pink);
}
.doc .updated { color: var(--ink-soft); margin-top: 0; font-size: 0.9rem; }
.doc h2 { margin-top: 2rem; font-size: 1.3rem; color: var(--ink); }
.doc p, .doc li { line-height: 1.6; color: var(--ink); }
.doc a { color: var(--grape); }
.doc .note {
  background: #fff8e6;
  border: 2px solid var(--lemon);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  #plinks { display: none; }
  .cta { transition: none; }
}
