
/* Plus Jakarta Sans (SIL Open Font License), self-hosted: no third-party font requests */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../images/font-jakarta-latin.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: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../images/font-jakarta-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Layout: an image-led consultancy site. Each page opens with a split hero (words left, picture right) on warm paper; navy bands carry the moments of trust. Hairline rules, rounded image tiles, one serif italic accent per heading. Separate pages are views routed on the URL hash. Single committed light look. */
:root {
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --white: #ffffff;
  --ink: #0c1a24;
  --ink-2: #4b5961;
  --ink-3: #616d76;
  --rule: #ddd7cb;
  --emerald: #8a6a2e;   /* antique gold: accent on light grounds (4.6:1 on ivory) */
  --gold-ink: #6f5523;  /* deeper gold for small text on tinted grounds */
  --mint: #e6cb91;      /* champagne: accent on navy */
  --navy: #052239;
  --navy-2: #0a2d48;
  --on-navy: #c3ced6;
  --error: #b3261e;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --grad-accent: linear-gradient(100deg, #8a6a2e 0%, #b9893a 42%, #e0683c 100%);
  --grad-accent-dark: linear-gradient(100deg, #f0d9a4 0%, #e6cb91 40%, #ff9a72 100%);
  --grad-navy: linear-gradient(135deg, #052239 0%, #0a2d48 55%, #123d5c 100%);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max: 1240px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 450; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 90; background: var(--paper); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h3 { line-height: 1.28; }
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 4px; border-radius: 4px; }
em { font-style: normal; font-weight: inherit; color: var(--emerald); }
:is(h1, h2, h3, .decide p) em { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.navy em, .on-dark em { color: var(--mint); }
:is(.navy, .on-dark) :is(h1, h2, h3) em { background: var(--grad-accent-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(clamp(20px, 4vw, 40px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(20px, 4vw, 40px), env(safe-area-inset-right, 0px)); }
@media (min-width: 800px) { .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); } }
.label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.navy .label { color: #8fa3b1; }
.sec { padding-block: clamp(72px, 10vw, 136px); }
.sec.tight { padding-top: 0; }
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4.5vw, 56px); }
@media (min-width: 900px) { .head { grid-template-columns: 1.1fr .9fr; align-items: end; } .head > p, .head > .side { justify-self: end; } }
.head h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.head p { color: var(--ink-2); max-width: 30rem; line-height: 1.6; }
.navy .head p { color: var(--on-navy); }
.lede { font-size: 1.12rem; line-height: 1.65; color: var(--ink-2); max-width: 34rem; }
.navy { background: var(--navy) var(--grad-navy); color: #f5f5f1; }
.band { border-radius: 32px; margin-inline: 8px; }
@media (min-width: 800px) { .band { margin-inline: 16px; } }

.rise.play { animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.view.enter { animation: viewIn .6s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Buttons and links */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 500; font-size: .98rem; text-decoration: none; overflow: hidden; isolation: isolate; white-space: nowrap; transition: transform .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--emerald); border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn:hover::before { transform: none; }
.btn .ar { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.light::before { background: var(--mint); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--rule); }
.btn.ghost::before { background: var(--paper-2); }
.navy .btn.ghost { box-shadow: inset 0 0 0 1px rgba(245,245,241,.3); }
.navy .btn.ghost::before { background: rgba(245,245,241,.12); }
.tlink { position: relative; text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.tlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform-origin: right; transition: transform .45s var(--ease); }
.tlink:hover::after { transform: scaleX(0); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }

/* Custom cursor: exact dot + trailing ring (fine pointers only) */

/* Header: wordmark left · icon centre · links and button right */
.hdr { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 80; transition: transform .5s var(--ease), background .3s, box-shadow .3s; }
.hdr.solid { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule); }
.hdr.away { transform: translateY(-110%); }
.hdr .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 76px; max-width: 1440px; }

/* The Retake Education wordmark, set in type so it stays sharp and can change colour */
.wordmark { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--navy); }
.wm { font-weight: 800; letter-spacing: 0; word-spacing: .04em; line-height: 1; white-space: nowrap; }
.wordmark .wm { font-size: 1.42rem; }
.wm-i { position: relative; display: inline-block; }
.wm-i i { position: absolute; left: 50%; top: var(--leaf-top, -0.2em); width: .17em; height: .3em; transform: translateX(-50%);
  background: linear-gradient(135deg, #118a4c 0 45%, #076a37 45%); clip-path: polygon(83% 0, 100% 62%, 17% 100%, 0 40%); }

/* The square "r" icon in the centre */
.hdr-icon { justify-self: center; display: block; width: 40px; height: 40px; border-radius: 10px; transition: transform .5s var(--ease), box-shadow .3s; }
.hdr-icon svg { display: block; width: 100%; height: 100%; }
.hdr-icon:hover { transform: rotate(-8deg) scale(1.06); }
@media (min-width: 721px) { .hdr-icon { visibility: hidden; } }

.hdr-right { justify-self: end; display: flex; align-items: center; gap: 24px; }
.nav { display: flex; gap: 22px; }
.nav a { position: relative; text-decoration: none; font-size: .92rem; color: var(--ink-2); padding-block: 8px; white-space: nowrap; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--emerald); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover, .nav a.cur { color: var(--ink); }
.nav a:hover::after, .nav a.cur::after { transform: scaleX(1); }
.hdr .btn { height: 44px; padding: 0 20px; font-size: .9rem; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule); align-items: center; justify-content: center; flex-shrink: 0; }
.burger i { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.burger i::before { top: -5px; } .burger i::after { top: 5px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] i::after { transform: translateY(-5px) rotate(-45deg); }
.overlay { position: fixed; inset: 0; z-index: 75; background: var(--paper); padding-top: calc(env(safe-area-inset-top, 0px) + 100px); overflow-y: auto; }
.overlay a { display: flex; justify-content: space-between; align-items: center; font-size: 2.2rem; font-weight: 600; letter-spacing: -0.025em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.overlay a small { font-size: .8rem; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
/* Laptop widths: a slightly tighter header keeps the icon at the exact centre */
@media (max-width: 1419px) { .hdr .wrap { gap: 16px; } .hdr-right { gap: 16px; } .nav { gap: 16px; } .nav a { font-size: .88rem; } .hdr .btn { padding: 0 16px; } }
@media (max-width: 1419px) and (min-width: 800px) { .hdr .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
/* Narrower still: keep the icon between the two groups so nothing collides */
@media (max-width: 860px) { .nav { display: none; } .burger { display: inline-flex; } .hdr-right { gap: 10px; } }
/* Phones: the compact symbol alone, as the brief asks */
@media (max-width: 720px) { .hdr .wrap { grid-template-columns: auto 1fr; } .wordmark { display: none; } .hdr-icon { justify-self: start; } }
@media (max-width: 400px) { .hdr .btn { padding: 0 16px; font-size: .86rem; } }

.navy-top .hdr:not(.solid) .wordmark { color: #fff; }
.navy-top .hdr:not(.solid) .wm-i i { background: linear-gradient(135deg, #5ef0ac 0 45%, #2bd68a 45%); }
.navy-top .hdr:not(.solid) .hdr-icon { box-shadow: 0 0 0 1px rgba(245,245,241,.28); }
.navy-top .hdr:not(.solid) .nav a { color: #b5c3cc; }
.navy-top .hdr:not(.solid) .nav a:hover, .navy-top .hdr:not(.solid) .nav a.cur { color: #fff; }
.navy-top .hdr:not(.solid) .nav a::after { background: var(--mint); }
.navy-top .hdr:not(.solid) .btn { background: var(--paper); color: var(--ink); }
.navy-top .hdr:not(.solid) .btn::before { background: var(--mint); }
.navy-top .hdr:not(.solid) .burger { box-shadow: inset 0 0 0 1px rgba(245,245,241,.3); }
.navy-top .hdr:not(.solid) .burger i, .navy-top .hdr:not(.solid) .burger i::before, .navy-top .hdr:not(.solid) .burger i::after { background: #fff; }
.navy-top .hdr:not(.solid) .burger[aria-expanded="true"] i { background: transparent; }
.navy-top::before { background: var(--navy); }

/* Page hero (all inner pages) */
.phero { padding-top: calc(env(safe-area-inset-top, 0px) + 120px); padding-bottom: clamp(56px, 8vw, 96px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.phero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .phero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.phero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); letter-spacing: -0.031em; line-height: .98; }
.phero-copy { display: grid; gap: 24px; min-width: 0; }
.pic { border-radius: 24px; overflow: hidden; background: var(--white); position: relative; min-width: 0; }
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pic.zoom:hover img { transform: scale(1.04); }
.pic.shadow { box-shadow: 0 40px 80px -50px rgba(5,34,57,.5); }
.wide-pic { margin-top: clamp(40px, 6vw, 64px); border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 7; background: #fff; }
.wide-pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .wide-pic { aspect-ratio: 16 / 9; } }

/* Home hero */
.hero { padding-top: calc(env(safe-area-inset-top, 0px) + 130px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero h1 { font-size: clamp(3rem, 8.4vw, 7.6rem); letter-spacing: -0.034em; line-height: .94; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; animation: up 1.1s var(--ease) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .08s; }
@keyframes up { from { transform: translateY(105%); } to { transform: none; } }
.hero-grid { display: grid; gap: 48px; margin-top: clamp(36px, 5vw, 56px); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; } }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.qstart { display: grid; gap: 12px; margin-top: clamp(28px, 4vw, 44px); max-width: 980px; }
.qstart ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.qstart a { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--paper-2) 60%, transparent); box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); text-decoration: none; transition: box-shadow .25s, transform .25s var(--ease); }
.qstart a:hover, .qstart a:focus-visible { box-shadow: inset 0 0 0 1.5px var(--emerald); transform: translateY(-2px); }
.qstart b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: #fff; background: linear-gradient(135deg, var(--emerald), var(--mint)); }
.qstart a > span { font-size: .84rem; line-height: 1.45; color: var(--ink-2); min-width: 0; }
.qstart strong { display: block; font-size: .96rem; font-weight: 600; color: var(--ink); }
.ticker { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.ticker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 25%, transparent); flex-shrink: 0; }
.ticker .win { display: inline-grid; height: 1.6em; overflow: hidden; vertical-align: bottom; }
.ticker .win b { display: block; font-weight: 600; color: var(--ink); line-height: 1.6em; transition: transform .7s var(--ease); }
.small:not(.btn) { font-size: .9rem; color: var(--ink-3); max-width: 26rem; }
.collage { position: relative; padding: 0 0 40px 40px; min-width: 0; }
.collage .main { border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 50px 90px -60px rgba(5,34,57,.6); }
.collage .tile { position: absolute; width: 30%; border-radius: 18px; overflow: hidden; border: 5px solid var(--paper); box-shadow: 0 24px 40px -24px rgba(5,34,57,.55); animation: float 7s ease-in-out infinite; }
.collage .tile img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.collage .t1 { left: 0; bottom: 0; }
.collage .t2 { right: -12px; top: -28px; width: 24%; animation-delay: -3s; }
.collage .chip { position: absolute; left: 34%; bottom: 8px; background: var(--white); border-radius: 999px; padding: 10px 16px 10px 12px; display: flex; gap: 10px; align-items: center; font-size: .88rem; font-weight: 500; box-shadow: 0 20px 40px -24px rgba(5,34,57,.5); }
.collage .chip i { width: 28px; height: 28px; border-radius: 50%; background: var(--emerald); color: #fff; display: grid; place-items: center; font-style: normal; font-size: .8rem; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 600px) { .collage { padding: 0 0 28px 16px; } .collage .chip { left: 30%; font-size: .78rem; } }

/* Marquee */
.marquee { overflow: hidden; touch-action: pan-y; margin-bottom: clamp(64px, 9vw, 110px); padding-block: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); cursor: grab; }
.marquee::-webkit-scrollbar { display: none; }
.marquee.dragging { cursor: grabbing; }
.marquee .row { display: flex; gap: 16px; width: max-content; padding-inline: 8px; will-change: transform; transform: translate3d(0,0,0); }
/* The whole card is the link, sized exactly to the visible picture */
.mcard { position: relative; display: block; flex-shrink: 0; width: clamp(200px, 24vw, 320px); aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--navy); text-decoration: none; color: #fff; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s; }
.mcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); -webkit-user-drag: none; user-select: none; }
.mcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,34,57,0) 45%, rgba(5,34,57,.75) 100%); }
.mcard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(5,34,57,.55); }
.mcard:hover img { transform: scale(1.06); }
.mcard:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.mcap { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 1px; pointer-events: none; }
.mcap b { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.012em; }
.mcap { font-size: .8rem; color: #e6edf1; }
.marquee.dragging .mcard { pointer-events: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Image cards */
.cards4 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 520px) { .cards4 { grid-template-columns: 1fr; } }
.icard { position: relative; display: block; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 3 / 4; background: var(--navy); isolation: isolate; }
@media (max-width: 520px) { .icard { aspect-ratio: 4 / 3; } }
.icard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.icard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,34,57,0) 35%, rgba(5,34,57,.88) 100%); z-index: -1; transition: opacity .4s; }
.icard:hover img { transform: scale(1.06); }
.icard .in { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 8px; }
.icard .n { position: absolute; top: 16px; left: 18px; font-size: .76rem; background: rgba(245,245,241,.92); color: var(--ink); border-radius: 999px; padding: 3px 10px; font-variant-numeric: tabular-nums; }
.icard h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -0.025em; color: #fff; }
.icard p { font-weight: 600; font-size: 1.05rem; line-height: 1.35; letter-spacing: 0; color: #e5ecf0; }
.icard .go { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(245,245,241,.92); color: var(--ink); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.icard:hover .go { transform: rotate(-45deg); background: var(--mint); }
.undecided { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 22px 26px; margin-top: 20px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--rule); }
.undecided p { color: var(--ink-2); }
.undecided p em { font-size: 1.25rem; }

/* Service cards (home) */
.cards3 { display: grid; gap: 20px; }
@media (min-width: 900px) { .cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scard { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border-radius: 22px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; min-width: 0; }
.scard:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(5,34,57,.4); }
.scard .pic { border-radius: 0; aspect-ratio: 16 / 10; }
.scard .body { padding: 24px; display: grid; gap: 10px; }
.scard h3 { font-size: 1.45rem; letter-spacing: -0.022em; }
.scard p { color: var(--ink-2); font-size: .97rem; }
.scard .more { margin-top: 8px; font-size: .9rem; font-weight: 500; color: var(--emerald); }

/* Steps (home + how it works) */
.steps3 { display: grid; gap: 28px; position: relative; }
@media (min-width: 900px) { .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.step3 { display: grid; gap: 12px; align-content: start; border-top: 1px solid rgba(245,245,241,.18); padding-top: 22px; }
.step3 .num { font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.025em; background: var(--grad-accent-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step3 h3 { font-size: 1.5rem; letter-spacing: -0.022em; }
.step3 p { color: var(--on-navy); font-size: .97rem; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } .split.flip > :first-child { order: 2; } }
.split .txt { display: grid; gap: 20px; min-width: 0; }
.split h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.split p { color: var(--ink-2); }
.navy .split p { color: var(--on-navy); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; }
.ticks li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") center no-repeat; }
.navy .ticks li::before { background-color: var(--mint); }

/* CTA band */
.cta { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 130px); padding-bottom: calc(min(250px, 27.5vw) + clamp(32px, 4vw, 56px)); text-align: center; }
.cta .bg { position: absolute; inset: auto 0 0 0; height: min(250px, 27.5vw); opacity: .14; z-index: 0; background-size: cover; background-position: center bottom; background-repeat: no-repeat; }
.cta .wrap { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: center; }
.cta h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -0.034em; }
.cta p { color: var(--on-navy); max-width: 32rem; }
.cta code { font: inherit; color: #fff; user-select: all; }

/* Destinations page */
.qtable { overflow-x: auto; border-radius: 20px; background: var(--white); }
.qtable table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .95rem; }
.qtable th, .qtable td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--rule); }
.qtable thead th { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.012em; }
.qtable thead th img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; margin-bottom: 8px; }
.qtable tbody th { width: 18%; color: var(--ink-3); font-weight: 500; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.qtable tr:last-child th, .qtable tr:last-child td { border-bottom: 0; }
.qtable td em { font-size: 1.12rem; color: var(--ink); }

/* Country guide */
.meta { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 18px 0; border-block: 1px solid var(--rule); font-size: .88rem; color: var(--ink-2); margin-top: 8px; }
.meta b { font-weight: 600; color: var(--ink); }
.guide { display: grid; gap: 48px; }
@media (min-width: 960px) { .guide { grid-template-columns: 240px minmax(0, 1fr); gap: 80px; } .toc { position: sticky; top: 110px; align-self: start; } }
.toc { display: grid; gap: 2px; }
.toc .label { margin-bottom: 10px; }
.toc button { text-align: left; padding: 9px 0 9px 16px; border-left: 2px solid var(--rule); color: var(--ink-3); font-size: .95rem; transition: color .25s, border-color .25s; }
.toc button:hover { color: var(--ink); }
.toc button.cur { color: var(--ink); border-left-color: var(--emerald); font-weight: 500; }
@media (max-width: 959px) { .toc { display: none; } }
.gsec { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--rule); display: grid; gap: 18px; scroll-margin-top: 100px; }
.gsec:last-child { border-bottom: 0; }
.gsec h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); display: flex; gap: 16px; align-items: baseline; }
.gsec h2 small { font-size: .8rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.gsec > p { color: var(--ink-2); max-width: 40rem; }
.decide { background: var(--navy) var(--grad-navy); color: #f5f5f1; border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; }
.decide .label { color: var(--mint); }
.decide p { font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -0.019em; }
.decide small { color: var(--on-navy); font-size: .95rem; }
.blocks { display: grid; gap: 12px; }
@media (min-width: 640px) { .blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.block { background: var(--white); border-radius: 16px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.block b { font-weight: 600; letter-spacing: -0.012em; }
.block span { color: var(--ink-2); font-size: .94rem; }
.pills-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pills-list li { background: var(--white); border-radius: 999px; padding: 9px 16px; font-size: .93rem; }
.ask { display: flex; gap: 14px; align-items: flex-start; background: color-mix(in srgb, var(--mint) 14%, var(--paper)); border-radius: 16px; padding: 16px 18px; font-size: .94rem; color: var(--ink); }
.ask::before { content: "?"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--emerald); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.source { font-size: .84rem; color: var(--ink-3); }
.others { display: grid; gap: 16px; }
@media (min-width: 760px) { .others { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.others .icard { aspect-ratio: 4 / 3; }

/* Services page */
.svc-row { display: grid; gap: 36px; align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--rule); }
.svc-row:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 960px) { .svc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } .svc-row:nth-child(even) .pic { order: 2; } }
.svc-row .pic { aspect-ratio: 4 / 3; }
.svc-row .txt { display: grid; gap: 18px; min-width: 0; }
.svc-row .idx { font-weight: 800; font-size: 2.8rem; line-height: 1; letter-spacing: -0.025em; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-row h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.svc-row p { color: var(--ink-2); }
.receive { background: var(--white); border-radius: 18px; padding: 20px 22px; display: grid; gap: 6px; border-left: 3px solid var(--mint); }
.receive .label { color: var(--emerald); }
.fees { display: grid; gap: 24px; }
@media (min-width: 900px) { .fees { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fee { border-top: 1px solid rgba(245,245,241,.2); padding-top: 20px; display: grid; gap: 8px; }
.fee b { font-size: 1.25rem; letter-spacing: -0.019em; font-weight: 600; }
.fee p { color: var(--on-navy); font-size: .96rem; }

/* How it works page */
.timeline { position: relative; display: grid; gap: clamp(56px, 8vw, 96px); }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: var(--rule); }
.timeline .fill { position: absolute; left: 21px; top: 10px; width: 1px; height: var(--p, 0%); background: var(--emerald); }
@media (min-width: 960px) { .timeline::before, .timeline .fill { left: 50%; } }
.tl { position: relative; display: grid; gap: 28px; padding-left: 64px; align-items: center; }
@media (min-width: 960px) { .tl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 120px; padding-left: 0; } .tl:nth-child(odd) .pic { order: 2; } }
.tl .dot { position: absolute; left: 8px; top: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--rule); display: grid; place-items: center; font-size: .72rem; font-weight: 600; transition: background .4s, color .4s, box-shadow .4s; z-index: 1; }
@media (min-width: 960px) { .tl .dot { left: calc(50% - 14px); top: 50%; margin-top: -14px; } }
.tl.lit .dot { background: var(--emerald); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--mint) 25%, transparent); }
.tl .pic { aspect-ratio: 4 / 3; }
.tl .txt { display: grid; gap: 14px; min-width: 0; }
.tl h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.tl p { color: var(--ink-2); }
.info4 { display: grid; gap: 16px; }
@media (min-width: 760px) { .info4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.info { background: var(--white); border-radius: 20px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.info .ic { width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--mint) 18%, var(--paper)); color: var(--emerald); display: grid; place-items: center; margin-bottom: 6px; }
.info h3 { font-size: 1.35rem; letter-spacing: -0.019em; }
.info p { color: var(--ink-2); font-size: .97rem; }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); interpolate-size: allow-keywords; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s; font-style: normal; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--ink); color: var(--paper); box-shadow: none; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { padding: 0 60px 26px 0; color: var(--ink-2); max-width: 44rem; }

