:root {
  --navy: #0b162b;
  --navy-soft: #13233f;
  --teal: #0ca58e;
  --teal-dark: #067f73;
  --gold: #d4a644;
  --mist: #f2f5f9;
  --paper: #fafbfc;
  --white: #ffffff;
  --line: #e5e8ee;
  --text: #111827;
  --muted: #667085;
  --red: #c24135;
  --amber: #b7791f;
  --blue: #2563eb;
  --shadow: 0 18px 48px rgba(11, 22, 43, 0.10);
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: #fff;
  background: rgba(11, 22, 43, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-logo {
  gap: 0;
}

.brand-logo img {
  width: 190px;
  height: 54px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.8vw, 30px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: #fff;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 850;
}

.header-cta {
  padding: 0 16px;
  background: var(--teal);
  color: #fff;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.header-login {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.btn {
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 28px rgba(12, 165, 142, 0.24);
}

.btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
}

.btn.light {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
}

.btn.gold {
  color: #0b162b;
  border-color: #f2b705;
  background: linear-gradient(135deg, #ffd86a, #f2b705);
  box-shadow: 0 18px 42px rgba(242, 183, 5, 0.28);
}

.btn.gold:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(11, 22, 43, 0.98) 0%, rgba(11, 22, 43, 0.90) 56%, rgba(11, 22, 43, 0.70) 100%),
    radial-gradient(circle at 88% 14%, rgba(12, 165, 142, 0.28), transparent 30%),
    linear-gradient(135deg, #0b162b, #13233f);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 88%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.72fr);
  gap: 48px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 62px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5vw, 3.85rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(2rem, 3.7vw, 2.85rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.verified-line {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.landing-hero-grid {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.landing-snapshot {
  display: grid;
  gap: 12px;
}

.snapshot-card {
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.snapshot-card.highlight {
  color: #0b162b;
  border-color: rgba(242, 183, 5, 0.8);
  background: linear-gradient(135deg, #ffd86a, #f2b705);
}

.snapshot-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.snapshot-card.highlight span {
  color: rgba(11, 22, 43, 0.72);
}

.snapshot-card strong {
  display: block;
  margin: 6px 0 8px;
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
}

.snapshot-card.highlight strong {
  color: #0b162b;
}

.snapshot-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.snapshot-card.highlight p {
  color: rgba(11, 22, 43, 0.78);
}

.snapshot-list {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(11, 22, 43, 0.78);
}

.snapshot-list li {
  line-height: 1.35;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.panel-head {
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.panel-head strong {
  display: block;
  font-size: 0.95rem;
}

.panel-head span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.deadline-list {
  display: grid;
  gap: 0;
}

.deadline-item {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.deadline-item:last-child {
  border-bottom: 0;
}

.date-pill {
  padding: 7px 9px;
  border-radius: 8px;
  color: #fff;
  background: rgba(12, 165, 142, 0.22);
  border: 1px solid rgba(12, 165, 142, 0.34);
  font-size: 0.76rem;
  font-weight: 850;
  text-align: center;
}

.deadline-item span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.deadline-item b {
  font-size: 0.9rem;
}

.priority,
.difficulty-pill {
  min-width: 72px;
  padding: 5px 7px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.priority.must {
  background: var(--red);
}

.priority.watch {
  background: var(--amber);
}

.priority.elite {
  background: var(--navy-soft);
}

.difficulty-pill.median {
  background: var(--teal-dark);
}

.difficulty-pill.advanced {
  background: #1f4a7a;
}

.difficulty-pill.challenging {
  background: var(--amber);
}

.section {
  padding: 68px 0;
}

.section.tint {
  background: var(--mist);
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.5fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.landing-head h2 {
  max-width: 720px;
}

.top-pick-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
  margin: 28px 0 26px;
}

.top-pick {
  min-height: 330px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(11, 22, 43, 0.08);
}

.top-pick.featured {
  border-color: rgba(242, 183, 5, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 248, 214, 0.92), #fff 44%),
    #fff;
}

.pick-kicker,
.pick-meta,
.pick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.top-pick h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 1.35rem;
}

.top-pick p {
  color: var(--muted);
}

.pick-meta {
  margin: 18px 0;
}

.pick-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #f8fafc;
  font-size: 0.78rem;
  font-weight: 800;
}

.pick-actions {
  margin-top: auto;
}

.action-calendar {
  display: grid;
  gap: 16px;
}

.calendar-status-group {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 22, 43, 0.05);
}

.calendar-status-group.closing {
  border-color: rgba(242, 183, 5, 0.48);
}

.status-heading {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.status-heading h3 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: 1.25rem;
}

.status-heading p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.closed-group summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.closed-group .action-table {
  margin-top: 14px;
}

.action-table {
  width: 100%;
  border-collapse: collapse;
}

.action-table th,
.action-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.action-table th {
  color: var(--muted);
  background: #f8fafc;
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.action-table tr:last-child td {
  border-bottom: 0;
}

.action-table td:first-child {
  width: 44%;
}

.action-table a {
  display: grid;
  gap: 4px;
}

.action-table strong {
  color: var(--navy);
}

.action-table span:not(.status) {
  color: var(--muted);
  font-size: 0.82rem;
}

.status.action {
  color: #0b162b;
  background: #fde68a;
}

.inline-lead-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding: 22px;
  border-radius: 8px;
  color: #0b162b;
  background: linear-gradient(135deg, #fff7d6, #ffe28a);
  box-shadow: 0 18px 42px rgba(242, 183, 5, 0.18);
}

.inline-lead-cta h3 {
  margin-bottom: 6px;
  font-size: 1.25rem;
}

.inline-lead-cta p {
  margin-bottom: 0;
  color: rgba(11, 22, 43, 0.72);
}

.lead-capture-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: stretch;
  padding: 30px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 22, 43, 0.98), rgba(19, 35, 63, 0.96)),
    radial-gradient(circle at right top, rgba(242, 183, 5, 0.24), transparent 34%);
  box-shadow: var(--shadow);
}

.lead-capture-panel h2 {
  max-width: 760px;
}

.lead-capture-panel p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 850;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #f8fafc;
  font: inherit;
}

.finder-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 22, 43, 0.06);
}

.finder-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(150px, 0.8fr));
  gap: 12px;
}

.finder-controls label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 850;
}

