:root {
  --navy: #08243c;
  --navy-2: #0d3552;
  --blue: #2c8296;
  --blue-light: #dff3f6;
  --gold: #f8b83a;
  --gold-deep: #925500;
  --cream: #fff9eb;
  --paper: #fffdf8;
  --ink: #132b3b;
  --muted: #5e6e78;
  --line: #d9e4e7;
  --green: #9acb79;
  --shadow: 0 28px 60px rgba(5, 31, 51, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip { position: fixed; top: -100px; left: 1rem; z-index: 50; background: white; padding: .75rem 1rem; border-radius: .5rem; }
.skip:focus { top: 1rem; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(8, 36, 60, .11);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: .86rem; font-weight: 850; letter-spacing: .12em; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--navy); color: var(--gold); font-size: .95rem; }
.header-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); }

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: 70px 0 80px;
}
.eyebrow { margin: 0 0 1rem; color: var(--gold-deep); font-size: .78rem; font-weight: 850; letter-spacing: .16em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; line-height: 1.05; color: var(--navy); }
h1 { margin: 0; font-size: clamp(3.15rem, 5.5vw, 5.35rem); max-width: 760px; }
h1 em { color: var(--blue); font-weight: 600; }
.hero-lede { max-width: 650px; margin: 1.7rem 0 2rem; font-size: clamp(1.1rem, 2vw, 1.3rem); color: #435c69; }
.signup-block { min-height: 76px; max-width: 680px; margin-top: 1.8rem; }
.signup-block .formkit-form { margin: 0 !important; }
.signup-block .formkit-powered-by-convertkit-container { margin-top: .55rem !important; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: .9rem 1.3rem; border-radius: 14px; text-decoration: none; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.primary { color: #142b38; background: var(--gold); box-shadow: 0 12px 26px rgba(216, 139, 19, .25); }
.cta-note { margin: .35rem 0 0; color: var(--muted); font-size: .92rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.4rem; color: var(--navy-2); font-weight: 750; font-size: .92rem; }

.hero-visual { position: relative; min-height: 570px; display: grid; place-items: center; }
.sunburst { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: repeating-conic-gradient(from 8deg, rgba(248,184,58,.26) 0 9deg, transparent 9deg 20deg); }
.peek-card { position: absolute; top: 50%; left: 50%; z-index: 1; width: 255px; margin: 0; overflow: hidden; border: 8px solid white; border-radius: 9px; background: white; box-shadow: var(--shadow); }
.peek-card img { aspect-ratio: 8.5 / 11; object-fit: cover; }
.peek-left { transform: translate(-108%, -50%) rotate(-10deg); }
.peek-right { transform: translate(8%, -50%) rotate(10deg); }
.cover-card { position: relative; z-index: 2; width: 350px; margin: 0; overflow: hidden; border: 10px solid white; border-radius: 9px; box-shadow: var(--shadow); transform: rotate(-4deg); }
.age-badge { position: absolute; z-index: 3; right: 2%; bottom: 7%; width: 96px; height: 96px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--gold); color: var(--navy); border: 7px solid var(--paper); box-shadow: 0 12px 25px rgba(8, 36, 60, .18); }
.age-badge strong { font: 700 2rem/1 Georgia, serif; }
.age-badge span { font-size: .66rem; font-weight: 900; letter-spacing: .13em; }

.story-strip { background: var(--navy); color: white; display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.4rem max(2rem, calc((100% - 1180px)/2)); }
.story-strip div { padding: .55rem 2rem; border-right: 1px solid rgba(255,255,255,.18); }
.story-strip div:last-child { border: 0; }
.story-strip strong { display: block; color: var(--gold); font-size: .72rem; letter-spacing: .13em; }
.story-strip span { font-weight: 750; }
.story-strip small { display: block; margin-top: .2rem; color: #c7dce7; font-size: .73rem; letter-spacing: .04em; }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.section-heading { max-width: 720px; }
h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.7rem); }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3.5rem; }
.feature-card { min-height: 270px; padding: 2rem; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 14px 34px rgba(8, 36, 60, .06); }
.feature-card:nth-child(2) { transform: translateY(20px); background: var(--blue-light); }
.feature-card:nth-child(3) { background: var(--cream); }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--gold); font: 700 1rem Georgia, serif; }
.feature-card h3 { margin: 1.25rem 0 .45rem; color: var(--navy); font: 700 1.75rem Georgia, serif; }
.feature-card p { margin: 0; color: var(--muted); }

