/* Cover palette: midnight, paper, softly burnished gold and violet. */
:root{--midnight:#272440;--gold:#e8c98d;--violet:#615178;--paper:#faf8f4;--ink:#292641;--muted:#595568;--line:#d9d4df}
header,footer{background:var(--midnight);color:#faf8f4;border-color:#4f4867}
header .book-wordmark,footer .book-wordmark{filter:brightness(0) invert(1)}
header .brand small,footer .brand small{color:var(--gold)}
header nav a:not(.pill),footer a,footer p{color:#f5f1f5}
header nav a:hover,footer a:hover{color:var(--gold)}
header .pill,.btn,.btn.light{background:var(--gold);color:#29233a;border:1px solid #bca371}
header .pill:hover,.btn:hover,.btn.light:hover{color:#29233a;background:#f0d9a9}
:where(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #805fa4;outline-offset:3px}
header a:focus-visible,footer a:focus-visible,.home-hero a:focus-visible{outline-color:var(--gold)}
.home-hero{position:relative;isolation:isolate;color:#fffdfa;background:linear-gradient(115deg,#292640,#393253)}
.home-hero:before{content:'';position:absolute;z-index:-1;inset:0 calc((100vw - 100%)/-2);background:inherit;pointer-events:none}
body:has(.home-hero){overflow-x:clip}
.home-hero>div:first-child>.eyebrow{color:var(--gold)}
.home-hero .eyebrow span{background:var(--gold)}
.home-hero h1 em{color:#e3d5ec}
.home-hero .lead,.home-hero .hero-note{color:#e5dfeb}
.home-hero .art{color:var(--ink);background:radial-gradient(ellipse at 50% 18%,#f4e9d3 0%,#e6dfe9 55%,#d1c9dd 100%)}
.home-hero .art-word small{font-weight:700;font-size:clamp(14px,1.35vw,19px);line-height:1.35;letter-spacing:.12em;margin:0 auto 1.4em;padding:0 14px}
.home-hero .dot{background:#b4925b}
.steps{background:#f2eff4;color:var(--ink)}
.steps .section-top p,.steps .stepnav button{color:var(--muted)}
.steps .stepnav button{border-color:#cbc3d3}
.steps .stepnav button[aria-selected=true]{color:#fff;background:#594b71;border-color:transparent}
.steps .panel{border:1px solid var(--line);background:#fffdfa}
.home-hero>div:first-child>.eyebrow{font-size:clamp(16px,1.4vw,19px)}
.home-hero .book-hero-title{margin:24px 0 22px;line-height:0}
.book-hero-title img{width:clamp(210px,23vw,310px);max-width:90%;height:auto;display:block}
.book-hero-subtitle{font:600 clamp(17px,1.55vw,22px)/1.45 Arial,sans-serif;letter-spacing:.07em;color:var(--gold);max-width:29ch;margin:0}
.practice-intro{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(28px,5vw,72px);padding:clamp(45px,6vw,80px) 0}
.practice-intro h2,.practice-intro .lead{margin:0}.practice-intro h2 em{color:var(--violet)}.practice-note{color:var(--muted);font-size:14px;margin:12px 0 0}
@media(max-width:800px){.practice-intro{grid-template-columns:1fr;gap:18px}}

.steps .steps-title{font:normal clamp(40px,4.7vw,64px)/1.06 Georgia,serif;letter-spacing:-.035em;margin:0 0 .24em}
.steps-title em{color:var(--violet)}
.steps .steps-subtitle{font:normal clamp(20px,2vw,27px)/1.35 Georgia,serif;max-width:none;margin:0;color:var(--ink)}
.practice-intro .practice-promise{margin:.8em 0 0;font:normal clamp(19px,1.6vw,23px)/1.45 Georgia,serif;color:var(--ink);max-width:37ch}
/* Allow the four-line message room above the caption on smaller screens. */
@media(max-width:800px){.home-hero .art{min-height:410px}.home-hero .art-word{font-size:clamp(35px,7vw,48px)}}