.finder-controls input,
.finder-controls select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #f8fafc;
  font: inherit;
}

.competition-list {
  display: grid;
  gap: 8px;
}

.competition-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #f8fafc;
  text-decoration: none;
}

.competition-row:hover {
  border-color: rgba(12, 165, 142, 0.45);
  background: #fff;
}

.competition-row[hidden] {
  display: none;
}

.competition-main {
  display: grid;
  gap: 4px;
}

.competition-main small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.finder-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-card,
.asset-card,
.guide-card,
.cta-band,
.calendar-card,
.source-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 22, 43, 0.06);
}

.trust-card {
  min-height: 148px;
  padding: 18px;
}

.trust-card span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(12, 165, 142, 0.11);
  font-size: 0.72rem;
  font-weight: 850;
}

.trust-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 20px;
}

.filter-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.calendar-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.calendar-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.calendar-table th {
  color: var(--muted);
  background: #f8fafc;
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.calendar-table tr:last-child td {
  border-bottom: 0;
}

.event-name {
  display: grid;
  gap: 5px;
  max-width: 280px;
}

.event-name strong {
  color: var(--navy);
  line-height: 1.25;
}

.event-name span,
.cell-muted,
.source-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.event-link {
  display: grid;
  gap: 5px;
}

.event-link:hover strong {
  color: var(--teal-dark);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--navy-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.tag.maths {
  color: #064e3b;
  background: #dff8ef;
}

.tag.science {
  color: #164e63;
  background: #e1f4fb;
}

.tag.cs {
  color: #4338ca;
  background: #e9e7ff;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  white-space: nowrap;
}

.status.open {
  color: #065f46;
  background: #d1fae5;
}

.status.closed {
  color: #7f1d1d;
  background: #fee2e2;
}

.status.upcoming {
  color: #1d4ed8;
  background: #dbeafe;
}

.status.watch {
  color: #92400e;
  background: #fef3c7;
}

.difficulty {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  white-space: nowrap;
}

.difficulty.median {
  color: #065f46;
  background: #d1fae5;
}

.difficulty.advanced {
  color: #1e3a8a;
  background: #dbeafe;
}

.difficulty.challenging {
  color: #92400e;
  background: #fef3c7;
}

.difficulty.elite {
  color: #fff;
  background: var(--navy-soft);
}

.mini-link {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.asset-grid,
.guide-grid,
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.asset-card,
.guide-card,
.source-card {
  padding: 20px;
}

.asset-card {
  display: grid;
  min-height: 210px;
}

.asset-card p,
.guide-card p,
.source-card p {
  color: var(--muted);
}

.asset-card .btn,
.guide-card .btn {
  align-self: end;
  width: fit-content;
  margin-top: 10px;
}

.pathway {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.pathway.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pathway.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pathway-step {
  position: relative;
  min-height: 140px;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.pathway-step:nth-child(2) {
  background: #0f766e;
}

.pathway-step:nth-child(3) {
  background: #1f4a7a;
}

.pathway-step:nth-child(4) {
  background: #8a6420;
}

.pathway-step:nth-child(5) {
  background: #4c1d95;
}

.pathway-step span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 850;
}

.pathway-step p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11, 22, 43, 0.98), rgba(19, 35, 63, 0.94)),
    radial-gradient(circle at right top, rgba(12, 165, 142, 0.26), transparent 38%);
}

.cta-band p {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.disclaimer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Exam guide pages */
.exam-page .hero-inner {
  padding: 54px 0 46px;
}

.exam-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 26px;
  align-items: stretch;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 800;
}

.exam-hero-copy {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.exam-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.exam-hero-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.exam-hero-panel > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-stat {
  min-height: 126px;
  padding: 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-stat span,
.hero-stat small {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stat strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.08;
}

.hero-stat small {
  color: #475569;
  line-height: 1.35;
  text-transform: none;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.fact-card {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 22, 43, 0.05);
}

.fact-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.fact-card strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  line-height: 1.25;
}

.section.compact {
  padding: 28px 0;
}

.retention-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.retention-card {
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 22, 43, 0.05);
}

.retention-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.05rem;
}

