/* =========================================================================
   Hylos theme — mobile first
   ========================================================================= */

/* ---------- Fonts (self-hosted: fast, no outside requests) ---------- */
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/baloo-2-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/baloo-2-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/baloo-2-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/baloo-2-devanagari-600-normal.woff2) format("woff2"); unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/baloo-2-devanagari-700-normal.woff2) format("woff2"); unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/baloo-2-devanagari-800-normal.woff2) format("woff2"); unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/mukta-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/mukta-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/mukta-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/mukta-devanagari-400-normal.woff2) format("woff2"); unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/mukta-devanagari-600-normal.woff2) format("woff2"); unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/mukta-devanagari-700-normal.woff2) format("woff2"); unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09; }

/* ---------- Design tokens ---------- */
:root {
	--hy-violet: #7f43f9;
	--hy-violet-700: #6a2ee8;
	--hy-violet-800: #5520c7;
	--hy-violet-50: #f6f2ff;
	--hy-violet-100: #ece3ff;
	--hy-ink: #1d1640;
	--hy-ink-2: #2b2257;
	--hy-text: #2a2540;
	--hy-muted: #615b78;
	--hy-line: #e7e2f3;
	--hy-bg: #ffffff;
	--hy-tint: #faf8ff;
	--hy-sun: #ffb547;
	--hy-sun-700: #f29a12;
	--hy-mint: #19b37a;
	--hy-coral: #ff6b6b;
	--hy-radius: 16px;
	--hy-radius-sm: 10px;
	--hy-shadow: 0 1px 2px rgba(29,22,64,.06), 0 8px 24px rgba(29,22,64,.08);
	--hy-shadow-lg: 0 24px 60px rgba(29,22,64,.18);
	--hy-font-head: "Baloo 2", "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
	--hy-font: "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
	--hy-header-h: 68px;
	--hy-tabbar-h: 64px;
}

