/* Online Degree Blog — design system
   Keeps the original ODB look (blue top bar, white header, card grid, blue footer)
   with modern spacing, type and components. */

:root {
  --blue: #1673ea;
  --blue-600: #0f5fd0;
  --blue-700: #0b4cab;
  --blue-50: #eef5ff;
  --blue-100: #dceaff;
  --teal: #22cfd0;
  --teal-600: #14b3b4;
  --navy: #0a1a33;
  --navy-2: #102549;
  --ink: #18202f;
  --body: #3e4757;
  --muted: #6b7486;
  --line: #e3e8f0;
  --soft: #f3f8fe;
  --white: #fff;
  --yellow: #ffe94d;
  --green: #16a34a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 37, 73, .06), 0 1px 3px rgba(16, 37, 73, .06);
  --shadow: 0 6px 24px rgba(16, 37, 73, .08);
  --shadow-lg: 0 18px 50px rgba(16, 37, 73, .14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 136px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border-radius: 10px; font-weight: 600; font-size: .95rem; line-height: 1.2; border: 2px solid transparent; transition: transform .15s, background .15s, box-shadow .15s, color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(22, 115, 234, .28); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-teal { background: var(--teal); color: #06333a; }
.btn-teal:hover { background: var(--teal-600); color: #06333a; }
.btn-white { background: #fff; color: var(--blue-700); }
.btn-white:hover { color: var(--blue); box-shadow: var(--shadow); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue-50); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fb457; color: #fff; }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-sm { padding: .55em 1em; font-size: .85rem; }
.btn-row { margin: 1.5em 0; }

/* ---------- Top bar + header ---------- */
.topbar { background: linear-gradient(90deg, var(--blue-600), var(--blue)); color: #fff; font-weight: 600; font-size: .95rem; text-align: center; }
.topbar a { color: #fff; display: flex; align-items: center; justify-content: center; gap: .5em; padding: 9px 16px; letter-spacing: .01em; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar .pill { background: #fff; color: var(--blue-700); border-radius: 6px; padding: 2px 10px; font-size: .8rem; }

/* Top bar + header stay pinned together while scrolling. */
.masthead { position: sticky; top: 0; z-index: 50; }
.site-header { position: relative; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 2px 18px rgba(16, 37, 73, .07); }
.nav { display: flex; align-items: center; gap: 24px; height: 76px; justify-content: space-between; }
.logo { display: flex; align-items: center; flex: none; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.menu > li { position: relative; }
.menu a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; color: var(--ink); font-weight: 500; font-size: .97rem; border-radius: 8px; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--blue); }
.menu a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--teal); border-radius: 2px; }
.menu .sub { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.menu li:hover > .sub, .menu li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.menu .sub a { padding: 9px 12px; font-size: .92rem; }
.menu .sub a:hover { background: var(--blue-50); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.socials { display: flex; gap: 6px; }
.socials a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #0e6a76; transition: .15s; }
.socials a:hover { background: var(--blue-50); color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--teal-600); border-radius: 10px; }
.burger .ic { width: 30px; height: 30px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(10, 26, 51, .5); opacity: 0; transition: .2s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(340px, 88vw); background: #fff; padding: 20px; transform: translateX(100%); transition: .25s ease; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.drawer-close { border: 0; background: var(--soft); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--ink); }
.drawer nav a { display: block; padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.drawer nav a.subl { padding-left: 26px; font-size: .93rem; color: var(--body); }
.drawer .socials { margin: 14px 0; display: flex !important; }

/* ---------- Search ---------- */
.search { position: relative; max-width: 560px; margin: 0 auto; }
.search-label { display: block; text-align: center; font-size: .98rem; color: var(--ink); margin-bottom: 10px; font-weight: 500; }
.search-box { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: .15s; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 115, 234, .12); }
.search-box input { flex: 1; border: 0; outline: 0; padding: 15px 18px; font: inherit; font-size: 1rem; min-width: 0; color: var(--ink); background: transparent; }
.search-box button { border: 0; background: #5a55f0; background: linear-gradient(135deg, #5d5cf2, #4b48e0); color: #fff; padding: 0 22px; display: grid; place-items: center; }
.search-box button .ic { width: 20px; height: 20px; }
.search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 30; max-height: 420px; overflow-y: auto; padding: 6px; display: none; text-align: left; }
.search-results.show { display: block; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: .93rem; line-height: 1.35; }
.search-results a:hover, .search-results a.active { background: var(--blue-50); }
.search-results .tag { flex: none; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; background: var(--blue-100); color: var(--blue-700); }
.search-results .tag.q { background: #dff8f8; color: #0b6f70; }
.search-results .empty { padding: 14px; color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy); color: #c9d4e6; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.sec-head.left { margin-left: 0; text-align: left; }
.hl { color: var(--blue); }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(34, 207, 208, .22), transparent 60%), linear-gradient(160deg, #0d3f9c 0%, var(--blue) 60%, #2a8af5 100%); color: #e6f0ff; padding: 72px 0 96px; }
.hero::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 60px; background: #fff; clip-path: ellipse(75% 100% at 50% 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; margin-bottom: 18px; }
.hero h1 .mark { color: var(--yellow); }
.hero .lead { font-size: 1.1rem; color: #d6e5ff; max-width: 560px; margin-bottom: 26px; }
.hero .search { margin: 0 0 22px; max-width: 540px; }
.hero .search-box { border: 0; box-shadow: 0 14px 40px rgba(5, 25, 70, .3); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .88rem; color: #cfe0ff; }
.hero-tags a { background: rgba(255, 255, 255, .14); color: #fff; padding: 5px 12px; border-radius: 999px; font-weight: 500; border: 1px solid rgba(255, 255, 255, .2); }
.hero-tags a:hover { background: rgba(255, 255, 255, .24); }
.hero-visual { position: relative; width: 100%; max-width: 430px; justify-self: end; }
.hero-visual .main-img { border-radius: 20px; box-shadow: 0 30px 60px rgba(4, 22, 64, .4); aspect-ratio: 4/5; object-fit: cover; object-position: 60% center; width: 100%; height: auto; }
.float-card { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: .88rem; line-height: 1.3; }
.float-card b { display: block; font-size: 1.15rem; font-family: var(--display); }
.float-card .fi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.float-card.fc1 { left: -28px; bottom: 28px; }
.float-card.fc2 { right: -18px; top: 22px; }
.float-card.fc2 .fi { background: #dcfce7; color: var(--green); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; max-width: 580px; }
.stat { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 16px; }
.stat b { display: block; font-family: var(--display); font-size: 1.9rem; color: #fff; line-height: 1.1; }
.stat > span { font-size: .82rem; color: #d2e2ff; line-height: 1.35; display: block; margin-top: 4px; }

/* ---------- Feature / info cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.icon-box .ic { width: 26px; height: 26px; }
.icon-box.teal { background: #dff8f8; color: #0b8f90; }
.icon-box.green { background: #dcfce7; color: var(--green); }
.icon-box.amber { background: #fff4d6; color: #b77700; }
.num-badge { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--blue-100); line-height: 1; margin-bottom: 10px; }

/* ---------- Post cards (kept from original grid) ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card .thumb { aspect-ratio: 3/2; background: var(--soft); overflow: hidden; display: block; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .kicker { font-size: .74rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.post-card .kicker .code { background: var(--blue-50); padding: 2px 8px; border-radius: 6px; }
.post-card h3 { font-size: 1.12rem; margin-bottom: 10px; font-weight: 700; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .84rem; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.post-card .more { font-weight: 600; font-size: .86rem; display: inline-flex; gap: 4px; align-items: center; }
.post-card[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 28px 0 32px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: .15s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip .count { opacity: .65; margin-left: 4px; font-size: .8rem; }
.load-more { display: flex; justify-content: center; margin-top: 40px; }
.no-results { text-align: center; padding: 40px; color: var(--muted); display: none; }

/* ---------- Trending strip (kept from original) ---------- */
.trending { background: #eef1f5; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .5) 0 2px, transparent 2px 12px); padding: 26px 0; }
.trend-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.trend-head h2 { font-size: 1rem; display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font); }
.trend-nav { display: flex; gap: 6px; }
.trend-nav button { width: 30px; height: 30px; border: 1px solid #c9d1dc; background: #fff; border-radius: 8px; display: grid; place-items: center; color: var(--ink); }
.trend-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(25% - 18px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.trend-track::-webkit-scrollbar { display: none; }
.trend-item { display: flex; align-items: center; gap: 14px; scroll-snap-align: start; color: var(--ink); font-size: .92rem; line-height: 1.4; }
.trend-item img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.trend-item:hover { color: var(--blue); }

/* ---------- Course browser ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: thin; justify-content: center; flex-wrap: wrap; }
.tab { border: 1px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 12px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: .93rem; }
.tab .count { background: var(--soft); color: var(--muted); border-radius: 999px; padding: 1px 8px; font-size: .78rem; }
.tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab.active .count { background: rgba(255, 255, 255, .15); color: #fff; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.course-link { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); font-size: .92rem; line-height: 1.35; transition: .15s; }
.course-link:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); color: var(--blue); }
.course-link .code { flex: none; font-family: var(--display); font-weight: 800; font-size: .8rem; background: var(--blue-50); color: var(--blue-700); border-radius: 8px; padding: 6px 8px; min-width: 52px; text-align: center; }
.course-link .ic { margin-left: auto; color: var(--muted); }
.course-link[hidden] { display: none; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ---------- Split / why us ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.split > div { min-width: 0; }
.split img.rounded { border-radius: 20px; box-shadow: var(--shadow-lg); }
/* Side images stretch to the exact height of the text column (top and bottom aligned). */
.split .media { position: relative; min-height: 340px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.split .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; box-shadow: none; border-radius: 0; }
.split > div > :last-child { margin-bottom: 0; }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks .ic { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }
.why-list { display: grid; gap: 18px; }
.why-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.why-item .icon-box { margin: 0; }
.why-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why-item p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Six month band ---------- */
.band { background: radial-gradient(600px 320px at 100% 0%, rgba(34, 207, 208, .22), transparent 65%), linear-gradient(125deg, var(--navy) 0%, var(--navy-2) 55%, #123a7a 100%); color: #c7d3e8; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.band > * { position: relative; }
.band-badge { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.band-badge .eyebrow { color: var(--teal); margin: 0; }
.band .ring { width: 78px; height: 78px; border-radius: 50%; flex: none; display: grid; place-content: center; text-align: center; background: conic-gradient(var(--yellow) 0 100%); padding: 3px; position: relative; }
.band .ring::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--navy); }
.band .ring b, .band .ring small { position: relative; }
.band .ring b { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--yellow); }
.band .ring small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 700; }
.band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.band h2 span { color: var(--yellow); }
.band-copy p { color: #c7d3e8; font-size: 1.05rem; max-width: 470px; margin-bottom: 28px; }
.band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.band-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.band .tile { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 22px; backdrop-filter: blur(4px); transition: background .2s, transform .2s; }
.band .tile:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.band .tile .ti { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(34, 207, 208, .16); color: var(--teal); margin-bottom: 14px; }
.band .tile h3 { color: #fff; font-size: 1.02rem; margin: 0 0 6px; }
.band .tile p { margin: 0; font-size: .9rem; color: #b8c6df; line-height: 1.5; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.quote .stars { color: #f5b301; display: flex; gap: 2px; }
.quote h3 { font-size: 1.05rem; margin: 0; }
.quote p { margin: 0; color: var(--body); font-size: .96rem; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px; }
.quote .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.quote .who b { color: var(--ink); display: block; line-height: 1.2; }
.quote .who span { font-size: .84rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--blue-100); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; gap: 14px; align-items: center; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-family: var(--display); color: var(--blue); font-weight: 800; font-size: .95rem; }
.faq summary .ic { margin-left: auto; transition: transform .2s; color: var(--muted); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .ans { padding: 0 22px 20px 56px; color: var(--body); }
.faq .ans ul { padding-left: 18px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue-600), var(--blue) 60%, #3b95ff); color: #e8f1ff; border-radius: 24px; padding: 56px 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 26px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -100px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .07); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-band .cta-copy { max-width: 720px; position: relative; z-index: 1; }
.cta-band p { margin: 0 auto; max-width: 600px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--soft); padding: 56px 0 52px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { color: var(--muted); max-width: 680px; margin: 0 auto; font-size: 1.05rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.page-hero .crumbs { justify-content: center; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs .ic { width: 14px; height: 14px; }

/* ---------- Article ---------- */
.article-wrap { background: var(--soft); padding: 40px 0 72px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.article { background: #fff; border-radius: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; }
.article-head { padding: 40px 48px 8px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 5px 10px; border-radius: 6px; background: var(--blue-50); color: var(--blue-700); }
.badge.teal { background: #dff8f8; color: #0b6f70; }
.article h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--blue); }
.article h1 .sub { display: block; color: var(--ink); font-size: .78em; margin-top: 6px; }
.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin: 18px 0 8px; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.byline b { color: var(--ink); font-weight: 600; }
.byline .sep { width: 4px; height: 4px; border-radius: 50%; background: #c2c9d4; }
.byline span { display: inline-flex; align-items: center; gap: 6px; }
.article-cover { margin: 20px 48px 0; border-radius: 16px; overflow: hidden; aspect-ratio: 3/2; background: var(--soft); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { padding: 32px 48px 48px; font-size: 1.04rem; line-height: 1.8; color: #333c4b; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 2.2em 0 .7em; padding-top: .4em; color: var(--ink); position: relative; }
.prose h2::before { content: ""; display: block; width: 48px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--teal)); margin-bottom: 14px; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 .6em; color: var(--ink); font-family: var(--font); font-weight: 700; }
.prose h4 { font-size: 1.05rem; margin: 1.5em 0 .5em; font-family: var(--font); }
.prose p { margin: 0 0 1.15em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(22, 115, 234, .35); text-underline-offset: 3px; font-weight: 500; }
.prose a.btn { text-decoration: none; }
.prose strong, .prose b { color: var(--ink); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--blue); background: var(--blue-50); border-radius: 0 12px 12px 0; color: var(--ink); }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: 12px; margin: 0 auto; border: 1px solid var(--line); }
.prose figcaption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 8px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.prose code { background: var(--soft); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; line-height: 1.55; min-width: 520px; }
.prose th { background: var(--blue); color: #fff; text-align: left; padding: 12px 16px; font-weight: 600; }
.prose td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tr:nth-child(even) td { background: #f8fafd; }
.prose td:first-child { font-weight: 600; color: var(--ink); }
.yt { display: block; position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; margin: 1.8em 0; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: .2s; }
.yt:hover img { opacity: 1; }
.yt .yt-play { display: block; position: absolute; inset: 0; margin: auto; width: 72px; height: 50px; border: 0; border-radius: 14px; background: #f00; }
.yt .yt-play::after { content: ""; position: absolute; left: 29px; top: 15px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* In-article CTA components */
.cta-box { margin: 2em 0; border-radius: 16px; padding: 24px 26px; display: flex; align-items: center; gap: 20px; }
.cta-box .cta-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.cta-box .cta-ic .ic { width: 26px; height: 26px; }
.cta-box .cta-t { flex: 1; }
.cta-box h4 { margin: 0 0 4px; font-size: 1.12rem; font-family: var(--display); }
.cta-box p { margin: 0; font-size: .95rem; line-height: 1.5; }
.prose .cta-box .btn { text-decoration: none; }
.cta-questions { background: linear-gradient(135deg, #eef5ff, #e3f9f9); border: 1px solid #cfe2fb; }
.cta-questions .cta-ic { background: var(--blue); color: #fff; }
.cta-article { background: #fff8e6; border: 1px solid #f6e0a6; }
.cta-article .cta-ic { background: #f5b301; color: #fff; }
.cta-video { background: #fff0f0; border: 1px solid #fbd0d0; }
.cta-video .cta-ic { background: #ef2b2b; color: #fff; }
.cta-support { background: linear-gradient(135deg, var(--navy), #13336a); color: #cfdbef; border: 0; }
.cta-support h4 { color: #fff; }
.cta-support .cta-ic { background: var(--teal); color: var(--navy); }
.cta-inline { margin: 1.8em 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 22px; border: 2px dashed #b9d4fb; border-radius: 14px; background: #f7fbff; flex-wrap: wrap; }
.cta-inline span { font-weight: 600; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.cta-inline span .ic { color: var(--blue); }
.promo { margin: 2.2em 0; border-radius: 18px; overflow: hidden; background: radial-gradient(600px 240px at 90% 0%, rgba(34, 207, 208, .3), transparent 60%), linear-gradient(135deg, #1d2a8c, #1f3fae 50%, #1673ea); color: #fff; padding: 32px; }
.promo h4 { color: var(--yellow); font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 0 0 18px; font-family: var(--display); font-weight: 800; text-align: center; text-transform: none; }
.promo ol { list-style: none; padding: 0; margin: 0 auto 20px; display: grid; gap: 10px; max-width: 560px; counter-reset: s; }
.promo li { counter-increment: s; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 6px 16px 6px 6px; margin: 0; font-size: .96rem; }
.promo li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--blue-700); display: grid; place-items: center; font-weight: 800; flex: none; }
.promo li b { color: #fff; }
.promo li em { margin-left: auto; font-style: normal; background: #fff; color: var(--navy); padding: 3px 12px; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.promo .strip { background: var(--yellow); color: var(--navy); text-align: center; font-weight: 700; padding: 10px; border-radius: 10px; margin-bottom: 14px; }
.promo .contact { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.prose .promo a { color: inherit; text-decoration: none; }

.article-foot { padding: 0 48px 40px; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--ink); border: 0; }
.share a:hover, .share button:hover { background: var(--blue); color: #fff; }
.author-box { display: flex; gap: 18px; background: var(--soft); border-radius: 16px; padding: 22px; align-items: center; }
.author-box img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; background: #fff; }
.author-box h4 { margin: 0 0 2px; font-size: 1.05rem; }
.author-box .role { color: var(--blue); font-size: .85rem; font-weight: 600; margin-bottom: 6px; display: block; }
.author-box p { margin: 0; font-size: .92rem; color: var(--muted); }

/* Sidebar */
.sidebar { position: sticky; top: 136px; display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 12px; font-family: var(--font); font-weight: 700; }
.side-cta { background: linear-gradient(160deg, #eaf3ff, #fff); text-align: center; border-color: #cfe2fb; }
.side-cta h3 { font-family: var(--display); font-size: 1.3rem; color: var(--navy-2); }
.side-cta p { font-size: .92rem; color: var(--body); }
.side-cta .btn { width: 100%; }
.side-dark { background: var(--navy); border: 0; color: #c6d2e6; text-align: center; }
.side-dark h3 { color: #fff; font-family: var(--display); font-size: 1.25rem; }
.side-dark p { font-size: .92rem; }
.side-dark .btn { width: 100%; margin-top: 8px; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 50vh; overflow-y: auto; }
.toc a { display: block; padding: 7px 10px 7px 12px; font-size: .88rem; color: var(--body); line-height: 1.4; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--blue); }
.toc a.active { color: var(--blue); border-left-color: var(--blue); background: var(--blue-50); font-weight: 600; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mini-list a { display: flex; gap: 12px; align-items: center; color: var(--ink); font-size: .9rem; line-height: 1.35; font-weight: 500; }
.mini-list a:hover { color: var(--blue); }
.mini-list img { width: 64px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--teal)); width: 0; z-index: 60; }

/* ---------- Course question landing ---------- */
.q-hero { background: radial-gradient(900px 420px at 90% 0%, rgba(34, 207, 208, .22), transparent 60%), linear-gradient(150deg, #0b2f78 0%, #0f4fbf 55%, var(--blue) 100%); color: #dbe7ff; padding: 56px 0 72px; }
.q-hero .crumbs, .q-hero .crumbs a { color: #b8cdf5; }
/* 40:60 split. The cover keeps its full 3:2 shape (no cropping) and sets the row height;
   the copy column stretches to that height, so its first and last lines align with the image edges. */
.q-hero-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 40px; align-items: stretch; margin-top: 8px; }
.q-hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-width: 0; }
.q-hero-copy .badge { margin-bottom: 12px; }
.q-hero h1 { color: #fff; font-size: clamp(1.55rem, 2.4vw, 2.2rem); font-weight: 800; line-height: 1.18; margin: 0 0 10px; }
.q-hero h1 .mark { color: var(--yellow); }
.q-hero .lead { color: #d3e1ff; font-size: .98rem; margin: 0; }
.q-hero .stats { margin: 0; gap: 10px; }
.q-hero .stat { padding: 12px; border-radius: 12px; }
.q-hero .stat b { font-size: 1.55rem; }
.q-hero .stat > span { font-size: .74rem; }
.q-hero .actions { display: flex; gap: 10px; flex-wrap: nowrap; }
.q-hero .actions .btn { flex: 1 1 auto; justify-content: center; white-space: nowrap; padding-left: 16px; padding-right: 16px; }
.menu a { white-space: nowrap; }
.q-hero .note { font-size: .84rem; color: #b8cdf5; margin: 12px 0 0; display: flex; gap: 8px; align-items: center; }
.q-cover { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(4, 22, 64, .45); aspect-ratio: 3/2; background: #0b2f78; position: relative; align-self: start; }
.q-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.q-cover .gen { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 36px; background: linear-gradient(135deg, #0d3a8f, #1673ea); }
.q-cover .gen small { color: var(--teal); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.q-cover .gen b { font-family: var(--display); color: #fff; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.15; margin: 8px 0 14px; }
.q-cover .gen span { align-self: flex-start; background: #fff; color: var(--navy); font-weight: 800; padding: 6px 14px; border-radius: 8px; font-family: var(--display); }
.topic-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.topic-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--blue), var(--teal)); }
.topic-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.topic-card p { font-size: .93rem; color: var(--muted); margin: 0; }
.steps { counter-reset: st; }
.step { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); position: relative; }
.step .n { position: absolute; top: 18px; right: 20px; font-family: var(--display); font-size: 2.6rem; font-weight: 800; color: var(--blue-50); line-height: 1; }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

.practice { background: linear-gradient(180deg, var(--soft), #fff); }
.practice-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.practice-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 6px; }
.practice-head p { margin: 0; color: var(--muted); }
.mode { display: flex; align-items: center; gap: 14px; background: #fff; border: 2px solid var(--blue); border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow); }
.mode .icon-box { width: 44px; height: 44px; margin: 0; background: var(--blue); color: #fff; }
.mode b { display: block; color: var(--ink); font-size: 1rem; }
.mode span { font-size: .84rem; color: var(--muted); }
.mode .big { font-family: var(--display); font-size: 1.8rem; color: var(--blue); font-weight: 800; margin-left: 10px; }
.sets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.set { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; position: relative; transition: .2s; color: var(--body); }
.set:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-4px); color: var(--body); }
.set .top { display: flex; justify-content: space-between; align-items: center; }
.set .no { font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.set .lvl { font-size: .68rem; font-weight: 700; letter-spacing: .08em; padding: 4px 8px; border-radius: 6px; background: #dff8f8; color: #0b6f70; }
.set h3 { font-size: 1.05rem; margin: 4px 0 0; }
.set p { font-size: .88rem; color: var(--muted); margin: 0; flex: 1; }
.set .meta { display: flex; gap: 12px; font-size: .78rem; color: var(--muted); }
.set .meta span { display: inline-flex; gap: 4px; align-items: center; }
.set .go { display: flex; justify-content: space-between; align-items: center; background: var(--blue); color: #fff; border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: .9rem; margin-top: 6px; }
.set:hover .go { background: var(--blue-600); }
.set .bar { height: 5px; border-radius: 4px; background: var(--blue-50); overflow: hidden; }
.set .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.deep-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.deep .prose { padding: 0; }
.outcomes { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.outcomes li { display: flex; gap: 12px; background: var(--soft); border-radius: 12px; padding: 14px 16px; margin: 0 !important; }
.outcomes li .ic { color: var(--green); margin-top: 4px; }
.exam-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.4em 0; }
.exam-facts div { background: var(--soft); border-radius: 12px; padding: 14px; text-align: center; }
.exam-facts b { display: block; font-family: var(--display); color: var(--blue); font-size: 1.3rem; }
.exam-facts span { font-size: .82rem; color: var(--muted); }

/* Questions directory */
.dir-cat { margin-bottom: 44px; }
.dir-cat h2 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 18px; }
.dir-cat h2 .icon-box { width: 42px; height: 42px; margin: 0; }
.dir-cat h2 .count { font-family: var(--font); font-size: .85rem; color: var(--muted); font-weight: 500; }
.dir-cat[hidden] { display: none; }

/* ---------- About / experts / contact ---------- */
.expert { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-align: center; transition: .2s; }
.expert:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.expert .ph { background: linear-gradient(160deg, var(--blue-50), #e4fbfb); aspect-ratio: 1; display: grid; place-items: end center; overflow: hidden; }
.expert .ph img { width: 100%; height: 100%; object-fit: cover; }
.expert .info { padding: 22px; }
.expert h3 { font-size: 1.15rem; margin-bottom: 2px; }
.expert .role { color: var(--blue); font-weight: 600; font-size: .88rem; display: block; margin-bottom: 10px; }
.expert p { color: var(--muted); font-size: .9rem; margin: 0; text-align: left; }
.offer { display: flex; flex-direction: column; }
.offer p { flex: 1; margin-bottom: 18px !important; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: var(--ink); transition: .15s; }
.contact-card:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink); }
.contact-card .icon-box { margin: 0; }
.contact-card b { display: block; }
.contact-card span { color: var(--muted); font-size: .9rem; word-break: break-word; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-sm); }
.form h2 { font-size: 1.5rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; color: var(--ink); width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 115, 234, .12); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 500; display: none; }
.alert.ok { background: #dcfce7; color: #14532d; }
.alert.err { background: #fee2e2; color: #7f1d1d; }
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #eaf2ff; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr .9fr 1.2fr; gap: 56px; padding-top: 60px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-family: var(--font); font-size: 1.02rem; font-weight: 700; margin-bottom: 16px; }
.site-footer p { font-size: .95rem; color: #e1ecff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; font-size: .95rem; }
.site-footer a:hover { color: var(--yellow); }
.foot-logo { display: inline-block; margin-bottom: 18px; }
.foot-logo:hover { color: #fff; }
.site-footer .foot-grid p { max-width: 440px; }
.foot-contact li { display: flex; gap: 14px; align-items: flex-start; }
.foot-contact .ci { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; display: grid; place-items: center; flex: none; }
.foot-contact b { display: block; font-size: .92rem; color: #fff; }
.foot-contact a { word-break: break-all; }
.site-footer .socials a { color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.site-footer .socials a:hover { background: #fff; color: var(--blue); }
.foot-bottom { background: var(--navy); color: #aebbd1; text-align: center; padding: 18px 0 20px; font-size: .78rem; }
.foot-bottom p { margin: 0 0 6px; color: #aebbd1; font-size: .78rem; }
.foot-bottom .copy { color: #fff; font-size: .92rem; margin-top: 8px; }

/* Floating actions */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 10px; }
.chat-fab .lbl { background: #fff; color: var(--ink); font-size: .9rem; font-weight: 500; padding: 7px 12px; border-radius: 10px; box-shadow: var(--shadow); }
.chat-fab .fab { width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .45); animation: pulse 2.4s infinite; }
.chat-fab .fab .ic { width: 28px; height: 28px; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); } }
.to-top { position: fixed; right: 27px; bottom: 88px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; z-index: 40; opacity: 0; visibility: hidden; transition: .2s; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; visibility: visible; }

/* 404 */
.nf { text-align: center; padding: 100px 0; }
.nf b { font-family: var(--display); font-size: clamp(5rem, 14vw, 9rem); color: var(--blue); line-height: 1; display: block; }

/* Reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .q-hero h1 { font-size: 1.5rem; }
  .q-hero .lead { font-size: .92rem; }
  .q-hero .stat { padding: 10px; }
  .q-hero .stat b { font-size: 1.35rem; }
  .q-hero-copy .badge { margin-bottom: 8px; }
  .menu a { padding: 10px 10px; font-size: .94rem; }
  .nav { gap: 16px; }
}
@media (max-width: 1100px) {
  .q-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .q-hero-copy .stats { margin: 6px 0; }
  .q-cover { max-width: 720px; width: 100%; }
  .q-hero .actions { flex-wrap: wrap; }
  .q-hero .actions .btn { flex: 0 1 auto; }
  .menu a { padding: 10px 10px; font-size: .93rem; }
  .nav-right .socials { display: none; }
  .sets { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .menu, .nav-right .btn { display: none; }
  .nav-right { margin-left: auto; }
  .burger { display: grid; place-items: center; }
  .nav { height: 68px; }
  .logo img { height: 40px; }
  .hero-grid, .q-hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .article-grid, .deep-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .sidebar .toc-card { display: none; }
  .posts, .g3, .course-grid { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .split .media { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-visual { justify-self: center; max-width: 400px; }
  .slide { flex-basis: calc((100% - 24px) / 2); }
  .cta-band { padding: 40px 24px; }
  .cta-band .actions { justify-content: center; }
  .trend-track { grid-auto-columns: calc(50% - 12px); }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .topbar { font-size: .82rem; }
  .topbar .pill { display: none; }
  .posts, .g2, .g3, .g4, .course-grid, .sets { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 12px 10px; }
  .stat b { font-size: 1.45rem; }
  .stat > span { font-size: .74rem; }
  .hero { padding: 48px 0 80px; }
  .float-card { display: none; }
  .article-wrap { padding: 16px 0 48px; }
  .article { border-radius: 16px; }
  .article-head { padding: 26px 20px 4px; }
  .article-cover { margin: 14px 20px 0; border-radius: 12px; }
  .prose { padding: 24px 20px 32px; font-size: 1rem; }
  .article-foot { padding: 0 20px 28px; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 20px; }
  .cta-box .btn { width: 100%; }
  .promo { padding: 22px 16px; }
  .promo li { flex-wrap: wrap; border-radius: 16px; }
  .promo li em { margin-left: 46px; }
  .author-box { flex-direction: column; text-align: center; }
  .trend-track { grid-auto-columns: 85%; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; padding-bottom: 36px; }
  .form { padding: 22px; }
  .form .row { grid-template-columns: 1fr; }
  .practice-head { flex-direction: column; align-items: flex-start; }
  .exam-facts { grid-template-columns: 1fr; }
  .chat-fab .lbl { display: none; }
  .faq .ans { padding-left: 22px; }
  .section { padding: 52px 0; }
  .sec-head { margin-bottom: 30px; }
  .card { padding: 22px; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; }
  .band-tiles { grid-template-columns: 1fr; }
  .band-actions .btn { width: 100%; }
  .slide { flex-basis: 100%; }
  .logo .brand-logo { height: 36px; }
  .q-hero .actions .btn, .hero .actions .btn { width: 100%; }
  .feat { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feat .card { padding: 16px; }
  .feat .card h3 { font-size: 1rem; }
  .feat .card p { font-size: .84rem; }
  .feat .icon-box { width: 42px; height: 42px; margin-bottom: 12px; }
  .site-footer .socials { display: flex; }
}

/* ---------- Brand logo ---------- */
.brand-logo { display: block; height: 46px; width: auto; max-width: 100%; }
.drawer-head .brand-logo { height: 38px; }
.brand-logo.brand-light { height: auto; width: 230px; background: #fff; padding: 10px 14px; border-radius: 12px; box-sizing: content-box; }

/* ---------- Testimonials slider ---------- */
.slider { position: relative; }
.slider-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 8px; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; margin: 0; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.slider-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: .2s; }
.slider-nav button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.slider .dots { display: flex; gap: 8px; }
.slider .dots span { width: 8px; height: 8px; border-radius: 999px; background: #c9d6ea; transition: .25s; }
.slider .dots span.on { width: 26px; background: var(--blue); }
.site-footer .socials { margin-top: 18px; }

/* ---------- OA Practice videos ---------- */
.watch { margin: 2.2em 0; border: 1px solid #fbd0d0; background: linear-gradient(180deg, #fff6f6, #fff); border-radius: 18px; padding: 22px; }
.watch-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.watch-head .cta-ic { background: #ef2b2b; color: #fff; }
.watch-head h4 { margin: 0 0 2px; font-size: 1.08rem; }
.watch-head p { margin: 0; font-size: .9rem; color: var(--muted); }
.watch .yt { margin: 0; }
.watch-cap { font-weight: 600; color: var(--ink); font-size: .95rem; margin: 12px 0 0; }
.watch-more { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; border-top: 1px solid #f6dede; padding-top: 14px; }
.watch-more a { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .92rem; font-weight: 500; }
.watch-more a .ic { color: #ef2b2b; flex: none; margin-top: 2px; }
.watch-more a:hover { color: var(--blue); }
.watch-channel { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: .92rem; color: #d11f1f; }
.videos { background: #fff; }
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vid-grid.one { grid-template-columns: minmax(0, 760px); justify-content: center; }
.vid { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-sm); }
.vid .yt { margin: 0; border-radius: 12px; }
.vid figcaption { font-weight: 600; color: var(--ink); font-size: .92rem; line-height: 1.4; padding: 12px 4px 4px; }
@media (max-width: 960px) { .vid-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vid-grid { grid-template-columns: 1fr; } .watch { padding: 16px; } }
