@font-face{font-family: "Lora";font-style: normal;font-weight: 600 700;font-display: swap;src: url("../assets/fonts/lora.woff2") format("woff2")}@font-face{font-family: "Plus Jakarta Sans";font-style: normal;font-weight: 400 700;font-display: swap;src: url("../assets/fonts/plus-jakarta-sans.woff2") format("woff2")}@font-face{font-family: "Lora Fallback";src: local("Georgia");size-adjust: 109.24%;ascent-override: 92.09%;descent-override: 25.08%;line-gap-override: 0%}@font-face{font-family: "Plus Jakarta Sans Fallback";src: local("Arial");size-adjust: 105.08%;ascent-override: 98.78%;descent-override: 21.13%;line-gap-override: 0%}:root{--bg: #ffffff;--bg-soft: #f5f5f2;--surface: #ffffff;--surface-2: #fafaf8;--border: rgba(20,23,26,0.12);--border-strong: rgba(20,23,26,0.26);--text: #15171a;--muted: #565b64;--ink: #15171a;--accent: #1f4287;--accent-dark: #16315f;--accent-soft: rgba(31,66,135,0.08);--ok: #1d9d57;--radius-sm: 12px;--radius: 16px;--radius-lg: 24px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 24px;--space-6: 32px;--space-7: 48px;--space-8: 64px;--max: 1120px;--font-sans: "Plus Jakarta Sans","Plus Jakarta Sans Fallback",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--font-display: "Lora","Lora Fallback",Georgia,"Times New Roman",serif;--grad: linear-gradient(135deg,var(--accent),var(--accent-dark));--ease: cubic-bezier(0.16,1,0.3,1);--ease-soft: cubic-bezier(0.33,1,0.68,1);--grid-step: 28px}*{box-sizing: border-box;margin: 0;padding: 0}html{scroll-behavior: smooth;-webkit-text-size-adjust: 100%;overflow-x: hidden;overscroll-behavior-x: none}body{font-family: var(--font-sans);background: var(--bg);color: var(--text);line-height: 1.65;overflow-x: hidden;overscroll-behavior-x: none}.container{width: 100%;max-width: var(--max);margin: 0 auto;padding: 0 1.25rem}h1,h2,h3{font-family: var(--font-display);line-height: 1.14;letter-spacing: -0.01em;color: var(--text);text-wrap: balance}h1{font-size: clamp(2.5rem,10vw,4.25rem);font-weight: 700}h2{font-size: clamp(1.8rem,6vw,2.5rem);font-weight: 700}h3{font-size: 1.2rem;font-weight: 600;line-height: 1.28}p{color: var(--muted);text-wrap: pretty}a{color: inherit;text-decoration: none}:where(a,button,.btn):focus-visible{outline: 2px solid var(--accent);outline-offset: 3px;border-radius: 10px}section[id]{scroll-margin-top: 84px}.grad-text{color: var(--accent)}.nav{position: sticky;top: 0;z-index: 50;background: rgba(255,255,255,0.8);backdrop-filter: blur(14px);border-bottom: 1px solid var(--border);transition: background .45s var(--ease),box-shadow .45s var(--ease),border-color .45s var(--ease)}.nav.scrolled{background: rgba(255,255,255,0.93);box-shadow: 0 6px 24px rgba(20,23,26,.07)}.nav-inner{display: flex;align-items: center;justify-content: space-between;height: 64px}.brand{display: inline-flex;align-items: center;gap: 0.55rem;transition: opacity .25s var(--ease)}.brand:hover{opacity: 0.82}.brand-logo{width: 30px;height: 28px;color: var(--ink);flex: none;transition: transform .45s var(--ease)}.brand:hover .brand-logo{transform: scale(1.06) rotate(-3deg)}.brand-name{font-family: var(--font-sans);font-weight: 700;font-size: 1.18rem;letter-spacing: -0.01em;color: var(--ink)}.nav-links{display: flex;align-items: center;gap: 0.3rem}.nav-links a{position: relative;padding: 0.5rem 0.85rem;border-radius: 10px;color: var(--muted);font-weight: 600;font-size: 0.95rem;white-space: nowrap;transition: color .25s var(--ease)}.nav-links a:hover{color: var(--text)}.nav-links a.active{color: var(--text)}.nav-links a:not(.nav-cta)::after{content: "";position: absolute;left: 0.85rem;right: 0.85rem;bottom: 0.28rem;height: 2px;border-radius: 2px;background: var(--accent);transform: scaleX(0);opacity: 0;transition: transform .3s var(--ease),opacity .3s var(--ease)}.nav-links a:not(.nav-cta):hover::after,.nav-links a:not(.nav-cta).active::after{transform: scaleX(1);opacity: 1}.nav-cta{background: var(--ink);color: #fff !important;transition: transform .3s var(--ease),background .25s var(--ease),box-shadow .3s var(--ease)}.nav-cta:hover{background: #000;transform: translateY(-1px);box-shadow: 0 8px 18px rgba(20,23,26,.22)}.nav-toggle{display: none;flex-direction: column;gap: 5px;background: none;border: 0;cursor: pointer;padding: 8px}.nav-toggle span{width: 24px;height: 2px;background: var(--text);border-radius: 2px;transition: transform .25s,opacity .25s}.nav-toggle.open span:nth-child(1){transform: translateY(7px) rotate(45deg)}.nav-toggle.open span:nth-child(2){opacity: 0}.nav-toggle.open span:nth-child(3){transform: translateY(-7px) rotate(-45deg)}.hero{position: relative;padding: clamp(3.5rem,12vw,6.5rem) 0 clamp(3rem,9vw,5rem);text-align: center}.hero-glow{position: absolute;inset: 0;pointer-events: none;background: radial-gradient(560px 320px at 50% 0%,var(--accent-soft),transparent 70%)}.hero-glow::after{content: "";position: absolute;inset: 0;background: repeating-linear-gradient(to right,var(--border) 0 1px,transparent 1px var(--grid-step)),repeating-linear-gradient(to bottom,var(--border) 0 1px,transparent 1px var(--grid-step));opacity: 0.45;-webkit-mask-image: radial-gradient(115% 85% at 50% 0%,#000 10%,transparent 72%);mask-image: radial-gradient(115% 85% at 50% 0%,#000 10%,transparent 72%)}.hero-inner{position: relative}.hero h1{margin-bottom: 1rem}.lead{font-size: clamp(1.05rem,4vw,1.22rem);max-width: 40rem;margin: 0 auto 2rem}.hero-actions{display: flex;flex-direction: column;gap: 0.8rem;max-width: 22rem;margin: 0 auto}.stats{display: grid;grid-template-columns: repeat(3,minmax(0,1fr));gap: var(--space-4);align-items: start;max-width: 30rem;margin: 2.75rem auto 0}.stat{display: flex;flex-direction: column;gap: 0.15rem;min-width: 0}.stat strong{font-family: var(--font-sans);font-size: clamp(1.5rem,5.5vw,1.8rem);font-weight: 800;font-variant-numeric: tabular-nums;line-height: 1.1;color: var(--text)}.stat span{color: var(--muted);font-size: 0.85rem;line-height: 1.4}.hero-aside{display: grid;gap: var(--space-5);justify-items: center;align-content: center}.hero-aside .stats{margin: 2rem 0 0}.hero-figure{margin: 2rem auto 0;display: flex;flex-direction: column;align-items: center;gap: 0.7rem}.hero-figure img{width: min(180px,58vw);height: auto;aspect-ratio: 360 / 425;border-radius: var(--radius-lg);object-fit: cover;object-position: 50% 22%;background: var(--surface-2);border: 4px solid var(--surface);box-shadow: 0 0 0 1px var(--border),0 16px 34px rgba(20,23,26,.18);transition: transform .5s var(--ease),box-shadow .5s var(--ease)}.hero-figure img:hover{transform: scale(1.03) translateY(-3px);box-shadow: 0 0 0 1px rgba(31,66,135,.35),0 22px 46px rgba(31,66,135,.22)}.hero-portrait-cap{font-size: 0.92rem;font-weight: 600;color: var(--muted)}.hero-portrait-cap strong{color: var(--text);font-weight: 700}.hero-proof{display: flex;flex-direction: column;gap: 0.15rem;max-width: 30rem;margin: 1.4rem auto 0}.hero-proof-quote{font-family: var(--font-display);font-style: italic;color: var(--text);font-size: 1rem;line-height: 1.45}.hero-proof-by{font-size: 0.82rem;font-weight: 600;color: var(--muted)}/* ---------- Two-column "human" hero (homepage only,desktop) ---------- */ @media (min-width: 900px){.hero-home .hero-inner{display: grid;grid-template-columns: 1.1fr 0.9fr;gap: 3rem;align-items: center;text-align: left}.hero-home .hero-copy{text-align: left}.hero-home h1{font-size: clamp(2.5rem,4.6vw,3.5rem)}.hero-home .lead{margin-left: 0;margin-right: 0;max-width: 34rem}.hero-home .hero-actions{justify-content: flex-start;max-width: none;margin: 0}.hero-home .hero-proof{margin-left: 0;margin-right: 0}.hero-home .hero-aside{justify-items: start}.hero-home .stats{margin: 0;max-width: 24rem;width: 100%}.hero-home .hero-figure{margin: 0}.hero-home .hero-figure img{width: 290px}}.availability{display: inline-flex;align-items: center;gap: 0.55rem;font-size: 0.88rem;font-weight: 600;color: var(--text);background: var(--surface);border: 1px solid var(--border);padding: 0.45rem 0.95rem;border-radius: 999px;margin-bottom: 1.5rem;box-shadow: 0 6px 18px rgba(20,23,26,.05);text-align: left}@media (max-width: 560px){.availability{align-items: flex-start;border-radius: var(--radius-sm);line-height: 1.45}.availability .dot{margin-top: 0.42rem}}.availability .dot{width: 9px;height: 9px;border-radius: 50%;background: var(--ok);flex-shrink: 0;box-shadow: 0 0 0 0 rgba(29,157,87,.5);animation: pulseDot 2.4s var(--ease-soft) infinite}@keyframes pulseDot{0%{box-shadow: 0 0 0 0 rgba(29,157,87,.5)}70%{box-shadow: 0 0 0 8px rgba(29,157,87,0)}100%{box-shadow: 0 0 0 0 rgba(29,157,87,0)}}.availability-light{margin-bottom: 1rem}.btn{display: inline-flex;align-items: center;justify-content: center;padding: 0.9rem 1.5rem;border-radius: 999px;font-weight: 700;font-size: 1rem;cursor: pointer;border: 1px solid transparent;transition: transform .4s var(--ease),box-shadow .4s var(--ease),background .25s var(--ease),border-color .25s var(--ease)}.btn:active{transform: translateY(0) scale(.97);transition-duration: .1s}.btn-primary{background: var(--ink);color: #fff;box-shadow: 0 8px 22px rgba(20,23,26,.18)}.btn-primary:hover{background: #000;transform: translateY(-3px);box-shadow: 0 16px 34px rgba(20,23,26,.26)}.btn-ghost{background: var(--surface);color: var(--text);border-color: var(--border-strong)}.btn-ghost:hover{background: var(--surface-2);border-color: var(--text);transform: translateY(-3px)}.btn-block{width: 100%}.trust-bar{background: var(--bg-soft);border-bottom: 1px solid var(--border)}.trust-inner{display: flex;flex-wrap: wrap;justify-content: center;align-items: center;gap: 0.6rem 0.7rem;padding: 1rem 1.25rem}.trust-item{display: inline-flex;align-items: center;gap: 0.45rem;color: var(--text);font-weight: 600;font-size: 0.9rem;background: var(--surface);border: 1px solid var(--border);padding: 0.4rem 0.9rem 0.4rem 0.75rem;border-radius: 999px;box-shadow: 0 1px 2px rgba(20,23,26,.04)}/* The tick belongs to the chip,not the sentence — as a text node it inherited the label's weight and sat on the label's baseline. */ .trust-item::before{content: "✓";flex: none;font-weight: 700;font-size: 0.82em;line-height: 1}.section{padding: clamp(3.5rem,10vw,6rem) 0}.section-alt{background: var(--bg-soft);border-block: 1px solid var(--border)}.section-head{text-align: center;max-width: 40rem;margin: 0 auto 2.5rem}.section-head--start{text-align: left;max-width: 46rem;margin-inline: 0}.eyebrow{display: inline-block;font-family: var(--font-sans);font-size: 0.78rem;font-weight: 700;letter-spacing: 0.14em;text-transform: uppercase;color: var(--accent);margin-bottom: 0.6rem}.sub{font-size: 1.05rem;margin-top: 0.5rem}.grid{display: grid;grid-template-columns: 1fr;gap: var(--space-4)}.card{background: var(--surface);border: 1px solid var(--border);border-radius: var(--radius);padding: var(--space-5);display: flex;flex-direction: column;transition: transform .4s var(--ease),border-color .4s var(--ease),box-shadow .4s var(--ease)}a.card:hover{transform: translateY(-5px);border-color: rgba(31,66,135,.45);box-shadow: 0 18px 40px rgba(20,23,26,.10)}.card-icon{display: grid;place-items: center;width: 48px;height: 48px;border-radius: var(--radius-sm);background: var(--grad);color: #fff;font-size: 1.5rem;line-height: 1;margin-bottom: 1rem}.card h3{margin-bottom: 0.4rem}.card p{margin: 0}.card p:not(:last-child){margin-bottom: var(--space-4)}.price{margin-top: 1.2rem;font-family: var(--font-sans);font-size: 1.7rem;font-weight: 800;font-variant-numeric: tabular-nums;letter-spacing: -0.02em;line-height: 1.1;color: var(--text)}.price span{font-size: 0.95rem;font-weight: 600;letter-spacing: 0;color: var(--muted)}a.card{color: inherit}.card .price{margin-top: auto}.card-more{display: inline-flex;align-items: center;gap: 0.35rem;margin-top: 1rem;font-weight: 700;font-size: 0.9rem;color: var(--accent)}.card-more .arrow{transition: transform .3s var(--ease)}a.card:hover .card-more .arrow{transform: translateX(3px)}.card-icon{transition: transform .45s var(--ease)}a.card:hover .card-icon{transform: rotate(-6deg) scale(1.08)}.crumbs{font-size: 0.85rem;font-weight: 600;color: var(--muted);margin-bottom: 1.1rem}.crumbs a{color: var(--accent)}.crumbs a:hover{text-decoration: underline}.crumbs span{margin: 0 0.4rem;color: var(--border-strong)}/* ---------- What's covered (subject pages) ---------- */
.topic-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.topic-list { list-style: none; margin: 0.4rem 0 0; display: grid; gap: 0.55rem; }
.topic-list li { position: relative; padding-left: 1.7rem; color: var(--text); font-weight: 500; font-size: 0.97rem; }
.topic-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.12rem;
  width: 1.25rem; height: 1.25rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 0.72rem; font-weight: 700; line-height: 1;
}