/* Hylos LMS pages pick up the brand colours. */
body .hylos-wrap {
	--hylos-primary: var(--hy-violet);
	--hylos-primary-ink: #fff;
	--hylos-ink: var(--hy-text);
	--hylos-muted: var(--hy-muted);
	--hylos-line: var(--hy-line);
	--hylos-soft: var(--hy-violet-50);
	--hylos-radius: var(--hy-radius-sm);
	font-family: var(--hy-font);
	padding-top: 24px;
	padding-bottom: 40px;
}
body .hylos-wrap h1, body .hylos-wrap h2, body .hylos-wrap h3,
body .hylos-wrap .hylos-h1, body .hylos-wrap .hylos-h2 { font-family: var(--hy-font-head); color: var(--hy-ink); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hy-header-h) + 12px); }
body {
	margin: 0;
	font-family: var(--hy-font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--hy-text);
	background: var(--hy-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.hy-lang-hi body, body.hy-lang-hi { line-height: 1.75; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--hy-violet-700); text-underline-offset: 3px; }
a:hover { color: var(--hy-violet-800); }
h1, h2, h3, h4 { font-family: var(--hy-font-head); color: var(--hy-ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--hy-sun); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--hy-violet-100); color: var(--hy-ink); }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.hy-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--hy-ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top .15s; }
.hy-skip:focus { top: 12px; color: #fff; }
.hy-site:focus { outline: none; }

.hy-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.hy-container--narrow { max-width: 820px; }
.hy-muted { color: var(--hy-muted); }
.hy-icon { flex: 0 0 auto; vertical-align: middle; }

/* ---------- Buttons ---------- */
.hy-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--hy-font); font-size: 1rem; font-weight: 700; line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.hy-btn:hover { transform: translateY(-1px); }
.hy-btn:active { transform: translateY(0); }
.hy-btn--sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.hy-btn--lg { min-height: 54px; padding: 12px 26px; font-size: 1.05rem; }
.hy-btn--block { display: flex; width: 100%; }
.hy-btn--primary { background: var(--hy-violet); color: #fff; box-shadow: 0 6px 18px rgba(127,67,249,.32); }
.hy-btn--primary:hover { background: var(--hy-violet-700); color: #fff; }
.hy-btn--sun { background: var(--hy-sun); color: var(--hy-ink); box-shadow: 0 8px 22px rgba(255,181,71,.38); }
.hy-btn--sun:hover { background: #ffc266; color: var(--hy-ink); }
.hy-btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.hy-btn--light:hover { background: #fff; color: var(--hy-violet-700); }
.hy-btn--outline { background: #fff; color: var(--hy-violet-700); border-color: var(--hy-violet-100); }
.hy-btn--outline:hover { border-color: var(--hy-violet); color: var(--hy-violet-700); }
.hy-btn--ghost { background: var(--hy-violet-50); color: var(--hy-violet-700); }
.hy-link { color: var(--hy-ink); font-weight: 600; text-decoration: none; padding: 8px 6px; }
.hy-link:hover { color: var(--hy-violet-700); }

/* ---------- Announcement ---------- */
.hy-announce { background: var(--hy-ink); color: #fff; font-size: .92rem; text-align: center; }
.hy-announce .hy-container { padding-top: 8px; padding-bottom: 8px; }
.hy-announce a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.hy-announce a:hover { color: var(--hy-sun); }

/* ---------- Header ---------- */
.hy-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.92);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .2s, border-color .2s;
}
.admin-bar .hy-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .hy-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .hy-header { top: 0; } }
.hy-header.is-scrolled { border-bottom-color: var(--hy-line); box-shadow: 0 4px 20px rgba(29,22,64,.06); }
.hy-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--hy-header-h); }
.hy-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.hy-logo__img { display: block; height: 40px; width: auto; }
.hy-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.hy-nav { display: none; }
.hy-nav__list { list-style: none; margin: 0; padding: 0; }
.hy-nav__list a { text-decoration: none; color: var(--hy-ink); font-weight: 600; }
.hy-nav__list .current-menu-item > a, .hy-nav__list a[aria-current] { color: var(--hy-violet-700); }

/* Language switch from Hylos LMS, made compact */
.hy-lang .hylos-lang-switch { display: inline-flex; border: 1px solid var(--hy-line); border-radius: 999px; overflow: hidden; background: #fff; }
.hy-lang .hylos-lang-switch a { padding: 6px 11px; font-size: .85rem; font-weight: 700; color: var(--hy-muted); text-decoration: none; line-height: 1.2; }
.hy-lang .hylos-lang-switch a.is-active { background: var(--hy-violet); color: #fff; }

.hy-menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--hy-line);
	background: #fff; color: var(--hy-ink); cursor: pointer;
}
.hy-menu-toggle__close { display: none; }
.hy-menu-open .hy-menu-toggle__open { display: none; }
.hy-menu-open .hy-menu-toggle__close { display: inline-flex; }
.hy-hide-mobile { display: none !important; }

/* Mobile drawer */
@media (max-width: 1023px) {
	.hy-menu-open .hy-nav {
		display: block; position: fixed; left: 0; right: 0; bottom: 0;
		top: var(--hy-nav-top, var(--hy-header-h));
		background: #fff; padding: 12px 18px calc(24px + var(--hy-tabbar-h)); overflow-y: auto;
		border-top: 1px solid var(--hy-line); animation: hy-slide .2s ease-out; z-index: 99;
	}
	.hy-nav__list li { border-bottom: 1px solid var(--hy-line); }
	.hy-nav__list a { display: block; padding: 15px 4px; font-size: 1.1rem; }
	.hy-nav__list .sub-menu { list-style: none; padding: 0 0 8px 14px; margin: 0; }
	.hy-nav__list .sub-menu li { border: 0; }
	.hy-nav__list .sub-menu a { padding: 8px 4px; font-size: 1rem; font-weight: 500; }
	.hy-nav__mobile-actions { display: grid; gap: 10px; margin-top: 20px; }
	.hy-menu-open { overflow: hidden; }
	/* A blurred header would trap the fixed drawer inside it. */
	.hy-menu-open .hy-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}
@keyframes hy-slide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 1024px) {
	.hy-hide-mobile { display: inline-flex !important; }
	.hy-menu-toggle { display: none; }
	.hy-nav { display: block; margin-left: 20px; }
	.hy-nav__mobile-actions { display: none; }
	.hy-nav__list { display: flex; gap: 4px; align-items: center; }
	.hy-nav__list > li { position: relative; }
	.hy-nav__list > li > a { display: block; padding: 8px 12px; border-radius: 999px; font-size: .98rem; }
	.hy-nav__list > li > a:hover { background: var(--hy-violet-50); color: var(--hy-violet-700); }
	.hy-nav__list > .current-menu-item > a { background: var(--hy-violet-50); }
	.hy-nav__list .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px;
		background: #fff; border: 1px solid var(--hy-line); border-radius: 14px; box-shadow: var(--hy-shadow);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
	}
	.hy-nav__list li:hover > .sub-menu, .hy-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.hy-nav__list .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 500; }
	.hy-nav__list .sub-menu a:hover { background: var(--hy-violet-50); }
	.hy-logo__img { height: 46px; }
}

