/* Little Anime Bible Stories — vincerevo.com */
@font-face { font-family: "Luckiest Guy"; src: url("fonts/LuckiestGuy-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Lato"; font-weight: 400; src: url("fonts/Lato-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Lato"; font-weight: 700; src: url("fonts/Lato-Bold.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Lato"; font-weight: 900; src: url("fonts/Lato-Black.woff2") format("woff2"); font-display: swap; }

:root {
  --ink: #17171c;
  --cream: #fff8e6;
  --paper: #ffffff;
  --yellow: #ffcf3f;
  --orange: #f7941d;
  --sky: #8fd3f4;
  --night: #1c2452;
  --red: #e5483a;
  --muted: #4a4a55;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 4px solid #1a5fd0; outline-offset: 3px; }

/* Comic headline: yellow fill, black edge, like the covers */
.comic {
  font-family: "Luckiest Guy", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow:
    -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink),
    0 -2px 0 var(--ink), 0 2px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink),
    4px 5px 0 var(--ink);
}
.comic .o { color: var(--orange); }

.tag {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 8px;
}

/* Header */
.top { background: var(--yellow); border-bottom: var(--line); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; text-decoration: none; line-height: 1.2; }
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  color: var(--ink);
  background: var(--orange);
  border: var(--line);
  border-radius: 12px;
  padding: 14px 22px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn.small { padding: 8px 14px; font-size: 0.85rem; background: var(--paper); white-space: nowrap; }

/* Hero */
.hero {
  background:
    radial-gradient(circle, rgba(23, 23, 28, 0.13) 1.5px, transparent 1.6px) 0 0 / 14px 14px,
    linear-gradient(180deg, var(--sky) 0%, #c9ecff 60%, var(--cream) 100%);
  border-bottom: var(--line);
  padding: 44px 0 56px;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); margin: 14px 0 16px; }
.hero h1 span { display: block; }
.lead { font-size: 1.2rem; font-weight: 700; max-width: 34em; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.badges li { background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 14px; font-weight: 900; font-size: 0.9rem; }
.hero-art { position: relative; justify-self: center; max-width: 460px; }
.hero-art img { border: 5px solid var(--ink); border-radius: 6px; box-shadow: 10px 10px 0 var(--ink); transform: rotate(2deg); background: var(--paper); }
.burst {
  position: absolute; top: -26px; right: -6px; width: 132px; height: 132px;
  display: grid; place-items: center; text-align: center;
  background: var(--yellow);
  font-family: "Luckiest Guy", "Arial Black", sans-serif; font-size: 1.05rem; line-height: 1.05; text-transform: uppercase;
  transform: rotate(10deg);
  clip-path: polygon(50% 0, 61% 14%, 79% 7%, 80% 26%, 98% 30%, 88% 46%, 100% 61%, 82% 67%, 84% 86%, 66% 82%, 55% 100%, 43% 84%, 25% 92%, 23% 72%, 4% 69%, 13% 52%, 0 37%, 18% 30%, 17% 10%, 36% 16%);
  filter: drop-shadow(3px 3px 0 var(--ink));
}

/* Sign-up form */
.signup { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; max-width: 520px; }
.signup h2, .signup .form-title { font-size: 1.15rem; font-weight: 900; margin: 0 0 12px; line-height: 1.3; }
.signup .fields { display: grid; gap: 10px; }
.signup label { font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 3px; }
.signup input[type="text"], .signup input[type="email"] {
  width: 100%; font: inherit; padding: 12px 14px; border: var(--line); border-radius: 10px; background: #fffdf5; color: var(--ink);
}
.signup .btn { width: 100%; margin-top: 4px; font-size: 1.05rem; }
.fine { font-size: 0.82rem; color: var(--muted); margin: 12px 0 0; line-height: 1.45; }
.form-note { margin: 12px 0 0; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--yellow); font-weight: 700; font-size: 0.95rem; }
.form-note:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Sections */
section { padding: 64px 0; }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-top: 12px; }
.sec-head p { max-width: 40em; margin: 14px auto 0; font-size: 1.1rem; }

.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.panel { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.panel .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); border: var(--line);
  display: grid; place-items: center; font-family: "Luckiest Guy", sans-serif; font-size: 1.4rem; padding-top: 4px; margin-bottom: 12px;
}
.panel h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 8px; line-height: 1.2; }
.panel p { margin: 0; }