/* About page */
.about-hero { padding-top: calc(env(safe-area-inset-top, 0px) + 120px); padding-bottom: clamp(64px, 8vw, 100px); border-radius: 0 0 32px 32px; overflow: hidden; }
.about-hero .crumbs { color: #8fa3b1; }
.about-hero .crumbs a:hover { color: #fff; }
.about-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); letter-spacing: -0.031em; line-height: .98; color: #fff; }
.about-hero .lede { color: var(--on-navy); }
.globe-wrap { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; cursor: grab; touch-action: pan-y; }
.globe-wrap:active { cursor: grabbing; }
.globe-wrap canvas { width: 100%; height: 100%; display: block; }
.gtip { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 38px)); pointer-events: none; z-index: 2; display: grid; gap: 2px; justify-items: center; padding: 8px 14px; border-radius: 12px; white-space: nowrap; color: #fff; font-size: .88rem;
  background: rgba(4, 19, 31, .66); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7); }
.gtip b { font-weight: 600; letter-spacing: 0; }
.gtip span { font-size: .72rem; color: var(--mint); }
.gtip span:empty { display: none; }
.globe-wrap .hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: .78rem; color: #8fa3b1; white-space: nowrap; }
.values { display: grid; gap: 16px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.founders { display: grid; gap: 20px; }
@media (min-width: 760px) { .founders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.founder { container-type: inline-size; background: var(--white); border-radius: 24px; padding: 14px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.founder:hover { transform: translateY(-4px); }
.fphoto { margin: 0; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.fphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Each card lays itself out by its own width: photo beside the text only when both have room */
.fin { display: grid; gap: 18px; }
@container (max-width: 519px) { .fphoto { aspect-ratio: 1 / 1; } .fphoto img { object-position: 50% 22%; } }
@container (min-width: 520px) { .fin { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); align-items: center; gap: 24px; } }
.fbody { display: grid; gap: 8px; padding: 6px 10px 10px; min-width: 0; }
.frole { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.founder h3 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); letter-spacing: -0.019em; line-height: 1.2; }
.forg { color: var(--ink-3); font-size: .95rem; }
.fcontact { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.fcontact a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: .92rem; color: var(--ink-2); text-decoration: none; overflow-wrap: break-word; min-width: 0; }
.fcontact a:hover { color: var(--ink); text-decoration: underline; }
.nw { white-space: nowrap; }
@media (max-width: 720px) { .hide-sm { display: none; } }
.fcontact svg { flex-shrink: 0; color: var(--gold-ink); }
.mailrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chipbtn.wa { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.mailrow code { font: 500 clamp(1.05rem, 2.2vw, 1.45rem) var(--sans); letter-spacing: -0.012em; user-select: all; overflow-wrap: anywhere; }
.chipbtn { height: 36px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); font-size: .84rem; transition: background .25s; }
.chipbtn:hover { background: var(--paper-2); }
.navy .chipbtn { box-shadow: inset 0 0 0 1px rgba(245,245,241,.3); }
.navy .chipbtn:hover { background: rgba(245,245,241,.1); }

/* Profile form */
.form-shell { display: grid; gap: 48px; }
@media (min-width: 980px) { .form-shell { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } .form-side { position: sticky; top: 110px; align-self: start; } }
.form-side { display: grid; gap: 22px; min-width: 0; }
.form-side h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); letter-spacing: -0.031em; }
.form-side .pic { aspect-ratio: 16 / 10; }
.steps-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.steps-nav li { display: flex; gap: 14px; align-items: center; padding: 7px 0; color: var(--ink-3); font-size: .95rem; transition: color .3s; }
.steps-nav li i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; box-shadow: inset 0 0 0 1px var(--rule); transition: all .3s; }
.steps-nav li.now { color: var(--ink); font-weight: 600; }
.steps-nav li.now i { background: var(--ink); color: var(--paper); box-shadow: none; }
.steps-nav li.done i { background: var(--emerald); color: #fff; box-shadow: none; }
@media (max-width: 979px) { .steps-nav, .form-side .pic { display: none; } }
.fcard { background: var(--white); border-radius: 24px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 1px 0 var(--rule), 0 40px 80px -60px rgba(5,34,57,.4); min-width: 0; }
.fbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fbar .bar { flex: 1; height: 2px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.fbar .bar i { display: block; height: 100%; width: var(--p, 25%); background: var(--emerald); transition: width .6s var(--ease); }
.fstep { border: 0; margin: 0; padding: 0; display: grid; gap: 22px; min-width: 0; }
.fstep.enter { animation: stepIn .55s var(--ease) both; }
.fstep.enter.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.fstep legend { padding: 0; margin-bottom: 20px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field > .flabel { font-size: .9rem; font-weight: 500; }
.opt { color: var(--ink-3); font-weight: 400; }
.line { width: 100%; font: 400 1.1rem var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: 10px 0 12px; min-height: 48px; transition: border-color .3s; }
.line:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.line::placeholder { color: #b0b8bd; }
select.line { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230c1a24' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; cursor: pointer; }
.row2 { display: grid; gap: 22px; }
@media (min-width: 620px) { .row2 { grid-template-columns: 1fr 1fr; } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); font-size: .95rem; transition: background .25s, color .25s, box-shadow .25s; }
.pill input:hover + span { box-shadow: inset 0 0 0 1px var(--ink-3); }
.pill input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.pill input:focus-visible + span { outline: 2px solid var(--emerald); outline-offset: 3px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .95rem; align-items: start; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--emerald); }
.note { background: var(--paper); border-radius: 14px; padding: 16px 18px; font-size: .92rem; color: var(--ink-2); }
.summary { display: grid; border-top: 1px solid var(--rule); margin: 0; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.summary dt { color: var(--ink-3); }
.summary dd { margin: 0; text-align: right; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.err { color: var(--error); font-size: .86rem; }
.field.invalid .line { border-bottom-color: var(--error); }
.fnav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; }
.fnav .hint { font-size: .8rem; color: var(--ink-3); }
.fnav .grp { display: flex; gap: 10px; margin-left: auto; }
@media (max-width: 520px) { .fnav .grp { width: 100%; } .fnav .grp .btn { flex: 1; } .fnav .hint { display: none; } }
.proto { font-size: .8rem; color: var(--ink-3); margin-top: 16px; }
.done { display: grid; gap: 18px; animation: stepIn .6s var(--ease) both; }
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--emerald); color: #fff; display: grid; place-items: center; }
.done .tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.ref { font: 500 1.05rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .1em; padding: 12px 16px; background: var(--paper); border-radius: 10px; justify-self: start; }
.done ol { margin: 0; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: 6px; }

/* Privacy */
.doc { max-width: 46rem; display: grid; gap: 40px; }
.doc section { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--rule); }
.doc h2 { font-size: 1.6rem; letter-spacing: -0.019em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

/* Footer */
.foot { padding-block: clamp(80px, 10vw, 130px) 0; overflow: hidden; }
.foot-top { display: grid; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1fr auto; align-items: end; } }
.foot-top h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.foot-cols { display: grid; gap: 28px; padding-block: 40px; font-size: .92rem; color: var(--ink-2); }
@media (min-width: 800px) { .foot-cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot-cols h4 { margin: 0 0 10px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.foot-cols nav { display: grid; gap: 4px; }
.foot-cols nav a { text-decoration: none; width: fit-content; }
.foot-cols nav a:hover { color: var(--emerald); }
.credits { font-size: .74rem; line-height: 1.6; color: var(--ink-3); padding-bottom: 16px; max-width: 70rem; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }
.fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .78rem; color: var(--ink-3); padding-bottom: 28px; }
.fine a { text-decoration: none; }
.fine .dev a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.foot .wrap { container-type: inline-size; }
.foot-wm { display: inline-block; font-size: 1.35rem; color: var(--navy); margin: 2px 0 12px; }
.giant { display: flex; align-items: flex-end; font-size: 11.4cqi; line-height: 1; margin: .35em 0 .12em; user-select: none; color: var(--navy); --leaf-top: -0.31em; }
.giant > span { display: inline-block; transition: transform .6s var(--ease), color .4s; }
.giant > span:hover { transform: translateY(-10%); color: var(--emerald); }
.giant .gsp { width: .26em; flex: none; }

/* ---------- Performance ---------- */
.collage.off .tile { animation-play-state: paused; }

/* ---------- Seamless navigation ---------- */
/* Page changes cross-fade in place (browsers with View Transitions); the header and cursor hold still */
.hdr { view-transition-name: site-header; }
.glow { view-transition-name: cur-glow; }
::view-transition-old(root) { animation: vt-out .26s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* Pictures fade in as they arrive instead of popping */
img.fade { opacity: 0; transition: opacity .7s var(--ease); }
img.fade.ready { opacity: 1; }
.icard img.fade, .pic img.fade { transition: opacity .7s var(--ease), transform 1.2s var(--ease); }

/* Phone menu opens and closes smoothly */
.overlay:not([hidden]) { animation: ov-in .35s var(--ease) both; }
.overlay:not([hidden]) a { animation: ov-link .55s var(--ease) both; }
.overlay a:nth-child(2) { animation-delay: .04s; } .overlay a:nth-child(3) { animation-delay: .08s; }
.overlay a:nth-child(4) { animation-delay: .12s; } .overlay a:nth-child(5) { animation-delay: .16s; } .overlay a:nth-child(6) { animation-delay: .2s; }
.overlay.closing { animation: ov-out .25s ease both !important; }
@keyframes ov-in { from { opacity: 0; } }
@keyframes ov-out { to { opacity: 0; } }
@keyframes ov-link { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Frosted glass layer ---------- */
:root {
  --glass: rgba(255, 255, 255, .52);
  --glass-strong: rgba(255, 255, 255, .7);
  --glass-edge: rgba(255, 255, 255, .85);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 50px -30px rgba(5,34,57,.28);
  --frost: blur(18px) saturate(160%);
  --glass-d: rgba(255, 255, 255, .06);
  --glass-d-edge: rgba(255, 255, 255, .16);
}
/* Ambient glows the glass can frost */
body::after { content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 32% at 12% 18%, rgba(230,203,145,.20), transparent 70%),
    radial-gradient(34% 30% at 88% 12%, rgba(138,106,46,.10), transparent 70%),
    radial-gradient(40% 36% at 78% 82%, rgba(90,160,220,.14), transparent 70%),
    radial-gradient(30% 28% at 20% 88%, rgba(230,203,145,.12), transparent 70%),
    radial-gradient(26% 24% at 94% 46%, rgba(255,107,61,.10), transparent 70%);
}
@keyframes drift { to { transform: translate3d(3%, -2%, 0) scale(1.06); } }

/* Light glass surfaces */
.scard, .info, .block, .founder, .fcard, .qtable, .receive, .undecided, .pills-list li, .tags li,
.collage .chip, .chipbtn, .btn.ghost, .icard .n, .icard .go, .overlay {
  background: var(--glass);
  -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-edge);
}
.fcard, .collage .chip { background: var(--glass-strong); }
.fcard { align-self: start; }
.receive { border-left: 3px solid var(--mint); }
.undecided { box-shadow: var(--glass-shadow); }
.btn.ghost { box-shadow: 0 1px 0 rgba(255,255,255,.9) inset; }
.icard .n, .icard .go { background: rgba(5,34,57,.55); border-color: rgba(255,255,255,.35); color: #fff; box-shadow: none; }
.icard:hover .go { background: var(--mint); color: var(--ink); }
.overlay { border: 0; background: rgba(245,245,241,.72); }
.note { background: rgba(245,245,241,.7); }
.summary div { border-color: rgba(12,26,36,.08); }

/* Header: floating glass bar once you scroll */
.hdr.solid { background: rgba(245,245,241,.55); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 1px 0 rgba(12,26,36,.06), 0 12px 30px -24px rgba(5,34,57,.35); }

/* Picture frames get a glass rim */
.pic, .collage .main, .wide-pic { box-shadow: 0 0 0 1px rgba(255,255,255,.7), 0 40px 80px -50px rgba(5,34,57,.45); }
.collage .tile { border: 1px solid rgba(255,255,255,.8); padding: 5px; background: rgba(255,255,255,.75); }
.collage .tile img { border-radius: 13px; }

/* Navy sections: glows + dark glass panels */
.navy { position: relative; isolation: isolate; overflow: hidden; }
.navy::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 85% 15%, rgba(230,203,145,.22), transparent 70%),
    radial-gradient(35% 45% at 10% 90%, rgba(90,160,220,.18), transparent 70%),
    radial-gradient(28% 36% at 96% 96%, rgba(255,107,61,.16), transparent 70%); }
.step3, .fee { background: var(--glass-d); border: 1px solid var(--glass-d-edge); border-radius: 20px; padding: 24px; -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); box-shadow: 0 1px 0 rgba(255,255,255,.1) inset; }
.decide { background: linear-gradient(140deg, rgba(5,34,57,.92), rgba(10,45,72,.86)); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px -40px rgba(5,34,57,.7); }
.about-hero .lede { max-width: 34rem; }
.globe-wrap .hint { background: var(--glass-d); border: 1px solid var(--glass-d-edge); border-radius: 999px; padding: 6px 14px; -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); }
.navy .btn.ghost, .navy .chipbtn { background: var(--glass-d); border-color: var(--glass-d-edge); box-shadow: none; }
.cta .bg { opacity: .32; background-size: min(1000px, 110%) auto; }