/* ---------- Hero ---------- */
.hy-hero {
	position: relative; color: #fff; overflow: hidden;
	background:
		radial-gradient(900px 500px at 85% -10%, rgba(255,181,71,.28), transparent 60%),
		radial-gradient(700px 500px at -10% 110%, rgba(56,214,255,.22), transparent 60%),
		linear-gradient(135deg, #5a1fd6 0%, #7f43f9 48%, #9b6bff 100%);
}
.hy-hero::before {
	content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
	background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1.3px);
	background-size: 22px 22px;
	mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hy-hero__inner { position: relative; display: grid; gap: 40px; padding-top: 40px; padding-bottom: 90px; align-items: center; }
.hy-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; margin-bottom: 18px; }
.hy-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hy-sun); box-shadow: 0 0 0 4px rgba(255,181,71,.25); }
.hy-hero__title { color: #fff; font-size: clamp(2.1rem, 7.5vw, 3.7rem); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; margin-bottom: 18px; }
.hy-lang-hi .hy-hero__title { line-height: 1.25; }
.hy-hero__accent { display: block; color: var(--hy-sun); }
.hy-hero__text { font-size: 1.12rem; color: rgba(255,255,255,.9); max-width: 34em; margin-bottom: 26px; }
.hy-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hy-hero__actions .hy-btn { flex: 1 1 auto; }
.hy-hero__facts { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255,255,255,.85); font-size: .95rem; }
.hy-hero__facts strong { display: block; color: #fff; font-family: var(--hy-font-head); font-size: 1.45rem; line-height: 1.1; }
.hy-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 50px; fill: #fff; }

/* Mock exam card illustration */
.hy-hero__art { position: relative; max-width: 460px; width: 100%; margin: 0 auto; }
.hy-mock { background: #fff; color: var(--hy-text); border-radius: 22px; padding: 18px; box-shadow: var(--hy-shadow-lg); transform: rotate(-1.2deg); }
.hy-mock__bar { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--hy-ink); font-size: .95rem; padding-bottom: 12px; border-bottom: 1px solid var(--hy-line); }
.hy-mock__timer { display: inline-flex; align-items: center; gap: 6px; background: var(--hy-ink); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: .85rem; font-variant-numeric: tabular-nums; }
.hy-mock__q { font-weight: 600; margin: 14px 0 12px; color: var(--hy-ink); }
.hy-mock__opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hy-mock__opts li { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--hy-line); border-radius: 12px; padding: 9px 12px; font-size: .95rem; }
.hy-mock__opts b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #c9c2de; font-size: .8rem; color: var(--hy-muted); }
.hy-mock__opts .is-right { border-color: var(--hy-mint); background: #ecfbf4; color: #0b6b47; font-weight: 600; }
.hy-mock__opts .is-right b { background: var(--hy-mint); border-color: var(--hy-mint); color: #fff; }
.hy-mock__opts .is-right .hy-icon { margin-left: auto; color: var(--hy-mint); }
.hy-mock__palette { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 14px; }
.hy-mock__palette span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; background: #eef0f5; font-size: .72rem; font-weight: 700; color: var(--hy-muted); }
.hy-mock__palette .a { background: var(--hy-mint); color: #fff; }
.hy-mock__palette .m { background: var(--hy-violet); color: #fff; border-radius: 50%; }
.hy-mock__palette .c { background: #fff; outline: 2px solid var(--hy-sun); color: var(--hy-ink); }
.hy-float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--hy-ink); border-radius: 14px; padding: 10px 14px; box-shadow: var(--hy-shadow-lg); animation: hy-bob 5s ease-in-out infinite; }
.hy-float small { display: block; color: var(--hy-muted); font-size: .75rem; line-height: 1.2; }
.hy-float strong { font-family: var(--hy-font-head); font-size: 1.25rem; line-height: 1.1; }
.hy-float .hy-icon { color: var(--hy-violet); }
.hy-float--rank { bottom: -24px; right: 22px; animation-delay: -1.2s; }
.hy-float--score { bottom: -20px; left: -10px; animation-delay: -2.5s; }
.hy-float--score .hy-icon { color: var(--hy-mint); }
@keyframes hy-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (min-width: 900px) {
	.hy-hero__inner { grid-template-columns: 1.1fr .9fr; padding-top: 72px; padding-bottom: 120px; }
	.hy-hero__actions .hy-btn { flex: 0 0 auto; }
	.hy-hero__art { margin: 0 0 0 auto; }
	.hy-hero__wave { height: 80px; }
}

/* ---------- Live strip ---------- */
.hy-strip { position: relative; z-index: 2; margin-top: -34px; }
.hy-strip__inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--hy-line); border-radius: 18px; box-shadow: var(--hy-shadow); padding: 14px 16px; max-width: 1080px; }
.hy-strip__inner p { margin: 0; flex: 1 1 200px; color: var(--hy-text); }
.hy-strip__inner strong { color: var(--hy-ink); }
.hy-strip__badge { display: inline-flex; align-items: center; gap: 6px; background: #ffecec; color: #d63c3c; font-weight: 800; font-size: .78rem; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.hy-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; display: inline-block; animation: hy-pulse 1.6s infinite; }
@keyframes hy-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,77,77,.6); } 70% { box-shadow: 0 0 0 8px rgba(255,77,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,77,0); } }

