/* Shared styles for book.html and privacy.html (index.html keeps its own inline copy). */
:root{
  --cream:#fbf4ee; --paper:#f4e6dc; --card:#fffaf6; --ink:#2a1420; --muted:#6d5560;
  --rose:#b8325f; --rose-deep:#8f2147; --blush:#f4c9d6; --line:#2a142026;
  --field:#85707a; --err:#b3261e;
  --serif:"Fraunces",Georgia,serif; --sans:"Instrument Sans",system-ui,sans-serif;
  --gutter:clamp(20px,5vw,72px);
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth}
body{background:var(--cream);color:var(--ink);font:400 17px/1.6 var(--sans);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit}
:focus-visible{outline:3px solid var(--rose);outline-offset:3px;border-radius:4px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;
  padding:14px var(--gutter);background:#fbf4eeee;backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.logo{font:600 22px/1 var(--serif);text-decoration:none;letter-spacing:-.01em}
.logo em{font-style:italic;color:var(--rose)}
.logo small{display:block;font:500 11px/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-top:4px}
header nav{font-size:15px}
header nav a{text-decoration:none}
header nav a:hover{color:var(--rose)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--rose);color:#fff;text-decoration:none;
  font:600 16px/1 var(--sans);padding:16px 26px;border-radius:999px;min-height:48px;border:0;cursor:pointer;transition:background .2s,transform .2s}
.btn:hover{background:var(--rose-deep);transform:translateY(-2px)}
.btn.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn.ghost:hover{background:var(--ink);color:var(--cream)}

.ph{background:repeating-linear-gradient(45deg,#b8325f14 0 8px,transparent 8px 16px);padding:0 .2em}

footer{padding:36px var(--gutter);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
footer a{margin-right:18px}

/* Status badge (return pages) + inline spinner (loading text). Pure CSS, no scripts. */
.stage{position:relative;width:96px;height:96px;margin:0 auto 26px;display:grid;place-items:center}
.badge{position:relative;width:88px;height:88px;border-radius:50%;display:grid;place-items:center;background:var(--blush);color:var(--rose-deep);
  animation:st-pop .55s cubic-bezier(.2,1.25,.3,1) both}
.badge svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.badge.ok{background:var(--rose);color:#fff;box-shadow:0 14px 34px -10px #b8325f88}
.badge.ok::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--rose);animation:st-ring 1.6s .35s ease-out 2 both}
.badge.ok svg path.draw{stroke-dasharray:1;animation:st-draw .55s .3s ease-out both}
.badge.wait::before{content:"";position:absolute;inset:-7px;border-radius:50%;border:3px solid #b8325f26;border-top-color:var(--rose);animation:st-spin 1s linear infinite}
.badge.wait svg{animation:st-breathe 2.2s ease-in-out infinite}
.badge.mute{background:#2a14200f;color:var(--ink)}
.live{font:500 14px/1.3 var(--sans);color:var(--muted);margin-bottom:6px}
.facts{list-style:none;padding:0;margin:0 auto 22px;max-width:440px;display:grid;gap:10px;text-align:left}
.facts li{display:flex;gap:14px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:14px 18px;color:var(--ink);font:500 16px/1.4 var(--sans)}
.facts li svg{flex:none;width:22px;height:22px;fill:none;stroke:var(--rose);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.facts li span{min-width:0;overflow-wrap:anywhere}
.spin{display:inline-block;vertical-align:-3px;width:16px;height:16px;margin-right:10px;border-radius:50%;border:2.5px solid #b8325f26;border-top-color:var(--rose);animation:st-spin .9s linear infinite}
.confetti{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none;z-index:2}
.confetti b{position:absolute;left:0;top:0;width:var(--s);height:calc(var(--s)*.5);background:var(--c);border-radius:2px;opacity:0;
  animation:st-conf 2.6s var(--d) cubic-bezier(.15,.7,.3,1) both}
.confetti b:nth-child(3n){border-radius:50%;height:var(--s)}
@keyframes st-pop{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}
@keyframes st-ring{from{transform:scale(1);opacity:.55}to{transform:scale(1.9);opacity:0}}
@keyframes st-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes st-spin{to{transform:rotate(360deg)}}
@keyframes st-breathe{50%{transform:scale(.88);opacity:.7}}
@keyframes st-conf{0%{opacity:1;transform:translate(0,0) scale(.3) rotate(0)}
  30%{opacity:1;transform:translate(var(--x),var(--y)) scale(1) rotate(calc(var(--r)*.5))}
  100%{opacity:0;transform:translate(calc(var(--x)*1.25),calc(var(--y) + 230px)) scale(1) rotate(var(--r))}}

@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-motion:reduce){.confetti{display:none}}