/* Cursor ring: a faint frosted lens at rest (not over buttons, so text stays crisp) */

/* ---------- Malaysia university directory ---------- */
.dstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .dstats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dstats > div { border-radius: 16px; padding: 16px 18px; display: grid; gap: 2px; background: var(--glass); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.dstats b { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.dstats span { font-size: .82rem; color: var(--ink-2); }
.dfilters { display: grid; gap: 14px; padding: 18px; border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.dsearch { position: relative; }
.dsearch svg { position: absolute; left: 0; top: 50%; translate: 0 -50%; color: var(--ink-3); }
.dsearch .line { padding-left: 28px; }
.dtype { display: flex; flex-wrap: wrap; gap: 6px; }
.dtype button { min-height: 38px; padding: 0 14px; border-radius: 999px; font-size: .88rem; box-shadow: inset 0 0 0 1px var(--rule); background: rgba(255,255,255,.5); transition: background .25s, color .25s, box-shadow .25s; }
.dtype button:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.dtype button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.dsel { display: grid; gap: 12px 16px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.dsel label { display: grid; gap: 2px; min-width: 0; }
.dsel label span { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.dsel .line { font-size: .95rem; min-height: 42px; padding-block: 6px 8px; }
.dbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; font-size: .9rem; color: var(--ink-2); }
.dbar b { color: var(--ink); font-variant-numeric: tabular-nums; }
.dbar button { font-size: .88rem; color: var(--emerald); font-weight: 500; min-height: 40px; }
.dgrid { display: grid; gap: 14px; }
@media (min-width: 720px) { .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.uimg { position: relative; margin: -20px -20px 4px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 19px 19px 0 0; background: var(--navy); }
.uimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.uni:hover .uimg img { transform: scale(1.05); }
.uimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,34,57,.0) 55%, rgba(5,34,57,.55)); pointer-events: none; }
.uplace { position: absolute; left: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 600; color: var(--ink); padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.uplace svg { color: var(--coral); }
.uplace b { font-weight: 600; color: var(--gold-ink); }
.ucredit { position: absolute; right: 10px; bottom: 8px; z-index: 1; font-size: .66rem; color: rgba(255,255,255,.85); text-decoration: none; }
.ucredit:hover { text-decoration: underline; }
.uni { border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; overflow: hidden;
  background: var(--glass); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.uni.enter { animation: rise .5s var(--ease) both; }
.uni-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .74rem; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: rgba(12,26,36,.06); color: var(--ink-2); }
.tag.rank { background: color-mix(in srgb, var(--mint) 32%, transparent); color: var(--gold-ink); }
.tag.pop { background: var(--ink); color: var(--paper); }
.uni h3 { font-size: 1.22rem; letter-spacing: -0.019em; line-height: 1.2; }
.uni .loc { font-size: .88rem; color: var(--ink-3); margin-top: -6px; }
.ufees { margin: 0; display: grid; border-top: 1px solid rgba(12,26,36,.08); }
.ufees div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(12,26,36,.08); font-size: .9rem; }
.ufees dt { color: var(--ink-2); }
.ufees dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ufees dd small { font-weight: 400; color: var(--ink-3); font-size: .78rem; }
.ufees dd.na { font-weight: 400; color: var(--ink-3); }
.ufees dd.free { color: var(--gold-ink); }
.ufields { font-size: .82rem; color: var(--ink-3); line-height: 1.45; }
.ufoot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 4px; margin-top: auto; }
.uapply { height: 44px; padding: 0 18px; font-size: .9rem; flex: 1 1 auto; justify-content: center; max-width: 220px; }
.uapply .ar { width: 24px; height: 24px; margin-right: -8px; }
@media (max-width: 400px) { .uapply { max-width: none; } }
.budget { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-2); }
.budget i { display: inline-flex; gap: 3px; }
.budget i::before, .budget i::after, .budget i span { content: ""; width: 14px; height: 4px; border-radius: 2px; background: var(--rule); }
.budget[data-b="1"] i::before { background: var(--emerald); }
.budget[data-b="2"] i::before, .budget[data-b="2"] i span { background: var(--emerald); }
.budget[data-b="3"] i::before, .budget[data-b="3"] i span, .budget[data-b="3"] i::after { background: var(--emerald); }
.uask { font-size: .86rem; font-weight: 500; color: var(--emerald); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; }
.uask:hover { text-decoration: underline; text-underline-offset: 3px; }
.pcredits { margin-top: 12px; } .pcredits summary { cursor: pointer; font-weight: 600; } .pcredits ul { margin-top: 10px; display: grid; gap: 6px; font-size: .88rem; } .pcredits .ucredit { position: static; font-size: inherit; color: inherit; text-decoration: underline; }
.dempty { padding: 32px; text-align: center; color: var(--ink-2); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--rule); }
.dmore { display: flex; justify-content: center; }

