/* test-page-v2 test page template. Ported from the design spec
   (testready-firearms-C-centre-paywall.html, "the site" CSS onwards). Prototype
   chrome, fake Stripe screen and wallet sheet are left out. 90-day plan styles
   were removed — this layout is 30-day only. Do not restyle here: change the
   spec first. Sticky/desktop rail additions are at the end. */
/* Brand colours: tokens.css (copied to /tokens.css next to this file on build). */
@import url("/tokens.css");
/* From the spec's first <style> block. */
[hidden]{display:none!important}img{max-width:100%}
:root{
  --logo:url("/logo.png");
  --display:'Manrope','Segoe UI',system-ui,sans-serif;
  --body:'Instrument Sans','Segoe UI',system-ui,sans-serif;
  color-scheme:light;
}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);line-height:1.5;-webkit-font-smoothing:antialiased;}
*,*::before,*::after{box-sizing:border-box;}
button{font:inherit;color:inherit;}
a{color:var(--forest);}
:focus-visible{outline:3px solid #7FD4A6;outline-offset:2px;}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}


/* ---------- the site ---------- */
.tr{container:tr / inline-size;background:var(--paper);color:var(--ink);font-family:var(--body);position:relative;min-height:100%;}
.tr h1,.tr h2,.tr h3{font-family:var(--display);letter-spacing:-.02em;margin:0;text-wrap:balance;}
.wrap{max-width:1240px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));}

