/* Homepage, colour band look (Deb, 19 Nov 2026; job J-20261119-01).
   Loaded last on the homepages that use it (body.home.hb): index.html and nz/index.html.
   The state colour (--navy, set by refresh.css and the state files) fills two bands, the header with the
   lesson shelf and the price section. Everything else is soft tints on white. Inter throughout, as on every page.
   The shelf itself is built by js/home-shelf.js. */

body.hb{
  --band:var(--navy); --band-ink:#FFFFFF; --band-ink-2:rgba(255,255,255,.86); --band-line:rgba(255,255,255,.34); --band-btn:#FFC53D;
  --s-ink:#1F2A26; --s-ink-2:#56625C; --s-faint:#7E8A84;
  --s-sage:#EDF2EE; --s-sage-2:#DCE7DF; --s-sage-ink:#35614E;
  --s-gold:#FBEDC2; --s-gold-ink:#6B5210;
  --s-sky:#E4ECF6; --s-sky-ink:#2E5888;
  --s-clay:#F6E5DD; --s-clay-ink:#8E4529;
  --s-lilac:#ECE8F4; --s-lilac-ink:#55468A;
  background:#fff;
}
body.hb.nz-home{--band:#0F5F59; --s-sage:#EBF3F3; --s-sage-2:#D7E7E7; --s-sage-ink:#2C6267}
body.hb #main h2{font-size:clamp(28px,1.6vw + 14px,38px);line-height:1.15;letter-spacing:-.02em;text-wrap:balance}
body.hb .hb-wrap{max-width:1232px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}

/* ---------- the band: header and hero ---------- */
body.hb .top{background:var(--band)}
body.hb .top .logo,body.hb .top .wordmark{color:var(--band-ink)}
body.hb .top .logo-tile rect{fill:var(--s-ink)}
body.hb .top .logo-tile svg{box-shadow:0 0 0 1.5px var(--band-line);border-radius:10px}
body.hb .top nav > a,body.hb .top nav > .nav-dd > summary,body.hb .top-student{color:var(--band-ink)}
body.hb .top nav > a:hover,body.hb .top nav > .nav-dd > summary:hover,body.hb .top-student:hover{background:rgba(255,255,255,.12)}
body.hb .cty{background:transparent;border-color:var(--band-line)}
body.hb .cty a{color:var(--band-ink)}
body.hb .cty a:hover{background:rgba(255,255,255,.12)}
body.hb .cty a[aria-current]{background:#fff;color:var(--band)}
body.hb .state-sel summary{color:var(--band-ink);border-color:var(--band-line)}
body.hb .state-sel summary:hover{background:rgba(255,255,255,.12)}
body.hb .top .btn.ghost{background:transparent;color:var(--band-ink);border-color:var(--band-line)}
body.hb .top .btn.ghost:hover{background:rgba(255,255,255,.12)}
body.hb .top .btn.top-trial,body.hb .top #openApp{background:var(--band-btn);color:var(--s-ink)}
body.hb .menu-btn{background:transparent;color:var(--band-ink);border-color:var(--band-line)}
body.hb .top a:focus-visible,body.hb .top summary:focus-visible,body.hb .top button:focus-visible{outline:3px solid var(--band-btn);outline-offset:2px}

body.hb .hb-hero{background:var(--band);color:var(--band-ink);padding-block:40px 72px}
body.hb .hb-top{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:48px;align-items:end;margin-bottom:36px}
body.hb .hb-hero h1{font-size:clamp(32px,2.4vw + 14px,46px);line-height:1.08;letter-spacing:-.025em;font-weight:700;color:var(--band-ink);margin:0;max-width:24ch;text-wrap:balance}
body.hb .hb-top p{margin:0;font-size:18px;line-height:1.55;color:var(--band-ink-2)}
body.hb .hb-below{display:flex;justify-content:space-between;align-items:center;gap:16px 24px;margin-top:32px;flex-wrap:wrap}
body.hb .hb-below p{margin:0;font-weight:600;color:var(--band-ink-2)}
body.hb .hb-cta{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
body.hb .hb-cta small{color:var(--band-ink-2);font-size:15px;font-weight:600}
body.hb .hb-hero .btn,body.hb .hb-price .btn{background:var(--band-btn);color:var(--s-ink)}
body.hb .hb-hero .btn:hover,body.hb .hb-price .btn:hover{background:#FFD36B}
body.hb .hb-hero .btn:focus-visible,body.hb .hb-price .btn:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* ---------- the shelf (js/home-shelf.js) ---------- */
.shelf{display:flex;gap:10px;align-items:flex-end;min-height:430px;margin:0;padding:0;list-style:none}
.shelf > li{flex:1;min-width:0;display:flex}
.shelf > li.open{flex:3.6}
.book{position:relative;flex:1;min-width:0;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;color:var(--s-ink);text-align:left}
.book .y{font-size:22px;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin:0}
.book .t{display:block;font-size:14px;font-weight:600;line-height:1.35;margin-top:2px}
.book-open{position:absolute;inset:0;width:100%;border:0;border-radius:22px;background:transparent;cursor:pointer;font:inherit}
.book-open:focus-visible{outline:3px solid var(--band-btn);outline-offset:3px}
.book img{width:84px;align-self:flex-end;pointer-events:none}
li.open .book{padding:26px 28px}
li.open .book .y{font-size:26px}
.book .pic{background:rgba(255,255,255,.72);border-radius:16px;padding:10px}
.book .pic svg{display:block;width:100%;height:118px}
.book .say{margin:0;font-size:19px;line-height:1.45;font-weight:600}
.book .say .w-next{color:var(--s-ink-2)}
.book .say mark{background:#fff;color:var(--s-ink);border-radius:6px;padding:0 3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.book .pl{display:flex;align-items:center;gap:12px}
.book .play{width:52px;height:52px;flex:none;border-radius:50%;border:0;background:var(--s-ink);color:#fff;display:grid;place-items:center;cursor:pointer}
.book .play svg{width:22px;height:22px;fill:currentColor}
.book .play:focus-visible{outline:3px solid var(--s-ink);outline-offset:3px}
.book .track{flex:1;max-width:220px;height:5px;border-radius:5px;background:rgba(31,42,38,.14);position:relative;overflow:hidden}
.book .track i{position:absolute;inset:0 auto 0 0;width:0;background:var(--s-ink);border-radius:5px}
.book .pl small{font-size:14px;font-weight:600;color:var(--s-ink-2)}

/* ---------- soft sections ---------- */
body.hb .hb-sec{padding-block:96px}
body.hb .hb-sec.tint{background:var(--s-sage)}
body.hb .hb-sec.clay{background:var(--s-clay)}
body.hb .hb-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:64px;align-items:center}
body.hb .hb-split h2{margin:0 0 16px}
body.hb .hb-split p{font-size:18px;color:var(--s-ink-2);max-width:42ch;margin:0}
body.hb .hb-ticks{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:12px;font-weight:600}
body.hb .hb-ticks li{display:flex;gap:12px;align-items:flex-start}
body.hb .hb-ticks svg{flex:none;width:24px;height:24px;margin-top:1px}

body.hb .yard-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:end;margin-bottom:32px}
body.hb .yard-top h2{margin:0}
body.hb .yard-top p{margin:0;font-size:18px;color:var(--s-ink-2)}
body.hb .scene{position:relative;border-radius:24px;overflow:hidden;background:var(--s-sage)}
body.hb .scene .bg{width:100%;aspect-ratio:21/8;object-fit:cover}
body.hb .scene .k{position:absolute;bottom:4%;left:5%;width:17%}
body.hb .scene .p{position:absolute;bottom:6%;left:42%;width:12%}
body.hb .scene .m{position:absolute;bottom:8%;right:7%;width:19%}
body.hb .caps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:28px 0 0;padding:0;list-style:none}
body.hb .caps b{display:block;font-size:19px;margin-bottom:4px}
body.hb .caps span{color:var(--s-ink-2)}

body.hb .today{background:#fff;border-radius:28px;padding:28px;position:relative}
body.hb .today h3{font-size:22px;margin:0 0 16px}
body.hb .today .bud{position:absolute;right:-24px;top:-56px;width:112px}
/* below 1100 px the side padding is narrower than the sticker's 24 px overhang, so it stays inside the card (no sideways scroll at 1024, audit F-39) */
@media (max-width:1100px){body.hb .today .bud{right:0}}
body.hb .task{display:flex;gap:16px;align-items:center;background:var(--s-sage);border-radius:18px;padding:16px;margin-top:10px}
body.hb .task .ic{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;flex:none}
body.hb .task .ic svg{width:24px;height:24px}
body.hb .task b{display:block;font-size:17px}
body.hb .task small{display:block;font-size:14px;color:var(--s-ink-2)}

body.hb .sheet{background:#fff;border-radius:24px;padding:32px;box-shadow:inset 0 0 0 2px var(--s-sage)}
body.hb .sheet .hd{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px}
body.hb .sheet .hd b{font-size:22px}
body.hb .sheet .hd span{font-weight:600;color:var(--s-ink-2);font-size:15px}
body.hb .row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;padding:16px 0}
body.hb .row + .row{box-shadow:inset 0 2px 0 var(--s-sage)}
body.hb .row small{grid-column:1/-1;color:var(--s-ink-2);font-size:15px}
body.hb .tag{font-size:13px;font-weight:700;padding:5px 12px;border-radius:999px;align-self:start;white-space:nowrap}
body.hb .t-ok{background:var(--s-sage-2);color:var(--s-sage-ink)}
body.hb .t-again{background:var(--s-gold);color:var(--s-gold-ink)}
body.hb .t-next{background:var(--s-sky);color:var(--s-sky-ink)}
body.hb .try{background:var(--s-sage);border-radius:14px;padding:16px 18px;margin-top:10px}
body.hb .try b{display:block}

body.hb .essay{background:#fff;border-radius:24px;padding:32px;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:26px;font-size:18px;line-height:1.75}
body.hb .essay mark{background:var(--s-gold);color:var(--s-ink);padding:0 2px}
body.hb .note{font-size:15px;line-height:1.45;background:var(--s-clay);border-radius:12px;padding:12px 14px;margin-bottom:12px}
body.hb .note b{display:block;font-size:14px}

/* the existing sections keep their markup and pick up the soft surfaces */
body.hb .pack-band{background:#fff;color:var(--s-ink);padding-block:96px}
body.hb .pack-band .pack-mini-h{color:var(--s-ink);margin-bottom:32px}
body.hb .pack-band .pack-panel{background:var(--s-sky);color:var(--s-ink);border:0;border-radius:24px}
body.hb .pack-band .pack-panel.pack-sel{background:var(--s-sage)}
body.hb .pack-band .pack-panel h3,body.hb .pack-band .pack-panel p{color:var(--s-ink)}
body.hb .pack-band .pack-new{background:#fff;color:var(--s-ink)}
body.hb .pack-band .pack-try{color:var(--s-ink)}
body.hb .pack-band a:focus-visible{outline-color:var(--s-ink)}
body.hb .pack-band .btn.white{background:var(--s-ink);color:#fff;box-shadow:none}
body.hb .pack-band .btn.line{background:transparent;color:var(--s-ink);border:2px solid var(--s-ink);box-shadow:none}
body.hb .pack-band .pack-copy h2,body.hb .pack-band .pack-copy p,body.hb .pack-band .pack-fine,body.hb .pack-band .pack-price{color:var(--s-ink)}
body.hb section.band.grey{background:var(--s-sage)}
body.hb .kicker{color:var(--s-ink-2)}

body.hb .hb-price{background:var(--band);color:var(--band-ink);padding-block:88px}
body.hb .hb-price h2{color:var(--band-ink)}
body.hb .hb-price .pgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
body.hb .hb-price .lead,body.hb .hb-price .reassure,body.hb .hb-price li{color:var(--band-ink-2)}
body.hb .hb-price .plist{list-style:none;padding:0;margin:0 0 28px;display:grid;gap:10px;font-size:18px}
body.hb .hb-price a.link{color:var(--band-ink)}
body.hb .hb-price a.link:focus-visible{outline:3px solid var(--band-btn)}

@media (max-width:860px){
  body.hb .hb-hero{padding-block:24px 48px}
  body.hb .hb-top,body.hb .hb-split,body.hb .yard-top,body.hb .hb-price .pgrid{grid-template-columns:minmax(0,1fr);gap:16px 32px}
  body.hb .hb-hero h1{font-size:30px}
  body.hb .hb-sec{padding-block:72px}
  .shelf{flex-direction:column;align-items:stretch;min-height:0;gap:8px}
  .shelf > li,.shelf > li.open{flex:none}
  .book{height:auto!important;min-height:64px;flex-direction:row;align-items:center}
  li.open .book{flex-direction:column;align-items:stretch;padding:22px}
  .book img{display:none}
  .book .y{font-size:20px}
  body.hb .scene .bg{aspect-ratio:4/3}
  body.hb .caps{grid-template-columns:minmax(0,1fr);gap:16px}
  body.hb .today .bud{display:none}
  body.hb .essay{grid-template-columns:minmax(0,1fr);padding:22px;font-size:17px}
  body.hb .hb-price{padding-block:64px}
}
@media (prefers-reduced-motion:reduce){body.hb *{transition:none!important;animation:none!important}}

/* fixes after the first screenshots */
body.hb .state-sel summary{background:transparent}
body.hb .news-bar{background:var(--s-gold);color:var(--s-ink)}
body.hb .news-bar a,body.hb .news-bar .news-x{color:var(--s-ink)}
body.hb .news-bar .news-tag{background:var(--s-ink);color:#fff}
body.hb #main .book .y{font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.02em}
body.hb #main li.open .book .y{font-size:26px}
body.hb #main .today h3,body.hb #main .sheet .hd b{font-size:20px;font-weight:700}
body.hb .sheet .try{display:block}
@media (max-width:860px){.book{min-height:64px!important}li.open .book{min-height:0!important}}
/* soft sections use the soft ink, not the state colour (the state colour lives in the two bands only) */
body.hb #main{color:var(--s-ink)}
body.hb #main h2,body.hb #main h3,body.hb #main .faq summary,body.hb #main .quote figcaption{color:var(--s-ink)}
body.hb #main a.link,body.hb #main .pw-pack,body.hb #main .faq a{color:var(--s-sage-ink)}
body.hb #main .btn.ghost{color:var(--s-ink)}
body.hb #main .hb-hero h1,body.hb #main .hb-price h2{color:var(--band-ink)}
body.hb #main .hb-price a.link{color:var(--band-ink)}
body.hb .quote{background:var(--s-sage);border:0}
body.hb .quote blockquote p{color:var(--s-ink)}
/* NZ: the PAT pack band sits right under the hero, so it goes soft to keep one colour band at the top */
.nz-site body.hb .pat-band{background:var(--s-sage);color:var(--s-ink);padding-block:64px}
.nz-site body.hb #main .pat-band h2{color:var(--s-ink)}
.nz-site body.hb .pat-band p,.nz-site body.hb .pat-band .ticks li{color:var(--s-ink-2)}
.nz-site body.hb .pat-promo .fine{color:var(--s-ink-2)}
.nz-site body.hb .pat-band .ticks svg{color:var(--s-sage-ink)}
.nz-site body.hb .pat-band .btn{background:var(--s-ink);color:#fff;box-shadow:none}
.nz-site body.hb #main .pat-band .link{color:var(--s-sage-ink)}
.nz-site body.hb .pat-band a:focus-visible{outline-color:var(--s-ink)}
.nz-site body.hb .pat-years a{box-shadow:none}
.nz-site body.hb .pat-years a span{color:var(--s-sage-ink)}
/* AU: the test packs ("New this term" on Victoria) sit right under the hero on a pale tint of the state colour,
   the way NZ's PAT band does (Deb, 22 Nov 2026). Cards go white so they lift off the tint. */
body.hb .pack-band{background:#F4F4F6;background:color-mix(in srgb,var(--band) 10%,#fff);padding-block:64px}
body.hb .pack-band .pack-mini-h{margin-bottom:24px}
body.hb .pack-band .pack-panel,body.hb .pack-band .pack-panel.pack-sel{background:#fff}
body.hb .pack-band .pack-new{background:var(--s-gold);color:var(--s-ink)}
body.hb .pack-band .pack-years a{box-shadow:none}
body.hb .pack-band .pack-panel .pack-years a{background:#F4F4F6;background:color-mix(in srgb,var(--band) 10%,#fff)}   /* year links inside a white card (QLD) keep the tint */
@media (max-width:860px){body.hb .pack-band{padding-block:40px}}