.preview-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.preview-section::before { content: ""; position: absolute; left: 0; right: 0; height: 720px; z-index: -1; background: var(--cream); transform: skewY(-2deg); }
.preview-copy > p:not(.eyebrow) { font-size: 1.08rem; color: var(--muted); }
.check-list { padding: 0; margin: 1.6rem 0 0; list-style: none; }
.check-list li { position: relative; padding: .65rem 0 .65rem 2rem; border-bottom: 1px solid rgba(8,36,60,.12); font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #4f8a45; font-weight: 900; }
.page-fan { min-height: 560px; position: relative; }
.fan-card { position: absolute; top: 50%; left: 50%; width: 280px; margin: 0; overflow: hidden; border: 8px solid white; border-radius: 8px; box-shadow: var(--shadow); }
.fan-card img { aspect-ratio: 8.5 / 11; object-fit: cover; }
.fan-left { transform: translate(-93%, -48%) rotate(-8deg); }
.fan-center { z-index: 2; transform: translate(-50%, -52%) rotate(1deg); }
.fan-right { transform: translate(-6%, -46%) rotate(8deg); }
.swipe-hint { display: none; }

.rhythm { padding-top: 140px; }
.centered { margin: 0 auto; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 4rem; }
.step { display: flex; gap: 1.1rem; padding: 1.6rem; border-top: 3px solid var(--gold); background: #f7faf9; }
.step > span { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: white; font: 700 1.25rem Georgia, serif; }
.step strong { display: block; color: var(--navy); font-size: 1.06rem; }
.step p { margin: .2rem 0 0; color: var(--muted); }
.mid-cta { display: flex; align-items: center; justify-content: center; gap: 1rem 1.25rem; margin-top: 2.25rem; }
.mid-cta span { color: var(--muted); font-size: .92rem; }

.book-section { display: grid; grid-template-columns: 170px 1fr; gap: 2.5rem; align-items: center; border-top: 1px solid var(--line); }
.book-badge { width: 160px; height: 190px; display: grid; place-items: center; color: var(--gold); background: var(--navy); border-radius: 12px; box-shadow: 13px 13px 0 var(--blue); font: 700 5rem Georgia, serif; }
.book-section p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.book-section .byline { color: var(--navy); font-weight: 800; }
.amazon-cta { margin-top: .8rem; }

.book-cover-card {
  position: relative;
  z-index: 2;
  width: 360px;
  aspect-ratio: 8.5 / 11;
  margin: 0;
  overflow: hidden;
  border: 10px solid white;
  border-radius: 9px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}
.book-cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-visual .age-badge { right: 0; }
.book-visual .age-badge strong { font-size: 1.55rem; }
.book-visual .age-badge span { font-size: .56rem; }

.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.faq-grid article { padding: 1.6rem; border-radius: 18px; background: #f4f8f8; }
.faq-grid h3 { margin: 0 0 .5rem; color: var(--navy); font: 700 1.25rem Georgia, serif; }
.faq-grid p { margin: 0; color: #4f626d; }

.final-cta { position: relative; width: min(1100px, calc(100% - 40px)); margin-bottom: 100px; padding: 85px clamp(1.4rem, 7vw, 6rem); overflow: hidden; border-radius: 36px; background: var(--navy); color: white; text-align: center; }
.final-cta h2 { color: white; max-width: 760px; margin: 0 auto; }
.final-cta > p:not(.eyebrow) { color: #c7dce7; font-size: 1.1rem; }
.final-cta .eyebrow { color: var(--gold); }
.light { margin-top: 1rem; color: var(--navy); background: white; }
.final-cta small { display: block; margin-top: 1rem; color: #b5cbd7; }
.spark { position: absolute; color: var(--gold); font-size: 3rem; opacity: .7; }
.spark-one { top: 30px; left: 45px; }
.spark-two { right: 55px; bottom: 35px; }

footer { padding: 50px 20px 70px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }
.footer-brand { justify-content: center; color: var(--navy); }
.copyright { font-size: .85rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .signup-block { margin-left: auto; margin-right: auto; }
  .trust-row { justify-content: center; }
  .hero-visual { min-height: 520px; }
  .story-strip { grid-template-columns: 1fr; padding: 1.2rem 24px; }
  .story-strip div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .feature-grid, .steps, .faq-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(2) { transform: none; }
  .preview-section { grid-template-columns: 1fr; }
  .preview-section::before { height: 1160px; }
  .preview-copy { text-align: center; }
  .check-list { text-align: left; max-width: 560px; margin-left: auto; margin-right: auto; }
  .book-section { grid-template-columns: 1fr; text-align: center; }
  .book-badge { margin: 0 auto; }
  .book-section p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .book-cover-card { width: min(350px, 78vw); }
}

@media (max-width: 620px) {
  .site-header { min-height: 70px; width: min(100% - 28px, 1180px); }
  .header-link { display: none; }
  .brand { font-size: .75rem; }
  .hero, .section { width: min(100% - 28px, 1180px); }
  .hero { padding: 50px 0 60px; gap: 1rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .cta-note { display: block; margin-top: .75rem; }
  .hero-visual { min-height: 440px; }
  .sunburst { width: 340px; height: 340px; }
  .cover-card { width: min(270px, 72vw); }
  .peek-card { width: min(190px, 52vw); }
  .peek-left { transform: translate(-105%, -50%) rotate(-10deg); }
  .peek-right { transform: translate(5%, -50%) rotate(10deg); }
  .age-badge { width: 78px; height: 78px; right: 0; bottom: 10%; }
  .section { padding: 80px 0; }
  .feature-grid { gap: .8rem; margin-top: 2rem; }
  .feature-card { min-height: 0; padding: 1.25rem; display: grid; grid-template-columns: 42px 1fr; column-gap: .9rem; align-items: center; }
  .feature-icon { width: 42px; height: 42px; grid-row: 1 / span 2; }
  .feature-card h3 { margin: 0 0 .2rem; font-size: 1.45rem; }
  .feature-card p { grid-column: 2; }
  .page-fan { min-height: 0; display: flex; gap: 1rem; overflow-x: auto; padding: 1.2rem 11vw 1.8rem; margin: 0 -14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .fan-card { position: static; flex: 0 0 76vw; width: auto; border-width: 6px; transform: none; scroll-snap-align: center; }
  .swipe-hint { display: block; margin: .25rem 0 0; text-align: center; color: var(--muted); font-size: .88rem; }
  .rhythm { padding-top: 90px; }
  .mid-cta { display: block; text-align: center; }
  .mid-cta .button { width: 100%; min-height: 56px; }
  .mid-cta span { display: block; margin-top: .7rem; }
  .final-cta { width: calc(100% - 28px); margin-bottom: 60px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
