/* Self-hosted Inter (no Google Fonts round trip) + a size-matched fallback so text doesn't jump when it loads. */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/inter-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter Fallback';src:local('Arial'),local('ArialMT'),local('Liberation Sans'),local('Helvetica');size-adjust:107.34%;ascent-override:90.25%;descent-override:22.47%;line-gap-override:0%}
/* PAL Education — public website.
   Design system carried over from the prototype: Inter with tight headings,
   pill buttons, flat hairline cards, deep ink sections, PAL green for actions.
   Colour means something: green = action / done, amber = waiting, red = needs attention. */

:root {
  --paper: #ffffff;
  --paper-2: #f4f7f2;
  --white: #ffffff;
  --ink: #161a1c;
  --ink-2: #2b3134;
  --slate: #596166;
  --line: #e3e7e1;
  --line-strong: #c4cfc0;
  --accent: #38701d;
  --accent-2: #2c5a16;
  --accent-text: #3f7c21;
  --brand: #5cb130;
  --gold: #c2810a;
  --gold-text: #96610a;
  --gold-2: #cfe3c2;
  --teal: #2f6b2a;
  --red: #b3261e;
  --on-dark: #d2ded0;
  --on-dark-2: #b3bdb4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: Inter, "Inter Fallback", system-ui, sans-serif; letter-spacing: -0.022em; font-weight: 700; line-height: 1.2; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 18px; background: var(--white); color: var(--ink); border-radius: 999px; font-weight: 600; }
.skip:focus { top: 10px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.on-ink a:focus-visible, .on-ink button:focus-visible, .footer a:focus-visible { outline-color: #ffffff; }
.text-link { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.muted { color: var(--slate); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 30px; border-radius: 9999px; font-weight: 600; font-size: 14.5px; letter-spacing: 0.01em; border: 1px solid transparent; white-space: nowrap; line-height: 1.2; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 6px 18px rgba(56, 112, 29, 0.32); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.btn-ghost { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.on-ink .btn-primary { background: #ffffff; color: var(--ink); }
.on-ink .btn-primary:hover { background: #eef5ea; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28); }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.link-btn { background: none; border: none; color: var(--accent-text); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 0; }

/* ---------- labels and tags ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: #ffffff; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); padding: 7px 15px; border-radius: 999px; }
.verified-tag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--teal); background: #2f6b2a14; border: 1px solid #2f6b2a33; padding: 3px 9px; border-radius: 4px; }
.tag { display: inline-block; font-size: 12.5px; padding: 5px 11px; border-radius: 5px; background: var(--paper-2); color: var(--ink-2); font-weight: 500; border: 1px solid var(--line); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--paper-2); color: var(--slate); border: 1px solid var(--line); }
.badge.ok { background: #2f6b2a14; color: var(--teal); border-color: #2f6b2a33; }
.badge.warn { background: #c2810a16; color: var(--gold-text); border-color: #c2810a38; }
.badge.bad { background: #b3261e12; color: var(--red); border-color: #b3261e38; }

/* ---------- cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.card.pad { padding: 24px; }
.card h3 { font-size: 16px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 1px 12px rgba(22, 26, 28, 0.1); }
.headrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; transition: height 0.25s ease; }
.site-header.scrolled .headrow { height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { height: 40px; width: auto; display: block; }
.site-header.scrolled .logo-mark { height: 34px; }
.logo-text { font-weight: 800; font-size: 15px; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
.logo-text small { display: block; font-weight: 600; font-size: 9.5px; letter-spacing: 0.14em; color: var(--slate); margin-top: 2px; }
.logo-text.on-dark { color: #ffffff; }
.logo-text.on-dark small { color: var(--on-dark-2); }
.desktop-nav { display: none; }
.navlink { font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 8px 2px; border-bottom: 2px solid transparent; letter-spacing: 0.005em; }
.navlink:hover, .navlink[aria-current="page"] { border-bottom-color: var(--accent); color: var(--accent); }
.navlink.with-icon { display: flex; align-items: center; gap: 5px; color: var(--slate); }
.head-ctas { display: none; align-items: center; gap: 14px; }
.head-ctas .btn { padding: 10px 20px; }
.burger { background: none; border: none; padding: 8px; display: flex; color: var(--ink); }
@media (min-width: 1024px) {
  .desktop-nav { display: flex; gap: 26px; }
  .head-ctas { display: flex; }
  .burger { display: none; }
}
.mobile-menu { position: fixed; inset: 0; background: var(--paper); z-index: 60; padding: 20px; overflow-y: auto; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mobile-menu .mm-close { background: none; border: none; padding: 8px; color: var(--ink); display: flex; }
.mobile-menu a.mm-item { display: block; padding: 16px 4px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu .mm-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #ffffff; overflow: hidden; padding: 84px 0 96px; text-align: center; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.3; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(22, 26, 28, 0.78) 0%, rgba(22, 26, 28, 0.86) 55%, rgba(14, 17, 18, 0.95) 100%); }
.hero-graphic { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; opacity: 0.42; }
.hero .wrap { position: relative; z-index: 3; }
.hero h1 { font-size: 38px; line-height: 1.06; font-weight: 800; margin: 20px auto; max-width: 840px; letter-spacing: -0.032em; }
@media (min-width: 640px) { .hero h1 { font-size: 54px; } }
@media (min-width: 960px) { .hero h1 { font-size: 68px; } }
.hero h1::after { content: ""; display: block; width: 60px; height: 3px; background: var(--brand); border-radius: 2px; margin: 26px auto 0; }
.hero .lead { font-size: 17.5px; color: var(--on-dark); line-height: 1.6; max-width: 540px; margin: 0 auto 32px; }
.hero-visual { display: grid; gap: 14px; max-width: 760px; margin: 44px auto 0; }
@media (min-width: 720px) { .hero-visual { grid-template-columns: repeat(3, 1fr); } }
.float-card { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px; padding: 17px 19px; text-align: left; }
.float-card .num { display: block; font-weight: 700; font-size: 19px; color: #ffffff; letter-spacing: -0.015em; }
.float-card .lbl { display: block; font-size: 12.5px; color: var(--on-dark-2); margin-top: 3px; line-height: 1.5; }

/* ---------- search card ---------- */
.search-wrap { margin-top: 56px; margin-bottom: 56px; }
.search-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 26px; box-shadow: 0 10px 30px rgba(22, 26, 28, 0.07); }
.search-title { font-size: 21px; margin-bottom: 18px; letter-spacing: -0.02em; }
.search-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 860px) { .search-grid { grid-template-columns: repeat(4, 1fr) auto; align-items: end; } }

/* ---------- form fields ---------- */
.field { min-width: 0; }
.field label, .field .label { display: block; font-size: 12.5px; font-weight: 600; color: var(--slate); margin-bottom: 7px; letter-spacing: 0.01em; }
.field .optional { font-weight: 500; }
.field select, .field input, .field textarea { width: 100%; padding: 12px; border-radius: 7px; border: 1px solid var(--line-strong); background: var(--paper); font-size: 15px; color: var(--ink); line-height: 1.4; }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a9296; }
.field .hint { display: block; margin-top: 6px; font-size: 13px; color: var(--slate); }
.field .error { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--red); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.form-card { padding: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 24px; }
.form-foot > :last-child { margin-left: auto; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step h2 { font-size: 20px; margin-bottom: 6px; }
.form-step .step-intro { color: var(--slate); font-size: 14.5px; margin-bottom: 22px; }
.consent { margin-top: 22px; }

/* ---------- sections ---------- */
section { padding: 70px 0; }
section.tight-top { padding-top: 0; }
section.band { background: var(--paper-2); }
section.page-head { padding: 26px 0 10px; }
.eyebrow-free-title { font-size: 29px; margin: 0 0 12px; letter-spacing: -0.028em; }
.eyebrow-free-title::after { content: ""; display: block; width: 52px; height: 3px; background: var(--brand); border-radius: 2px; margin-top: 14px; }
@media (min-width: 768px) { .eyebrow-free-title { font-size: 38px; } }
.page-head .eyebrow-free-title { margin-top: 14px; }
.section-lead { color: var(--slate); font-size: 16.5px; max-width: 660px; line-height: 1.65; margin: 0 0 36px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.region-card { display: block; overflow: hidden; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
a.region-card:hover { transform: translateY(-3px); border-color: #c3d3bb; box-shadow: 0 10px 26px rgba(22, 26, 28, 0.1); }
.region-card .rc-body { padding: 22px; }
.region-card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.02em; }
.region-card .countries { font-size: 14px; color: var(--slate); line-height: 1.6; }
.card-photo { width: 100%; height: 178px; object-fit: cover; display: block; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.country-card { display: block; padding: 22px; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.country-card:hover { transform: translateY(-3px); border-color: #c3d3bb; box-shadow: 0 10px 26px rgba(22, 26, 28, 0.1); }
.country-card h3 { font-size: 17px; margin-bottom: 6px; }
.country-card p { font-size: 13.5px; color: var(--slate); }
.country-card .go { color: var(--accent-text); font-weight: 600; }
.region-block { margin-bottom: 38px; scroll-margin-top: 90px; }
.region-block h2 { font-size: 20px; margin-bottom: 4px; }
.region-block > p { color: var(--slate); font-size: 14.5px; margin-bottom: 16px; }

.steps { display: grid; grid-template-columns: 1fr; gap: 0; list-style: none; margin: 0; padding: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 34px 22px; } }
.step { padding: 22px 0; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .step { border-top: none; border-left: 2px solid var(--accent); padding: 0 0 0 20px; } }
.step .n { font-weight: 700; font-size: 22px; color: var(--accent); letter-spacing: -0.02em; }
.step h3 { font-size: 16px; margin: 6px 0 4px; }
.step p { font-size: 13.5px; color: var(--slate); }

.why-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { padding: 24px; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.why-item:hover { transform: translateY(-2px); border-color: #c3d3bb; box-shadow: 0 10px 26px rgba(22, 26, 28, 0.1); }
.why-item h3 { margin: 0 0 8px; }
.why-item p { font-size: 14px; color: var(--slate); line-height: 1.55; }
.icon-badge { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-2); display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 15px; transition: transform 0.25s ease, border-color 0.25s ease; }
.why-item:hover .icon-badge, .step:hover .icon-badge { transform: scale(1.07); border-color: var(--accent); }

.split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.split img { width: 100%; height: 340px; object-fit: cover; border-radius: 10px; display: block; background: var(--paper-2); }
.split h2 { font-size: 28px; margin: 12px 0; }
.split h2::after { content: ""; display: block; width: 52px; height: 3px; background: var(--brand); border-radius: 2px; margin-top: 14px; }
.split p { color: var(--slate); font-size: 15px; line-height: 1.7; }
.split .btn-row { margin-top: 20px; }

.about-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 860px) { .about-grid { grid-template-columns: repeat(3, 1fr); } }
.about-grid h2 { font-size: 22px; margin: 12px 0 10px; }
.about-grid p { color: var(--slate); font-size: 14.5px; line-height: 1.65; }

.callout-end { background: var(--ink); color: #ffffff; border-radius: 12px; padding: 50px 28px; text-align: center; }
.callout-end h2 { font-size: 26px; margin-bottom: 10px; }
.callout-end p { color: var(--on-dark); max-width: 480px; margin: 0 auto 22px; }
.callout-end .btn-row { margin-top: 18px; }

.notice { background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 15px 17px; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.notice.bad { background: #b3261e0d; border-color: #b3261e40; border-left-color: var(--red); color: var(--red); font-weight: 600; }
.notice.ok { border-left-color: var(--teal); color: var(--teal); font-weight: 600; }
.notice.gap { margin-bottom: 18px; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 13.5px; color: var(--slate); }
.crumbs a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- prose pages (about) ---------- */
.prose p { color: var(--slate); line-height: 1.8; font-size: 15.5px; }
.prose h2 { font-size: 22px; margin: 44px 0 12px; }
.prose .intro { font-size: 16px; }
.figure-grid { margin-top: 34px; }
.figure-card { padding: 22px; }
.figure-card .fig { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--accent-text); }
.figure-card .fig-label { font-size: 13.5px; color: var(--slate); margin-top: 6px; line-height: 1.5; }
.milestones { list-style: none; margin: 18px 0 0; padding: 0; }
.milestones li { display: grid; grid-template-columns: 64px 2px 1fr; gap: 20px; padding-bottom: 22px; }
.milestones li:last-child { padding-bottom: 0; }
.milestones .yr { text-align: right; font-size: 17px; font-weight: 800; color: var(--accent-text); letter-spacing: -0.01em; }
.milestones .bar { background: var(--brand); border-radius: 2px; }
.milestones li:last-child .bar { opacity: 0.35; }
.milestones b { display: block; font-size: 15.5px; }
.milestones span.d { display: block; font-size: 14px; color: var(--slate); margin-top: 3px; }
.prose .notice { margin-top: 26px; }
.wide-photo { width: 100%; height: 280px; object-fit: cover; border-radius: 6px; display: block; background: var(--paper-2); margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-card p { color: var(--slate); font-size: 14.5px; line-height: 1.7; }
.contact-card h2 { font-size: 17px; margin-bottom: 10px; }
.contact-card .links { display: flex; gap: 14px; margin-top: 14px; }
.contact-card .links a { color: var(--teal); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.contact-card .btn-row { margin-top: 16px; }
.stack { display: grid; gap: 24px; }
.after-grid { margin-top: 30px; }

/* ---------- country pages ---------- */
.country-hero { position: relative; overflow: hidden; background: var(--ink); color: #ffffff; padding: 28px 0 40px; }
.country-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.26; }
.country-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(22, 26, 28, 0.78), rgba(14, 17, 18, 0.94)); }
.country-hero .wrap { position: relative; z-index: 2; }
.country-hero .crumbs { color: var(--on-dark-2); }
.country-hero .crumbs a { color: var(--gold-2); }
.country-hero h1 { margin: 16px 0 8px; font-size: 34px; }
@media (min-width: 768px) { .country-hero h1 { font-size: 44px; letter-spacing: -0.03em; } }
.country-hero .sub { color: var(--on-dark); max-width: 640px; font-size: 15.5px; }
.quickfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 26px 0 0; padding: 0; }
@media (min-width: 720px) { .quickfacts { grid-template-columns: repeat(4, 1fr); } }
.qf { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px; padding: 15px 17px; }
.qf dt { font-size: 11.5px; color: var(--on-dark-2); font-weight: 600; letter-spacing: 0.03em; }
.qf dd { font-size: 14.5px; font-weight: 600; margin: 5px 0 0; color: #ffffff; line-height: 1.45; }
section.guide { padding-top: 44px; padding-bottom: 20px; }
.guide h2 { font-size: 22px; margin: 0 0 12px; }
.guide .block { margin-bottom: 44px; max-width: 820px; }
.guide .block.wide { max-width: none; }
.guide .block > p { color: var(--slate); line-height: 1.75; }
.guide ul.points { margin: 0; padding-left: 20px; color: var(--slate); line-height: 1.7; }
.guide ul.points li { margin-bottom: 8px; }
.city-grid, .partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.city-grid li, .partner-grid li { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; font-weight: 600; font-size: 14.5px; background: var(--white); }
.partner-grid li { font-weight: 500; font-size: 14px; }
.guide .after { margin-top: 16px; }
.guide .tuition-note { margin-bottom: 16px; }
.footnote { font-size: 13.5px; color: var(--slate); max-width: 820px; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; }
table.costs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.costs td, table.costs th { padding: 11px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.costs thead th { color: var(--slate); font-weight: 600; font-size: 12.5px; letter-spacing: 0.02em; border-bottom: 2px solid var(--ink); }
table.costs tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ---------- directory pages ---------- */
.filters-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; align-items: flex-end; }
.filters-row .field { flex: 0 1 200px; }
.filters-row .field.grow { flex: 1 1 240px; }
.filters-row .field select, .filters-row .field input { background: var(--white); }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 0 4px; border-top: 1px solid var(--line); margin-bottom: 26px; font-size: 14px; color: var(--slate); }
.result-bar strong { color: var(--ink); }
.uni-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.uni-card:hover { transform: translateY(-2px); border-color: #c3d3bb; box-shadow: 0 10px 26px rgba(22, 26, 28, 0.1); }
.uni-logo { width: 46px; height: 46px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: var(--ink); }
.uni-card h3 { font-size: 15.5px; line-height: 1.35; }
.uni-card .where { font-size: 13px; color: var(--slate); }
.uni-card .btn-row { margin-top: auto; padding-top: 8px; gap: 8px; }
.course-list { display: grid; gap: 12px; }
.course-card { padding: 18px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.course-card h3 { margin-bottom: 4px; }
.course-card .where { font-size: 13.5px; color: var(--slate); }
.course-card .btn-row { gap: 8px; }
.empty-card { padding: 38px; text-align: center; }
.empty-card h3 { font-size: 18px; margin-bottom: 8px; }
.empty-card p { color: var(--slate); font-size: 14.5px; max-width: 480px; margin: 0 auto 20px; line-height: 1.6; }

/* ---------- compare ---------- */
.tabbar { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabbtn { padding: 12px 17px; font-size: 14px; font-weight: 600; color: var(--slate); border: none; background: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabbtn[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { font-size: 13.5px; padding: 9px 15px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-weight: 600; border: 1px solid var(--line); }
.chip[aria-pressed="true"] { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.compare-note { color: var(--slate); font-size: 14px; margin-bottom: 14px; }
.compare-panel + .compare-panel { margin-top: 44px; }
.compare-panel h2 { font-size: 20px; margin-bottom: 14px; }
.compare-actions { margin-top: 30px; }

/* ---------- application form ---------- */
.stepbar { display: flex; flex-wrap: wrap; margin: 0 0 30px; padding: 0; list-style: none; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.stepbar li { flex: 1 1 140px; padding: 12px 14px; background: var(--white); border-right: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.stepbar li:last-child { border-right: none; }
.stepbar li small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; }
.stepbar li.done { background: var(--paper-2); }
.stepbar li.current { background: var(--ink); color: #ffffff; }
.review .card { padding: 18px; margin-bottom: 12px; }
.review .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.review h3 { font-size: 15px; }
.rows { margin: 0; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 6px 0; border-top: 1px solid var(--line); }
.rows dt { color: var(--slate); flex: none; }
.rows dd { margin: 0; font-weight: 500; text-align: right; overflow-wrap: anywhere; white-space: pre-wrap; }
.done-card { background: var(--ink); color: #ffffff; border-radius: 12px; padding: 40px 28px; }
.done-card h1 { font-size: 28px; margin-bottom: 10px; }
.done-card p { color: var(--on-dark); max-width: 560px; font-size: 14.5px; line-height: 1.6; }
.done-card .reference { font-weight: 700; font-size: 30px; color: #ffffff; margin: 6px 0 18px; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.done-card .btn-row { margin-top: 20px; }
.done-block { display: grid; gap: 30px; padding-top: 36px; }
.done-block h2 { font-size: 18px; margin-bottom: 8px; }
.done-block .muted { font-size: 14.5px; }
.doc-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.doc-list li { border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: 14px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; }
.doc-list .name { font-weight: 600; font-size: 14.5px; }
.doc-list .name small { font-weight: 500; color: var(--slate); font-size: 13px; }
.doc-list .note { flex-basis: 100%; color: var(--red); font-size: 13.5px; font-weight: 500; }
.file-list { list-style: none; margin: 4px 0 0; padding: 0; flex-basis: 100%; display: grid; gap: 4px; }
.doc-list .file-list li, .other-docs .file-list li { border: 0; border-radius: 0; background: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 2px 10px; font-size: 13.5px; }
.file-list .file-name { font-weight: 600; color: var(--ink-2); overflow-wrap: anywhere; }
.file-list .file-name::before { content: "✓ "; color: var(--teal); }
.file-list .file-meta { color: var(--slate); }
.upload-row { flex-basis: 100%; margin-top: 6px; }
.btn.btn-small { min-height: 36px; padding: 7px 16px; font-size: 13.5px; }
.upload-btn[disabled] { opacity: 0.6; cursor: default; }
.other-docs { margin-top: 18px; border: 1px dashed var(--line); border-radius: 8px; padding: 14px 16px; }
.other-docs h3 { font-size: 14.5px; margin: 0 0 4px; }
.other-docs p { font-size: 13.5px; margin: 0; }
.portal-grid .part > p.small-print { font-size: 13px; margin-top: 12px; }
.portal-grid .part > p.notice { color: var(--teal); }
.portal-grid .part > p.notice.bad { color: var(--red); }
.consent a, .form-foot .muted a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose h2 + p, .prose ul + p { margin-top: 0; }
.prose p + p { margin-top: 10px; }
.prose ul.plain { margin: 8px 0 14px; padding-left: 20px; color: var(--slate); line-height: 1.75; font-size: 15.5px; }
.prose ul.plain li + li { margin-top: 4px; }

/* ---------- My PAL (tracking) ---------- */
.portal-top { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.portal-top p { font-size: 16.5px; color: var(--ink-2); }
.next-card { padding: 22px; border-left: 4px solid var(--gold); margin-bottom: 20px; }
.next-card .k { font-size: 12.5px; font-weight: 700; color: var(--gold-text); margin-bottom: 6px; }
.next-card h2 { font-size: 19px; margin-bottom: 6px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
.next-card p { font-size: 14px; color: var(--slate); }
.next-card.closed { border-left-color: var(--slate); }
.facts .card { padding: 18px; }
.facts .k { font-size: 12.5px; color: var(--slate); }
.facts .v { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.portal-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 34px; align-items: start; }
@media (min-width: 900px) { .portal-grid { grid-template-columns: 1.3fr 1fr; gap: 44px; } }
.portal-grid h2 { font-size: 19px; margin-bottom: 6px; }
.portal-grid .part + .part { margin-top: 36px; }
.portal-grid .part > p { color: var(--slate); font-size: 14.5px; }
.stages { list-style: none; margin: 10px 0 0; padding: 18px 22px; counter-reset: stage; }
.stages li { counter-increment: stage; display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--slate); }
.stages li::before { content: counter(stage); flex: none; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: var(--paper-2); color: var(--slate); }
.stages li.done { color: var(--ink); }
.stages li.done::before { content: "✓"; background: var(--teal); color: #ffffff; }
.stages li.current { color: var(--ink); font-weight: 700; }
.stages li.current::before { background: var(--gold-text); color: #ffffff; }
.stages .when { margin-left: 4px; font-size: 12.5px; color: var(--gold-text); font-weight: 600; }
.updates { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.updates li { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: var(--white); }
.updates time { display: block; font-size: 12.5px; color: var(--slate); margin-bottom: 2px; }
.updates p { font-size: 14.5px; overflow-wrap: anywhere; white-space: pre-wrap; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-2); padding: 58px 0 32px; margin-top: 24px; }
.footer h2 { color: #ffffff; font-size: 15px; margin: 0 0 15px; letter-spacing: -0.01em; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }
.footer a, .footer .contact-line { display: block; font-size: 14px; padding: 5px 0; color: var(--on-dark-2); }
.footer a:hover { color: #ffffff; }
.footer .staff-link { font-size: 12px; opacity: 0.5; margin-top: 6px; }
.footer .staff-link:hover { opacity: 0.9; }
.footer .blurb { font-size: 14px; line-height: 1.6; max-width: 320px; margin-top: 14px; }
.footer .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12.5px; color: #9aa49b; }

/* ---------- mobile bar ---------- */
.mbar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--line); display: flex; z-index: 40; box-shadow: 0 -4px 16px rgba(22, 26, 28, 0.07); }
.mbar a { flex: 1; padding: 12px 4px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 5px; }
@media (min-width: 768px) { .mbar { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 66px; } }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.js .reveal.in { opacity: 1; transform: translateY(0); }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-enter { animation: heroFadeUp 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hero-enter.d1 { animation-delay: 0.05s; }
.hero-enter.d2 { animation-delay: 0.15s; }
.hero-enter.d3 { animation-delay: 0.25s; }
.hero-enter.d4 { animation-delay: 0.35s; }
.hero-graphic .node { animation: nodePulse 2.6s ease-in-out infinite; }
.hero-graphic .node.n2 { animation-delay: 0.4s; }
.hero-graphic .node.n3 { animation-delay: 0.8s; }
.hero-graphic .node.n4 { animation-delay: 1.2s; }
.hero-graphic .node.n5 { animation-delay: 1.6s; }
.hero-graphic .route { stroke-dasharray: 6 6; animation: routeFlow 6s linear infinite; }
@keyframes nodePulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes routeFlow { to { stroke-dashoffset: -240; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-enter { animation: none; }
  .hero-graphic .node, .hero-graphic .route { animation: none; }
  .btn, .region-card, .country-card, .why-item, .uni-card, .icon-badge { transition: none; }
}

/* ---------- small additions ---------- */
.review-card { padding: 6px 18px; margin-top: 10px; }
.review-card .rows > div:first-child { border-top: 0; }
.review .rows > div:first-child { border-top: 1px solid var(--line); }

/* ---------- our students ---------- */
.student-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .student-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .student-grid { grid-template-columns: repeat(3, 1fr); } }
.student-card { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.st-avatar { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; color: #ffffff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; letter-spacing: 0.02em; }
.student-card h3 { font-size: 15.5px; line-height: 1.3; }
.st-prog { font-size: 14px; color: var(--ink-2); margin-top: 4px; line-height: 1.4; }
.st-uni { font-size: 14px; color: var(--accent-text); font-weight: 600; margin-top: 4px; line-height: 1.4; }
.st-meta { font-size: 12.5px; color: var(--slate); margin-top: 4px; }
.student-more { margin-top: 18px; }
.student-more > summary { list-style: none; }
.student-more > summary::-webkit-details-marker { display: none; }
.student-more[open] > summary { margin-bottom: 18px; }
.uni-strip { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.uni-strip h3 { font-size: 16px; margin-bottom: 12px; }
.uni-strip .tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.av0 { background: #38701d; } .av1 { background: #2f6b2a; } .av2 { background: #96610a; }
.av3 { background: #3f7c21; } .av4 { background: #2b3134; } .av5 { background: #5a7d2c; }

/* ---------- hero, reworked (Oct 2026): copy on the left, real student journeys on the right ---------- */
.hero { text-align: left; padding: 72px 0 80px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; } }
.hero h1 { margin: 20px 0; max-width: 640px; }
@media (min-width: 960px) { .hero h1 { font-size: 60px; } }
.hero h1::after { margin: 24px 0 0; }
.hero .lead { margin: 0 0 30px; }
.hero .btn-row { justify-content: flex-start; }
.hero-facts { list-style: none; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.16); display: grid; gap: 10px; font-size: 14px; color: var(--on-dark-2); }
@media (min-width: 640px) { .hero-facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; } }
.hero-facts strong { display: block; color: #ffffff; font-size: 15.5px; font-weight: 700; }

.journeys { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px; padding: 24px 24px 20px; }
.journeys h2 { font-size: 15px; font-weight: 600; color: var(--on-dark); letter-spacing: 0; margin-bottom: 6px; }
.journeys ul { list-style: none; margin: 0; padding: 0; }
.journey { padding: 16px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.18); }
.journey:last-child { border-bottom: 0; }
.j-name { font-weight: 700; font-size: 16px; color: #ffffff; }
.j-prog { font-size: 13.5px; color: var(--on-dark-2); margin-top: 2px; }
.j-route { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.j-dot { flex: 0 0 9px; height: 9px; border-radius: 50%; border: 2px solid var(--brand); }
.j-line { flex: 0 0 34px; height: 0; border-top: 2px dashed var(--brand); }
.j-dest { font-size: 13.5px; color: var(--on-dark); line-height: 1.4; }
.j-dest strong { display: block; color: #ffffff; font-size: 14.5px; font-weight: 600; }
.j-more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; color: #ffffff; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* why PAL: a quiet list, not a wall of cards */
.why-grid { gap: 34px 40px; }
.why-item { padding: 0; }
.why-item:hover { transform: none; box-shadow: none; }
.why-item h3 { margin-top: 14px; }

/* our students now sits directly under the search card */
#our-students { padding-top: 64px; }

/* agents: invitation to work with PAL */
.agent-band { display: grid; gap: 22px; align-items: center; padding: 30px 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); }
@media (min-width: 900px) { .agent-band { grid-template-columns: minmax(0, 1.4fr) auto; } }
.agent-band h2 { font-size: 24px; margin-bottom: 8px; }
.agent-band p { color: var(--slate); max-width: 620px; line-height: 1.6; }
.agent-band .btn-row { justify-content: flex-start; }

/* ---------- redesign, Oct 2026 ---------- */
/* solid header so page text never shows through when scrolling */
.site-header { background: #ffffff; }

/* hero: one clear message on the left, the journey on the right */
.hero { padding: 88px 0 96px; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 64px; } }
.hero h1 { font-size: 36px; line-height: 1.08; max-width: 660px; }
@media (min-width: 640px) { .hero h1 { font-size: 48px; } }
@media (min-width: 960px) { .hero h1 { font-size: 56px; } }
.hero h1 .h1-quote { display: block; }
.hero h1 .h1-turn { display: block; color: #8fd667; margin-top: 10px; }
.hero .lead { max-width: 560px; font-size: 18px; }
.passport { position: relative; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 16px; padding: 28px 28px 24px; backdrop-filter: blur(4px); }
.passport::before { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(143, 214, 103, 0.35); border-radius: 11px; pointer-events: none; }
.pp-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8fd667; }
.passport h2 { font-size: 21px; color: #ffffff; margin: 8px 0 18px; letter-spacing: -0.015em; }
.pp-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.pp-steps li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 0 0 18px; }
.pp-steps li:last-child { padding-bottom: 0; }
.pp-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; border-left: 2px dashed rgba(143, 214, 103, 0.45); }
.pp-n { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #ffffff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.pp-steps strong { display: block; color: #ffffff; font-size: 16px; line-height: 1.3; }
.pp-steps span:not(.pp-n) { display: block; color: var(--on-dark); font-size: 14px; line-height: 1.5; margin-top: 2px; }
.pp-link { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 600; color: #ffffff; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* inner page headings sit on a soft band, clear of the header */
section.page-head { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 36px 0 34px; }
.page-head .section-lead { margin-bottom: 0; }
.page-head + section.tight-top { padding-top: 44px; }

/* service cards: even padding, icons, equal heights */
.card.why-item { padding: 26px; }
.svc-stages { display: grid; gap: 44px; }
.svc-stage { display: grid; gap: 18px; }
@media (min-width: 1024px) { .svc-stage { grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: start; } }
.svc-head { display: flex; gap: 14px; align-items: flex-start; }
@media (min-width: 1024px) { .svc-head { position: sticky; top: 90px; } }
.svc-num { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #ffffff; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.svc-head h2 { font-size: 22px; letter-spacing: -0.02em; }
.svc-head p { color: var(--slate); font-size: 14.5px; margin-top: 4px; line-height: 1.5; }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card { padding: 26px 24px; display: flex; flex-direction: column; height: 100%; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.svc-card:hover { transform: translateY(-2px); border-color: #c3d3bb; box-shadow: 0 10px 26px rgba(22, 26, 28, 0.08); }
.svc-card:hover .icon-badge { border-color: var(--accent); }
.svc-card h3 { font-size: 16.5px; line-height: 1.3; margin: 0 0 8px; }
.svc-card p { font-size: 14.5px; color: var(--slate); line-height: 1.6; }
.svc-stage + .svc-stage { padding-top: 44px; border-top: 1px solid var(--line); }
.after-grid { margin-top: 40px; }

/* library photo on the services page: a slimmer banner */
.wide-photo { height: 200px; border-radius: 12px; margin-bottom: 48px; }
@media (max-width: 719px) { .wide-photo { height: 140px; margin-bottom: 32px; } }
/* the opening quote mark hangs, so the words line up with the text below */
.hero h1 .h1-quote { text-indent: -0.4em; }
main:focus { outline: none; }

/* footer: both offices */
.footer .contact-line { padding-bottom: 0; line-height: 1.5; }
.footer .contact-line b { color: #ffffff; font-weight: 600; }
.footer .contact-line + a { padding-top: 2px; margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) { .svc-card { transition: none; } }

/* ---------- animation, Oct 2026 ---------- */
@keyframes wordUp { from { opacity: 0; transform: translateY(0.45em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes slowZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes barGrow { from { width: 0; } to { width: 60px; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes lineDraw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(143, 214, 103, 0.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(143, 214, 103, 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@property --n { syntax: "<integer>"; inherits: false; initial-value: 1000; }
@keyframes countUp { from { --n: 0; } to { --n: 1000; } }

/* hero background drifts in slowly */
.hero-photo { animation: slowZoom 14s cubic-bezier(0.2, 0.6, 0.3, 1) both; }

/* headline, word by word */
.hero h1 .w { display: inline-block; animation: wordUp 0.75s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hero h1 .h1-quote { text-indent: 0; }
.hero h1 .w1 { margin-left: -0.4em; }
.w1 { animation-delay: 0.15s !important; } .w2 { animation-delay: 0.23s !important; } .w3 { animation-delay: 0.31s !important; }
.w4 { animation-delay: 0.39s !important; } .w5 { animation-delay: 0.47s !important; } .w6 { animation-delay: 0.55s !important; }
.w7 { animation-delay: 0.63s !important; } .w8 { animation-delay: 1.0s !important; } .w9 { animation-delay: 1.1s !important; }
.w10 { animation-delay: 1.2s !important; }
.hero h1.h1-anim::after { animation: barGrow 0.8s 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hero .lead.hero-enter { animation-delay: 1.3s; }
.hero .btn-row.hero-enter { animation-delay: 1.5s; }
.hero .hero-facts.hero-enter { animation-delay: 1.7s; }

/* 1,000+ counts up */
.count { --n: 1000; counter-reset: n var(--n); animation: countUp 2s 1.8s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.count::after { content: counter(n) "+"; }

/* journey card: steps arrive one by one, the dashed line draws itself, the dots glow in turn */
.passport.hero-enter { animation-delay: 0.6s; }
.pp-steps li { animation: stepIn 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.pp-steps li:nth-child(1) { animation-delay: 1.0s; }
.pp-steps li:nth-child(2) { animation-delay: 1.35s; }
.pp-steps li:nth-child(3) { animation-delay: 1.7s; }
.pp-steps li:nth-child(4) { animation-delay: 2.05s; }
.pp-steps li:not(:last-child)::after { transform-origin: top; animation: lineDraw 0.45s ease-out both; }
.pp-steps li:nth-child(1)::after { animation-delay: 1.3s; }
.pp-steps li:nth-child(2)::after { animation-delay: 1.65s; }
.pp-steps li:nth-child(3)::after { animation-delay: 2.0s; }
.pp-n { animation: ring 4s ease-out infinite; }
.pp-steps li:nth-child(1) .pp-n { animation-delay: 2.6s; }
.pp-steps li:nth-child(2) .pp-n { animation-delay: 3.6s; }
.pp-steps li:nth-child(3) .pp-n { animation-delay: 4.6s; }
.pp-steps li:nth-child(4) .pp-n { animation-delay: 5.6s; }

/* inner page headings slide in on every page */
.page-head .wrap > * { animation: fadeUp 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.page-head .wrap > :nth-child(2) { animation-delay: 0.1s; }
.page-head .wrap > :nth-child(3) { animation-delay: 0.2s; }
.page-head .eyebrow-free-title::after { animation: barGrow 0.7s 0.35s cubic-bezier(0.2, 0.7, 0.3, 1) both; max-width: 52px; }

/* section title underlines draw as they scroll into view */
.js .reveal .eyebrow-free-title::after { width: 0; transition: width 0.8s 0.25s cubic-bezier(0.2, 0.7, 0.3, 1); }
.js .reveal.in .eyebrow-free-title::after { width: 52px; }

/* cards in a row arrive one after another */
.svc-grid > :nth-child(2), .grid-3 > :nth-child(3n+2), .student-grid > :nth-child(3n+2) { transition-delay: 0.12s; }
.svc-grid > :nth-child(3), .grid-3 > :nth-child(3n), .student-grid > :nth-child(3n) { transition-delay: 0.24s; }
.svc-card.in:hover, .region-card.in:hover { transition-delay: 0s; }

/* service stage numbers and icons pop in */
.js .svc-head.reveal .svc-num { opacity: 0; }
.js .svc-head.reveal.in .svc-num { animation: popIn 0.6s 0.15s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.js .svc-card.reveal .icon-badge { opacity: 0; transform: scale(0.4); }
.js .svc-card.reveal.in .icon-badge { animation: popIn 0.6s 0.3s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.js .svc-grid > .svc-card.reveal.in:nth-child(2) .icon-badge { animation-delay: 0.42s; }
.js .svc-grid > .svc-card.reveal.in:nth-child(3) .icon-badge { animation-delay: 0.54s; }
.svc-card:hover .icon-badge { background: var(--accent); color: #ffffff; transition: background 0.2s ease, color 0.2s ease; }

@media (prefers-reduced-motion: reduce) {
  .hero-photo, .hero h1 .w, .hero h1.h1-anim::after, .count, .pp-steps li, .pp-steps li::after, .pp-n,
  .page-head .wrap > *, .page-head .eyebrow-free-title::after { animation: none !important; }
  .js .reveal .eyebrow-free-title::after { width: 52px; transition: none; }
  .js .svc-head.reveal .svc-num, .js .svc-card.reveal .icon-badge { opacity: 1; transform: none; animation: none !important; }
}

/* ---------- student stories video ---------- */
section.stories { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stories-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 980px) { .stories-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; } }
.stories-copy .section-lead { margin-bottom: 20px; }
.stories-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.stories-points li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.stories-points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 4px #dcebd3; }
.stories-video { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--ink) url(./pal-education-stories-poster.jpg) center / cover no-repeat; box-shadow: 0 24px 60px rgba(22, 26, 28, 0.22); aspect-ratio: 16 / 9; }
.stories-video video { display: block; width: 100%; height: 100%; object-fit: cover; background: transparent; }
#our-students { padding-top: 70px; }

/* ---------- university lists on country pages ---------- */
.uni-costs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 0 0 18px; }
.uni-costs div { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: var(--paper-2); }
.uni-costs dt { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate); }
.uni-costs dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.uni-sources { font-size: 13.5px; color: var(--slate); margin-top: 12px; }
.uni-sources a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.uni-lead { margin-bottom: 22px; }
.uni-actions { margin-top: 14px; }
.uni-group + .uni-group { margin-top: 36px; }
.uni-group h3 { font-size: 18px; margin: 0 0 6px; }
.uni-group > p { color: var(--slate); font-size: 14.5px; margin: 0 0 14px; max-width: 820px; }
.uni-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.uni { border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.uni[open] { border-color: var(--line-strong); }
.uni > summary { margin: 0; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; cursor: pointer; }
.uni-name { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.uni-meta { grid-column: 1; font-size: 13.5px; color: var(--slate); }
.uni-fee { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-weight: 600; font-size: 14px; color: var(--accent-text); font-variant-numeric: tabular-nums; max-width: 260px; }
.uni-fee.ask { color: var(--gold-text); }
.uni > summary::after { content: "Details +"; grid-column: 2; font-size: 12.5px; color: var(--slate); text-align: right; }
.uni[open] > summary::after { content: "Close −"; }
.uni-body { padding: 0 16px 16px; border-top: 1px solid var(--line); }
.uni-body > p { margin: 14px 0 0; color: var(--ink-2); line-height: 1.65; max-width: 760px; }
.uni-body dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 16px; margin: 14px 0 0; font-size: 14.5px; }
.uni-body dt { color: var(--slate); font-weight: 600; }
.uni-body dd { margin: 0; line-height: 1.55; }
.uni-body ul { margin: 0; padding-left: 18px; }
.uni-body .uni-src { margin-top: 12px; font-size: 13px; color: var(--slate); }
.uni-body .uni-src a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .uni > summary { grid-template-columns: minmax(0, 1fr); }
  .uni-fee, .uni > summary::after { grid-row: auto; grid-column: 1; text-align: left; max-width: none; }
  .uni-body dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .uni-body dd { margin-bottom: 8px; }
}

/* ---------- university directory: basic details ---------- */
.grid-3[data-list] { align-items: start; }
.uni-card .uni-about { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.uni-card .uni-flag { font-size: 12.5px; line-height: 1.45; font-weight: 600; color: var(--gold-text); background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 6px 9px; }
.uni-more { border-top: 1px solid var(--line); padding-top: 8px; }
.uni-more > summary { margin: 0; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--accent-text); list-style: none; display: flex; justify-content: space-between; gap: 8px; }
.uni-more > summary::-webkit-details-marker { display: none; }
.uni-more > summary::after { content: "+"; font-weight: 700; }
.uni-more[open] > summary::after { content: "\2212"; }
.uni-more dl { margin: 10px 0 0; display: grid; gap: 8px; font-size: 13.5px; }
.uni-more dt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate); }
.uni-more dd { margin: 2px 0 0; line-height: 1.5; color: var(--ink); }
.uni-more dd.ask { color: var(--gold-text); }
.uni-more .uni-src { margin: 10px 0 0; font-size: 12.5px; color: var(--slate); overflow-wrap: anywhere; }
.uni-more .uni-src a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- check your chances ---------- */
.ch-basis { margin-top: 14px; max-width: 760px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 12px 14px; }
.ch-form { display: grid; gap: 22px; }
.ch-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.ch-set legend { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; margin-bottom: 12px; padding: 0; }
.ch-n { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.ch-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.ch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; line-height: 1.4; cursor: pointer; }
.ch-chips .ch-check { border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 13px; background: var(--white); }
.ch-chips .ch-check:has(input:checked) { border-color: var(--accent); background: var(--paper-2); }
.ch-check input { width: 17px; height: 17px; accent-color: var(--accent); margin: 0; }
.ch-check-field { align-self: end; padding-bottom: 10px; }

.ch-result { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.ch-result > * { min-width: 0; }
.ch-head h2 { font-size: 24px; margin-bottom: 6px; }
.ch-head p { color: var(--ink-2); }
.ch-cards { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ch-card { border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ch-card h3 { font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate); }
.ch-pct { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ch-pct.na { font-size: 18px; font-weight: 700; color: var(--slate); }
.ch-band { align-self: start; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: var(--paper-2); }
.ch-band.high { color: var(--accent-text); }
.ch-band.fair { color: var(--gold-text); }
.ch-band.low { color: var(--red); }
.ch-meter { position: relative; height: 8px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; }
.ch-meter span { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--accent); }
.ch-meter.fair span { background: var(--gold); }
.ch-meter.low span { background: var(--red); }
.ch-why { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.55; color: var(--ink-2); display: grid; gap: 4px; }
.ch-data { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--slate); overflow-wrap: anywhere; }
.ch-data a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.ch-data b { color: var(--ink-2); font-weight: 600; }
.ch-tips { border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); padding: 16px 18px; }
.ch-tips h3 { font-size: 16px; margin-bottom: 8px; }
.ch-tips ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14.5px; }
.ch-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.ch-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.ch-table th, .ch-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ch-table thead th { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate); background: var(--paper-2); }
.ch-table tbody tr:last-child td { border-bottom: 0; }
.ch-table button { font: inherit; font-weight: 600; color: var(--accent-text); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.ch-table .na { color: var(--slate); }
.ch-table tr.on td { background: var(--paper-2); }
.ch-fine { font-size: 13px; line-height: 1.6; color: var(--slate); }
.ch-sent { font-size: 14px; }
.home-chances { border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.home-chances h2 { font-size: 24px; margin-bottom: 6px; }
.home-chances p { color: var(--ink-2); max-width: 640px; }
@media (max-width: 860px) { .ch-cards { grid-template-columns: minmax(0, 1fr); } .home-chances { grid-template-columns: minmax(0, 1fr); } }
.ch-sub { font-size: 18px; margin-bottom: 10px; }
.ch-note { display: block; margin-top: 5px; font-size: 12.5px; color: var(--slate); }


/* ---------- planning tools, WhatsApp, numbers (Oct 2026) ---------- */
.link { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.small { font-size: 13px; }
.gap-top { margin-top: 18px; }
.tools-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }
.tool-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.tool-card:hover { transform: translateY(-3px); border-color: #c3d3bb; box-shadow: 0 10px 26px rgba(22, 26, 28, 0.1); }
.tool-card h2, .tool-card h3 { font-size: 18px; }
.tool-card p { font-size: 14px; color: var(--slate); flex: 1; }
.tool-card .go { color: var(--accent-text); font-weight: 600; font-size: 14px; }
.tools-sub { font-size: 22px; margin: 40px 0 16px; }
.cost-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 15px; }
.cost-table th, .cost-table td { text-align: left; padding: 11px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cost-table td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cost-table th .sub { display: block; font-weight: 400; color: var(--slate); font-size: 12.5px; }
.cost-table th { font-weight: 500; }
.cost-out p + p { margin-top: 8px; }
.plan { list-style: none; margin: 0 0 16px; padding: 0; border-left: 2px solid var(--gold-2); }
.plan li { position: relative; padding: 0 0 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.plan li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.plan li.late::before { background: var(--gold); }
.plan-date { font-size: 12.5px; font-weight: 700; color: var(--accent-text); letter-spacing: 0.02em; text-transform: uppercase; }
.plan li.late .plan-date { color: var(--gold-text); }
.check-group { margin-bottom: 18px; }
.check-group h3 { font-size: 16px; margin-bottom: 8px; }
.doc-check { list-style: none; margin: 0; padding: 0; }
.doc-check li { border-bottom: 1px solid var(--line); }
.doc-check label { display: flex; gap: 10px; align-items: flex-start; padding: 9px 2px; cursor: pointer; font-size: 14.5px; }
.doc-check input { margin-top: 4px; accent-color: var(--accent); }
.doc-check input:checked + span { text-decoration: line-through; color: var(--slate); }
.steps-list { margin: 0; padding-left: 22px; line-height: 1.7; color: var(--ink-2); }
.steps-list li { margin-bottom: 12px; }
.consent-line { margin-top: 18px; }
.wa-float { position: fixed; right: 16px; bottom: 18px; z-index: 45; display: inline-flex; align-items: center; gap: 9px; background: #1f8f4e; color: #fff; border-radius: 999px; padding: 12px 18px 12px 14px; font-weight: 600; font-size: 14.5px; box-shadow: 0 8px 22px rgba(22, 26, 28, 0.24); }
.wa-float:hover { background: #18773f; }
.wa-dot { width: 22px; height: 22px; border-radius: 50%; background: #fff; position: relative; flex: none; }
.wa-dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #1f8f4e; }
@media (max-width: 767px) { .wa-float { display: none; } }
.field label.check { display: flex; gap: 12px; font-size: 14.5px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; margin: 0; }
.field label.check input { width: auto; flex: none; margin-top: 3px; accent-color: var(--accent); }
@media (max-width: 560px) {
  .cost-table tr { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); }
  .cost-table th, .cost-table td { display: block; border: 0; padding: 2px 0; text-align: left; white-space: normal; }
}
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 860px) { .numbers { grid-template-columns: repeat(4, 1fr); } }
.numbers div { background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.numbers b { display: block; font-size: 30px; letter-spacing: -0.03em; color: var(--accent); }
.numbers span { font-size: 14px; color: var(--slate); }
.partner-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.partner-strip a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; color: var(--ink-2); background: var(--white); }
.partner-strip a:hover { border-color: var(--accent); color: var(--accent-text); }
.home-tools h2 { font-size: 26px; margin-bottom: 6px; }
.home-tools > .wrap > p { color: var(--slate); margin-bottom: 20px; }
@media print {
  .site-header, .footer, .mbar, .wa-float, .crumbs, #checklist-form, #costs-form, .tool-lead, #costs-lead, #intakes-lead, .btn-row { display: none !important; }
  section { padding: 10px 0 !important; }
  .card { border: 0 !important; }
}


/* course finder catalogue and compare (October 2026) */
.cat-card { align-items: flex-start; }
.cat-main { flex: 1 1 420px; min-width: 0; }
.cat-card .tag-row { margin-top: 10px; }
.tag-area { background: var(--paper); }
.cat-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 6px 18px; margin: 12px 0 0; font-size: 13.5px; }
.cat-facts dt { color: var(--slate); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.cat-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.cat-card .btn-row { align-self: center; }
.cmp-btn.btn-dark { background: var(--ink); color: #ffffff; border-color: var(--ink); }
[data-catalogue] .filters-row { margin-top: 22px; }
.cat-note { color: var(--slate); font-size: 13.5px; margin-top: 18px; }
.compare-bar { position: sticky; top: 76px; z-index: 5; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px; margin-bottom: 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; }
.compare-table td, .compare-table th { vertical-align: top; min-width: 160px; }
.compare-table thead th .link-btn { font-size: 12.5px; margin-left: 6px; }
.compare-src { color: var(--slate); font-size: 13px; margin-top: 12px; }
.compare-search { max-width: 560px; }
.pick-results { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 6px; max-width: 760px; }
.pick-btn { width: 100%; text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: inherit; font: inherit; cursor: pointer; }
.pick-btn:hover { border-color: var(--ink); }

/* ---------- separate pages (October 2026): university pages, questions and answers ---------- */
.uni-card h3 .uni-link { color: inherit; }
.uni-card h3 .uni-link:hover, .uni-card h3 .uni-link:focus-visible { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
table.facts th[scope="row"] { width: 34%; color: var(--ink-2); font-weight: 600; font-size: 14px; }
table.facts td { color: var(--slate); }
.tag-link { color: var(--accent-text); font-weight: 600; }
.tag-link:hover, .tag-link:focus-visible { border-color: var(--accent); }
.page-head .btn-row.gap-top { margin-top: 22px; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq:first-of-type { border-top: 1px solid var(--line); }
details.faq > summary { cursor: pointer; list-style: none; padding: 16px 34px 16px 0; font-weight: 600; font-size: 16px; color: var(--ink); position: relative; }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after { content: "+"; position: absolute; right: 6px; top: 13px; font-size: 22px; font-weight: 500; color: var(--accent-text); }
details.faq[open] > summary::after { content: "\2013"; }
details.faq > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-a { padding: 0 0 18px; color: var(--slate); line-height: 1.75; font-size: 15.5px; }

/* ---------- home hero v2 (Nov 2026): says what PAL does, buttons on the first phone screen ---------- */
.hero-v2 h1 .h1-main { display: block; }
.hero-v2 h1 .w1 { margin-left: 0; }
/* words arrive faster, so the message and buttons are readable within about half a second */
.hero-v2 .w1 { animation-delay: 0.05s !important; } .hero-v2 .w2 { animation-delay: 0.09s !important; } .hero-v2 .w3 { animation-delay: 0.13s !important; }
.hero-v2 .w4 { animation-delay: 0.17s !important; } .hero-v2 .w5 { animation-delay: 0.21s !important; } .hero-v2 .w6 { animation-delay: 0.25s !important; }
.hero-v2 .w7 { animation-delay: 0.35s !important; } .hero-v2 .w8 { animation-delay: 0.39s !important; } .hero-v2 .w9 { animation-delay: 0.43s !important; }
.hero-v2 .w10 { animation-delay: 0.47s !important; } .hero-v2 .w11 { animation-delay: 0.51s !important; } .hero-v2 .w12 { animation-delay: 0.55s !important; }
.hero-v2 h1 .w { animation-duration: 0.5s; }
.hero-v2 h1.h1-anim::after { animation-delay: 0.6s; }
.hero-v2 .hero-motto.hero-enter { animation-delay: 0.45s; }
.hero-v2 .lead.hero-enter { animation-delay: 0.5s; }
.hero-v2 .btn-row.hero-enter { animation-delay: 0.6s; }
.hero-v2 .hero-more.hero-enter, .hero-v2 .hero-facts.hero-enter { animation-delay: 0.7s; }
.hero-v2 .count { animation-delay: 0.8s; }
.hero-motto { margin: -6px 0 14px; font-size: 16px; font-style: italic; color: var(--on-dark-2, #b7c4b4); }
.hero-v2 .lead { margin-bottom: 26px; }
.btn-wa { display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #0b2e17; border-color: #25d366; }
.btn-wa:hover { background: #1fbe5b; border-color: #1fbe5b; }
.hero-more { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 600; color: #ffffff; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 639px) {
  .hero.hero-v2 { padding: 28px 0 44px; }
  .hero-v2 h1 { font-size: 33px; margin: 14px 0 16px; }
  .hero-v2 h1::after { margin-top: 16px; }
  .hero-v2 .lead { font-size: 16px; line-height: 1.55; margin-bottom: 20px; }
  .hero-motto { font-size: 14.5px; }
  .hero-v2 .btn-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-v2 .btn-row .btn { justify-content: center; width: 100%; }
  .hero-v2 .hero-facts { margin-top: 24px; padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hero-v2 h1 .w, .hero-v2 .count { animation: none; } }

/* ---------- new free tools and pages (Nov 2026): education-extra.js ---------- */
.btn-small { padding: 9px 16px; font-size: 14px; }
.x-h2 { font-size: 23px; margin: 0 0 10px; letter-spacing: -0.02em; }
.x-h3 { font-size: 18px; margin: 30px 0 12px; }
.x-result h2 { font-size: 26px; margin: 0 0 6px; letter-spacing: -0.025em; }
.x-result h2:focus { outline: none; }
.x-cards { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 14px; }
@media (min-width: 720px) { .x-cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } .x-cards.two { grid-template-columns: 1fr 1fr; } }
.x-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.x-card h3 { font-size: 17.5px; line-height: 1.3; }
.x-card .btn-row { margin-top: auto; padding-top: 6px; align-items: center; }
.x-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.x-chip { flex: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--slate); white-space: nowrap; }
.x-chip.ok { background: #e3f1dc; color: var(--teal); }
.x-chip.warn { background: #fdf0d9; color: var(--gold-text); }
.x-big { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.x-big.ok { color: var(--teal); } .x-big.warn { color: var(--gold-text); }
.small { font-size: 13.5px; }
.x-dl { margin: 0; display: grid; gap: 8px; }
.x-dl dt { font-size: 12px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: 0.04em; }
.x-dl dd { margin: 0; font-size: 14.5px; }
.x-link { font-weight: 600; font-size: 14.5px; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.x-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.x-ticks, .x-fixes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.x-ticks li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 8px; }
.x-fixes li { padding: 10px 12px; border-radius: 8px; background: #fdf6e8; border-left: 3px solid var(--gold); }
.x-checks { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .x-checks { grid-template-columns: 1fr 1fr; } .x-checks legend { margin-bottom: 4px; } }
.x-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line-strong); display: grid; gap: 14px; }
.x-timeline li { position: relative; display: grid; gap: 2px; }
.x-timeline li::before { content: ""; position: absolute; left: -25px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--brand); }
.x-timeline li b { font-size: 13px; color: var(--accent-text); text-transform: uppercase; letter-spacing: 0.04em; }
.x-timeline li.late::before { background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.x-timeline li.late b { color: var(--gold-text); }
.x-timeline li.late b::after { content: " · do this now"; }
.x-actions { margin-top: 26px; }
.x-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 15px; }
.x-table th, .x-table td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.x-table td { text-align: right; font-weight: 700; white-space: nowrap; }
.x-table tr.total th, .x-table tr.total td { font-weight: 800; border-top: 2px solid var(--ink); }
.x-status-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.x-status-list li { display: grid; gap: 2px; padding: 12px 14px 12px 44px; border-radius: 8px; position: relative; background: var(--paper-2); border: 1px solid var(--line); }
.x-status-list li::before { position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.x-status-list li.ok::before { content: "✓"; background: var(--teal); }
.x-status-list li.warn::before { content: "!"; background: var(--gold); }
.x-status-list li.bad::before { content: "✕"; background: var(--red); }
.x-stars { font-size: 26px; color: var(--gold); letter-spacing: 3px; margin: 0; }
.x-stars.big { font-size: 34px; }
.x-feedback { display: grid; gap: 10px; margin-top: 6px; }
.x-question { font-size: 22px; line-height: 1.35; letter-spacing: -0.015em; }
.x-question:focus { outline: none; }
.x-progress { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.x-progress span { display: block; height: 100%; background: var(--brand); }
.x-event { display: flex; gap: 16px; align-items: flex-start; }
.x-date { flex: none; width: 58px; text-align: center; border-radius: 10px; background: var(--ink); color: #fff; padding: 8px 0; line-height: 1.1; }
.x-date b { display: block; font-size: 22px; } .x-date span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #8fd667; }
.x-person { display: flex; gap: 12px; align-items: center; }
.x-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.x-quote { font-style: italic; color: var(--ink-2); }
.x-code { font-family: ui-monospace, Menlo, monospace; font-size: 14px; word-break: break-all; background: var(--paper-2); padding: 10px 12px; border-radius: 8px; }
.x-partner { background: var(--ink); color: #fff; border-radius: 14px; padding: 28px 24px; display: grid; gap: 12px; }
.x-partner h2 { font-size: 30px; letter-spacing: -0.025em; }
.x-partner p { color: var(--on-dark); }
.x-partner .x-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8fd667; }
.x-partner .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.x-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .x-steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.x-steps li { counter-increment: s; background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.x-steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 10px; }
.x-steps b { display: block; margin-bottom: 4px; }
.x-remind { padding-bottom: 20px; }
.x-feature-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .x-feature-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.x-feature-grid .card { padding: 22px; }
.x-feature-grid h3 { margin-bottom: 6px; }
.x-feature-grid p { color: var(--slate); font-size: 14.5px; }
.tool-card .x-new { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: #e3f1dc; color: var(--teal); padding: 2px 8px; border-radius: 999px; margin-bottom: 8px; }
@media print {
  .no-print, .site-header, .footer, .wa-float, .mbar, .x-remind, .skip { display: none !important; }
  .x-result { break-inside: auto; }
}
#x-agent + .x-h2 { margin-top: 40px; }
.x-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.x-compare { min-width: 760px; font-size: 14px; }
.x-compare th, .x-compare td { text-align: left; white-space: normal; padding: 12px 12px 12px 0; vertical-align: top; font-weight: 500; }
.x-compare thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate); font-weight: 700; }
.x-compare tbody th { font-weight: 700; }
.x-compare td:nth-child(2), .x-compare td:nth-child(3) { white-space: nowrap; font-weight: 700; }
.x-faq { padding: 0; margin-bottom: 10px; }
.x-faq summary { padding: 16px 18px; cursor: pointer; font-weight: 700; }
.x-faq p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

/* ---------- IELTS practice test ---------- */
.x-tabs{display:flex;gap:6px;overflow-x:auto;padding:4px 0 10px;margin-bottom:12px;border-bottom:1px solid var(--line,#e3e7ef);scroll-margin-top:80px;-webkit-overflow-scrolling:touch}
.x-tab{flex:0 0 auto;border:1px solid var(--line,#d8dde8);background:#fff;color:inherit;border-radius:999px;padding:9px 16px;font:inherit;font-weight:600;cursor:pointer;min-height:44px}
.x-tab[aria-selected="true"]{background:var(--navy,#0b2a5b);border-color:var(--navy,#0b2a5b);color:#fff}
.x-pane[hidden]{display:none}
.x-q{border:1px solid var(--line,#e3e7ef);border-radius:12px;padding:12px 14px;margin:10px 0;background:#fff}
.x-q legend{font-weight:600;padding:0 4px}
.x-q label{display:block}
.x-q .check{margin:6px 0}
.x-q.ok{border-color:#2e9e5b;background:#f1faf4}
.x-q.bad{border-color:#d14b4b;background:#fdf3f3}
.x-gap{width:100%;max-width:340px;margin-top:6px;padding:10px 12px;border:1px solid var(--line,#cfd5e1);border-radius:8px;font:inherit}
.x-ans{margin:8px 0 0;font-weight:600;font-size:.95em}
.x-q.ok .x-ans{color:#1f7a44}.x-q.bad .x-ans{color:#b23535}
.x-timer{font-variant-numeric:tabular-nums;font-weight:700;padding:6px 12px;border-radius:8px;background:#eef2f8}
.x-timer.end{background:#fde8e8;color:#b23535}
.x-count{font-weight:600;color:#b26b00}.x-count.ok{color:#1f7a44}
.x-passage{line-height:1.7}
.x-passage p{margin:0 0 12px}
.x-para{display:inline-block;min-width:1.6em;color:var(--navy,#0b2a5b)}
.x-prompt{font-weight:600;font-size:1.05em;line-height:1.55;border-left:4px solid var(--gold,#e0a526);padding:6px 0 6px 12px;margin:8px 0 12px}
.x-transcript{margin-top:12px}
.x-transcript summary{cursor:pointer;font-weight:600}
.x-big{font-size:1.6em;font-weight:800;margin:4px 0}
.x-list{padding-left:20px}.x-list li{margin:6px 0}
#iw-essay{width:100%;font:inherit;line-height:1.6;padding:12px;border:1px solid var(--line,#cfd5e1);border-radius:10px}
.x-cert{display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:28px;align-items:center;padding:24px;scroll-margin-top:80px}
.x-cert-frame{display:block;padding:10px;background:linear-gradient(135deg,#d9b25a,#f4dc9a 45%,#b8892f);border-radius:6px;box-shadow:0 12px 30px rgba(11,42,91,.18);transform:rotate(-1.2deg);transition:transform .2s}
.x-cert-frame:hover{transform:rotate(0) scale(1.01)}
.x-cert-frame img{display:block;width:100%;height:auto;background:#fff;border:1px solid rgba(0,0,0,.08)}
.x-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:.8em;font-weight:700;color:#b8892f;margin:0 0 4px}
.x-ticks{list-style:none;padding:0;margin:12px 0 16px}
.x-ticks li{position:relative;padding-left:26px;margin:7px 0}
.x-ticks li::before{content:"✓";position:absolute;left:0;color:#1f7a44;font-weight:800}
@media (max-width:700px){.x-cert{grid-template-columns:1fr;padding:18px}.x-cert-frame{max-width:300px;margin:0 auto}}
.x-badge{position:relative;text-align:center;color:#fff;padding:34px 22px 28px;border-radius:18px;background:radial-gradient(circle at 30% 0%,#1d4b8f 0%,#0b2a5b 55%,#081d40 100%);box-shadow:0 14px 34px rgba(11,42,91,.28),inset 0 0 0 2px rgba(224,184,90,.55),inset 0 0 0 8px #0b2a5b,inset 0 0 0 9px rgba(224,184,90,.35);overflow:hidden}
.x-badge::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 40%,rgba(255,255,255,.08) 50%,transparent 60%);pointer-events:none}
.x-seal{width:104px;height:104px;display:block;margin:0 auto 14px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.35))}
.x-badge p{margin:0}
.x-badge-k{text-transform:uppercase;letter-spacing:.22em;font-size:.78em;font-weight:700;color:#e0b85a}
.x-badge-t{font-size:1.35em;font-weight:800;line-height:1.25;margin-top:6px !important}
.x-badge-line{width:64px;height:2px;background:#e0b85a;margin:14px auto !important;border-radius:2px}
.x-badge-n{font-weight:700;font-size:1.05em}
.x-badge-s{font-size:.88em;opacity:.85;margin-top:4px !important;line-height:1.45}
.x-badge-d{display:inline-block;margin-top:14px !important;padding:5px 14px;border:1px solid rgba(224,184,90,.7);border-radius:999px;font-size:.8em;font-weight:700;letter-spacing:.04em;color:#f3d996}
@media (max-width:700px){.x-badge{max-width:340px;margin:0 auto;width:100%}}

/* ---------- Free consultation (replaces the WhatsApp button) ---------- */
.cb-float{position:fixed;right:16px;bottom:18px;z-index:45;display:inline-flex;align-items:center;gap:9px;background:var(--navy,#0b2a5b);color:#fff;border:0;border-radius:999px;padding:13px 20px 13px 16px;font:inherit;font-weight:700;font-size:14.5px;cursor:pointer;box-shadow:0 8px 22px rgba(11,42,91,.3)}
.cb-float:hover{background:#163d7a}
.cb-dot{width:9px;height:9px;border-radius:50%;background:#3ddc84;box-shadow:0 0 0 0 rgba(61,220,132,.6);animation:cbPulse 2s infinite}
@keyframes cbPulse{70%{box-shadow:0 0 0 8px rgba(61,220,132,0)}100%{box-shadow:0 0 0 0 rgba(61,220,132,0)}}
@media (prefers-reduced-motion:reduce){.cb-dot{animation:none}}
@media (max-width:767px){.cb-float{display:none}}
.cb-dialog{border:0;padding:0;border-radius:18px;width:min(440px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;box-shadow:0 24px 60px rgba(0,0,0,.3)}
.cb-dialog::backdrop{background:rgba(8,20,45,.55)}
.cb-body{padding:26px 24px 22px}
.cb-close{position:absolute;top:10px;right:12px;width:40px;height:40px;border:0;background:transparent;font-size:28px;line-height:1;color:#6b7385;cursor:pointer;border-radius:50%}
.cb-close:hover{background:#f0f2f6}
.cb-k{margin:0 0 4px;font-size:.78em;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#1f7a44}
.cb-t{margin:0 30px 6px 0;font-size:1.35em;line-height:1.25}
.cb-s{margin:0 0 16px;color:#5a6275}
.cb-form .field{margin-bottom:12px}
.cb-form input[type=text],.cb-form input[type=tel],.cb-form select{width:100%}
.cb-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cb-consent{font-size:.88em;margin:4px 0 14px}
.cb-send{width:100%;justify-content:center;min-height:48px}
.cb-skip{display:block;text-align:center;margin-top:12px;font-size:.9em;color:#5a6275}
.cb-next{margin-top:14px}
.cb-nudge{position:fixed;left:16px;bottom:18px;z-index:44;width:min(320px,calc(100vw - 32px));background:#fff;border-radius:14px;padding:16px 18px;box-shadow:0 12px 34px rgba(11,42,91,.22);border-top:4px solid var(--gold,#e0a526);animation:cbIn .35s ease-out}
.cb-nudge .cb-close{top:4px;right:4px;width:34px;height:34px;font-size:22px}
.cb-nudge-t{margin:0 26px 2px 0;font-weight:700}
.cb-nudge-s{margin:0 0 10px;color:#5a6275;font-size:.92em}
@keyframes cbIn{from{transform:translateY(20px);opacity:0}}
@media (max-width:767px){.cb-nudge{left:12px;right:12px;width:auto;bottom:78px}}
@media (max-width:400px){.cb-two{grid-template-columns:1fr}}
.btn.hero-cb{background:#5fd068;border-color:#5fd068;color:#0d1a10;font-weight:700}
.btn.hero-cb:hover{background:#4fc05a;border-color:#4fc05a;color:#0d1a10}

/* ---------- Free tools strip ---------- */
.ft-strip{margin:8px 0 4px}
.ft-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.ft-head h2{margin:0;font-size:1.25em}
.ft-head a{font-weight:600;white-space:nowrap}
.ft-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(168px,1fr);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 12px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.ft-card{scroll-snap-align:start;display:flex;flex-direction:column;gap:3px;padding:14px;border:1px solid var(--line,#e3e7ef);border-radius:14px;background:#fff;color:inherit;text-decoration:none;min-height:118px;transition:border-color .15s,transform .15s}
.ft-card:hover{border-color:var(--accent,#2e7d32);transform:translateY(-2px)}
.ft-card b{font-size:.98em;line-height:1.25}
.ft-card span:not(.ft-ico){font-size:.84em;color:var(--slate,#5a6275);line-height:1.35}
.ft-ico{font-size:1.5em;line-height:1;margin-bottom:4px}
@media (min-width:1100px){.ft-row{grid-auto-flow:row;grid-template-columns:repeat(6,1fr);overflow:visible}}
.ft-after{padding-top:20px;padding-bottom:28px}
.home-ft{padding-top:18px}
/* locked tool result */
.gt-wrap{position:relative}
.gt-wrap.locked{min-height:280px}
.gt-wrap.locked > :first-child{filter:blur(7px);pointer-events:none;user-select:none;max-height:520px;overflow:hidden}
.gt-cover{position:absolute;inset:0;display:flex;justify-content:center;align-items:flex-start;padding:48px 14px;background:linear-gradient(rgba(255,255,255,.35),rgba(255,255,255,.85))}
.gt-card{background:#fff;border-radius:16px;padding:20px 22px;max-width:360px;text-align:center;box-shadow:0 14px 36px rgba(11,42,91,.2);border-top:4px solid var(--accent,#2e7d32);position:sticky;top:90px}
.gt-t{font-weight:800;font-size:1.15em;margin:0 0 4px}
.gt-s{color:#5a6275;margin:0 0 14px}
.gt-once{margin:10px 0 0;text-align:center}
@media print{.gt-cover{display:none}.gt-wrap.locked > :first-child{filter:none;max-height:none}}
.mbar a.mbar-tools { color: var(--accent); }
.x-credential{display:grid;grid-template-columns:200px 1fr;gap:24px;align-items:center;padding:22px;margin:12px 0 24px}
.x-cred-img{display:block;transform:rotate(-1.5deg);transition:transform .2s}
.x-cred-img:hover{transform:rotate(0) scale(1.02)}
.x-cred-img img{display:block;width:100%;height:auto}
.x-credential h2,.x-credential h3{margin:2px 0 8px}
@media (max-width:640px){.x-credential{grid-template-columns:1fr;text-align:left}.x-cred-img{max-width:220px;margin:0 auto}}
@media (max-width:767px){.ft-row{grid-auto-columns:44%}.ft-card{min-height:112px;padding:12px}}

/* My PAL: programme options from the counsellor */
.opt-part { margin: 0 0 28px; }
.opt-cards { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.opt-card { border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.opt-card.chosen { border-color: var(--accent); box-shadow: inset 0 4px 0 var(--accent); }
.opt-card h3 { font-size: 17px; margin: 0; line-height: 1.3; }
.opt-card h3 small { font-weight: 500; color: var(--slate); font-size: 13.5px; }
.opt-card .badge { align-self: flex-start; }
.opt-uni { margin: 0; color: var(--accent); font-weight: 600; font-size: 14.5px; }
.opt-uni span { color: var(--slate); font-weight: 500; }
.opt-facts { margin: 4px 0 0; display: grid; gap: 4px; font-size: 14px; }
.opt-facts div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.opt-facts dt { color: var(--slate); }
.opt-facts dd { margin: 0; font-weight: 600; }
.opt-req { font-size: 14px; }
.opt-req ul { margin: 4px 0 0; padding-left: 18px; }
.opt-card p { margin: 0; }
.opt-card-actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.opt-card-actions .small-print { flex-basis: 100%; font-size: 13px; color: var(--slate); }
.opt-card-actions .notice.bad { flex-basis: 100%; color: var(--red); font-size: 14px; }
.opt-others { margin-top: 14px; }
.opt-others summary { cursor: pointer; color: var(--slate); font-weight: 600; font-size: 14.5px; }

/* ---------- Tool icons and smart tool cards (Nov 2026) ---------- */
.ti{--ti-bg1:#eef7e8;--ti-bg2:#d6ecc8;--ti-fg:var(--accent);position:relative;display:inline-grid;place-items:center;width:46px;height:46px;flex:none;border-radius:14px;color:var(--ti-fg);background:linear-gradient(145deg,var(--ti-bg1),var(--ti-bg2));box-shadow:inset 0 0 0 1px rgba(56,112,29,.12),0 1px 2px rgba(22,26,28,.06);transition:transform .35s cubic-bezier(.2,.8,.2,1.2),background .3s,color .3s,box-shadow .3s}
.ti svg{width:26px;height:26px;overflow:visible}
.ti svg *{transform-box:fill-box;transform-origin:center}
.ti::after{content:"";position:absolute;inset:-1px;border-radius:inherit;background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.75) 50%,transparent 70%);background-size:250% 100%;background-position:120% 0;opacity:0;pointer-events:none}
/* colour families so the row doesn't read as one flat block */
.ti--costs,.ti--proof-of-funds,.ti--career-payback{--ti-bg1:#fdf6e6;--ti-bg2:#f6e2b4;--ti-fg:#93600a;box-shadow:inset 0 0 0 1px rgba(150,97,10,.15)}
.ti--ielts-practice,.ti--visa-interview,.ti--book{--ti-bg1:#eaf3f7;--ti-bg2:#cfe3ec;--ti-fg:#1f5f78;box-shadow:inset 0 0 0 1px rgba(31,95,120,.15)}
.ti--document-check,.ti--checklist,.ti--intakes{--ti-bg1:#f1f0fa;--ti-bg2:#dcd9f2;--ti-fg:#4b3f99;box-shadow:inset 0 0 0 1px rgba(75,63,153,.14)}

.smart-card{position:relative;isolation:isolate;overflow:hidden}
.smart-card::before{content:"";position:absolute;inset:0;z-index:-1;opacity:0;transition:opacity .3s;background:radial-gradient(260px circle at var(--mx,50%) var(--my,0%),rgba(92,177,48,.14),transparent 60%)}
.smart-card:hover::before,.smart-card:focus-visible::before{opacity:1}
.smart-card:hover .ti,.smart-card:focus-visible .ti{transform:translateY(-2px) rotate(-4deg) scale(1.06);--ti-bg1:#2c5a16;--ti-bg2:#4f9a2a;color:#fff;box-shadow:0 8px 20px -6px rgba(44,90,22,.55)}
.smart-card:hover .ti::after,.is-played .ti::after{animation:tiShine 1s ease .1s both}
@keyframes tiShine{0%{opacity:1;background-position:120% 0}100%{opacity:0;background-position:-30% 0}}

/* small strip cards */
.ft-card.smart-card{gap:6px;padding:14px 14px 12px;border-radius:16px;transition:border-color .2s,transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.ft-card.smart-card:hover{transform:translateY(-4px);border-color:#b9d4a8;box-shadow:0 14px 30px -14px rgba(22,26,28,.28)}
.ft-card .ti{margin-bottom:6px;width:42px;height:42px;border-radius:13px}
.ft-card .ti svg{width:24px;height:24px}
.ft-go{margin-top:auto;padding-top:6px;display:inline-flex;align-items:center;gap:6px;font-size:.78em!important;font-weight:700;letter-spacing:.02em;color:var(--accent-text)!important}
.ft-go i{font-style:normal;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e8f3e1;transition:transform .25s,background .25s,color .25s}
.ft-card:hover .ft-go i{transform:translateX(4px);background:var(--accent);color:#fff}

/* large tool cards (home page, Free tools page) */
.tool-card.smart-card{border-radius:18px;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s,border-color .2s}
.tool-card.smart-card:hover{transform:translateY(-5px);border-color:#b9d4a8;box-shadow:0 22px 40px -22px rgba(22,26,28,.35)}
.tc-top{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.tc-top .x-new{margin:0;animation:newGlow 2.4s ease-in-out infinite}
.tc-meta{margin-left:auto;font-size:12px;font-weight:600;color:var(--slate);padding:3px 9px;border-radius:999px;background:var(--paper-2);border:1px solid var(--line)}
@keyframes newGlow{0%,100%{box-shadow:0 0 0 0 rgba(92,177,48,0)}50%{box-shadow:0 0 0 4px rgba(92,177,48,.18)}}
.tool-card .smart-go{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;margin-top:4px;padding:8px 14px 8px 16px;border-radius:999px;background:#eef6e9;color:var(--accent-2);font-weight:700;transition:background .25s,color .25s,box-shadow .25s,padding .25s}
.tool-card .smart-go::after{content:"→";display:inline-block;transition:transform .25s}
.tool-card:hover .smart-go,.tool-card:focus-visible .smart-go{background:var(--accent);color:#fff;box-shadow:0 8px 18px -8px rgba(56,112,29,.7);padding-right:18px}
.tool-card:hover .smart-go::after{transform:translateX(4px)}

/* icon part animations: on hover, and once when the card scrolls into view */
.smart-card:hover .a-draw,.is-played .a-draw{stroke-dasharray:40;animation:aDraw .9s ease both}
.smart-card:hover .a-draw.t2,.is-played .a-draw.t2{animation-delay:.25s}
.ti--study-plan .a-draw{stroke-dasharray:2 2.2!important}
.smart-card:hover .ti--study-plan .a-draw,.is-played .ti--study-plan .a-draw{animation:aMarch 1s linear infinite}
.smart-card:hover .a-pulse,.is-played .a-pulse{animation:aPulse .8s ease 2}
.smart-card:hover .a-dart,.is-played .a-dart{animation:aDart .6s cubic-bezier(.3,1.4,.5,1) both}
.smart-card:hover .a-coin,.is-played .a-coin{animation:aCoin .7s cubic-bezier(.3,1.5,.5,1) both}
.smart-card:hover .a-swing,.is-played .a-swing{transform-origin:top center;animation:aSwing 1s ease both}
.smart-card:hover .a-pen,.is-played .a-pen{animation:aPen .8s ease 2}
.smart-card:hover .a-dot,.is-played .a-dot{animation:aDot 1s ease infinite}
.a-dot.d2{animation-delay:.15s!important}.a-dot.d3{animation-delay:.3s!important}
.smart-card:hover .a-lens,.is-played .a-lens{animation:aLens 1.2s ease both}
.smart-card:hover .a-plane,.is-played .a-plane{animation:aPlane .9s cubic-bezier(.3,1.2,.5,1) both}
.smart-card:hover .a-page,.is-played .a-page{transform-origin:left center;animation:aPage .8s ease both}
@keyframes aDraw{from{stroke-dashoffset:40}to{stroke-dashoffset:0}}
@keyframes aMarch{to{stroke-dashoffset:-8.4}}
@keyframes aPulse{50%{transform:scale(1.9);opacity:.6}}
@keyframes aDart{from{transform:translate(5px,-5px);opacity:0}to{transform:none;opacity:1}}
@keyframes aCoin{0%{transform:translateY(-7px);opacity:0}100%{transform:none;opacity:1}}
@keyframes aSwing{0%{transform:rotate(0)}25%{transform:rotate(18deg)}55%{transform:rotate(-12deg)}80%{transform:rotate(6deg)}100%{transform:rotate(0)}}
@keyframes aPen{25%{transform:translate(-1.5px,1px) rotate(-6deg)}50%{transform:translate(1px,-.5px)}75%{transform:translate(-1px,1px) rotate(4deg)}}
@keyframes aDot{0%,60%,100%{transform:none;opacity:1}30%{transform:translateY(-1.6px);opacity:.4}}
@keyframes aLens{0%{transform:none}30%{transform:translate(-2.5px,-1.5px)}60%{transform:translate(1.5px,-2.5px)}100%{transform:none}}
@keyframes aPlane{0%{transform:translate(-6px,6px) scale(.7);opacity:0}100%{transform:none;opacity:1}}
@keyframes aPage{0%{transform:scaleX(1)}50%{transform:scaleX(-.6)}100%{transform:scaleX(1)}}

@media (max-width:767px){.tool-card .smart-go{padding:10px 16px;min-height:44px}.ft-go i{width:22px;height:22px}}
@media (prefers-reduced-motion: reduce){
  .ti,.smart-card,.ft-go i,.tool-card .smart-go,.tool-card .smart-go::after{transition:none}
  .smart-card:hover .ti{transform:none}
  .smart-card *,.tc-top .x-new{animation:none!important}
}

/* Tool pages: name and email asked inside the tool form (replaces the pop-up and blurred result) */
.gt-details{margin:18px 0 6px;padding:16px 16px 4px;border:1px solid #cfe1c4;border-radius:14px;background:linear-gradient(180deg,#f6fbf2,#fff);min-width:0}
.gt-details legend{padding:0 6px;font-weight:700;font-size:15px;color:var(--ink)}
.gt-free{display:inline-block;margin-left:6px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--teal);background:#e3f1dc;padding:2px 8px;border-radius:999px;vertical-align:1px}
.gt-why{margin:0 0 12px;font-size:14px;color:var(--slate)}
.gt-details input[aria-invalid="true"]{border-color:var(--red);box-shadow:0 0 0 3px rgba(179,38,30,.12)}
.gt-details.is-done{padding:12px 16px;border-color:#b9d4a8;background:#f1f8ec}
.gt-done{margin:0;font-weight:600;color:var(--accent-2)}
.gt-pending{display:none!important}
.gt-hint{margin:16px 0;padding:14px 16px;border:1px dashed var(--line-strong);border-radius:12px;color:var(--slate);text-align:center;background:var(--paper-2)}

/* My PAL: open your own documents in the preview */
.file-open{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;font:inherit;font-weight:600;color:var(--accent-2);text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(56,112,29,.35);text-underline-offset:3px}
.file-open:hover{color:var(--accent);text-decoration-color:currentColor}
.file-eye{text-decoration:none;font-size:.95em}

/* Agent portal embed mode (pages shown inside education-agents.html) */
html.is-embed .site-header,html.is-embed .footer,html.is-embed .mbar,html.is-embed .skip,html.is-embed .crumbs,
html.is-embed .cb-float,html.is-embed #pal-chat,html.is-embed #pal-chat-btn,html.is-embed .gt-details,html.is-embed .gt-hint,
html.is-embed .tool-lead,html.is-embed [data-embed-hide]{display:none!important}
html.is-embed body{padding-bottom:0!important}
html.is-embed .page-head{padding-top:20px;padding-bottom:18px}
html.is-embed .gt-pending{display:revert!important}

/* Document checklist: "Print or save as PDF" prints only the list */
@media print {
  body:has(#checklist-print) * { visibility: hidden; }
  #checklist-print, #checklist-print * { visibility: visible; }
  #checklist-print { position: absolute; inset: 0 auto auto 0; width: 100%; border: 0; box-shadow: none; }
  #checklist-print .btn-row { display: none; }
}

/* City photograph shown at the top of a university page's "Studying in …" block.
   Always a photograph of the city, captioned as such - never presented as the campus. */
.uni-media { margin: 0 0 1.1rem; }
.uni-media img { width: 100%; height: auto; border-radius: 14px; display: block; background: #eceee9; }
.uni-media figcaption { margin-top: .5rem; }