/* ---------- Price band (subject pages) ---------- */
.price-band {
  margin-top: 1.6rem; display: grid; gap: 1.1rem;
  background: linear-gradient(135deg, var(--accent-soft), rgba(31, 66, 135, .03));
  border: 1px solid rgba(31, 66, 135, .18); border-radius: var(--radius); padding: var(--space-5);
}
.price-band-label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--text); }
.price-band-note { margin: 0.3rem 0 0; }
.price-band-right { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.price-band .price { margin: 0; }
@media (min-width: 700px) {
  .price-band { grid-template-columns: 1fr auto; align-items: center; }
  .price-band-right { justify-content: flex-end; }
}

/* ---------- Hover affordance ----------
   Movement means "this does something". Steps, results, reviews, the profile
   and the covered-topic cards are all read-only, so they settle under the
   pointer instead of lifting, and they keep the neutral edge — the accent
   border stays reserved for things you can click. */
.step, .result-card, .review-card, .profile-card, article.card {
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover, .result-card:hover, .review-card:hover, .profile-card:hover, article.card:hover {
  border-color: var(--border-strong); box-shadow: 0 10px 26px rgba(20, 23, 26, .07);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--font-sans); font-weight: 800; color: #fff; background: var(--grad); margin-bottom: 0.9rem; }
.step h3 { margin-bottom: 0.3rem; }
.step p { margin: 0; }

/* ---------- What lessons look like ---------- */
.lesson-showcase {
  background: radial-gradient(900px 440px at 50% -12%, var(--accent-soft), transparent 70%), var(--bg);
  border-top: 1px solid var(--border);
}
.lesson-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
/* Positioned so the pause control can sit over the clip. The figcaption is
   below the video, so the figure's top-right corner is the video's. */
.lesson-figure { margin: 0; position: relative; }

/* Injected by main.js, so it only exists where there is something to pause —
   a no-JS visitor never gets autoplay and never sees a dead button. */
.video-toggle {
  position: absolute; top: 0.85rem; right: 0.85rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(20, 23, 26, .62);
  color: #fff; cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.video-toggle:hover { background: rgba(20, 23, 26, .85); transform: translateY(-2px); }
.video-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.video-toggle svg { width: 18px; height: 18px; display: block; }
/* One SVG carries both glyphs; the class decides which is showing. */
.video-toggle .video-toggle-play { display: none; }
.video-toggle.is-paused .video-toggle-pause { display: none; }
.video-toggle.is-paused .video-toggle-play { display: inline; }
.lesson-figure img, .lesson-figure video {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg);
  background: var(--surface-2); border: 4px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border), 0 18px 44px rgba(20, 23, 26, .18);
}
.lesson-figure figcaption { margin-top: 0.9rem; font-size: 0.9rem; font-weight: 600; color: var(--muted); text-align: center; }
.lesson-points { list-style: none; display: grid; gap: 1rem; }
.lesson-points li {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.25rem 1.15rem 3.1rem;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.lesson-points li:hover { border-color: var(--border-strong); box-shadow: 0 10px 26px rgba(20, 23, 26, .07); }
.lesson-points li::before {
  content: "✓"; position: absolute; left: 1.1rem; top: 1.3rem;
  width: 1.5rem; height: 1.5rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--grad); color: #fff; font-size: 0.82rem; font-weight: 700; line-height: 1;
}
.lesson-points h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.lesson-points p { margin: 0; font-size: 0.96rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.cred-label { margin-top: 1.4rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.credentials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.cred {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(31, 66, 135, .2);
  padding: 0.42rem 0.85rem; border-radius: 999px;
}
.check-list { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--text); font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.2rem;
  width: 1.4rem; height: 1.4rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--grad); color: #fff; font-size: 0.8rem; font-weight: 700; line-height: 1;
}
.profile-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); text-align: center; box-shadow: 0 12px 34px rgba(20, 23, 26, .06); }
.avatar-photo { display: block; width: 118px; height: 118px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; margin: 0 auto 1.1rem; background: var(--surface-2); border: 1px solid var(--border); box-shadow: 0 10px 26px rgba(20, 23, 26, .14); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.profile-card:hover .avatar-photo { transform: scale(1.04); box-shadow: 0 16px 36px rgba(31, 66, 135, .2); }
.profile-card h3 { font-size: 1.4rem; }
.profile-role { color: var(--accent); font-weight: 600; margin: 0.3rem 0 1rem; }
.profile-card > p:last-child { margin: 0; }

/* ---------- Results & reviews ----------
   Composed rather than tiled: the grade jump takes a column of its own and the
   two quotes stack beside it, so the proof carries the weight it has earned. */
.results-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.results-reviews { display: grid; gap: var(--space-4); align-content: start; }
.result-card, .review-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); display: flex; flex-direction: column; }
.result-card { align-items: center; text-align: center; }
.result-card .result-tag { align-self: center; }
.result-feature {
  justify-content: center;
  padding: var(--space-6) var(--space-5);
  background: linear-gradient(135deg, var(--accent-soft), rgba(31, 66, 135, .03));
  border-color: rgba(31, 66, 135, .18);
}
.result-feature .result-jump { font-size: clamp(2.6rem, 9vw, 3.9rem); margin-bottom: 1.1rem; }
.result-feature > p { font-size: 1.05rem; max-width: 22rem; }
.result-tag { align-self: flex-start; font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(31, 66, 135, .2); padding: 0.28rem 0.65rem; border-radius: 999px; margin-bottom: 1rem; }
.result-jump { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-size: clamp(2.4rem, 9vw, 3.2rem); font-weight: 700; line-height: 1; margin-bottom: 0.9rem; }
/* A word sitting inside the oversized jump line (e.g. "A -> Physics") rides at
   half the display size so it reads as a label, not a second figure. */