/* ---------- Sections ---------- */
.hy-section { padding: 56px 0; }
.hy-section--flush { padding-top: 8px; }
.hy-section--tint { background: var(--hy-tint); }
.hy-section--dark { background: linear-gradient(160deg, var(--hy-ink) 0%, #2d1a6b 100%); color: rgba(255,255,255,.86); }
.hy-section--dark h2, .hy-section--dark h3 { color: #fff; }
.hy-section__head { max-width: 720px; margin-bottom: 30px; }
.hy-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.hy-section__head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; }
.hy-section__head--row > div { max-width: 720px; }
.hy-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--hy-violet-700); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.hy-lang-hi .hy-eyebrow { letter-spacing: 0; font-size: .95rem; }
.hy-eyebrow--light { color: var(--hy-sun); }
.hy-section__title { font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; }
.hy-section__text { color: var(--hy-muted); font-size: 1.08rem; margin: 0; }
.hy-section--dark .hy-section__text { color: rgba(255,255,255,.75); }
@media (min-width: 900px) { .hy-section { padding: 84px 0; } .hy-section--flush { padding-top: 8px; } }

/* ---------- Grid + cards ---------- */
.hy-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .hy-grid--3, .hy-grid--subjects, .hy-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hy-grid--3, .hy-grid--subjects { grid-template-columns: repeat(3, 1fr); } .hy-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.hy-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); padding: 22px; box-shadow: 0 1px 2px rgba(29,22,64,.04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.hy-card:hover { transform: translateY(-3px); box-shadow: var(--hy-shadow); border-color: var(--hy-violet-100); }
.hy-card__title { font-size: 1.25rem; margin: 0 0 6px; }
.hy-card__title a { color: inherit; text-decoration: none; }
.hy-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hy-card__link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--hy-violet-700); position: relative; z-index: 1; }
.hy-card .hy-muted { margin: 0; }

