/* Off the Screen — shared styles (sales page + thank-you page) */
:root {
  color-scheme: light;
  --cream: #f8f4ec;
  --paper: #fffdf8;
  --ink: #12302f;
  --teal: #0f5b5c;
  --teal-2: #0b4647;
  --teal-soft: #e3efec;
  --sage: #8fb7a3;
  --sage-soft: #edf4ef;
  --blue-soft: #e8eff5;
  --coral: #d9623f;
  --coral-soft: #fbe9e2;
  --sun: #f2b84b;
  --sun-soft: #fdf3dc;
  --text-2: #3f5352;
  --muted: #6d7c7b;
  --line: #e4ddd0;
  --shadow: 0 18px 40px -26px rgba(15, 70, 71, .45);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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.62; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.14; letter-spacing: -0.015em; color: var(--teal-2); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); }
.h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 5.4vw, 44px); margin: 10px 0 14px; }
.lead { font-size: clamp(16.5px, 2vw, 19px); color: var(--text-2); }
.muted { color: var(--muted); }
.center { text-align: center; }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.head.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 28px; border-radius: 14px; border: 0; cursor: pointer; font-family: var(--sans); font-size: 17px; font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 12px 26px -12px rgba(217, 98, 63, .75); }
.btn-primary:hover { background: #c75535; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-block { width: 100%; }
.btn svg { flex: none; }
.cta { display: grid; gap: 10px; justify-items: start; }
.cta.center { justify-items: center; text-align: center; }
.cta-note { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.price-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-line b { font-family: var(--serif); font-size: 40px; font-weight: 800; color: var(--teal-2); line-height: 1; }
.price-line span { font-size: 14.5px; color: var(--muted); }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; }
@media (min-width: 680px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.card p { font-size: 15.5px; color: var(--text-2); }

/* Book mockup (transparent PNG/WebP of the cover) */
.mock { position: relative; display: grid; place-items: center; }
.mock::before { content: ""; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(242, 184, 75, .35), rgba(143, 183, 163, .25) 45%, transparent 70%); filter: blur(10px); z-index: 0; }
.mock img { position: relative; z-index: 1; width: min(340px, 74vw); filter: drop-shadow(0 30px 34px rgba(15, 70, 71, .28)); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 110px; color: var(--muted); font-size: 14px; background: var(--paper); }
.site-footer .container { display: grid; gap: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer nav a { color: var(--text-2); }
.site-footer .disc { font-size: 13px; max-width: 760px; }
@media (min-width: 900px) { .site-footer { padding-bottom: 36px; } }

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