.result-jump-word { font-size: 0.5em; align-self: center; }
.result-jump .arrow { color: var(--muted); font-size: 0.65em; }
.result-card p, .review-card > p { color: var(--text); margin: 0; }
.result-card strong { color: var(--accent); }

/* Confirmation tick above the heading on thank-you.html. */
.confirm-tick { color: var(--accent); margin-bottom: 1.25rem; }
.quote-mark { font-family: Georgia, "Times New Roman", serif; font-size: 3rem; line-height: 0.7; color: var(--accent); height: 1.5rem; }
.review-card > p { font-size: 1.1rem; font-weight: 500; margin-bottom: var(--space-4); }
.review-by { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.review-by .avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; flex-shrink: 0; }
.review-by strong { display: block; }
.review-by span { color: var(--muted); font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.faq-item[open] { border-color: var(--border-strong); box-shadow: 0 14px 30px rgba(20, 23, 26, .07); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { flex-shrink: 0; font-family: var(--font-sans); font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .3s var(--ease); }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.3rem 1.25rem; }
.faq-answer p { margin: 0; }
.faq-answer strong { color: var(--text); font-weight: 700; }
.faq-item[open] .faq-answer { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- CTA / contact ---------- */
.cta-card {
  background: linear-gradient(135deg, var(--accent-soft), rgba(31, 66, 135, .03));
  border: 1px solid rgba(31, 66, 135, .18); border-radius: var(--radius-lg); padding: clamp(1.6rem, 6vw, 3rem);
  display: grid; gap: 1.5rem;
}
.cta-copy h2 { margin-bottom: 0.5rem; }
.contact-email { display: inline-block; color: var(--accent); font-weight: 600; word-break: break-word; text-align: center; }
.contact-email:hover { text-decoration: underline; }
.quick-contact { margin-top: 1.4rem; display: grid; gap: 0.85rem; }
.btn-whatsapp { background: #25d366; color: #06231a; }
.btn-whatsapp:hover { filter: brightness(1.06); }
.wa-icon { margin-right: 0.55rem; flex-shrink: 0; }
.btn-call { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(31, 66, 135, .20); }
.btn-call:hover { background: var(--accent-dark); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(31, 66, 135, .28); }
.call-icon { margin-right: 0.55rem; flex-shrink: 0; }
.fine-print { color: var(--muted); font-size: 0.82rem; line-height: 1.5; margin: 0.3rem 0 0; text-align: center; }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 1rem; align-content: start; }
.field { display: grid; gap: 0.4rem; }
.field label, .field-label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field .opt { color: var(--muted); font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 112px; line-height: 1.55; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); opacity: 0.85; }
.contact-form .btn-primary { margin-top: 0.2rem; }
.contact-form .fine-print { text-align: left; margin-top: 0; }

/* Subject picker — modern selectable chips (replaces native select) */
.subject-picker { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.subject-chip { display: inline-flex; cursor: pointer; }
.subject-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.subject-chip-face {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  font-size: 0.92rem; font-weight: 600; line-height: 1;
  color: var(--text); background: var(--surface);
  border: 1.5px solid var(--border-strong); border-radius: 999px;
  white-space: nowrap; user-select: none;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.subject-chip-face::before {
  content: ""; flex: none;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--border-strong); background: var(--surface);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.subject-chip:hover .subject-chip-face { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
.subject-chip:hover .subject-chip-face::before { border-color: var(--accent); }
.subject-chip input:checked + .subject-chip-face {
  border-color: var(--accent); background: var(--accent); color: #fff;
  box-shadow: 0 8px 20px rgba(31,66,135,.22);
}
.subject-chip input:checked + .subject-chip-face::before { border-color: #fff; background: #fff; }
.subject-chip input:focus-visible + .subject-chip-face { box-shadow: 0 0 0 3px var(--accent-soft); }
.subject-chip input:checked:focus-visible + .subject-chip-face { box-shadow: 0 8px 20px rgba(31,66,135,.22), 0 0 0 3px var(--accent-soft); }
.subject-chip:active .subject-chip-face { transform: translateY(0); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { margin: 0; font-size: 0.92rem; font-weight: 600; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status--success { color: var(--ok); }
.form-status--error { color: #c0392b; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 2.75rem 0 1.5rem; }
.footer-inner { display: grid; gap: 2.25rem; }
.footer p { font-size: 0.9rem; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.footer-blurb { margin: 0; max-width: 24rem; color: var(--muted); }

/* Four link columns, so every commercial page is one click from all 31 pages
   rather than the legal pages alone carrying a sitewide link. */
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
.footer-col-title {
  margin: 0 0 0.75rem; font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a, .footer-col .cookie-prefs-link {
  font-size: 0.9rem; color: var(--muted); transition: color .25s var(--ease);
}
.footer-col a:hover, .footer-col a:focus-visible, .footer-col .cookie-prefs-link:hover { color: var(--accent); }
/* Matches .cookie-prefs-link: with JS off there is no preference to change. */
.footer-prefs { display: none; }
.js .footer-prefs { display: block; }

.footer-bottom { border-top: 1px solid var(--border); margin-top: 2.25rem; padding-top: 1.25rem; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* Full brand lockup (footer): graph mark + divider + wordmark + tagline */
.logo { display: inline-flex; align-items: center; gap: 0.85rem; transition: opacity .25s var(--ease); }
.logo:hover { opacity: 0.82; }
.logo-mark { width: 46px; height: 43px; color: var(--ink); flex: none; }
.logo-axis { fill: var(--muted); font-family: var(--font-display); font-style: italic; }
.logo-rule { align-self: stretch; width: 1px; background: var(--border-strong); }
.logo-text { display: flex; flex-direction: column; gap: 0.22rem; line-height: 1; text-align: left; }
.logo-name { font-family: var(--font-sans); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.01em; color: var(--ink); }
.logo-tag { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.footer-social { display: inline-flex; gap: 0.5rem; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--muted); border: 1px solid var(--border);
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.social-link svg { width: 18px; height: 18px; display: block; }
.social-link:hover, .social-link:focus-visible { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Sticky mobile CTA (shown only on small screens via media query) ---------- */
.mobile-cta { display: none; }

/* ---------- Reveal on scroll ----------
   Driven by a keyframe on `translate` rather than a transition on `transform`.
   A transition here would occupy the element's single `transition` property and silently cancel the hover transitions the cards below rely on;`translate` is its own property,so the entrance and a hover lift can coexist. */ .js .reveal{opacity: 0}.js .reveal.in{opacity: 1;animation: revealIn .55s var(--ease) both;animation-delay: var(--rd,0ms)}@keyframes revealIn{from{opacity: 0;translate: 0 12px}to{opacity: 1;translate: 0 0}}@media (prefers-reduced-motion: reduce){.js .reveal,.reveal{opacity: 1 !important;transform: none !important;translate: none !important;filter: none !important;transition: none !important;animation: none !important}.availability .dot{animation: none !important}*,*::before,*::after{animation-duration: .001ms !important;animation-iteration-count: 1 !important;transition-duration: .001ms !important}html{scroll-behavior: auto}}@media (min-width: 600px){.hero-actions{flex-direction: row;justify-content: center;max-width: none}.grid{grid-template-columns: repeat(2,1fr)}.steps{grid-template-columns: repeat(3,1fr)}.results-grid{grid-template-columns: 1fr 1fr}.form-row{grid-template-columns: 1fr 1fr}.footer-nav{grid-template-columns: repeat(4,minmax(0,1fr))}}@media (min-width: 900px){.grid{grid-template-columns: repeat(4,1fr)}.about-grid{grid-template-columns: 1.1fr 0.9fr;gap: 3rem}.lesson-grid{grid-template-columns: 1.3fr 0.8fr;gap: 3rem}.results-grid{grid-template-columns: 1.05fr 0.95fr}.cta-card{grid-template-columns: 1fr 1fr;align-items: start;gap: 2.5rem}.footer-inner{grid-template-columns: minmax(0,1fr) minmax(0,2.1fr);gap: 3.5rem;align-items: start}}/* ---------- Mobile nav ---------- Eight links plus the wordmark need ~800px before "How it works" wraps and pushes the 64px bar out of shape,so the toggle takes over at 860px rather than waiting for phone widths. */ @media (max-width: 860px){.nav-toggle{display: flex}.nav-links{position: fixed;inset: 64px 0 auto 0;flex-direction: column;align-items: stretch;gap: 0.25rem;background: rgba(255,255,255,0.98);backdrop-filter: blur(14px);border-bottom: 1px solid var(--border);padding: 1rem 1.25rem 1.5rem;transform: translateY(-120%);visibility: hidden;transition: transform .3s ease,visibility .3s ease;box-shadow: 0 16px 40px rgba(20,23,26,.12)}.nav-links.open{transform: translateY(0);visibility: visible}.nav-links a{padding: 0.9rem 1rem;font-size: 1.05rem}.nav-cta{text-align: center;margin-top: 0.5rem}}@media (max-width: 760px){.mobile-cta{display: grid;grid-template-columns: 1fr 1fr;gap: 0.6rem;position: fixed;left: 0;right: 0;bottom: 0;z-index: 60;padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom,0px));background: transparent;transform: translateY(130%);visibility: hidden;transition: transform .35s var(--ease),visibility .35s var(--ease);pointer-events: none}.mobile-cta.show{transform: translateY(0);visibility: visible}.mobile-cta .btn{padding: 0.8rem 0.5rem;font-size: 0.92rem;pointer-events: auto;box-shadow: 0 6px 20px rgba(20,23,26,.28)}.mobile-cta .btn-call:hover,.mobile-cta .btn-whatsapp:hover{transform: none;box-shadow: 0 6px 20px rgba(20,23,26,.28)}}.page-header{padding: clamp(2.5rem,8vw,4rem) 0 clamp(1.25rem,3vw,1.75rem)}.page-header .crumbs{margin-bottom: 1rem}.page-header h1{font-size: clamp(2.1rem,7vw,3.1rem);margin-bottom: 0.8rem}.page-header .lead{max-width: 44rem;margin: 0;text-align: left}.guide-grid{display: grid;gap: var(--space-4);max-width: 760px;margin: 0 auto}.guide-card{display: block;color: inherit;background: var(--surface);border: 1px solid var(--border);border-radius: var(--radius);padding: var(--space-5);transition: transform .4s var(--ease),border-color .4s var(--ease),box-shadow .4s var(--ease)}.guide-card:hover{transform: translateY(-4px);border-color: rgba(31,66,135,.45);box-shadow: 0 18px 40px rgba(20,23,26,.10)}.guide-tag{display: inline-block;font-family: var(--font-sans);font-size: 0.72rem;font-weight: 700;letter-spacing: 0.08em;text-transform: uppercase;color: var(--accent);background: var(--accent-soft);border: 1px solid rgba(31,66,135,.2);padding: 0.28rem 0.65rem;border-radius: 999px}.guide-card h2,.guide-card h3{font-size: 1.4rem;margin: 0.9rem 0 0.5rem}.guide-card p{margin: 0}.guide-card .card-more{margin-top: 1rem}.guide-card:hover .card-more .arrow{transform: translateX(3px)}.guide-meta{display: block;margin-top: 0.9rem;font-size: 0.85rem;font-weight: 600;color: var(--muted)}.article{max-width: 720px;margin: 0 auto}.article h1{font-size: clamp(2rem,6vw,2.9rem);margin-bottom: 0.7rem}.article-meta{margin: 0 0 1.8rem;font-size: 0.85rem;font-weight: 600;color: var(--muted)}.article-lead{font-size: clamp(1.08rem,3.5vw,1.25rem);color: var(--text);font-weight: 500;margin-bottom: 1.2rem}.article h2{font-size: clamp(1.45rem,5vw,1.85rem);margin: 2.4rem 0 0.8rem}.article h3{font-size: 1.15rem;margin: 1.6rem 0 0.5rem}.article p{margin: 0 0 1.1rem;color: var(--text)}.article ul{margin: 0 0 1.2rem;padding: 0;list-style: none;display: grid;gap: 0.6rem}.article li{position: relative;padding-left: 1.7rem;color: var(--text)}.article li::before{content: "✓";position: absolute;left: 0;top: 0.22rem;width: 1.25rem;height: 1.25rem;display: grid;place-items: center;border-radius: 50%;background: var(--accent-soft);color: var(--accent);font-size: 0.72rem;font-weight: 700;line-height: 1}.article strong{color: var(--text);font-weight: 700}.article a:not(.btn){color: var(--accent);font-weight: 600;text-decoration: underline;text-underline-offset: 2px}.cookie-table-wrap{margin: 0 0 1.2rem;overflow-x: auto;-webkit-overflow-scrolling: touch}.cookie-table{width: 100%;border-collapse: collapse;font-size: 0.92rem;min-width: 520px}.cookie-table th,.cookie-table td{padding: 0.7rem 0.85rem;text-align: left;vertical-align: top;border: 1px solid var(--border);color: var(--text)}.cookie-table thead th{background: var(--surface-2);font-weight: 700;border-bottom-color: var(--border-strong)}.cookie-table td code{font-size: 0.86rem}/* "In this guide" contents box */ .toc{background: var(--surface-2);border: 1px solid var(--border);border-radius: var(--radius);padding: 1.2rem 1.4rem;margin: 0 0 2rem}.toc p{margin: 0 0 0.6rem;font-family: var(--font-sans);font-size: 0.78rem;font-weight: 700;letter-spacing: 0.12em;text-transform: uppercase;color: var(--muted)}.toc ul{margin: 0;padding: 0;list-style: none;display: grid;gap: 0.45rem}.toc a{color: var(--accent);font-weight: 600}.toc a:hover{text-decoration: underline}.callout{background: linear-gradient(135deg,var(--accent-soft),rgba(31,66,135,.03));border: 1px solid rgba(31,66,135,.18);border-left: 4px solid var(--accent);border-radius: var(--radius-sm);padding: 1.2rem 1.4rem;margin: 0 0 1.6rem}.callout p{margin: 0;color: var(--text)}.callout strong{color: var(--accent)}.guide-cta{max-width: 720px;margin: 0 auto;text-align: center;background: linear-gradient(135deg,var(--accent-soft),rgba(31,66,135,.03));border: 1px solid rgba(31,66,135,.18);border-radius: var(--radius-lg);padding: clamp(1.6rem,5vw,2.4rem)}.guide-cta h2{margin-bottom: 0.5rem}.guide-cta p{margin: 0 auto 1.4rem;max-width: 34rem}.guide-cta .hero-actions{margin-top: 0}.guides-more{text-align: center;margin-top: 1.6rem}.guide-note{margin-top: 1.6rem}.callout a{color: var(--accent);font-weight: 700;text-decoration: underline;text-underline-offset: 2px}.article-related{margin: 2.4rem 0 0;padding-top: 1.4rem;border-top: 1px solid var(--border);font-size: 0.96rem;color: var(--muted)}.article-related strong{color: var(--text)}.skip-link{position: fixed;top: 0.6rem;left: 0.6rem;z-index: 100;background: var(--ink);color: #fff;padding: 0.7rem 1.1rem;border-radius: var(--radius-sm);font-weight: 700;font-size: 0.95rem;box-shadow: 0 8px 22px rgba(20,23,26,.28);transform: translateY(calc(-100% - 1rem));transition: transform .2s var(--ease)}.skip-link:focus{transform: translateY(0);outline: 2px solid #fff;outline-offset: 2px}main:focus,.nav:focus{outline: none}.nav-links a[aria-current="page"]{color: var(--text)}.nav-links a[aria-current="page"]:not(.nav-cta)::after{transform: scaleX(1);opacity: 1}.guide-filter{display: flex;flex-wrap: wrap;justify-content: center;gap: 0.5rem;max-width: 760px;margin: 0 auto 1.75rem}.guide-filter-btn{font-family: inherit;font-size: 0.9rem;font-weight: 600;cursor: pointer;color: var(--text);background: var(--surface);border: 1.5px solid var(--border-strong);border-radius: 999px;padding: 0.5rem 1rem;line-height: 1;transition: border-color .25s var(--ease),background-color .25s var(--ease),color .25s var(--ease),transform .25s var(--ease)}.guide-filter-btn:hover{border-color: var(--accent);background: var(--accent-soft);transform: translateY(-1px)}.guide-filter-btn[aria-pressed="true"]{background: var(--accent);border-color: var(--accent);color: #fff;box-shadow: 0 8px 20px rgba(31,66,135,.22)}.guide-filter-status{max-width: 760px;margin: -1.25rem auto 1.5rem;text-align: center;font-size: 0.9rem;color: var(--muted)}.guide-card[hidden]{display: none}.read-progress{position: fixed;top: 0;left: 0;height: 3px;width: 0;background: var(--grad);z-index: 65;transition: width .1s linear}.to-top{position: fixed;right: 1.25rem;bottom: 1.25rem;z-index: 60;width: 46px;height: 46px;display: grid;place-items: center;background: var(--ink);color: #fff;border: 0;border-radius: 50%;cursor: pointer;box-shadow: 0 8px 22px rgba(20,23,26,.28);opacity: 0;visibility: hidden;transform: translateY(10px);transition: opacity .3s var(--ease),transform .3s var(--ease),visibility .3s var(--ease),background .25s var(--ease)}.to-top.show{opacity: 1;visibility: visible;transform: translateY(0)}.to-top:hover{background: #000;transform: translateY(-2px)}.to-top svg{width: 20px;height: 20px;display: block}@media (max-width: 760px){.to-top{right: 1rem;bottom: calc(4.75rem + env(safe-area-inset-bottom,0px))}}@media (prefers-reduced-motion: reduce){.read-progress{transition: none}.skip-link,.to-top{transition: opacity .15s linear}}/* ============================================================ Cookie consent banner ============================================================ Deliberately not a modal and not an overlay: a cookie wall would make consent conditional on access,which isn't freely given. The page stays
   readable and scrollable underneath while the banner is up. */
.cc {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 0 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  transition: transform .45s var(--ease);
}
.cc[hidden] { display: none; }
.cc.cc-in { transform: translateY(0); }
.cc:focus { outline: none; }

.cc-inner {
  width: 100%;
  max-width: 660px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(20, 23, 26, .20);
  padding: var(--space-5);
}

.cc-title { font-size: 1.15rem; font-weight: 700; }
.cc-desc { font-size: 0.88rem; margin-top: 0.4rem; }
.cc-desc a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Accept and Reject share one row at identical width. Equal prominence is
   the requirement people most often get wrong — a quieter "reject" makes
   the consent invalid, so the grid enforces it rather than trusting CSS
   further down to stay in step. */
.cc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: var(--space-4);
}
.cc-btn { padding: 0.8rem 1rem; font-size: 0.95rem; background: var(--ink); color: #fff; }
.cc-btn:hover { background: #000; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 23, 26, .22); }
.cc-btn--quiet {
  grid-column: 1 / -1;
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.cc-btn--quiet:hover { background: var(--surface-2); border-color: var(--text); color: var(--text); box-shadow: none; }
.cc-btn[hidden] { display: none; }

.cc-options {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  display: grid;
  gap: var(--space-4);
}
.cc-options[hidden] { display: none; }
.cc-row-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.cc-row-title { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.cc-row-body { font-size: 0.82rem; margin-top: 0.3rem; }
.cc-always {
  font-size: 0.72rem; font-weight: 700; color: var(--ok);
  background: rgba(29, 157, 87, .1);
  padding: 0.15rem 0.55rem; border-radius: 999px; flex: none;
}

/* A real checkbox, visually replaced — keeps native keyboard and screen
   reader behaviour that a div-with-role would have to reimplement. */
.cc-switch { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.cc-switch-track {
  position: relative; flex: none;
  width: 38px; height: 22px; border-radius: 999px;
  background: var(--border-strong);
  transition: background .25s var(--ease);
}
.cc-switch-track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff;
  transition: transform .25s var(--ease);
}
.cc-switch input:checked + .cc-switch-track { background: var(--accent); }
.cc-switch input:checked + .cc-switch-track::after { transform: translateX(16px); }
.cc-switch input:focus-visible + .cc-switch-track { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Withdrawing consent has to be as easy as giving it, so this lives in the
   footer of every page. JS-only, because with JS off nothing is set anyway. */
.cookie-prefs-link {
  display: none;
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
}
.js .cookie-prefs-link { display: inline; }
.cookie-prefs-link:hover { color: var(--accent); text-decoration: underline; }

/* The sticky mobile CTA occupies the same corner — stand it down rather
   than let the two stack. Both need visibility, not just a transform or an
   opacity: the banner is the thing a visitor is being asked to answer, and
   tabbing to it should not pass through controls that are no longer on
   screen. This has to beat .mobile-cta.show, which main.js toggles from
   scroll position and which knows nothing about the banner. */
body.cc-visible .mobile-cta { transform: translateY(130%); visibility: hidden; }
body.cc-visible .to-top { opacity: 0; visibility: hidden; }

@media (max-width: 560px) {
  .cc { padding: 0 0.6rem calc(0.6rem + env(safe-area-inset-bottom, 0px)); }
  .cc-inner { padding: var(--space-4); }
  .cc-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .cc { transition: none; }
  .cc-switch-track, .cc-switch-track::after { transition: none; }
}

/* ============================================================
   Grade boundaries page (edexcel-maths-grade-boundaries.html)
   ============================================================ */

/* Jump links under the page header */
.gb-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.gb-jump a {
  font-size: 0.9rem; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border-strong);
  border-radius: 999px; padding: 0.5rem 1rem; line-height: 1;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.gb-jump a:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }

/* Keep the data sections readable rather than full-bleed wide */
.gb-container { max-width: 860px; }

/* Screen-reader-only text (used for table captions and footnote markers) */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Boundary tables. The wrapper scrolls sideways on small screens, so it is
   focusable (tabindex="0") for keyboard users; give that focus a visible ring. */
.gb-table-wrap { margin: 0 0 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.gb-table-wrap:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gb-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; font-variant-numeric: tabular-nums; }
.gb-table th, .gb-table td { padding: 0.55rem 0.8rem; text-align: center; border-bottom: 1px solid var(--border); }
.gb-table thead th { background: var(--surface-2); font-weight: 700; border-bottom-color: var(--border-strong); position: sticky; top: 0; }
.gb-table tbody th { text-align: left; font-weight: 600; white-space: nowrap; background: var(--surface); }
.gb-table tbody tr:last-child th, .gb-table tbody tr:last-child td { border-bottom: 0; }
.gb-table tbody tr:hover td, .gb-table tbody tr:hover th { background: var(--accent-soft); }
.gb-table .gb-key { background: var(--accent-soft); font-weight: 700; }

/* Captions and notes */
.gb-max { font-size: 0.88rem; font-weight: 600; color: var(--muted); margin: 0 0 0.6rem; }
.gb-note { font-size: 0.86rem; color: var(--muted); margin: 0.4rem 0 0; }
.gb-fineprint { font-size: 0.86rem; color: var(--muted); margin: 1.4rem 0 0; }
.gb-fineprint a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Paper switcher chips: reuse the guide-filter look, left aligned */
.gb-chips { justify-content: flex-start; margin: 0 0 0.9rem; max-width: none; }

/* Further Maths module picker */
/* Stood down whenever the picked papers aren't a combination Edexcel offers,so no table ever outlives the selection that produced it. */ .gb-results[hidden]{display: none}.gb-picker-label{font-weight: 600;margin: 0 0 0.7rem}.gb-picker{margin-bottom: 1rem}Scoped to :not(:checked) — an idea taken from the closed PR #55 — so the marker vanishes the moment the visitor re-ticks that chip. Without the guard,a chip re-selected inside the 1.6s window keeps a "we removed
   this" ring,and the pulse animates background against the checked state's accent fill,which is two rules disagreeing about one chip. */ .gb-dropped input:not(:checked) + .subject-chip-face{border-color: var(--accent);box-shadow: 0 0 0 3px var(--accent-soft);animation: gb-dropped-pulse 1.6s var(--ease)}@keyframes gb-dropped-pulse{0%,55%{background: var(--accent-soft)}100%{background: var(--surface)}}@media (prefers-reduced-motion: reduce){.gb-dropped input:not(:checked) + .subject-chip-face{animation: none;background: var(--accent-soft)}}.gb-msg{font-size: 0.92rem;font-weight: 600;color: var(--accent);margin: 0 0 1rem;min-height: 1.2em}#gbFmApp h3,#gbFmStatic h3,#gbAlStatic h3,#gbGhStatic h3,#gbGfStatic h3{font-size: 1.15rem;margin: 1.6rem 0 0.5rem}.gb-faq{max-width: 46rem}.gb-faq h3{font-size: 1.15rem;margin: 1.6rem 0 0.5rem}.gb-faq h3:first-child{margin-top: 0}.gb-faq p{margin: 0}