/* =========================================================
   LittleSheets — playful, toy-like landing page
   Bold colors, hand-drawn touches, chunky shapes
   ========================================================= */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ---------- Tokens ---------- */
:root {
  /* Core palette */
  --ink: #2b1f47;
  --ink-soft: #5a4e7a;
  --cream: #fff6e5;
  --cream-2: #ffefd1;
  --paper: #fffdf7;

  /* Bright playful palette */
  --coral: #ff5a7c;
  --coral-dark: #ef3a5e;
  --yellow: #ffcc2e;
  --mint: #2dd4a0;
  --sky: #4db8ff;
  --purple: #9b5cff;
  --sun: #ff9f43;
  --pink: #ffb3c6;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-chunky: 0 6px 0 rgba(43, 31, 71, 0.18);
  --shadow-soft: 0 14px 40px rgba(43, 31, 71, 0.10);
  --shadow-lift: 0 24px 60px rgba(43, 31, 71, 0.18);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Grainy paper texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 204, 46, 0.25) 0%, transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(255, 90, 124, 0.22) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(45, 212, 160, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(77, 184, 255, 0.2) 0%, transparent 40%);
}

/* Floating decorative shapes */
.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  font-size: 3rem;
  opacity: 0.35;
  animation: float 12s ease-in-out infinite;
}

.shape-1 { top: 8%;  left: 4%;  color: var(--yellow); font-size: 4rem; animation-delay: 0s; }
.shape-2 { top: 22%; right: 6%; animation-delay: 2s; }
.shape-3 { top: 55%; left: 3%;  animation-delay: 4s; }
.shape-4 { top: 78%; right: 4%; animation-delay: 1s; }
.shape-5 { top: 42%; right: 10%; animation-delay: 3s; font-size: 2.5rem; }
.shape-6 { top: 88%; left: 15%; animation-delay: 5s; color: var(--coral); font-size: 3.5rem; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(12px, -20px) rotate(8deg); }
}

/* Make content sit above decorative layers */
.nav, .hero, .features, .generator, .examples, .reviews, .final-cta, .site-footer {
  position: relative;
  z-index: 2;
}

/* ---------- Nav ---------- */
.nav {
  padding: 22px 24px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  border: 2.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem;
  transform: rotate(-8deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--coral); font-style: italic; }

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--coral); }

