/* Coaching-centre demo: the centre's public website.
   One brand blue, a warm orange for actions, the tile colours for pictures only. Soft radius, quiet shadows, real content. */
:root {
    --ink: #111827; --text: #4b5263; --muted: #7c8395; --line: #e6e8ef; --line-2: #f0f1f5; --soft: #f6f7fb; --paper: #fff;
    --blue: #1f44b8; --blue-700: #17338d; --blue-50: #eef2fd; --orange: #f26b1d; --orange-700: #d75a10; --green: #198754; --green-50: #e8f6ee; --amber: #9a6400; --amber-50: #fff4dc; --red: #c8323d; --red-50: #fdecee;
    --t-yellow: #ffc83d; --t-pink: #ffd8e6; --t-sky: #33c3f0; --t-cream: #fdf0d3; --t-pale: #e2ebfc; --t-red: #f0563f;
    --r: 16px; --r-sm: 10px;
    --sh: 0 1px 2px rgba(17, 24, 39, .04), 0 12px 32px -16px rgba(17, 24, 39, .16);
    --sh-hi: 0 2px 4px rgba(17, 24, 39, .05), 0 22px 44px -18px rgba(17, 24, 39, .24);
    --f: "Poppins", "Hind Siliguri", system-ui, sans-serif; --bn: "Hind Siliguri", "Poppins", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 15px/1.65 var(--f); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.18; letter-spacing: -.015em; font-weight: 600; }
