:root {
  --ink: #4b2b1f;
  --ink-soft: #745548;
  --cream: #fff9f1;
  --paper: #fffdf9;
  --pink: #f6b9bd;
  --pink-deep: #ee7f86;
  --lavender: #b69ae8;
  --yellow: #f9c85b;
  --teal: #7bb8bd;
  --line: #eadfd7;
  --shadow: 0 18px 50px rgba(80, 44, 31, .12);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,253,249,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(234,223,215,.8);
}
.nav-wrap { height: 84px; display: flex; align-items: center; gap: 34px; }
.brand img { width: 108px; height: 70px; object-fit: contain; object-position: center; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 700; font-size: 14px; }
.nav a:hover { color: var(--pink-deep); }
.nav-cta { padding: 11px 18px; background: var(--ink); color: white; border-radius: 999px; font-weight: 700; font-size: 14px; }

.hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(249,200,91,.24), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(182,154,232,.2), transparent 26%),
    linear-gradient(180deg, #fff9f1 0%, #fffdf9 100%);
  overflow: hidden;
}
.hero-grid { min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 80px 0 96px; }
.eyebrow { display: inline-block; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 800; color: #a86961; }
h1, h2, h3, h4 { font-family: "Nunito", system-ui, sans-serif; line-height: 1.1; margin-top: 0; }
h1 { font-size: clamp(48px, 6vw, 78px); letter-spacing: -.045em; margin: 18px 0 22px; max-width: 760px; }
h1 span { color: var(--pink-deep); }
.hero-text { font-size: 19px; color: var(--ink-soft); max-width: 650px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(74,44,32,.12); }
.primary { background: var(--ink); color: #fff; }
.secondary { background: #fff; border: 1px solid var(--line); }
.accent { background: var(--pink-deep); color: #fff; }
.full { width: 100%; margin-top: 16px; }
.mini-points { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; font-weight: 700; color: #8d6c5d; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 520px; }
.logo-card { width: min(560px, 100%); aspect-ratio: 1 / 1; border-radius: 50%; background: rgba(255,255,255,.86); box-shadow: var(--shadow); display: grid; place-items: center; padding: 36px; border: 1px solid rgba(255,255,255,.9); }
.logo-card img { width: 100%; max-height: 100%; object-fit: contain; }
.spark { position: absolute; font-size: 34px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.08)); }
.spark-one { color: var(--yellow); top: 12%; right: 6%; transform: rotate(14deg); }
.spark-two { color: var(--pink-deep); bottom: 15%; left: 0; transform: rotate(-10deg); }
.spark-three { color: var(--lavender); top: 42%; left: -2%; }

.product-section { padding: 98px 0; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2 { font-size: clamp(38px, 5vw, 58px); margin: 10px 0 12px; letter-spacing: -.035em; }
.section-heading p { color: var(--ink-soft); font-size: 18px; margin: 0; }
.section-heading.compact { margin-bottom: 30px; }

.product-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; background: var(--cream); border: 1px solid var(--line); border-radius: 34px; padding: 48px; box-shadow: 0 18px 55px rgba(87,50,32,.08); }
.book-stage { position: relative; display: grid; place-items: center; min-height: 590px; border-radius: 26px; background: linear-gradient(135deg, #fff5ed, #f9edf8); overflow: hidden; }
.book-stage::before, .book-stage::after { content:""; position:absolute; width:150px; height:150px; border-radius:50%; filter:blur(1px); opacity:.7; }
.book-stage::before { background: rgba(249,200,91,.35); top:-50px; left:-40px; }
.book-stage::after { background: rgba(182,154,232,.28); bottom:-60px; right:-50px; }
.book-cover { width: 74%; max-height: 510px; object-fit: contain; border-radius: 8px; box-shadow: 0 25px 48px rgba(73,42,31,.18); transform: rotate(-2deg); background:#fff; z-index:2; }
.book-shadow { position:absolute; width:62%; height:52px; background:rgba(78,47,35,.12); border-radius:50%; filter:blur(14px); bottom:44px; }
.badge { position:absolute; z-index:3; top:24px; right:24px; background:#fff; border:1px solid var(--line); padding:9px 14px; border-radius:999px; font-weight:800; font-size:12px; }

.product-copy { align-self: center; }
.pill { display:inline-flex; padding:7px 12px; background:#fff; border:1px solid var(--line); border-radius:999px; font-size:12px; font-weight:800; }
.product-copy h3 { font-size: clamp(32px, 4vw, 48px); margin: 16px 0 14px; letter-spacing: -.03em; }
.product-copy > p { color: var(--ink-soft); font-size:16px; margin:0 0 28px; }
.format-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.format-card { background:#fff; border:1px solid var(--line); border-radius:22px; padding:20px; display:flex; flex-direction:column; min-height:280px; }
.format-card.digital { background:#fff7f8; border-color:#f2d4d6; }
.format-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:#fff3df; margin-bottom:15px; font-size:22px; }
.format-card.digital .format-icon { background:#f6e6ff; }
.format-card h4 { font-size:22px; margin:0 0 5px; }
.format-card p { color:var(--ink-soft); font-size:14px; margin:0; }
.checkout-note { margin-top:10px; color:#9a7a6f; line-height:1.45; }
.product-notes { display:flex; flex-wrap:wrap; gap:10px 16px; margin-top:24px; color:#76584c; font-size:13px; font-weight:700; }

.preview-section { padding: 96px 0; background:#fff8f4; }
.preview-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; }
.preview-grid figure { margin:0; background:#fff; border:1px solid var(--line); border-radius:22px; padding:14px; box-shadow:0 14px 38px rgba(80,44,31,.06); }
.preview-grid img { width:100%; aspect-ratio:3/4; object-fit:cover; object-position:top; border-radius:14px; }
.preview-grid figcaption { padding:14px 6px 6px; font-family:"Nunito", sans-serif; font-weight:800; }

.about-section { padding: 100px 0; }
.about-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:center; }
.about-mark { background:linear-gradient(145deg,#fff4f0,#f5eeff); border-radius:30px; padding:40px; border:1px solid var(--line); }
.about-mark img { max-height:460px; margin:auto; object-fit:contain; }
.about-copy h2 { font-size:clamp(40px,5vw,60px); margin:12px 0 18px; }
.about-copy p { color:var(--ink-soft); font-size:18px; }

.contact-section { padding: 0 0 100px; }
.contact-card { background:var(--ink); color:#fff; border-radius:30px; padding:42px 46px; display:flex; justify-content:space-between; align-items:center; gap:30px; }
.contact-card .eyebrow { color:#f6c5be; }
.contact-card h2 { font-size:34px; margin:10px 0 6px; }
.contact-card p { margin:0; color:#ead9d2; }
.contact-actions { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.contact-actions .primary { background:#fff; color:var(--ink); }
.text-link { font-weight:700; color:#f6c5be; }

footer { border-top:1px solid var(--line); padding:34px 0 44px; }
.footer-grid { display:grid; grid-template-columns:1.3fr .9fr auto; gap:30px; align-items:start; color:#7c6155; font-size:13px; }
.footer-grid strong { font-family:"Nunito", sans-serif; font-size:17px; color:var(--ink); }
.footer-grid p { margin:5px 0 0; }
.footer-links { display:flex; gap:18px; font-weight:700; }
.copyright { text-align:right; }

@media (max-width: 900px) {
  .nav { display:none; }
  .nav-cta { margin-left:auto; }
  .hero-grid, .product-card, .about-grid { grid-template-columns:1fr; }
  .hero-grid { padding-top:52px; }
  .hero-art { min-height:430px; }
  .logo-card { max-width:480px; }
  .product-card { padding:28px; gap:32px; }
  .book-stage { min-height:500px; }
  .preview-grid { grid-template-columns:1fr 1fr; }
  .contact-card { align-items:flex-start; flex-direction:column; }
  .footer-grid { grid-template-columns:1fr; }
  .copyright { text-align:left; }
}

@media (max-width: 620px) {
  .container { width:min(100% - 26px, 1160px); }
  .nav-wrap { height:74px; }
  .brand img { width:92px; height:58px; }
  .hero-grid { min-height:auto; padding-bottom:70px; }
  h1 { font-size:45px; }
  .hero-art { min-height:360px; }
  .logo-card { padding:20px; }
  .format-grid { grid-template-columns:1fr; }
  .preview-grid { grid-template-columns:1fr; }
  .book-stage { min-height:440px; }
  .book-cover { width:82%; }
  .product-card { padding:18px; border-radius:24px; }
  .contact-card { padding:30px 24px; }
  .footer-links { flex-wrap:wrap; }
}

/* Contact form */
.contact-panel {
  background: var(--ink);
  color: #fff;
  border-radius: 30px;
  padding: 48px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-intro .eyebrow { color: #f6c5be; }
.contact-intro h2 { font-size: clamp(34px, 4vw, 46px); margin: 10px 0 14px; }
.contact-intro > p { margin: 0; color: #ead9d2; max-width: 520px; }
.contact-direct { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #d8c2b8; }
.contact-direct a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.contact-form { background: #fffdf9; color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.contact-form label { display: block; margin-bottom: 16px; }
.contact-form label > span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dbcac1;
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--pink-deep); box-shadow: 0 0 0 3px rgba(238,127,134,.14); }
.form-submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-form button { border: 0; cursor: pointer; font: inherit; }
.contact-form button:disabled { opacity: .62; cursor: wait; transform: none; box-shadow: none; }
.form-status { margin: 0; font-size: 13px; font-weight: 700; }
.form-status.success { color: #246a4a; }
.form-status.error { color: #a63b3b; }
.form-privacy { margin: 14px 0 0; color: #8b7065; font-size: 12px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 900px) {
  .contact-panel { grid-template-columns: 1fr; padding: 34px; gap: 30px; }
}
@media (max-width: 620px) {
  .contact-panel { padding: 24px 18px; border-radius: 24px; }
  .contact-form { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-submit-row .button { width: 100%; }
}
