/* copperbeepublishing.com — Copperbee trust colours + Doodlepop pastels */
:root {
  --navy: #1e3a8a;
  --blue: #2563eb;
  --sky: #dbeafe;
  --leaf: #15803d;
  --mint: #d1fae5;
  --cream: #fffaf0;
  --sun: #fbbf24;
  --sun-soft: #fef3c7;
  --coral: #f97362;
  --coral-soft: #ffe4df;
  --grape: #7c5cff;
  --grape-soft: #ede9fe;
  --ink: #1f2937;
  --muted: #5b6474;
  --line: #e7e2d6;
  --card: #ffffff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(30, 58, 138, .10);
  --font-head: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: #fff; border-bottom: 3px solid var(--sun); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--navy); line-height: 1; }
.brand-name small { display: block; font-size: .72rem; font-weight: 500; color: var(--leaf); letter-spacing: .04em; margin-top: 3px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 8px 14px; border-radius: 999px; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sky); color: var(--navy); }
.nav a.nav-cta { background: var(--coral); color: #fff; }
.nav a.nav-cta:hover { background: #e85d4c; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  font-size: 1.1rem; text-decoration: none; border: 0; cursor: pointer; padding: 14px 26px; border-radius: 999px;
  background: var(--coral); color: #fff; box-shadow: 0 6px 0 #d64f3f; transition: transform .1s, box-shadow .1s; }
.btn:hover { color: #fff; transform: translateY(2px); box-shadow: 0 4px 0 #d64f3f; }
.btn:active { transform: translateY(6px); box-shadow: none; }
.btn-blue { background: var(--blue); box-shadow: 0 6px 0 var(--navy); }
.btn-blue:hover { box-shadow: 0 4px 0 var(--navy); }
.btn-ghost { background: #fff; color: var(--navy); box-shadow: 0 6px 0 var(--line); border: 2px solid var(--line); }
.btn-ghost:hover { color: var(--navy); box-shadow: 0 4px 0 var(--line); }
.btn[aria-disabled="true"] { background: #cbd5e1; box-shadow: 0 6px 0 #94a3b8; cursor: default; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px;
  background: radial-gradient(circle at 12% 20%, var(--sun-soft) 0 140px, transparent 141px),
              radial-gradient(circle at 92% 80%, var(--grape-soft) 0 180px, transparent 181px),
              linear-gradient(180deg, var(--sky), var(--cream)); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--leaf); background: var(--mint); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.hero p.lead { font-size: 1.25rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.hero-books { position: relative; min-height: 420px; }
.hero-books img { position: absolute; width: 62%; border-radius: 14px; box-shadow: var(--shadow); border: 6px solid #fff; }
.hero-books img:nth-child(1) { right: 2%; top: 0; transform: rotate(5deg); }
.hero-books img:nth-child(2) { left: 2%; top: 60px; transform: rotate(-6deg); }
.doodle { position: absolute; pointer-events: none; opacity: .9; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.band-white { background: #fff; }
.band-sun { background: var(--sun-soft); }
.band-mint { background: var(--mint); }

/* Promise strip */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promise { background: #fff; border-radius: var(--radius); padding: 24px 20px; text-align: center; box-shadow: var(--shadow); }
.promise .icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; }
.promise h3 { font-size: 1.15rem; margin-bottom: .3em; }
.promise p { font-size: .98rem; color: var(--muted); margin: 0; }

/* Book cards */
.book-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 300px)); gap: 28px; justify-content: center; }
.book-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s; }
.book-card:hover { transform: translateY(-4px) rotate(-.4deg); color: inherit; }
.book-card .cover { background: var(--sky); padding: 18px 18px 0; }
.book-card .cover img { border-radius: 10px 10px 0 0; box-shadow: 0 -2px 14px rgba(0,0,0,.12); }
.book-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.book-card h3 { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .8rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--grape-soft); color: var(--grape); }
.chip.leaf { background: var(--mint); color: var(--leaf); }
.chip.sun { background: var(--sun-soft); color: #92400e; }
.chip.coral { background: var(--coral-soft); color: #b42318; }

/* Book page */
.book-hero { padding: 48px 0 64px; background: linear-gradient(180deg, var(--sky), var(--cream)); }
.book-hero .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.book-cover { border-radius: 16px; box-shadow: var(--shadow); border: 8px solid #fff; transform: rotate(-2deg); }
.price { font-family: var(--font-head); font-size: 2rem; color: var(--leaf); font-weight: 700; }
.bullets { list-style: none; padding: 0; margin: 20px 0; }
.bullets li { padding-left: 34px; position: relative; margin-bottom: 10px; }
.bullets li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--leaf); color: #fff; font-weight: 900; font-size: .85rem; display: grid; place-items: center; }
.breadcrumb { font-size: .9rem; margin-bottom: 18px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.samples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.samples figure { margin: 0; background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--shadow); }
.samples figcaption { text-align: center; font-weight: 700; font-size: .95rem; padding-top: 8px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact { background: #fff; border-radius: var(--radius); padding: 22px; border-top: 6px solid var(--sun); box-shadow: var(--shadow); }
.fact strong { font-family: var(--font-head); color: var(--navy); display: block; font-size: 1.1rem; margin-bottom: 4px; }
.prose { max-width: 70ch; }
.prose ul { padding-left: 1.2em; }

/* Free pages / signup */
.signup { background: #fff; border-radius: 28px; padding: 32px; box-shadow: var(--shadow); border: 3px dashed var(--sun); }
.signup form { display: grid; gap: 12px; }
.signup label { font-weight: 800; font-size: .95rem; }
.signup input[type=email], .signup input[type=text] { font: inherit; padding: 14px 18px; border-radius: 14px; border: 2px solid var(--line); width: 100%; }
.signup input:focus { outline: 3px solid var(--sky); border-color: var(--blue); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; font-weight: 600; }
.check input { margin-top: 5px; width: 18px; height: 18px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-ok { display: none; background: var(--mint); border-radius: 16px; padding: 18px; font-weight: 700; color: var(--leaf); }
.signup.sent form { display: none; }
.signup.sent .form-ok { display: block; }
.free-hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.bonus-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bonus-preview img { background: #fff; border-radius: 12px; padding: 6px; box-shadow: var(--shadow); }

/* FAQ */
.faq details { background: #fff; border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--navy); cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Imprints */
.imprints { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.imprint { border-radius: 18px; padding: 18px 14px; text-align: center; background: #fff; box-shadow: var(--shadow); }
.imprint b { font-family: var(--font-head); color: var(--navy); display: block; font-size: 1.05rem; }
.imprint span { font-size: .85rem; color: var(--muted); }
.imprint.live { outline: 3px solid var(--coral); }

/* Footer */
.site-footer { background: var(--navy); color: #dbe4ff; padding: 48px 0 28px; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-small { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 18px; font-size: .88rem; }

@media (max-width: 900px) {
  .hero .wrap, .book-hero .wrap, .free-hero .wrap { grid-template-columns: 1fr; }
  .hero-books { min-height: 340px; max-width: 460px; margin: 0 auto; width: 100%; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .samples { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .imprints { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .nav a { padding: 6px 10px; font-size: .92rem; }
  .brand-name small { display: none; }
  section { padding: 52px 0; }
  .promise-grid { grid-template-columns: 1fr; }
  .signup { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