p { margin: 0; } a { color: inherit; text-decoration: none; } ul, ol { margin: 0; padding: 0; list-style: none; } figure, blockquote { margin: 0; }
img, svg { max-width: 100%; display: block; } button, input, select, textarea { font: inherit; color: inherit; } button { cursor: pointer; }
.wrap, .ac-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; } .narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; } .muted { color: var(--muted); } .empty { padding: 28px; text-align: center; color: var(--muted); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--r-sm); font: 500 15px/1 var(--f); white-space: nowrap; transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s; }
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn-main { background: var(--orange); color: #fff; box-shadow: 0 6px 16px -8px rgba(242, 107, 29, .7); } .btn-main:hover { background: var(--orange-700); transform: translateY(-1px); }
.btn-line { border-color: #cfd4e0; background: #fff; color: var(--ink); } .btn-line:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--blue-700); } .btn-light:hover { background: var(--blue-50); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .4); color: #fff; } .btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* demo strip */
.ac-ribbon { background: #0b1020; color: #a9b0c2; font-size: 12.5px; }
.ac-ribbon .ac-wrap { display: flex; align-items: center; justify-content: space-between; gap: 4px 18px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
.ac-ribbon a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); } .ac-ribbon a:hover { text-decoration-color: #fff; }
.ac-ribbon .links { display: flex; gap: 16px; }

/* header */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 11px; } .logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--blue); color: #fff; font: 700 21px/1 var(--bn); }
.logo b { display: block; font: 600 17px/1.15 var(--f); color: var(--ink); letter-spacing: -.01em; } .logo small { display: block; font: 500 12.5px/1.3 var(--bn); color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; } .nav > a { padding: 8px 13px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--text); transition: background-color .15s, color .15s; }
.nav > a:hover { color: var(--ink); background: var(--soft); } .nav > a.on { color: var(--blue); background: var(--blue-50); }
.nav-end { display: flex; align-items: center; gap: 14px; margin-left: 14px; } .nav-tel { font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s; }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); } .menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* shared section bits */
.eyebrow { font-size: 13px; font-weight: 500; color: var(--blue); letter-spacing: .02em; margin-bottom: 10px; }
.sec { padding: 84px 0; } .sec.soft { background: var(--soft); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; margin-bottom: 34px; } .sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.sec-link, .sec-more a { font-size: 14.5px; font-weight: 500; color: var(--blue); } .sec-link:hover, .sec-more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sec-more { margin-top: 30px; text-align: center; }
.page-hero { padding: 64px 0 52px; background: linear-gradient(180deg, var(--blue-50), #fff); border-bottom: 1px solid var(--line-2); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -.025em; } .page-hero .lead { margin-top: 12px; max-width: 620px; font-size: 16.5px; }

/* hero */
.hero { padding: 64px 0 76px; background: linear-gradient(180deg, #f3f6fe 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; } .hero h1 em { font-style: normal; color: var(--blue); }
.bn-line { margin-top: 14px; font: 600 19px var(--bn); color: var(--orange); }
.hero .lead { margin: 16px 0 28px; max-width: 500px; font-size: 16.5px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.programs { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; } .programs a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, color .15s; } .programs a:hover { border-color: var(--blue); color: var(--blue); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 10px; aspect-ratio: 1; width: 100%; max-width: 500px; margin-left: auto; }
.mosaic > div { display: grid; place-items: center; text-align: center; padding: 8px; font: 600 clamp(22px, 3.2vw, 38px)/1 var(--f); color: var(--ink); overflow: hidden; }
.mosaic small { display: block; margin-top: 7px; font: 500 clamp(10px, 1vw, 12px) var(--f); letter-spacing: .05em; text-transform: uppercase; opacity: .75; }
.mosaic .m2 span { font-family: var(--bn); }
.m1 { background: var(--t-yellow); border-radius: 50%; } .m2 { background: var(--t-pink); border-radius: 18px; } .m3 { background: var(--blue); color: #fff !important; border-radius: 18px 60% 18px 18px; } .m4 { background: var(--t-pale); border-radius: 18px 18px 18px 60%; } .m5 { background: var(--t-cream); border-radius: 60% 60% 18px 18px; } .m6 { background: var(--t-red); color: #fff !important; border-radius: 50%; } .m7 { background: var(--t-sky); border-radius: 50%; } .m8 { background: var(--t-cream); border-radius: 18px 18px 18px 60%; } .m9 { background: var(--t-yellow); border-radius: 18px 60% 18px 60%; }

/* numbers strip */
.numbers { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, 1fr); } .numbers .wrap > div { padding: 28px 22px; border-left: 1px solid var(--line-2); } .numbers .wrap > div:first-child { border-left: 0; padding-left: 0; }
.numbers b { display: block; font: 600 34px/1.1 var(--f); color: var(--ink); letter-spacing: -.02em; } .numbers span { font-size: 14px; color: var(--muted); }

/* tabs */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line-2); flex-wrap: wrap; }
.tabs button { height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; font-size: 13.5px; font-weight: 500; color: var(--text); transition: background-color .15s, color .15s, box-shadow .15s; }
.tabs button:hover { color: var(--ink); } .tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(17, 24, 39, .1); }

/* ---- course card ---- */
.cc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.cc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); transition: transform .25s ease, box-shadow .25s ease; }
.cc:hover { transform: translateY(-4px); box-shadow: var(--sh-hi); } .cc[hidden] { display: none; }
.cc-media { position: relative; height: 164px; background: var(--soft); }
.cc-media .cover { height: 100%; border-radius: 0; }
.cc-tag { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 99px; font: 600 12px/1.4 var(--f); color: #fff; background: var(--green); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.cc-tag.on { font-family: var(--bn); font-size: 13px; } .cc-tag.warn { background: #fff; color: var(--amber); } .cc-tag.off { background: rgba(17, 24, 39, .75); }
.cc-badge { position: absolute; left: 16px; bottom: -26px; display: grid; place-items: center; align-content: center; width: 60px; height: 60px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px -6px rgba(17, 24, 39, .3); border: 3px solid #fff; }
.cc-badge b { font: 600 17px/1 var(--f); color: var(--blue); } .cc-badge small { margin-top: 3px; font: 500 9.5px/1 var(--f); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cc-body { padding: 38px 18px 14px; flex: 1; }
.cc-body h3 { font-size: 16px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-by { margin-top: 2px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-meta { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cc-n { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); } .cc-n svg { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.cc-pill { padding: 3px 10px; border-radius: 99px; background: var(--blue-50); color: var(--blue); font-size: 12.5px; font-weight: 600; }
.cc-when { margin-top: 10px; font-size: 13px; color: var(--muted); }
.cc-score { display: flex; align-items: center; gap: 7px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.cc-score .gp { font-size: 15px; font-weight: 600; color: var(--ink); } .cc-score .dot { width: 3px; height: 3px; border-radius: 50%; background: #c3c7d2; }
.cc-foot { display: flex; align-items: flex-end; justify-content: space-between; padding-left: 18px; }
.cc-fee { padding-bottom: 14px; } .cc-fee b { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; } .cc-fee small { margin-left: 4px; font-size: 12.5px; color: var(--muted); }
.cc-go { display: grid; place-items: center; height: 50px; min-width: 116px; padding: 0 22px; border-radius: 20px 0 0 0; background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; transition: background-color .18s, min-width .25s ease; }
.cc-go:hover { background: var(--blue-700); min-width: 128px; } .cc-go.off { background: var(--line); color: var(--muted); }

/* course thumbnail tiles (also used in the back office) */
.cover { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; height: 128px; overflow: hidden; background: #fff; }
.cover > div { display: grid; place-items: center; font: 600 22px/1 var(--f); color: var(--ink); overflow: hidden; white-space: nowrap; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), border-radius .35s; }
.cover .t1 { grid-row: 1 / 3; font-size: 27px; border-radius: 0 60% 60% 0; } .cover .t3 { font-size: 14px; border-radius: 0 0 0 18px; } .cover .t4 { border-radius: 18px 0 0 0; }
.cover em { display: none; } .cover.photo { display: block; } .cover.photo img { width: 100%; height: 100%; object-fit: cover; }
.c-k0 .t1 { background: var(--t-yellow); } .c-k0 .t2 { background: var(--t-pink); } .c-k0 .t3 { background: var(--blue); color: #fff; } .c-k0 .t4 { background: var(--t-sky); }
.c-k1 .t1 { background: var(--t-sky); } .c-k1 .t2 { background: var(--t-cream); } .c-k1 .t3 { background: var(--t-red); color: #fff; } .c-k1 .t4 { background: var(--t-yellow); }
.c-k2 .t1 { background: var(--t-pink); } .c-k2 .t2 { background: var(--t-yellow); } .c-k2 .t3 { background: var(--t-pale); } .c-k2 .t4 { background: var(--blue); }
.cc:hover .cover .t1 { border-radius: 0 50% 50% 0; transform: scale(1.03); } .cc:hover .cover .t3 { transform: translateY(-3px); }

/* about */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } .about h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 18px; } .about p + p { margin-top: 14px; } .about > div > p:not(.eyebrow) { font-size: 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts li { padding: 22px; background: #fff; } .facts b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; } .facts span { font-size: 14px; }

/* panels and tables */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.panel-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-2); } .panel-h h3 { font-size: 15.5px; } .panel-h a { font-size: 13.5px; font-weight: 500; color: var(--blue); }
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { padding: 11px 20px; text-align: left; font-size: 12.5px; font-weight: 500; color: var(--muted); background: #fafbfd; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { padding: 13px 20px; border-bottom: 1px solid var(--line-2); color: var(--ink); vertical-align: middle; } .tbl tr:last-child td { border-bottom: 0; } .tbl tbody tr { transition: background-color .15s; } .tbl tbody tr:hover { background: #fafbfd; }
.tbl td b { font-weight: 500; } .tbl td small { display: block; font-size: 12.5px; color: var(--muted); } .tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.pct { display: inline-block; padding: 2px 9px; border-radius: 99px; background: var(--green-50); color: var(--green); font-size: 12.5px; font-weight: 600; }
.res { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: start; } .res-side { display: grid; gap: 22px; }
.toplist li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line-2); } .toplist li:last-child { border-bottom: 0; }
.toplist .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); font-size: 12.5px; font-weight: 600; color: var(--muted); } .toplist li:first-child .n { background: var(--t-yellow); color: var(--ink); }
.toplist .who b { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); } .toplist .who small { font-size: 12.5px; color: var(--muted); } .toplist .g { font-size: 17px; font-weight: 600; color: var(--ink); }
.rollcheck { padding: 20px; background: var(--blue); border-radius: var(--r); color: #fff; } .rollcheck label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.rollcheck > div { display: flex; gap: 8px; } .rollcheck input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; border-radius: var(--r-sm); background: #fff; color: var(--ink); font-size: 14.5px; } .rollcheck input:focus { outline: 2px solid var(--t-yellow); outline-offset: 1px; }
.rollcheck .btn { height: 46px; }
.rollcheck.wide { max-width: 560px; margin-top: 24px; padding: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); color: var(--text); } .rollcheck.wide input { border: 0; } .rollcheck.wide small { display: block; padding: 8px 8px 4px; font-size: 13px; color: var(--muted); } .rollcheck.wide small a { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* teachers */
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tm { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .25s, box-shadow .25s; } .tm:hover { transform: translateY(-3px); box-shadow: var(--sh-hi); }
.tm-av { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font: 600 18px/1 var(--f); color: var(--ink); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); } .tm:hover .tm-av { transform: rotate(-6deg) scale(1.06); }
.av1 { background: var(--t-yellow); } .av2 { background: var(--t-pink); } .av3 { background: var(--t-sky); } .av4 { background: var(--t-cream); } .av5 { background: var(--t-pale); } .av6 { background: #ffc6ad; }
.tm b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); } .tm-role { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); } .tm small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.tm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .tm.big { padding: 24px; } .tm.big .tm-av { width: 72px; height: 72px; font-size: 22px; } .tm.big p { margin-top: 10px; font-size: 14.5px; }
.tm-batches { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; } .tm-batches a { padding: 3px 10px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text); } .tm-batches a:hover { border-color: var(--blue); color: var(--blue); }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quotes figure { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 26px; border-radius: var(--r); background: var(--soft); }
.quotes blockquote { font-size: 15.5px; line-height: 1.7; color: var(--ink); } .quotes blockquote::before { content: "\201C"; display: block; height: 28px; font: 600 48px/1 Georgia, serif; color: var(--orange); }
.quotes figcaption b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); } .quotes figcaption span { font-size: 13px; color: var(--muted); }

