{"version":3,"file":"shared.DBtM2JU5.mjs","names":["React.useState","React.useState","_Fragment","__esmMin","init_ssg_sandbox_shims","navigator","window","_e","l","p","c","init_jsx_runtime","init_npm_react_18_3_1","ce","SH2","card","init_VideoReviews","Video","useFeature","init_FunnelBlocks","WHATSAPP_MATT","SF","UsdNote","SB","SC","ReviewsSection","init_SignupStage","StackBody","init_FirstPaint","LastCall","bg3","GTFaq","INK_BLUE","FB_IMG","FunnelFooter","GuaranteeSeal","GTLetter","Sec","TrialButton","VideoReviews","metaLead","id","ck","n","fbclid","fbc","props","SchemaOrg","data","C","v","IMG","KLAVIYO_SITE","ORG_SCHEMA","init_MGMKit","EVENT","init_CurrentEvent","lessonList","start","now","WAITLIST_LIST","leadUtm","qs","out","k","f","s","mg","MAGNETS","x","ref","examYear","ay","year","funnelTag","subscribeLead","ml","extra","a","\"Role\"","\"Tier\"","\"Mobile\"","source","r","list","w","rememberEmail","KEY","email","rememberLead","LEAD_KEY","recallLead","j","toBridge","phone","offerHref","slug","isPhone","toGift","JOIN_WHATSAPP","path","role","ALWAYS_LIVE","HELD","NEXT_LESSON","MAGNET_COPY","WHATSAPP_GROUP","NEXT_LESSON_LINK","nextLessonHref","RESOURCE_OFFER","JOIN_WHATSAPP_AFTER","afterDownload","RESOURCE_NAME","init_LeadCapture","lm","m","medium","useOfferClock","setNow","i","end","endIso","left","two","ScrollCue","mode","label","RIMG","useOfferPreview","init_OfferBlocks","useSpecialOffer","preview","placeholderEnd","valid","endAt","startAt","startIso","on","open","usePersonalOffer","setEndIso","enabled","key","days","OfferTop","kind","got","reason","named","text","box","countdown","OFFER_GREEN","SpecialOfferButton","ClaimButton","OfferHero","wide","SalesVideo","trial","closed","videoId","PLACEHOLDER_SALES_VIDEO","OfferPill","OfferSection","bonusTitle","deadline","bonuses","SPECIAL_BONUSES","GLOW","b","OFFER_GREEN_BG","Struck","FreeStamp","guarantee","price","head","resource","Row","img","icon","name","sub","right","OfferStack","free","zig","Shield","SPECIAL_TOTAL","OfferRest","FL_OFFER_OPEN_UTC","flOfferStart","init_SpecialOffer","o","ls","lessonStartUtc","big","size"],"sources":["https:/framerusercontent.com/modules/w72bJ3SyqTKjWjTdHnhv/d7tU7iW1gJSdYZYqFcCU/MGMKit.js","https:/framerusercontent.com/modules/qu88FOEFN5hHs8hX8abo/p2GaSkKuc2bHU6FCforc/CurrentEvent.js","https:/framerusercontent.com/modules/6k9FuVvDDaTXjo9mOhNl/2yOClXkSBjRH0iyvo74b/LeadCapture.js","https:/framerusercontent.com/modules/laApHJ6CJE494DnSRf8o/kZ92BhWM3i78yNHUlNfT/OfferBlocks.js","https:/framerusercontent.com/modules/eeaWLSSvUZdUPAZgdiv1/rk5UId3vd1JkL95WIka9/SpecialOffer.js"],"sourcesContent":["// MGMKit — the shared MyGCSEMaths brand kit. Every rebuilt page imports from here, so a change here\n// changes the whole site. Tokens measured from the live site on 14 Oct 2026\n// (AXIO › PROJECTS › [2026-10-14] Brand audit — website). Built by Claude, CENTRE: WEB DESIGN, 14 Oct 2026.\n// Copy of record: AXIO › PROJECTS › [2026-10-14] Website rebuild — Framer code components/components/\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{useBpHint}from\"https://framerusercontent.com/modules/CPBft0lE4IC0864wcctI/68nEid7i27zbL9pISCoQ/FirstPaint.js\";// ─── Tokens ────────────────────────────────────────────────────────────────────────────────────\nexport const C={ink:\"#000000\",grey:\"#999999\",body:\"#1A1A1A\",sub:\"#4A5568\",blue:\"#0098FF\",logo:\"#669FFF\",pale:\"#E7F0FD\",pale2:\"#F1F6FE\",surface:\"#F5F5F7\",white:\"#FFFFFF\",line:\"rgba(0,0,0,0.06)\",field:\"#DCE1E6\",gold:\"#F5B82E\",error:\"#C22\"};export const FONT=\"'MGM Inter Variable', 'MGM Inter', 'Inter', 'Inter Variable', system-ui, -apple-system, sans-serif\";export const DISPLAY={fontFamily:FONT,fontWeight:700,fontVariationSettings:\"'opsz' 32\",fontFeatureSettings:\"'cv01','cv05','cv09','cv11','ss03'\",letterSpacing:\"-0.04em\",color:C.ink};export const SHADOW=\"0 2px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.06)\";// ─── Links ─────────────────────────────────────────────────────────────────────────────────────\n// 🔁 CUTOVER SWITCH. While the rebuilt pages are being approved they link to each other at their -v2\n// paths. When Matthew approves and the old pages are deleted, set LIVE = true and every link on every\n// rebuilt page points at the main paths.\nexport const LIVE=true;const v=p=>LIVE?p:p===\"/\"?\"/home-v2\":`${p}-v2`;export const PATHS={home:v(\"/\"),groupTutoring:v(\"/group-tutoring\"),freeLesson:\"/webinar/free-lesson/signup\",pastPaperTracker:v(\"/other-resources/past-paper-tracker\"),topicTracker:v(\"/other-resources/topic-tracker\"),trackerThanks:v(\"/webinar/free-lesson/signup-from-resource\"),contact:v(\"/legal/contact\"),privacy:v(\"/legal/privacy\"),terms:v(\"/legal/terms\"),safeguarding:v(\"/legal/safeguarding\"),copyright:v(\"/legal/copyright\")};export const SKOOL=\"https://www.skool.com/mygcsemaths-group-tutoring\";export const SKOOL_LOGIN=\"https://www.skool.com/login\";// ─── Assets (already hosted on Framer's CDN for this project) ──────────────────────────────────\nconst IMG=id=>`https://framerusercontent.com/images/${id}.png?scale-down-to=1024`;export const A={wordmark:IMG(\"XG8VpbPVsrvl7CwV1ruo0M1TnY\"),barMark:IMG(\"cDhPF0iqLkR7ugykS0wjFv6v91M\"),gtLockup:IMG(\"yBedNQfBCm6NrN9532rPXOQmw\"),heroWash:IMG(\"KBn2t1Qu97y0gRea070SkNiQztQ\"),heroWash2:IMG(\"xWEuRPuVmKsdM9Jp1lHIHxY8gY\"),laptop:IMG(\"XShU3IWPkaSMIRhc1hYWsH6k2U0\"),laptop2:IMG(\"keqwZMaxO68qWVNyK4bURTyVeM\")};// ─── Hooks and helpers ─────────────────────────────────────────────────────────────────────────\nconst WidthCtx=/*#__PURE__*/React.createContext(null);/** Width of the page this component is in, from the nearest <Scope> or <Page>. Each page instance measures\n * itself, so Desktop / Tablet / Phone breakpoints on the Framer canvas never share a width (a shared store made\n * all three use the phone layout in the Framer app, 14 Oct). Falls back to the window outside a Scope. */export function useWidth(){const ctx=React.useContext(WidthCtx);const[w,setW]=React.useState(useBpHint())// FirstPaint.tsx: same first render on server and browser\n;React.useLayoutEffect(()=>{if(ctx!==null)return;const on=()=>setW(window.innerWidth);on();window.addEventListener(\"resize\",on);return()=>window.removeEventListener(\"resize\",on);},[ctx]);return ctx??w;}/** Every page's default export wraps its body in a Scope: it measures this instance's own width and gives the\n * body (and everything in it) the layout width: phone below TABLET_MIN, DESIGN_W on iPad sizes, else real. */export function Scope({children}){const ref=React.useRef(null);const[w,setW]=React.useState(null);React.useLayoutEffect(()=>{const el=ref.current;if(!el)return;const on=()=>setW(el.offsetWidth||null);on();const ro=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(on):null;ro?.observe(el);return()=>ro?.disconnect();},[]);const real=w??DESIGN_W;const layoutW=real>=TABLET_MIN&&real<DESIGN_W?DESIGN_W:real;return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\"},children:/*#__PURE__*/_jsx(WidthCtx.Provider,{value:layoutW,children:children})});}/** true for the desktop layout (desktop, and iPad via the scaled desktop layout); false on phones */export function useWide(){return useWidth()>=TABLET_MIN;}/** \"plain **bold** plain\" → React nodes. Keeps copy readable in the page files. */export function rich(s){const parts=s.split(/\\*\\*(.+?)\\*\\*/g);return parts.map((p,i)=>i%2?/*#__PURE__*/_jsx(\"b\",{style:{fontWeight:700},children:p},i):/*#__PURE__*/_jsx(React.Fragment,{children:p},i));}/** Meta Conversions API keys (17 Oct 2026). One event id is shared by the browser Lead and the server copy the lead-intake\n *  Worker sends, so Meta counts it once. The props go on the Klaviyo profile with the sign-up; the Worker reads them. */export function metaLead(){const id=\"lead-\"+Date.now().toString(36)+\"-\"+Math.random().toString(36).slice(2,8);if(typeof document===\"undefined\")return{id,props:{}};const ck=n=>decodeURIComponent((document.cookie.match(new RegExp(\"(?:^|; )\"+n+\"=([^;]*)\"))||[])[1]||\"\");const fbclid=new URLSearchParams(window.location.search).get(\"fbclid\");const fbc=ck(\"_fbc\")||(fbclid?`fb.1.${Date.now()}.${fbclid}`:\"\");const props={\"Meta Lead Event ID\":id,\"Meta Event Time\":String(Math.floor(Date.now()/1e3)),\"Meta Event URL\":window.location.href.split(\"#\")[0].slice(0,300),\"Meta User Agent\":navigator.userAgent.slice(0,300)};if(ck(\"_fbp\"))props[\"Meta FBP\"]=ck(\"_fbp\");if(fbc)props[\"Meta FBC\"]=fbc;return{id,props};}function track(event,source,eventId){const w=window;// eventID = the one written to the profile (metaLead), so the Worker's server copy de-duplicates against this (17 Oct 2026).\nif(typeof w.fbq===\"function\")w.fbq(\"track\",event,{content_name:source},{eventID:eventId||event.toLowerCase()+\"-\"+Date.now().toString(36)+\"-\"+Math.random().toString(36).slice(2,8)});if(typeof w.gtag===\"function\")w.gtag(\"event\",event===\"Lead\"?\"generate_lead\":\"contact\",{source});}// ─── Page shell ────────────────────────────────────────────────────────────────────────────────\n// The exact Inter files the live Framer site loads (Framer-hosted), so type matches to the pixel (14 Oct).\nconst FONT_FACES=`@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/5A3Ce6C9YYmCjpQx9M4inSaKU.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/Qx95Xyt0Ka3SGhinnbXIGpEIyP4.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/6mJuEAguuIuMog10gGvH5d3cl8.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/xYYWaj7wCU5zSQH0eXvSaS19wo.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/otTaNuNpVK4RbdlT7zDDdKvQBA.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/UjlFhCnUjxhNfep4oYBPqnEssyo.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/DolVirEGb34pEXEp8t8FQBSK4.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/mYcqTSergLb16PdbJJQMl9ebYm4.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/ZRl8AlxwsX1m7xS1eJCiSPbztg.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/nhSQpBRqFmXNUBY2p5SENQ8NplQ.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/DYHjxG0qXjopUuruoacfl5SA.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/s7NH6sl7w4NU984r5hcmo1tPSYo.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/7lw0VWkeXrGYJT05oB3DsFy8BaY.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/wx5nfqEgOXnxuFaxB0Mn9OhmcZA.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/DpPBYI0sL4fYLgAkX8KXOPVt7c.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/4RAEQdEOrcnDkhHiiCbJOw92Lk.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/1K3W8DizY3v4emK8Mb08YHxTbs.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/tUSCtfYVM1I1IchuyCwz9gDdQ.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/VgYFWiwsAC5OYxAycRXXvhze58.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/syRNPWzAMIrcJ3wIlPIP43KjQs.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/GIryZETIX4IFypco5pYZONKhJIo.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/hyOgCu0Xnghbimh0pE8QTvtt2AU.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/NeGmSOXrPBfEFIy5YZeHq17LEDA.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/oYaAX5himiTPYuN8vLWnqBbfD2s.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/lEJLP4R0yuCaMCjSXYHtJw72M.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/cRJyLNuTJR5jbyKzGi33wU9cqIQ.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/yDtI2UI8XcEg1W2je9XPN3Noo.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/A0Wcc7NgXMjUuFdquHDrIZpzZw0.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/khkJkwSL66WFg8SX6Wa726c.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/0E7IMbDzcGABpBwwqNEt60wU0w.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/NTJ0nQgIF0gcDelS14zQ9NR9Q.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/QrcNhgEPfRl0LS8qz5Ln8olanl8.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/JEXmejW8mXOYMtt0hyRg811kHac.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/Bo5CNzBv77CafbxOtKIkpw9egw.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/uy9s0iWuxiNnVt8EpTI3gzohpwo.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/khkJkwSL66WFg8SX6Wa726c.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/0E7IMbDzcGABpBwwqNEt60wU0w.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/NTJ0nQgIF0gcDelS14zQ9NR9Q.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/QrcNhgEPfRl0LS8qz5Ln8olanl8.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/JEXmejW8mXOYMtt0hyRg811kHac.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/Bo5CNzBv77CafbxOtKIkpw9egw.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/uy9s0iWuxiNnVt8EpTI3gzohpwo.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}`;const GLOBAL_CSS=`\n${FONT_FACES}\n@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300..800&display=swap');\n.mgm{font-feature-settings:'cv01','cv05','cv09','cv11','ss03';font-optical-sizing:none}\n.mgm *{box-sizing:border-box}\n.mgm a{color:inherit}\n.mgm input:focus,.mgm textarea:focus{border-color:${C.blue}!important;outline:none}\n.mgm .mgm-btn{transition:transform .15s ease, filter .15s ease}\n.mgm .mgm-btn:hover{transform:translateY(-1px);filter:brightness(1.06)}\n@keyframes mgm-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}\n.mgm .mgm-track{animation:mgm-marquee var(--mgm-speed,60s) linear infinite}\n.mgm .mgm-track:hover{animation-play-state:paused}\n@media (prefers-reduced-motion: reduce){.mgm .mgm-track{animation:none}}\n`;/** Design width of the desktop layout. Between TABLET_MIN and DESIGN_W (iPad sizes) the desktop layout is\n * rendered at DESIGN_W and scaled down with CSS zoom, so desktop and iPad are the same format\n * (his ruling, 14 Oct: \"mobile, desktop and ipad are all the same format\"). Below TABLET_MIN: the phone layout. */export const DESIGN_W=1200;export const TABLET_MIN=700;export function Page({children,nav=\"main\",footer=true}){const ref=React.useRef(null);const[w,setW]=React.useState(useBpHint())// FirstPaint.tsx: same first render on server and browser\n;const tablet=w>=TABLET_MIN&&w<DESIGN_W;const layoutW=tablet?DESIGN_W:w;React.useLayoutEffect(()=>{const el=ref.current;if(!el)return;const on=()=>setW(el.offsetWidth||window.innerWidth)// layout width: ignores canvas zoom\n;on();const ro=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(on):null;ro?.observe(el);window.addEventListener(\"resize\",on);return()=>(ro?.disconnect(),window.removeEventListener(\"resize\",on));},[]);return /*#__PURE__*/_jsx(WidthCtx.Provider,{value:layoutW,children:/*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\",overflow:\"hidden\"},children:/*#__PURE__*/_jsxs(\"div\",{className:\"mgm\",style:{width:tablet?DESIGN_W:\"100%\",zoom:tablet?w/DESIGN_W:undefined,background:C.white,color:C.ink,fontFamily:FONT,fontSize:16,lineHeight:1.5,WebkitFontSmoothing:\"antialiased\"},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:GLOBAL_CSS}}),nav!==\"none\"?/*#__PURE__*/_jsx(Nav,{variant:nav}):null,children,footer?/*#__PURE__*/_jsx(Footer,{}):null]})})});}/** Centred column. */export function Wrap({children,max=1200,pad,style}){const wide=useWide();const p=pad??(wide?40:16);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",maxWidth:max+p*2,margin:\"0 auto\",paddingLeft:p,paddingRight:p,...style},children:children});}/** Vertical rhythm between sections. */export function Section({children,id,top,bottom,style}){const wide=useWide();return /*#__PURE__*/_jsx(\"section\",{id:id,style:{paddingTop:top??(wide?72:48),paddingBottom:bottom??0,...style},children:children});}/** The rounded pale-blue doodle card: hero and feature containers. Radius 30. */export function WashCard({children,style,inner=true}){const wide=useWide();return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",borderRadius:wide?30:24,overflow:\"hidden\",backgroundColor:C.pale,backgroundImage:`url(${A.heroWash})`,backgroundSize:\"cover\",backgroundPosition:\"center\",padding:inner?wide?\"48px 56px\":\"28px 18px\":0,...style},children:children});}export function H1({children,align=\"center\",style,as=\"h1\"}){const wide=useWide();const Tag=as;return /*#__PURE__*/_jsx(Tag,{style:{...DISPLAY,fontSize:wide?56:36,lineHeight:1.05,margin:0,textAlign:align,...style},children:children});}export function H2({children,align=\"center\",style,as=\"h2\"}){const wide=useWide();const Tag=as;return /*#__PURE__*/_jsx(Tag,{style:{...DISPLAY,fontSize:wide?44:30,lineHeight:1.1,margin:0,textAlign:align,...style},children:children});}export function H3({children,align=\"left\",style,as=\"h3\"}){const wide=useWide();const Tag=as;return /*#__PURE__*/_jsx(Tag,{style:{...DISPLAY,letterSpacing:\"-0.02em\",fontSize:wide?24:21,lineHeight:1.2,margin:0,textAlign:align,...style},children:children});}/** Light first line of the two-line hero (\"Take Control Of GCSE Maths\"). */export function Kicker({children,align=\"center\",style}){const wide=useWide();return /*#__PURE__*/_jsx(\"div\",{style:{...DISPLAY,fontWeight:400,letterSpacing:\"-0.03em\",fontSize:wide?36:24,lineHeight:1.15,textAlign:align,...style},children:children});}export function P({children,align=\"left\",style,size}){return /*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:size??17,lineHeight:1.55,color:C.ink,margin:0,textAlign:align,...style},children:children});}export function Small({children,align=\"center\",style}){return /*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:14,color:C.grey,textAlign:align,...style},children:children});}// ─── Buttons ───────────────────────────────────────────────────────────────────────────────────\nexport function Button({label,href,size=\"lg\",newTab,onClick,full,style,ariaLabel}){const h=size===\"lg\"?60:size===\"md\"?48:34;const fs=size===\"lg\"?20:size===\"md\"?18:14;const s={display:full?\"flex\":\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",height:h,padding:`0 ${size===\"sm\"?16:28}px`,borderRadius:100,background:C.blue,color:C.white,fontFamily:FONT,fontWeight:600,fontSize:fs,letterSpacing:\"-0.01em\",textDecoration:\"none\",border:\"none\",cursor:\"pointer\",whiteSpace:\"nowrap\",width:full?\"100%\":undefined,...style};return href?/*#__PURE__*/_jsx(\"a\",{className:\"mgm-btn\",href:href,\"aria-label\":ariaLabel,target:newTab?\"_blank\":undefined,rel:newTab?\"noopener\":undefined,style:s,children:label}):/*#__PURE__*/_jsx(\"button\",{className:\"mgm-btn\",type:\"button\",onClick:onClick,style:s,children:label});}/** Outline pill (\"Log In\"). */export function GhostButton({label,href,style}){return /*#__PURE__*/_jsx(\"a\",{className:\"mgm-btn\",href:href,style:{display:\"inline-flex\",alignItems:\"center\",height:34,padding:\"0 16px\",borderRadius:100,border:`1.5px solid ${C.ink}`,color:C.ink,fontFamily:FONT,fontWeight:600,fontSize:14,textDecoration:\"none\",...style},children:label});}export function Centre({children,style}){return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",textAlign:\"center\",...style},children:children});}// ─── Nav and footer ────────────────────────────────────────────────────────────────────────────\n/** Site nav, as measured on the live pages (14 Oct). Default = the wordmark (320×44 desktop, 246×53 phone,\n * cropped like Framer's \"fill\") + a solid blue \"Log In\" pill (90×34, radius 10, 20px/500 label).\n * `right` replaces the right-hand side for pages whose live nav differs; `logo`/`logoSize` swap the logo. */export function Nav({variant=\"main\",inCard=false,right,logo,logoSize,style}){const wide=useWide();const src=logo??(variant===\"gt\"?A.gtLockup:A.wordmark);const size=logoSize??(variant===\"gt\"?{desk:[323,72],mob:[200,45]}:{desk:[320,44],mob:[246,53]});const[lw,lh]=wide?size.desk:size.mob;const bar=/*#__PURE__*/_jsxs(\"nav\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:12,marginBottom:inCard?wide?40:24:0,...style},children:[/*#__PURE__*/_jsx(\"a\",{href:PATHS.home,\"aria-label\":\"MyGCSEMaths home\",style:{display:\"flex\",flex:\"none\"},children:/*#__PURE__*/_jsx(\"img\",{src:src,alt:variant===\"gt\"?\"Group Tutoring with Matt from MyGCSEMaths\":\"MyGCSEMaths\",style:{width:lw,height:lh,objectFit:\"cover\",flex:\"none\"}})}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:wide?16:8},children:right??/*#__PURE__*/_jsx(LoginPill,{})})]});return inCard?bar:/*#__PURE__*/_jsx(Wrap,{style:{paddingTop:wide?24:14},children:bar});}/** The live site's solid blue \"Log In\" pill. */export function LoginPill({href=SKOOL,label=\"Log In\"}){const wide=useWide();return /*#__PURE__*/_jsx(\"a\",{className:\"mgm-btn\",href:href,style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",width:wide?90:78,height:wide?34:31,borderRadius:10,background:C.blue,color:C.white,fontFamily:FONT,fontSize:wide?20:18,fontWeight:500,letterSpacing:\"-0.01em\",textDecoration:\"none\",whiteSpace:\"nowrap\"},children:label});}/** Footer, as measured on the live pages: bar mark (203×164 desktop / 78×66 phone) left, three columns right,\n * 44px apart, 15px text, 10px between rows. Phone: mark above, 12px text (live is 9px side by side: clipped, unreadable),\n * inside a 1026px band. */export function Footer(){const wide=useWide();const fs=wide?15:12;// Column titles link to their page when they have one (Clarity, 15 Oct: people tap \"Contact\").\nconst TITLE_HREF={MyGCSEMaths:PATHS.home,Contact:PATHS.contact};const col=(title,links)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:10},children:[TITLE_HREF[title]?/*#__PURE__*/_jsx(\"a\",{href:TITLE_HREF[title],style:{fontSize:fs,lineHeight:1,fontWeight:700,letterSpacing:\"-0.01em\",textDecoration:\"none\",color:C.ink},children:title}):/*#__PURE__*/_jsx(\"strong\",{style:{fontSize:fs,lineHeight:1,fontWeight:700,letterSpacing:\"-0.01em\"},children:title}),links.map(([label,href])=>/*#__PURE__*/_jsx(\"a\",{href:href,style:{fontSize:fs,lineHeight:1,letterSpacing:\"-0.01em\",textDecoration:\"none\",color:C.ink,whiteSpace:\"nowrap\",padding:wide?0:\"6px 0\",margin:wide?0:\"-6px 0\"},children:label},label))]});return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",maxWidth:wide?1026:358,margin:`${wide?60:64}px auto 0`,paddingBottom:wide?71:32},children:/*#__PURE__*/_jsxs(\"footer\",{style:{borderTop:`1px solid ${C.line}`,paddingTop:wide?76:28,display:\"flex\",flexDirection:wide?\"row\":\"column\",alignItems:\"flex-start\",justifyContent:\"space-between\",gap:wide?16:22},children:[/*#__PURE__*/_jsx(\"img\",{src:A.barMark,alt:\"\",style:{width:wide?203:78,height:wide?164:66,objectFit:\"cover\",flex:\"none\",marginTop:wide?-23:0}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:wide?44:24,flexWrap:\"wrap\"},children:[col(\"MyGCSEMaths\",[[\"Home\",PATHS.home],[\"Group Tutoring\",PATHS.groupTutoring],[\"Free Live Lesson\",PATHS.freeLesson],[\"Past Paper Tracker\",PATHS.pastPaperTracker],[\"Topic Tracker\",PATHS.topicTracker]]),col(\"Contact\",[[\"General\",PATHS.contact],[\"Support\",PATHS.contact],[\"Partnerships\",PATHS.contact],[\"Press\",PATHS.contact]]),col(\"Links\",[[\"Privacy Policy\",PATHS.privacy],[\"Terms & Conditions\",PATHS.terms],[\"Copyright Notice\",PATHS.copyright],[\"Safeguarding\",PATHS.safeguarding]])]})]})});}// ─── Proof ─────────────────────────────────────────────────────────────────────────────────────\nexport function Stats({items=[[\"150K+\",\"students supported\"],[\"30M+\",\"lesson views\"],[\"1,000+\",\"5-star reviews\"]]}){const wide=useWide();return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",gap:wide?96:20},children:items.map(([n,l])=>/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{...DISPLAY,fontSize:wide?48:28,lineHeight:1.1},children:n}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:wide?17:13,color:C.grey,marginTop:2},children:l})]},l))});}export function Stars({size=16}){return /*#__PURE__*/_jsx(\"div\",{\"aria-label\":\"5 stars\",style:{display:\"flex\",gap:2},children:[0,1,2,3,4].map(i=>/*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{fill:C.gold,d:\"M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.6l1.3-6.6L2.5 9.4l6.6-.8z\"})},i))});}export function ReviewCard({r,width=280}){return /*#__PURE__*/_jsxs(\"div\",{style:{flex:\"none\",width,background:C.white,borderRadius:20,border:`1px solid ${C.line}`,boxShadow:SHADOW,padding:20,display:\"flex\",flexDirection:\"column\",gap:12,whiteSpace:\"normal\"},children:[/*#__PURE__*/_jsx(Stars,{}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,lineHeight:1.5,flex:1},children:r.quote}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,fontWeight:600},children:r.name}),r.role?/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,color:C.grey},children:r.role}):null]})]});}/** An endlessly scrolling row of review cards. Pauses on hover; still for reduced motion. */export function ReviewRow({reviews,speed=60,reverse=false}){const doubled=[...reviews,...reviews];return /*#__PURE__*/_jsx(\"div\",{style:{overflow:\"hidden\",width:\"100%\",padding:\"12px 0\"},children:/*#__PURE__*/_jsx(\"div\",{className:\"mgm-track\",style:{display:\"flex\",gap:16,width:\"max-content\",alignItems:\"stretch\",[\"--mgm-speed\"]:`${speed}s`,animationDirection:reverse?\"reverse\":\"normal\"},children:doubled.map((r,i)=>/*#__PURE__*/_jsx(ReviewCard,{r:r},i))})});}// ─── Media ─────────────────────────────────────────────────────────────────────────────────────\n/** YouTube embed that loads only on click (fast pages). *//** `zoom` crops the thumbnail (some thumbnails have black bars baked in; the live bootcamp page shows it zoomed ~1.14). */export function YouTube({id,title=\"Video\",aspect=16/9,radius=20,start,zoom=1,focus=\"center\"}){const[on,setOn]=React.useState(false);const thumb=`https://i.ytimg.com/vi_webp/${id}/maxresdefault.webp`;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",paddingTop:`${100/aspect}%`,borderRadius:radius,overflow:\"hidden\",background:\"#111\"},children:on?/*#__PURE__*/_jsx(\"iframe\",{src:`https://www.youtube.com/embed/${id}?autoplay=1&rel=0&modestbranding=1&playsinline=1${start?`&start=${start}`:\"\"}`,title:title,allow:\"autoplay; encrypted-media; picture-in-picture; fullscreen\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",border:0}}):/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>setOn(true),\"aria-label\":`Play: ${title}`,style:{position:\"absolute\",inset:0,border:0,padding:0,cursor:\"pointer\",background:`#111 url(${thumb}) ${focus}/${zoom===1?\"cover\":`${Math.round(zoom*100)}% auto`} no-repeat`},children:/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:\"50%\",top:\"50%\",transform:\"translate(-50%,-50%)\",width:68,height:48,borderRadius:12,background:\"rgba(0,0,0,.72)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"22\",height:\"22\",viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{fill:\"#fff\",d:\"M8 5v14l11-7z\"})})})})});}// ─── Cards ─────────────────────────────────────────────────────────────────────────────────────\nexport function Card({children,tone=\"white\",style}){return /*#__PURE__*/_jsx(\"div\",{style:{background:tone===\"grey\"?C.surface:C.white,borderRadius:20,border:`1px solid ${C.line}`,boxShadow:tone===\"white\"?SHADOW:\"none\",padding:24,...style},children:children});}export function FAQ({items}){const[open,setOpen]=React.useState(0);return /*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gap:12},children:items.map((it,i)=>{const on=open===i;return /*#__PURE__*/_jsxs(\"div\",{style:{background:C.surface,borderRadius:20,overflow:\"hidden\"},children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>setOpen(on?null:i),\"aria-expanded\":on,style:{width:\"100%\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",gap:16,padding:\"18px 22px\",background:\"none\",border:0,cursor:\"pointer\",textAlign:\"left\",fontFamily:FONT,fontSize:17,fontWeight:600,color:C.ink},children:[it.q,/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{flex:\"none\",fontSize:22,lineHeight:1,transform:on?\"rotate(45deg)\":\"none\",transition:\"transform .2s\"},children:\"+\"})]}),on?/*#__PURE__*/_jsx(\"div\",{style:{padding:\"0 22px 20px\",fontSize:16,lineHeight:1.6},children:rich(it.a)}):null]},i);})});}// ─── Forms (in-page, posting straight to Klaviyo — replaces the old Klaviyo embed forms) ─────────\nexport const KLAVIYO_SITE=\"SqsWDy\";export const LISTS={pastPaperTracker:\"SeEWh8\",topicTracker:\"Yqea7Y\",emailList:\"T45fix\",freeLesson:\"Y5pXre\"};const fieldStyle={width:\"100%\",fontFamily:FONT,fontSize:16,padding:\"0 16px\",height:54,borderRadius:12,border:`1.5px solid ${C.field}`,background:C.white,color:C.ink};/** Raw channel tags for the Klaviyo normaliser (lead system, 15 Oct 2026): UTM Source / Medium / Campaign from the URL,\n *  Landing Referrer when it is another site. Never Lead Source / Lead Campaign: the normaliser sets those (first wins). */function utmProps(){if(typeof window===\"undefined\")return{};const qs=new URLSearchParams(window.location.search),out={};for(const[k,f]of[[\"utm_source\",\"UTM Source\"],[\"utm_medium\",\"UTM Medium\"],[\"utm_campaign\",\"UTM Campaign\"]])if(qs.get(k))out[f]=qs.get(k).slice(0,100);const ref=document.referrer;if(ref&&!ref.includes(\"mygcsemaths.com\"))out[\"Landing Referrer\"]=ref.slice(0,200);return out;}async function klaviyoSubscribe(list,email,source,properties){const r=await fetch(`https://a.klaviyo.com/client/subscriptions?company_id=${KLAVIYO_SITE}`,{method:\"POST\",headers:{\"Content-Type\":\"application/vnd.api+json\",revision:\"2024-10-15\"},body:JSON.stringify({data:{type:\"subscription\",attributes:{custom_source:source,profile:{data:{type:\"profile\",attributes:{email,properties:{...utmProps(),...properties}}}}},relationships:{list:{data:{type:\"list\",id:list}}}}})});if(!r.ok)throw new Error(String(r.status));}/** Email (and optional first name) → a Klaviyo list, then redirect or show a thank-you. */export function SignupForm({list,source,redirect,button=\"Send It To Me\",withName=false,done=\"Done. Check your inbox.\",layout=\"stack\",properties={}}){const wide=useWide();const[name,setName]=React.useState(\"\");const[email,setEmail]=React.useState(\"\");const[state,setState]=React.useState(\"idle\");const[msg,setMsg]=React.useState(\"\");async function submit(e){e.preventDefault();if(!/^\\S+@\\S+\\.\\S+$/.test(email.trim()))return setMsg(\"Please check your email address.\"),setState(\"error\");if(withName&&!name.trim())return setMsg(\"Please add your name.\"),setState(\"error\");setState(\"sending\");try{const ml=metaLead();await klaviyoSubscribe(list,email.trim(),source,{...withName?{first_name:name.trim()}:{},...properties,\"Website Form\":source,...ml.props});track(\"Lead\",source,ml.id);if(redirect)window.location.href=redirect;else setState(\"done\");}catch{setMsg(\"Something went wrong. Please try again.\");setState(\"error\");}}if(state===\"done\")return /*#__PURE__*/_jsx(\"div\",{style:{...DISPLAY,fontSize:24,textAlign:\"center\"},children:done});const inline=layout===\"inline\"&&wide&&!withName;return /*#__PURE__*/_jsxs(\"form\",{onSubmit:submit,noValidate:true,style:{width:\"100%\",maxWidth:520,margin:\"0 auto\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:inline?\"flex\":\"grid\",gap:10},children:[withName?/*#__PURE__*/_jsx(\"input\",{\"aria-label\":\"First name\",autoComplete:\"given-name\",placeholder:\"First name\",value:name,onChange:e=>setName(e.target.value),style:fieldStyle}):null,/*#__PURE__*/_jsx(\"input\",{type:\"email\",inputMode:\"email\",\"aria-label\":\"Email address\",autoComplete:\"email\",placeholder:\"Enter your email\",value:email,onChange:e=>setEmail(e.target.value),style:{...fieldStyle,flex:1}}),/*#__PURE__*/_jsx(\"button\",{className:\"mgm-btn\",type:\"submit\",disabled:state===\"sending\",style:{height:54,padding:\"0 28px\",borderRadius:100,border:0,background:C.blue,color:C.white,fontFamily:FONT,fontWeight:600,fontSize:18,cursor:\"pointer\",whiteSpace:\"nowrap\",opacity:state===\"sending\"?.6:1},children:state===\"sending\"?\"Sending…\":button})]}),state===\"error\"?/*#__PURE__*/_jsx(\"div\",{role:\"alert\",style:{fontSize:14,color:C.error,marginTop:10,textAlign:\"center\"},children:msg}):null,/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:12,color:C.grey,marginTop:10,textAlign:\"center\"},children:[\"We'll email you about MyGCSEMaths. Unsubscribe any time. \",/*#__PURE__*/_jsx(\"a\",{href:PATHS.privacy,style:{color:C.grey},children:\"Privacy policy\"})]})]});}/** Contact form → a Klaviyo \"Website Contact Message\" event on the sender's profile (a flow can email Matt). */export function ContactForm({source=\"Contact page\"}){const[f,setF]=React.useState({name:\"\",email:\"\",topic:\"General\",message:\"\"});const[state,setState]=React.useState(\"idle\");const[msg,setMsg]=React.useState(\"\");const set=k=>e=>setF({...f,[k]:e.target.value});async function submit(e){e.preventDefault();if(!f.name.trim()||!f.message.trim())return setMsg(\"Please add your name and a message.\"),setState(\"error\");if(!/^\\S+@\\S+\\.\\S+$/.test(f.email.trim()))return setMsg(\"Please check your email address.\"),setState(\"error\");setState(\"sending\");try{const r=await fetch(`https://a.klaviyo.com/client/events?company_id=${KLAVIYO_SITE}`,{method:\"POST\",headers:{\"Content-Type\":\"application/vnd.api+json\",revision:\"2024-10-15\"},body:JSON.stringify({data:{type:\"event\",attributes:{properties:{Topic:f.topic,Message:f.message.trim(),Name:f.name.trim(),Source:source},metric:{data:{type:\"metric\",attributes:{name:\"Website Contact Message\"}}},profile:{data:{type:\"profile\",attributes:{email:f.email.trim(),first_name:f.name.trim()}}}}}})});if(!r.ok)throw new Error(String(r.status));track(\"Contact\",source);setState(\"done\");}catch{setMsg(\"Something went wrong. Please try again, or email matt@mygcsemaths.com.\");setState(\"error\");}}if(state===\"done\")return /*#__PURE__*/_jsxs(\"div\",{style:{...DISPLAY,fontSize:26,textAlign:\"center\"},children:[\"Thanks, \",f.name.split(\" \")[0],\". We'll be in touch soon.\"]});const label=t=>/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,fontWeight:600,margin:\"14px 0 6px\"},children:t});return /*#__PURE__*/_jsxs(\"form\",{onSubmit:submit,noValidate:true,style:{width:\"100%\"},children:[label(\"Name\"),/*#__PURE__*/_jsx(\"input\",{autoComplete:\"name\",placeholder:\"Jane Smith\",value:f.name,onChange:set(\"name\"),style:fieldStyle}),label(\"Email\"),/*#__PURE__*/_jsx(\"input\",{type:\"email\",autoComplete:\"email\",placeholder:\"jane@gmail.com\",value:f.email,onChange:set(\"email\"),style:fieldStyle}),label(\"What's it about?\"),/*#__PURE__*/_jsx(\"select\",{value:f.topic,onChange:set(\"topic\"),style:{...fieldStyle,appearance:\"auto\"},children:[\"General\",\"Support\",\"Partnerships\",\"Press\"].map(t=>/*#__PURE__*/_jsx(\"option\",{children:t},t))}),label(\"Message\"),/*#__PURE__*/_jsx(\"textarea\",{placeholder:\"Hey, I'd love to hear more about...\",value:f.message,onChange:set(\"message\"),rows:6,style:{...fieldStyle,height:\"auto\",padding:16,resize:\"vertical\"}}),state===\"error\"?/*#__PURE__*/_jsx(\"div\",{role:\"alert\",style:{fontSize:14,color:C.error,marginTop:10},children:msg}):null,/*#__PURE__*/_jsx(\"button\",{className:\"mgm-btn\",type:\"submit\",disabled:state===\"sending\",style:{width:\"100%\",height:54,marginTop:18,borderRadius:100,border:0,background:C.blue,color:C.white,fontFamily:FONT,fontWeight:600,fontSize:18,cursor:\"pointer\",opacity:state===\"sending\"?.6:1},children:state===\"sending\"?\"Sending…\":\"Send Message\"})]});}// ─── Legal pages ───────────────────────────────────────────────────────────────────────────────\n/** Title + dated sections of plain text. Body strings support **bold** and blank-line paragraphs. */export function LegalBody({title,updated,sections}){return /*#__PURE__*/_jsx(Wrap,{max:800,children:/*#__PURE__*/_jsxs(Section,{children:[/*#__PURE__*/_jsx(H1,{children:title}),updated?/*#__PURE__*/_jsx(Small,{style:{marginTop:12},children:updated}):null,/*#__PURE__*/_jsx(\"div\",{style:{marginTop:40,display:\"grid\",gap:28},children:sections.map((s,i)=>/*#__PURE__*/_jsxs(\"div\",{children:[s.h?/*#__PURE__*/_jsx(H3,{style:{marginBottom:10},children:s.h}):null,s.body.split(/\\n\\s*\\n/).map((para,j)=>/*#__PURE__*/_jsx(P,{size:16,style:{marginTop:j?12:0,whiteSpace:\"pre-line\"},children:rich(para)},j))]},i))})]})});}/** Structured data for search engines (schema.org JSON-LD). Rendered into the served HTML. */export function SchemaOrg({data}){return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(data)}});}export const ORG_SCHEMA={\"@context\":\"https://schema.org\",\"@type\":\"EducationalOrganization\",name:\"MyGCSEMaths\",url:\"https://www.mygcsemaths.com/\",logo:\"https://framerusercontent.com/images/XG8VpbPVsrvl7CwV1ruo0M1TnY.png\",description:\"Live GCSE Maths group tutoring with Matt: three classes a week, every class recorded, 400+ topic videos and parent support.\",founder:{\"@type\":\"Person\",name:\"Matthew Eberle\",alumniOf:{\"@type\":\"CollegeOrUniversity\",name:\"London School of Economics and Political Science\",url:\"https://www.lse.ac.uk/\"}},sameAs:[\"https://www.youtube.com/@mygcsemaths\",\"https://www.instagram.com/mygcsemaths/\",\"https://www.facebook.com/mygcsemath\"]};\nexport const __FramerMetadata__ = {\"exports\":{\"Kicker\":{\"type\":\"reactComponent\",\"name\":\"Kicker\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"FONT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"H3\":{\"type\":\"reactComponent\",\"name\":\"H3\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"metaLead\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"H2\":{\"type\":\"reactComponent\",\"name\":\"H2\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Footer\":{\"type\":\"reactComponent\",\"name\":\"Footer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"rich\":{\"type\":\"reactComponent\",\"name\":\"rich\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Wrap\":{\"type\":\"reactComponent\",\"name\":\"Wrap\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Nav\":{\"type\":\"reactComponent\",\"name\":\"Nav\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"DISPLAY\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SignupForm\":{\"type\":\"reactComponent\",\"name\":\"SignupForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"WashCard\":{\"type\":\"reactComponent\",\"name\":\"WashCard\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Small\":{\"type\":\"reactComponent\",\"name\":\"Small\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"LISTS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"KLAVIYO_SITE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GhostButton\":{\"type\":\"reactComponent\",\"name\":\"GhostButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Review\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"P\":{\"type\":\"reactComponent\",\"name\":\"P\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"YouTube\":{\"type\":\"reactComponent\",\"name\":\"YouTube\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SchemaOrg\":{\"type\":\"reactComponent\",\"name\":\"SchemaOrg\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Scope\":{\"type\":\"reactComponent\",\"name\":\"Scope\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"A\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useWide\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Card\":{\"type\":\"reactComponent\",\"name\":\"Card\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"H1\":{\"type\":\"reactComponent\",\"name\":\"H1\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"LegalBody\":{\"type\":\"reactComponent\",\"name\":\"LegalBody\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"ORG_SCHEMA\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PATHS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LoginPill\":{\"type\":\"reactComponent\",\"name\":\"LoginPill\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"TABLET_MIN\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SKOOL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ContactForm\":{\"type\":\"reactComponent\",\"name\":\"ContactForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Centre\":{\"type\":\"reactComponent\",\"name\":\"Centre\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"LIVE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useWidth\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Stars\":{\"type\":\"reactComponent\",\"name\":\"Stars\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"ReviewCard\":{\"type\":\"reactComponent\",\"name\":\"ReviewCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Button\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Section\":{\"type\":\"reactComponent\",\"name\":\"Section\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Stats\":{\"type\":\"reactComponent\",\"name\":\"Stats\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"DESIGN_W\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FAQ\":{\"type\":\"reactComponent\",\"name\":\"FAQ\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Page\":{\"type\":\"reactComponent\",\"name\":\"Page\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"C\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SKOOL_LOGIN\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ReviewRow\":{\"type\":\"reactComponent\",\"name\":\"ReviewRow\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SHADOW\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MGMKit.map","// CurrentEvent — GENERATED by scripts/12-set-event.mjs from fl3.json (2026-12-01T14:18Z). Do not edit by hand:\n// re-run the script with the new event file. The one place the site's \"current lesson\" lives (his design, 21 Oct 2026:\n// every free lesson gets a new WhatsApp group; mygcsemaths.com/link/join-next-lesson-whatsapp-group always forwards to the current one).\nexport const EVENT={name:\"Free Lesson 3 \\xb7 Mon 4 Jan 2027\",startUtc:\"2027-01-04T19:00:00Z\",dateLabel:\"Monday 4th January\",whatsappGroup:\"https://chat.whatsapp.com/Hq09Bq3RkTO2GDpz4ONmei\",utmCampaign:\"free-lesson-3\",klaviyoList:\"\",offerEndUtc:\"2027-01-06T19:00:00Z\",replayUntilUtc:\"\",offerLabel:\"Wednesday 6th January, 7pm\",offerShort:\"Wednesday, 7pm\"};\nexport const __FramerMetadata__ = {\"exports\":{\"EVENT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CurrentEvent.map","// LeadCapture — one place for every lead form on the site: the lead magnet registry, the Klaviyo subscribe call with the\n// standard lead fields, and the hand-off to the bridge page. Used by LeadMagnet.tsx (the magnet pages), FunnelForm.tsx\n// (the tracker forms) and TrackerThanksV2.tsx (the bridge page's one-tap waitlist).\n// Lead fields as on /free-lesson-signup (Free lessons engine, file 09): first_name · Role · Year Group At Signup · Exam Year ·\n// Tier · Mobile + WhatsApp OK (only when given) · raw UTM tags + Landing Referrer · Website Form · Meta CAPI keys.\n// Never Lead Source / Lead Campaign: the Klaviyo normaliser sets those from the list + UTM tags (first wins).\n// Built by Claude, CENTRE: WEB DESIGN, 21 Oct 2026 (lead magnet build, spec: AXIO › PROJECTS › Lead magnets › 06).\nimport{KLAVIYO_SITE,metaLead}from\"https://framerusercontent.com/modules/w72bJ3SyqTKjWjTdHnhv/d7tU7iW1gJSdYZYqFcCU/MGMKit.js\";import{EVENT}from\"https://framerusercontent.com/modules/qu88FOEFN5hHs8hX8abo/p2GaSkKuc2bHU6FCforc/CurrentEvent.js\";/** The five magnets. list = the Klaviyo list id (\"\" until the Klaviyo worker creates it: the form then says so instead of\n *  posting). name = what the bridge page says is on its way. bridge = the one line under the bridge headline. */export const MAGNETS={\"parents-guide\":{name:\"Parents' Guide\",list:\"SaXmxM\",listName:\"Lead Magnet \\xb7 Parents' Guide\",path:\"/other-resources/parents-guide\",source:\"Parents' Guide page\",role:\"Parent\",bridge:\"The guide shows you what to look for. A live class shows you your child's two weakest topics being taught, three times a week.\"},\"how-to-revise\":{name:\"revision guide\",list:\"WKXsKP\",listName:\"Lead Magnet \\xb7 How to Revise\",path:\"/other-resources/how-to-revise\",source:\"How to Revise page\",role:\"Student\",bridge:\"Use the method on your two weakest topics, then bring them to class. Matt teaches them live, three times a week.\"},// NEW 22 Oct 2026 (his words: \"we haven't made / added the student guide to the site yet\"). STAGING ONLY until he approves the v1\n// printable and CENTRE: TESTING passes it: MAGNETS_LIVE-gated (not ALWAYS_LIVE), and the page is wrapped in <StagingOnly\n// feature=\"studentsGuide\"> (FunnelBlocks.STAGING_ONLY). List SPEVVV from ENGINE: LEAD MAGS; delivery flow TfZHKB (draft).\n\"students-guide\":{name:\"Students' Guide\",list:\"SPEVVV\",listName:\"Lead Magnet \\xb7 Students' Guide\",path:\"/other-resources/students-guide\",source:\"Students' Guide page\",role:\"Student\",bridge:\"Use the guide on your two weakest topics, then bring them to class. Matt teaches them live, three times a week.\"},\"rag-sheet\":{name:\"RAG Sheet\",list:\"SZRb45\",listName:\"Lead Magnet \\xb7 RAG Sheet\",path:\"/rag-sheet-retired\"/* retired: a Framer redirect to the topic tracker since 23 Oct, so this never matches */,source:\"RAG Sheet page\",role:\"Student\",bridge:\"Rate your topics, then bring your reds to class. Matt teaches them live, three times a week.\"},\"past-paper-tracker\":{name:\"tracker\",list:\"SeEWh8\",listName:\"Lead Magnet \\xb7 Past Paper Tracker\",path:\"/other-resources/past-paper-tracker\",source:\"Past Paper Tracker page\",role:\"Student\",bridge:\"Log a past paper in your tracker, then bring your two weakest topics to class. Matt teaches them live, three times a week.\"},\"topic-tracker\":{name:\"tracker\",list:\"Yqea7Y\",listName:\"Lead Magnet \\xb7 Single Topic Tracker\",path:\"/other-resources/topic-tracker\"/* renamed (his ask, 21 Oct evening); the Klaviyo list keeps its name */,source:\"Topic Tracker page\",role:\"Student\",bridge:\"Mark your topics red, amber or green, then bring your reds to class. Matt teaches them live, three times a week.\"},\"formula-sheet\":{name:\"Formulas to Remember\",list:\"VYJmmm\",listName:\"Lead Magnet \\xb7 Formula Sheet\",path:\"/other-resources/formulas-to-remember\",source:\"Formulas to Remember page\",role:\"Student\",bridge:\"Learn the formulas, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-boundaries-sheet\":{name:\"Grade Boundaries\",list:\"Xf8GyZ\",listName:\"Lead Magnet \\xb7 Grade Boundaries\",path:\"/other-resources/grade-boundaries-sheet\",source:\"Grade Boundaries page\",role:\"Student\",bridge:\"Find the marks you need, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},// The Ultimate Question Packs, TWO magnets, one page and one download each (his ruling, 21 Oct evening: \"we want one pack for the\n// Foundation, and we want one pack for the Higher, which are downloaded separately\"). Supersedes the single Tier-chip page.\n// tier = sent with the sign-up, and the form's Tier chip is hidden. lists from WORKER: 5 (SEYB9E reused for Foundation; UzpJA2 Higher).\n\"question-pack-foundation\":{name:\"Ultimate Foundation Tier Workbook\",list:\"SEYB9E\",listName:\"Lead Magnet \\xb7 Ultimate Question Pack \\xb7 Foundation\",path:\"/other-resources/workbooks/foundation\",source:\"Ultimate Foundation Tier Workbook page\",role:\"Student\",tier:\"Foundation\",bridge:\"Work through the pack, then bring your reds to class. Matt teaches them live, three times a week.\"},\"question-pack-higher\":{name:\"Ultimate Higher Tier Workbook\",list:\"UzpJA2\",listName:\"Lead Magnet \\xb7 Ultimate Question Pack \\xb7 Higher\",path:\"/other-resources/workbooks/higher\",source:\"Ultimate Higher Tier Workbook page\",role:\"Student\",tier:\"Higher\",bridge:\"Work through the pack, then bring your reds to class. Matt teaches them live, three times a week.\"},// The 9 Ultimate Grade workbooks (23 Oct 2026): one Klaviyo list, the grade sent as \"Workbook Grade\" so one email links the right file\n\"grade-workbook-1\":{name:\"Ultimate Grade 1 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-1\",source:\"Ultimate Grade 1 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":1},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-2\":{name:\"Ultimate Grade 2 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-2\",source:\"Ultimate Grade 2 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":2},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-3\":{name:\"Ultimate Grade 3 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-3\",source:\"Ultimate Grade 3 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":3},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-4\":{name:\"Ultimate Grade 4 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-4\",source:\"Ultimate Grade 4 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":4},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-5\":{name:\"Ultimate Grade 5 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-5\",source:\"Ultimate Grade 5 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":5},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-6\":{name:\"Ultimate Grade 6 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-6\",source:\"Ultimate Grade 6 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":6},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-7\":{name:\"Ultimate Grade 7 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-7\",source:\"Ultimate Grade 7 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":7},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-8\":{name:\"Ultimate Grade 8 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-8\",source:\"Ultimate Grade 8 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":8},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-9\":{name:\"Ultimate Grade 9 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-9\",source:\"Ultimate Grade 9 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":9},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"}};/** 🔒 The three new magnet pages stay OFF until Matt has reviewed them (his rule for the build, relayed 21 Oct 2026).\n *  false → their forms say \"isn't switched on yet\" and post nothing, and the pages add a robots noindex tag.\n *  Go-live = set true and run scripts/11-lead-magnets.mjs --apply (the list ids above stay wired). Trackers are not affected. */export const MAGNETS_LIVE=true// 10 Nov 2026 ~01:07 UTC, his words: \"switch the forms and emails on now\". Before: 25 Oct 2026: OFF for the live launch of Other Resources as \"Coming soon\" (his words: \"have them all as coming soon until they are approved in the leads mags chat\"). Set true when approved. Was true: his words, 23 Oct late: \"all the lead magnets are approved for now\". The live site still hides them (STAGING_ONLY.otherResources) until go-live\n;/** The trackers were live before the switch: their forms never go off. */export const ALWAYS_LIVE=[\"past-paper-tracker\",\"topic-tracker\"];/** Held back even when MAGNETS_LIVE goes true: the Question Packs wait for ENGINE: WORKSHEETS' question bank (his words, 21 Oct). */export const HELD=[\"question-pack-foundation\",\"question-pack-higher\",\"grade-workbook-1\",\"grade-workbook-2\",\"grade-workbook-3\",\"grade-workbook-4\",\"grade-workbook-5\",\"grade-workbook-6\",\"grade-workbook-7\",\"grade-workbook-8\",\"grade-workbook-9\"]// 9 Nov 2026, his words: the workbooks are no longer lead magnets (worksheets project); their forms stay off even when MAGNETS_LIVE is true. Was [] (23 Oct late)\n;/** The next free lesson, for the bridge page (and the site banner, NEXT R11). date \"\" = between lessons: offer the waitlist. */// date = the next lesson (his word, 21 Oct 2026: Free Lesson #2 is Monday 2nd November). open = its sign-up page is live:\n// false → the bridge page and banner offer \"tell me when sign-up opens\" (the waitlist); true → they link to href.\nexport const NEXT_LESSON={date:EVENT.dateLabel,open:false,href:\"/webinar/free-lesson/signup\"}// date from CurrentEvent.tsx (scripts/12-set-event.mjs)\n;export const WAITLIST_LIST=\"RN7GNN\"// Free Lesson · Waitlist (single opt-in, no flows)\n;/** Where a free-lesson sign-up goes (his ruling, 21 Oct: sign-up is always open, one Klaviyo list per lesson, set in the event\n *  file). The current event's list while that lesson is still ahead; otherwise (no list yet, or the lesson has passed) the\n *  waitlist, so nobody is ever added to a past lesson's list and sent its emails. */export function lessonList(now=Date.now()){const start=Date.parse(EVENT.startUtc||\"\");return EVENT.klaviyoList&&isFinite(start)&&now<start?EVENT.klaviyoList:WAITLIST_LIST;}export const BRIDGE=\"/webinar/free-lesson/signup-from-resource\"// after ANY lead magnet form: the banner, Matt's video and the free lesson sign-up on one page (his architecture, 23 Oct late). The old /other-resources/thank-you-free-lesson-invite forwards here.\n;/** Raw channel tags: UTM Source / Medium / Campaign from the URL, Landing Referrer when it is another site. */export function leadUtm(){if(typeof window===\"undefined\")return{};const qs=new URLSearchParams(window.location.search),out={};for(const[k,f]of[[\"utm_source\",\"UTM Source\"],[\"utm_medium\",\"UTM Medium\"],[\"utm_campaign\",\"UTM Campaign\"]])if(qs.get(k))out[f]=qs.get(k).slice(0,100);// Short-link style tags straight on a page (ManyChat links like /question-pack-higher?s=ig&m=dm, 21 Oct): same mapping as ShortLink.tsx,\n// campaign = the magnet's Klaviyo list name. Real utm_ params always win.\nconst s=(qs.get(\"s\")||\"\").toLowerCase().replace(/[^a-z0-9-]/g,\"\").slice(0,30);if(s&&!out[\"UTM Source\"]){const codes={ig:\"instagram\",fb:\"facebook\",tt:\"tiktok\",yt:\"youtube\",wa:\"whatsapp\",em:\"email\"};out[\"UTM Source\"]=codes[s]||s;out[\"UTM Medium\"]||=(qs.get(\"m\")||\"link\").replace(/[^a-z0-9 -]/gi,\"\").slice(0,30);const mg=Object.values(MAGNETS).find(x=>x.path===window.location.pathname.replace(/\\/$/,\"\"));if(mg&&!out[\"UTM Campaign\"])out[\"UTM Campaign\"]=mg.listName;}const ref=document.referrer;if(ref&&!ref.includes(\"mygcsemaths.com\"))out[\"Landing Referrer\"]=ref.slice(0,200);return out;}/** Exam Year: the academic year turns on 1 Sep; Year N in academic year AY sits its exam in June AY+1+(11−N). */export function examYear(year){const now=new Date,ay=now.getMonth()>=8?now.getFullYear():now.getFullYear()-1;return year===\"Resit\"?\"Resit\":/^Year \\d+$/.test(year)?String(ay+1+(11-Number(year.slice(5)))):\"\";}/** Subscribe to a list with the standard lead fields, then fire Meta Lead + GA4 generate_lead. Throws on failure. *//** Which funnel version this device is in for the video vs picture A/B test (FunnelBlocks.useFunnelSplit, same key \"mgm_fv\"), written on every sign-up as \"Funnel Version\"\n *  so the home page, blog and lead magnet forms are counted too. A visitor with no version yet is given one now (50/50), so the WhatsApp page they are sent to keeps it. */function funnelTag(){try{let v=localStorage.getItem(\"mgm_fv\");if(v!==\"video\"&&v!==\"picture\"){v=Math.random()<.5?\"video\":\"picture\";localStorage.setItem(\"mgm_fv\",v);}return{\"Funnel Version\":v===\"video\"?\"video\":\"no video\"};}catch{return{};}}export async function subscribeLead(list,a,source,extra={}){const ml=metaLead();const props={...funnelTag(),...leadUtm(),...extra,...a.role?{\"Role\":a.role}:{},...a.year?{\"Year Group At Signup\":a.year,\"Exam Year\":examYear(a.year)}:{},...a.tier?{\"Tier\":a.tier}:{},...a.phone?.trim()?{\"Mobile\":a.phone.trim(),\"WhatsApp OK\":!!a.whatsappOk}:{},\"Website Form\":source,...ml.props};const r=await fetch(`https://a.klaviyo.com/client/subscriptions?company_id=${KLAVIYO_SITE}`,{method:\"POST\",headers:{\"Content-Type\":\"application/vnd.api+json\",revision:\"2024-10-15\"},body:JSON.stringify({data:{type:\"subscription\",attributes:{custom_source:source,profile:{data:{type:\"profile\",attributes:{email:a.email.trim(),...a.firstName?.trim()?{first_name:a.firstName.trim()}:{},properties:props}}}},relationships:{list:{data:{type:\"list\",id:list}}}}})});if(!r.ok)throw new Error(String(r.status));const w=window;// eventID = the one on the profile, so the lead-intake Worker's server copy de-duplicates against it (17 Oct 2026).\nif(typeof w.fbq===\"function\")w.fbq(\"track\",\"Lead\",{content_name:source},{eventID:ml.id});if(typeof w.gtag===\"function\")w.gtag(\"event\",\"generate_lead\",{source});}// The email travels to the bridge page in sessionStorage (same site, this tab only), never in the URL.\nconst KEY=\"mgm_lead_email\";export function rememberEmail(email){try{sessionStorage.setItem(KEY,email.trim());}catch{}}export function recallEmail(){try{return sessionStorage.getItem(KEY)||\"\";}catch{return\"\";}}/** Everything they typed on the magnet form (email, role, year, tier, mobile), kept in sessionStorage so the free lesson sign-up that follows can be ONE tap\n *  (his ask, 24 Oct 2026: \"they have just entered their details to get the other resource\"). Same site, this tab only, never in the URL. */const LEAD_KEY=\"mgm_lead_answers\";export function rememberLead(a){rememberEmail(a.email);try{sessionStorage.setItem(LEAD_KEY,JSON.stringify(a));}catch{}}export function recallLead(){try{const j=JSON.parse(sessionStorage.getItem(LEAD_KEY)||\"null\");return j&&j.email?j:null;}catch{return null;}}/** After a magnet sign-up: remember the email, go to the bridge page, which names the magnet and offers the next step. */export function toBridge(slug,email){rememberEmail(email);// 13 Nov 2026 (his word, \"switch now\"): after a free resource form people go to the Group Tutoring offer page, not the free lesson sign-up (BRIDGE, his 23 Oct set-up, kept above so it can be switched back)\nlet phone=false;try{phone=window.innerWidth<810;}catch{}window.location.href=offerHref(slug,phone?\"after-download-phone\":\"after-download-laptop\");}// ── The magnet pages' words (moved here from LeadMagnet.tsx, 21 Oct, so the free gift page shares them) ──\n// Bullets are the guides' own chapter headings (asset copy v1, 21 Oct): nothing promised that is not inside.\nexport const MAGNET_COPY={\"parents-guide\":{heroDesk:\"https://framerusercontent.com/images/cYfHIKIzIoELH6GyNznnDLOcyc.png\",heroPhone:\"https://framerusercontent.com/images/7XyShcwtbxJ3fqzLmDnyNVY9fo.png\",badge:\"FREE DOWNLOAD\",lines:[\"The Parents'\",\"Guide to\",\"GCSE Maths\"],sub:\"What the grades mean, what your child should be doing each term, and how to help without being a maths teacher.\",items:[\"How GCSE Maths works: the papers and the two tiers\",\"What a 4, a 5 and a 7 really mean\",\"How to tell if your child is on track\",\"How to help at home, and what to ask the school\"],formTitle:\"Get the free guide\",button:\"Send me the guide\",cover:\"https://framerusercontent.com/images/Tf5qGDQtENgMh9KEwuwpdPPYKs.png\",coverAlt:\"The Parents' Guide to GCSE Maths\"},\"how-to-revise\":{heroDesk:\"https://framerusercontent.com/images/nGl4A8NAXSizXOii3rTjIW96bG4.png\",heroPhone:\"https://framerusercontent.com/images/VuKONJTtVMSs69pNRiHmQyOPUII.png\",badge:\"FREE DOWNLOAD\",lines:[\"How to Revise\",\"GCSE Maths\"],sub:\"The method that works: active recall, spaced practice and past papers done properly.\",items:[\"Why rereading your notes doesn't work\",\"Active recall and spaced practice, step by step\",\"Past papers, done properly\",\"A sample revision week for Year 11\"],formTitle:\"Get the free guide\",button:\"Send me the guide\",cover:\"https://framerusercontent.com/images/2kW7FVljZpQm2wpDs1GxliQmE.png\",coverAlt:\"How to Revise GCSE Maths\"},// Copy: build/students-guide/page/[2026-10-22] page copy.md (ENGINE: LEAD MAGS, draft, not yet seen by Matt). Heroes: style A\n// (make_mockups_A.py geometry, v1 pages 1 + 3 + 2), CENTRE: WEBSITE 22 Oct; cover = v1 page 1, 1588×2246.\n\"students-guide\":{heroDesk:\"https://framerusercontent.com/images/oEtECWLFwX8kJE102oSSSZS2HaU.png\",heroPhone:\"https://framerusercontent.com/images/7jWdIB90h9WxNf8fzzeFJIXUiY.png\",badge:\"FREE DOWNLOAD\",lines:[\"The Students'\",\"Guide to\",\"GCSE Maths\"],sub:\"How the exam works, how to revise for it, and how to get the grade you want.\",items:[\"How the exam works\",\"Revision techniques that work\",\"The Mastery System: single-topic, mixed-topic and past-paper training\",\"The week before and the day of the exam\"],formTitle:\"Get the free guide\",button:\"Send me the guide\",cover:\"https://framerusercontent.com/images/Zk7d4fJX5WUPH8QKTJuSXghaGdg.png\",coverAlt:\"The Students' Guide to GCSE Maths\"},\"rag-sheet\":{heroDesk:\"https://framerusercontent.com/images/2X2mxVLaitJR99txBzOkDJbPgzo.png\",heroPhone:\"https://framerusercontent.com/images/RuZ3m9chmGr2d5YRUQ45caOk9iU.png\",badge:\"FREE DOWNLOAD\",lines:[\"The GCSE Maths\",\"RAG Sheet\"],sub:\"Every topic on one sheet. Rate each one Red, Amber or Green, stick it on the wall and turn the reds green.\",items:[\"Every GCSE Maths topic in one place\",\"Foundation and Higher versions\",\"See at a glance what to revise next\",\"Parents: see exactly where your child is\"],formTitle:\"Get the free RAG Sheet\",button:\"Send me the sheet\",cover:\"https://framerusercontent.com/images/oBHDBdFn046R3Av3syqtW2WtNEE.png\",ratio:1.25,coverAlt:\"The GCSE Maths RAG Sheet\"},// The two trackers on the same pattern (his ask, 21 Oct: \"all five, using the standard lead mag pattern\"). Bullets are\n// the old tracker pages' own four steps; covers are their laptop pictures (landscape, so flat, not tilted).\n\"past-paper-tracker\":{heroDesk:\"https://framerusercontent.com/images/K5hAWFZidnySF1CTX9mpJKKR04.png\",heroPhone:\"https://framerusercontent.com/images/3Te7ZdG6MPzNLIdajZLzUGHOAI.png\",badge:\"FREE DOWNLOAD\",lines:[\"The Past Paper\",\"Tracker\"],sub:\"A printable tracker: log every paper, work out your grade from the boundaries and spot the topics costing you marks. Edexcel and AQA, Higher and Foundation.\",items:[\"Sit each paper properly, under timed conditions\",\"Work out your grade from the grade boundaries\",\"Find your two weakest topics from every paper\",\"Watch your grade climb, paper by paper\"],formTitle:\"Get the free tracker\",button:\"Send me the tracker\",cover:\"https://framerusercontent.com/images/b65QZhujE5JuMtPlGlnXPRobO9A.png?scale-down-to=1024\",coverAlt:\"The Past Paper Tracker open on a laptop\",ratio:.676,flat:true},\"topic-tracker\":{heroDesk:\"https://framerusercontent.com/images/K5xWaAlzFOM9KFfsMfs1xkeAQks.png\",heroPhone:\"https://framerusercontent.com/images/h34eRBp0gdUOMUCkoG4c8TR8Q.png\",badge:\"FREE DOWNLOAD\",lines:[\"The Topic\",\"Tracker\"],sub:\"Every GCSE Maths topic on one printable tracker, grade 1 to 9: 300 for Foundation, 400 for Higher. Tick off each topic as you learn, practise and master it.\",items:[\"Every topic, organised by grade or by section\",\"Learnt, Practised and Mastered boxes for every topic\",\"A colour-in progress bar for each grade\",\"A how-to page so you know where to start\"],formTitle:\"Get the free tracker\",button:\"Send me the tracker\",cover:\"https://framerusercontent.com/images/OKI04V8O1FyuI3dIF5UjriiJ2U.png?scale-down-to=1024\",coverAlt:\"The Topic Tracker open on a laptop\",ratio:.676,flat:true},// NEW (his ruling, 21 Oct, via ENGINE: LEAD MAGS): replaces the Topic Tracker.\n\"formula-sheet\":{badge:\"FREE DOWNLOAD\",lines:[\"GCSE Maths\",\"Formulas to Remember\"],sub:\"The formulas you need to know for GCSE Maths: 14 for Foundation, 20 for Higher. The ones on the exam formula sheet are marked.\",items:[\"Every formula you need to know, on a few clear pages\",\"Checked against the official formulae sheet and every board's spec\",\"Foundation and Higher versions, Higher-only formulae marked\"],formTitle:\"Get the Formulas to Remember\",button:\"Send me the formulas\",cover:\"\",coverAlt:\"GCSE Maths Formulas to Remember\",heroDesk:\"https://framerusercontent.com/images/DGDyYyycaJHWsUgUF8r8nV7fBs0.png\",heroPhone:\"https://framerusercontent.com/images/38oBsdLEfco1HLK4qYeyhxfM.png\"},// NEW (his ask, 21 Oct): every grade boundary in one printable document (ENGINE: LEAD MAGS). Copy from the site's own boundary pages.\n\"grade-boundaries-sheet\":{badge:\"FREE DOWNLOAD\",lines:[\"GCSE Maths\",\"Grade Boundaries\"],sub:\"Every GCSE Maths grade boundary in one printable document, so you can see the marks you need for your target grade on every paper.\",items:[\"Every series from June 2017\",\"Higher and Foundation, every grade\",\"The marks you need on each paper\",\"Print it and track your target grade\"],formTitle:\"Get the free Grade Boundaries\",button:\"Send me the boundaries\",cover:\"\",coverAlt:\"GCSE Maths Grade Boundaries\",heroDesk:\"https://framerusercontent.com/images/dJpmpLzd3XaSDAMSPUKB3mKjs.png\",heroPhone:\"https://framerusercontent.com/images/heQIwRjq4ulRnUElw1z0UeFo.png\"},\"question-pack-foundation\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Foundation Tier\",\"Workbook\"],sub:\"One exam-style question for every Foundation subtopic (Grades 1 to 5), with full worked solutions at the back. 300 questions, 130 pages.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Foundation Tier workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/foundation-tier.webp\",coverAlt:\"The Ultimate Foundation Tier GCSE Maths Workbook\"},\"question-pack-higher\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Higher Tier\",\"Workbook\"],sub:\"One exam-style question for every Higher subtopic (Grades 1 to 9), with full worked solutions at the back. 400 questions, 174 pages.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Higher Tier workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/higher-tier.webp\",coverAlt:\"The Ultimate Higher Tier GCSE Maths Workbook\"},\"grade-workbook-1\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 1\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 1 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 1 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-1.webp\",coverAlt:\"The Ultimate Grade 1 GCSE Maths Workbook\"},\"grade-workbook-2\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 2\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 2 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 2 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-2.webp\",coverAlt:\"The Ultimate Grade 2 GCSE Maths Workbook\"},\"grade-workbook-3\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 3\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 3 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 3 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-3.webp\",coverAlt:\"The Ultimate Grade 3 GCSE Maths Workbook\"},\"grade-workbook-4\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 4\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 4 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 4 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-4.webp\",coverAlt:\"The Ultimate Grade 4 GCSE Maths Workbook\"},\"grade-workbook-5\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 5\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 5 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 5 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-5.webp\",coverAlt:\"The Ultimate Grade 5 GCSE Maths Workbook\"},\"grade-workbook-6\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 6\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 6 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 6 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-6.webp\",coverAlt:\"The Ultimate Grade 6 GCSE Maths Workbook\"},\"grade-workbook-7\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 7\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 7 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 7 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-7.webp\",coverAlt:\"The Ultimate Grade 7 GCSE Maths Workbook\"},\"grade-workbook-8\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 8\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 8 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 8 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-8.webp\",coverAlt:\"The Ultimate Grade 8 GCSE Maths Workbook\"},\"grade-workbook-9\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 9\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 9 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 9 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-9.webp\",coverAlt:\"The Ultimate Grade 9 GCSE Maths Workbook\"}};// ── After a free-lesson sign-up (his ask, 21 Oct 2026) ──\n// Phones → join the free lesson WhatsApp group. Laptops and tablets (most have no WhatsApp) → the free gift page:\n// the Parents' Guide for parents, How to Revise GCSE Maths (the student guide) for students.\nexport const WHATSAPP_GROUP=EVENT.whatsappGroup// the CURRENT lesson's group, from CurrentEvent.tsx. Buttons never link it directly:\n;/** mygcsemaths.com/link/join-next-lesson-whatsapp-group always forwards to the current lesson's WhatsApp group (his design, 21 Oct 2026). Every button,\n *  post, email and bio uses it. ?lm=<magnet> &s=<source> &m=<medium> say where the click came from: the redirect records them\n *  (GA4 + Meta + Clarity events) before forwarding, because WhatsApp drops anything on its own link. */export const NEXT_LESSON_LINK=\"/link/join-next-lesson-whatsapp-group\"// path his choice, 21 Oct\n;export const nextLessonHref=(m,lm=\"\",s=\"website\")=>`${NEXT_LESSON_LINK}?${lm?`lm=${encodeURIComponent(lm)}&`:\"\"}s=${encodeURIComponent(s)}&m=${encodeURIComponent(m)}`;/** The magnets' instant downloads, shown on the thank-you step (his decision, 21 Oct). href \"\" = hosting not decided yet:\n *  the button shows but says the link is coming. RAG has two files; the trackers are xlsx. */export const DOWNLOADS={// Every file is on Cloudflare behind its /link/download-… page (scripts/16-file-links.mjs, 23 Oct 2026); new versions replace the file in place.\n\"parents-guide\":[{label:\"Download the guide (PDF)\",href:\"/link/download-parents-guide\"}],\"how-to-revise\":[{label:\"Download the guide (PDF)\",href:\"/link/download-how-to-revise\"}],\"students-guide\":[{label:\"Download the guide (PDF)\",href:\"/link/download-students-guide\"}],\"rag-sheet\":[],\"past-paper-tracker\":[{label:\"Foundation tracker (PDF)\",href:\"/link/download-past-paper-tracker-foundation\"},{label:\"Higher tracker (PDF)\",href:\"/link/download-past-paper-tracker-higher\"}],\"formula-sheet\":[{label:\"Formulas to Remember: Foundation (PDF)\",href:\"/link/download-formulas-to-remember-foundation\"},{label:\"Formulas to Remember: Higher (PDF)\",href:\"/link/download-formulas-to-remember-higher\"}],\"grade-boundaries-sheet\":[{label:\"Grade Boundaries (PDF)\",href:\"/link/download-grade-boundaries-sheet\"}],\"question-pack-foundation\":[{label:\"Foundation Tier workbook (PDF)\",href:\"/link/download-ultimate-foundation-tier-workbook\"}],\"question-pack-higher\":[{label:\"Higher Tier workbook (PDF)\",href:\"/link/download-ultimate-higher-tier-workbook\"}],\"topic-tracker\":[{label:\"Foundation tracker (PDF)\",href:\"/link/download-topic-tracker-foundation\"},{label:\"Higher tracker (PDF)\",href:\"/link/download-topic-tracker-higher\"}],\"grade-workbook-1\":[{label:\"Grade 1 workbook (PDF)\",href:\"/link/download-ultimate-grade-1-workbook\"}],\"grade-workbook-2\":[{label:\"Grade 2 workbook (PDF)\",href:\"/link/download-ultimate-grade-2-workbook\"}],\"grade-workbook-3\":[{label:\"Grade 3 workbook (PDF)\",href:\"/link/download-ultimate-grade-3-workbook\"}],\"grade-workbook-4\":[{label:\"Grade 4 workbook (PDF)\",href:\"/link/download-ultimate-grade-4-workbook\"}],\"grade-workbook-5\":[{label:\"Grade 5 workbook (PDF)\",href:\"/link/download-ultimate-grade-5-workbook\"}],\"grade-workbook-6\":[{label:\"Grade 6 workbook (PDF)\",href:\"/link/download-ultimate-grade-6-workbook\"}],\"grade-workbook-7\":[{label:\"Grade 7 workbook (PDF)\",href:\"/link/download-ultimate-grade-7-workbook\"}],\"grade-workbook-8\":[{label:\"Grade 8 workbook (PDF)\",href:\"/link/download-ultimate-grade-8-workbook\"}],\"grade-workbook-9\":[{label:\"Grade 9 workbook (PDF)\",href:\"/link/download-ultimate-grade-9-workbook\"}]};/** Bonuses on /resource-offer: OFF (his ruling, 21 Oct ~21:35 UTC, via ENGINE: FREE LESSONS: \"They should only get the money-back\n *  guarantee, etc., and they should get the invite to the next live stream\"). Supersedes the ON relayed by BHC the same evening.\n *  Full price (£59 + free week) + the 30-day guarantee + the next free lesson sign-up on the page. true → the two bonuses. */export const RESOURCE_OFFER_BONUSES=false;export const RESOURCE_OFFER=\"/group-tutoring/lead-mag-special-offer\"// the Group Tutoring page, resource-offer variant (his ask, 21 Oct)\n;/** Laptop/iPad button after a magnet: the resource offer, UTM-tagged per magnet + device so phone vs laptop can be compared. */export const offerHref=(lm,medium=\"thank-you-laptop\")=>`${RESOURCE_OFFER}?lm=${encodeURIComponent(lm)}&utm_source=website&utm_medium=${encodeURIComponent(medium)}&utm_campaign=${encodeURIComponent(\"lead-magnet-\"+lm)}`;/** The WhatsApp step for DIRECT sign-ups, and the one after a lead magnet. One page each, phone and desktop layouts inside (his ruling, 23 Oct 2026 late; was /whatsapp-group-desktop + /whatsapp-group-mobile + the gift page). */export const JOIN_WHATSAPP=\"/webinar/free-lesson/join-whatsapp-group\";export const JOIN_WHATSAPP_AFTER=\"/webinar/free-lesson/join-whatsapp-group-from-resource\";/** True on the two \"after other resource\" pages (read from the address, so one component serves both routes). */export const afterDownload=()=>typeof window!==\"undefined\"&&window.location.pathname.includes(\"after-other-resource\");/** What each resource is called in \"Success! Your … is on its way\". */export const RESOURCE_NAME={\"parents-guide\":\"Parents' Guide\",\"how-to-revise\":\"revision guide\",\"students-guide\":\"Students' Guide\",\"rag-sheet\":\"RAG Sheet\",\"past-paper-tracker\":\"Past Paper Tracker\",\"topic-tracker\":\"Topic Tracker\",\"formula-sheet\":\"Formulas to Remember sheet\",\"grade-boundaries-sheet\":\"Grade Boundaries sheet\",\"question-pack-foundation\":\"Foundation Tier workbook\",\"question-pack-higher\":\"Higher Tier workbook\",\"grade-workbook-1\":\"Grade 1 workbook\",\"grade-workbook-2\":\"Grade 2 workbook\",\"grade-workbook-3\":\"Grade 3 workbook\",\"grade-workbook-4\":\"Grade 4 workbook\",\"grade-workbook-5\":\"Grade 5 workbook\",\"grade-workbook-6\":\"Grade 6 workbook\",\"grade-workbook-7\":\"Grade 7 workbook\",\"grade-workbook-8\":\"Grade 8 workbook\",\"grade-workbook-9\":\"Grade 9 workbook\"};export const GIFT_FOR={parent:\"parents-guide\",student:\"how-to-revise\"};/** On the staging address only (useFeature(\"studentsGuide\")): students get the Students' Guide. The live host keeps GIFT_FOR. 22 Oct 2026. */export const GIFT_FOR_STAGING={parent:\"parents-guide\",student:\"students-guide\"};/** A phone: touch screen and a small screen. iPads count as laptops here (rarely have WhatsApp). */export function isPhone(){if(typeof window===\"undefined\")return false;try{return window.matchMedia(\"(pointer: coarse)\").matches&&Math.min(window.screen.width,window.screen.height)<600;}catch{return false;}}/** After a free-lesson sign-up, on any device: remember the email and go to the WhatsApp step for their role (the direct page, or the post-download one). */export function toGift(role,email,path=JOIN_WHATSAPP){rememberEmail(email);window.location.href=`${path}?for=${role===\"Parent\"?\"parent\":\"student\"}`;}\nexport const __FramerMetadata__ = {\"exports\":{\"isPhone\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WHATSAPP_GROUP\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"rememberLead\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"leadUtm\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MagnetSlug\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WAITLIST_LIST\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"JOIN_WHATSAPP_AFTER\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RESOURCE_NAME\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NEXT_LESSON\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"recallLead\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"examYear\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HELD\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"recallEmail\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LeadAnswers\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GIFT_FOR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"offerHref\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MAGNETS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"nextLessonHref\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NEXT_LESSON_LINK\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"subscribeLead\":{\"type\":\"function\",\"isAsync\":true,\"annotations\":{\"framerContractVersion\":\"1\"}},\"lessonList\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"rememberEmail\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MAGNETS_LIVE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RESOURCE_OFFER\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RESOURCE_OFFER_BONUSES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"toGift\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GIFT_FOR_STAGING\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DOWNLOADS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ALWAYS_LIVE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"toBridge\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PageSlug\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"afterDownload\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BRIDGE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MAGNET_COPY\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"JOIN_WHATSAPP\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// OfferBlocks: the special offer (bonus) design shared by every replay page (his ask, 5 Nov 2026: \"the replay pages should have ... this special\n// offer design and vibe\"). Moved out of FreeLessonReplay.tsx unchanged (the 21 Oct design: the red countdown bar, \"Two bonuses when you\n// start this week\", deck pictures with crossed-out worth, the guarantee card), so the free lesson, bootcamp and webinar replays draw ONE design.\n//   OfferBar      the red \"Bonuses end …\" bar with the live countdown; after the window, the dark \"bonuses have now closed\" bar\n//   BonusSection  the timer pill, the heading, the bonus cards (cards | rows | panel) and the guarantee\n//   ScrollCue     a small \"scroll down\" cue at the foot of a replay hero (his ask, 5 Nov: people should be encouraged to scroll down)\n//   useOfferPreview  staging only: shows the offer whatever the dates, so it can be judged (STAGING_ONLY.previewOffer)\n// Built by Claude, CENTRE: WEBSITE, 5 Nov 2026.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{SH2,SC,SF,SB}from\"https://framerusercontent.com/modules/bgFPSHrdYFuZ06WXho84/CiZMWrc0zjGOwUjibLiX/SignupStage.js\";import{FB_IMG,INK_BLUE,GREEN,GREEN_BG,GREEN_LINE,card,GuaranteeSeal,WHATSAPP_MATT,useFeature}from\"https://framerusercontent.com/modules/9VjBziOHWQ7CoKFSIW4E/1Bd5g6RCIsCJEyozLDoa/FunnelBlocks.js\";const RIMG=FB_IMG;/** The free lesson's two bonuses (from the FL1 deck). Other events use them only as PLACEHOLDERS until he sets their own. */export const FREE_LESSON_BONUSES=[{img:RIMG.toolkit,title:\"The Mastery Toolkit\",text:\"400+ topic videos covering every topic on the course. A national tutoring company licensed this library from Matt.\",worth:\"\\xa3999\"},{img:RIMG.course,title:\"Exam Performance Mini Course\",text:\"How to stay calm and pick up every mark you can on the day. Sold on its own.\",worth:\"\\xa399\"}];/** Staging only: show the offer block whatever its dates (STAGING_ONLY.previewOffer; never on the live site). */export const useOfferPreview=()=>useFeature(\"previewOffer\");/** Ticks once a second; returns the time now (null before mount) and \"1d 02h 03m 04s\" to the end. */export function useOfferClock(endIso){const[now,setNow]=React.useState(null);React.useEffect(()=>{setNow(Date.now());const i=setInterval(()=>setNow(Date.now()),1e3);return()=>clearInterval(i);},[]);const end=Date.parse(endIso||\"\");const left=now!==null&&isFinite(end)?Math.max(0,end-now):null;const two=n=>String(n).padStart(2,\"0\");const countdown=left===null?\"\":`${Math.floor(left/864e5)}d ${two(Math.floor(left%864e5/36e5))}h ${two(Math.floor(left%36e5/6e4))}m ${two(Math.floor(left%6e4/1e3))}s`;return{now,countdown};}/** offer = the window is open (or previewed). closedBar = show the dark \"closed\" bar after the window (the free lesson replay does; events without an offer show nothing). */export function OfferBar({mode,offer,offerDeadline,offerShort,endIso,closedBar=true}){const wide=mode===\"wide\";const{now,countdown}=useOfferClock(endIso);if(!offer&&!closedBar)return null;return offer?/*#__PURE__*/_jsxs(\"a\",{href:\"#bonuses\",style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:mode===\"phone\"?8:10,flexWrap:mode===\"phone\"?\"nowrap\":\"wrap\",whiteSpace:\"nowrap\",background:SC.red,color:\"#fff\",textDecoration:\"none\",padding:wide?\"15px 20px 12px\":mode===\"phone\"?\"9px 8px 7px\":\"12px 12px 10px\",fontFamily:SF,fontWeight:800,fontSize:wide?24:mode===\"phone\"?15:19,textAlign:\"center\"/* phones: one line (his ask, 21 Oct evening) */},children:[/*#__PURE__*/_jsxs(\"span\",{style:{whiteSpace:\"nowrap\"},children:[\"⏰ Bonuses end \",mode===\"phone\"?offerShort:offerDeadline]}),countdown?/*#__PURE__*/_jsx(\"span\",{style:{background:\"#fff\",color:\"#c40000\",borderRadius:100,padding:mode===\"phone\"?\"4px 9px 2px\":\"5px 14px 3px\",fontSize:wide?20:mode===\"phone\"?13:16,fontVariantNumeric:\"tabular-nums\",minWidth:wide?170:mode===\"phone\"?0:140},children:mode===\"phone\"?countdown.replace(/^0d /,\"\"):countdown}):null]}):now!==null?// After the window (his ask, 21 Oct): the page's normal state between lessons. Tap-to-chat link + the number as text.\n/*#__PURE__*/_jsxs(\"a\",{href:WHATSAPP_MATT,target:\"_blank\",rel:\"noopener\",style:{display:\"block\",background:SC.ink,color:\"#fff\",textDecoration:\"none\",padding:wide?\"15px 20px 12px\":\"12px 12px 10px\",fontFamily:SF,fontWeight:700,fontSize:wide?22:17,lineHeight:1.3,textAlign:\"center\"},children:[\"The bonuses have now closed. Questions? \",/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\",textDecoration:\"underline\",textUnderlineOffset:3},children:\"WhatsApp Matt on +44 7985 610211\"})]}):null;}export function BonusSection({mode,offerShort,bonuses,bonusStyle=\"cards\",cta}){const wide=mode===\"wide\";const timer=/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:8,fontFamily:SF,fontWeight:800,fontSize:wide?20:17,color:GREEN,background:GREEN_BG,border:`2px solid ${GREEN_LINE}`,borderRadius:100,padding:\"9px 20px 6px\"},children:[\"⏰ Start by \",offerShort]});const worth=(b,align=\"left\")=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:mode===\"phone\"?8:10,flexWrap:mode===\"phone\"?\"nowrap\":\"wrap\",whiteSpace:\"nowrap\",justifyContent:align===\"center\"?\"center\":\"flex-start\",marginTop:12},children:[b.worth?/*#__PURE__*/_jsxs(\"span\",{style:{fontFamily:SF,fontWeight:700,fontSize:wide?19:mode===\"phone\"?20:21,color:SC.grey},children:[\"WORTH \",/*#__PURE__*/_jsx(\"s\",{style:{textDecorationColor:SC.red,textDecorationThickness:2},children:b.worth})]}):/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:SF,fontWeight:700,fontSize:wide?19:mode===\"phone\"?20:21,color:SC.grey},children:\"RISK-FREE\"}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?16:mode===\"phone\"?15:17,letterSpacing:\".04em\",color:GREEN,background:GREEN_BG,borderRadius:100,padding:mode===\"phone\"?\"6px 11px 4px\":\"7px 14px 5px\"},children:\"INCLUDED FREE\"})]});const pic=(b,h)=>b.seal?/*#__PURE__*/_jsx(\"div\",{style:{height:h,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(GuaranteeSeal,{size:Math.round(h*1.2)})}):/*#__PURE__*/_jsx(\"div\",{style:{height:h,borderRadius:14,overflow:\"hidden\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"img\",{loading:\"eager\",decoding:\"async\",src:`${b.img}?scale-down-to=1024`,alt:b.title,width:1400,height:999,style:{height:\"100%\",width:\"auto\",maxWidth:\"100%\",objectFit:\"contain\",display:\"block\"}})});const bonusHead=/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\"},children:[timer,/*#__PURE__*/_jsx(\"div\",{style:{marginTop:16},children:/*#__PURE__*/_jsx(SH2,{mode:mode,children:\"Two bonuses when you start this week\"})})]});let bonusBody;if(bonusStyle===\"rows\"){bonusBody=/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gap:14,marginTop:wide?28:20},children:bonuses.map((b,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{...card,display:\"grid\",gridTemplateColumns:wide?\"260px 1fr\":\"1fr\",gap:wide?26:14,alignItems:\"center\",padding:wide?18:14},children:[pic(b,wide?170:180),/*#__PURE__*/_jsxs(\"div\",{style:{padding:wide?\"0 12px 0 0\":\"0 4px 4px\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:SB,fontSize:14,fontWeight:700,letterSpacing:\".06em\",color:INK_BLUE},children:[\"BONUS \",i+1]}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?26:22,lineHeight:1.15,color:SC.ink,marginTop:4},children:b.title}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:wide?17:15,lineHeight:1.5,color:SC.grey,margin:\"6px 0 0\"},children:b.text}),worth(b)]})]},b.title))});}else if(bonusStyle===\"panel\"){bonusBody=/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:wide?28:20,background:SC.sky,border:`2px solid ${SC.blue}`,borderRadius:wide?28:22,padding:wide?28:16},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:wide?\"repeat(2, 1fr)\":\"1fr\",gap:14},children:bonuses.map(b=>/*#__PURE__*/_jsxs(\"div\",{style:{background:\"#fff\",borderRadius:18,padding:14,textAlign:\"center\"},children:[pic(b,150),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:20,lineHeight:1.15,color:SC.ink,marginTop:12},children:b.title}),worth(b,\"center\")]},b.title))}),/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\",marginTop:20,fontFamily:SF,fontWeight:800,fontSize:wide?24:20,color:SC.ink},children:[\"Worth \",/*#__PURE__*/_jsx(\"s\",{style:{textDecorationColor:SC.red,textDecorationThickness:2,color:SC.grey},children:\"\\xa31,098\"}),\" \\xb7 \",/*#__PURE__*/_jsx(\"span\",{style:{color:GREEN},children:\"yours free\"}),\" when you start by \",offerShort]})]});}else{bonusBody=/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:wide?\"repeat(2, 1fr)\":\"1fr\",gap:22,marginTop:wide?36:22,maxWidth:1e3,marginLeft:\"auto\",marginRight:\"auto\"},children:bonuses.map((b,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{...card,padding:14,display:\"flex\",flexDirection:\"column\"},children:[pic(b,wide?290:180),/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"14px 6px 6px\",flex:1,display:\"flex\",flexDirection:\"column\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:SB,fontSize:14,fontWeight:700,letterSpacing:\".06em\",color:INK_BLUE},children:[\"BONUS \",i+1]}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?27:23,lineHeight:1.15,color:SC.ink,marginTop:4},children:b.title}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:wide?17:16,lineHeight:1.6,color:SC.grey,margin:\"8px 0 0\",flex:1},children:b.text}),worth(b)]})]},b.title))});}const guarantee=/*#__PURE__*/_jsxs(\"div\",{style:{...card,display:\"flex\",flexDirection:wide?\"row\":\"column\",alignItems:\"center\",gap:wide?26:14,maxWidth:1e3,margin:`${wide?22:18}px auto 0`,padding:wide?\"26px 34px\":\"22px 20px\",background:\"#fff\",textAlign:wide?\"left\":\"center\"},children:[/*#__PURE__*/_jsx(GuaranteeSeal,{size:wide?250:230}),wide?/*#__PURE__*/_jsx(\"div\",{style:{width:1,alignSelf:\"stretch\",background:SC.line}}):null,/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:SB,fontSize:14,fontWeight:700,letterSpacing:\".06em\",color:INK_BLUE},children:[\"PLUS, WHEN YOU START BY \",offerShort.toUpperCase()]}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?28:23,lineHeight:1.15,color:SC.ink,marginTop:4,textWrap:\"balance\"},children:\"A free week, then a month risk‑free\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:wide?17:15,lineHeight:1.5,color:SC.ink,margin:\"6px 0 0\"},children:\"Not right in the first month? Full refund.\"})]})]});return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{id:\"bonuses\",style:{scrollMarginTop:16}}),bonusHead,bonusBody,guarantee,/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\",marginTop:wide?36:26},children:cta})]});}/** A small bobbing \"scroll down\" cue under a replay hero's white panel (his ask, 5 Nov 2026). Links to the next section. */export function ScrollCue({mode,href=\"#next\",label=\"Scroll down for more\"}){const phone=mode===\"phone\";return /*#__PURE__*/_jsxs(\"a\",{href:href,style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:2,width:\"fit-content\",margin:`${phone?14:20}px auto 0`,fontFamily:SB,fontSize:phone?14:15,fontWeight:600,color:INK_BLUE,textDecoration:\"none\"},children:[label,/*#__PURE__*/_jsx(\"svg\",{className:\"ss-bob\",width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",style:{animation:\"ss-bob 1.6s ease-in-out infinite\"},children:/*#__PURE__*/_jsx(\"path\",{fill:\"none\",stroke:INK_BLUE,strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",d:\"M6 9l6 6 6-6\"})})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"BonusSection\":{\"type\":\"reactComponent\",\"name\":\"BonusSection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"OfferBar\":{\"type\":\"reactComponent\",\"name\":\"OfferBar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"ScrollCue\":{\"type\":\"reactComponent\",\"name\":\"ScrollCue\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"BonusStyle\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOfferPreview\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FREE_LESSON_BONUSES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOfferClock\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Bonus\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// SpecialOffer: the ONE special offer design shared by every special offer page (his approval, 5 Nov 2026, design round 7 + his final\n// changes: the money-back guarantee back in, no second pill on the lead magnet offer, \"Cancel any time\" the same as \"First 3 lessons free\").\n// Pages: the bootcamp replays, the Webinar (Mastery System) replay, the free lesson replay, the lead magnet offer\n// (/group-tutoring/lead-mag-special-offer). Only the hero differs (one video, or the bootcamp's five days, or no replay at all).\n//   OfferTop        the band at the very top: green with the live countdown (white outline), black once the offer has closed, or the\n//                   lead magnet's green \"🎁 By downloading this free resource, you unlocked this offer\" (no countdown)\n//   SpecialOfferButton  the green \"🎁 Special Offer ↓\" under the replay(s), jumps to the offer\n//   OfferSection    WHITE: pill, \"Claim Your Group Tutoring Special Offer\", his special video, the four features (2 x 2), Tue/Wed/Thu,\n//                   \"Two free bonuses when you start this week\", the price, the guarantee, one blue \"🎁 Claim your special offer\" button\n//   OfferRest       reviews (BLUE), video reviews (WHITE), the offer stack (BLUE), the letter (WHITE), the FAQ (BLUE), Ready to start (WHITE)\n// Order and bands are his (5 Nov 2026): one offer, never two stacked; one countdown, at the top only.\n// Facts: the Mastery Toolkit is worth £999 (his ruling, 5 Nov: \"I used to sell it for £999\"), the mini course £99, total £1,098.\n// \"First 3 lessons free\" is his wording (the 7-day trial covers the three weekly classes). Built by Claude, CENTRE: WEBSITE, 5 Nov 2026.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{SC,SF,SB,SH2}from\"https://framerusercontent.com/modules/bgFPSHrdYFuZ06WXho84/CiZMWrc0zjGOwUjibLiX/SignupStage.js\";import{FB_IMG,INK_BLUE,card,Sec,bg3,TrialButton,GuaranteeSeal,ReviewsSection,GTLetter,GTFaq,LastCall,FunnelFooter,WHATSAPP_MATT,StackBody,UsdNote,Video}from\"https://framerusercontent.com/modules/9VjBziOHWQ7CoKFSIW4E/1Bd5g6RCIsCJEyozLDoa/FunnelBlocks.js\";import{VideoReviews}from\"https://framerusercontent.com/modules/6Uq5kJyWGAZLi7MoJoo8/2FtyCMIGLcrE935m4BC9/VideoReviews.js\";import{useOfferClock,useOfferPreview}from\"https://framerusercontent.com/modules/laApHJ6CJE494DnSRf8o/kZ92BhWM3i78yNHUlNfT/OfferBlocks.js\";export const OFFER_GREEN=\"#00a34a\";const OFFER_GREEN_BG=\"#e7f8ee\";/** The two bonuses with his prices (5 Nov 2026). */export const SPECIAL_BONUSES=[{img:FB_IMG.toolkit,title:\"The Mastery Toolkit\",text:\"400+ topic videos covering every topic on the course. A national tutoring company licensed this library from Matt.\",worth:\"\\xa3999\",note:\"I used to sell it for \\xa3999.\"},{img:FB_IMG.course,title:\"Exam Performance Mini Course\",text:\"How to stay calm and pick up every mark you can on the day. Sold on its own.\",worth:\"\\xa399\",note:\"\"}];export const SPECIAL_TOTAL=\"\\xa31,098\";const FEATURES=[[\"Three live lessons a week with Matt\",\"Tue, Wed and Thu, 5:30 to 6:30pm\",\"3 live lessons a week\"],[\"Every lesson recorded\",\"Available 24/7, so you never miss out\",\"Every lesson recorded\"],[\"A community to ask questions\",\"Answers between lessons\",\"A community for questions\"],[\"Monthly parent sessions\",\"So parents know what's going on\",\"Monthly parent sessions\"]];const CLASSES=[[\"Tuesday\",\"Grade 4 to 5\"],[\"Wednesday\",\"Grade 6 to 7\"],[\"Thursday\",\"Grade 8 to 9\"]];const GLOW=\"0 24px 50px -32px rgba(14,16,19,.4)\";/** WHEN THE FREE LESSON OFFER OPENS (17 Nov 2026, his words in the Webinar Manager chat, 17:06 UTC: \"please turn the offer pages on now\").\n *  Normally the offer and replay pages open the offer at the lesson's start (CurrentEvent startUtc). This time opens it earlier, for those two pages\n *  only; CurrentEvent is untouched (the sign-up page, short links and lead capture read its startUtc). It is used only when it falls in the 24 hours\n *  before the current lesson's start, so it cannot open the NEXT lesson's offer by accident. \"\" = open at the lesson's start. */export const FL_OFFER_OPEN_UTC=\"2026-11-17T17:00:00Z\";export const flOfferStart=lessonStartUtc=>{const o=Date.parse(FL_OFFER_OPEN_UTC||\"\"),ls=Date.parse(lessonStartUtc||\"\");return isFinite(o)&&isFinite(ls)&&o<ls&&ls-o<=24*3600*1e3?FL_OFFER_OPEN_UTC:lessonStartUtc;};/** The offer window for a page. endIso \"\" with preview on (staging) = a placeholder end ~2 days away, so the countdown can be judged. */export function useSpecialOffer(open,endIso,startIso=\"\"){const preview=useOfferPreview();const[placeholderEnd]=React.useState(()=>new Date(Date.now()+(52*3600+17*60)*1e3).toISOString());const valid=isFinite(Date.parse(endIso||\"\"));const end=valid?endIso:preview?placeholderEnd:\"\";const{now,countdown}=useOfferClock(end);const endAt=Date.parse(end),startAt=Date.parse(startIso||\"\");const inWindow=open&&(now===null||!isFinite(endAt)||(!isFinite(startAt)||now>=startAt)&&now<endAt);const on=preview||inWindow;const ended=!on&&open&&valid&&now!==null// a real offer outside its window (deadline passed, or the next lesson not started yet) → the black \"closed\" band, as the free lesson replay always did\n;return{on,ended,countdown,placeholder:preview&&!valid};}/** The lead magnet offer's own window (his ruling, 9 Nov 2026): 7 days from this visitor's first visit to an offer page, kept in their\n *  browser. No storage (private window) = the window starts now. Staging always shows it open (previewOffer). */export function usePersonalOffer(days=7,key=\"mgm_offer_start\",enabled=true){const[endIso,setEndIso]=React.useState(\"\");React.useEffect(()=>{if(!enabled)return;let start=Date.now();try{const v=Number(window.localStorage.getItem(key));if(v&&isFinite(v)&&v<=Date.now())start=v;else window.localStorage.setItem(key,String(start));}catch{}setEndIso(new Date(start+days*864e5).toISOString());},[days,key,enabled]);return useSpecialOffer(true,endIso);}const Struck=({children,color=SC.grey})=>/*#__PURE__*/_jsx(\"s\",{style:{textDecorationColor:SC.red,textDecorationThickness:3,color},children:children});const FreeStamp=({big,phone})=>{const s=big?phone?24:34:phone?18:22;return /*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",transform:\"rotate(-7deg)\",border:`3px solid ${OFFER_GREEN}`,color:OFFER_GREEN,fontFamily:SF,fontWeight:900,fontSize:s,letterSpacing:\".08em\",lineHeight:1,padding:big?\"8px 14px 4px\":\"6px 10px 3px\",borderRadius:10,background:\"#fff\"},children:\"FREE\"});};/** The band at the top of the page. kind: \"open\" countdown · \"closed\" (the offer has ended) · \"resource\" (the lead magnet offer). */export function OfferTop({mode,kind,countdown,reason}){// 9 Nov 2026 (his ask): the present banner reads \"🎁 Because you <did X>, you have unlocked a special offer\", with the countdown box beside it\n// while the offer runs; the closed band keeps Matt's number. resource = the lead magnet offer (no deadline, so no countdown unless given).\nconst phone=mode===\"phone\";if(kind===\"closed\")return /*#__PURE__*/_jsx(\"a\",{href:WHATSAPP_MATT,target:\"_blank\",rel:\"noopener\",style:{display:\"block\",background:SC.ink,color:\"#fff\",textDecoration:\"none\",textAlign:\"center\",fontFamily:SF,fontWeight:700,fontSize:phone?15:21,lineHeight:1.3,padding:phone?\"12px 10px 9px\":\"16px 24px 13px\"},children:phone?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{whiteSpace:\"nowrap\"},children:\"This special offer has now closed.\"}),/*#__PURE__*/_jsxs(\"div\",{style:{whiteSpace:\"nowrap\"},children:[\"Missed it? WhatsApp Matt: \",/*#__PURE__*/_jsx(\"span\",{style:{color:\"#7fd0ff\"},children:\"+44 7985 610211\"})]})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[\"This special offer has now closed. Missed it? Message Matt on WhatsApp: \",/*#__PURE__*/_jsx(\"span\",{style:{color:\"#7fd0ff\"},children:\"+44 7985 610211\"})]})});// 13 Nov 2026 (his approval): on phones the lead magnet banner is two lines, the message on one line and the countdown on the second, so its message is the short one.\n// phones name the download in a short form that holds one line above the countdown (his yes, 13 Nov 2026: \"Your Parents' Guide offer\"); no name known = the short generic line\nconst got=reason?reason.match(/downloaded the (.+?), you/):null;const named=got?`Your ${got[1].replace(/\\b[a-z]/g,c=>c.toUpperCase())} offer`:\"You have unlocked a special offer\";const text=phone&&kind===\"resource\"?named:reason||(kind===\"resource\"?\"By downloading this free resource, you have unlocked a special offer\":\"You have unlocked a special offer\");const box=countdown?/*#__PURE__*/_jsxs(\"span\",{style:{flex:\"none\",border:\"2.5px solid #fff\",borderRadius:10,padding:phone?\"5px 8px 2px\":\"6px 12px 3px\",fontVariantNumeric:\"tabular-nums\",whiteSpace:\"nowrap\"},children:[\"Ends: \",phone?countdown.replace(/^0d /,\"\"):countdown]}):null;return /*#__PURE__*/_jsxs(\"a\",{href:\"#offer\",style:{display:\"flex\",flexDirection:phone?\"column\":\"row\",alignItems:\"center\",justifyContent:\"center\",gap:phone?8:16,background:OFFER_GREEN,color:\"#fff\",textDecoration:\"none\",textAlign:\"center\",fontFamily:SF,fontWeight:800,lineHeight:1.25,fontSize:phone?17:mode===\"tab\"?21:24,padding:phone?\"12px 12px 10px\":\"16px 24px 13px\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:phone&&kind===\"resource\"?{whiteSpace:\"nowrap\"}:undefined,children:[\"🎁 \",text]}),box]});}/** The green \"🎁 Special Offer ↓\" button under the replay(s). */export function SpecialOfferButton({mode}){const phone=mode===\"phone\";return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",marginTop:phone?22:36},children:/*#__PURE__*/_jsxs(\"a\",{href:\"#offer\",style:{textDecoration:\"none\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",gap:9,height:phone?46:54,padding:`4px ${phone?20:30}px 0`,borderRadius:14,background:SC.blue,color:\"#fff\",fontFamily:SF,fontWeight:800,fontSize:phone?17:21,letterSpacing:\".02em\",whiteSpace:\"nowrap\",boxShadow:\"0 14px 30px -14px rgba(0,163,74,.8)\"},children:[\"🎁 See Special Offer \",/*#__PURE__*/_jsx(\"span\",{style:{fontSize:phone?15:17},children:\"↓\"})]})});}/** The one blue offer button (his wording: \"🎁 Claim your special offer\"; once closed, the plain trial button). */function ClaimButton({mode,href,source,label}){const phone=mode===\"phone\";return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"a\",{href:href,className:\"ss-go\",onClick:()=>{const w=window;if(typeof w.gtag===\"function\")w.gtag(\"event\",\"trial_click\",{source});},style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:10,height:phone?62:68,width:phone?\"100%\":480,maxWidth:\"100%\",boxSizing:\"border-box\",borderRadius:14,background:SC.blue,color:\"#fff\",fontFamily:SF,fontWeight:800,fontSize:phone?21:25,paddingTop:3,whiteSpace:\"nowrap\",textDecoration:\"none\",boxShadow:\"0 14px 30px -14px rgba(0,120,220,.8)\"},children:label})});}/** The sales page's top (his ask, 9 Nov 2026): the same blue band and white card as the replay hero, with the green \"YOUR SPECIAL OFFER\"\n *  pill, \"Claim Your Group Tutoring Special Offer\", the sales video, and \"🎁 Claim Your Offer\" straight to the trial (payment) page,\n *  the US-price line under it. The offer details follow underneath. */export function OfferHero({mode,trial,source,videoId,closed=false}){const phone=mode===\"phone\",wide=mode===\"wide\";return /*#__PURE__*/_jsx(\"section\",{style:{...bg3(mode),padding:wide?\"48px 40px 40px\":mode===\"tab\"?\"36px 24px 30px\":\"20px 12px 22px\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:wide?1040:700,margin:\"0 auto\",background:\"#fff\",borderRadius:wide?40:24,padding:wide?\"48px 70px 44px\":mode===\"tab\"?\"38px 34px 36px\":\"24px 16px 24px\",boxShadow:\"0 30px 80px -50px rgba(30,80,140,.35)\",textAlign:\"center\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"h1\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?28:wide?48:40,lineHeight:1.07,margin:0,color:SC.ink,textWrap:\"balance\"},children:\"Claim Your Group Tutoring Special Offer\"}),/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:880,margin:`${phone?18:28}px auto 0`},children:/*#__PURE__*/_jsx(SalesVideo,{mode:mode,videoId:videoId})}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:phone?20:28},children:/*#__PURE__*/_jsx(ClaimButton,{mode:mode,href:trial,source:source,label:closed?\"Start Your 7-Day Free Trial\":\"🎁 Claim Your Offer\"})}),/*#__PURE__*/_jsx(UsdNote,{mode:mode})]})});}/** The sales video. Until his special video is filmed: the Group Tutoring video from the top of /group-tutoring as a placeholder (his ask, 9 Nov 2026). */const PLACEHOLDER_SALES_VIDEO=\"MJqY05aJ9Ro\";function SalesVideo({mode,videoId}){return /*#__PURE__*/_jsx(Video,{id:videoId||PLACEHOLDER_SALES_VIDEO,title:\"A MyGCSEMaths Group Tutoring class\",radius:mode===\"wide\"?20:14});}/** The green \"🎁 YOUR SPECIAL OFFER\" pill. */function OfferPill({mode}){const phone=mode===\"phone\",wide=mode===\"wide\";return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",marginBottom:phone?14:18},children:/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:8,background:OFFER_GREEN,color:\"#fff\",fontFamily:SF,fontWeight:800,fontSize:phone?19:wide?29:24,letterSpacing:\".06em\",whiteSpace:\"nowrap\",padding:phone?\"10px 18px 7px\":\"13px 26px 10px\",borderRadius:99,boxShadow:\"0 12px 26px -12px rgba(0,120,60,.6)\"},children:\"🎁 YOUR SPECIAL OFFER\"})});}/** \"Your Special Offer\" (WHITE), rebuilt to his spec (9 Nov 2026), the same on the replay and the sales pages:\n *  [pill, \"Claim Your Group Tutoring Special Offer\", the sales video: replay pages only, head=true; the sales page has them in OfferHero]\n *  → \"Everything You Get with Group Tutoring\" exactly as on /group-tutoring, without its price cards and button\n *  → \"Two Free Bonuses When You Start Before <deadline>\" at the same heading size → the two bonus cards\n *  → the 30-day guarantee, full width under the bonuses → £59/month → \"First 3 lessons free, cancel any time\"\n *  → \"🎁 Claim your special offer\" → the US-price line. closed = after the deadline: no bonuses, plain trial button. */export function OfferSection({mode,trial,source,closed=false,resource=false,videoId,head=true,deadline}){const phone=mode===\"phone\",wide=mode===\"wide\";const bonusTitle=`Two Free Bonuses When You Start ${deadline?`Before ${deadline}`:\"This Week\"}`;const bonuses=closed?null:/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:phone?40:64},children:[/*#__PURE__*/_jsx(SH2,{mode:mode,children:bonusTitle}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:wide?\"1fr 1fr\":\"1fr\",gap:phone?16:24,marginTop:phone?18:28},children:SPECIAL_BONUSES.map(b=>/*#__PURE__*/_jsxs(\"div\",{style:{...card,boxShadow:GLOW,padding:phone?14:18,display:\"flex\",flexDirection:\"column\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"80%\",margin:\"0 auto\",borderRadius:14,overflow:\"hidden\",background:\"#f2f6fc\"},children:/*#__PURE__*/_jsx(\"img\",{loading:\"eager\",decoding:\"async\",src:`${b.img}?scale-down-to=1024`,alt:b.title,width:1400,height:999,style:{display:\"block\",width:\"100%\",height:\"auto\"}})}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:16},children:/*#__PURE__*/_jsxs(\"span\",{style:{background:OFFER_GREEN_BG,color:OFFER_GREEN,fontFamily:SF,fontWeight:800,fontSize:phone?14:15,letterSpacing:\".08em\",borderRadius:99,padding:\"6px 12px 3px\"},children:[\"🎁 BONUS \",SPECIAL_BONUSES.indexOf(b)+1]})}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?24:29,lineHeight:1.12,marginTop:8,color:SC.ink},children:b.title}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:SB,fontSize:phone?16:17,lineHeight:1.55,color:SC.grey,margin:\"8px 0 0\",flex:1},children:[b.text,b.note?/*#__PURE__*/_jsxs(_Fragment,{children:[\" \",/*#__PURE__*/_jsx(\"b\",{style:{color:SC.ink},children:b.note})]}):null]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:12,marginTop:16,paddingTop:14,borderTop:`1.5px dashed ${SC.line}`},children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?28:34,lineHeight:1,color:SC.grey},children:[\"Worth \",/*#__PURE__*/_jsx(Struck,{children:b.worth})]}),/*#__PURE__*/_jsx(FreeStamp,{big:true,phone:phone})]})]},b.title))})]});// the guarantee, bigger and the full width of the bonus cards (his ask, 9 Nov 2026)\nconst guarantee=/*#__PURE__*/_jsxs(\"div\",{style:{...card,boxShadow:GLOW,display:\"flex\",flexDirection:phone?\"column\":\"row\",alignItems:\"center\",justifyContent:\"center\",gap:phone?12:36,margin:`${phone?18:24}px auto 0`,padding:phone?\"20px 16px\":\"26px 40px\",textAlign:phone?\"center\":\"left\"},children:[/*#__PURE__*/_jsx(GuaranteeSeal,{size:phone?200:240}),phone?null:/*#__PURE__*/_jsx(\"div\",{style:{width:1,alignSelf:\"stretch\",background:SC.line}}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?25:34,lineHeight:1.12,color:SC.ink},children:\"A free week, then a month risk‑free\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:phone?17:21,lineHeight:1.5,color:SC.ink,margin:\"8px 0 0\"},children:\"Not right in the first month? Full refund.\"})]})]});const price=/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:phone?34:50,textAlign:\"center\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?50:72,lineHeight:1,color:SC.ink},children:[\"\\xa359\",/*#__PURE__*/_jsx(\"span\",{style:{fontSize:phone?24:32,color:SC.grey},children:\"/month\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?25:wide?36:30,color:SC.ink,marginTop:phone?12:16},children:\"First 3 lessons free, cancel any time\"})]});return /*#__PURE__*/_jsx(\"section\",{id:\"offer\",style:{background:\"#fff\",padding:phone?\"44px 16px 48px\":wide?\"80px 48px 84px\":\"64px 24px 64px\",scrollMarginTop:0},children:/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:1e3,margin:\"0 auto\"},children:[head?/*#__PURE__*/_jsxs(_Fragment,{children:[closed||resource?null:/*#__PURE__*/_jsx(OfferPill,{mode:mode}),/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?27:wide?48:38,lineHeight:1.06,margin:0,textAlign:\"center\",color:SC.ink,textWrap:\"balance\"},children:\"Claim Your Group Tutoring Special Offer\"}),/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:880,margin:`${phone?22:34}px auto ${phone?36:56}px`},children:/*#__PURE__*/_jsx(SalesVideo,{mode:mode,videoId:videoId})})]}):/*#__PURE__*/_jsx(OfferPill,{mode:mode}),/*#__PURE__*/_jsx(SH2,{mode:mode,children:\"Everything You Get with Group Tutoring\"}),/*#__PURE__*/_jsx(StackBody,{mode:mode,trial:trial,source:source,bare:true}),bonuses,guarantee,price,/*#__PURE__*/_jsx(\"div\",{style:{marginTop:phone?22:30},children:/*#__PURE__*/_jsx(ClaimButton,{mode:mode,href:trial,source:source,label:closed?\"Start Your 7-Day Free Trial\":\"🎁 Claim your special offer\"})}),/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\"},children:/*#__PURE__*/_jsx(UsdNote,{mode:mode})})]})});}/** One row of the offer stack receipt. */function Row({mode,img,icon,label,name,sub,right}){const phone=mode===\"phone\";return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:phone?12:18,padding:phone?\"14px 0\":\"18px 0\",borderBottom:`1.5px dashed ${SC.line}`},children:[img?/*#__PURE__*/_jsx(\"img\",{loading:\"eager\",decoding:\"async\",src:`${img}?scale-down-to=512`,alt:\"\",style:{flex:\"none\",width:phone?64:110,height:phone?48:78,objectFit:\"cover\",borderRadius:10}}):/*#__PURE__*/_jsx(\"div\",{style:{flex:\"none\",width:phone?64:110,display:\"flex\",justifyContent:\"center\"},children:icon}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:0},children:[label?/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SB,fontSize:phone?12:13,fontWeight:700,letterSpacing:\".07em\",color:INK_BLUE},children:label}):null,/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?18:24,lineHeight:1.15,color:SC.ink},children:name}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SB,color:SC.grey,fontSize:phone?13:15,marginTop:2},children:sub})]}),/*#__PURE__*/_jsx(\"div\",{style:{flex:\"none\",textAlign:\"right\"},children:right})]});}const Shield=({size})=>/*#__PURE__*/_jsxs(\"svg\",{width:size,height:size*1.12,viewBox:\"12 10 100 130\",\"aria-hidden\":\"true\",style:{flex:\"none\"},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M62 10 L112 28 V72 C112 104 90 126 62 140 C34 126 12 104 12 72 V28 Z\",fill:SC.blue}),/*#__PURE__*/_jsx(\"path\",{d:\"M42 74 l14 14 l28 -30\",fill:\"none\",stroke:\"#fff\",strokeWidth:\"10\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]});/** \"Everything in your Special Offer\": the receipt (BLUE band). Blue top bar; FREE stamps and £0 in green; no countdown (his rulings, 5 Nov). */export function OfferStack({mode,trial,source,deadline}){const phone=mode===\"phone\",wide=mode===\"wide\";const free=w=>/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?18:24,color:SC.grey},children:/*#__PURE__*/_jsx(Struck,{children:w})}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:4},children:/*#__PURE__*/_jsx(FreeStamp,{phone:phone})})]});const zig=\"radial-gradient(circle 10px at 50% 100%, transparent 9px, #000 10px) 0 0 / 22px 100% repeat-x\";return /*#__PURE__*/_jsx(\"section\",{style:{...bg3(mode),padding:phone?\"48px 16px\":wide?\"84px 48px\":\"64px 24px\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:820,margin:\"0 auto\"},children:[/*#__PURE__*/_jsx(SH2,{mode:mode,children:phone?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{children:\"Everything in your\"}),/*#__PURE__*/_jsx(\"div\",{children:\"Special Offer\"})]}):\"Everything in your Special Offer\"}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:phone?22:34,filter:\"drop-shadow(0 26px 40px rgba(14,16,19,.18))\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{background:\"#fff\",borderRadius:\"22px 22px 0 0\",overflow:\"hidden\",paddingBottom:22,WebkitMask:zig,mask:zig},children:[/*#__PURE__*/_jsx(\"div\",{style:{background:SC.blue,height:10}}),/*#__PURE__*/_jsxs(\"div\",{style:{padding:phone?\"6px 16px\":\"10px 34px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\",padding:phone?\"14px 0 4px\":\"20px 0 6px\",fontFamily:SB,fontSize:phone?12:13,fontWeight:700,letterSpacing:\".14em\",color:SC.grey},children:\"MYGCSEMATHS \\xb7 SPECIAL OFFER\"}),/*#__PURE__*/_jsx(Row,{mode:mode,img:FB_IMG.laptop,label:\"GROUP TUTORING\",name:\"3 live lessons a week with Matt\",sub:phone?\"Tue, Wed, Thu \\xb7 recordings \\xb7 parents\":\"Tuesday, Wednesday, Thursday \\xb7 every lesson recorded \\xb7 parent sessions\",right:/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?18:24,color:SC.ink},children:[\"\\xa359\",/*#__PURE__*/_jsx(\"span\",{style:{fontSize:phone?13:15,color:SC.grey},children:\" a month\"})]})}),/*#__PURE__*/_jsx(Row,{mode:mode,img:SPECIAL_BONUSES[0].img,label:\"BONUS 1\",name:SPECIAL_BONUSES[0].title,sub:\"400+ topic videos \\xb7 I used to sell it for \\xa3999\",right:free(SPECIAL_BONUSES[0].worth)}),/*#__PURE__*/_jsx(Row,{mode:mode,img:SPECIAL_BONUSES[1].img,label:\"BONUS 2\",name:SPECIAL_BONUSES[1].title,sub:phone?\"Calm and every mark on the day\":\"How to stay calm and pick up every mark on the day\",right:free(SPECIAL_BONUSES[1].worth)}),/*#__PURE__*/_jsx(Row,{mode:mode,icon:/*#__PURE__*/_jsx(Shield,{size:phone?40:56}),name:\"30-day money-back guarantee\",sub:phone?\"Not right in month one? Full refund.\":\"A free week, then a month risk-free. Not right in the first month? Full refund.\",right:/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",background:SC.sky,color:INK_BLUE,fontFamily:SF,fontWeight:800,fontSize:phone?13:15,letterSpacing:\".06em\",borderRadius:99,padding:\"6px 10px 3px\"},children:\"INCLUDED\"})}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"baseline\",gap:12,marginTop:phone?16:22},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?18:24,color:SC.grey},children:\"Bonuses worth\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?24:32},children:/*#__PURE__*/_jsx(Struck,{children:SPECIAL_TOTAL})})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"baseline\",gap:12,marginTop:6},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?18:24,color:SC.grey},children:\"Your bonuses cost\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:900,fontSize:phone?30:42,color:OFFER_GREEN},children:\"\\xa30\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{background:SC.sky,borderRadius:14,padding:phone?\"12px 14px 9px\":\"16px 20px 12px\",marginTop:phone?14:18,textAlign:\"center\",fontFamily:SF,fontWeight:800,fontSize:phone?16:22,lineHeight:1.25,color:SC.ink},children:phone?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{children:\"You pay \\xa359/month\"}),/*#__PURE__*/_jsx(\"div\",{style:{color:INK_BLUE,whiteSpace:\"nowrap\"},children:\"First 3 lessons free\"})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[\"You pay \\xa359/month \\xb7 \",/*#__PURE__*/_jsx(\"span\",{style:{color:INK_BLUE},children:\"First 3 lessons free\"})]})}),/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:phone?26:34,textAlign:\"center\"},children:[/*#__PURE__*/_jsx(TrialButton,{mode:mode,href:trial,source:source,big:true}),/*#__PURE__*/_jsx(UsdNote,{mode:mode}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontWeight:600,fontSize:phone?15:17,margin:\"6px 0 0\",color:SC.ink},children:\"Cancel any time\"})]})]})]})})]})});}/** Everything after the offer section, in his bands. closed = no offer stack. */export function OfferRest({mode,trial,source,closed=false,deadline}){const wide=mode===\"wide\",phone=mode===\"phone\";return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(ReviewsSection,{mode:mode,blue:true,count:wide?6:3,after:null}),/*#__PURE__*/_jsxs(Sec,{mode:mode,top:wide?72:48,children:[/*#__PURE__*/_jsx(VideoReviews,{mode:mode,top:0}),/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\",marginTop:wide?40:28},children:[/*#__PURE__*/_jsx(TrialButton,{mode:mode,href:trial,source:source,big:true}),/*#__PURE__*/_jsx(UsdNote,{mode:mode})]})]}),closed?null:/*#__PURE__*/_jsx(\"div\",{style:{marginTop:wide?96:56},children:/*#__PURE__*/_jsx(OfferStack,{mode:mode,trial:trial,source:source,deadline:deadline})}),/*#__PURE__*/_jsx(GTLetter,{mode:mode,blue:false}),/*#__PURE__*/_jsx(GTFaq,{mode:mode,blue:true}),/*#__PURE__*/_jsx(LastCall,{mode:mode,trial:trial,source:source,line:\"Try every class free for 7 days. Cancel any time.\",white:true}),/*#__PURE__*/_jsx(FunnelFooter,{mode:mode})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"OFFER_GREEN\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OfferStack\":{\"type\":\"reactComponent\",\"name\":\"OfferStack\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"OfferTop\":{\"type\":\"reactComponent\",\"name\":\"OfferTop\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSpecialOffer\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OfferHero\":{\"type\":\"reactComponent\",\"name\":\"OfferHero\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePersonalOffer\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OfferRest\":{\"type\":\"reactComponent\",\"name\":\"OfferRest\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"OfferSection\":{\"type\":\"reactComponent\",\"name\":\"OfferSection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SPECIAL_BONUSES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FL_OFFER_OPEN_UTC\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SPECIAL_TOTAL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"flOfferStart\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SpecialOfferButton\":{\"type\":\"reactComponent\",\"name\":\"SpecialOfferButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SpecialOffer.map"],"mappings":"A,yYAgByH,SAAgBwC,GAAU,CAAC,IAAMC,EAAG,QAAQ,KAAK,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,IAAI,KAAK,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,GAAG,OAAO,SAAW,IAAY,MAAM,CAAC,KAAG,MAAM,CAAC,CAAC,EAAE,IAAMC,EAAG,GAAG,oBAAoB,SAAS,OAAO,MAAU,OAAO,WAAWC,EAAE,UAAU,CAAC,GAAG,CAAC,EAAA,CAAG,IAAI,EAAE,EAAQC,EAAO,IAAI,gBAAgBtC,EAAO,SAAS,MAAM,CAAC,CAAC,IAAI,QAAQ,EAAQuC,EAAIH,EAAG,MAAM,IAAI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