:root {
	--iexamhub-navy: #08204a;
	--iexamhub-blue: #2563eb;
	--iexamhub-blue-dark: #1746aa;
	--iexamhub-orange: #f97316;
	--iexamhub-orange-dark: #ea580c;
	--iexamhub-green: #16a34a;
	--iexamhub-cyan: #0891b2;
	--iexamhub-purple: #7c3aed;
	--iexamhub-red: #ef4444;
	--iexamhub-text: #13213c;
	--iexamhub-muted: #65738d;
	--iexamhub-border: #dbe6f5;
	--iexamhub-surface: #ffffff;
	--iexamhub-soft: #f5f8fc;
	--iexamhub-soft-blue: #eef6ff;
	--iexamhub-shadow: 0 18px 44px rgba(8, 32, 74, 0.10);
	--iexamhub-shadow-soft: 0 10px 26px rgba(8, 32, 74, 0.08);
	--iexamhub-radius: 8px;
	--iexamhub-container: 1180px;
	--iexamhub-header-offset: 92px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #ffffff;
	color: var(--iexamhub-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--iexamhub-orange);
}

img {
	height: auto;
	max-width: 100%;
}

button,
input {
	font: inherit;
}

.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;
}

.screen-reader-text:focus {
	background: #ffffff;
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow-soft);
	clip: auto;
	clip-path: none;
	color: var(--iexamhub-navy);
	display: block;
	height: auto;
	left: 16px;
	padding: 10px 14px;
	top: 16px;
	width: auto;
	z-index: 100000;
}

.iexamhub-container {
	margin: 0 auto;
	max-width: var(--iexamhub-container);
	padding: 0 24px;
	width: 100%;
}

.site-header {
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(219, 230, 245, 0.86);
	box-shadow: 0 10px 30px rgba(8, 32, 74, 0.06);
	position: sticky;
	top: 0;
	z-index: 50;
}

body.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

.header-inner {
	align-items: center;
	display: flex;
	gap: 22px;
	min-height: 76px;
}

.site-branding {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}

.brand-link,
.footer-brand {
	align-items: center;
	display: inline-flex;
	gap: 12px;
}

.custom-logo-link {
	display: inline-flex;
	max-width: 230px;
}