.peek { background: var(--night); color: #fff; border-block: var(--line); }
.peek .tag { background: var(--yellow); color: var(--ink); }
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pages figure { margin: 0; }
.pages img { border: 4px solid #fff; border-radius: 6px; box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.55); }
.pages figure:nth-child(1) img { transform: rotate(-2deg); }
.pages figure:nth-child(3) img { transform: rotate(2deg); }
.pages figcaption { text-align: center; margin-top: 16px; font-weight: 700; font-size: 0.95rem; }

.shelf { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: end; }
.shelf figure { margin: 0; text-align: center; }
.shelf img { border: 3px solid var(--ink); border-radius: 4px; box-shadow: 5px 5px 0 var(--ink); transition: transform 0.15s ease; background: var(--paper); }
.shelf figure:hover img { transform: translateY(-6px) rotate(-1.5deg); }
.shelf figcaption { font-weight: 900; font-size: 0.85rem; margin-top: 12px; line-height: 1.25; }
.shelf figcaption span { display: block; font-weight: 700; color: var(--muted); }
.note { text-align: center; margin: 28px auto 0; font-weight: 700; max-width: 40em; }

.journey { background: var(--yellow); border-block: var(--line); }
.journey .tag { background: var(--ink); }
.journey .comic { color: #fff; }
.eras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.era { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--ink); }
.era summary { cursor: pointer; padding: 14px 18px; font-weight: 900; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 12px; align-items: center; list-style: none; }
.era summary::-webkit-details-marker { display: none; }
.era summary::after { content: "+"; font-family: "Luckiest Guy", sans-serif; font-size: 1.4rem; line-height: 1; }
.era[open] summary::after { content: "–"; }
.era summary small { display: block; font-weight: 700; color: var(--muted); font-size: 0.85rem; }
.era ol { list-style: none; margin: 0; padding: 0 18px 14px; }
.era li { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-top: 1px dashed #c9c2ad; font-size: 0.98rem; }
.era li b { flex: 0 0 2em; font-weight: 900; }
.era li em { margin-left: auto; font-style: normal; font-weight: 900; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; background: var(--orange); border: 2px solid var(--ink); border-radius: 999px; padding: 0 8px; white-space: nowrap; }

.parents .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: center; }
.parents img { border: 4px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow); transform: rotate(-2deg); max-width: 380px; width: 100%; justify-self: center; }
.parents h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin: 12px 0 18px; }
.speech { background: var(--paper); border: var(--line); border-radius: 22px; padding: 20px 24px; font-size: 1.25rem; font-weight: 900; line-height: 1.4; position: relative; margin: 0 0 22px; box-shadow: 4px 4px 0 var(--ink); }
.speech::after { content: ""; position: absolute; left: 40px; bottom: -19px; width: 30px; height: 30px; background: var(--paper); border-right: var(--line); border-bottom: var(--line); transform: rotate(45deg) skew(12deg, 12deg); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; }
.ticks li { padding-left: 34px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: "★"; position: absolute; left: 0; top: -2px; color: var(--orange); font-size: 1.3rem; -webkit-text-stroke: 1px var(--ink); }

.author { background: var(--sky); border-block: var(--line); }
.author .card { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; max-width: 760px; margin: 0 auto; }
.author h2 { font-size: 1.6rem; font-weight: 900; margin: 10px 0 12px; }
.author p:last-child { margin: 0; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq .era summary { font-size: 1.08rem; }
.faq .era p { padding: 0 18px 16px; margin: 0; }

.final { background: var(--night); color: #fff; border-top: var(--line); text-align: center; }
.final h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 14px; }
.final p.lead { margin: 0 auto 26px; }
.final .signup { margin: 0 auto; text-align: left; color: var(--ink); }

footer { background: var(--ink); color: #d8d8de; padding: 28px 0; font-size: 0.9rem; text-align: center; }
footer p { margin: 0 0 6px; }
footer a { color: #fff; }

/* Simple pages (thanks, privacy, 404) */
.simple { padding: 56px 0 72px; }
.simple .card { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; max-width: 760px; margin: 0 auto; }
.simple h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 18px; }
.simple h2 { font-size: 1.2rem; font-weight: 900; margin: 26px 0 8px; line-height: 1.3; }
.simple.center .card { text-align: center; }

@media (max-width: 900px) {
  .hero .wrap, .parents .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; margin-top: 12px; }
  .burst { width: 108px; height: 108px; font-size: 0.86rem; }
  .panels, .eras { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .signup { max-width: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  section { padding: 48px 0; }
  .pages { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; gap: 34px; }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .brand { font-size: 0.8rem; }
  .hero { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .shelf img { transition: none; }
}

/* Journey stages */
ol.eras { list-style: none; margin: 0; padding: 0; }
.stage { display: flex; gap: 16px; padding: 18px 20px; align-items: flex-start; }
.stage .num { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); border: var(--line); display: grid; place-items: center; font-family: "Luckiest Guy", sans-serif; font-size: 1.4rem; padding-top: 4px; }
.stage h3 { font-size: 1.2rem; font-weight: 900; line-height: 1.2; }
.stage .range { font-weight: 700; color: var(--muted); font-size: 0.9rem; margin: 2px 0 6px; }
.stage p { margin: 0; font-size: 0.98rem; }
