@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700;800&family=Satisfy&display=swap');

:root {
  --blue: #145da0;
  --blue-dark: #0f4c87;
  --blue-pale: #eef6fc;
  --blush: #fdd9dc;
  --blush-pale: #ffe6e8;
  --paper: #fffdfc;
  --ink: #24272b;
  --muted: #65686d;
  --line: #e8dfe1;
  --white: #ffffff;
  --max: 1160px;
  --sans: 'Nunito Sans', Arial, sans-serif;
  --script: 'Satisfy', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.7; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.centered { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--blush); outline-offset: 3px; }

h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.12; }
h1 { font-size: clamp(50px, 6vw, 78px); letter-spacing: -.035em; }
h2 { font-size: clamp(36px, 4vw, 52px); letter-spacing: -.025em; }
h3 { font-size: 28px; }
p { margin-top: 0; }
.eyebrow { margin: 0 0 15px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .17em; }
.script-accent { margin: 0 0 2px; color: var(--blue); font-family: var(--script); font-size: clamp(34px, 5vw, 50px); line-height: 1.1; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,253,252,.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(232,223,225,.8); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.site-logo { width: 240px; height: auto; max-height: 58px; object-fit: contain; }
.footer-brand-name { color: white; text-decoration: none; font-weight: 800; font-size: 16px; letter-spacing: .12em; }
nav { display: flex; align-items: center; gap: 27px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--muted); }
nav a:hover { color: var(--blue); }
nav .nav-cta { background: var(--blue); color: white; padding: 10px 17px; border-radius: 999px; }
nav .nav-cta:hover { background: var(--blue-dark); color: white; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--blush-pale) 0%, #fff 48%, var(--blue-pale) 100%); padding: 76px 0 66px; }
.hero::before { content: ''; position: absolute; right: -110px; top: -120px; width: 390px; height: 390px; border-radius: 50%; border: 50px solid rgba(20,93,160,.06); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 58px; align-items: center; min-height: 610px; }
.hero-copy { position: relative; z-index: 2; }
.hero-lede { max-width: 670px; font-size: 20px; color: #565b61; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 2px solid transparent; border-radius: 9px; text-decoration: none; font-weight: 800; font-size: 14px; transition: .18s ease; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { background: white; color: var(--blue); border-color: var(--blue); }
.button-secondary:hover { background: var(--blue-pale); }
.launch-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-art { position: relative; justify-self: end; width: min(100%, 540px); }
.hero-art img { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 22px 25px rgba(53,67,79,.11)); mix-blend-mode: multiply; }