.retention-card p {
  min-height: 70px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.exam-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 20px;
  align-items: start;
}

.exam-main,
.exam-side {
  display: grid;
  gap: 16px;
}

.info-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 22, 43, 0.05);
}

.info-panel p,
.info-panel li {
  color: var(--muted);
}

.info-panel ul,
.info-panel ol {
  margin: 0;
  padding-left: 20px;
}

.info-panel li + li {
  margin-top: 8px;
}

.guide-lead-panel > p {
  max-width: 860px;
}

.official-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.official-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.official-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.official-row strong {
  color: var(--navy);
  font-weight: 850;
}

.panel-heading-row {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.timeline-date {
  display: grid;
  min-height: 68px;
  padding: 0 8px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
}

.timeline-item > div:last-child {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.timeline-item strong {
  color: var(--navy);
}

.timeline-item p {
  margin: 4px 0 0;
  font-size: 0.92rem;
}

.topic-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.topic-lane {
  min-height: 170px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.topic-lane h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1rem;
}

.topic-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip-row span {
  padding: 7px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #17315c;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 750;
}

.score-list {
  display: grid;
  gap: 12px;
}

.score-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.score-row i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--score);
  height: 4px;
  background: linear-gradient(90deg, var(--teal), #f2b705);
}

.score-row strong,
.score-row b {
  display: block;
  color: var(--navy);
}

.score-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.signal-card {
  min-height: 170px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.signal-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1rem;
}

.signal-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.prep-pathway {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.prep-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 14px;
  align-items: stretch;
}

.prep-panel-grid .prep-pathway {
  grid-template-columns: 1fr;
}

.prep-step {
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.prep-panel-grid .prep-step {
  min-height: auto;
}

.explore-course-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 22, 43, 0.98), rgba(19, 35, 63, 0.95)),
    radial-gradient(circle at right top, rgba(12, 165, 142, 0.32), transparent 38%);
}

.explore-course-card h3 {
  margin-bottom: 0;
  color: #fff;
  font-size: 1.12rem;
}

.explore-course-card p {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.explore-course-card .btn {
  width: 100%;
}

.prep-step span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--teal-dark);
  font-weight: 900;
}

.prep-step h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1rem;
}

.prep-step p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 850;
}

.faq-item p {
  margin: 0;
  padding: 0 16px 16px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.source-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.source-card strong {
  color: var(--navy);
}

.source-card p {
  margin: 6px 0 10px;
  font-size: 0.9rem;
}

.key-date-table {
  width: 100%;
  border-collapse: collapse;
}

.key-date-table th,
.key-date-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.key-date-table th {
  width: 38%;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.exam-cta-card {
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 22, 43, 0.98), rgba(19, 35, 63, 0.95)),
    radial-gradient(circle at right top, rgba(12, 165, 142, 0.28), transparent 38%);
}