/* notices */
.nlist { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.nlist li { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line-2); } .nlist li:last-child { border-bottom: 0; }
.nlist time { display: grid; place-items: center; width: 52px; height: 56px; border-radius: 12px; background: var(--blue-50); font-size: 11.5px; font-weight: 500; text-transform: uppercase; color: var(--blue); line-height: 1.1; } .nlist time b { font-size: 20px; font-weight: 600; }
.nlist div b { font-size: 15.5px; font-weight: 600; color: var(--ink); } .nlist div p { margin-top: 2px; font-size: 14px; }
.flag, .cat { padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; } .flag { background: var(--red-50); color: var(--red); } .cat { background: var(--soft); color: var(--muted); }

/* call-out */
.callout { padding: 0 0 84px; } .callout .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.callout .wrap { padding-top: 40px; padding-bottom: 40px; border-radius: 24px; background: var(--blue); max-width: 1132px; padding-left: 44px; padding-right: 44px; position: relative; overflow: hidden; }
.callout .wrap::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--t-yellow); opacity: .95; } .callout .wrap > * { position: relative; z-index: 1; }
.callout h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); } .callout p { margin-top: 6px; color: #cdd6f6; } .callout-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-right: 90px; }

/* courses page */
.jump { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; } .jump a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); transition: border-color .15s, color .15s; } .jump a span { font-size: 12px; color: var(--muted); } .jump a:hover { border-color: var(--blue); color: var(--blue); }
.lvl { margin-bottom: 60px; scroll-margin-top: 96px; } .lvl:last-child { margin-bottom: 0; }
.lvl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); } .lvl-head h2 { font-size: 22px; } .lvl-head span { font-size: 13.5px; color: var(--muted); }