/* ---------- Glass that reacts to the cursor ---------- */
@property --g { syntax: '<number>'; inherits: false; initial-value: 0; }
:is(.scard, .info, .block, .founder, .fcard, .qtable, .undecided, .receive, .uni, .dstats > div) {
  --g: 0;
  background-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255, calc(var(--g) * .9)) 0%, rgba(230,203,145, calc(var(--g) * .09)) 45%, rgba(230,203,145,0) 72%);
  transition: --g .6s var(--ease), border-color .5s, transform .5s var(--ease), box-shadow .5s;
}
:is(.scard, .info, .block, .founder, .fcard, .qtable, .undecided, .receive, .uni, .dstats > div).lit { --g: 1; border-color: #fff; }
:is(.step3, .fee) {
  --g: 0;
  background-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(230,203,145, calc(var(--g) * .16)), rgba(230,203,145,0) 70%);
  transition: --g .6s var(--ease), border-color .5s;
}
:is(.step3, .fee).lit { --g: 1; border-color: rgba(255,255,255,.3); }
.decide { --g: 0; transition: --g .6s var(--ease), border-color .5s;
  background-image: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(230,203,145, calc(var(--g) * .18)), rgba(230,203,145,0) 70%), linear-gradient(140deg, rgba(5,34,57,.92), rgba(10,45,72,.86)); }