.exam-cta-card p {
  color: rgba(255, 255, 255, 0.76);
}

.exam-cta-card .btn {
  width: 100%;
  margin-top: 10px;
}

.exam-update-card {
  padding: 20px;
  border: 1px solid rgba(12, 165, 142, 0.34);
  border-radius: 8px;
  background: #ecfdf7;
}

.exam-update-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.exam-update-card p {
  color: #315d5c;
}

.exam-update-card .btn {
  width: 100%;
}

.competition-alert-card {
  background: #e8fbf6;
  box-shadow: 0 14px 34px rgba(12, 165, 142, 0.10);
}

.alert-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.alert-form label {
  display: grid;
  gap: 5px;
}

.alert-form label span {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.alert-form input,
.alert-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #b8dcd4;
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font: inherit;
}

.sidebar-sources-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.sidebar-source-list {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.sidebar-source-link {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sidebar-source-link strong {
  color: var(--navy);
  font-size: 0.94rem;
}

.sidebar-source-link span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  text-transform: none;
}

.institute-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.institute-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.site-footer .section-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.site-footer strong {
  color: #fff;
}

/* Printable assets */
.print-body {
  background: #dfe5ee;
}

.print-shell {
  width: 1123px;
  min-height: 1588px;
  margin: 28px auto;
  padding: 52px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(11, 22, 43, 0.22);
}

.poster {
  display: grid;
  gap: 26px;
}

.poster-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 22, 43, 1), rgba(19, 35, 63, 0.96)),
    radial-gradient(circle at 90% 15%, rgba(12, 165, 142, 0.35), transparent 34%);
}

.poster-header h1 {
  max-width: 760px;
  margin: 0;
  font-size: 54px;
}

.poster-header p {
  max-width: 700px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
}

.brand-mark {
  display: grid;
  justify-items: end;
  gap: 10px;
  font-weight: 850;
}

.brand-mark img {
  width: 60px;
  height: 60px;
}

.poster-brand img {
  width: 250px;
  height: auto;
  object-fit: contain;
}

.sheet-brand img {
  width: 210px;
  height: auto;
  object-fit: contain;
}

.poster-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.poster-stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.poster-stat strong {
  display: block;
  color: var(--navy);
  font-size: 26px;
}

.poster-stat span {
  color: var(--muted);
  font-weight: 750;
}

.poster-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.poster-table th,
.poster-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13.5px;
}

.poster-table th {
  color: var(--muted);
  background: #f8fafc;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.poster-table tr:last-child td {
  border-bottom: 0;
}

.poster-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.note-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.poster-footer,
.sheet-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.poster-footer strong,
.sheet-footer strong {
  color: var(--navy);
}

.capture-mode {
  overflow: hidden;
  background: #fff;
}

.capture-mode::-webkit-scrollbar,
.capture-mode *::-webkit-scrollbar {
  display: none;
}

.capture-mode .print-shell,
.capture-mode .sheet-page {
  margin: 0 auto;
  box-shadow: none;
}

.capture-mode .sheet-page {
  min-height: 1350px;
}

.capture-mode .print-shell {
  padding: 40px;
}

.capture-mode .poster {
  gap: 18px;
}

.capture-mode .poster-header {
  padding: 26px 30px;
}

.capture-mode .poster-header h1 {
  font-size: 48px;
}

.capture-mode .poster-header p {
  font-size: 17px;
}

.capture-mode .poster-stat {
  padding: 13px 16px;
}

.capture-mode .poster-table th,
.capture-mode .poster-table td {
  padding: 7px 9px;
  font-size: 12.5px;
}

.capture-mode .poster-table th {
  font-size: 10px;
}

.capture-mode .note-box {
  padding: 13px 16px;
}

.capture-mode .note-box p {
  margin-bottom: 0;
  font-size: 13.5px;
}

.capture-mode .poster-footer {
  padding-top: 10px;
  font-size: 11.5px;
}

.sheet-page {
  width: 1123px;
  min-height: 1588px;
  margin: 28px auto;
  padding: 48px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(11, 22, 43, 0.22);
  page-break-after: always;
}

.sheet-page:last-child {
  page-break-after: auto;
}

