@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700&display=swap');
:root {
  --ink: #f8fafc;
  --muted: #aeb9c9;
  --paper: #111827;
  --navy: #0D1117;
  --blue: #0f6ae8;
  --cyan: #42d9e8;
  --gold: #ffc928;
  --coral: #ff6b57;
  --green: #17a673;
  --line: #374151;
}
* { box-sizing: border-box; }
html { background: #0b1228; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 15% 8%, rgba(66,217,232,.15), transparent 27rem), radial-gradient(circle at 88% 28%, rgba(255,201,40,.12), transparent 30rem), #0b1228; font-family: "Nunito", ui-sans-serif, system-ui, sans-serif; line-height: 1.42; }
.toolbar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: center; gap: 10px; padding: 12px; background: rgba(11,18,40,.9); border-bottom: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); }
.toolbar a, .toolbar button { appearance: none; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 9px 14px; color: white; background: rgba(255,255,255,.08); font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.toolbar button { background: var(--gold); color: #111827; border-color: var(--gold); }
.document { width: min(210mm, calc(100vw - 24px)); margin: 24px auto 44px; }
.page { position: relative; display: flex; flex-direction: column; width: 210mm; min-height: 297mm; padding: 11mm 11mm 9mm; margin: 0 auto 28px; overflow: hidden; background: radial-gradient(circle at 92% 4%, rgba(66,217,232,.12), transparent 22rem), linear-gradient(180deg, #0D1117 0%, #16213e 100%); box-shadow: 0 20px 65px rgba(0,0,0,.45); border-bottom: 1px solid #333; }
.page:nth-child(4n+2) { background: radial-gradient(circle at 8% 92%, rgba(15,106,232,.18), transparent 24rem), linear-gradient(180deg, #0D1117 0%, #16213e 100%); }
.page:nth-child(4n+3) { background: radial-gradient(circle at 92% 88%, rgba(255,201,40,.13), transparent 22rem), linear-gradient(180deg, #0D1117 0%, #16213e 100%); }
.page:nth-child(4n) { background: radial-gradient(circle at 8% 8%, rgba(255,107,87,.12), transparent 22rem), linear-gradient(180deg, #0D1117 0%, #16213e 100%); }
.page:not(.cover) { justify-content: space-between; gap: 8px; }
.page::after { content: none; }
.cover { color: white; background: var(--navy); }
.cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(66,217,232,.18), transparent 38%), radial-gradient(circle at 84% 18%, rgba(255,201,40,.28), transparent 22%), repeating-linear-gradient(120deg, transparent 0 18px, rgba(255,255,255,.025) 18px 20px); }
.cover > * { position: relative; z-index: 1; }
.brand { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand img { width: 155px; height: auto; object-fit: contain; }
.edition { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; align-items: center; margin: auto 0; }
.hero h1 { margin: 0 0 14px; font-size: 43px; line-height: 1.03; letter-spacing: -.045em; }
.hero .lead { margin: 0; color: #d9e8ff; font-size: 18px; font-weight: 650; }
.hero-art { width: 100%; border: 4px solid rgba(255,255,255,.9); border-radius: 26px; box-shadow: 12px 12px 0 var(--gold); }
.wide-visual { width: 100%; height: 195px; object-fit: cover; border: 2px solid #4b5563; border-radius: 18px; box-shadow: 7px 7px 0 rgba(0,0,0,.28); }
.visual-split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 14px; align-items: stretch; }
.visual-art { display: block; width: 100%; height: 238px; object-fit: cover; border: 3px solid rgba(255,255,255,.22); border-radius: 18px; box-shadow: 7px 7px 0 rgba(0,0,0,.28); }
.visual-art.tall { height: 292px; }
.school-hero-large { display: block; width: 100%; height: 305px; object-fit: cover; border: 3px solid rgba(255,255,255,.25); border-radius: 20px; box-shadow: 8px 8px 0 rgba(0,0,0,.3); }
.school-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.school-fact { padding: 10px 9px; border: 1px solid #475569; border-radius: 12px; background: rgba(15,23,42,.9); }
.school-fact b { display: block; color: var(--gold); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.school-fact span { display: block; margin-top: 4px; color: white; font-size: 12px; font-weight: 850; }
.curriculum-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.curriculum-year { padding: 10px; border-left: 4px solid var(--year, var(--cyan)); border-radius: 10px; background: rgba(31,41,55,.92); }
.curriculum-year b { display: block; color: var(--year, var(--cyan)); font-size: 11px; }
.curriculum-year p { margin: 4px 0 0; color: #d1d5db; font-size: 10px; line-height: 1.32; }
.page.university-profile { justify-content: flex-start; gap: 9px; }
.page.university-profile > .footer { margin-top: auto; }
.profile-insights { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.profile-insight { min-height: 78px; padding: 9px 10px; border: 1px solid #475569; border-radius: 11px; background: linear-gradient(145deg, rgba(15,23,42,.96), rgba(30,41,59,.96)); box-shadow: inset 0 3px 0 var(--insight, var(--cyan)); }
.profile-insight b { display: block; color: var(--insight, var(--cyan)); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.profile-insight p { margin: 4px 0 0; color: #d6deeb; font-size: 9.5px; line-height: 1.3; }
.admissions-band { display: grid; grid-template-columns: 1.05fr .95fr; gap: 8px; padding: 9px 10px; border: 1px solid rgba(255,201,40,.45); border-radius: 11px; background: rgba(255,201,40,.07); }
.admissions-band b { display: block; margin-bottom: 3px; color: var(--gold); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.admissions-band p { margin: 0; color: #e5e7eb; font-size: 9.5px; line-height: 1.3; }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.stat-tile { padding: 11px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 13px; background: linear-gradient(145deg, rgba(31,41,55,.98), rgba(15,23,42,.98)); text-align: center; box-shadow: inset 0 3px 0 var(--tile, var(--blue)); }
.stat-tile strong { display: block; color: var(--tile, var(--cyan)); font-size: 22px; line-height: 1; }
.stat-tile span { display: block; margin-top: 5px; color: #cbd5e1; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.subject-wheel { display: grid; grid-template-columns: 148px 1fr; gap: 16px; align-items: center; padding: 15px; border: 1px solid #475569; border-radius: 18px; background: rgba(15,23,42,.82); }
.wheel { display: grid; place-items: center; width: 140px; height: 140px; border-radius: 50%; background: conic-gradient(var(--blue) 0 29%, var(--coral) 29% 49%, var(--gold) 49% 69%, var(--green) 69% 87%, #a855f7 87% 100%); box-shadow: 0 0 0 8px rgba(255,255,255,.05), 0 12px 30px rgba(0,0,0,.35); }
.wheel::after { content: "CEnT-S"; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; color: white; background: #111827; font-size: 15px; font-weight: 950; }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; }
.legend span { display: flex; align-items: center; gap: 7px; color: #d1d5db; font-size: 11px; font-weight: 750; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--dot); }
.route-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 7px; align-items: center; }
.route-node { min-height: 82px; padding: 11px 8px; border: 1px solid #475569; border-radius: 13px; background: linear-gradient(160deg, #243247, #172033); text-align: center; }
.route-node b { display: block; color: var(--node, var(--cyan)); font-size: 12px; }
.route-node small { display: block; margin-top: 5px; color: #cbd5e1; font-size: 9.5px; line-height: 1.3; }
.route-arrow { color: var(--gold); font-size: 20px; font-weight: 950; }
.bar-chart { display: grid; gap: 8px; padding: 13px; border: 1px solid #475569; border-radius: 15px; background: rgba(15,23,42,.78); }
.bar-row { display: grid; grid-template-columns: 112px 1fr 38px; gap: 8px; align-items: center; color: #e5e7eb; font-size: 10px; font-weight: 850; }
.bar-track { height: 10px; overflow: hidden; border-radius: 999px; background: #273449; }
.bar-fill { height: 100%; width: var(--value); border-radius: inherit; background: linear-gradient(90deg, var(--bar, var(--blue)), color-mix(in srgb, var(--bar, var(--blue)) 55%, white)); }
.exam-matrix td:first-child { color: white; font-weight: 900; }
.exam-matrix td:nth-child(2) { color: var(--cyan); font-weight: 850; }
.school-ribbon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.school-ribbon article { overflow: hidden; border: 1px solid #475569; border-radius: 13px; background: #1f2937; }
.school-ribbon img { width: 100%; height: 88px; object-fit: cover; border-bottom: 3px solid var(--school, var(--gold)); }
.school-ribbon div { padding: 9px; }
.school-ribbon b { color: white; font-size: 11px; }
.school-ribbon small { display: block; margin-top: 3px; color: #9fb0c8; font-size: 8.5px; }
.school-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.school-card { overflow: hidden; padding: 0; }
.school-card img { display: block; width: 100%; height: 132px; object-fit: cover; border-bottom: 3px solid var(--gold); }
.school-card .school-copy { padding: 13px 15px 15px; }
.school-card .school-meta { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.link-row { display: flex; flex-wrap: wrap; gap: 8px; }
.link-button { display: inline-flex; align-items: center; padding: 9px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; color: white; background: #0f2a54; font-size: 11px; font-weight: 900; text-decoration: none; }
.link-button.primary { color: #111827; background: var(--gold); border-color: var(--gold); }
.page.dense .card { padding: 12px; }
.page.dense .card p, .page.dense .card li { font-size: 11.5px; }
.cover-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill { padding: 7px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 11px; font-weight: 850; }
.cover-callout { margin-top: 22px; padding: 15px 17px; border: 2px solid var(--gold); border-radius: 16px; background: rgba(255,201,40,.1); color: #fff7cf; font-size: 14px; font-weight: 750; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.page-kicker { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
h2 { margin: 4px 0 0; font-size: 30px; line-height: 1.06; letter-spacing: -.035em; color: white; }
h3 { margin: 0 0 7px; color: white; font-size: 17px; line-height: 1.15; }
p { margin: 0 0 9px; }
.page-number { min-width: 38px; color: var(--blue); font-size: 24px; font-weight: 900; text-align: right; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.stack { display: grid; gap: 11px; }
.card { padding: 15px; border: 1px solid #4b5563; border-radius: 15px; background: linear-gradient(145deg, #243247, #1b2535); box-shadow: 4px 4px 0 rgba(0,0,0,.3); break-inside: avoid; }
.card.blue { border-top: 9px solid var(--blue); }
.card.gold { border-top: 9px solid var(--gold); }
.card.green { border-top: 9px solid var(--green); }
.card.coral { border-top: 9px solid var(--coral); }
.card p, .card li { color: #d1d5db; font-size: 12.5px; }
.icon { display: inline-grid; place-items: center; width: 31px; height: 31px; margin-bottom: 9px; border-radius: 9px; background: var(--navy); color: white; font-size: 16px; }
.strategy { padding: 17px 18px; border-radius: 16px; background: var(--navy); color: white; }
.strategy strong { color: var(--gold); }
.strategy p { color: #dbe8ff; font-size: 13.5px; }
.timeline { display: grid; gap: 9px; }
.timeline-row { display: grid; grid-template-columns: 106px 1fr; gap: 12px; align-items: stretch; }
.when { display: grid; place-items: center; padding: 10px; border-radius: 11px; background: var(--blue); color: white; font-size: 11px; font-weight: 900; text-align: center; }
.what { padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: #1F2937; color: #e5e7eb; font-size: 12.5px; }
.plan { position: relative; padding-top: 18px; }
.plan-thumb { width: 100%; height: 86px; margin-bottom: 10px; object-fit: cover; border: 1px solid #4b5563; border-radius: 11px; }
.plan .price { color: var(--blue); font-size: 25px; font-weight: 950; letter-spacing: -.04em; }
.plan .price small { color: var(--muted); font-size: 11px; letter-spacing: 0; }
.plan .label { display: inline-block; margin-bottom: 8px; padding: 4px 8px; border-radius: 7px; color: white; background: var(--navy); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.plan ul, .checklist { margin: 10px 0 0; padding: 0; list-style: none; }
.plan li, .checklist li { position: relative; margin: 6px 0; padding-left: 18px; }
.plan li::before, .checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.comparison { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.comparison th { padding: 9px; color: white; background: var(--navy); text-align: left; }
.comparison td { padding: 9px; border-bottom: 1px solid var(--line); vertical-align: top; }
.comparison tr:nth-child(even) td { background: rgba(31,41,55,.75); }
.comparison.compact th, .comparison.compact td { padding: 6px 8px; }
.alert { padding: 14px 16px; border: 2px solid #d79a00; border-radius: 14px; background: rgba(255,201,40,.12); color: #fff4bd; font-size: 12.5px; font-weight: 750; }
.partnership { padding: 17px; border: 3px solid var(--green); border-radius: 16px; background: rgba(23,166,115,.12); }
.partnership b { color: #6ee7b7; }
.quote { margin: 12px 0; padding: 16px 18px; border-left: 8px solid var(--gold); border-radius: 0 13px 13px 0; background: rgba(255,201,40,.10); color: #fff6c7; font-size: 16px; font-weight: 850; }
.cta { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin-top: auto; padding: 18px; border-radius: 18px; color: white; background: linear-gradient(135deg, var(--navy), #163d85); }
.cta h3 { color: white; font-size: 22px; }
.cta p { color: #d7e6ff; font-size: 12px; }
.cta .url { padding: 11px 14px; border-radius: 10px; background: var(--gold); color: #111827; font-size: 13px; font-weight: 950; }
.footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 13px; padding-top: 8px; border-top: 1px solid var(--line); color: #667085; font-size: 9px; font-weight: 750; }
.page > .footer { margin-top: 0; }
.cover .footer { border-color: rgba(255,255,255,.2); color: #b7c6de; }
.fine-print { color: #6b7280; font-size: 9.5px; line-height: 1.35; }
.spacer { flex: 1; }
@media screen and (max-width: 820px) {
  .toolbar { flex-wrap: wrap; }
  .document { width: 100%; margin-top: 12px; }
  .page { width: calc(100vw - 20px); min-height: auto; margin-bottom: 16px; padding: 26px 20px; }
  .hero, .grid-2, .grid-3, .cta, .school-grid, .visual-split, .subject-wheel, .stat-strip, .school-ribbon, .school-facts, .curriculum-grid, .profile-insights, .admissions-band { grid-template-columns: 1fr; }
  .route-flow { grid-template-columns: 1fr; }
  .route-arrow { transform: rotate(90deg); text-align: center; }
  .hero-art { max-width: 230px; margin: 15px auto 0; }
  .timeline-row { grid-template-columns: 82px 1fr; }
}
@media print {
  @page { size: A4 portrait; margin: 0; }
  html, body { width: 210mm; margin: 0; padding: 0; background: white; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .toolbar { display: none !important; }
  .document { width: 210mm; margin: 0; }
  .page { width: 210mm; height: 297mm; min-height: 297mm; max-height: 297mm; margin: 0; box-shadow: none; break-after: page; page-break-after: always; }
  .page:last-child { break-after: auto; page-break-after: auto; }
  a { color: inherit; text-decoration: none; }
}
