/* Callum Hayes: shared styles. Colours and type come straight from the workbooks. */
:root{
  --paper:#F7F2E8; --sand:#EFE7D6; --card:#FFFDF8; --line:#DCD2BE; --line-2:#CFC6B2;
  --ink:#22262A; --navy:#263A47; --navy-2:#1C2B35; --slate:#3B5361; --muted:#6B7378;
  --terra:#B4532A; --terra-d:#8E3F1E; --terra-l:#F3E1D6; --peach:#E39B6B;
  --sage:#8FA58A; --sage-l:#DCE5D6; --sage-d:#5D7559;
  --radius:16px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:"Source Serif 4",Georgia,serif;color:var(--ink);background:var(--paper);line-height:1.65;font-size:18px;-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,.ui{font-family:"Poppins",system-ui,sans-serif;line-height:1.18;letter-spacing:-.01em}
h1,h2,h3{color:var(--navy)}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
.wrap{max-width:1100px;margin:0 auto;padding:0 20px}
.narrow{max-width:760px}
section{padding:88px 0}
.kicker{display:inline-block;font-family:"Poppins",sans-serif;font-weight:600;font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--terra);margin-bottom:12px}
h2{font-size:clamp(28px,4.2vw,42px);font-weight:700;margin-bottom:16px}
.lead{font-size:20px;color:var(--slate)}
em.rule{font-style:italic;color:var(--terra)}
.fine{font-size:14px;color:var(--muted);margin-top:16px}

/* top bar */
.topbar{background:var(--paper);position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line)}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;height:62px;gap:12px}
.brand{display:flex;align-items:center;gap:10px;font-family:"Poppins";font-weight:700;font-size:19px;text-decoration:none;color:var(--navy);white-space:nowrap}
.brand img{width:30px;height:30px}
.mini-cta{font-family:"Poppins";background:var(--terra);color:#fff;font-weight:600;padding:9px 18px;border-radius:999px;text-decoration:none;font-size:14.5px;white-space:nowrap}

/* prices */
.was{position:relative;display:inline-block;color:var(--muted);font-weight:600;font-size:.6em;margin-right:10px;vertical-align:.2em}
.was::after{content:"";position:absolute;left:-10%;right:-10%;top:52%;height:3px;background:var(--terra);border-radius:3px;transform:rotate(-18deg)}
.mini-cta .was,.cta .was{font-size:.9em;color:inherit;opacity:.65;vertical-align:0;margin-right:6px}
.mini-cta .was::after,.cta .was::after{height:2px;background:currentColor}

/* buttons */
.cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--terra);color:#fff;font-family:"Poppins";font-weight:700;font-size:19px;padding:18px 32px;border-radius:14px;text-decoration:none;box-shadow:0 8px 0 -1px var(--terra-d);transition:transform .12s,box-shadow .12s;border:0;cursor:pointer;text-align:center;line-height:1.25}
.cta:hover{transform:translateY(-2px)}
.cta:active{transform:translateY(3px);box-shadow:0 3px 0 -1px var(--terra-d)}
.cta[aria-busy="true"]{opacity:.75;pointer-events:none}
.cta.navy{background:var(--navy);box-shadow:0 8px 0 -1px #0F1A21}
.cta-meta{margin-top:18px;font-family:"Poppins";font-size:13.5px;color:var(--slate);display:flex;gap:8px 18px;flex-wrap:wrap}
.cta-meta span::before{content:"✓";color:var(--sage-d);margin-right:6px;font-weight:700}

/* tick-box motif from the workbook */
.tick{display:inline-grid;place-items:center;width:20px;height:20px;border:2px solid var(--navy);border-radius:4px;flex:none;font-size:13px;line-height:1;color:var(--terra);font-weight:800}

/* FAQ */
.faq details{background:var(--card);border:1px solid var(--line);border-radius:14px;margin-bottom:12px;padding:0 22px}
.faq summary{cursor:pointer;font-family:"Poppins";font-weight:600;color:var(--navy);padding:18px 0;list-style:none;display:flex;justify-content:space-between;gap:12px;font-size:16.5px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:24px;color:var(--terra);line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details p{padding-bottom:18px;color:var(--slate);font-size:16.5px}
.faq details p+p{margin-top:-6px}

/* footer */
footer{background:var(--navy-2);color:#B9C3C9;padding:48px 0 36px;font-size:14px;font-family:"Poppins",sans-serif}
footer .brand{color:#fff}
footer .links{display:flex;flex-wrap:wrap;gap:8px 20px;margin:14px 0 22px}
footer a{color:#fff;text-decoration:none}
footer a:hover{text-decoration:underline}
footer .disc{border-top:1px solid rgba(255,255,255,.1);padding-top:18px;font-size:12.5px;line-height:1.85;color:#93A0A8}
footer .disc p+p{margin-top:6px}

.cur-switch{font-family:"Poppins";font-size:13px;color:var(--muted);background:none;border:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px;padding:0}
.cur-switch:hover{color:var(--terra)}
[hidden]{display:none !important}
@media (max-width:860px){ section{padding:64px 0} body{font-size:17px} .lead{font-size:18px} .cta{width:100%} }

/* previews never collapse into a giant empty box if an image is slow */
.inside img,.bonus .pg,.covers .p{width:100%;aspect-ratio:560/818;object-fit:cover;background:#fff}
.inside figure{min-width:0}
.covers .p{width:170px}
@media (max-width:640px){.covers .p{width:150px}}
