/* =====================================================================
   Sankalp Education · shared kit (Learnees style)
   Every page: Google Fonts link, this file, then at the end of <body>
   assets/data.js and assets/site.js. Full reference: KIT.md
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #120A33;
  --brand: #4338CA;
  --brand-hover: #3730A3;
  --brand-soft: #EEF2FF;
  --brand-ring: #C7D2FE;
  --pink: #E0064E;
  --pink-soft: #FFE4EC;
  --green: #059669;
  --green-hover: #047857;
  --green-soft: #ECFDF5;
  --offer-bg: #FFF7ED;
  --offer-ink: #C2410C;
  --offer-ring: #FDBA74;
  --amber: #F59E0B;
  --violet: #7C3AED;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --faint: #94A3B8;
  --line: #E2E8F0;
  --soft: #F8FAFC;
  --soft-2: #F1F5F9;
  --white: #FFFFFF;

  --hero-grad: radial-gradient(circle at 18% 20%, rgba(224,6,78,.28), transparent 38%), radial-gradient(circle at 85% 85%, rgba(99,102,241,.35), transparent 42%), linear-gradient(135deg, #120A33 0%, #2A1B7A 48%, #4338CA 100%);
  --accent-grad: linear-gradient(90deg, #E0064E, #7C3AED);
  --tile-grad: linear-gradient(160deg, #120A33 0%, #4338CA 100%);

  --r-pill: 999px;
  --r-card: 14px;
  --r-btn: 10px;
  --r-tile: 20px;

  --sh-card: 0 1px 2px rgba(15,23,42,.06);
  --sh-lift: 0 18px 40px -12px rgba(18,10,51,.25);
  --sh-pop: 0 30px 70px -24px rgba(18,10,51,.45);
  --sh-hero: 0 12px 30px rgba(67,56,202,.25);

  --header-h: 68px;
  --container: 1240px;
  --gutter: 24px;

  --font: 'Plus Jakarta Sans', 'Noto Sans Gujarati', 'Gujarati Sangam MN', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Plus Jakarta Sans', cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --header-h: 62px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.is-locked { overflow: hidden; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink);
  background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--navy); letter-spacing: -.02em; line-height: 1.15; font-weight: 800; }
p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid rgba(67,56,202,.45); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Icons: UI.icon('name') or <i data-icon="name"></i> */
svg.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.i.fill { fill: currentColor; stroke: none; }
svg.i.flip { transform: rotate(180deg); }
i[data-icon] { display: inline-block; width: 1.2em; height: 1.2em; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }
.band-soft { background: var(--soft); }
.band-soft-2 { background: var(--soft-2); }
.band-brand { background: linear-gradient(180deg, var(--brand-soft), #fff); }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 12px); }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.split-r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 32px; align-items: start; }
.split-l { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.grid { display: grid; gap: 20px; }
.g-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-1 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1180px) { .g-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px)  { .g-5, .g-4, .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split, .split-r, .split-l { grid-template-columns: minmax(0, 1fr); } .sticky { position: static; } }
@media (max-width: 767px)  { .g-2 { grid-template-columns: minmax(0, 1fr); } .grid { gap: 16px; } .section { padding: 52px 0; } .section-sm { padding: 36px 0; } }
@media (max-width: 560px)  { .g-5, .g-4, .g-3 { grid-template-columns: minmax(0, 1fr); } .g-5.keep-2, .g-4.keep-2, .g-3.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
/* .grid.to-rail: a normal grid on desktop, a swipeable one-line rail (with a peek of the next card) on phones */
@media (max-width: 560px) {
  .grid.to-rail { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 22px; scroll-padding: 0 var(--gutter); }
  .grid.to-rail::-webkit-scrollbar { display: none; }
  .grid.to-rail > * { flex: none; width: 84%; max-width: 330px; scroll-snap-align: start; }
  .grid.to-rail > .empty { width: 100%; max-width: none; }
}

/* ---------- 4. Type ---------- */
.h1 { font-size: 44px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.h2 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.lead { font-size: 17px; color: var(--ink-2); line-height: 1.6; }
.sub { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 640px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) {
  .h1 { font-size: 32px; }
  .h2 { font-size: 27px; }
  .h3 { font-size: 18px; }
  .lead { font-size: 16px; }
}

/* Eyebrow above a section title */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; margin-bottom: 14px;
  border-radius: var(--r-pill); background: var(--brand-soft); color: var(--brand);
  font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.eyebrow.is-green { background: var(--green-soft); color: var(--green); }
.eyebrow.is-pink { background: var(--pink-soft); color: var(--pink); }
.eyebrow.on-dark { background: rgba(255,255,255,.12); color: #fff; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Gradient accent word inside an H2 */
.grad {
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-right: .02em;
}

/* Caveat hand-drawn accent (1 to 3 words only) with a drawn underline */
.hand {
  position: relative; display: inline-block; font-family: var(--hand); font-weight: 700; color: var(--pink);
  font-size: 1.32em; line-height: .9; letter-spacing: 0; padding: 0 .06em; white-space: nowrap;
}
.hand::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -.2em; height: .34em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 45 3, 110 2, 197 6' fill='none' stroke='%23F59E0B' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M18 12.5 C 70 8, 120 8, 170 10' fill='none' stroke='%23F59E0B' stroke-width='2.2' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hand.is-white { color: #fff; }

/* Section head */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head .sec-titles { max-width: 760px; min-width: 0; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center .sub { margin-left: auto; margin-right: auto; }
.sec-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 767px) { .sec-head { gap: 6px 20px; margin-bottom: 22px; } }

.link-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--brand); transition: gap .2s var(--ease); }
.link-more:hover { gap: 10px; }
.link-more.on-dark { color: #fff; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: var(--r-btn); border: 1px solid transparent; font-size: 14px; font-weight: 700; line-height: 1.1;
  white-space: nowrap; text-align: center; cursor: pointer; user-select: none;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg.i { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -8px rgba(67,56,202,.7); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-money { background: var(--green); color: #fff; box-shadow: 0 8px 18px -8px rgba(5,150,105,.7); }
.btn-money:hover { background: var(--green-hover); }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-soft:hover { background: #E0E7FF; }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-ring); color: var(--brand); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 10px 24px -12px rgba(0,0,0,.4); }
.btn-white:hover { background: var(--brand-soft); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: #BE0542; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn-icon.btn-sm { width: 38px; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; box-shadow: none; }
@media (max-width: 767px), (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .btn-icon.btn-sm { width: 44px; }
}

/* ---------- 6. Chips, chip rails ---------- */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.chip:hover { border-color: var(--brand-ring); color: var(--brand); }
.chip svg.i { width: 1.05em; height: 1.05em; }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-selected="true"] {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 0 0 2px rgba(67,56,202,.22), 0 8px 20px rgba(67,56,202,.35);
}
.chip-offer { background: var(--offer-bg); color: var(--offer-ink); border-color: var(--offer-ring); }
.chip-offer:hover { color: var(--offer-ink); border-color: var(--offer-ink); }
.chip-offer.is-active, .chip-offer[aria-pressed="true"] { background: var(--offer-ink); border-color: var(--offer-ink); color: #fff; box-shadow: 0 0 0 2px rgba(194,65,12,.2), 0 8px 20px rgba(194,65,12,.3); }
.chip-count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--soft-2); color: var(--muted); font-size: 11px; font-weight: 700; }
.chip.is-active .chip-count, .chip[aria-pressed="true"] .chip-count, .chip[aria-selected="true"] .chip-count { background: rgba(255,255,255,.2); color: #fff; }
.chip-sep { width: 1px; height: 26px; background: var(--line); margin: 0 4px; flex: none; }
.chip.is-empty { opacity: .45; }
@media (max-width: 767px), (pointer: coarse) { .chip { min-height: 44px; } }
/* .chips-scroll: wraps on desktop, one scrolling line on phones */
@media (max-width: 767px) {
  .chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scroll-padding: 0 var(--gutter); }
  .chips-scroll::-webkit-scrollbar { display: none; }
  .chips-scroll > * { flex: none; }
  .chip-sep { display: none; }
}

/* Rails: horizontal scroll rows with round arrow buttons (UI.rail wires them) */
.rail { position: relative; min-width: 0; }
.rail-track {
  display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 6px 2px 12px; scroll-behavior: smooth;
}
.rail-track::-webkit-scrollbar { display: none; }
/* inside a scroller the big glow is clipped flat into a box; use a tighter one at every width */
.chips-scroll .chip.is-active, .chips-scroll .chip[aria-pressed="true"], .rail-chips .chip.is-active, .rail-chips .chip[aria-pressed="true"] { box-shadow: 0 0 0 2px rgba(67,56,202,.2), 0 6px 12px -6px rgba(67,56,202,.55); }
.rail-track > * { flex: none; scroll-snap-align: start; }
.rail-track > .card { height: auto; }
.rail-btn {
  position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff; border: 0;
  box-shadow: 0 8px 20px -6px rgba(67,56,202,.6); transition: opacity .2s, transform .2s, background-color .2s;
}
.rail-btn:hover { background: var(--brand-hover); }
.rail-btn svg.i { width: 20px; height: 20px; }
.rail-btn.prev { left: 0; }
.rail-btn.next { right: 0; }
.rail-btn:disabled { opacity: 0; pointer-events: none; }
/* Chip rail: arrows sit at both ends, chips scroll between them */
.rail-chips { padding: 0 50px; }
.rail-chips .rail-btn { margin-top: -23px; }
/* Card rail: arrows float over the edges, cards have fixed widths */
.rail-cards .rail-track { gap: 20px; padding: 8px 4px 22px; margin: -8px -4px -22px; scroll-padding: 0 4px; }
.rail-cards .rail-btn { background: #fff; color: var(--navy); box-shadow: 0 10px 30px -8px rgba(18,10,51,.35); border: 1px solid var(--line); width: 44px; height: 44px; margin-top: -22px; }
.rail-cards .rail-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.rail-cards .rail-btn.prev { left: -22px; }
.rail-cards .rail-btn.next { right: -22px; }
.rail-cards .rail-track > * { width: calc((100% - 60px) / 4); }
.rail-cards[data-cols="5"] .rail-track > * { width: calc((100% - 80px) / 5); }
.rail-cards[data-cols="3"] .rail-track > * { width: calc((100% - 40px) / 3); }
@media (max-width: 1180px) {
  .rail-cards .rail-track > *, .rail-cards[data-cols="5"] .rail-track > * { width: calc((100% - 40px) / 3); }
  .rail-cards[data-cols="5"] .rail-track > * { width: calc((100% - 60px) / 4); }
  .rail-cards .rail-btn.prev { left: -8px; } .rail-cards .rail-btn.next { right: -8px; }
}
@media (max-width: 900px) {
  .rail-cards .rail-track > *, .rail-cards[data-cols="5"] .rail-track > *, .rail-cards[data-cols="3"] .rail-track > * { width: calc((100% - 20px) / 2.15); }
  .rail-cards[data-cols="5"] .rail-track > * { width: calc((100% - 40px) / 3.1); }
}
@media (max-width: 767px) {
  .rail-chips { padding: 0; }
  .rail-chips .rail-track { margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .rail-btn { display: none; }
  .rail-cards .rail-track { gap: 14px; margin: -8px calc(var(--gutter) * -1) -22px; padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); }
  .rail-cards .rail-track > *, .rail-cards[data-cols] .rail-track > * { width: 80%; max-width: 320px; }
  .rail-cards[data-cols="5"] .rail-track > * { width: 62%; max-width: 250px; }
}

/* ---------- 7. Pills & badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 800; letter-spacing: .02em; line-height: 1; white-space: nowrap;
}
.pill svg.i { width: 12px; height: 12px; }
.pill-live { background: rgba(224,6,78,.95); color: #fff; text-transform: uppercase; letter-spacing: .05em; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 4px 12px -4px rgba(224,6,78,.6); }
.ping { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #fff; flex: none; }
.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.4s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.pill-off { background: var(--green); color: #fff; box-shadow: 0 4px 12px -4px rgba(5,150,105,.6); }
.pill-mode { background: rgba(18,10,51,.74); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pill-kind { background: rgba(255,255,255,.94); color: var(--navy); box-shadow: 0 2px 8px -2px rgba(18,10,51,.25); }
.pill-soft { background: var(--brand-soft); color: var(--brand); }
.pill-pink { background: var(--pink-soft); color: var(--pink); }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-offer { background: var(--offer-bg); color: var(--offer-ink); box-shadow: inset 0 0 0 1px var(--offer-ring); }
.pill-line { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.pill-navy { background: var(--navy); color: #fff; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 7px; background: var(--soft-2); color: var(--ink-2); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.tag svg.i { width: 13px; height: 13px; color: var(--muted); }

/* ---------- 8. Cards (base + course card) ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s; }
.card.is-hover:hover, a.card:hover, .ccard:hover, .tcard:hover, .bcard:hover, .ecard:hover { transform: translateY(-4px); box-shadow: var(--sh-lift); border-color: #D9DEF0; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card .lift { position: relative; z-index: 2; }

.ccard { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.ccard-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--soft-2); overflow: hidden; }
.ccard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ccard:hover .ccard-media img { transform: scale(1.035); }
.ccard-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; pointer-events: none; }
.ccard-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 0; flex: 1; }
.ccard-title { font-size: 14px; font-weight: 700; line-height: 1.42; color: var(--ink); letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.84em; }
.ccard-title a:hover { color: var(--brand); }
.ccard-text { font-size: 12.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.1em; }
.ccard-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.ccard-for { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; min-width: 0; }
.ccard-for b { color: var(--ink-2); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta { display: inline-flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; }
.meta svg.i { width: 14px; height: 14px; color: var(--faint); }
.ccard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding: 12px 14px 14px; border-top: 1px solid var(--soft-2); }
.ccard-actions { display: flex; gap: 6px; flex: none; position: relative; z-index: 2; }
.ccard-actions .btn { min-height: 36px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.price b { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.price s { font-size: 12px; color: var(--faint); white-space: nowrap; }
.price.inline { flex-direction: row; align-items: baseline; gap: 8px; }
@media (max-width: 560px) {
  .ccard-foot { flex-wrap: wrap; }
  .ccard-foot .price { flex-direction: row; align-items: baseline; gap: 8px; }
  .ccard-foot .price b { font-size: 20px; }
  .ccard-actions { width: 100%; }
  .ccard-actions .btn { flex: 1; min-height: 44px; font-size: 14px; }
}

/* Test series card */
.tcard { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.tcard-head { position: relative; padding: 16px 16px 14px; background: linear-gradient(135deg, #ECFDF5 0%, #F0FDFA 55%, #EEF2FF 100%); border-bottom: 1px solid #D1FAE5; }
.tcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.tcard-brand { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.tcard-brand img { width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.tcard-row { display: flex; gap: 12px; align-items: flex-start; }
.tcard-title { flex: 1; min-width: 0; font-size: 15px; font-weight: 800; color: var(--navy); line-height: 1.35; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.05em; }
.tcard-title a:hover { color: var(--brand); }
.tcard-thumb { width: 76px; height: 57px; border-radius: 8px; object-fit: cover; flex: none; box-shadow: 0 6px 14px -6px rgba(18,10,51,.4); border: 2px solid #fff; }
.tcard-sub { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tcard-body { padding: 14px 16px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ticks { list-style: none; display: grid; gap: 7px; font-size: 13px; color: var(--ink-2); }
.ticks li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.ticks li svg.i { width: 16px; height: 16px; color: var(--green); margin-top: 1px; stroke-width: 2.5; }
.tcard-strip { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 9px; background: var(--offer-bg); color: var(--offer-ink); font-size: 12px; font-weight: 700; box-shadow: inset 0 0 0 1px #FED7AA; }
.tcard-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px 16px; position: relative; z-index: 2; }
.tcard-price { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; }
.tcard-price b { font-size: 20px; font-weight: 800; }
.tcard-price s { font-size: 13px; color: var(--faint); }

/* Book / notes card (shelf) */
.bcard { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.bcard-cover { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #F8FAFC, #EEF2FF); overflow: hidden; }
.bcard-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bcard:hover .bcard-cover img { transform: scale(1.04); }
.bcard-cover .ccard-badges { top: 8px; left: 8px; }
.bcard-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bcard-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.bcard-title { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.bcard-title a:hover { color: var(--brand); }
.bcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; position: relative; z-index: 2; }
.bcard-foot .price b { font-size: 16px; }
.shelf { position: relative; }
.shelf::after { content: ""; display: block; height: 14px; margin: 4px 0 0; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #E0E7FF, #F1F5F9); box-shadow: 0 14px 24px -16px rgba(18,10,51,.35); }

/* Podcast episode card */
.ecard { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.ecard-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.ecard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.ecard:hover .ecard-thumb img { transform: scale(1.04); opacity: .92; }
.ecard-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18,10,51,.55)); }
.ecard-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--pink); box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.ecard-play svg.i { width: 22px; height: 22px; margin-left: 3px; }
.ecard:hover .ecard-play { transform: scale(1.1); }
.ecard-ep { position: absolute; left: 10px; top: 10px; z-index: 2; }
.ecard-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ecard-title { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.84em; }
.ecard-guest { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.ecard-guest span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ecard-guest svg.i { width: 14px; height: 14px; color: var(--pink); }
.ecard-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--brand); }
.ecard-link svg.i { width: 14px; height: 14px; }

/* Exam goal card (pastel, duotone art) */
.goal {
  --g-bg: #EEF2FF; --g-line: #E0E7FF; --g-circle: #E0E7FF; --g-ink: #4338CA; --g-tint: #C7D2FE;
  position: relative; isolation: isolate; display: flex; min-height: 248px; padding: 26px 24px 22px; border-radius: var(--r-tile);
  background: linear-gradient(135deg, #fff 0%, var(--g-bg) 70%); border: 1px solid var(--g-line); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.goal:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--g-ink) 55%, transparent); }
.goal::before { content: ""; position: absolute; z-index: -1; right: -86px; top: 50%; width: 290px; height: 290px; margin-top: -145px; border-radius: 50%; background: var(--g-circle); transition: transform .6s var(--ease); }
.goal:hover::before { transform: scale(1.07); }
.goal-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; max-width: 64%; }
.goal-name { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.2; }
.goal-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.goal-pills span { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: var(--r-pill); background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(15,23,42,.08); font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.goal-meta { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.goal-meta b { color: var(--g-ink); font-weight: 800; }
.goal-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--navy); }
.goal-arrow { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--g-ink); box-shadow: 0 8px 18px -10px rgba(18,10,51,.4); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.goal:hover .goal-arrow { transform: translateX(4px); background: var(--g-ink); color: #fff; }
.goal-art { position: absolute; right: 22px; top: 50%; width: 124px; height: 124px; margin-top: -62px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255,255,255,.5), 0 18px 36px -18px color-mix(in srgb, var(--g-ink) 60%, transparent); }
.goal-art svg { width: 78px; height: 78px; }
.duo-fill { fill: var(--g-tint); }
.duo-line { fill: none; stroke: var(--g-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.duo-solid { fill: var(--g-ink); }
.goal[data-tone="pink"]   { --g-bg: #FFF1F5; --g-line: #FFE4EC; --g-circle: #FFE4EC; --g-ink: #E0064E; --g-tint: #FECDD9; }
.goal[data-tone="amber"]  { --g-bg: #FFFBEB; --g-line: #FEF3C7; --g-circle: #FEF3C7; --g-ink: #D97706; --g-tint: #FDE68A; }
.goal[data-tone="green"]  { --g-bg: #ECFDF5; --g-line: #D1FAE5; --g-circle: #D1FAE5; --g-ink: #059669; --g-tint: #A7F3D0; }
.goal[data-tone="sky"]    { --g-bg: #F0F9FF; --g-line: #E0F2FE; --g-circle: #E0F2FE; --g-ink: #0284C7; --g-tint: #BAE6FD; }
.goal[data-tone="violet"] { --g-bg: #F5F3FF; --g-line: #EDE9FE; --g-circle: #EDE9FE; --g-ink: #7C3AED; --g-tint: #DDD6FE; }
@media (max-width: 560px) {
  /* phones: small icon top-right so the text gets the full width (tags stay on one line) */
  .goal { min-height: 0; padding: 20px 18px 18px; }
  .goal::before { width: 170px; height: 170px; top: -60px; margin-top: 0; right: -60px; }
  .goal-art { width: 60px; height: 60px; top: 18px; margin-top: 0; right: 16px; box-shadow: 0 0 0 5px rgba(255,255,255,.5), 0 10px 20px -12px color-mix(in srgb, var(--g-ink) 60%, transparent); }
  .goal-art svg { width: 38px; height: 38px; }
  .goal-body { max-width: 100%; gap: 10px; }
  .goal-name { font-size: 19px; padding-right: 72px; }
}

/* Empty state */
.empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-card); background: var(--soft); color: var(--muted); }
.empty b { color: var(--navy); font-size: 16px; }

/* Card entrance when a grid is re-rendered (UI.render) */
.is-entering > * { animation: cardIn .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- 9. Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--hero-grad); border-radius: 0 0 32px 32px; box-shadow: var(--sh-hero); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 70%);
}
.hero-inner { position: relative; padding: 60px 0 68px; text-align: center; }
.hero.has-overlap .hero-inner { padding-bottom: 150px; }
.hero-sm .hero-inner { padding: 34px 0 44px; text-align: left; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 5px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; color: #fff; animation: heroUp .7s var(--ease) both;
}
.hero-badge img { width: 24px; height: 24px; border-radius: 50%; background: #fff; padding: 2px; }
.hero-badge .ping { background: #34D399; }
.hero-title { max-width: 880px; margin: 18px auto 0; font-size: 44px; font-weight: 800; color: #fff; letter-spacing: -.028em; line-height: 1.12; text-wrap: balance; animation: heroUp .7s var(--ease) .05s both; }
.hero-sm .hero-title { margin: 10px 0 0; font-size: 36px; max-width: 760px; }
.hero-sub { margin-top: 14px; font-size: 22px; font-weight: 700; color: #FCD34D; letter-spacing: -.01em; animation: heroUp .7s var(--ease) .18s both; }
.hero-lead { margin-top: 10px; font-size: 16px; color: rgba(255,255,255,.82); max-width: 640px; line-height: 1.6; }
.hero-sm .hero-lead { margin-left: 0; }
.hl { position: relative; display: inline-block; color: #fff; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -3%; right: -3%; bottom: -.32em; height: .42em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C 50 3, 120 2, 197 8' fill='none' stroke='%23FF4F86' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left; animation: drawLine .8s var(--ease) .6s both;
}
@keyframes drawLine { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes heroUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.86); animation: heroUp .7s var(--ease) .32s both; }
.hero-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 6px; border-radius: 8px; }
.hero-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.hero-links .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); }
.hero-corner { position: absolute; top: 22px; right: 0; z-index: 3; }
.hero-float { position: absolute; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 24px 40px -20px rgba(0,0,0,.55); text-align: left; animation: float 6s ease-in-out infinite; }
.hero-float img { width: 64px; height: 48px; border-radius: 9px; object-fit: cover; }
.hero-float b { display: block; font-size: 13px; font-weight: 800; color: var(--navy); line-height: 1.25; }
.hero-float small { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
a.hero-float { transition: box-shadow .25s var(--ease); }
a.hero-float:hover { animation-play-state: paused; box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 28px 44px -18px rgba(0,0,0,.6); }
a.hero-float:hover b { color: var(--brand); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1180px) { .hero-float, .hero-corner { display: none; } }
@media (max-width: 767px) {
  .hero { border-radius: 0 0 24px 24px; }
  .hero-inner { padding: 36px 0 44px; }
  .hero.has-overlap .hero-inner { padding-bottom: 118px; }
  .hero-title { font-size: 31px; margin-top: 14px; }
  .hero-sm .hero-title { font-size: 28px; }
  .hero-sub { font-size: 18px; }
  .hero-links { gap: 8px; margin: 16px -20px 0; padding: 0 20px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .hero-links::-webkit-scrollbar { display: none; }
  .hero-links a { flex: none; white-space: nowrap; }
  .hero-links .sep { display: none; }
  .hero-links a { min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 13.5px; font-weight: 600; }
  .hero-sm .hero-inner { padding: 24px 0 32px; }
}

/* Search bar with a stream select (hero) */
.searchbar { display: flex; align-items: center; gap: 4px; max-width: 740px; margin: 30px auto 0; padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 24px 48px -20px rgba(0,0,0,.45); color: var(--ink); animation: heroUp .7s var(--ease) .26s both; }
.searchbar-select { position: relative; display: flex; align-items: center; gap: 8px; flex: none; width: 210px; height: 48px; padding: 0 12px; border-right: 1px solid var(--line); color: var(--muted); }
.searchbar-select svg.i { width: 18px; height: 18px; }
.searchbar-select select { appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent; width: 100%; height: 100%; padding-right: 18px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.searchbar-select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); pointer-events: none; }
.searchbar-input { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--faint); }
.searchbar-input input { width: 100%; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--ink); }
.searchbar-input input::placeholder { color: var(--faint); }
.searchbar .btn { height: 48px; padding: 0 24px; }
@media (max-width: 640px) {
  .searchbar { flex-wrap: wrap; padding: 6px; }
  .searchbar-select { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); height: 46px; }
  .searchbar-input { padding: 0 6px 0 12px; }
  .searchbar-input input { font-size: 16px; }
  .searchbar .btn { padding: 0 18px; }
}

/* Card that overlaps the hero's rounded bottom */
.overlap { position: relative; z-index: 4; margin-top: -104px; }
.offer-card { position: relative; overflow: hidden; padding: 28px 32px 26px; border-radius: var(--r-tile); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(18,10,51,.4); }
.offer-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--amber), var(--pink) 50%, var(--brand)); }
.offer-card::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(253,186,116,.32), transparent); pointer-events: none; }
.offer-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.offer-title { font-size: 32px; font-weight: 800; letter-spacing: -.025em; }
.offer-tag { margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--offer-ink); }
.offer-timer { display: flex; align-items: center; gap: 16px; }
.offer-timer-label { font-size: 13px; font-weight: 700; color: var(--offer-ink); max-width: 120px; line-height: 1.35; text-align: right; }
.offer-filters { position: relative; z-index: 1; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--soft-2); }
@media (max-width: 767px) {
  .overlap { margin-top: -84px; }
  .offer-card { padding: 22px 18px 20px; }
  .offer-title { font-size: 25px; }
  .offer-timer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .offer-timer-label { text-align: left; max-width: none; }
  .offer-filters { margin-top: 18px; padding-top: 16px; }
  .offer-filters .chips { gap: 8px; }
  .offer-filters .chip { padding: 0 14px; }
}
/* Phones: every 'pick one' selector is one swipeable row, never two lines (Arya, 4 Dec) */
@media (max-width: 767px) {
  main .cx-kinds, main .ktabs, main .offer-filters .chips, main .ftabs .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
  main .cx-kinds::-webkit-scrollbar, main .ktabs::-webkit-scrollbar, main .offer-filters .chips::-webkit-scrollbar, main .ftabs .tabs::-webkit-scrollbar { display: none; }
  main .cx-kinds > *, main .ktabs > *, main .offer-filters .chips > *, main .ftabs .tabs > * { flex: none; white-space: nowrap; }
  main .offer-filters .chip-sep { display: none; }
}

/* ---------- 10. Countdown ---------- */
.countdown { display: flex; gap: 8px; }
.cd-tile { width: 60px; height: 64px; border-radius: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: var(--tile-grad); box-shadow: 0 0 0 1px rgba(245,158,11,.7), 0 10px 20px -10px rgba(18,10,51,.6); }
.cd-num { font-size: 23px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.cd-lab { margin-top: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.countdown-sm .cd-tile { width: 46px; height: 48px; border-radius: 9px; }
.countdown-sm .cd-num { font-size: 17px; }
.countdown-sm .cd-lab { font-size: 8px; margin-top: 3px; }
@media (max-width: 380px) { .cd-tile { width: 54px; height: 58px; } .cd-num { font-size: 20px; } }

/* ---------- 11. Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--r-tile); box-shadow: var(--sh-card); overflow: hidden; }
.stat { padding: 24px 26px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { font-size: 36px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--navy); }
.stat-num .grad { padding-right: .04em; }
.stat-label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.stat-note { font-size: 12px; color: var(--muted); }
.stats.on-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.stats.on-dark .stat { border-color: rgba(255,255,255,.14); }
.stats.on-dark .stat-num { color: #fff; }
.stats.on-dark .stat-label { color: rgba(255,255,255,.86); }
.stats.on-dark .stat-note { color: rgba(255,255,255,.6); }
@media (max-width: 767px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 18px 16px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats.on-dark .stat:nth-child(n+3) { border-top-color: rgba(255,255,255,.14); }
  .stat-num { font-size: 28px; }
}

/* ---------- 12. Accordion (native <details>) ---------- */
.acc { display: flex; flex-direction: column; gap: 10px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color .2s, box-shadow .2s; }
.acc-item[open] { border-color: var(--brand-ring); box-shadow: 0 14px 34px -22px rgba(67,56,202,.55); }
.acc-item > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 14px 18px; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.4; border-radius: var(--r-card); }
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-item:hover { border-color: var(--brand-ring); }
.acc-item > summary:hover { color: var(--brand); }
.acc-item > summary:hover::after { background-color: var(--brand-soft); }
.acc-item > summary::after {
  content: ""; flex: none; margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background-color: var(--soft-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-size: 18px; background-position: center; background-repeat: no-repeat; transition: transform .25s var(--ease), background-color .2s;
}
.acc-item[open] > summary::after { transform: rotate(180deg); background-color: var(--brand-soft); }
.acc-body { padding: 0 18px 18px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.acc-body p + p { margin-top: 10px; }
.acc-body a { color: var(--brand); font-weight: 600; }
.acc-n { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: var(--brand); }
.acc-meta { flex: none; font-size: 12px; font-weight: 600; color: var(--muted); }

/* ---------- 13. Modal & toast ---------- */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(12,8,36,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-card { position: relative; width: 100%; max-width: 440px; max-height: calc(100dvh - 32px); overflow: auto; padding: 28px; border-radius: var(--r-tile); background: #fff; box-shadow: var(--sh-pop); transform: translateY(14px) scale(.98); transition: transform .3s var(--ease); }
.modal.is-open .modal-card { transform: none; }
.modal-card.is-md { max-width: 560px; }
.modal-card.is-lg { max-width: 760px; }
.modal-card.has-glow { background: radial-gradient(circle at 100% 0%, rgba(199,210,254,.6), transparent 40%), #fff; }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--soft-2); transition: background-color .2s, color .2s; }
.modal-x:hover { background: var(--line); color: var(--ink); }
.modal-x svg.i { width: 18px; height: 18px; }
.modal-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.modal-sub { margin-top: 6px; font-size: 14px; color: var(--muted); }
.steps-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.steps-bar span { width: 26px; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .3s, width .3s; }
.steps-bar span.is-on { width: 38px; background: var(--brand); }
@media (max-width: 560px) {
  .modal { place-items: end center; padding: 0; }
  .modal-card, .modal-card.is-md, .modal-card.is-lg { max-width: none; border-radius: 22px 22px 0 0; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); max-height: 92dvh; transform: translateY(40px); }
}
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 500; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 18px 40px -14px rgba(18,10,51,.6); animation: toastIn .35s var(--ease) both; pointer-events: auto; }
.toast svg.i { width: 18px; height: 18px; color: #34D399; }
.toast.is-out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- 14. Breadcrumbs, details table, price box, buy bar ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 600; color: var(--ink-2); }
.crumbs a:hover { color: var(--brand); }
.crumbs > * + *::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: currentColor; opacity: .5; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.crumbs.on-dark, .crumbs.on-dark a { color: rgba(255,255,255,.75); }
.crumbs.on-dark a:hover, .crumbs.on-dark [aria-current] { color: #fff; }

.dtable { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; font-size: 14px; background: #fff; }
.dtable thead th, .dtable .dtable-head { padding: 12px 16px; background: var(--brand); color: #fff; text-align: left; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dtable th, .dtable td { padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.dtable thead th { border-top: 0; }
.dtable tbody th { width: 38%; color: var(--muted); font-weight: 600; background: var(--soft); }
.dtable td { color: var(--ink); font-weight: 600; }
.dtable.compare td, .dtable.compare th { text-align: center; }
.dtable.compare tbody th { text-align: left; }
.yes { color: var(--green); } .no { color: var(--faint); }

.pricebox { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px -26px rgba(18,10,51,.4); }
.pb-save { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--offer-ink); }
.pb-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 12px; }
.pb-price { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.05; }
.pb-mrp { font-size: 16px; color: var(--faint); text-decoration: line-through; }
.pb-note { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.pb-actions { display: grid; gap: 10px; margin-top: 18px; }
.pb-trust { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.pb-trust span { display: inline-flex; align-items: center; gap: 6px; }
.pb-trust svg.i { width: 14px; height: 14px; color: var(--green); }

.buybar { position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 55; background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px -18px rgba(18,10,51,.4); transform: translateY(calc(-100% - var(--header-h))); transition: transform .35s var(--ease); }
.buybar.is-shown { transform: none; }
.buybar-inner { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.buybar-thumb { width: 56px; height: 42px; border-radius: 8px; object-fit: cover; flex: none; }
.buybar-title { flex: 1; min-width: 0; }
.buybar-title b { display: block; font-size: 14.5px; font-weight: 800; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar-title small { font-size: 12px; color: var(--muted); }
.buybar .price b { font-size: 20px; }
@media (max-width: 767px) {
  .buybar { top: auto; bottom: 0; border-top: 1px solid var(--line); border-bottom: 0; transform: translateY(110%); padding-bottom: env(safe-area-inset-bottom); }
  .buybar-thumb, .buybar-title { display: none; }
  .buybar-inner { min-height: 72px; gap: 12px; justify-content: space-between; }
  .buybar .btn { flex: 1; max-width: 220px; }
  body.has-buybar .wa-bubble { bottom: 92px; }
}

/* ---------- 15. Forms ---------- */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-btn); background: #fff; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(67,56,202,.12); }
.textarea { min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.phone { display: flex; align-items: stretch; min-height: 50px; border: 1px solid var(--line); border-radius: var(--r-btn); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.phone:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(67,56,202,.12); }
.phone-cc { display: flex; align-items: center; gap: 6px; padding: 0 12px; border-right: 1px solid var(--line); background: var(--soft); font-weight: 700; font-size: 15px; color: var(--ink-2); flex: none; }
.phone input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; font-size: 16px; font-weight: 600; letter-spacing: .04em; background: transparent; }
.phone input::placeholder { font-weight: 500; letter-spacing: 0; color: var(--faint); }
.otp { display: flex; gap: 8px; justify-content: space-between; }
.otp input { width: 100%; max-width: 54px; height: 58px; border: 1px solid var(--line); border-radius: 12px; text-align: center; font-size: 22px; font-weight: 800; color: var(--navy); background: #fff; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.otp input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(67,56,202,.12); }
.otp input.is-filled { border-color: var(--brand-ring); background: var(--brand-soft); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.opt:hover { border-color: var(--brand-ring); }
.opt input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand); }
.hint { font-size: 12.5px; color: var(--muted); }
.err { font-size: 12.5px; font-weight: 600; color: var(--pink); }
.field.is-error .input, .field.is-error .phone, .field.is-error .select { border-color: var(--pink); }
.preview-note { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 8px; background: var(--soft-2); border: 1px dashed #CBD5E1; font-size: 12px; font-weight: 600; color: var(--muted); }
.preview-note svg.i { width: 14px; height: 14px; color: var(--brand); }
.form > .preview-note, .stack > .preview-note { justify-self: start; align-self: flex-start; }
.ok-ring { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; background: var(--green-soft); color: var(--green); box-shadow: 0 0 0 8px rgba(5,150,105,.08); animation: pop .5s var(--ease) both; }
.ok-ring svg.i { width: 34px; height: 34px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.mini-ticks { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.mini-ticks span { display: inline-flex; align-items: center; gap: 6px; }
.mini-ticks svg.i { width: 14px; height: 14px; color: var(--green); stroke-width: 2.6; }

/* ---------- 16. Tabs (segmented) ---------- */
.tabs { display: inline-flex; gap: 4px; max-width: 100%; padding: 4px; border-radius: var(--r-pill); background: var(--soft-2); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"], .tab.is-active { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(15,23,42,.12), 0 4px 10px -4px rgba(67,56,202,.25); }
.tab .chip-count { background: var(--line); }
@media (max-width: 767px), (pointer: coarse) { .tab { min-height: 44px; } }

/* ---------- 17. Callback strip ---------- */
.callback { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 26px 30px; border-radius: var(--r-tile); background: linear-gradient(100deg, #FFF1F5 0%, #F5F3FF 50%, #EEF2FF 100%); border: 1px solid #EDE9FE; }
.callback-copy { position: relative; min-width: 0; }
.callback-title { font-size: 19px; font-weight: 800; color: var(--pink); letter-spacing: -.01em; }
.callback-text { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.callback-text b { color: var(--navy); }
.callback-box { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px -20px rgba(18,10,51,.45); min-width: 250px; }
.callback-phone { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: 18px; font-weight: 800; color: var(--navy); border-radius: 10px; letter-spacing: .01em; }
.callback-phone:hover { background: var(--soft); }
.callback-phone svg.i { width: 18px; height: 18px; color: var(--green); }
.callback-or { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
.callback-or::before, .callback-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 767px) { .callback { flex-direction: column; align-items: stretch; padding: 22px 18px; } .callback-box { min-width: 0; } }

/* ---------- 18. App band + phone mock ---------- */
.appband { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; padding: 52px 56px 0; border-radius: 28px; background: var(--hero-grad); color: #fff; box-shadow: var(--sh-hero); }
.appband::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%); }
.appband-copy { padding-bottom: 52px; align-self: center; }
.appband h2 { color: #fff; }
.appband p { color: rgba(255,255,255,.82); }
.appband-points { display: grid; gap: 10px; margin: 22px 0 26px; list-style: none; }
.appband-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.92); }
.appband-points svg.i { width: 18px; height: 18px; color: #34D399; stroke-width: 2.6; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 18px 0 14px; border-radius: 12px; background: #0B0820; border: 1px solid rgba(255,255,255,.2); color: #fff; transition: transform .2s, background-color .2s; }
.store-btn:hover { background: #000; transform: translateY(-2px); }
.store-btn svg { width: 24px; height: 24px; fill: currentColor; }
.store-btn small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .7; line-height: 1.2; }
.store-btn b { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }
.store-btn.is-light { background: #fff; color: var(--navy); border-color: var(--line); }
.appband-phone { position: relative; align-self: end; display: flex; justify-content: center; padding-bottom: 44px; }
.appband-phone::before { content: ""; position: absolute; left: 50%; top: 30px; width: 360px; height: 360px; margin-left: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(224,6,78,.35), transparent); z-index: -1; }
@media (max-width: 960px) {
  .appband { grid-template-columns: minmax(0, 1fr); padding: 36px 24px 0; text-align: left; }
  .appband-copy { padding-bottom: 8px; }
}
@media (max-width: 560px) { .appband { padding: 30px 18px 0; border-radius: 22px; } .store-btn { flex: 1; min-width: 0; justify-content: center; gap: 8px; padding: 0 10px; } .store-btn small, .store-btn b { white-space: nowrap; } .store-btn small { font-size: 9px; letter-spacing: .04em; } .store-btn b { font-size: 15px; } }

.phone-mock { position: relative; width: 290px; height: 470px; padding: 11px 11px 0; border-radius: 42px 42px 0 0; background: #0B0820; box-shadow: 0 0 0 2px rgba(255,255,255,.14), 0 40px 80px -30px rgba(0,0,0,.6); }
.phone-mock.is-full { height: 590px; border-radius: 44px; padding-bottom: 11px; }
.phone-mock::before { content: ""; position: absolute; left: 50%; top: 20px; z-index: 3; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #0B0820; }
.pm-screen { position: relative; height: 100%; overflow: hidden; border-radius: 32px 32px 0 0; background: var(--soft); color: var(--ink); font-size: 11px; }
.phone-mock.is-full .pm-screen { border-radius: 34px; }
/* Real-screenshot phone: a full iPhone (titanium edge, black bezel, Dynamic Island, side buttons); screen keeps the screenshot's own 460:1000 shape */
.phone-mock.is-shot { width: 280px; height: auto; padding: 9px; border-radius: 50px; background: #0A0A0F;
  box-shadow: 0 0 0 1.5px #3A3A44, 0 0 0 3px #8E8E99, 0 0 0 4px #2A2A31, inset 0 0 0 1px rgba(255,255,255,.08), 0 50px 90px -35px rgba(0,0,0,.7); }
.phone-mock.is-shot::before { display: block; top: 19px; width: 82px; height: 24px; margin-left: -41px; border-radius: 20px; background: #000; }
.phone-mock.is-shot::after { content: ""; position: absolute; top: 112px; left: -6px; width: 3px; height: 62px; border-radius: 3px 0 0 3px; background: #6E6E78;
  box-shadow: 0 -40px 0 -0.5px #6E6E78, 289px 30px 0 0 #6E6E78; }
.phone-mock.is-shot .pm-screen { height: auto; aspect-ratio: 460 / 1000; border-radius: 41px; background: #fff; }
.pm-shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pm-status { height: 46px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 22px 6px; font-size: 11px; font-weight: 700; color: var(--navy); background: #fff; }
.pm-top { display: flex; align-items: center; gap: 8px; padding: 8px 14px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.pm-top img { width: 26px; height: 26px; }
.pm-top b { font-size: 13px; font-weight: 800; color: var(--navy); }
.pm-top svg.i { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }
.pm-body { padding: 12px; display: grid; gap: 10px; }
.pm-h { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 800; color: var(--navy); }
.pm-h span { font-size: 10px; color: var(--brand); font-weight: 700; }
.pm-hero { position: relative; border-radius: 14px; overflow: hidden; background: var(--tile-grad); color: #fff; padding: 12px; display: flex; gap: 10px; align-items: center; }
.pm-hero img { width: 74px; height: 56px; border-radius: 8px; object-fit: cover; }
.pm-hero b { font-size: 11.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pm-hero small { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 9.5px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: rgba(255,255,255,.16); }
.pm-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.pm-row img { width: 52px; height: 39px; border-radius: 7px; object-fit: cover; flex: none; }
.pm-row b { display: block; font-size: 10.5px; line-height: 1.3; font-weight: 700; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pm-row small { font-size: 9.5px; color: var(--muted); }
.pm-play { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.pm-play svg.i { width: 12px; height: 12px; }
.pm-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 12px; background: #fff; border-top: 1px solid var(--line); }
.pm-tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; font-weight: 700; color: var(--faint); }
.pm-tabs span.is-on { color: var(--brand); }
.pm-tabs svg.i { width: 17px; height: 17px; }

/* ---------- 19. Departments marquee ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; padding: 6px 0 16px; animation: marquee var(--marquee-speed, 34s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.dept { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px 0 8px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -16px rgba(18,10,51,.4); font-size: 15px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.dept-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.dept-ico svg.i { width: 20px; height: 20px; }
.dept span.dept-ico.dept-logo { background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.dept.dept-text { padding: 0 22px; }
.dept-logo img { width: 36px; height: 36px; object-fit: contain; }
.dept-logo img[src$="gsrtc.png"] { width: 36px; object-fit: cover; object-position: left center; }
.dept:nth-child(3n+2) .dept-ico { background: var(--pink-soft); color: var(--pink); }
.dept:nth-child(3n) .dept-ico { background: var(--green-soft); color: var(--green); }

/* ---------- 20. Journey track + daily question widget ---------- */
.track { position: relative; list-style: none; display: grid; gap: 6px; counter-reset: step; }
/* connector: one segment per step, from this node's centre to the next node's centre (stops at the last node) */
.track-step:not(:last-child)::before { content: ""; position: absolute; left: 22.5px; top: 34px; bottom: -40px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--brand-ring), var(--brand)); }
.track-step:nth-child(-n+2)::before { background: linear-gradient(180deg, var(--pink), #F472B6); }
.track-step:nth-child(3)::before { background: linear-gradient(180deg, #F472B6, var(--violet)); }
.track-step:nth-child(4)::before { background: linear-gradient(180deg, var(--violet), var(--brand)); }
.track-step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 10px 12px 10px 0; border-radius: 16px; transition: background-color .25s; }
.track-step:hover { background: rgba(238,242,255,.7); }
.track-node { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--brand-ring); color: var(--brand); font-size: 16px; font-weight: 800; box-shadow: 0 6px 14px -8px rgba(67,56,202,.5); transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s; }
.track-step:nth-child(-n+3) .track-node { border-color: #FBCFE8; color: var(--pink); }
.track-step:hover .track-node { transform: scale(1.08); background: var(--brand); border-color: var(--brand); color: #fff; }
.track-step:nth-child(-n+3):hover .track-node { background: var(--pink); border-color: var(--pink); }
.track-step:last-child .track-node { background: var(--tile-grad); border-color: transparent; color: #fff; box-shadow: 0 0 0 4px rgba(245,158,11,.5), 0 10px 20px -8px rgba(18,10,51,.6); }
.track-step:last-child .track-node svg.i { width: 22px; height: 22px; }
.track-body { padding-top: 3px; }
.track-k { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.track-title { margin-top: 2px; font-size: 16.5px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.track-text { margin-top: 3px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.track-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; min-height: 32px; font-size: 13px; font-weight: 700; color: var(--brand); }
.track-link svg.i { width: 14px; height: 14px; transition: transform .2s; }
.track-link:hover svg.i { transform: translateX(3px); }
.track-end { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0 0; padding: 8px 14px 8px 8px; border-radius: var(--r-pill); background: var(--offer-bg); color: var(--offer-ink); font-size: 13px; font-weight: 800; box-shadow: inset 0 0 0 1px var(--offer-ring); }
.track-end svg.i { width: 16px; height: 16px; }

.quiz { position: relative; overflow: hidden; border-radius: var(--r-tile); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(18,10,51,.5); }
.quiz-head { position: relative; padding: 20px 22px 18px; background: var(--hero-grad); color: #fff; }
.quiz-head-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.quiz-name { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.quiz-name small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.75); letter-spacing: 0; }
.quiz-dots { display: flex; gap: 6px; margin-top: 14px; }
.quiz-dots span { flex: 1; height: 5px; border-radius: 5px; background: rgba(255,255,255,.22); transition: background-color .3s; }
.quiz-dots span.is-on { background: #fff; }
.quiz-dots span.is-right { background: #34D399; }
.quiz-dots span.is-wrong { background: #FF4F86; }
.quiz-body { padding: 20px 22px 22px; }
.quiz-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.quiz-q { margin-top: 12px; font-size: 16.5px; font-weight: 700; color: var(--navy); line-height: 1.5; letter-spacing: -.005em; }
.quiz-opts { display: grid; gap: 10px; margin-top: 16px; }
.quiz-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 14px 10px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; font-weight: 600; color: var(--ink); text-align: left; transition: border-color .2s, background-color .2s, transform .15s; }
.quiz-opt:hover:not(:disabled) { border-color: var(--brand-ring); background: var(--soft); }
.quiz-opt:active:not(:disabled) { transform: scale(.99); }
.quiz-opt .k { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--soft-2); color: var(--ink-2); font-size: 13px; font-weight: 800; transition: background-color .2s, color .2s; }
.quiz-opt:disabled { cursor: default; }
.quiz-opt.is-right { border-color: var(--green); background: var(--green-soft); }
.quiz-opt.is-right .k { background: var(--green); color: #fff; }
.quiz-opt.is-wrong { border-color: var(--pink); background: #FFF1F5; }
.quiz-opt.is-wrong .k { background: var(--pink); color: #fff; }
.quiz-why { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 13.5px; color: var(--ink-2); line-height: 1.55; animation: heroUp .35s var(--ease) both; }
.quiz-why b { color: var(--navy); }
.quiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.quiz-score { text-align: center; padding: 8px 0 4px; }
.quiz-ring { --p: 0; width: 120px; height: 120px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--soft-2) 0); }
.quiz-ring b { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 28px; font-weight: 800; color: var(--navy); }

/* ---------- 21. Header, mega-menu, search, drawer ---------- */
.ribbon { position: relative; z-index: 61; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 30px; padding: 5px var(--gutter); background: var(--navy); color: rgba(255,255,255,.8); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-align: center; }
.ribbon b { color: #fff; font-weight: 700; }
.ribbon .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; box-shadow: 0 0 0 3px rgba(245,158,11,.25); }
#site-header { position: sticky; top: 0; z-index: 60; min-height: var(--header-h); background: #fff; }
.hdr { position: relative; height: var(--header-h); background: rgba(255,255,255,.97); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.hdr.is-scrolled { box-shadow: 0 8px 24px -18px rgba(18,10,51,.4); }
.hdr-inner { display: flex; align-items: center; gap: 18px; height: 100%; }
.hdr-logo { flex: none; display: flex; align-items: center; min-height: 44px; }
.hdr-logo img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 11px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background-color .2s, color .2s; }
.nav-link:hover, .has-mega.is-open > .nav-link { background: var(--soft-2); color: var(--navy); }
.nav-link.is-current { color: var(--brand); background: var(--brand-soft); }
.nav-link svg.i { width: 16px; height: 16px; transition: transform .25s; }
.has-mega.is-open > .nav-link svg.i { transform: rotate(180deg); }
.hdr-search { position: relative; flex: 1; min-width: 150px; max-width: 300px; }
.hdr-search input { width: 100%; height: 42px; padding: 0 46px 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); font-size: 14px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.hdr-search input:focus { outline: 0; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(67,56,202,.1); }
.hdr-search button { position: absolute; right: 5px; top: 5px; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.hdr-search button svg.i { width: 16px; height: 16px; }
.hdr-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.hdr-call { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.hdr-call:hover { background: var(--soft-2); }
.hdr-call .ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.hdr-call svg.i { width: 16px; height: 16px; }
.hdr-call .num { display: none; }
.hdr-menu { display: none; width: 44px; height: 44px; border-radius: 10px; place-items: center; color: var(--navy); }
.hdr-menu:hover { background: var(--soft-2); }
.hdr-menu svg.i { width: 24px; height: 24px; }
@media (min-width: 1360px) { .hdr-call .num { display: inline; } }
@media (max-width: 1180px) { .nav-link { padding: 0 9px; font-size: 13.5px; } .hdr-inner { gap: 12px; } .hdr-search { min-width: 120px; } }
@media (max-width: 1120px) { .nav { display: none; } .hdr-menu { display: grid; } .hdr-search { max-width: 380px; margin-left: auto; } .hdr-actions { margin-left: 0; } }
@media (max-width: 767px) { .hdr-search, .hdr-call { display: none; } .hdr-actions { margin-left: auto; gap: 4px; } .hdr-logo img { height: 32px; } .hdr-login { padding: 0 14px; } }

.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(18,10,51,.45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, .95fr); gap: 32px; padding: 26px var(--gutter) 30px; }
.mega-h { margin-bottom: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.mega-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; }
.mega-group { display: block; padding: 10px 12px; border-radius: 12px; transition: background-color .2s; }
.mega-group:hover { background: var(--soft); }
.mega-group-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; color: var(--navy); }
.mega-group-name span { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.mega-group:hover .mega-group-name { color: var(--brand); }
.mega-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.mega-pills span { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.mega-stream { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s; }
.mega-stream:hover { background: var(--soft); color: var(--brand); }
.mega-stream svg.i { width: 18px; height: 18px; color: var(--faint); }
.mega-stream:hover svg.i { color: var(--brand); }
.mega-stream .n { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--faint); }
.mega-feature { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); transition: box-shadow .25s, transform .25s var(--ease); }
.mega-feature:hover { box-shadow: var(--sh-lift); transform: translateY(-2px); }
.mega-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mega-feature-body { padding: 12px 14px 14px; }
.mega-feature-body b { display: block; font-size: 14px; font-weight: 800; color: var(--navy); line-height: 1.35; }
.mega-feature-body .row { margin-top: 8px; --gap: 8px; }
.mega-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-pop); max-height: 420px; overflow: auto; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; }
.suggest a:hover, .suggest a.is-active { background: var(--soft); }
.suggest img { width: 52px; height: 39px; border-radius: 7px; object-fit: cover; flex: none; }
.suggest b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.suggest small { font-size: 11.5px; color: var(--muted); }
.suggest .all { justify-content: center; min-height: 40px; font-size: 13px; font-weight: 700; color: var(--brand); }
.suggest .none { padding: 14px; font-size: 13px; color: var(--muted); }

.scrim { position: fixed; inset: 0; z-index: 300; background: rgba(12,8,36,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 310; width: min(88vw, 390px); display: flex; flex-direction: column; background: #fff; box-shadow: -30px 0 60px -30px rgba(18,10,51,.5); transform: translateX(105%); transition: transform .38s var(--ease); visibility: hidden; }
body.drawer-open .scrim { opacity: 1; visibility: visible; }
body.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); flex: none; }
.drawer-head img { height: 30px; width: auto; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 14px; }
.drawer-search { position: relative; }
.drawer-search input { width: 100%; height: 48px; padding: 0 48px 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); font-size: 16px; }
.drawer-search input:focus { outline: 0; border-color: var(--brand); background: #fff; }
.drawer-search button { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.drawer-nav { display: grid; gap: 2px; }
.drawer-link { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 12px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: background-color .2s; }
.drawer-link:hover { background: var(--soft); }
.drawer-link.is-current { background: var(--brand-soft); color: var(--brand); }
.drawer-link svg.i { width: 20px; height: 20px; color: var(--faint); }
.drawer-link.is-current svg.i { color: var(--brand); }
.drawer-link .chev { margin-left: auto; transition: transform .25s; }
details.drawer-acc > summary { list-style: none; cursor: pointer; }
details.drawer-acc > summary::-webkit-details-marker { display: none; }
details.drawer-acc[open] > summary .chev { transform: rotate(180deg); }
.drawer-sub { padding: 4px 4px 10px 12px; display: grid; gap: 2px; }
.drawer-sub h4 { margin: 10px 0 4px 12px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.drawer-sub a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.drawer-sub a:hover { background: var(--soft); color: var(--brand); }
.drawer-sub a span { font-size: 11.5px; color: var(--faint); font-weight: 700; }
.drawer-contact { padding: 14px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-soft), #FFF1F5); display: grid; gap: 8px; }
.drawer-contact b { font-size: 13px; color: var(--navy); }
.drawer-contact a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; background: #fff; font-size: 15px; font-weight: 700; color: var(--navy); }
.drawer-contact a svg.i { width: 18px; height: 18px; color: var(--green); }
.drawer-foot { flex: none; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; }

/* ---------- 22. Footer ---------- */
.site-footer { position: relative; overflow: hidden; margin-top: 40px; background: var(--navy); color: rgba(255,255,255,.7); border-radius: 32px 32px 0 0; }
.site-footer::before { content: ""; position: absolute; left: -160px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(224,6,78,.22), transparent); pointer-events: none; }
.site-footer::after { content: ""; position: absolute; right: -200px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(67,56,202,.4), transparent); pointer-events: none; }
.ft-top { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 36px; padding: 60px 0 40px; }
.ft-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ft-logo { display: inline-flex; padding: 10px 14px; border-radius: 14px; background: #fff; }
.ft-logo img { height: 36px; width: auto; }
.ft-tag { font-family: var(--hand); font-size: 26px; font-weight: 700; color: #fff; line-height: 1; }
.ft-about { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.7); max-width: 340px; }
.ft-social { display: flex; gap: 8px; }
.ft-social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.1); transition: background-color .2s, transform .2s; }
.ft-social a:hover { background: var(--brand); transform: translateY(-2px); }
.ft-social svg { width: 20px; height: 20px; }
.ft-col h4 { margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.ft-col ul { list-style: none; display: grid; gap: 2px; }
.ft-col a { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; font-size: 14px; color: rgba(255,255,255,.7); transition: color .2s; }
.ft-col a:hover { color: #fff; }
.ft-contact a { font-weight: 700; color: #fff; }
.ft-contact svg.i { width: 16px; height: 16px; color: #34D399; }
.ft-contact .loc { display: flex; align-items: center; gap: 8px; min-height: 34px; font-size: 14px; }
.ft-contact .loc svg.i { color: var(--amber); }
.ft-contact .btn { margin-top: 10px; }
.ft-bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 20px 84px 26px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.ft-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ft-bottom a { display: inline-flex; align-items: center; min-height: 36px; color: rgba(255,255,255,.7); }
.ft-bottom a:hover { color: #fff; }
.ft-pay { display: inline-flex; align-items: center; gap: 8px; }
.ft-pay svg.i { width: 15px; height: 15px; color: #34D399; }
@media (max-width: 1100px) { .ft-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 767px) {
  .site-footer { margin-top: 32px; border-radius: 24px 24px 0 0; }
  .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; padding: 44px 0 28px; }
  .ft-contact { grid-column: 1 / -1; }
  .ft-bottom { flex-direction: column; align-items: flex-start; padding: 20px 0 96px; }
}

/* ---------- 23. Floating WhatsApp bubble ---------- */
.wa-bubble { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7), 0 0 0 4px rgba(255,255,255,.9); transition: transform .25s var(--ease), bottom .3s var(--ease); }
.wa-bubble:hover { transform: scale(1.07); }
.wa-bubble svg { width: 30px; height: 30px; fill: currentColor; }
.wa-bubble::after { content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); padding: 8px 12px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.wa-bubble:hover::after { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 767px) { .wa-bubble { right: 14px; bottom: 14px; width: 54px; height: 54px; } .wa-bubble::after { display: none; } }

/* ---------- 24. Reveal on scroll ---------- */
.reveal-ready .reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }

/* ---------- 25. Misc helpers ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.kbd-num { font-variant-numeric: tabular-nums; }
.note-box { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--offer-bg); color: var(--offer-ink); font-size: 13.5px; font-weight: 600; box-shadow: inset 0 0 0 1px #FED7AA; }
.note-box svg.i { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.panel { padding: 22px; border-radius: var(--r-tile); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-card); }
.panel-soft { padding: 22px; border-radius: var(--r-tile); background: var(--soft); border: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--tile-grad); color: #fff; font-weight: 800; font-size: 15px; }
.qa { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 25b. Inner-page parts (listing filters, list rows, test rows, rich text, checkout) ---------- */
/* Filters sidebar (courses.html). On <=960px hide the aside and open the same panel with UI.filterSheet() */
.filters { display: block; padding: 4px 18px 10px; border-radius: var(--r-tile); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-card); }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0 6px; }
.filters-head b { font-size: 15px; font-weight: 800; color: var(--navy); }
.filters-head button { font-size: 13px; font-weight: 700; color: var(--brand); min-height: 36px; }
.fgroup { padding: 12px 0; border-top: 1px solid var(--soft-2); }
.filters-head + .fgroup { border-top: 0; }
.fgroup-title { margin-bottom: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.fopt { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 8px; margin: 0 -8px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s; }
.fopt:hover { background: var(--soft); color: var(--navy); }
.fopt input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); flex: none; }
.fopt svg.i { width: 16px; height: 16px; color: var(--faint); }
.fopt .n { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--faint); }
.fopt:has(input:checked) { color: var(--brand); }
.fopt:has(input:checked) .n, .fopt:has(input:checked) svg.i { color: var(--brand); }
.fopt.is-empty { opacity: .45; }
.filters-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.filter-btn { display: none; }
.modal-card .filters { padding: 0; border: 0; box-shadow: none; border-radius: 0; }
.modal-card .filters-head { padding: 2px 52px 8px 0; }
.modal-card .filters-head b { font-size: 24px; letter-spacing: -.02em; }
.sheet-foot { position: sticky; bottom: 0; z-index: 2; margin: 8px 0 -24px; padding: 12px 0 24px; background: #fff; box-shadow: 0 -12px 16px -12px rgba(18,10,51,.18); }
@media (max-width: 960px) { .filters-aside { display: none; } .filter-btn { display: inline-flex; } }
@media (max-width: 767px), (pointer: coarse) { .fopt { min-height: 44px; } }
/* Results bar above a listing: count on the left, sort + Filters button on the right */
.results-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 16px; }
.results-count { font-size: 14px; color: var(--muted); }
.results-count b { color: var(--navy); font-weight: 800; }
.results-tools { display: flex; align-items: center; gap: 8px; }
.select-sm { min-height: 40px; width: auto; padding: 0 38px 0 12px; font-size: 13.5px; font-weight: 600; background-position: right 10px center; }
@media (max-width: 767px), (pointer: coarse) { .select-sm { min-height: 44px; } }
.chip-x svg.i { width: 14px; height: 14px; opacity: .7; }

/* List row (exam.html results, compact lists): UI.rowCard(p) */
.lrow { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 12px 16px 12px 12px; }
.lrow-thumb { position: relative; display: block; width: 132px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--soft-2); }
.lrow-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.lrow:hover .lrow-thumb img { transform: scale(1.05); }
.lrow-body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.lrow-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.lrow-title { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lrow-title a:hover { color: var(--brand); }
.lrow-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--muted); }
.lrow-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; position: relative; z-index: 2; }
.lrow-side .price { align-items: flex-end; }
.lrow-actions { display: flex; gap: 6px; }
.lrow:hover { transform: translateY(-2px); box-shadow: var(--sh-lift); border-color: #D9DEF0; }
.group-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 32px 0 12px; }
.group-head:first-child { margin-top: 0; }
.group-head h3 { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; }
.group-head h3 svg.i { width: 22px; height: 22px; color: var(--brand); }
.group-head span { font-size: 13px; color: var(--muted); }
.group-head span b { color: var(--green); }
@media (max-width: 640px) {
  .lrow { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .lrow-thumb { width: 96px; }
  .lrow-title { font-size: 14px; }
  .lrow-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--soft-2); }
  .lrow-side .price { align-items: flex-start; }
  .lrow-actions .btn { min-height: 44px; }
}

/* Test rows (test.html): UI.testRows(p) from the real description, UI.testFacts(p) for the numbers */
.trows { display: grid; gap: 10px; }
.trow { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.trow:hover { border-color: var(--brand-ring); box-shadow: 0 14px 30px -22px rgba(67,56,202,.55); }
.trow-n { width: 56px; height: 56px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--green-soft); color: var(--green); line-height: 1; }
.trow-n b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.trow-n small { margin-top: 3px; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.trow-title { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.trow-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.trow-meta b { margin-left: 4px; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.trow-act { display: flex; align-items: center; gap: 8px; }
.trow.is-full .trow-n { background: var(--tile-grad); color: #fff; box-shadow: 0 0 0 1px rgba(245,158,11,.7); }
@media (max-width: 560px) {
  .trow { grid-template-columns: 48px minmax(0, 1fr); padding: 12px; }
  .trow-n { width: 48px; height: 48px; border-radius: 12px; }
  .trow-n b { font-size: 18px; }
  .trow-act { grid-column: 2 / -1; }
}

/* Long CMS descriptions: UI.richText(text) -> .rich (paragraphs, ticked lists, small headings) */
.rich { font-size: 15px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.rich > * + * { margin-top: 12px; }
.rich h4 { margin-top: 24px; font-size: 16.5px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; line-height: 1.35; }
.rich h4:first-child { margin-top: 0; }
.rich .rich-lead { font-weight: 700; color: var(--navy); }
.rich .rich-lead + .ticks { margin-top: 8px; }
.rich .ticks { font-size: 14.5px; gap: 8px; }
.rich a { color: var(--brand); font-weight: 600; }
/* Read more: UI.readMore(el, px) clamps a block with a fade and adds a toggle button */
.readmore { position: relative; overflow: hidden; transition: max-height .4s var(--ease); }
.readmore.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); pointer-events: none; }
.readmore-btn { margin-top: 8px; }

/* Course page media (single real banner; there are no extra gallery photos in the data) */
.media-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-tile); overflow: hidden; background: var(--soft-2); border: 1px solid var(--line); box-shadow: var(--sh-card); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .ccard-badges { top: 14px; left: 14px; right: 14px; }

/* Checkout: stepper, order summary, coupon field, payment options */
.stepper { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; font-size: 13px; font-weight: 700; color: var(--faint); }
.stepper li { display: flex; align-items: center; gap: 8px; }
.stepper li + li::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--line); }
.stepper .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-2); color: var(--muted); font-size: 12px; font-weight: 800; }
.stepper .n svg.i { width: 14px; height: 14px; stroke-width: 3; }
.stepper li.is-done { color: var(--green); }
.stepper li.is-done .n { background: var(--green); color: #fff; }
.stepper li.is-on { color: var(--navy); }
.stepper li.is-on .n { background: var(--brand); color: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.stepper.on-dark li { color: rgba(255,255,255,.6); }
.stepper.on-dark li.is-on { color: #fff; }
.stepper.on-dark li + li::before { background: rgba(255,255,255,.25); }
.summary { display: grid; }
.sum-item { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.sum-item img { width: 84px; aspect-ratio: 4 / 3; border-radius: 9px; object-fit: cover; flex: none; }
.sum-item b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.sum-item small { font-size: 12.5px; color: var(--muted); }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.sum-row b { font-weight: 700; color: var(--ink); white-space: nowrap; }
.sum-row s { color: var(--faint); }
.sum-row.is-save, .sum-row.is-save b { color: var(--green); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 15px; font-weight: 800; color: var(--navy); }
.sum-total b { font-size: 26px; letter-spacing: -.02em; }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; min-width: 0; }
.input-group .btn { flex: none; min-height: 48px; }
.pay-opts { display: grid; gap: 10px; }
.opt-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--soft-2); color: var(--ink-2); transition: background-color .2s, color .2s; }
.opt-ico svg.i { width: 20px; height: 20px; }
.opt:has(input:checked) .opt-ico { background: #fff; color: var(--brand); }
.opt-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.opt-text b { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.opt-text small { font-size: 12.5px; color: var(--muted); }
.opt .price { margin-left: auto; align-items: flex-end; }

/* ---------- 26. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .reveal-ready .reveal:not(.is-in) { opacity: 1; transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .ping::after { display: none; }
  .hero-float { animation: none; }
}

/* ---------- 27. Touch: 44px tap targets for small text links ---------- */
@media (max-width: 767px), (pointer: coarse) {
  .track-link, .ft-col a, .ft-bottom a, .crumbs a, .link-more { min-height: 44px; }
  .ft-col a, .ft-bottom a { min-width: 44px; }
  .ft-col ul { gap: 0; }
  /* stay inline: inline-block breaks the 2-line clamp in Safari, so card titles grew to 3 lines and prices stopped lining up */
  .ccard-title a, .bcard-title a, .tcard-title a { padding: 2px 0; }
}