.hy-subject__top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.hy-subject__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--hy-violet-50); color: var(--hy-violet); flex: 0 0 auto; }
.hy-subject--biology .hy-subject__icon { background: #e7f8f0; color: #129563; }
.hy-subject--physics .hy-subject__icon { background: #e8f1ff; color: #2a6fe0; }
.hy-subject--chemistry .hy-subject__icon { background: #fff2e2; color: #d97a06; }
.hy-subject--maths .hy-subject__icon, .hy-subject--mathematics .hy-subject__icon { background: #ffe9ef; color: #d23a63; }
.hy-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.hy-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--hy-violet-50); color: var(--hy-ink); font-size: .92rem; font-weight: 600; text-decoration: none; }
.hy-chips a:hover { background: var(--hy-violet); color: #fff; }
.hy-chips a span { font-size: .78rem; background: #fff; color: var(--hy-violet-700); border-radius: 999px; padding: 0 7px; }
.hy-card--cta { background: linear-gradient(150deg, var(--hy-violet-50), #fff); border-style: dashed; border-color: #cdb8ff; justify-content: center; }
.hy-card--cta .hy-btn { align-self: flex-start; margin-top: 6px; }

.hy-test__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.hy-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--hy-ink); color: #fff; }
.hy-tag--soft { background: var(--hy-violet-50); color: var(--hy-violet-700); }
.hy-test__meta { list-style: none; margin: 4px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--hy-muted); font-size: .95rem; }
.hy-test__meta li { display: inline-flex; align-items: center; gap: 6px; }
.hy-test__meta .hy-icon { color: var(--hy-violet); }
.hy-test .hy-btn { margin-top: auto; position: relative; z-index: 1; }

.hy-course { padding: 0; overflow: hidden; }
.hy-course__img { display: block; aspect-ratio: 16/9; background: var(--hy-violet-50); overflow: hidden; }
.hy-course__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.hy-course:hover .hy-course__img img { transform: scale(1.04); }
.hy-course__ph { display: grid; place-items: center; height: 100%; color: var(--hy-violet); }
.hy-course__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }

.hy-empty { background: #fff; border: 1px dashed #cdb8ff; border-radius: var(--hy-radius); padding: 28px; text-align: center; color: var(--hy-muted); }
.hy-empty p { margin: 0; }

/* Steps */
.hy-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
.hy-steps li { position: relative; background: #fff; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); padding: 24px 22px 22px; }
.hy-steps h3 { font-size: 1.2rem; margin-bottom: 4px; }
.hy-steps p { margin: 0; color: var(--hy-muted); }
.hy-steps__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--hy-violet); color: #fff; font-family: var(--hy-font-head); font-size: 1.3rem; font-weight: 800; margin-bottom: 14px; box-shadow: 0 6px 16px rgba(127,67,249,.3); }
@media (min-width: 800px) {
	.hy-steps { grid-template-columns: repeat(3, 1fr); }
	.hy-steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -18px; width: 18px; border-top: 2px dashed #cdb8ff; }
}

/* Features (dark band) */
.hy-feature { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--hy-radius); padding: 22px; }
.hy-feature h3 { font-size: 1.2rem; margin: 12px 0 4px; }
.hy-feature p { margin: 0; color: rgba(255,255,255,.75); }
.hy-feature__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,181,71,.16); color: var(--hy-sun); }

/* CTA band */
.hy-cta { position: relative; overflow: hidden; display: grid; gap: 20px; align-items: center; background: linear-gradient(130deg, #5a1fd6, #7f43f9 55%, #a77bff); color: #fff; border-radius: 26px; padding: 30px 24px; box-shadow: var(--hy-shadow-lg); }
.hy-cta::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,181,71,.45), transparent 65%); pointer-events: none; }
.hy-cta h2 { color: #fff; font-size: clamp(1.5rem, 4.5vw, 2.2rem); font-weight: 800; }
.hy-cta p { color: rgba(255,255,255,.88); margin: 0; }
.hy-cta__copy, .hy-cta__actions { position: relative; z-index: 1; }
.hy-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hy-cta--slim { margin-top: 36px; }
@media (min-width: 900px) { .hy-cta { grid-template-columns: 1.4fr auto; padding: 46px 48px; } .hy-cta__actions { justify-content: flex-end; } }

/* FAQ */
.hy-faq { display: grid; gap: 12px; }
.hy-faq__item { background: #fff; border: 1px solid var(--hy-line); border-radius: 14px; padding: 0 20px; transition: box-shadow .2s, border-color .2s; }
.hy-faq__item[open] { border-color: var(--hy-violet-100); box-shadow: var(--hy-shadow); }
.hy-faq__item summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-family: var(--hy-font-head); font-weight: 700; font-size: 1.12rem; color: var(--hy-ink); }
.hy-faq__item summary::-webkit-details-marker { display: none; }
.hy-faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--hy-violet-50); color: var(--hy-violet-700); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.hy-faq__item[open] summary::after { content: "–"; }
.hy-faq__item p { margin: 0 0 18px; color: var(--hy-muted); }