.decide.lit { --g: 1; border-color: rgba(255,255,255,.26); }
.glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .8s;
  background: radial-gradient(circle, rgba(230,203,145,.22) 0%, rgba(230,203,145,.08) 40%, rgba(230,203,145,0) 68%); will-change: transform; }
.glow.on { opacity: 1; }

/* ---------- Warm accent: coral against navy and green ---------- */
/* --coral for shapes and large type; --coral-ink for small text on light grounds (4.7:1); --coral-lt for text on navy */
:root { --coral: #ff6b3d; --coral-ink: #c2410c; --coral-lt: #ff8a62; --coral-soft: #ffe6dc; }
::selection { background: var(--coral-soft); color: var(--ink); }
.pt { color: var(--coral); }
.navy .pt { color: var(--coral-lt); }
.label { color: var(--coral-ink); }
.navy .label, .about-hero .label { color: var(--coral-lt); }
.nav a::after, .navy-top .hdr:not(.solid) .nav a::after { background: var(--coral); height: 2px; }
.tlink::after { background: var(--coral); height: 2px; }
/* Buttons: the arrow sits in a coral circle */
.btn .ar { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: -12px; border-radius: 50%; background: var(--coral); color: var(--ink); font-size: .9em; line-height: 1; }
.btn:hover .ar { transform: translateX(3px) rotate(-45deg); }
.ticker .dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(255,107,61,.22); }
.icard:hover .go { background: var(--coral); color: var(--ink); }
.scard .more { color: var(--coral-ink); }
.svc-row .idx { color: var(--coral); }
.step3 .num { color: var(--coral-lt); }
.receive { border-left-color: var(--coral); }
.receive .label { color: var(--coral-ink); }
.info:nth-child(even) .ic { background: var(--coral-soft); color: var(--coral-ink); }
.tl.lit .dot { background: var(--coral); color: var(--ink); box-shadow: 0 0 0 6px rgba(255,107,61,.2); }
.timeline .fill { background: linear-gradient(var(--emerald), var(--coral)); }
.tag.pop { background: var(--coral); color: var(--ink); }
.dstats > div:last-child b { color: var(--coral-ink); }
.fbar .bar i { background: linear-gradient(90deg, var(--emerald), var(--coral)); }
.faq details[open] summary i { background: var(--coral); color: var(--ink); }
.giant > span:hover { color: var(--coral); }
.collage .chip i { background: var(--coral); color: var(--ink); }