.sheet-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.sheet-header.science {
  background:
    linear-gradient(135deg, #0b162b, #0f766e),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 32%);
}

.sheet-header.aimo {
  background:
    linear-gradient(135deg, #0b162b, #6b4e16),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 32%);
}

.sheet-header.parent {
  background:
    linear-gradient(135deg, #0b162b, #1e40af),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 32%);
}

.sheet-header h1 {
  margin: 0;
  font-size: 46px;
}

.sheet-header p {
  max-width: 710px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.math-map .sheet-header {
  align-items: center;
  padding: 20px 24px;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--navy);
}

.math-map .sheet-header h1 {
  color: var(--navy);
  font-family: var(--body);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.math-map .sheet-badge {
  min-height: 30px;
  margin-bottom: 8px;
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.math-map .sheet-brand img {
  width: 330px;
}

.math-map .pain-line {
  display: none;
}

.sheet-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-weight: 850;
}

.pain-line {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: #effaf7;
  font-size: 19px;
  font-weight: 780;
}

.sheet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.knowledge-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.map-card {
  position: relative;
  padding: 14px;
  border: 1.5px solid #bdc9d8;
  border-radius: 8px;
  background: #fff;
}

.map-card.wide {
  grid-column: 1 / -1;
}

.map-title {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-number {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.map-content {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 10px;
}

.map-content.single {
  grid-template-columns: 1fr;
}

.map-card ul {
  margin: 0;
  padding-left: 18px;
}

.map-card li {
  margin: 5px 0;
  font-size: 13px;
  line-height: 1.35;
}

.math-map .map-content ul::after {
  content: "";
  display: block;
  height: 52px;
  margin-top: 10px;
  border: 1px solid #c8d2df;
  border-radius: 8px;
  background: #fbfcff;
}

.math-map .map-card:nth-of-type(1) .map-content ul::after {
  background:
    radial-gradient(circle at 18% 50%, #d71920 0 4px, transparent 5px),
    radial-gradient(circle at 38% 50%, #d71920 0 4px, transparent 5px),
    radial-gradient(circle at 58% 50%, #0f766e 0 4px, transparent 5px),
    radial-gradient(circle at 78% 50%, #0f766e 0 4px, transparent 5px),
    linear-gradient(#0b162b 0 0) center / 82% 2px no-repeat,
    #fbfcff;
}

.math-map .map-card:nth-of-type(2) .map-content ul::after {
  background:
    linear-gradient(90deg, #0f766e 0 28%, #e2e8f0 28% 100%) 12px 12px / calc(100% - 24px) 8px no-repeat,
    linear-gradient(90deg, #f2b705 0 45%, #e2e8f0 45% 100%) 12px 26px / calc(100% - 24px) 8px no-repeat,
    linear-gradient(90deg, #0b4f8f 0 68%, #e2e8f0 68% 100%) 12px 40px / calc(100% - 24px) 8px no-repeat,
    #fbfcff;
}

.math-map .map-card:nth-of-type(3) .map-content ul::after {
  background:
    linear-gradient(135deg, transparent 48%, #0b162b 49% 51%, transparent 52%) 16px 8px / 52px 36px no-repeat,
    linear-gradient(#0b162b 0 0) 16px 44px / 62px 2px no-repeat,
    radial-gradient(circle at 78% 50%, transparent 0 16px, #0f766e 17px 19px, transparent 20px),
    #fbfcff;
}

.math-map .map-card:nth-of-type(4) .map-content ul::after {
  background:
    radial-gradient(circle at 22% 68%, #0f766e 0 4px, transparent 5px),
    radial-gradient(circle at 38% 55%, #0f766e 0 4px, transparent 5px),
    radial-gradient(circle at 55% 42%, #0f766e 0 4px, transparent 5px),
    radial-gradient(circle at 72% 30%, #0f766e 0 4px, transparent 5px),
    linear-gradient(160deg, transparent 42%, #f2b705 43% 47%, transparent 48%),
    linear-gradient(#e2e8f0 1px, transparent 1px),
    linear-gradient(90deg, #e2e8f0 1px, transparent 1px),
    #fbfcff;
  background-size: auto, auto, auto, auto, auto, 16px 16px, 16px 16px, auto;
}

.formula-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.formula-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.formula-box {
  position: relative;
  min-height: 74px;
  padding: 9px 10px;
  border: 1px solid #c8d2df;
  border-radius: 8px;
  background: #fbfcff;
  overflow: hidden;
}

.math-map .formula-box::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 0;
  width: 30px;
  height: 30px;
  opacity: 0.1;
  pointer-events: none;
}

.math-map .formula-grid .formula-box:nth-child(1)::after {
  border: 2px solid var(--teal-dark);
  background:
    linear-gradient(var(--teal-dark) 2px, transparent 2px),
    linear-gradient(90deg, var(--teal-dark) 2px, transparent 2px);
  background-size: 14px 14px;
}

.math-map .formula-grid .formula-box:nth-child(2)::after {
  clip-path: polygon(12% 86%, 86% 86%, 22% 16%);
  background: #f2b705;
}

.math-map .formula-grid .formula-box:nth-child(3)::after {
  border: 3px solid #0b4f8f;
  border-radius: 50%;
  background:
    linear-gradient(35deg, transparent 45%, #0b4f8f 47%, #0b4f8f 53%, transparent 55%);
}

.math-map .formula-grid .formula-box:nth-child(4)::after {
  background:
    linear-gradient(to top, #0f766e 0 36%, transparent 36%),
    linear-gradient(to top, #0b4f8f 0 62%, transparent 62%),
    linear-gradient(to top, #f2b705 0 82%, transparent 82%);
  background-position: 4px 0, 17px 0, 30px 0;
  background-repeat: no-repeat;
  background-size: 8px 100%;
}

.formula-box strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 5px;
  color: #17315c;
  font-size: 12px;
  font-weight: 900;
}

.math-line {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.math-line.small {
  font-size: 12.5px;
}

.frac {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  vertical-align: middle;
  line-height: 1.08;
}

.frac > span:first-child {
  padding: 0 3px 2px;
  border-bottom: 1px solid currentColor;
}

.frac > span:last-child {
  padding-top: 2px;
}

.mini-diagram {
  position: relative;
  min-height: 92px;
  border: 1px solid #c8d2df;
  border-radius: 8px;
  background:
    linear-gradient(#edf2f7 1px, transparent 1px),
    linear-gradient(90deg, #edf2f7 1px, transparent 1px);
  background-size: 18px 18px;
}

.axis-line-x,
.axis-line-y,
.line-up,
.line-down {
  position: absolute;
  background: #17315c;
}

.axis-line-x {
  left: 12px;
  right: 12px;
  top: 50%;
  height: 1.5px;
}

.axis-line-y {
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 1.5px;
}

.line-up {
  left: 26px;
  top: 56px;
  width: 104px;
  height: 2px;
  transform: rotate(-32deg);
  transform-origin: left center;
  background: var(--teal-dark);
}

.line-down {
  left: 28px;
  top: 32px;
  width: 104px;
  height: 2px;
  transform: rotate(28deg);
  transform-origin: left center;
  background: #c24135;
}

.tip-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid #bdc9d8;
  border-radius: 8px;
  background: #f8fafc;
}

.map-card:not(.wide) .tip-strip {
  grid-template-columns: 1fr 1fr;
}

.tip-item {
  position: relative;
  padding: 8px;
  border-left: 4px solid var(--teal);
  background: #fff;
  font-size: 12.5px;
  line-height: 1.35;
}

.math-map .tip-item::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 15px;
  opacity: 0.16;
  background:
    linear-gradient(90deg, var(--teal-dark) 0 7px, transparent 7px 13px, #f2b705 13px 20px, transparent 20px 26px, var(--navy) 26px 34px);
}

.sheet-block {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sheet-block.tint {
  background: #f8fafc;
}

.sheet-block h2 {
  margin-bottom: 12px;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 850;
}

.sheet-block p {
  margin-bottom: 0;
}

.sheet-block ul,
.sheet-block ol {
  margin: 0;
  padding-left: 20px;
}

.sheet-block li {
  margin: 7px 0;
}

.quick-table {
  width: 100%;
  border-collapse: collapse;
}

.quick-table th,
.quick-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.quick-table th {
  width: 29%;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.quick-table tr:last-child th,
.quick-table tr:last-child td {
  border-bottom: 0;
}

.cta-box {
  margin: 18px 0;
  padding: 18px 20px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.cta-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
}

.roadmap {
  display: grid;
  gap: 10px;
}

.roadmap-row {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.roadmap-row > * {
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.roadmap-row strong {
  color: var(--navy);
}

.single-sheet .sheet-page {
  display: none;
}

.single-sheet .sheet-page.active-sheet {
  display: block;
}

@media (max-width: 880px) {
  .pathway.four {
    grid-template-columns: 1fr;
  }

  .pathway.three {
    grid-template-columns: 1fr;
  }

  .finder-controls,
  .competition-row {
    grid-template-columns: 1fr;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  .site-header {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    padding: 10px 14px;
  }

  .nav-links {
    display: none;
  }

  .brand-logo img {
    width: 154px;
  }

  .header-cta {
    min-height: 42px;
    max-width: 104px;
    padding: 0 10px;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .header-actions {
    gap: 8px;
    min-width: 0;
  }

  .header-actions .header-login {
    min-height: 42px;
    font-size: 0.78rem;
  }

  .header-actions .header-cta {
    max-width: 132px;
    line-height: 1.08;
    white-space: normal;
    text-align: center;
  }

  .hero,
  .section,
  .site-header {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hero-inner,
  .section-inner {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-inner > *,
  .section-inner > *,
  .landing-snapshot,
  .snapshot-card,
  .top-pick,
  .top-pick-grid,
  .action-calendar,
  .calendar-status-group,
  .inline-lead-cta,
  .lead-capture-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-inner,
  .section-head,
  .cta-band,
  .exam-layout,
  .prep-panel-grid,
  .top-pick-grid,
  .inline-lead-cta,
  .lead-capture-panel {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 56px 20px 44px;
  }

  .exam-page .hero-inner {
    padding: 56px 20px 44px;
  }

  .exam-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(244px, 300px);
    gap: 16px;
    align-items: start;
  }

  .exam-hero-panel {
    padding: 16px;
  }

  .exam-hero-panel .hero-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .exam-hero-panel .hero-stat {
    min-height: 108px;
    padding: 12px;
  }

  .exam-hero-panel .hero-stat strong {
    font-size: 1.05rem;
  }

  .exam-hero-panel .hero-stat small {
    font-size: 0.68rem;
  }

  .eyebrow,
  h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  h1 {
    font-size: 1.86rem;
    line-height: 1.08;
  }

  h2 {
    max-width: 100%;
    font-size: 1.78rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-copy,
  .verified-line,
  .snapshot-card p,
  .top-pick p,
  .section-head p,
  .action-table td,
  .inline-lead-cta p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .hero-actions .btn,
  .inline-lead-cta .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 11px 14px;
    justify-content: center;
    font-size: 0.92rem;
    line-height: 1.18;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .trust-grid,
  .asset-grid,
  .guide-grid,
  .source-grid,
  .pathway,
  .fact-grid,
  .sheet-grid,
  .retention-grid,
  .topic-map,
  .signal-grid,
  .prep-pathway,
  .prep-panel-grid .prep-pathway,
  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .official-row,
  .timeline-item,
  .score-row {
    grid-template-columns: 1fr;
  }

  .landing-snapshot {
    grid-template-columns: 1fr;
  }

  .top-pick {
    min-height: auto;
    overflow: hidden;
  }

  .pick-meta span,
  .status {
    white-space: normal;
  }

  .status-heading {
    display: grid;
    gap: 6px;
    align-items: start;
  }

  .action-table,
  .action-table thead,
  .action-table tbody,
  .action-table tr,
  .action-table th,
  .action-table td {
    display: block;
  }

  .action-table thead {
    display: none;
  }

  .action-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .action-table tr:last-child {
    border-bottom: 0;
  }

  .action-table td {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    padding: 6px 0;
    border-bottom: 0;
  }

  .action-table td:first-child {
    width: 100%;
  }

  .action-table td::before {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .action-table td:nth-child(1)::before {
    content: "Competition";
  }

  .action-table td:nth-child(2)::before {
    content: "Years";
  }

  .action-table td:nth-child(3)::before {
    content: "Key date";
  }

  .action-table td:nth-child(4)::before {
    content: "Status";
  }

  .lead-capture-panel {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .exam-hero-grid {
    grid-template-columns: 1fr;
  }

  .exam-hero-panel .hero-stat-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  body,
  .print-body {
    background: #fff;
  }

  .print-shell,
  .sheet-page {
    width: 210mm;
    min-height: 297mm;
    margin: 0;
    box-shadow: none;
  }
}