/* ---------- Page header + prose ---------- */
.hy-pagehead { background: linear-gradient(180deg, var(--hy-violet-50), #fff); padding: 44px 0 30px; }
.hy-pagehead__title { font-size: clamp(1.9rem, 6vw, 2.8rem); font-weight: 800; margin: 0; }
.hy-pagehead__text { color: var(--hy-muted); font-size: 1.1rem; margin: 10px 0 0; }
.hy-prose { padding-bottom: 60px; font-size: 1.06rem; }
.hy-prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.hy-prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.hy-prose ul, .hy-prose ol { padding-left: 1.3em; }
.hy-prose li { margin-bottom: .4em; }
.hy-prose img { border-radius: 14px; }
.hy-prose blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--hy-violet); background: var(--hy-violet-50); border-radius: 0 12px 12px 0; }
.hy-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .98rem; }
.hy-prose th, .hy-prose td { border: 1px solid var(--hy-line); padding: 10px 12px; text-align: left; }
.hy-prose thead td, .hy-prose th { background: var(--hy-violet-50); font-weight: 700; }
.hy-article__img img { width: 100%; }
.hy-lms-page { min-height: 50vh; }

/* Hylos LMS pages: the header already has the language switch. */
.hylos-wrap .hylos-toolbar .hylos-lang-switch { display: none; }
.hy-pagehead--lms { padding: 32px 0 6px; }
.hy-pagehead--lms + .hy-lms-page .hylos-wrap { padding-top: 8px; }

/* Elementor pages inside the theme */
.elementor-page .hy-main { min-height: 40vh; }

/* Contact */
.hy-contact { text-decoration: none; color: inherit; }
.hy-contact .hy-feature__icon { background: var(--hy-violet-50); color: var(--hy-violet); margin-bottom: 12px; }
.hy-contact__value { font-weight: 700; color: var(--hy-ink); margin: 0 0 4px; word-break: break-word; }
.hy-contact--empty { border-style: dashed; }
.hy-contact__address { display: flex; gap: 8px; align-items: flex-start; margin: 24px 0 0; color: var(--hy-muted); }