.brand-mark {
	align-items: center;
	background: linear-gradient(135deg, var(--iexamhub-orange), #ffb15f);
	border: 3px solid #fff3e6;
	border-radius: var(--iexamhub-radius);
	box-shadow: 0 8px 18px rgba(249, 115, 22, 0.24);
	color: #ffffff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	height: 42px;
	justify-content: center;
	letter-spacing: 0;
	width: 42px;
}

.brand-mark-small {
	height: 34px;
	width: 34px;
}

.brand-copy {
	display: grid;
	gap: 0;
}

.brand-name {
	color: var(--iexamhub-navy);
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
}

.brand-name::first-letter {
	color: var(--iexamhub-blue);
}

.brand-tagline {
	color: var(--iexamhub-muted);
	font-size: 11px;
	font-weight: 700;
	margin-top: 4px;
}

.primary-nav {
	flex: 1 1 auto;
}

.primary-menu {
	align-items: center;
	display: flex;
	gap: 6px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu a {
	border-radius: var(--iexamhub-radius);
	color: var(--iexamhub-navy);
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	padding: 11px 10px;
	position: relative;
	white-space: nowrap;
}

.primary-menu a::after {
	background: var(--iexamhub-orange);
	border-radius: 10px;
	bottom: 3px;
	content: "";
	height: 3px;
	left: 12px;
	opacity: 0;
	position: absolute;
	right: 12px;
	transform: translateY(4px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.primary-menu a:hover::after,
.primary-menu a:focus::after,
.primary-menu .current-menu-item > a::after {
	opacity: 1;
	transform: translateY(0);
}

.header-actions {
	align-items: center;
	display: flex;
	gap: 12px;
}

.header-icon-button,
.menu-toggle {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: 50%;
	color: var(--iexamhub-navy);
	display: inline-flex;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.header-icon-button:hover,
.header-icon-button:focus,
.menu-toggle:hover,
.menu-toggle:focus {
	border-color: var(--iexamhub-blue);
	color: var(--iexamhub-blue);
}

.menu-toggle {
	display: none;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
	background: currentColor;
	border-radius: 10px;
	display: block;
	height: 2px;
	position: relative;
	width: 18px;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
	content: "";
	left: 0;
	position: absolute;
}

.menu-toggle-bars::before {
	top: -6px;
}

.menu-toggle-bars::after {
	top: 6px;
}

.button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: var(--iexamhub-radius);
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	gap: 8px;
	justify-content: center;
	line-height: 1;
	min-height: 42px;
	padding: 0 18px;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus {
	transform: translateY(-1px);
}

.button-primary {
	background: var(--iexamhub-orange);
	color: #ffffff;
}

.button-primary:hover,
.button-primary:focus {
	background: var(--iexamhub-orange-dark);
	color: #ffffff;
}

.button-outline {
	background: #ffffff;
	border-color: #9ec1ff;
	color: var(--iexamhub-blue);
}

.button-outline:hover,
.button-outline:focus {
	background: var(--iexamhub-soft-blue);
	border-color: var(--iexamhub-blue);
	color: var(--iexamhub-blue-dark);
}

.button-small {
	font-size: 12px;
	min-height: 34px;
	padding: 0 12px;
}

.button-icon {
	align-items: center;
	background: var(--iexamhub-blue);
	border-radius: 50%;
	color: #ffffff;
	display: inline-flex;
	font-size: 10px;
	font-weight: 900;
	height: 18px;
	justify-content: center;
	text-transform: uppercase;
	width: 18px;
}

.hero-section {
	background:
		radial-gradient(circle at 78% 18%, rgba(37, 99, 235, 0.10), transparent 30%),
		linear-gradient(180deg, #f8fbff 0%, #ffffff 78%);
	overflow: hidden;
	padding: 34px 0 18px;
}

.hero-grid {
	align-items: center;
	display: grid;
	gap: 30px;
	grid-template-columns: minmax(0, 0.94fr) minmax(350px, 1.06fr);
	min-height: 390px;
}

.section-kicker {
	color: var(--iexamhub-blue);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.hero-content h1 {
	color: var(--iexamhub-navy);
	font-size: clamp(40px, 5vw, 64px);
	letter-spacing: 0;
	line-height: 0.98;
	margin: 0;
	max-width: 650px;
}

.hero-content h1 span {
	color: var(--iexamhub-orange);
	display: block;
}

.hero-copy {
	color: var(--iexamhub-muted);
	font-size: 17px;
	margin: 18px 0 22px;
	max-width: 560px;
}

.hero-search {
	align-items: center;
	background: #ffffff;
	border: 1px solid #ffb177;
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow-soft);
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	max-width: 610px;
	overflow: hidden;
}

.hero-search input {
	border: 0;
	color: var(--iexamhub-text);
	min-height: 54px;
	outline: 0;
	width: 100%;
}

.hero-search input::placeholder {
	color: #8a96aa;
}

.search-prefix {
	color: var(--iexamhub-navy);
	display: inline-flex;
	justify-content: center;
}

.hero-search .button {
	border-radius: 0;
	min-height: 54px;
	padding: 0 28px;
}

.quick-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.filter-chip {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: 999px;
	color: var(--iexamhub-navy);
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	min-height: 38px;
	padding: 0 16px;
}

.filter-chip:hover,
.filter-chip:focus {
	background: var(--iexamhub-soft-blue);
	border-color: #9ec1ff;
	color: var(--iexamhub-blue);
}

.hero-visual {
	aspect-ratio: 1.35 / 1;
	justify-self: end;
	max-width: 620px;
	min-height: 330px;
	position: relative;
	width: 100%;
}

.visual-orbit {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(8, 145, 178, 0.08));
	border-radius: 50%;
	height: 82%;
	left: 9%;
	position: absolute;
	top: 6%;
	width: 84%;
}

.visual-book-stack {
	bottom: 16%;
	height: 180px;
	left: 26%;
	position: absolute;
	width: 360px;
}

.book {
	border-radius: var(--iexamhub-radius);
	box-shadow: 0 16px 26px rgba(8, 32, 74, 0.18);
	display: block;
	height: 46px;
	position: absolute;
	transform: skewY(-8deg);
	width: 340px;
}

.book::after {
	background: rgba(255, 255, 255, 0.82);
	border-radius: 0 var(--iexamhub-radius) var(--iexamhub-radius) 0;
	content: "";
	height: 19px;
	position: absolute;
	right: 12px;
	top: 13px;
	width: 220px;
}

.book-top {
	background: var(--iexamhub-blue);
	left: 4px;
	top: 14px;
}

.book-mid {
	background: var(--iexamhub-orange);
	left: 24px;
	top: 74px;
}

.book-bottom {
	background: #2f9ec4;
	left: 2px;
	top: 132px;
}

.visual-cap {
	background: #0d285a;
	border-radius: var(--iexamhub-radius);
	box-shadow: 0 14px 24px rgba(8, 32, 74, 0.24);
	height: 74px;
	left: 39%;
	position: absolute;
	top: 18%;
	transform: perspective(240px) rotateX(50deg) rotateZ(8deg);
	width: 230px;
}

.visual-cap span {
	background: #123a79;
	border-radius: 0 0 12px 12px;
	bottom: -44px;
	height: 52px;
	left: 72px;
	position: absolute;
	width: 92px;
}

.visual-cap::after {
	background: #f6bc2d;
	border-radius: 999px;
	content: "";
	height: 6px;
	position: absolute;
	right: -8px;
	top: 35px;
	transform: rotate(20deg);
	width: 90px;
}

.visual-globe {
	align-items: center;
	background: linear-gradient(145deg, #5bbdf6, #2563eb);
	border: 7px solid #ffffff;
	border-radius: 50%;
	bottom: 20%;
	box-shadow: var(--iexamhub-shadow-soft);
	color: #ffffff;
	display: flex;
	font-size: 28px;
	font-weight: 900;
	height: 120px;
	justify-content: center;
	left: 6%;
	position: absolute;
	width: 120px;
}

.visual-board {
	background: #ffffff;
	border: 8px solid #b68661;
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow);
	display: grid;
	gap: 18px;
	padding: 32px 28px;
	position: absolute;
	right: 2%;
	top: 30%;
	width: 190px;
}

.visual-board span {
	background: linear-gradient(90deg, #5ba3ff 0 16px, #e7eef9 16px);
	border-radius: 999px;
	height: 12px;
}

.visual-pencil {
	background: linear-gradient(90deg, #ffd35a, #f97316 72%, #0d285a 72%);
	border-radius: 999px;
	bottom: 9%;
	height: 24px;
	position: absolute;
	right: 19%;
	transform: rotate(-2deg);
	width: 210px;
}

.archive-section {
	padding: 16px 0;
}

#grades,
#subjects,
#latest-papers,
#overview,
#saved,
#recent,
#history,
#profile {
	scroll-margin-top: var(--iexamhub-header-offset);
}

body.admin-bar #grades,
body.admin-bar #subjects,
body.admin-bar #latest-papers,
body.admin-bar #overview,
body.admin-bar #saved,
body.admin-bar #recent,
body.admin-bar #history,
body.admin-bar #profile {
	scroll-margin-top: calc(var(--iexamhub-header-offset) + 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar #grades,
	body.admin-bar #subjects,
	body.admin-bar #latest-papers,
	body.admin-bar #overview,
	body.admin-bar #saved,
	body.admin-bar #recent,
	body.admin-bar #history,
	body.admin-bar #profile {
		scroll-margin-top: calc(var(--iexamhub-header-offset) + 46px);
	}
}

.archive-section-tight {
	margin-top: -6px;
	position: relative;
	z-index: 2;
}

.archive-section-bottom {
	padding-bottom: 36px;
}

.category-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.category-card,
.content-panel,
.paper-card,
.stats-strip,
.dashboard-sidebar,
.dashboard-welcome,
.summary-card,
.saved-paper-card,
.download-row,
.post-card,
.page-article {
	background: var(--iexamhub-surface);
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow-soft);
}

.category-card {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: 56px minmax(0, 1fr);
	min-height: 104px;
	padding: 14px;
}

.category-card:hover,
.category-card:focus,
.subject-card:hover,
.subject-card:focus,
.paper-card:hover,
.paper-card:focus-within {
	border-color: color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 45%, #ffffff);
	transform: translateY(-2px);
}

.card-icon,
.subject-icon,
.stat-icon,
.summary-card > span,
.download-icon,
.saved-paper-card > span {
	align-items: center;
	background: color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 13%, #ffffff);
	border-radius: var(--iexamhub-radius);
	color: var(--card-accent, var(--iexamhub-blue));
	display: inline-flex;
	font-weight: 900;
	justify-content: center;
}

.card-icon {
	background: var(--card-accent, var(--iexamhub-blue));
	color: #ffffff;
	font-size: 16px;
	height: 56px;
	width: 56px;
}

.card-copy {
	display: grid;
	min-width: 0;
}

.card-copy strong {
	color: var(--iexamhub-navy);
	font-size: 16px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.card-copy small {
	color: var(--iexamhub-muted);
	font-size: 12px;
	margin-top: 3px;
}

.card-arrow {
	color: var(--iexamhub-navy);
	font-size: 18px;
	line-height: 1;
	margin-top: 4px;
}

.split-grid {
	align-items: start;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(360px, 0.74fr) minmax(0, 1.26fr);
}

.content-panel {
	padding: 22px;
}

.section-heading {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.section-heading h2 {
	color: var(--iexamhub-navy);
	font-size: 22px;
	line-height: 1.2;
	margin: 0;
}

.section-heading a {
	color: var(--iexamhub-blue);
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
}

.subject-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
}

.subject-card {
	align-items: center;
	background: #fbfdff;
	border: 1px solid #edf3fb;
	border-radius: var(--iexamhub-radius);
	color: var(--iexamhub-navy);
	display: flex;
	flex-direction: column;
	font-size: 14px;
	font-weight: 800;
	gap: 10px;
	min-height: 112px;
	justify-content: center;
	min-width: 0;
	padding: 12px 10px;
	text-align: center;
	transition: border-color 180ms ease, transform 180ms ease;
}

.subject-card span:last-child {
	display: block;
	line-height: 1.25;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.subject-icon {
	font-size: 20px;
	height: 62px;
	width: 62px;
}

.paper-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paper-card {
	display: flex;
	flex-direction: column;
	gap: 11px;
	min-height: 286px;
	min-width: 0;
	padding: 18px;
	position: relative;
	transition: border-color 180ms ease, transform 180ms ease;
}

.paper-badge {
	background: var(--iexamhub-orange);
	border-radius: 999px;
	color: #ffffff;
	font-size: 10px;
	font-weight: 900;
	left: -6px;
	line-height: 1;
	padding: 6px 8px;
	position: absolute;
	text-transform: uppercase;
	top: -8px;
}

.paper-meta {
	align-items: center;
	color: var(--iexamhub-blue);
	display: flex;
	font-size: 13px;
	font-weight: 900;
	gap: 8px;
	justify-content: space-between;
	line-height: 1.2;
	margin-bottom: 0;
	min-width: 0;
	text-transform: uppercase;
}

.paper-meta span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.paper-card h3 {
	color: var(--iexamhub-navy);
	font-size: 16px;
	line-height: 1.32;
	margin: 0;
	overflow-wrap: anywhere;
}

.paper-details {
	display: grid;
	gap: 10px;
	margin: 0;
}

.paper-details div {
	display: grid;
	gap: 2px;
}

.paper-details dt {
	color: var(--iexamhub-muted);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.paper-details dd {
	color: var(--iexamhub-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	overflow-wrap: anywhere;
}

.paper-type {
	background: var(--iexamhub-soft);
	border-radius: 999px;
	color: var(--iexamhub-muted);
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0;
	max-width: 100%;
	padding: 4px 8px;
	place-self: start;
}

.paper-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	min-width: 0;
}

.paper-actions .button {
	flex: 1 1 118px;
	min-width: 0;
	padding-left: 10px;
	padding-right: 10px;
	white-space: nowrap;
}

.stats-strip {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	overflow: hidden;
	padding: 0;
}

.stat-item {
	align-items: center;
	display: grid;
	gap: 16px;
	grid-template-columns: 58px minmax(0, 1fr);
	min-height: 112px;
	padding: 18px 24px;
}

.stat-item + .stat-item {
	border-left: 1px solid var(--iexamhub-border);
}

.stat-icon {
	font-size: 14px;
	height: 58px;
	width: 58px;
}

.stat-item strong {
	color: var(--card-accent, var(--iexamhub-blue));
	display: block;
	font-size: 17px;
	line-height: 1.2;
	margin-bottom: 4px;
}

.stat-item p {
	color: var(--iexamhub-muted);
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
}

.page-main,
.dashboard-main {
	background: linear-gradient(180deg, #f8fbff 0%, #ffffff 320px);
	padding: 44px 0 58px;
}

.page-article {
	margin: 0 auto;
	max-width: 860px;
	padding: 34px;
}

.page-header h1,
.dashboard-welcome h1 {
	color: var(--iexamhub-navy);
	font-size: clamp(34px, 4vw, 50px);
	line-height: 1.05;
	margin: 0;
}

.entry-content {
	color: var(--iexamhub-text);
}

.entry-content a {
	color: var(--iexamhub-blue);
	text-decoration: underline;
}

.post-list {
	display: grid;
	gap: 16px;
}

.post-card {
	padding: 24px;
}

.post-card h2 {
	margin: 0 0 8px;
}

.post-meta {
	color: var(--iexamhub-muted);
	font-size: 14px;
	margin: 0 0 10px;
}

.pagination-wrap {
	margin-top: 28px;
}

.empty-state {
	margin: 0 auto;
	max-width: 720px;
}

.site-footer {
	background: #081b3d;
	color: rgba(255, 255, 255, 0.78);
	padding: 34px 0;
}

.footer-inner {
	align-items: center;
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 1.2fr) auto auto;
}

.footer-brand {
	color: #ffffff;
	font-size: 20px;
	font-weight: 900;
}

.site-footer p {
	margin: 8px 0 0;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.footer-nav a {
	color: rgba(255, 255, 255, 0.82);
	font-weight: 800;
}

.footer-copy {
	text-align: right;
}

.dashboard-layout {
	display: grid;
	gap: 24px;
	grid-template-columns: 268px minmax(0, 1fr);
}

.dashboard-sidebar {
	align-self: start;
	padding: 18px;
	position: sticky;
	top: 108px;
}

body.admin-bar .dashboard-sidebar {
	top: 140px;
}

.dashboard-user {
	align-items: center;
	border-bottom: 1px solid var(--iexamhub-border);
	display: grid;
	gap: 12px;
	grid-template-columns: 48px 1fr;
	padding-bottom: 16px;
}

.dashboard-user strong {
	color: var(--iexamhub-navy);
	display: block;
	line-height: 1.2;
}

.dashboard-user span span,
.profile-card p,
.dashboard-welcome p {
	color: var(--iexamhub-muted);
}

.dashboard-avatar {
	align-items: center;
	background: linear-gradient(135deg, var(--iexamhub-blue), #6ea8ff);
	border-radius: var(--iexamhub-radius);
	color: #ffffff;
	display: inline-flex;
	font-size: 15px;
	font-weight: 900;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.dashboard-avatar-large {
	height: 64px;
	width: 64px;
}

.dashboard-tabs {
	display: grid;
	gap: 8px;
	margin-top: 16px;
}

.dashboard-tabs a {
	border-radius: var(--iexamhub-radius);
	color: var(--iexamhub-navy);
	font-weight: 800;
	padding: 11px 12px;
	white-space: nowrap;
}

.dashboard-tabs a:hover,
.dashboard-tabs a:focus,
.dashboard-tabs a.is-active {
	background: var(--iexamhub-soft-blue);
	color: var(--iexamhub-blue);
}

.dashboard-content {
	display: grid;
	gap: 18px;
}

.dashboard-welcome {
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(249, 115, 22, 0.08)),
		#ffffff;
	padding: 30px;
}

.dashboard-welcome p {
	margin: 12px 0 0;
	max-width: 680px;
}

.dashboard-summary {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.summary-card {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: 54px 1fr;
	padding: 18px;
}

.summary-card > span {
	height: 54px;
	width: 54px;
}

.summary-card strong {
	color: var(--iexamhub-navy);
	display: block;
	font-size: 28px;
	line-height: 1;
}

.summary-card p {
	color: var(--iexamhub-muted);
	font-weight: 800;
	margin: 5px 0 0;
}

.dashboard-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
}

.dashboard-panel {
	box-shadow: var(--iexamhub-shadow-soft);
}

.download-list {
	display: grid;
	gap: 12px;
}

.download-row {
	align-items: center;
	box-shadow: none;
	display: grid;
	gap: 14px;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	min-width: 0;
	padding: 14px;
}

.download-icon,
.saved-paper-card > span {
	color: var(--iexamhub-blue);
	height: 48px;
	width: 48px;
}

.download-row h3,
.saved-paper-card h3 {
	color: var(--iexamhub-navy);
	font-size: 15px;
	line-height: 1.25;
	margin: 0;
	overflow-wrap: anywhere;
}

.download-row p,
.saved-paper-card p {
	color: var(--iexamhub-muted);
	font-size: 13px;
	margin: 4px 0 0;
	overflow-wrap: anywhere;
}

.download-row time {
	color: var(--iexamhub-muted);
	font-size: 12px;
	font-weight: 800;
}

.profile-top {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: 64px 1fr;
}

.profile-top h2 {
	color: var(--iexamhub-navy);
	font-size: 20px;
	line-height: 1.2;
	margin: 0 0 4px;
}

.profile-card p {
	font-size: 13px;
	margin: 0;
}

.profile-details {
	display: grid;
	gap: 12px;
	margin: 18px 0 0;
}

.profile-details div {
	align-items: center;
	background: var(--iexamhub-soft);
	border-radius: var(--iexamhub-radius);
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 10px 12px;
}

.profile-details dt {
	color: var(--iexamhub-muted);
	font-weight: 800;
}

.profile-details dd {
	color: var(--iexamhub-navy);
	font-weight: 900;
	margin: 0;
	text-align: right;
}

.saved-paper-grid,
.recent-paper-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.saved-paper-card {
	align-items: center;
	box-shadow: none;
	display: grid;
	gap: 12px;
	grid-template-columns: 48px minmax(0, 1fr);
	min-width: 0;
	padding: 14px;
}

.saved-paper-card .button {
	grid-column: 1 / -1;
}

@media (max-width: 1100px) {
	.dashboard-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1160px) {
	.hero-grid {
		gap: 24px;
		grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
		min-height: 360px;
	}

	.hero-content h1 {
		font-size: clamp(38px, 4.8vw, 54px);
	}

	.hero-visual {
		min-height: 300px;
	}

	.category-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.split-grid {
		grid-template-columns: 1fr;
	}

	.paper-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 920px) {
	.header-inner {
		gap: 14px;
		min-height: 68px;
	}

	.menu-toggle {
		display: inline-flex;
		margin-left: 0;
		order: 3;
	}

	.site-branding {
		margin-right: auto;
	}

	.primary-nav {
		background: #ffffff;
		border-bottom: 1px solid var(--iexamhub-border);
		box-shadow: var(--iexamhub-shadow-soft);
		display: block;
		left: 0;
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		padding: 12px 24px 18px;
		pointer-events: none;
		position: absolute;
		right: 0;
		top: 68px;
		transform: translateY(-8px);
		transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease;
		visibility: hidden;
	}

	.nav-open .primary-nav {
		max-height: 440px;
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
		visibility: visible;
	}

	.primary-menu {
		align-items: stretch;
		display: grid;
		gap: 4px;
		justify-content: stretch;
	}

	.primary-menu a {
		display: flex;
		padding: 13px 10px;
	}

	.primary-menu a::after {
		display: none;
	}

	.header-actions {
		display: flex;
		gap: 8px;
		order: 2;
	}

	.header-icon-button {
		height: 40px;
		width: 40px;
	}

	.header-login {
		min-height: 40px;
		padding: 0 12px;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-top: 22px;
	}

	.hero-content h1 {
		font-size: clamp(38px, 8vw, 58px);
	}

	.hero-visual {
		margin: 0 auto;
		max-width: 620px;
		min-height: 310px;
		width: 100%;
	}

	.subject-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stats-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stat-item + .stat-item {
		border-left: 0;
	}

	.stat-item:nth-child(even) {
		border-left: 1px solid var(--iexamhub-border);
	}

	.stat-item:nth-child(n+3) {
		border-top: 1px solid var(--iexamhub-border);
	}

	.footer-inner {
		grid-template-columns: 1fr;
	}

	.footer-copy {
		text-align: left;
	}

	.dashboard-layout {
		grid-template-columns: 1fr;
	}

	.dashboard-sidebar {
		position: static;
	}

	.dashboard-tabs {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.dashboard-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.iexamhub-container {
		padding: 0 16px;
	}

	.brand-tagline {
		display: none;
	}

	.header-login {
		font-size: 0;
		gap: 0;
		min-width: 40px;
		padding: 0;
		width: 40px;
	}

	.brand-name {
		font-size: 22px;
	}

	.hero-section {
		padding-top: 14px;
	}

	.hero-search {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	.hero-search .button {
		border-radius: 0;
		grid-column: 1 / -1;
		width: 100%;
	}

	.paper-grid,
	.dashboard-summary,
	.saved-paper-grid,
	.recent-paper-grid {
		grid-template-columns: 1fr;
	}

	.category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.subject-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stats-strip {
		grid-template-columns: 1fr;
	}

	.stat-item,
	.stat-item:nth-child(even),
	.stat-item:nth-child(n+3) {
		border-left: 0;
		border-top: 1px solid var(--iexamhub-border);
	}

	.stat-item:first-child {
		border-top: 0;
	}

	.hero-visual {
		min-height: 270px;
	}

	.visual-book-stack {
		left: 22%;
		transform: scale(0.72);
		transform-origin: left bottom;
	}

	.visual-cap {
		left: 33%;
		transform: perspective(240px) rotateX(50deg) rotateZ(8deg) scale(0.78);
		transform-origin: left top;
	}

	.visual-globe {
		bottom: 19%;
		height: 88px;
		width: 88px;
	}

	.visual-board {
		right: 0;
		transform: scale(0.78);
		transform-origin: right top;
	}

	.visual-pencil {
		right: 14%;
		transform: scale(0.74) rotate(-2deg);
		transform-origin: right bottom;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.download-row {
		grid-template-columns: 48px minmax(0, 1fr);
	}

	.download-row time {
		grid-column: 2;
	}
}

@media (max-width: 520px) {
	.category-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.brand-mark {
		height: 38px;
		width: 38px;
	}

	.brand-name {
		font-size: 20px;
	}

	.hero-content h1 {
		font-size: 36px;
	}

	.hero-copy {
		font-size: 15px;
	}
}