.brand-strip { padding: 25px 0; background: var(--blue); color: white; }
.brand-promise { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px; font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.brand-promise i { opacity: .5; font-style: normal; }

.section-heading { max-width: 780px; margin: 0 auto 48px; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; margin-top: 0; }
.books-section { background: var(--paper); }
.book-grid { display: grid; grid-template-columns: 1fr; gap: 34px; max-width: 1040px; margin: 0 auto; }
.book-card { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 15px 42px rgba(54,64,75,.07); }
.book-visual { background: linear-gradient(145deg, var(--blush-pale), #f8fbfe); padding: 34px; display: flex; align-items: center; justify-content: center; }
.book-visual img { width: min(100%, 300px); height: auto; aspect-ratio: 2 / 3; object-fit: contain; object-position: center; border-radius: 3px; box-shadow: 0 18px 36px rgba(38,53,67,.18); }
.book-copy { padding: 44px 44px; align-self: center; }
.book-label { color: var(--blue); font-weight: 800; font-size: 12px; letter-spacing: .12em; margin: 0 0 11px; }
.book-subtitle { color: var(--blue-dark); line-height: 1.45; font-weight: 600; }
.book-copy > p:not(.book-label):not(.book-subtitle):not(.small-note) { color: #555a60; }
.small-note { font-size: 13px; color: #5f5c60; background: var(--blush-pale); border-left: 3px solid var(--blue); padding: 11px 13px; margin: 20px 0; }
.book-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }

.how-section { background: var(--blue-pale); }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.how-copy { font-size: 18px; color: #50565c; }
.how-copy p:first-child { margin-top: 0; }

.newsletter-section { background: linear-gradient(135deg, var(--blush-pale), #fff 52%, #f7fbff); }
.newsletter-grid { display: grid; grid-template-columns: 1fr 460px; gap: 70px; align-items: center; }
.newsletter-copy > p:not(.eyebrow):not(.newsletter-freebie) { color: #555b61; font-size: 18px; max-width: 660px; }
.newsletter-freebie { margin-top: 24px; color: var(--muted); font-size: 14px; }
.newsletter-freebie a { color: var(--blue); font-weight: 700; }

.newsletter-form-shell { width: 100%; background: white; border: 1px solid rgba(20,93,160,.11); border-radius: 18px; padding: 26px; box-shadow: 0 18px 45px rgba(47,62,78,.09); }
.ml-form-embedContainer, .ml-form-align-center, .ml-form-embedWrapper { width: 100%; }
.ml-form-formContent { display: grid; gap: 12px; }
.ml-form-fieldRow input { width: 100%; min-height: 52px; border: 1px solid #cfd5db; border-radius: 8px; padding: 13px 14px; color: var(--ink); background: white; font: 500 16px/1.2 var(--sans); }
.ml-form-fieldRow input::placeholder { color: #62666b; opacity: 1; }
.ml-form-embedPermissions { margin: 18px 0 16px; color: #50555a; font-size: 13px; line-height: 1.55; }
.ml-form-embedPermissions p { margin: 0 0 3px; }
.privacy-link { color: var(--blue); font-weight: 700; font-size: 12px; }
.ml-form-recaptcha { margin: 0 0 18px; min-height: 78px; overflow: hidden; }
.ml-form-embedSubmit button.primary { width: 100%; min-height: 52px; border: 0; border-radius: 8px; background: var(--blue); color: white; cursor: pointer; font: 800 16px/1 var(--sans); }
.ml-form-embedSubmit button.primary:hover { background: var(--blue-dark); }
.ml-form-successBody { text-align: center; padding: 24px 10px; }
.ml-form-successBody h3 { color: var(--blue); margin-bottom: 8px; }
.ml-form-successBody p { color: var(--muted); margin: 0; }
.ml-form-embedSubmitLoad { display: inline-block; width: 20px; height: 20px; }
.ml-form-embedSubmitLoad:after { content: ' '; display: block; width: 11px; height: 11px; margin: 1px; border-radius: 50%; border: 4px solid #fff; border-color: #fff #fff #fff transparent; animation: ml-form-embedSubmitLoad 1.2s linear infinite; }
@keyframes ml-form-embedSubmitLoad { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }

.about-section { background: var(--blush-pale); }
.about-grid { display: grid; grid-template-columns: 310px 1fr; gap: 70px; align-items: center; }
.about-monogram { width: 290px; height: 290px; border-radius: 50%; background: white; border: 1px solid #f0cfd2; display: grid; place-items: center; align-content: center; box-shadow: 0 16px 40px rgba(70,72,80,.07); }
.about-monogram-img { width: 86%; height: 86%; object-fit: contain; }
.author-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.about-monogram small { margin-top: 13px; color: var(--blue); font-size: 10px; letter-spacing: .18em; font-weight: 800; }
.about-grid p:not(.eyebrow) { color: #53595f; max-width: 760px; }

.closing-section { background: white; }
.closing-section .container { max-width: 780px; }
.closing-actions { justify-content: center; }

.site-footer { background: #1f2933; color: white; padding: 30px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer-inner p { margin: 6px 0 0; color: rgba(255,255,255,.67); font-size: 13px; }
.footer-brand-block .copyright { margin-top: 12px; color: rgba(255,255,255,.78); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; }
.footer-links a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-links a:hover { color: white; }

.legal-page { padding: 80px 0 100px; }
.legal-inner { max-width: 790px; }
.legal-inner h1 { font-size: 55px; }
.legal-inner h2 { font-size: 26px; margin-top: 40px; }
.legal-inner p { color: #53595f; }
.updated { font-size: 13px; color: var(--muted) !important; }
.legal-inner a { color: var(--blue); font-weight: 700; }
.legal-inner a:hover { text-decoration-thickness: 2px; }


@media (max-width: 980px) {
  .hero-grid, .split-grid, .about-grid, .newsletter-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-grid { min-height: 0; }
  .hero-art { justify-self: center; max-width: 500px; }
  .book-card { grid-template-columns: 300px 1fr; }
  .about-monogram { width: 230px; height: 230px; }
  .newsletter-form-shell { max-width: 520px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 66px 0; }
  .header-inner { min-height: 68px; }
  .site-logo { width: 190px; max-height: 48px; }
  nav a:not(.nav-cta):not(.nav-contact) { display: none; }
  .hero { padding: 50px 0 38px; }
  h1 { font-size: 48px; }
  .hero-lede { font-size: 17px; }
  .hero-art { max-width: 395px; }
  .brand-promise { gap: 10px 13px; font-size: 12px; }
  .book-card { grid-template-columns: 1fr; }
  .book-visual { padding: 26px 24px; }
  .book-visual img { width: min(100%, 280px); }
  .book-copy { padding: 30px 24px 34px; }
  .about-grid { justify-items: start; }
  .newsletter-form-shell { padding: 20px 18px; }
  .ml-form-recaptcha { width: 100%; }
  .g-recaptcha { transform: scale(.86); transform-origin: 0 0; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .g-recaptcha { transform: scale(.76); }
}

@media (max-width: 460px) {
  .site-logo { width: 165px; }
  nav .nav-cta { padding: 9px 13px; font-size: 12px; }
  .header-inner { gap: 14px; }
}

/* Legal hierarchy refinements */
.legal-inner .last-updated { font-size: 14px; color: var(--muted); margin-top: 10px; }
.legal-inner h2 { font-size: 25px; line-height: 1.25; margin-top: 42px; margin-bottom: 14px; }
.legal-inner h3 { font-size: 18px; line-height: 1.35; margin-top: 24px; margin-bottom: 8px; color: var(--blue); font-weight: 800; }
.legal-inner h3 + ul { margin-top: 8px; }

/* Contact page */
.contact-page { padding: 92px 0 110px; background: linear-gradient(135deg, var(--blush-pale) 0%, #fff 58%, var(--blue-pale) 100%); }
.contact-inner { max-width: 760px; }
.contact-intro { max-width: 650px; font-size: 19px; color: var(--muted); margin-bottom: 30px; }
.contact-card { background: white; border: 1px solid rgba(20,93,160,.12); border-radius: 18px; padding: 30px 32px; box-shadow: 0 18px 45px rgba(47,62,78,.08); }
.contact-card p { margin-top: 0; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-label { margin-bottom: 6px !important; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.contact-email { margin-bottom: 18px; font-size: clamp(20px, 3vw, 28px); font-weight: 800; }
.contact-email a { color: var(--blue-dark); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-signoff { margin-top: 30px; }
.contact-signoff span { font-family: var(--serif); font-size: 24px; color: var(--blue-dark); }
nav .nav-contact[aria-current="page"] { color: var(--blue); }
@media (max-width: 640px) {
  .contact-page { padding: 62px 0 78px; }
  .contact-card { padding: 24px 20px; }
  nav { gap: 12px; }
  nav .nav-contact { font-size: 12px; }
}