.head{border-bottom:1px solid var(--line);background:var(--paper);position:relative;z-index:5;}
.head .wrap{display:flex;align-items:center;justify-content:space-between;height:60px;gap:12px;}
.head .logo{display:flex;align-items:center;height:60px;}
.logo-img{display:block;width:175px;height:30px;background:var(--logo) left center/contain no-repeat;}
.head nav{display:none;gap:24px;font-size:15px;margin-left:auto;margin-right:16px;}
.head nav a{color:var(--ink);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent;}
.head nav a.on{color:var(--forest);border-bottom-color:var(--forest);font-weight:600;}
.head nav a:hover{color:var(--forest);}
.head .mini{font-size:14px;color:var(--muted);}
.head .hbtn{display:inline-flex;align-items:center;justify-content:center;gap:.35em;min-height:40px;padding:0 16px;border-radius:10px;background:var(--forest);color:#fff;font-weight:700;font-size:14px;text-decoration:none;cursor:pointer;border:0;white-space:nowrap;}
.head .hbtn:hover{background:var(--forest-deep);}
.chip{font-size:12px;font-weight:700;color:var(--forest);background:var(--mint);padding:4px 10px;border-radius:999px;white-space:nowrap;}

/* hero: one full-bleed photo band, shallow, the copy on its dark side */
.hero{position:relative;background:var(--ink);color:#fff;overflow:hidden;}
.hero .photo{position:relative;height:176px;background:var(--hero) 100% 22%/150% auto no-repeat;}
.hero .shade{position:absolute;top:0;left:0;right:0;height:176px;background:linear-gradient(180deg,rgba(15,42,30,0) 45%,rgba(15,42,30,.55) 78%,var(--ink) 100%);}
.hero .wrap{position:relative;padding-block:6px 22px;}
.hero-copy{max-width:620px;}
.eyebrow{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.14em;color:#fff;background:var(--forest);padding:6px 10px;border-radius:999px;margin:0 0 12px;}
.title{font-size:32px;line-height:1.02;font-weight:800;margin:0 0 8px;color:#fff;letter-spacing:-.03em;}
.sub{font-family:var(--display);font-size:19px;font-weight:600;line-height:1.25;margin:0 0 8px;color:#fff;letter-spacing:-.01em;}
.sub em{font-style:normal;color:#7FD4A6;position:relative;white-space:nowrap;}
.sub em svg{position:absolute;left:0;right:0;bottom:-7px;width:100%;height:8px;}
.lede{font-size:14px;line-height:1.5;margin:0 0 16px;max-width:40em;color:rgba(255,255,255,.84);}
.ctas{display:flex;flex-direction:column;gap:10px;margin-bottom:12px;}
.btn.light{background:#fff;color:var(--ink);}
.btn.light:hover{background:#E6F4EB;}
.btn.outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.75);}
.btn.outline:hover{background:rgba(255,255,255,.12);}
.process{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:13px;color:rgba(255,255,255,.82);margin:0;}
.process b{color:#fff;font-weight:600;}
.process .n{display:inline-flex;align-items:center;gap:7px;}
.process .n i{font-style:normal;width:20px;height:20px;border-radius:50%;background:#7FD4A6;color:var(--ink);font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;}
.process .sep{color:rgba(255,255,255,.4);}
.float{display:none;position:absolute;right:48px;top:50%;transform:translateY(-50%) rotate(-1.5deg);width:296px;background:#fff;border-radius:14px;box-shadow:0 24px 60px rgba(0,0,0,.38);padding:14px 14px 12px;color:var(--ink);font-size:12.5px;}
.float .ft{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:12px;margin-bottom:8px;}
.float .fq{font-weight:700;font-size:13.5px;line-height:1.35;margin-bottom:8px;}
.float .fo{display:flex;align-items:center;gap:8px;padding:7px 9px;border:1px solid var(--line);border-radius:8px;margin-bottom:5px;color:#2E3F36;}
.float .fo i{width:14px;height:14px;border-radius:50%;border:1.5px solid #B9C7BE;flex:0 0 14px;}
.float .fo.ok{border-color:var(--forest);background:var(--ok-bg);color:var(--ink);font-weight:600;}
.float .fo.ok i{border-color:var(--forest);background:var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%23fff' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;}
.float .fb{margin-top:7px;background:var(--forest);color:#fff;border-radius:7px;text-align:center;padding:8px;font-weight:700;font-size:12.5px;}
.strip{background:var(--paper);border-bottom:1px solid var(--line);}
.trustline{list-style:none;margin:0;padding:10px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;font-size:13px;color:var(--ink);}
.trustline li{line-height:1.35;}
.trustline b{font-weight:700;}
.trustline .chk::before{content:"\2713\00a0";color:var(--forest);font-weight:700;}
.crumbs{font-size:13px;color:var(--muted);padding:6px 0 0;}
.crumbs a{color:var(--muted);text-decoration:none;}
.toc{margin:8px 0 0;}
.toc h3{font-size:13px;font-weight:700;color:var(--muted);margin:0 0 6px;letter-spacing:.02em;}
.toc ol{list-style:none;margin:0;padding:0;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px;}
.toc ol::-webkit-scrollbar{display:none;}
.toc li a{display:inline-block;white-space:nowrap;font-size:13px;color:var(--ink);text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:6px 12px;background:var(--paper);}
.toc li a:hover{border-color:var(--forest);color:var(--forest);}

/* body grid */
.body .wrap{padding-block:18px 40px;}
.body-grid{display:grid;gap:18px;grid-template-areas:"test" "rail" "content";}
.testcol{grid-area:test;min-width:0;}
.content{grid-area:content;min-width:0;max-width:70ch;}
.rail{grid-area:rail;display:flex;flex-direction:column;gap:14px;min-width:0;scroll-margin-top:16px;}
#pack-landing{box-shadow:0 10px 30px rgba(15,42,30,.12);}
#pack-landing h2{font-size:21px;}
#pack-landing.flash{animation:packflash 1.4s ease-out;}
@keyframes packflash{0%,40%{box-shadow:0 0 0 4px #4FBF7F,0 10px 30px rgba(15,42,30,.12)}100%{box-shadow:0 10px 30px rgba(15,42,30,.12)}}
.content h2,.testcol h2{font-size:25px;font-weight:700;margin:34px 0 12px;scroll-margin-top:16px;}
.content h2{border-top:1px solid var(--line);padding-top:20px;}
.content h2:first-child{margin-top:0;}
.testcol h2{margin-top:0;}
.content h3{font-size:19px;font-weight:700;margin:22px 0 8px;}
.content p,.testcol p{font-size:16px;line-height:1.6;margin:0 0 12px;}
.content ul,.content ol{padding-left:22px;margin:0 0 12px;font-size:16px;line-height:1.55;}
.content li{margin-bottom:8px;}
.content li b{font-weight:700;}
.kv{width:100%;border-collapse:collapse;font-size:15px;margin:0 0 14px;}
.kv th,.kv td{text-align:left;vertical-align:top;padding:10px 12px 10px 0;border-top:1px solid var(--line);}
.kv th{width:34%;font-weight:700;padding-right:14px;}
.kv tr:last-child th,.kv tr:last-child td{border-bottom:1px solid var(--line);}
.kv.cost th,.kv.cost td{padding:10px 10px;}
.kv.cost thead th{border-top:0;color:var(--muted);font-weight:700;font-size:13px;}
.steps8{counter-reset:s;list-style:none;padding:0;margin:0 0 14px;}
.steps8 li{position:relative;padding:8px 0 8px 42px;margin:0;}
.steps8 li::before{counter-increment:s;content:counter(s);position:absolute;left:0;top:7px;width:28px;height:28px;border-radius:50%;background:var(--mint);color:var(--forest);font-family:var(--display);font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;margin-top:1px;}
.rules{counter-reset:r;list-style:none;padding:0;margin:0 0 14px;}
.rules li{display:grid;grid-template-columns:36px 1fr;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-size:16px;line-height:1.5;margin:0;}
.rules li::before{counter-increment:r;content:counter(r);font-family:var(--display);font-weight:800;font-size:24px;color:var(--signal);line-height:1;}
.rules li:last-child{border-bottom:1px solid var(--line);}
.rules li b{display:block;font-weight:700;}
.rules li span{color:#2E3F36;font-size:15px;}
.update{border-left:4px solid var(--forest);background:var(--field);border-radius:0 10px 10px 0;padding:14px 16px;margin:0 0 18px;font-size:15px;line-height:1.5;}
.update b.t{display:block;font-weight:700;margin-bottom:4px;}
.update ul{margin:8px 0 0;padding-left:20px;font-size:14px;}
.update li{margin-bottom:5px;}
.faq details,.sample details{border-top:1px solid var(--line);padding:12px 0;}
.faq details:last-of-type,.sample details:last-of-type{border-bottom:1px solid var(--line);}
.faq summary,.sample summary{font-weight:700;font-size:16px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;line-height:1.4;}
.faq summary::-webkit-details-marker,.sample summary::-webkit-details-marker{display:none;}
.faq summary::after,.sample summary::after{content:"+";color:var(--muted);font-weight:400;flex:0 0 auto;}
.faq details[open] summary::after,.sample details[open] summary::after{content:"–";}
.faq p{font-size:15px;color:#2E3F36;margin:8px 0 0;line-height:1.55;}
.sample .sec{font-size:12px;font-weight:700;color:var(--muted);margin:8px 0 4px;letter-spacing:.04em;}
.sample ol{margin:0 0 8px;padding-left:22px;font-size:15px;list-style:upper-alpha;}
.sample ol li{margin-bottom:3px;}
.sample .ans{font-size:15px;line-height:1.55;background:var(--ok-bg);border-radius:10px;padding:10px 12px;margin:6px 0 0;}
.guides{list-style:none;padding:0;margin:0 0 14px;}
.guides li{border-top:1px solid var(--line);padding:10px 0;font-size:15px;margin:0;}
.guides li:last-child{border-bottom:1px solid var(--line);}
.guides a{text-decoration:none;font-weight:700;}
.guides a:hover{text-decoration:underline;}
.sources{font-size:13px;color:var(--muted);line-height:1.55;margin:16px 0 0;}
.related{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px;}
.related a{font-size:14px;text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:7px 12px;color:var(--ink);}
.related a:hover{border-color:var(--forest);color:var(--forest);}
.buy{background:var(--mint-soft);border-radius:14px;padding:20px 18px;margin:0 0 6px;display:grid;gap:18px;}
.buy p{margin-bottom:12px;}
.buy .fine{font-size:13px;color:var(--muted);margin:10px 0 0;}
.mock{background:var(--paper);border-radius:14px;border:1px solid var(--line);padding:12px;box-shadow:0 14px 36px rgba(15,42,30,.12);font-size:13px;max-width:320px;transform:rotate(1.2deg);}
.mk-top{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:12px;margin-bottom:8px;}
.mk-row{display:flex;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line);}
.mk-row i{width:30px;height:30px;border-radius:8px;flex:0 0 30px;}
.mk-row i.g{background:var(--mint);} .mk-row i.b{background:#E3EEFB;} .mk-row i.o{background:#FDEBD3;}
.mk-row b{display:block;font-size:13px;} .mk-row span{font-size:11.5px;color:var(--muted);}
.mk-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;background:var(--ink);color:#fff;border-radius:9px;padding:9px 11px;}
.mk-bar b{display:block;font-size:12.5px;} .mk-bar span{font-size:11px;color:#9DBBA9;} .mk-bar em{font-style:normal;background:#7FD4A6;color:var(--ink);font-weight:800;font-size:12px;padding:5px 10px;border-radius:6px;}

/* the question card */
.quiz{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:18px 16px;box-shadow:0 1px 2px rgba(15,42,30,.06),0 12px 32px rgba(15,42,30,.07);scroll-margin-top:12px;}
.quiz-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:14px;font-weight:700;gap:10px;}
.tag{font-size:12px;font-weight:700;color:var(--forest);background:var(--mint);padding:3px 9px;border-radius:999px;white-space:nowrap;}
.prog{display:grid;gap:4px;margin-bottom:16px;}
.prog i{height:5px;border-radius:999px;background:var(--line);display:block;}
.prog i.on{background:var(--forest);}
.prog i.good{background:var(--forest);}
.prog i.bad{background:var(--fail);}
.q-meta{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:var(--muted);margin:0 0 12px;}
.q-section{font-size:13px;color:var(--muted);margin-bottom:6px;}
.q-section.rule{color:var(--signal);font-weight:700;}
.q-text{font-size:19px;line-height:1.4;font-weight:700;margin:0 0 14px;}
.opts{display:flex;flex-direction:column;gap:8px;list-style:none;margin:0;padding:0;}
.opts li{margin:0;}
.opt{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:10px 12px;border:1.5px solid var(--line);border-radius:8px;background:var(--paper);font-size:16px;line-height:1.35;text-align:left;cursor:pointer;transition:border-color .12s;}
.opt:hover{border-color:var(--forest);}
.opt b{flex:0 0 28px;height:28px;border-radius:50%;background:var(--field);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;}
.opt[disabled]{cursor:default;}
.opt.right{border-color:var(--forest);background:var(--ok-bg);}
.opt.right b{background:var(--forest);color:#fff;}
.opt.wrong{border-color:var(--fail);background:var(--fail-bg);}
.opt.wrong b{background:var(--fail);color:#fff;}
.opt.dim{opacity:.5;}
.q-hint{font-size:13px;color:var(--muted);margin:12px 0 0;}
.explain{margin-top:12px;padding:12px 14px;border-radius:8px;background:var(--ok-bg);font-size:15px;line-height:1.5;animation:rise .18s ease-out;}
.explain.no{background:var(--fail-bg);}
.explain strong{display:block;margin-bottom:2px;}
@keyframes rise{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.btn{display:flex;align-items:center;justify-content:center;gap:.3em;width:100%;min-height:50px;padding:0 18px;border:0;border-radius:8px;background:var(--forest);color:#fff;font:700 16px var(--body);cursor:pointer;text-decoration:none;text-align:center;}
.btn:hover{background:var(--forest-deep);}
.btn.ghost{background:var(--paper);color:var(--forest);border:1.5px solid var(--forest);}
.btn.ghost:hover{background:var(--ok-bg);}
.quiz .next{margin-top:14px;display:none;}
.quiz .next.show{display:flex;}

/* the pack card */
.pack{border:1px solid var(--line);border-radius:12px;padding:0;background:var(--paper);overflow:hidden;}
.pack.lift{border-color:var(--ink);}
.pack .ph{background:var(--ink);color:#fff;padding:14px 18px 16px;}
.pack .ph .kicker{color:#9DBBA9;}
.pack .ph .price{margin:0;}
.pack .ph .price b{color:#fff;}
.pack .ph .price span{color:#CFE3D6;}
.pack .pb{padding:14px 18px 18px;}
.pack .kicker{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--muted);margin:0 0 6px;}
.pack h2{font-size:20px;font-weight:700;margin:0 0 10px;line-height:1.2;}
.price{display:flex;align-items:baseline;gap:10px;margin:0 0 12px;flex-wrap:wrap;}
.price b{font-family:var(--display);font-size:36px;font-weight:800;line-height:1;}
.price span{font-size:14px;color:var(--muted);}
.inside{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:7px;font-size:15px;}
.inside li{display:flex;gap:10px;align-items:flex-start;margin:0;}
.inside li::before{content:"";flex:0 0 22px;height:22px;border-radius:6px;background:var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%231E6B3F' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;}
.inside li:nth-child(2)::before{background-color:#E3EEFB;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%232563EB' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}
.inside li:nth-child(3)::before{background-color:#FDEBD3;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%23B45309' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}
.inside li b{font-weight:700;}
.total{font-size:13px;color:var(--muted);margin:0 0 14px;line-height:1.5;}
.paynote{font-size:13px;color:var(--muted);text-align:center;margin:10px 0 0;}
.guarantee{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);font-size:14px;line-height:1.5;}
.guarantee strong{display:block;}
.proof{margin-top:10px;font-size:14px;color:var(--muted);}
.proof b{color:var(--ink);}
.express{display:flex;flex-direction:column;gap:8px;}
.express .lbl{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);}
.wallets{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;}
.wallet{min-height:46px;border:0;border-radius:10px;font:600 15px var(--body);cursor:pointer;background:#000;color:#fff;}
.wallet:hover{background:#222;}
.wallet.link{background:#00D66F;color:#011E0F;font-weight:700;grid-column:1 / -1;}
.wallet.link:hover{background:#00c565;}
.pack .cta{display:flex;flex-direction:column;gap:10px;}
.pack .cta .express{order:-1;}

/* the study-guide form, used three times */
.gform{border:1px solid var(--line);border-left:4px solid var(--forest);border-radius:0 10px 10px 0;padding:14px 16px;background:var(--paper);margin:16px 0 0;}
.gform h3{font-size:17px;font-weight:700;margin:0 0 4px;}
.gform p{font-size:14px;color:var(--muted);margin:0 0 10px;line-height:1.5;}
.gform form{display:flex;flex-direction:column;gap:8px;}
.gform input{min-height:46px;border:1px solid #B9C7BE;border-radius:8px;padding:0 12px;font:15px var(--body);background:var(--paper);color:var(--ink);width:100%;}
.gform input:focus{border-color:var(--forest);outline:none;box-shadow:0 0 0 3px rgba(30,107,63,.18);}
.gform .btn{min-height:46px;font-size:15px;}
.gform .fine{font-size:12px;color:var(--muted);margin:6px 0 0;}
.gform .sent{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.5;}
.gform .sent::before{content:"";flex:0 0 22px;height:22px;border-radius:50%;background:var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;}
@container tr (min-width:520px){.gform form{flex-direction:row;} .gform input{flex:1;} .gform .btn{width:auto;padding:0 18px;}}

/* footer, like the live one */
.foot{border-top:1px solid var(--line);background:var(--field);}
.foot .wrap{padding-block:26px 24px;}
.fcols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;}
.fcols h4{font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--muted);margin:0 0 8px;}
.fcols ul{list-style:none;margin:0;padding:0;font-size:14px;line-height:1.9;}
.fcols a{color:var(--ink);text-decoration:none;}
.fcols a:hover{color:var(--forest);}
.fnote{font-size:12px;color:var(--muted);line-height:1.6;margin:22px 0 0;border-top:1px solid var(--line);padding-top:14px;}

/* results */
.results{background:var(--field);}
.results .wrap{padding-block:18px 40px;}
.results-grid{display:grid;gap:14px;}
.result{border:1px solid var(--line);border-radius:12px;padding:18px 16px;background:var(--paper);}
.result .eyebrow2{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700;margin-bottom:8px;gap:10px;}
.pill{font-size:13px;font-weight:700;padding:3px 10px;border-radius:999px;background:var(--fail-bg);color:var(--fail);white-space:nowrap;}
.pill.ok{background:var(--ok-bg);color:var(--forest);}
.result h2{font-size:24px;line-height:1.2;font-weight:800;margin:0 0 8px;}
.result p{font-size:15px;color:var(--muted);margin:0 0 14px;}
.bars{display:flex;flex-direction:column;gap:10px;margin-bottom:14px;}
.bar .t{display:flex;justify-content:space-between;font-size:14px;margin-bottom:4px;gap:10px;}
.bar .t b{font-weight:700;white-space:nowrap;}
.bar .t em{color:var(--signal);font-style:normal;}
.bar .track{height:8px;border-radius:999px;background:#E7ECE9;}
.bar .fill{height:8px;border-radius:999px;background:var(--forest);transition:width .4s ease-out;}
.bar.bad .fill{background:var(--fail);}
.bar.bad .t b{color:var(--fail);}
.result .explain{margin:0 0 16px;animation:none;}
.links{display:flex;gap:18px;font-size:15px;font-weight:700;flex-wrap:wrap;}
.links a{cursor:pointer;}
.links a.quiet{color:var(--muted);font-weight:400;}
.saved{font-size:12px;color:var(--muted);margin:12px 0 0;}
.after .gform{margin-top:18px;}

/* review */
.review .wrap{padding-block:18px 40px;max-width:760px;}
.review h2{font-size:26px;margin:0 0 6px;}
.review .back{font-size:15px;font-weight:700;cursor:pointer;display:inline-block;margin-bottom:18px;}
.rv{border-top:1px solid var(--line);padding:16px 0;}
.rv:last-of-type{border-bottom:1px solid var(--line);}
.rv .n{font-size:13px;color:var(--muted);margin-bottom:4px;}
.rv .q{font-weight:700;font-size:17px;margin:0 0 8px;}
.rv .a{font-size:15px;margin:0 0 4px;}
.rv .a.bad{color:var(--fail);}
.rv .a.good{color:var(--forest);}
.rv .w{font-size:15px;color:var(--muted);margin:6px 0 0;}

/* sticky bar on phones */
.bar-sticky{position:sticky;bottom:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px max(16px,env(safe-area-inset-right,0px)) calc(14px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -8px 24px rgba(15,42,30,.08);}
.bar-sticky .p{flex:1;min-width:0;font-family:var(--display);font-weight:800;font-size:18px;line-height:1.1;}
.bar-sticky .p span{display:block;font:400 12px/1.3 var(--body);color:var(--muted);margin-top:2px;}
.bar-sticky .btn{width:auto;min-height:48px;padding:0 18px;font-size:15px;white-space:nowrap;flex:0 0 auto;}



/* unlocked */
.unlocked .wrap{padding-block:28px 40px;max-width:760px;}
.unlocked h1{font-size:40px;font-weight:800;margin:0 0 10px;line-height:1.05;}
.unlocked p{font-size:17px;line-height:1.5;margin:0 0 16px;}
.unlocked .actions{display:flex;flex-direction:column;gap:10px;}
.areas{margin-top:22px;border-top:1px solid var(--line);}
.areas div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px;}
.areas span{color:var(--muted);}

/* full test / drill */
.fulltest .wrap{padding-block:18px 40px;max-width:760px;}
.fulltest .quiz{box-shadow:none;}
.endcard{border:1px solid var(--line);border-radius:12px;padding:20px 18px;background:var(--field);}
.endcard h2{font-size:24px;margin-bottom:8px;}
.endcard p{font-size:15px;color:var(--muted);margin:0 0 14px;line-height:1.5;}
.endcard .actions{display:flex;flex-direction:column;gap:10px;}



/* ---------- desktop, from the container's width ---------- */
@container tr (min-width:900px){
  .head .wrap{height:68px;}
  .logo-img{width:198px;height:34px;}
  .head nav{display:flex;}
  .hero .photo{position:absolute;inset:0;height:auto;background-size:cover;background-position:62% 28%;}
  .hero .shade{height:auto;inset:0;background:linear-gradient(90deg,rgba(15,42,30,.97) 0%,rgba(15,42,30,.9) 38%,rgba(15,42,30,.42) 64%,rgba(15,42,30,.3) 100%);}
  .hero .wrap{min-height:340px;display:flex;flex-direction:column;justify-content:center;padding-block:40px 36px;}
  .float{display:block;}
  .hero-copy{max-width:640px;}
  .title{font-size:46px;}
  .sub{font-size:23px;}
  .lede{font-size:16px;}
  .ctas{flex-direction:row;}
  .ctas .btn{width:auto;padding:0 22px;}
  .trustline{display:flex;justify-content:space-between;align-items:center;gap:12px 24px;padding:14px 0;font-size:14px;}
  .trustline li{white-space:nowrap;}
  .toc ol{flex-wrap:wrap;overflow:visible;}
  .body .wrap{padding-block:18px 60px;}
  .body-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"test" "rail" "content";gap:32px;max-width:860px;margin-inline:auto;}
  .body .crumbs,.body .toc{max-width:860px;margin-inline:auto;}
  .content{max-width:none;}
  #pack-landing .pb{display:grid;grid-template-columns:1fr 1fr;gap:0 30px;align-items:start;padding:20px 24px 22px;}
  #pack-landing .pb-r{padding-top:4px;}
  #pack-landing .ph{padding:16px 24px 18px;}
  .rail{position:static;}
  .content h2{font-size:27px;}
  .buy{grid-template-columns:minmax(0,1fr) 300px;align-items:center;padding:24px;}
  .quiz{padding:24px 24px 22px;}
  .q-text{font-size:20px;}
  .pack .cta .express{order:0;}
  .wallets{grid-template-columns:repeat(3,1fr);}
  .wallet.link{grid-column:auto;}
  .fcols{grid-template-columns:repeat(6,minmax(0,1fr));}
  .results .wrap{padding-block:40px 60px;}
  .results-grid{grid-template-columns:1fr;max-width:860px;margin:0 auto;gap:18px;}
  #pack-results .pb{display:grid;grid-template-columns:1fr 1fr;gap:0 30px;align-items:start;padding:20px 24px 22px;}
  #pack-results .pb-r{padding-top:4px;}
  .after{padding:2px 4px 0;}
  .result{padding:24px;}
  .result h2{font-size:28px;}
  .bar-sticky{display:none;}
  .unlocked .actions{flex-direction:row;}
  .unlocked .actions .btn{flex:1;}
  .endcard .actions{flex-direction:row;}
  .endcard .actions .btn{flex:1;}
}

/* ---------- AU additions (not in the spec) ---------- */
/* Page wrapper: the spec sizes everything from the .tr container. */
html{scroll-behavior:smooth;}
.tr{min-height:100vh;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
/* AU page copy uses these boxes and the comparison table; drawn with the spec's .update and .kv look. */
.content .warning-box,.content .info-box{border-left:4px solid var(--forest);background:var(--field);border-radius:0 10px 10px 0;padding:14px 16px;margin:0 0 18px;font-size:15px;line-height:1.5;}
.content .warning-box{border-left-color:var(--signal);}
.content .compare-table{width:100%;border-collapse:collapse;font-size:15px;margin:0 0 14px;}
.content .compare-table th,.content .compare-table td{text-align:left;vertical-align:top;padding:10px 12px 10px 0;border-top:1px solid var(--line);}
.content .compare-table th{font-weight:700;}
.content .compare-table tr:last-child td{border-bottom:1px solid var(--line);}
.content .compare-table .yes{color:var(--forest);font-weight:700;}
.content .compare-table .no{color:var(--muted);}
.content .table-wrap{overflow-x:auto;}
.sources a{color:var(--muted);}
.result .loading{font-size:15px;color:var(--muted);}
.fnote a{color:var(--muted);}
.fcols .linklike{background:none;border:0;padding:0;font:inherit;color:var(--ink);cursor:pointer;text-align:left;}
.fcols .linklike:hover{color:var(--forest);}
/* Cookie settings banner (consent.js), drawn in the spec's tokens. */
#cookie-banner{position:fixed;left:12px;right:12px;bottom:12px;z-index:1100;max-width:720px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.2);padding:18px 20px;font-size:14px;}
#cookie-banner p{margin:0 0 12px;}
#cookie-banner .cb-btns{display:flex;gap:10px;}
#cookie-banner .btn{min-height:44px;}
/* Desktop layout per Liam's screenshot (2026-11-02): free test and page copy on the left,
   the pack card in a right-hand column that stays in view while the page scrolls.
   Phones keep the spec's single column (test, pack, content). */
@container tr (min-width:900px){
  .body-grid{grid-template-columns:minmax(0,1fr) 360px;grid-template-areas:"test rail" "content rail";gap:32px 40px;max-width:none;}
  .body .crumbs,.body .toc{max-width:none;}
  .rail{position:sticky;top:16px;align-self:start;}
  #pack-landing .ph{padding:14px 18px 16px;}
  #pack-landing .pb{display:block;padding:14px 18px 18px;}
  #pack-landing .pb-r{padding-top:0;}
}
.pack .total b{color:var(--ink);}
