/* Her First Business — design system (sales + thank-you pages) */
:root {
  color-scheme: light;
  --plum: #5c1a3b;
  --plum-2: #7a2a52;
  --plum-ink: #3a0f25;
  --gold: #c4801f;
  --gold-2: #f2c96b;
  --gold-soft: #fbefd6;
  --blush: #fbeef3;
  --blush-2: #f6dde7;
  --lav: #efe9f7;
  --cream: #fffaf4;
  --paper: #ffffff;
  --ink: #2b1420;
  --text-2: #4f3a46;
  --muted: #7d6874;
  --line: #eadbe2;
  --good: #2f8a63;
  --bad: #b5475a;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hind", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --r: 18px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(92,26,59,.06), 0 12px 32px -16px rgba(92,26,59,.28);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--plum); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section--blush { background: var(--blush); }
.section--lav { background: linear-gradient(180deg, var(--lav), var(--cream)); }
.section--plum { background: var(--plum); color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 8.6vw, 62px); color: var(--plum-ink); }
.h2 { font-family: var(--serif); font-weight: 750; font-size: clamp(28px, 6vw, 46px); color: var(--plum-ink); }
.section--plum .h2 { color: #fff; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-2); }
.section--plum .lead { color: #f3dce7; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head .h2 { margin: 12px 0 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 26px; border-radius: 14px; border: 0; cursor: pointer; font-family: var(--sans); font-size: 17px; font-weight: 700; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-align: center; line-height: 1.2; }
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 12px 26px -12px rgba(92,26,59,.75), inset 0 1px 0 rgba(255,255,255,.15); }
.btn-primary:hover { background: var(--plum-2); transform: translateY(-1px); }
.btn-gold { background: var(--gold-2); color: var(--plum-ink); box-shadow: 0 12px 26px -12px rgba(196,128,31,.8); }
.btn-gold:hover { background: #f6d688; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--plum); border: 1.5px solid var(--blush-2); }
.btn-ghost:hover { border-color: var(--plum); }
.btn-lg { min-height: 62px; font-size: 18px; padding: 16px 30px; }
.btn-block { width: 100%; }
.btn svg { flex: none; }
.cta-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .cta-row { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.note { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.note svg { flex: none; color: var(--gold); }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .g2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0,1fr)); } .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 980px) { .g3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blush); color: var(--plum); flex: none; }
.icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; font-weight: 700; margin: 14px 0 6px; color: var(--plum-ink); letter-spacing: -0.005em; }
.card p { font-size: 15.5px; color: var(--text-2); }

/* Book mockup */
.book-stage { perspective: 1600px; display: grid; place-items: center; position: relative; padding: 10px 0 30px; }
.book-stage::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(242,201,107,.55), rgba(246,221,231,.6) 45%, transparent 70%); filter: blur(28px); z-index: 0; }
.book { position: relative; z-index: 1; width: min(300px, 64vw); aspect-ratio: 909 / 1287; transform-style: preserve-3d; transform: rotateY(-20deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.book:hover { transform: rotateY(-10deg) rotateX(1deg); }
.book-cover { position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; overflow: hidden; transform: translateZ(12px); box-shadow: 26px 34px 50px -20px rgba(58,15,37,.55), 0 0 0 1px rgba(0,0,0,.05); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(255,255,255,.14) 2.2%, rgba(0,0,0,.12) 4%, transparent 7%), linear-gradient(115deg, rgba(255,255,255,.12) 0%, transparent 35%); }
.book-pages { position: absolute; top: 1.2%; bottom: 1.2%; right: -1px; width: 24px; background: repeating-linear-gradient(90deg, #f4efe6 0 1px, #ddd4c6 1px 2px); transform: rotateY(90deg) translateZ(-12px) translateX(12px); transform-origin: right; }
.book-back { position: absolute; inset: 0; background: var(--plum-ink); border-radius: 3px 8px 8px 3px; transform: translateZ(-12px); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 16px); opacity: 0; z-index: 90; background: var(--plum-ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; max-width: calc(100% - 32px); transition: opacity .2s, transform .2s; pointer-events: none; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Footer */
.site-footer { background: var(--plum-ink); color: #e9d3de; padding: 40px 0 120px; font-size: 14.5px; }
.site-footer .container { display: grid; gap: 14px; }
.site-footer .brand { font-family: var(--serif); font-weight: 800; font-size: 22px; color: var(--gold-2); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: #fff; }
.site-footer .fine { color: #c7a9b8; font-size: 13px; }