/* 404 */
.hy-404 { text-align: center; }
.hy-404__code { font-family: var(--hy-font-head); font-weight: 800; font-size: clamp(5rem, 22vw, 9rem); line-height: 1; margin: 0; background: linear-gradient(135deg, var(--hy-violet), var(--hy-sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hy-404__actions { justify-content: center; margin-top: 24px; }
.hy-404__actions .hy-btn { flex: 0 0 auto; }

/* Pagination */
.hy-pagination, .navigation.pagination { margin: 30px 0 60px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--hy-line); text-decoration: none; font-weight: 700; color: var(--hy-ink); }
.nav-links .page-numbers.current { background: var(--hy-violet); border-color: var(--hy-violet); color: #fff; }

/* Admin-only placeholder */
.hy-placeholder { display: inline-block; margin-top: 10px; padding: 6px 12px; border: 1.5px dashed var(--hy-sun); border-radius: 10px; color: var(--hy-sun) !important; font-size: .88rem; font-weight: 600; text-decoration: none; }
.hy-contact--empty .hy-placeholder { color: var(--hy-sun-700) !important; }

/* ---------- Footer ---------- */
.hy-footer { background: var(--hy-ink); color: rgba(255,255,255,.75); padding: 56px 0 0; font-size: .98rem; }
.hy-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.hy-footer a:hover { color: #fff; }
.hy-footer__grid { display: grid; gap: 34px; }
.hy-logo--footer .hy-logo__img { height: 50px; }
.hy-footer__brand p { margin: 16px 0 0; max-width: 30em; }
.hy-footer__title { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.hy-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hy-footer__contact a, .hy-footer__address { display: inline-flex; gap: 10px; align-items: center; }
.hy-footer__address { align-items: flex-start; }
.hy-footer__contact .hy-btn { margin-top: 4px; }
.hy-social { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 10px; }
.hy-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); }
.hy-social a:hover { background: var(--hy-violet); }
.hy-footer__bottom { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .88rem; color: rgba(255,255,255,.6); }
@media (min-width: 760px) { .hy-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* ---------- Mobile bottom tab bar ---------- */
.hy-tabbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: grid; grid-template-columns: repeat(5, 1fr);
	background: rgba(255,255,255,.97); border-top: 1px solid var(--hy-line);
	padding-bottom: env(safe-area-inset-bottom);
	box-shadow: 0 -6px 20px rgba(29,22,64,.06);
}
.hy-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: var(--hy-tabbar-h); font-size: .74rem; font-weight: 600; color: var(--hy-muted); text-decoration: none; }
.hy-tabbar a.is-active { color: var(--hy-violet-700); }
.hy-tabbar a.is-active .hy-icon { background: var(--hy-violet-50); border-radius: 10px; padding: 3px 11px; width: 22px; height: 22px; box-sizing: content-box; }
body { padding-bottom: calc(var(--hy-tabbar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .hy-tabbar { display: none; } body { padding-bottom: 0; } }

/* WhatsApp button */
.hy-whatsapp { position: fixed; right: 16px; bottom: calc(var(--hy-tabbar-h) + 16px + env(safe-area-inset-bottom)); z-index: 91; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.4); transition: transform .15s; }
.hy-whatsapp:hover { color: #fff; transform: scale(1.06); }
@media (min-width: 1024px) { .hy-whatsapp { bottom: 24px; right: 24px; } }

/* ---------- Widgets / WordPress classes ---------- */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text, figcaption { color: var(--hy-muted); font-size: .9rem; }
.wp-block-button__link { border-radius: 999px; background: var(--hy-violet); }
.has-hylos-violet-color { color: #7f43f9; } .has-hylos-violet-background-color { background-color: #7f43f9; }
.has-hylos-ink-color { color: #1d1640; } .has-hylos-ink-background-color { background-color: #1d1640; }
.has-hylos-lavender-color { color: #f3eeff; } .has-hylos-lavender-background-color { background-color: #f3eeff; }
.has-hylos-sun-color { color: #ffb547; } .has-hylos-sun-background-color { background-color: #ffb547; }

/* Forms (login/registration plugins, WooCommerce, comments) */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"], input[type="search"], select, textarea {
	font: inherit; font-size: 16px; color: var(--hy-text); background: #fff; border: 1.5px solid #d9d2ec; border-radius: 12px; padding: 11px 14px; max-width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--hy-violet); box-shadow: 0 0 0 4px var(--hy-violet-100); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.hy-mock { transform: none; }
}

/* ---------- Print ---------- */
@media print { .hy-header, .hy-footer, .hy-tabbar, .hy-whatsapp, .hy-announce { display: none !important; } body { padding: 0; } }
