/* /ib-predicted-papers/ : generic IB predicted papers landing page, 17 Nov 2026. This page only (body.pl).
   Generated markup: tools/predicted_landing_page.py. Loaded after css/site-2026.css. Light mode only.
   Tokens come from site-2026.css: --ink --ink2 --navy --gold --goldt --line --chalk --fu --fd --s26-max --s26-gut. */

body.pl { background: #fff; color: var(--ink); font-family: var(--fu); }
body.pl .pl-main { display: block; overflow-x: clip; }
body.pl .pl-wrap {
  max-width: calc(var(--s26-max) + var(--s26-gut) * 2);
  margin-inline: auto;
  padding-inline: var(--s26-gut);
}
body.pl .pl-main a { color: var(--navy); text-underline-offset: 3px; }
body.pl .pl-main a:hover { color: var(--ink); }
body.pl .pl-main a.s26-btn { text-decoration: none; }
body.pl .pl-main a.s26-btn--gold { color: var(--ink); }
body.pl .pl-main a.s26-btn--navy { color: #fff; }
body.pl .pl-main a.s26-btn--line { color: var(--ink); }
body.pl .pl-main a.s26-btn--line:hover { color: #fff; }
body.pl .pl-main a:focus-visible, body.pl .pl-main summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- shared type ---------- */
body.pl .pl-main h2 {
  font: 500 clamp(28px, 3.3vw, 42px) / 1.14 var(--fd);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: balance;
}
body.pl .pl-sec h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--gold);
  margin: 0 0 18px;
}
body.pl .pl-main h3 { font: 600 19px / 1.3 var(--fu); color: var(--ink); margin: 0 0 8px; }
body.pl .pl-intro { font: 400 clamp(16px, 1.5vw, 18px) / 1.65 var(--fu); color: var(--ink2); max-width: 720px; margin: 0 0 6px; }
body.pl .pl-sec { padding: clamp(44px, 6vw, 84px) 0; scroll-margin-top: 90px; }
body.pl .pl-sec--chalk { background: var(--chalk); }
body.pl .pl-label, body.pl .pl-eyebrow {
  font: 600 12px / 1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--goldt);
  margin: 0;
}