/* forms */
.form { padding: 28px; } .field { display: grid; gap: 6px; margin-bottom: 18px; } .field label { font-size: 14px; font-weight: 500; color: var(--ink); } .field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d9dde7; border-radius: var(--r-sm); background: #fff; font-size: 15px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 68, 184, .12); }
.field .err { font-size: 13px; color: var(--red); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 14.5px; cursor: pointer; } .check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.demo-box { margin: 6px 0 22px; padding: 18px; border-radius: 12px; background: var(--soft); border: 1px dashed #cfd4e0; } .demo-box p { margin-bottom: 12px; font-size: 14px; } .demo-box p b { color: var(--ink); }
.apply { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.apply-side { padding: 26px; border-radius: var(--r); background: var(--soft); } .apply-side h3 { font-size: 16px; margin-bottom: 12px; } .apply-side h3 + p { font-size: 14.5px; } .apply-side a { color: var(--blue); font-weight: 500; }
.next { counter-reset: n; margin-bottom: 24px; } .next li { position: relative; padding: 0 0 14px 38px; font-size: 14.5px; counter-increment: n; } .next li::before { content: counter(n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--blue); }
.note { margin-bottom: 20px; padding: 13px 16px; border-radius: 12px; background: var(--green-50); color: #11603b; font-size: 14.5px; } .note.bad { background: var(--red-50); color: #9c2530; }

/* result page */
.result-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-bottom: 1px solid var(--line-2); }
.result-top b { display: block; font-size: 19px; font-weight: 600; color: var(--ink); } .result-top span { font-size: 13.5px; color: var(--muted); }
.result-top .gpa { text-align: right; } .result-top .gpa b { font-size: 34px; line-height: 1; color: var(--blue); }
.grade { display: inline-block; padding: 2px 9px; border-radius: 99px; background: var(--blue-50); color: var(--blue); font-size: 12.5px; font-weight: 600; white-space: nowrap; } .grade.top { background: var(--green-50); color: var(--green); } .grade.f { background: var(--red-50); color: var(--red); }
.scale { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; font-size: 12.5px; } .scale span { padding: 4px 10px; border-radius: 99px; background: var(--soft); } .scale .scale-h { background: none; padding-left: 0; font-weight: 500; color: var(--ink); } .scale b { color: var(--ink); font-weight: 600; }

/* thank you */
.thanks { text-align: center; padding: 30px 24px; } .thanks h1 { font-size: 36px; margin: 20px 0 10px; } .thanks p { font-size: 16.5px; } .thanks-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.tick { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green-50); } .tick svg { width: 34px; height: 34px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* footer */
.ft { background: #0d1530; color: #a7b0c8; font-size: 14px; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-top: 60px; padding-bottom: 44px; }
.ft .logo b { color: #fff; } .ft .logo small { color: #8d97b3; } .ft-brand p { margin-top: 16px; max-width: 320px; }
.ft h4 { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; } .ft li { padding: 4px 0; } .ft a:hover { color: #fff; }
.ft-base { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; } .ft-base a { color: #fff; }

/* motion: content rises in as it scrolls into view (only when scripts run, never for reduced motion) */
.js [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js [data-rv].in { opacity: 1; transform: none; }
.js .cc[data-rv].in, .js .tm[data-rv].in { transition: transform .25s ease, box-shadow .25s ease, opacity .3s; }
.hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; } .hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; } .hero-copy > :nth-child(4) { animation-delay: .18s; } .hero-copy > :nth-child(5) { animation-delay: .24s; } .hero-copy > :nth-child(6) { animation-delay: .3s; }
.mosaic > div { animation: pop .6s cubic-bezier(.3, 1.35, .5, 1) both, bob 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 60ms), calc(1s + var(--i, 0) * 280ms); }
.mosaic > div:nth-child(2) { --i: 1; } .mosaic > div:nth-child(3) { --i: 2; } .mosaic > div:nth-child(4) { --i: 3; } .mosaic > div:nth-child(5) { --i: 4; } .mosaic > div:nth-child(6) { --i: 5; } .mosaic > div:nth-child(7) { --i: 6; } .mosaic > div:nth-child(8) { --i: 7; } .mosaic > div:nth-child(9) { --i: 8; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---- smaller screens ---- */
@media (max-width: 1100px) { .cc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tm-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) {
    .hero-grid, .about, .res, .apply { grid-template-columns: minmax(0, 1fr); gap: 40px; } .mosaic { max-width: 420px; margin: 0 auto; }
    .numbers .wrap { grid-template-columns: 1fr 1fr; } .numbers .wrap > div:nth-child(3) { border-left: 0; padding-left: 0; } .numbers .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
    .quotes { grid-template-columns: 1fr; } .tm-list { grid-template-columns: 1fr; } .ft-grid { grid-template-columns: 1fr 1fr; }
    .menu-btn { display: inline-flex; } .hd .wrap { position: relative; }
    .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(17, 24, 39, .3); }
    .nav.open { display: flex; } .nav > a { padding: 12px 12px; } .nav-end { margin: 10px 0 0; justify-content: space-between; padding: 12px 12px 0; border-top: 1px solid var(--line-2); }
    .callout-cta { margin-right: 0; } .callout .wrap::after { width: 140px; height: 140px; right: -50px; top: -50px; }
}
@media (max-width: 760px) { .cc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .sec { padding: 60px 0; } .hide-sm { display: none; } .tbl th, .tbl td { padding-left: 14px; padding-right: 14px; } }
@media (max-width: 560px) {
    .wrap, .ac-wrap { padding: 0 16px; } .hero { padding: 40px 0 56px; } .cc-grid, .tm-grid, .facts, .grid2 { grid-template-columns: minmax(0, 1fr); }
    .hero-cta .btn { flex: 1 1 100%; } .numbers b { font-size: 26px; } .numbers .wrap > div { padding: 20px 12px 20px 0; }
    .callout .wrap { padding: 30px 22px; border-radius: 18px; margin: 0 16px; width: auto; } .callout-cta .btn { flex: 1; }
    .nlist li { grid-template-columns: 48px 1fr; } .nlist .flag, .nlist .cat { grid-column: 2; justify-self: start; } .nlist time { width: 46px; height: 50px; }
    .ft-grid { grid-template-columns: 1fr; gap: 26px; } .ac-ribbon .ac-wrap > span:first-child { flex-basis: 100%; } .form { padding: 20px; } .tabs { width: 100%; }
}

/* photos */
.cover.photo { background: var(--soft); } .cover.photo img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); } .cc:hover .cover.photo img { transform: scale(1.05); }
.cc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 24, 39, .18), rgba(17, 24, 39, 0) 38%); pointer-events: none; }
.cc-badge, .cc-tag { z-index: 1; }
.about-photo { position: relative; margin-top: 28px; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.about-photo img { width: 100%; height: 280px; object-fit: cover; } .about-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 500; color: var(--ink); }
@media (max-width: 560px) { .about-photo img { height: 210px; } }

/* hover fixes: keep the card a fixed shape while the mouse is over it */
.cc-go:hover { min-width: 116px; } .cc-go { flex: none; transition: background-color .18s; }
.cc-fee { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cc-foot { gap: 8px; }
.js .cc[data-rv].in:hover, .js .tm[data-rv].in:hover { transform: translateY(-4px); }
.cc, .cc-media .cover { -webkit-mask-image: -webkit-radial-gradient(white, black); isolation: isolate; }
.cc { will-change: transform; } .cc-media .cover img { backface-visibility: hidden; }
.cc-go, .cc-go:hover { min-width: 0; padding: 0 22px; } .cc-fee small { margin-left: 2px; }