/* ---------- How we help: stacking service cards ---------- */
.head.center { justify-items: center; text-align: center; max-width: 46rem; margin-inline: auto; }
.head.center > p { justify-self: center; color: var(--ink-2); }
@media (min-width: 900px) { .head.center { grid-template-columns: minmax(0, 1fr); align-items: start; } .head.center > p { justify-self: center; } }
.head.center h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.stk-wrap { display: grid; gap: 24px; }
@media (min-width: 1100px) { .stk-wrap { grid-template-columns: 56px minmax(0, 1fr); gap: 32px; } }
.stk-rail { display: none; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1100px) {
  .stk-rail { display: grid; gap: 14px; align-content: start; position: sticky; top: 140px; height: max-content; font: 600 .82rem/1 var(--sans); letter-spacing: .06em; color: var(--ink-3); }
  .stk-rail li { position: relative; padding-left: 18px; transition: color .3s; }
  .stk-rail li::before { content: ""; position: absolute; left: 0; top: -6px; bottom: -8px; width: 2px; border-radius: 2px; background: var(--rule); transition: background .3s; }
  .stk-rail li.on { color: var(--coral-ink); }
  .stk-rail li.on::before { background: var(--coral); }
}
.stk-list { display: grid; gap: 28px; }
.stk { --c: var(--navy); --t: #fff; --t2: rgba(255, 255, 255, .8); position: relative; display: grid; gap: 28px; padding: clamp(26px, 3.6vw, 44px); border-radius: 28px; background: var(--c); color: var(--t); box-shadow: 0 30px 60px -36px rgba(5, 34, 57, .55); transform-origin: 50% 0; overflow: hidden; }
.stk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, .12), transparent 55%); }
.stk-navy { --c: #052239; }
.stk-gold { --c: #6f5523; }
.stk-coral { --c: #b93c0c; }
.stk-cream { --c: #efe2c2; --t: var(--ink); --t2: var(--ink-2); }
@media (min-width: 860px) { .stk { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 40px; } }
.stk-txt { display: grid; gap: 14px; align-content: start; min-width: 0; position: relative; z-index: 1; }
.stk-n { font-weight: 800; font-size: 2.2rem; line-height: 1; letter-spacing: -0.025em; color: var(--t2); }
.stk h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.022em; line-height: 1.08; color: var(--t); }
.stk-sub { font-size: 1.06rem; color: var(--t2); }
.stk-ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; font-size: .96rem; }
.stk-ticks li { display: flex; gap: 12px; color: var(--t); }
.stk-ticks li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.stk-cream .stk-ticks li::before { background-color: var(--ink); }
.stk-get { font-size: .92rem; color: var(--t2); padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .2); }
.stk-cream .stk-get { border-top-color: rgba(12, 26, 36, .14); }
.stk-get b { color: var(--t); font-weight: 600; }
.stk-ui { position: relative; z-index: 1; min-width: 0; }
/* Sticky stacking where the screen is big enough to hold a whole card */
@media (min-width: 720px) and (min-height: 700px) {
  .stk { position: sticky; top: calc(108px + var(--i) * 20px); }
  .stk-list { padding-bottom: 40px; }
}
/* Small visuals inside the cards */
.mock { background: #fff; color: var(--ink); border-radius: 20px; padding: 20px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .45); display: grid; gap: 12px; transform: rotate(1.2deg); transition: transform .6s var(--ease); }
.stk:nth-child(even) .mock { transform: rotate(-1.2deg); }
.stk:hover .mock { transform: none; }
.mock-k { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cmp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cmp > div { position: relative; display: grid; gap: 4px; justify-items: center; text-align: center; padding: 16px 8px 12px; border-radius: 14px; border: 1px solid var(--rule); font-size: .8rem; }
.cmp > div.best { border: 2px solid var(--coral); background: #fff7f3; }
.cmp b { font-size: .9rem; }
.cmp small { color: var(--ink-3); font-size: .72rem; margin-top: 4px; }
.cmp em { font-style: normal; font-weight: 600; font-size: .74rem; color: var(--ink-3); margin-top: 6px; }
.cmp em.ok { color: #1f7a4d; }
.tagb { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: var(--coral); color: #fff; }
.dots { display: inline-flex; gap: 3px; }
.dots::before { content: "●●●●"; letter-spacing: 1px; font-style: normal; font-size: .7rem; background: linear-gradient(90deg, var(--ink) calc(var(--n) * 25%), var(--rule) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dots[data-n="1"] { --n: 1; } .dots[data-n="2"] { --n: 2; } .dots[data-n="3"] { --n: 3; } .dots[data-n="4"] { --n: 4; }
.track { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.track li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: .9rem; font-weight: 500; }
.track li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px dashed var(--ink-3); box-sizing: border-box; }
.track li.done::before { border: 0; background: #1f7a4d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.track li:not(.done) { color: var(--ink-2); background: #fff; border: 1px dashed var(--rule); }
.cal { margin-left: auto; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-ink); white-space: nowrap; }
.fund { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.fund div { display: grid; gap: 2px; min-width: 0; }
.fund b { font-size: .9rem; }
.fund small { font-size: .74rem; color: var(--ink-3); }
.pillx { flex-shrink: 0; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e9eef2; color: var(--navy); white-space: nowrap; }
.pillx.ok { background: #e3f3ea; color: #1f7a4d; }
.pillx.warn { background: var(--coral-soft); color: var(--coral-ink); }
.chat { gap: 10px; }
.chat-h { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.chat-h .av { width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.chat-h div { display: grid; }
.chat-h b { font-size: .88rem; }
.chat-h small { font-size: .72rem; color: #1f7a4d; }
.bub { justify-self: start; max-width: 88%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--paper); font-size: .88rem; line-height: 1.5; }
.stk-cta { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }
@media (max-width: 420px) { .cmp { gap: 6px; } .cmp > div { padding-inline: 4px; } .mock { padding: 16px; transform: none !important; } }

/* ---------- How we help: what's included ---------- */
.incl-sec { padding-top: 0; }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.incl li { position: relative; display: grid; gap: 8px; align-content: start; padding: 24px 22px 22px; border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); border: 1px solid var(--glass-edge); box-shadow: 0 20px 40px -32px rgba(5, 34, 57, .35); transition: transform .4s var(--ease), box-shadow .4s; }
.incl li:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -32px rgba(5, 34, 57, .45); }
.in-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-ink); margin-bottom: 8px; }
.in-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.in-n { position: absolute; top: 20px; right: 22px; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.025em; color: rgba(194, 65, 12, .16); }
.incl b { font-size: 1.08rem; letter-spacing: -0.012em; }
.incl p { font-size: .92rem; color: var(--ink-2); }
.in-chip { justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.in-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
@media (hover: none) { .incl li:hover { transform: none; } .stk:hover .mock { transform: rotate(1.2deg); } .stk:nth-child(even):hover .mock { transform: rotate(-1.2deg); } }
@media print { .stk { position: static !important; break-inside: avoid; } }
/* ---------- Decision tools: level fees, sources, shortlist, compare, estimator ---------- */
.vh, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.na { color: var(--ink-2); }
.dlevel { display: grid; gap: 6px; grid-template-columns: minmax(0, 1fr); padding-bottom: 14px; border-bottom: 1px solid rgba(12, 26, 36, .08); }
.dlevel label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); }
.dlevel select { font-size: 1.05rem; font-weight: 600; max-width: 320px; }
.dlevel-note { font-size: .84rem; color: var(--ink-2); }
.ukey { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; padding: 14px 0 4px; border-top: 1px solid rgba(12, 26, 36, .1); }
.ukey .k { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 2px; }
.ufee b { font-size: 1.3rem; letter-spacing: -0.012em; font-variant-numeric: tabular-nums; }
.ufee small { display: block; font-size: .84rem; color: var(--ink-2); }
.ukey b.na, .cmpt b.na { font-size: 1rem; color: var(--coral-ink); }
.uintake b { font-size: 1rem; }
.uintake .isrc { display: block; margin-top: 4px; font-size: .74rem; color: var(--ink-3); }
.umeta { font-size: .8rem; line-height: 1.55; color: var(--ink-2); }
.umeta a, .usem a, .cmeta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.fbasis { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-right: 4px; vertical-align: 1px; }
.fbasis.off { background: #e3f3ea; color: #17603c; }
.fbasis.ind { background: #fff1cf; color: #7a4f00; }
.usem { font-size: .8rem; color: var(--ink-2); padding: 8px 12px; border-radius: 10px; background: var(--paper); }
.umore { font-size: .86rem; }
.umore summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 32px; display: flex; align-items: center; }
.umore dl { margin: 6px 0 0; display: grid; gap: 6px; }
.umore dl div { display: flex; justify-content: space-between; gap: 12px; }
.umore dt { color: var(--ink-2); }
.umore dd { margin: 0; text-align: right; font-weight: 600; }
.umore dd small { display: block; font-weight: 400; color: var(--ink-2); font-size: .76rem; }
.ufoot { flex-wrap: wrap; }
.usave { min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--ink); background: transparent; color: var(--ink); }
.usave[aria-pressed="true"] { background: var(--mint); box-shadow: inset 0 0 0 1.5px var(--gold-ink); }
.usave[aria-pressed="true"]::before { content: "✓ "; }
.uprog { font-size: .88rem; font-weight: 600; }
.btn.small { height: 44px; padding: 0 18px; font-size: .92rem; }
.cbar { position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 70; width: min(720px, calc(100% - 24px)); }
.cbar-in { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-radius: 20px; background: var(--navy) var(--grad-navy); color: #fff; box-shadow: 0 20px 40px -16px rgba(5, 34, 57, .6); }
.cbar-txt { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.cbar-txt b { font-size: .95rem; }
.cbar-txt span { font-size: .78rem; color: var(--on-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbar .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); background: transparent; }
.cbar .btn:not(.ghost) { background: var(--coral); color: var(--ink); }
body.has-cbar { padding-bottom: 96px; }
@media (max-width: 520px) { .cbar-in { flex-wrap: wrap; } .cbar-txt { flex-basis: 100%; } .cbar .btn { flex: 1; } body.has-cbar { padding-bottom: 150px; } }
.toast { position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: .92rem; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); overflow-wrap: anywhere; }
dialog.cmpd { width: min(1040px, calc(100% - 20px)); max-height: calc(100% - 40px); padding: 0; border: 0; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(5, 34, 57, .6); }
dialog.cmpd::backdrop { background: rgba(5, 34, 57, .55); }
.cmpd-in { padding: clamp(18px, 3vw, 32px); display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
dialog.cmpd { overflow-x: hidden; }
.cmpd-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cmpd-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cmpd-note { font-size: .88rem; color: var(--ink-2); }
.cmpscroll { overflow-x: auto; border-radius: 16px; background: #fff; border: 1px solid var(--rule); }
.cmpt { border-collapse: collapse; width: 100%; min-width: 600px; font-size: .9rem; }
.cmpt th, .cmpt td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #eee9df; }
.cmpt thead th { background: var(--paper); }
.cmpt thead th b { display: block; font-size: 1rem; }
.cmpt thead th span { display: block; color: var(--ink-2); font-weight: 400; }
.cmpt tbody th[scope="row"] { width: 150px; color: var(--ink-2); font-weight: 600; position: sticky; left: 0; background: #fff; z-index: 1; box-shadow: 1px 0 0 #eee9df; }
.cmpt thead td { position: sticky; left: 0; background: var(--paper); z-index: 1; }
@media (max-width: 640px) { .cmpt { min-width: 520px; font-size: .86rem; } .cmpt tbody th[scope="row"] { width: 110px; } .cmpt th, .cmpt td { padding: 10px; } }
.cmpt tr.sec th { background: var(--navy); color: #fff; font-size: .82rem; letter-spacing: .04em; }
.cmpt .scope { margin-left: 8px; font-weight: 400; color: var(--mint); }
.cmeta { display: block; margin-top: 6px; font-size: .78rem; color: var(--ink-2); line-height: 1.5; }
.cmp-actions { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; }
.cmpd-foot { display: flex; justify-content: flex-end; }
.est { display: grid; gap: 18px; padding: clamp(18px, 3vw, 28px); border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); }
@media (min-width: 900px) { .est { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .est-pick { grid-column: 1 / -1; } }
.est-pick { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .est-pick { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } .est-pick > label:first-child, .est-from { grid-column: 1 / -1; } }
.est-pick > label { font-weight: 600; font-size: .92rem; }
.est-from { font-size: .84rem; color: var(--ink-2); }
.est-rows { display: grid; gap: 10px; container-type: inline-size; min-width: 0; }
.est-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 150px) 92px; gap: 10px; align-items: center; }
.est-row label { font-size: .94rem; min-width: 0; overflow-wrap: break-word; }
.est-in { display: flex; align-items: center; gap: 6px; min-width: 0; }
.est-in span { flex: none; }
.est-in span { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.est-in input { min-width: 0; font-size: 16px; text-align: right; }
.est-state { font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; text-align: center; }
.est-state.miss { background: var(--coral-soft); color: #9a330a; }
.est-state.ok { background: #e3f3ea; color: #17603c; }
@container (max-width: 460px) { .est-row { grid-template-columns: minmax(0, 1fr) 92px; row-gap: 4px; padding-bottom: 6px; } .est-row label { grid-column: 1 / -1; } }
.est-total { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 16px; background: var(--navy); color: #fff; }
.est-total .label { color: var(--mint); }
.est-total b { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.019em; font-variant-numeric: tabular-nums; }
.est-total p { font-size: .88rem; color: var(--on-navy); }
.est.complete .est-total { background: #0f3d2c; }
.est-fx { display: grid; gap: 6px; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .2); }
.est-fx label { font-size: .84rem; font-weight: 600; }
.est-fx input { color: #fff; border-bottom-color: rgba(255, 255, 255, .4); font-size: 16px; max-width: 200px; }
.est-fx input::placeholder { color: rgba(255, 255, 255, .6); }
.est-hint { font-size: .86rem; color: var(--ink-2); margin-top: 12px; }
textarea.line { min-height: 84px; resize: vertical; line-height: 1.5; }
.slchips { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.slchips li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--paper); }
.slchips li div { display: grid; min-width: 0; }
.slchips span { font-size: .84rem; color: var(--ink-2); }
.slhelp { font-size: .88rem; color: var(--ink-2); margin-top: 6px; }
.nextbox { padding: 16px 18px; border-radius: 14px; background: var(--paper); display: grid; gap: 6px; font-size: .94rem; }
.fnotice { padding: 14px 16px; border-radius: 14px; background: #fff4d6; color: #5c3d00; font-size: .92rem; }
.fnotice a { color: inherit; font-weight: 600; }
.fstatus { margin: 4px 0 12px; padding: 14px 16px; border-radius: 14px; background: var(--coral-soft); color: #7a2706; font-size: .94rem; display: grid; gap: 10px; justify-items: start; }
.fstatus:focus { outline: 2px solid var(--coral-ink); outline-offset: 2px; }
.summary dt { display: flex; justify-content: space-between; gap: 10px; }
.summary dd { white-space: pre-line; }
.sedit { font-size: .8rem; }
.done-next { display: grid; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--paper); }
.done-next ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.done-what summary { cursor: pointer; font-weight: 600; }
.recap { border-radius: 24px; background: #fff; border: 1px solid var(--rule); padding: clamp(20px, 3.5vw, 36px); display: grid; gap: 20px; box-shadow: 0 24px 48px -36px rgba(5, 34, 57, .4); }
.recap-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.recap-badge { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--coral-soft); color: #7a2706; }
.recap-top p { font-size: .9rem; color: var(--ink-2); }
.recap-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .recap-grid { grid-template-columns: 1fr 1.3fr 1fr; } }
.recap h3 { font-size: 1.05rem; margin-bottom: 8px; }
.recap ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; font-size: .94rem; }
.recap p, .recap li { font-size: .94rem; }
@media print { .cbar, .toast, dialog.cmpd { display: none !important; } }
/* Form actions and messages stay readable on small phones and clear of the fixed header */
#done, #fstatus, .fstep { scroll-margin-top: 110px; }
@media (max-width: 520px) { .fnav .grp { gap: 10px; } .fnav .grp #back { flex: 0 0 auto; padding-inline: 16px; } .fnav .grp #next { padding-inline: 16px; white-space: normal; text-align: center; line-height: 1.2; } }
/* Home strip: every university */
.mhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 14px; font-size: .95rem; color: var(--ink-2); }
.mhead b { color: var(--ink); }
.mcard.ucard { width: clamp(230px, 24vw, 320px); }
.mcard .mtag, .mcard .mrank { position: absolute; top: 10px; z-index: 1; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.mcard .mtag { left: 10px; background: rgba(255, 255, 255, .9); color: var(--ink); }
.mcard .mrank { right: 10px; background: rgba(5, 34, 57, .78); color: #fff; }
.mcard.ucard .mcap b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; }
.uni.flash { box-shadow: 0 0 0 3px var(--coral), 0 30px 50px -30px rgba(194, 65, 12, .5); transition: box-shadow .4s; }
/* ---------- Cursor: easy to see on paper, photos and navy ---------- */
/* ---------- Device compatibility ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, label, summary, select { -webkit-tap-highlight-color: rgba(138, 106, 46, .14); touch-action: manipulation; }
h1, h2, h3 { overflow-wrap: break-word; }
.overlay { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
/* Single-column layouts never grow wider than the screen */
@media (max-width: 959px) { .phero-grid, .hero-grid { grid-template-columns: minmax(0, 1fr); } }
p, li, dd { overflow-wrap: break-word; }
.phero-copy, .doc, .doc > div, .doc section { grid-template-columns: minmax(0, 1fr); }
.doc p, .doc li { overflow-wrap: anywhere; }
.ucredit { font-size: .72rem; }
.split > * { min-width: 0; }
.mailrow { flex-wrap: wrap; }
.email-text { overflow-wrap: anywhere; min-width: 0; }
/* Very narrow phones (folded phones, 320px and below) */
@media (max-width: 359px) {
  .label { letter-spacing: .08em; overflow-wrap: anywhere; }
  .dstats { grid-template-columns: minmax(0, 1fr); }
  .btn { white-space: normal; height: auto; min-height: 54px; padding-block: 12px; text-align: center; line-height: 1.25; }
  .phero h1, .about-hero h1, .form-side h1 { font-size: 2.3rem; }
  .hero h1 { font-size: 2.6rem; }
  .overlay a { font-size: 1.8rem; }
}
/* Phones held sideways: shorter header and headlines so content shows on the first screen */
@media (orientation: landscape) and (max-height: 520px) {
  .hdr .wrap { height: 60px; }
  .hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
  .phero h1, .about-hero h1, .form-side h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
  .overlay { padding-top: calc(env(safe-area-inset-top, 0px) + 72px); }
  .overlay a { font-size: 1.5rem; padding: 8px 0; }
}
/* Touch screens: finger-sized targets and no zoom when a field is focused */
@media (pointer: coarse) {
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -11px; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .dtype button, .toc button { min-height: 44px; }
  .chipbtn { height: 44px; }
  .ucredit { font-size: .72rem; padding: 10px 0 0 10px; }
  .dsel .line { font-size: 16px; }   /* iOS zooms into fields under 16px */
}
/* Devices without hover: no effects that stay stuck after a tap */
@media (hover: none) {
  .mcard:hover, .scard:hover, .founder:hover, .hdr-icon:hover { transform: none; }
  .pic.zoom:hover img, .mcard:hover img, .icard:hover img, .uni:hover .uimg img { transform: none; }
  .giant > span:hover { transform: none; color: inherit; }
  .btn:hover::before { transform: translateY(101%); }
  .btn:active::before { transform: none; }
}
/* Older browsers without color-mix(), container units or backdrop blur */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .hdr.solid { background: rgba(246, 244, 239, .92); }
  .ask { background: #f4eee2; }
  .info .ic { background: #f3edde; }
  .tag.rank { background: rgba(230, 203, 145, .32); }
  .ticker .dot { box-shadow: 0 0 0 4px rgba(230, 203, 145, .25); }
  .tl.lit .dot { box-shadow: 0 0 0 6px rgba(230, 203, 145, .25); }
}
@supports not (font-size: 1cqi) { .giant { font-size: min(10.6vw, 168px); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { :root { --glass: rgba(255, 255, 255, .86); } }
/* High-contrast modes keep visible edges */
@media (forced-colors: active) {
  .btn, .dtype button, .chipbtn, .burger { border: 1px solid ButtonText; }
}
/* Printing a page gives clean, readable output */
@media print {
  .hdr, .overlay, .marquee, .dfilters, .dbar, .dmore, .ufoot, .toc, .giant, .glow, .actions { display: none !important; }
  body { background: #fff !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .rise, .view { opacity: 1 !important; transform: none !important; }
  .uni, .block, .scard { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .done .tick path { stroke-dashoffset: 0; }
}

/* Legal pages: privacy policy and terms and conditions */
.lhero { padding-bottom: clamp(32px, 5vw, 56px); }
.lhead { display: grid; gap: 18px; max-width: 48rem; }
.lhead h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); letter-spacing: -0.031em; }
.lmeta { font-size: .9rem; color: var(--ink-3); }
.lmeta b { color: var(--ink); font-weight: 600; }
.legaltabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 32px; border: 1px solid var(--rule); border-radius: 999px; background: var(--glass-strong); }
.legaltabs a { padding: 10px 18px; border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-2); transition: background .25s, color .25s; }
.legaltabs a:hover { color: var(--ink); }
.legaltabs a[aria-current="page"] { background: var(--navy); color: #fff; }
.ldoc { max-width: 46rem; }
.ldoc section { scroll-margin-top: 110px; }
.ldoc h3 { font-size: 1.05rem; letter-spacing: 0; margin-top: 6px; }
.ldoc b { color: var(--ink); font-weight: 600; }
.ldoc .lsum { padding: 24px 26px; border: 1px solid var(--rule); border-radius: 20px; background: var(--glass-strong); }
.ldoc .lsum h2 { font-size: 1.25rem; }
.ldoc .lsum + section { border-top: 0; padding-top: 0; }
@media (max-width: 520px) { .legaltabs { display: flex; } .legaltabs a { flex: 1 1 auto; text-align: center; padding: 10px 12px; } .ldoc .lsum { padding: 20px; } }
@media print { .legaltabs, .ltoc { display: none !important; } }

/* Course finder: header button and page */
.cfbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; box-shadow: 0 8px 20px -10px rgba(5,34,57,.6); transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.cfbtn:hover, .cfbtn.cur { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(5,34,57,.7); }
.cfbtn svg { color: var(--mint); flex-shrink: 0; }
.cfbtn .cf-short { display: none; }
.navy-top .hdr:not(.solid) .cfbtn { background: var(--mint); color: var(--navy); }
.navy-top .hdr:not(.solid) .cfbtn svg { color: var(--navy); }
@media (max-width: 1000px) and (min-width: 861px) { .nav { gap: 16px; } }
@media (max-width: 480px) { .cfbtn { height: 40px; padding: 0 13px; } .cfbtn .cf-long { display: none; } .cfbtn .cf-short { display: inline; } }
.cf { display: grid; gap: 22px; }
.cf-filters fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.cf-split { display: grid; gap: 14px; }
@media (min-width: 900px) { .cf-split { display: flex; flex-wrap: wrap; gap: 14px 28px; } }
.cf-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.cf-pills .pill span { white-space: nowrap; min-height: 40px; padding: 0 14px; font-size: .9rem; background: rgba(255,255,255,.55); }
@media (max-width: 480px) { .cf-pills .pill span { white-space: normal; padding-block: 6px; } .cf-filters { padding: 14px; } }
.cf-pills .pill small { font-size: .74rem; opacity: .6; font-variant-numeric: tabular-nums; }
.cf-sort { display: inline-flex; align-items: center; gap: 8px; }
.cf-sort select { min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--rule); background: rgba(255,255,255,.6); font: inherit; color: var(--ink); }
.cf-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.crs { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.crs:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 28px 60px -32px rgba(5,34,57,.4); }
.crs figure { position: relative; margin: 0; aspect-ratio: 16 / 7; overflow: hidden; background: var(--paper-2); }
.crs figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crs figure .tag { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.85); color: var(--ink); }
.crs-b { display: grid; gap: 8px; padding: 16px 18px 18px; flex: 1; align-content: start; }
.crs-k { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-ink); }
.crs h3 { font-size: 1.12rem; letter-spacing: -0.012em; line-height: 1.25; }
.crs .loc { font-size: .88rem; color: var(--ink-3); }
.crs-fee { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding-top: 10px; border-top: 1px solid var(--rule); }
.crs-fee b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.crs-fee b.na { font-size: .95rem; color: var(--coral-ink); }
.crs-fee small { font-size: .8rem; color: var(--ink-3); }
.crs-in { font-size: .84rem; color: var(--ink-2); } .crs-in span { color: var(--ink-3); margin-right: 4px; }
.crs-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.crs-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.crs-act .btn { height: 42px; padding: 0 16px; font-size: .88rem; }
.cf-empty { padding: 40px 20px; text-align: center; color: var(--ink-2); border: 1px dashed var(--rule); border-radius: 20px; }

/* Student login */
.loginbtn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); white-space: nowrap; transition: box-shadow .25s, background .25s; }
.loginbtn:hover, .loginbtn.cur { box-shadow: inset 0 0 0 1px var(--ink-3); background: rgba(255,255,255,.5); }
.navy-top .hdr:not(.solid) .loginbtn { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
@media (max-width: 1100px) { .loginbtn { width: 40px; padding: 0; justify-content: center; } .loginbtn span { display: none; } }
@media (max-width: 1100px) and (min-width: 861px) { .nav { gap: 14px; } .nav a { font-size: .88rem; } }
.login { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; justify-items: start; }
.login-card { width: min(100%, 560px); display: grid; gap: 20px; padding: clamp(22px, 4vw, 36px); border-radius: 24px; background: var(--glass-strong); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.login-card h2 { font-size: 1.5rem; letter-spacing: -0.019em; }
.line.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.li-msg { color: var(--error); font-size: .92rem; }
.li-help { font-size: .88rem; color: var(--ink-3); overflow-wrap: anywhere; }
.login-card .btn { justify-self: start; }
.li-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.li-top h2 { margin-top: 6px; overflow-wrap: anywhere; }
.li-status { display: flex; gap: 12px; align-items: start; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.6); border: 1px solid var(--rule); }
.li-status p { font-size: .92rem; color: var(--ink-2); margin-top: 4px; }
.li-dot { flex-shrink: 0; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px color-mix(in srgb, var(--emerald) 22%, transparent); }
/* Cookie banner */
.ckb { position: fixed; z-index: 90; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(420px, calc(100% - 32px)); display: grid; gap: 12px; padding: 20px; border-radius: 20px; background: var(--glass-strong); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); border: 1px solid var(--glass-edge); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 60px -24px rgba(5,34,57,.45); }
.ckb h2 { font-size: 1.05rem; letter-spacing: -0.012em; }
.ckb p { font-size: .88rem; color: var(--ink-2); }
.ckb-act { display: flex; flex-wrap: wrap; gap: 8px; }
.flink { text-align: left; font: inherit; color: inherit; padding: 0; background: none; border: 0; cursor: pointer; }
.flink:hover { text-decoration: underline; }
@media print { .ckb { display: none !important; } }
.globe-wrap canvas { cursor: grab; }
.globe-wrap canvas:active { cursor: grabbing; }
/* Plus Jakarta Sans sets a little tighter than Inter: open the word gaps in large type */
h1, h2, .giant, .decide p { word-spacing: .05em; }
/* Primary buttons: a soft top-light gradient over the ink fill */
.btn:not(.ghost):not(.light) { background-image: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,0) 55%); }
.cfbtn { background-image: linear-gradient(135deg, #0a2d48, #052239); }