/* ---------- hero ---------- */
body.pl .pl-hero { padding: clamp(18px, 3vw, 40px) 0 clamp(36px, 5vw, 64px); }
body.pl .pl-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
body.pl .pl-crumb { font: 400 14px / 1.4 var(--fu); color: var(--ink2); margin: 0 0 clamp(14px, 2.4vw, 26px); }
body.pl .pl-crumb a { color: var(--ink2); }
body.pl .pl-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
body.pl .pl-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex: none; }
body.pl .pl-hero h1 {
  font: 500 clamp(34px, 5vw, 62px) / 1.06 var(--fd);
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
body.pl .pl-hero h1 span { font-style: italic; color: var(--goldt); }
body.pl .pl-lede { font: 400 clamp(16px, 1.5vw, 19px) / 1.6 var(--fu); color: var(--ink2); margin: 0; max-width: 640px; }

body.pl .pl-status {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 6px;
  padding: 22px 24px 20px;
  margin-top: 24px;
  box-shadow: 0 22px 44px -30px rgba(13, 31, 60, 0.45);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
body.pl .pl-status h2 { font: 500 clamp(24px, 2.4vw, 30px) / 1.15 var(--fd); margin: 8px 0 12px; }
body.pl .pl-status h2::before { display: none; }
body.pl .pl-status p { margin: 0; }
body.pl .pl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff4d6;
  color: var(--goldt);
  border: 1px solid rgba(240, 165, 0, 0.55);
  border-radius: 999px;
  padding: 5px 12px;
  font: 600 12px / 1 var(--fu);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body.pl .pl-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
body.pl .pl-status__text { font: 400 16px / 1.55 var(--fu); color: var(--ink2); margin: 14px 0 18px !important; }
body.pl .pl-status .s26-btn { width: 100%; white-space: normal; padding-block: 14px; line-height: 1.25; }
body.pl .pl-status__more { margin-top: 14px !important; font: 600 15px / 1.3 var(--fu); }

body.pl .pl-stats { margin-top: clamp(28px, 4vw, 48px); }
body.pl .pl-stats__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
body.pl .pl-stats__row > div { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
body.pl .pl-stats__row strong { display: block; font: 500 clamp(28px, 3.4vw, 40px) / 1.05 var(--fd); color: var(--ink); }
body.pl .pl-stats__row span { display: block; font: 400 15px / 1.4 var(--fu); color: var(--ink2); margin-top: 6px; }
body.pl .pl-stats__note { margin: 14px 0 0; font: 400 14px / 1.4 var(--fu); }

@media (min-width: 560px) {
  body.pl .pl-stats__row { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  body.pl .pl-stats__row > div { border-bottom: 0; border-left: 1px solid var(--line); padding: 18px 16px 18px 22px; }
  body.pl .pl-stats__row > div:first-child { border-left: 0; padding-left: 0; }
}
@media (min-width: 960px) {
  body.pl .pl-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); column-gap: clamp(40px, 6vw, 88px); }
  body.pl .pl-hero__grid > :not(.pl-status):not(.pl-stats) { grid-column: 1; }
  body.pl .pl-status { grid-column: 2; grid-row: 2 / span 4; align-self: start; margin-top: 4px; }
  body.pl .pl-stats { grid-column: 1 / -1; }
}
/* phones: the status card follows the headline so both fit the first screen */
@media (max-width: 959px) {
  body.pl .pl-lede { order: 5; }
  body.pl .pl-status { order: 4; margin: 4px 0 20px; }
  body.pl .pl-stats { order: 6; }
}
@media (max-width: 559px) {
  body.pl .pl-hero__grid { display: flex; flex-direction: column; }
  body.pl .pl-status { padding: 18px 18px 16px; }
  body.pl .pl-status__text { margin: 10px 0 14px !important; font-size: 15px; }
  body.pl .pl-hero h1 { font-size: 34px; margin-bottom: 16px; }
}

/* ---------- why-hard: five icon cards ---------- */
body.pl .pl-cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
body.pl .pl-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 24px; min-width: 0; }
body.pl .pl-card h3 { font-size: 19px; }
body.pl .pl-card p { margin: 0; font: 400 16px / 1.6 var(--fu); color: var(--ink2); }
body.pl .pl-ico {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff4d6;
  color: var(--goldt);
  margin-bottom: 14px;
}
body.pl .pl-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body.pl .pl-close {
  margin: 30px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
  background: #fff;
  border-radius: 0 6px 6px 0;
  font: 400 italic clamp(19px, 2vw, 24px) / 1.5 var(--fd);
  color: var(--ink);
  max-width: 900px;
}
@media (min-width: 640px) { body.pl .pl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  body.pl .pl-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  body.pl .pl-card { grid-column: span 2; }
  body.pl .pl-card:nth-child(n+4) { grid-column: span 3; }
}

/* ---------- can / can't ---------- */
body.pl .pl-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 26px; }
body.pl .pl-col { border: 1px solid var(--line); border-radius: 6px; padding: 24px 24px 12px; background: #fff; min-width: 0; }
body.pl .pl-col h3 { font: 500 clamp(21px, 2vw, 25px) / 1.2 var(--fd); margin-bottom: 14px; }
body.pl .pl-col--yes { border-top: 4px solid #2f8f5b; }
body.pl .pl-col--no { border-top: 4px solid #b3452f; background: #fbfaf8; }
body.pl .pl-checks { list-style: none; margin: 0; padding: 0; }
body.pl .pl-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); font: 400 16.5px / 1.55 var(--fu); color: var(--ink); }
body.pl .pl-checks li:first-child { border-top: 0; }
body.pl .pl-checks li > span { min-width: 0; }
body.pl .pl-mark { flex: none; width: 24px; height: 24px; margin-top: 1px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.pl .pl-col--yes .pl-mark, body.pl .pl-checks--facts .pl-mark { stroke: #2f8f5b; }
body.pl .pl-col--yes .pl-mark circle, body.pl .pl-checks--facts .pl-mark circle { fill: #e6f4ec; stroke: none; }
body.pl .pl-col--no .pl-mark { stroke: #b3452f; }
body.pl .pl-col--no .pl-mark circle { fill: #fbe9e4; stroke: none; }
@media (min-width: 800px) { body.pl .pl-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

/* ---------- method: six numbered steps ---------- */
body.pl .pl-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; counter-reset: none; }
body.pl .pl-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 24px 22px; min-width: 0; }
body.pl .pl-step h3 { margin-top: 2px; }
body.pl .pl-step p { margin: 0; font: 400 16px / 1.6 var(--fu); color: var(--ink2); }
body.pl .pl-num {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 500 22px / 1 var(--fd);
  margin-bottom: 14px;
  box-shadow: 0 0 0 4px #fff4d6;
}
@media (min-width: 700px) { body.pl .pl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { body.pl .pl-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* ---------- Mr Ejaz ---------- */
body.pl .pl-ejaz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
body.pl .pl-ph { margin: 0; max-width: 300px; }
body.pl .pl-ph img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 24px 50px -28px rgba(13, 31, 60, 0.6); background: var(--chalk); }
body.pl .pl-ph figcaption { margin-top: 10px; font: 400 14px / 1.4 var(--fu); color: var(--ink2); }
body.pl .pl-ejaz__body .pl-intro { max-width: 680px; margin-bottom: 14px; }
body.pl .pl-checks--facts { max-width: 680px; margin-bottom: 20px; }
body.pl .pl-checks--facts li { padding: 10px 0; }
body.pl .pl-ejaz__body p { margin: 0 0 0; }
@media (min-width: 860px) {
  body.pl .pl-ejaz { grid-template-columns: 320px minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
  body.pl .pl-ph { max-width: none; position: sticky; top: 110px; }
}

/* ---------- subjects ---------- */
body.pl .pl-subjects { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
body.pl .pl-subj { background: #fff; border: 1px solid var(--line); border-top: 4px solid #2e5bdb; border-radius: 6px; padding: 20px 22px 18px; scroll-margin-top: 100px; min-width: 0; display: flex; flex-direction: column; }
body.pl .pl-subj--physics { border-top-color: #e05a2a; }
body.pl .pl-subj h3 { font-size: 19px; }
body.pl .pl-subj p { margin: 0 0 14px; font: 400 16px / 1.55 var(--fu); color: var(--ink2); }
body.pl .pl-subj .pl-subj__links { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font: 600 15px / 1.4 var(--fu); }
@media (min-width: 700px) { body.pl .pl-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { body.pl .pl-subjects { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- May 2027 band ---------- */
body.pl .pl-next { padding-block: clamp(40px, 5vw, 72px); }
body.pl .pl-next__box { background: var(--navy); background-image: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%); color: #fff; border-radius: 8px; padding: clamp(28px, 5vw, 56px); }
body.pl .pl-next__box h2 { color: #fff; max-width: 760px; }
body.pl .pl-next__box h2::before { margin-bottom: 18px; }
body.pl .pl-next__box .pl-intro { color: rgba(255, 255, 255, 0.86); max-width: 680px; }
body.pl .pl-next__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
body.pl .pl-next__btns .s26-btn { white-space: normal; padding-block: 14px; line-height: 1.25; }
body.pl .pl-next__box a.s26-btn--line { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
body.pl .pl-next__box a.s26-btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
body.pl .pl-next__small { margin: 22px 0 0; font: 400 15px / 1.55 var(--fu); color: rgba(255, 255, 255, 0.82); max-width: 680px; }
body.pl .pl-main .pl-next__small a { color: #ffd77a; }
body.pl .pl-main .pl-next__small a:hover { color: #fff; }
@media (max-width: 519px) { body.pl .pl-next__btns .s26-btn { width: 100%; } }

/* ---------- FAQ ---------- */
body.pl .pl-faq { max-width: calc(900px + var(--s26-gut) * 2); }
body.pl .pl-faq__list { margin-top: 22px; border-top: 1px solid var(--line); }
body.pl .pl-q { border-bottom: 1px solid var(--line); }
body.pl .pl-q summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 2px;
  font: 600 clamp(17px, 1.6vw, 19px) / 1.4 var(--fu);
  color: var(--ink);
}
body.pl .pl-q summary::-webkit-details-marker { display: none; }
body.pl .pl-q summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--goldt);
  border-bottom: 2px solid var(--goldt);
  transform: rotate(45deg);
  margin-top: -5px;
  transition: transform 0.18s;
}
body.pl .pl-q[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
body.pl .pl-q summary:hover { color: var(--navy); }
body.pl .pl-q p { margin: 0 0 20px; padding-right: 30px; font: 400 17px / 1.65 var(--fu); color: var(--ink2); max-width: 760px; }

/* ---------- related + small print ---------- */
body.pl .pl-end { padding-bottom: 8px; }
body.pl .pl-related ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid var(--line); font: 600 15.5px / 1.4 var(--fu); }
body.pl .pl-small { margin: 0; padding: 4px 0 44px; font: 400 13.5px / 1.6 var(--fu); color: var(--ink2); max-width: 900px; }

@media (prefers-reduced-motion: reduce) { body.pl .pl-q summary::after { transition: none; } }

/* ---------- #side-by-side: a glimpse of the viewer, the question paper and its mark scheme (owner, 17 Nov 2026) ----------
   A dark showcase band between "How we predict" (chalk) and "Built in-house" (white). Two real pages (WebP, 1241 x 1754) in
   scrollable panes, side by side from 700px, one above the other on phones. */
body.pl .pl-show {
  background: var(--ink);
  background-image: radial-gradient(120% 90% at 85% 0%, rgba(240, 165, 0, 0.10) 0%, transparent 55%),
                    linear-gradient(160deg, var(--navy) 0%, var(--ink) 70%);
  color: #fff;
}
body.pl .pl-show h2 { color: #fff; max-width: 820px; }
body.pl .pl-show .pl-intro { color: rgba(255, 255, 255, 0.84); max-width: 760px; }
body.pl .pl-viewer {
  margin: clamp(22px, 3vw, 34px) 0 0;
  background: #f6f7f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
body.pl .pl-viewer__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
body.pl .pl-viewer__dots { display: inline-flex; gap: 6px; flex: none; }
body.pl .pl-viewer__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
body.pl .pl-viewer__title { font: 600 12px/1.2 var(--fu); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
body.pl .pl-viewer__panes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
}
@media (min-width: 700px) {
  body.pl .pl-viewer__panes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.pl .pl-pane { background: #eef1f5; min-width: 0; }
body.pl .pl-pane__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font: 600 12px/1.2 var(--fu);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
body.pl .pl-pane__sq { width: 9px; height: 9px; border-radius: 2px; background: var(--navy); flex: none; }
body.pl .pl-pane--ms .pl-pane__sq { background: #1b8a5a; }
body.pl .pl-pane__pg { margin-left: auto; font-weight: 500; letter-spacing: 0.04em; color: var(--ink2); text-transform: none; }
body.pl .pl-pane__scroll {
  height: clamp(340px, 52vw, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(10px, 1.6vw, 18px);
  scrollbar-width: thin;
}
@media (max-width: 699px) {
  body.pl .pl-pane__scroll { height: 360px; }
}
body.pl .pl-pane__scroll img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 2px 10px rgba(13, 31, 60, 0.14);
}
body.pl .pl-pane__scroll:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
body.pl .pl-viewer figcaption {
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
  font: 400 13.5px/1.5 var(--fu);
  color: var(--ink2);
}

/* the viewer's list panel: all sets and papers, as in the real viewer. A scrollable column beside the pages from 1024px
   (size-contained, so it takes the panes' height instead of its own); above that, a strip of sets that scrolls sideways. */
body.pl .pl-viewer__body { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--line); gap: 1px; }
body.pl .pl-list { display: flex; flex-direction: column; min-width: 0; background: #fff; }
body.pl .pl-list__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font: 600 12px/1.2 var(--fu);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
body.pl .pl-list__hide { font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--ink2); }
body.pl .pl-list__scroll { display: flex; overflow-x: auto; overscroll-behavior: contain; scrollbar-width: thin; }
body.pl .pl-list__scroll:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
body.pl .pl-list__grp { flex: 0 0 auto; min-width: 150px; border-right: 1px solid var(--line); }
body.pl .pl-list__set {
  margin: 0;
  padding: 9px 14px;
  background: #fafbfc;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 3px 0 0 #a3243b;
  font: 700 11px/1.2 var(--fu);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
body.pl .pl-list ul { list-style: none; margin: 0; padding: 0; }
body.pl .pl-list li {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  font: 500 14px/1.2 var(--fu);
  color: var(--ink);
}
body.pl .pl-list li span { margin-right: auto; padding-right: 8px; }
body.pl .pl-list li b {
  font: 700 9.5px/1 var(--fu);
  letter-spacing: 0.04em;
  padding: 3px 5px;
  border-radius: 3px;
  background: #e8edf6;
  color: var(--navy);
}
body.pl .pl-list li b + b { background: #e3f3ea; color: #1b6b45; }
body.pl .pl-list li.is-on { background: #eef3fb; box-shadow: inset 3px 0 0 var(--navy); font-weight: 600; }
@media (min-width: 1024px) {
  body.pl .pl-viewer__body { grid-template-columns: 250px minmax(0, 1fr); }
  body.pl .pl-list { contain: size; }
  body.pl .pl-list__scroll { display: block; flex: 1 1 0; min-height: 0; overflow-x: hidden; overflow-y: auto; }
  body.pl .pl-list__grp { min-width: 0; border-right: 0; }
}
