/* Safe Return microsite. Palette sampled from the real cover: yellow #f0c243, navy #1b2133. */
@font-face{font-family:"Cabin";font-weight:600;font-style:normal;font-display:swap;src:url(fonts/cabin-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Cabin";font-weight:700;font-style:normal;font-display:swap;src:url(fonts/cabin-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Source Serif 4";font-weight:200 900;font-style:normal;font-display:swap;src:url(fonts/source-serif-4-latin-wght-normal.woff2) format("woff2")}
@font-face{font-family:"Source Serif 4";font-weight:200 900;font-style:italic;font-display:swap;src:url(fonts/source-serif-4-latin-wght-italic.woff2) format("woff2")}

:root{
  --yellow:#f0c243; --yellow-soft:#f6dc8e; --navy:#1b2133; --navy-2:#262d44; --orange:#c9731c;
  --paper:#fbf6e6; --ink:#1b2133; --muted:#4d5468; --rule:rgba(27,33,51,.18);
  --sans:"Cabin","Gill Sans","Gill Sans MT",Calibri,"Trebuchet MS",sans-serif;
  --serif:"Source Serif 4",Charter,"Iowan Old Style",Georgia,serif;
  --read-size:1.25rem;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:4.5rem;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;background:var(--paper);color:var(--ink);font:1.0625rem/1.6 var(--serif)}
a{color:inherit;text-underline-offset:.18em}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,#main:focus-visible,#chapter:focus-visible{outline:3px solid var(--navy);box-shadow:0 0 0 6px var(--yellow);outline-offset:2px;border-radius:2px}
.band-navy a:focus-visible{outline-color:var(--yellow);box-shadow:0 0 0 6px var(--navy)}
.reading-section :focus-visible{box-shadow:0 0 0 6px var(--paper)}
body[data-theme=night] .reading-section :focus-visible{outline-color:var(--yellow)}
.skip{position:absolute;left:-999px;top:0;background:var(--navy);color:#fff;padding:.7rem 1rem;z-index:100;font-family:var(--sans)}
.skip:focus{left:0}
[hidden]{display:none!important}

.progress{position:fixed;inset:0 0 auto 0;height:5px;background:rgba(27,33,51,.15);z-index:60}
.progress span{display:block;height:100%;width:0;background:var(--orange)}
.preview-banner{position:sticky;top:0;z-index:70;background:#b00020;color:#fff;font:600 .85rem var(--sans);text-align:center;padding:.4rem 1rem}

.site-header{display:flex;flex-wrap:wrap;gap:.4rem 1.5rem;align-items:center;justify-content:space-between;padding:.8rem max(16px,env(safe-area-inset-right)) .8rem max(16px,env(safe-area-inset-left));background:var(--yellow);font-family:var(--sans)}
.site-header .home{font-weight:700;letter-spacing:.04em;text-decoration:none}
.site-header ul{display:flex;flex-wrap:wrap;gap:.2rem 1.1rem;margin:0;padding:0;list-style:none}
.site-header nav a{display:inline-block;padding:.45rem .1rem;text-decoration:none;font-weight:600;border-bottom:2px solid transparent}
.site-header nav a:hover{border-color:var(--navy)}

.hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(1.5rem,5vw,5rem);align-items:center;padding:clamp(2rem,6vw,5rem) max(16px,5vw) clamp(2.5rem,7vw,6rem);min-height:min(88vh,860px);
  background:var(--yellow) repeating-linear-gradient(to bottom,transparent 0 31px,rgba(201,115,28,.45) 31px 32px);color:var(--navy)}
.eyebrow{font:700 .85rem var(--sans);letter-spacing:.2em;text-transform:uppercase;margin:0 0 1rem}
h1{font:700 clamp(3.6rem,13vw,10rem)/.86 var(--sans);letter-spacing:-.01em;text-transform:uppercase;margin:0 0 1.6rem;display:flex;flex-direction:column}
h1 span:last-child{margin-top:clamp(1.5rem,6vw,5rem)}
.lede{font-size:clamp(1.15rem,2.4vw,1.45rem);max-width:30em;margin:0 0 1.8rem;background:var(--yellow);padding:.1em 0}
.cover{margin:0;justify-self:center}
.cover img{display:block;width:min(100%,380px);height:auto;box-shadow:0 22px 50px rgba(27,33,51,.35),0 2px 6px rgba(27,33,51,.3);transform:rotate(1.2deg)}
.btn{display:inline-block;font:700 1rem var(--sans);padding:.8rem 1.4rem;border:2px solid var(--navy);color:var(--navy);text-decoration:none;background:transparent;cursor:pointer;min-height:48px}
.btn:hover{background:rgba(27,33,51,.08)}
.btn-primary{background:var(--navy);color:var(--yellow)}
.btn-primary:hover{background:var(--navy-2)}
.cta{display:flex;flex-wrap:wrap;gap:.8rem;margin:0}

.band,.reading-section{padding:clamp(2.5rem,7vw,5rem) max(16px,5vw)}
.measure{max-width:40rem;margin:0 auto}
h2{font:700 .95rem var(--sans);letter-spacing:.18em;text-transform:uppercase;margin:0 0 1.2rem}
h3{font:700 1.15rem var(--sans);margin:2rem 0 .6rem}
.big{font-size:clamp(1.2rem,2.5vw,1.5rem);line-height:1.5}
.status{color:var(--muted);font-size:.98rem}
.band-navy{background:var(--navy);color:#f3ecd6}
.band-navy a{color:var(--yellow)}
.band-navy h2{color:var(--yellow)}
.plain{padding-left:1.1rem}.plain li{margin:.7rem 0}
.band-feedback{background:var(--yellow-soft)}

.reading-section{background:var(--paper);border-top:1px solid var(--rule)}
.gate{border:2px dashed var(--navy);padding:1.2rem 1.4rem;background:rgba(255,255,255,.4)}
.content-note{font:.95rem/1.5 var(--sans);color:var(--muted);border-left:4px solid var(--orange);padding:.2rem 0 .2rem .9rem}
.toolbar{display:flex;flex-wrap:wrap;gap:.6rem 1.6rem;align-items:center;font-family:var(--sans);margin:1.2rem 0;padding:.6rem 0;border-block:1px solid var(--rule)}
.tb-group{display:inline-flex;align-items:center;gap:.4rem}
.tb-label{font-size:.85rem;color:var(--muted);margin-right:.2rem}
.toolbar button,.resume button{font:600 .95rem var(--sans);min-width:44px;min-height:44px;padding:.3rem .8rem;border:1.5px solid var(--navy);background:transparent;color:inherit;cursor:pointer;border-radius:4px}
.toolbar button[aria-pressed=true]{background:var(--navy);color:var(--yellow)}
.tb-pdf{font:600 .95rem var(--sans);min-height:44px;display:inline-flex;align-items:center}
.resume{margin:0 0 1rem}

.chapter{font-size:var(--read-size);line-height:1.68;hyphens:auto;-webkit-hyphens:auto;font-variant-numeric:oldstyle-nums;text-rendering:optimizeLegibility}
.chapter p{margin:0;text-indent:1.3em}
.chapter p.first{text-indent:0}
.chapter .chapter-title{font:700 clamp(1.8rem,5vw,2.4rem)/1.1 var(--sans);text-transform:uppercase;margin:1rem 0 2rem;text-align:center}
.chapter-num{display:block;font-size:.5em;letter-spacing:.25em;margin-bottom:.6rem}
.chapter hr.scene{border:0;margin:1.6rem 0 1.2rem;text-align:center;height:1.4rem}
.chapter hr.scene::before{content:"*\00a0\00a0\00a0*\00a0\00a0\00a0*";letter-spacing:.2em;font-size:1.1rem}
.chapter .ui{font-family:var(--sans);font-weight:700;font-size:.82em;letter-spacing:.04em}
.chapter-end{font-family:var(--sans);margin-top:2.5rem;padding-top:1.2rem;border-top:1px solid var(--rule)}

body[data-theme=night] .reading-section{--paper:#12151f;--ink:#ece4cf;--muted:#b2b6c3;--rule:rgba(236,228,207,.2);--orange:#f0a64a;background:#12151f;color:#ece4cf}
body[data-theme=night] .toolbar button[aria-pressed=true]{background:var(--yellow);color:var(--navy)}
body[data-theme=night] .toolbar button,body[data-theme=night] .resume button{border-color:#ece4cf}
body[data-theme=night] .gate{border-color:#ece4cf;background:rgba(255,255,255,.04)}
body[data-theme=night] .progress{background:rgba(236,228,207,.2)}

form{display:grid;gap:.4rem}
fieldset{border:0;padding:0;margin:0 0 .8rem}
legend{font:700 1.1rem var(--sans);margin-bottom:.4rem;padding:0}
label{font:600 1rem var(--sans);display:block;margin-top:.8rem}
.choice,.check{display:flex;align-items:center;gap:.6rem;min-height:44px;margin:0;font-weight:600}
.choice{display:inline-flex;margin-right:1.2rem}
input[type=radio],input[type=checkbox]{width:1.35rem;height:1.35rem;accent-color:var(--navy)}
input[type=text],input[type=email],textarea{width:100%;font:1.05rem/1.4 var(--serif);padding:.7rem .8rem;border:2px solid var(--navy);background:#fffdf5;color:var(--navy);border-radius:3px}
.opt{font-weight:400;color:var(--muted)}
.hint{margin:0;color:var(--muted);font:.85rem var(--sans);text-align:right}
.reading-section{color:var(--ink)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.privacy{margin:1rem 0 .4rem;font:.95rem/1.5 var(--sans)}
.privacy summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}
.privacy li{margin:.4rem 0}
.status-msg{min-height:1.5em;margin:.4rem 0;font:600 1rem var(--sans)}
.status-msg.error{color:#9b1c1c}.status-msg.ok{color:#17602d}
form .btn{justify-self:start}
button[disabled]{opacity:.55;cursor:wait}

.site-footer{padding:2rem max(16px,5vw);font:.9rem var(--sans);color:var(--muted);text-align:center;background:var(--paper)}
.site-footer p{margin:.3rem 0}

@media (max-width:760px){
  .hero{grid-template-columns:1fr;min-height:0;padding-top:1.5rem}
  .cover{order:-1}
  .cover img{width:min(46vw,210px)}
  h1{font-size:clamp(3.4rem,20vw,6rem)}
  h1 span:last-child{margin-top:1rem}
  :root{--read-size:1.125rem}
}
@media print{.site-header,.progress,.toolbar,.hero,form{display:none}}
