:root {
  --paper: #fbf4e6;
  --paper-2: #f4e9d4;
  --card: #fffdf8;
  --ink: #3a2e2a;
  --ink-soft: #6d5f57;
  --line: #e6d8bf;
  --coral: #ef6a4c;
  --coral-deep: #d4532f;
  --coral-wash: #fde3da;
  --radius: 22px;
  --shadow: 0 2px 0 var(--line), 0 10px 24px -14px rgba(58, 46, 42, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .25 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 400 18px/1.6 "Nunito", system-ui, sans-serif;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.section { padding-top: 64px; padding-bottom: 24px; }

h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 6vw, 42px); margin-bottom: 8px; }
h3 { font-size: 24px; }
a { color: var(--coral-deep); text-underline-offset: 3px; }
.intro { color: var(--ink-soft); margin: 0 0 28px; max-width: 34em; }
.eyebrow { font-family: "Fredoka", sans-serif; font-weight: 500; color: var(--coral-deep); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; margin: 0 0 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 18px "Fredoka", sans-serif; text-decoration: none; cursor: pointer;
  border: 2.5px solid var(--ink); transition: transform .12s ease, box-shadow .12s ease;
}
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 4px 0 var(--ink); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

/* Hero */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before { width: 96px; height: 96px; background: #f6c453; right: -34px; top: -28px; }
.hero::after { display: none; }
.hero h1 { font-size: clamp(38px, 9.5vw, 72px); max-width: 13em; position: relative; }
.hero .brand { display: block; color: var(--coral); font-size: .62em; margin-bottom: 10px; }
.lede { font-size: 20px; color: var(--ink-soft); max-width: 28em; margin: 20px 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 70px; }

/* Idea cards */
.cards { display: grid; gap: 26px; grid-template-columns: 1fr; }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; border: 1.5px solid var(--line);
}
.card-photo { display: block; background: #ffe3ec; height: 220px; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.card-art { height: 220px; display: grid; place-items: center; }
.card-art svg { width: 70%; max-width: 240px; height: auto; }
.art-paper { background: #fdecd9; }
.art-umbrella { background: #e5eef2; }
.art-chess { background: #eaf1e4; }
.art-klosr { background: #fbe7e4; }
.art-flowers { background: #f8efd3; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { margin: 0; }
.who { color: var(--ink-soft); font-size: 16px; }
.who b { color: var(--ink); }
.tip { background: var(--paper); border-radius: 14px; padding: 12px 14px; font-size: 16px; }
.tip span {
  display: inline-block; font: 600 13px "Fredoka", sans-serif; text-transform: uppercase; letter-spacing: .08em;
  color: var(--coral-deep); margin-right: 6px;
}
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; margin-top: auto !important; padding-top: 4px; }

/* Worksheets band */
.band { background: var(--paper-2); margin-top: 56px; padding-bottom: 56px; border-radius: 40px 40px 0 0; }
.worksheets { display: grid; gap: 32px; align-items: center; }
.worksheets p { max-width: 30em; }
.chips { list-style: none; padding: 0; margin: 18px 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 16px; }
.ten-frame { width: 100%; max-width: 360px; justify-self: center; transform: rotate(-3deg); }

/* Prompts */
.prompts { display: grid; gap: 20px; grid-template-columns: 1fr; }
.prompt { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1.5px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.prompt-head { display: flex; align-items: center; gap: 12px; }
.prompt-emoji { width: 44px; height: 44px; border-radius: 14px; background: var(--coral-wash); display: grid; place-items: center; font-size: 24px; flex: none; }
.prompt h3 { font-size: 21px; }
.prompt .what { color: var(--ink-soft); font-size: 16px; margin: 0; }
.prompt blockquote {
  margin: 0; background: var(--paper); border-radius: 14px; padding: 14px 16px;
  font-size: 15.5px; line-height: 1.55; white-space: pre-wrap; flex: 1;
  border-left: 4px solid var(--coral);
}
.prompt-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.prompt-actions .btn { min-height: 46px; padding: 0 16px; font-size: 16px; flex: 1 1 auto; white-space: nowrap; }
.copied { background: var(--ink) !important; color: #fff !important; }

/* Safety */
.safe { background: var(--coral-wash); border-radius: var(--radius); padding: 28px 24px; border: 2.5px dashed var(--coral); }
.safe ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.safe li { padding-left: 34px; position: relative; }
.safe li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; line-height: 1; top: 3px; }

/* Form */
.form { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1.5px solid var(--line); padding: 24px; display: grid; gap: 16px; max-width: 620px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 16px; }
.form small { font-weight: 400; color: var(--ink-soft); }
.form input, .form textarea {
  font: 400 17px "Nunito", sans-serif; color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%;
}
.form input:focus, .form textarea:focus { border-color: var(--coral); }
.form textarea { resize: vertical; }
.thanks { margin: 0; font: 600 20px "Fredoka", sans-serif; color: var(--coral-deep); text-align: center; }

footer { margin-top: 72px; padding: 36px 0 48px; border-top: 2px dashed var(--line); color: var(--ink-soft); text-align: center; font-size: 16px; }

@media (min-width: 700px) {
  .cards, .prompts { grid-template-columns: 1fr 1fr; }
  .worksheets { grid-template-columns: 1.2fr 1fr; }
  .section { padding-top: 88px; }
  .hero::after { display: block; }
  .hero { padding: 96px 0 130px; }
  .hero::before { width: 240px; height: 240px; right: -70px; top: -60px; }
  .hero::after { width: 60px; height: 60px; right: 150px; top: 170px; }
}
@media (min-width: 1000px) {
  .cards, .prompts { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