.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s, background 0.15s;
}
.nav-cta:hover { background: var(--coral); transform: translateY(-2px); }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 60px 24px 50px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2.5px solid var(--ink);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 24px;
}
.pulse-dot {
  width: 9px; height: 9px;
  background: var(--mint);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.title-accent {
  position: relative;
  display: inline-block;
}
.title-word {
  background: linear-gradient(180deg, var(--coral) 60%, var(--sun) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
}
.squiggle {
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 100%;
  height: 18px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 540px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.check {
  display: inline-flex;
  width: 20px; height: 20px;
  align-items: center; justify-content: center;
  background: var(--mint);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
  border: 2px solid var(--ink);
}

/* Hero visual — stacked worksheet cards */
.hero-visual {
  position: relative;
  height: 480px;
}

.preview-card {
  position: absolute;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 24px;
}

.card-back {
  width: 240px; height: 300px;
  top: 0; left: 0;
  transform: rotate(-8deg);
  background: var(--pink);
  animation: sway 6s ease-in-out infinite;
}
.card-mid {
  width: 220px; height: 230px;
  top: 40px; right: 20px;
  transform: rotate(6deg);
  background: #fffbe8;
  animation: sway 6s ease-in-out infinite 1.5s;
}
.card-front {
  width: 280px; height: 340px;
  bottom: 20px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: #fff;
  z-index: 2;
  animation: sway 7s ease-in-out infinite 0.7s;
}
@keyframes sway {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
}
.card-back  { --rot: -8deg; }
.card-mid   { --rot:  6deg; }
.card-front { --rot: -2deg; }
.card-back,
.card-mid,
.card-front {
  animation-name: swayFull;
}
@keyframes swayFull {
  0%, 100% { transform: rotate(var(--rot)) translateY(0); }
  50%      { transform: rotate(calc(var(--rot) + 2deg)) translateY(-8px); }
}
.card-front { animation-name: swayFront; }
@keyframes swayFront {
  0%, 100% { transform: translateX(-50%) rotate(-2deg) translateY(0); }
  50%      { transform: translateX(-50%) rotate(0deg) translateY(-10px); }
}

.card-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid var(--ink);
  margin-bottom: 16px;
}
.pill-mint  { background: var(--mint); color: #fff; }
.pill-sky   { background: var(--sky); color: #fff; }
.pill-coral { background: var(--coral); color: #fff; }

.card-lines { display: flex; flex-direction: column; gap: 14px; }
.line {
  height: 10px;
  background: var(--ink);
  opacity: 0.2;
  border-radius: 4px;
}
.l-1 { width: 100%; }
.l-2 { width: 85%; }
.l-3 { width: 92%; }
.l-4 { width: 70%; }

.mini-art { width: 100%; height: auto; }

.card-problems { display: flex; flex-direction: column; gap: 12px; }
.mini-problem {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
}
.mini-problem span {
  display: inline-flex;
  width: 26px; height: 26px;
  align-items: center; justify-content: center;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 900;
  border: 2px solid var(--ink);
}
.mini-problem em {
  font-style: normal;
  color: var(--coral);
  font-weight: 900;
}

.card-sticker {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 60px; height: 60px;
  background: var(--sun);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  transform: rotate(12deg);
  box-shadow: 4px 4px 0 var(--ink);
}

.floating-emoji {
  position: absolute;
  font-size: 2.5rem;
  animation: float 5s ease-in-out infinite;
}
.emoji-1 { top: -20px; right: 40px; animation-delay: 0.5s; }
.emoji-2 { bottom: -10px; right: -10px; animation-delay: 2s; font-size: 3rem; }

/* ---------- Marquee ---------- */
.marquee {
  margin-top: 60px;
  background: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 14px 0;
  overflow: hidden;
  transform: rotate(-1.5deg);
  margin-left: -10px;
  margin-right: -10px;
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--cream);
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.marquee-track span:nth-child(odd)  { color: var(--yellow); }
.marquee-track span:nth-child(even) { color: var(--coral); }
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Section heads ---------- */
.section-head {
  text-align: center;
  margin-bottom: 50px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--coral);
  margin-bottom: 6px;
  transform: rotate(-2deg);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-head h2 em {
  font-style: italic;
  color: var(--coral);
}
.section-sub {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-primary:hover {
  background: var(--coral-dark);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-ghost:hover {
  background: var(--yellow);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn-xl {
  padding: 20px 40px;
  font-size: 1.15rem;
  border-width: 3px;
  box-shadow: 6px 6px 0 var(--ink);
}
.btn-xl:hover { box-shadow: 8px 8px 0 var(--ink); }

/* ---------- Features ---------- */
.features {
  padding: 90px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.feature-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}
.feature-card:nth-child(2)  { transform: rotate(1deg); }
.feature-card:nth-child(4)  { transform: rotate(-1deg); }
.feature-card:nth-child(6)  { transform: rotate(1deg); }

.feat-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
  box-shadow: 3px 3px 0 var(--ink);
}
.feat-yellow .feat-icon { background: var(--yellow); }
.feat-coral  .feat-icon { background: var(--coral);  color: #fff; }
.feat-mint   .feat-icon { background: var(--mint);   color: #fff; }
.feat-sky    .feat-icon { background: var(--sky);    color: #fff; }
.feat-purple .feat-icon { background: var(--purple); color: #fff; }
.feat-sun    .feat-icon { background: var(--sun);    color: #fff; }

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.feature-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ---------- Generator ---------- */
.generator {
  padding: 70px 24px 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 204, 46, 0.15) 40%, transparent 100%);
}
.generator-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.panel {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 8px 8px 0 var(--ink);
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.form-field-wide { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-weight: 800;
  font-size: 0.98rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-field select,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: box-shadow 0.15s, transform 0.15s;
  resize: vertical;
}
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  box-shadow: 5px 5px 0 var(--coral);
  transform: translate(-1px, -1px);
}

.form-field .hint {
  display: block;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--coral);
  margin-top: 4px;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.stat-card {
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.stat-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}
.stat-yellow { background: var(--yellow); }
.stat-coral  { background: var(--coral); color: #fff; }
.stat-mint   { background: var(--mint); color: #fff; }
.stat-sky    { background: var(--sky); color: #fff; }

.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  opacity: 0.85;
  margin-bottom: 6px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

/* ---------- Worksheet Preview ---------- */
.worksheet-wrap { margin-bottom: 20px; }

.preview-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px 12px 0 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  width: fit-content;
  margin-left: 20px;
}
.preview-label em {
  font-style: normal;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--yellow);
  margin-left: 6px;
}
.dot-red, .dot-yellow, .dot-green {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot-red    { background: #ff5a5a; }
.dot-yellow { background: #ffd24d; }
.dot-green  { background: #4dd47a; }

.worksheet {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 var(--ink);
  padding: 48px 52px;
  color: var(--ink);
}

.ws-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 4px dashed var(--yellow);
  margin-bottom: 24px;
}
.ws-title-block h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--coral);
  margin-bottom: 6px;
  line-height: 1.05;
}
.ws-title-block p {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

.ws-meta {
  min-width: 210px;
  font-size: 0.9rem;
}
.meta-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 800;
}
.meta-blank {
  flex: 1;
  border-bottom: 2px solid var(--ink);
  min-height: 1em;
  font-weight: 400;
}
.meta-blank.filled {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--coral);
  padding-left: 6px;
  line-height: 1;
}
.meta-score { border-bottom: none; text-align: right; font-weight: 700; }

.ws-instructions {
  background: #fff8dc;
  border: 2.5px solid var(--ink);
  border-left-width: 8px;
  border-left-color: var(--sun);
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 700;
  margin-bottom: 28px;
  font-size: 1rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.ws-body { margin-bottom: 32px; }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}
.problem {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  min-height: 56px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
}
.problem-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: var(--mint);
  color: #fff;
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 900;
  flex-shrink: 0;
  border: 2px solid var(--ink);
  font-family: var(--font-body);
}
.problem-num.num-coral { background: var(--coral); }
.problem-num.num-sky   { background: var(--sky); }
.problem-num.num-sun   { background: var(--sun); }
.problem-num.num-purp  { background: var(--purple); }

.problem-text { flex: 1; }
.problem-blank {
  display: inline-block;
  min-width: 50px;
  border-bottom: 2.5px solid var(--ink);
  margin: 0 4px;
  height: 1.1em;
}

.reading-list .problem { font-size: 1rem; font-family: var(--font-body); }

/* Coloring */
.coloring-wrap {
  text-align: center;
  padding: 20px 0;
}
.coloring-caption {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  color: var(--coral);
  margin-bottom: 14px;
}
.coloring-art {
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.coloring-words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin-top: 24px;
  padding: 18px;
  background: var(--paper);
  border: 2.5px dashed var(--mint);
  border-radius: 14px;
}
.coloring-word {
  display: inline-block;
  padding: 7px 14px;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 3px 3px 0 var(--ink);
}

/* Answers */
.ws-answers {
  border-top: 3px dotted #c9c0aa;
  padding-top: 18px;
  margin-top: 28px;
}
.answers-title {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.answers-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 16px;
  font-size: 0.88rem;
}
.answers-list .answer-item { font-weight: 700; }
.answers-list .answer-item span { color: var(--coral); font-weight: 900; }
.answers-note {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--coral);
  grid-column: 1 / -1;
  text-align: center;
}

/* ---------- Examples ---------- */
.examples {
  padding: 80px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.example-card {
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.18s;
}
.example-card:hover { transform: translateY(-4px); }
.ex-1 { background: #ffe8ed; transform: rotate(-1deg); }
.ex-2 { background: #e6f4ff; transform: rotate(1deg); }
.ex-3 { background: #e9fbf2; transform: rotate(-1deg); }
.ex-1:hover { transform: rotate(-1deg) translateY(-4px); }
.ex-2:hover { transform: rotate(1deg) translateY(-4px); }
.ex-3:hover { transform: rotate(-1deg) translateY(-4px); }

.ex-tag {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.example-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.example-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.ex-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.ex-preview span {
  padding: 4px 10px;
  background: var(--cream);
  border-radius: 6px;
}
.ex-preview-art span {
  font-size: 1.8rem;
  background: transparent;
  padding: 4px;
}

/* ---------- Optional tag ---------- */
.optional-tag {
  display: inline-block;
  background: var(--cream-2);
  color: var(--ink-soft);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid var(--ink);
  margin-left: 4px;
  text-transform: uppercase;
}
.form-field input[type="text"] {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: box-shadow 0.15s, transform 0.15s;
}
.form-field input[type="text"]:focus {
  outline: none;
  box-shadow: 5px 5px 0 var(--coral);
  transform: translate(-1px, -1px);
}

/* ---------- AdSense slots ---------- */
.ad-slot-wrap {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.ad-slot {
  background: #fff;
  border: 2px dashed rgba(43, 31, 71, 0.2);
  border-radius: var(--radius-md);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ad-placeholder {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  opacity: 0.5;
}
/* Ad slots render as full-width, responsive — AdSense ins tags fill the container */
.ad-slot ins.adsbygoogle {
  display: block;
  width: 100%;
}

/* ---------- Reviews ---------- */
.reviews {
  padding: 80px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.reviews .eyebrow {
  color: var(--sun);
  letter-spacing: 0.15em;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.2rem;
  transform: none;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: 6px 6px 0 var(--ink);
  position: relative;
}
.review::before {
  content: "“";
  position: absolute;
  top: -24px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--coral);
}
.rev-1 { transform: rotate(-1deg); background: #fffbe8; }
.rev-2 { transform: rotate(1deg); }
.rev-3 { transform: rotate(-0.5deg); background: #fff0f4; }

.review p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 16px;
}
.review footer {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink-soft);
}
.review footer em {
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 80px 24px;
  text-align: center;
}
.final-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  box-shadow: 10px 10px 0 var(--coral);
  border: 3px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.final-cta-inner::before,
.final-cta-inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.final-cta-inner::before {
  width: 200px; height: 200px;
  background: var(--yellow);
  opacity: 0.2;
  top: -80px; left: -60px;
}
.final-cta-inner::after {
  width: 160px; height: 160px;
  background: var(--mint);
  opacity: 0.25;
  bottom: -60px; right: -40px;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
}
.final-cta h2 em { font-style: italic; color: var(--yellow); }
.final-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  position: relative;
}
.final-cta .btn { position: relative; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 50px 24px 40px;
  text-align: center;
  color: var(--ink-soft);
}
.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.site-footer p { font-size: 0.95rem; margin-bottom: 4px; }
.site-footer .tiny { font-size: 0.82rem; opacity: 0.7; margin-top: 10px; }

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 18px 0 6px;
}
.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover {
  background: var(--yellow);
  color: var(--ink);
}

/* ---------- Content pages (About, Contact, Privacy, Blog) ---------- */
.page-hero {
  padding: 70px 24px 30px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero .eyebrow {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  color: var(--coral);
  display: inline-block;
  transform: rotate(-2deg);
  margin-bottom: 4px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--coral);
}
.page-hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.content-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 30px 24px 60px;
  position: relative;
  z-index: 2;
}

.content-card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 48px 44px;
}

.content-card h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--ink);
}
.content-card h2:first-child { margin-top: 0; }
.content-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--coral);
}
.content-card p {
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
}
.content-card ul, .content-card ol {
  margin: 12px 0 20px 22px;
  line-height: 1.7;
}
.content-card li { margin-bottom: 8px; font-size: 1rem; }
.content-card a {
  color: var(--coral);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.content-card a:hover { color: var(--coral-dark); }
.content-card strong { font-weight: 800; }
.content-card hr {
  border: none;
  border-top: 3px dashed var(--yellow);
  margin: 32px 0;
}

/* Blog list */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 24px 60px;
  position: relative;
  z-index: 2;
}
.blog-card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}
.blog-card:nth-child(odd)  { background: #fffbe8; transform: rotate(-0.8deg); }
.blog-card:nth-child(even) { background: #fff0f4; transform: rotate(0.8deg); }
.blog-card:nth-child(odd):hover  { transform: rotate(-0.8deg) translate(-3px, -3px); }
.blog-card:nth-child(even):hover { transform: rotate(0.8deg) translate(-3px, -3px); }

.blog-tag {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
}
.blog-card h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.blog-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.blog-meta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.read-more {
  color: var(--coral);
  font-weight: 800;
  margin-top: 6px;
}

.post-meta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 700;
}
.post-meta-row .sep { opacity: 0.4; }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}
.contact-form label {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: box-shadow 0.15s, transform 0.15s;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 5px 5px 0 var(--coral);
  transform: translate(-1px, -1px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-note {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--coral);
  margin-top: -4px;
}

@media (max-width: 640px) {
  .content-card { padding: 28px 22px; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 420px; }
  .features-grid,
  .examples-grid,
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-inner { padding: 10px 16px; }
  .hero { padding: 40px 18px 30px; }
  .hero-visual { height: 380px; transform: scale(0.9); }
  .features, .examples, .reviews { padding: 60px 18px 40px; }
  .features-grid,
  .examples-grid,
  .reviews-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .worksheet { padding: 28px 20px; }
  .ws-header { flex-direction: column; }
  .ws-meta { width: 100%; min-width: 0; }
  .problems-grid { grid-template-columns: 1fr; }
  .answers-list { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 22px; }
  .final-cta-inner { padding: 40px 24px; box-shadow: 6px 6px 0 var(--coral); }
  .ws-title-block h1 { font-size: 1.5rem; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff !important; }
  body::before, .bg-shapes { display: none !important; }
  .no-print { display: none !important; }
  .generator { padding: 0; background: none; }
  .generator-inner { max-width: 100%; }
  .worksheet-wrap { margin: 0; }
  .worksheet {
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 24px 32px;
  }
  .problem {
    background: #fff;
    box-shadow: none;
    border-color: var(--ink);
  }
  .ws-instructions { box-shadow: none; background: #fff; }
  .coloring-word { box-shadow: none; }
}
