/* ===================================================================
   Pali Grammar Quiz — Mobile-first scholarly design
   =================================================================== */

:root {
	--gt-primary:        #3545a0;
	--gt-primary-dim:    #4e5eba;
	--gt-primary-soft:   #dee0ff;
	--gt-accent:         #f97316;
	--gt-surface:        #f7f9fc;
	--gt-card:           #ffffff;
	--gt-card-soft:      #f2f4f7;
	--gt-text:           #191c1e;
	--gt-text-soft:      #505f76;
	--gt-text-muted:     #767683;
	--gt-border:         #e0e3e6;
	--gt-success:        #10b981;
	--gt-warning:        #f59e0b;
	--gt-danger:         #ef4444;
	--gt-shadow-sm:      0 1px 2px rgba(25,28,30,.05);
	--gt-shadow-md:      0 4px 12px rgba(25,28,30,.06);
	--gt-shadow-lg:      0 16px 32px rgba(53,69,160,.08);
}

* { box-sizing: border-box; }

body.gt-body {
	background: var(--gt-surface);
	color: var(--gt-text);
	font-family: 'Sarabun', 'Public Sans', system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	margin: 0;
	min-height: 100vh;
}

.font-pali { font-family: 'Sarabun', 'Source Serif 4', serif; }

[v-cloak] { display: none; }

.gt-shell {
	max-width: 720px;
	margin: 0 auto;
	padding: 1.25rem 1rem 4rem;
}

/* ── Top app bar ──────────────────────────────────────── */
.gt-appbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: linear-gradient(135deg, var(--gt-primary), var(--gt-primary-dim));
	color: #fff;
	box-shadow: 0 4px 16px rgba(53,69,160,.25);
}
.gt-appbar-inner {
	max-width: 720px;
	margin: 0 auto;
	padding: 0.85rem 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.gt-back-btn {
	width: 38px; height: 38px;
	border-radius: 10px;
	background: rgba(255,255,255,.15);
	border: 1px solid rgba(255,255,255,.22);
	color: #fff;
	display: grid; place-items: center;
	text-decoration: none;
	flex-shrink: 0;
	transition: background .15s;
}
.gt-back-btn:hover { background: rgba(255,255,255,.28); }
.gt-back-btn:active { transform: scale(0.95); }
.gt-brand { display: flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; flex: 1; min-width: 0; }

/* ── Name input on landing ───────────────────────────── */
.gt-name-wrap {
	margin: 1.25rem 0 1rem;
	text-align: left;
}
.gt-name-label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--gt-text-soft);
	margin-bottom: 0.4rem;
}
.gt-name-label i { color: var(--gt-primary); margin-right: 0.3rem; }
.gt-name-input {
	width: 100%;
	padding: 0.85rem 1rem;
	font-size: 1rem;
	font-family: inherit;
	border: 2px solid var(--gt-border, #e0e3e6);
	border-radius: 12px;
	background: #fff;
	color: var(--gt-text, #191c1e);
	transition: border-color .15s, box-shadow .15s;
	box-sizing: border-box;
}
.gt-name-input:focus {
	outline: none;
	border-color: var(--gt-primary);
	box-shadow: 0 0 0 3px rgba(53,69,160,.15);
}

/* ── Share card (captured to image) ──────────────────── */
.gt-share-card { background: #fff; }
.gt-share-watermark {
	text-align: center;
	font-size: 0.78rem;
	color: var(--gt-text-muted);
	padding: 0.85rem 0.5rem;
	margin-top: 0.5rem;
	border-top: 1px dashed var(--gt-border, #e0e3e6);
}
.gt-share-watermark i { color: var(--gt-primary); margin-right: 0.3rem; }
.gt-brand-mark {
	width: 36px; height: 36px; border-radius: 10px;
	background: rgba(255,255,255,.18);
	border: 1px solid rgba(255,255,255,.25);
	display: grid; place-items: center;
}
.gt-brand-text { font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.gt-brand-sub  { display: block; font-size: 0.72rem; opacity: .8; margin-top: 2px; letter-spacing: 0.03em; }

/* ── Hero (landing) ───────────────────────────────────── */
.gt-hero {
	background: linear-gradient(180deg, #ffffff 0%, #f2f4f7 100%);
	border: 1px solid var(--gt-border);
	border-radius: 20px;
	padding: 2rem 1.5rem;
	margin-bottom: 1.25rem;
	box-shadow: var(--gt-shadow-md);
}
.gt-hero-eyebrow {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--gt-primary);
	background: var(--gt-primary-soft);
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 0.85rem;
}
.gt-hero-title {
	font-size: clamp(1.6rem, 5vw, 2.2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 0.5rem;
	color: var(--gt-text);
}
.gt-hero-sub {
	color: var(--gt-text-soft);
	line-height: 1.6;
	margin: 0 0 1.5rem;
}

/* ── Buttons ──────────────────────────────────────────── */
.gt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: none;
	padding: 0.9rem 1.5rem;
	border-radius: 14px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s, background .15s;
	font-family: inherit;
}
.gt-btn-primary {
	background: var(--gt-primary);
	color: #fff;
	box-shadow: 0 2px 8px rgba(53,69,160,.3);
	width: 100%;
}
.gt-btn-primary:hover { background: var(--gt-primary-dim); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(53,69,160,.4); }
.gt-btn-primary:active { transform: translateY(0); }
.gt-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.gt-btn-ghost {
	background: var(--gt-card);
	color: var(--gt-text-soft);
	border: 1px solid var(--gt-border);
}
.gt-btn-ghost:hover { background: var(--gt-card-soft); color: var(--gt-primary); }

/* ── Topic bento (landing) ────────────────────────────── */
.gt-bento {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}
.gt-bento-item {
	background: var(--gt-card);
	border: 1px solid var(--gt-border);
	border-radius: 14px;
	padding: 0.9rem;
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
}
.gt-bento-icon {
	flex-shrink: 0;
	width: 36px; height: 36px;
	border-radius: 10px;
	display: grid; place-items: center;
	color: #fff;
	font-size: 0.9rem;
}
.gt-bento-title { font-size: 0.95rem; font-weight: 700; margin: 0 0 2px; color: var(--gt-text); }
.gt-bento-desc  { font-size: 0.78rem; color: var(--gt-text-muted); line-height: 1.4; margin: 0; }

@media (min-width: 540px) {
	.gt-bento { grid-template-columns: repeat(3, 1fr); }
}

/* ── Progress bar ─────────────────────────────────────── */
.gt-progress {
	position: sticky;
	top: 64px;
	z-index: 40;
	background: var(--gt-surface);
	padding: 0.5rem 0 0.75rem;
	margin: -0.5rem -1rem 1rem;
	padding-left: 1rem; padding-right: 1rem;
}
.gt-progress-track {
	height: 8px;
	background: var(--gt-border);
	border-radius: 999px;
	overflow: hidden;
}
.gt-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--gt-primary), var(--gt-primary-dim));
	border-radius: 999px;
	transition: width .25s ease;
}
.gt-progress-text {
	font-size: 0.78rem;
	color: var(--gt-text-soft);
	margin-top: 0.4rem;
	display: flex;
	justify-content: space-between;
}

/* ── Quiz card ────────────────────────────────────────── */
.gt-quiz-card {
	background: var(--gt-card);
	border: 1px solid var(--gt-border);
	border-radius: 18px;
	padding: 1.25rem;
	margin-bottom: 1rem;
	box-shadow: var(--gt-shadow-md);
}
.gt-q-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.85rem;
	font-size: 0.7rem;
}
.gt-q-topic {
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
	color: #fff;
}
.gt-q-sub {
	color: var(--gt-text-muted);
	padding: 3px 9px;
	background: var(--gt-card-soft);
	border-radius: 999px;
}
.gt-q-text {
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.55;
	margin: 0 0 1.25rem;
	color: var(--gt-text);
}

/* ── Options ──────────────────────────────────────────── */
.gt-option {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	width: 100%;
	background: var(--gt-card);
	border: 2px solid var(--gt-border);
	border-radius: 14px;
	padding: 0.85rem 1rem;
	margin-bottom: 0.55rem;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	font-size: 0.98rem;
	color: var(--gt-text);
	transition: border-color .15s, background .15s, transform .1s;
}
.gt-option:hover {
	border-color: var(--gt-primary-soft);
	background: #fafbff;
}
.gt-option:active { transform: scale(0.985); }
.gt-option.is-selected {
	border-color: var(--gt-primary);
	background: var(--gt-primary-soft);
}
.gt-option-bullet {
	flex-shrink: 0;
	width: 26px; height: 26px;
	border-radius: 50%;
	border: 2px solid var(--gt-border);
	display: grid; place-items: center;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--gt-text-muted);
	transition: all .15s;
}
.gt-option.is-selected .gt-option-bullet {
	background: var(--gt-primary);
	border-color: var(--gt-primary);
	color: #fff;
}
.gt-option-text { flex: 1; line-height: 1.5; }

/* ── Nav buttons ──────────────────────────────────────── */
.gt-nav {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.5rem;
}
.gt-nav .gt-btn { flex: 1; padding: 0.85rem 1rem; font-size: 0.95rem; }

/* ── Result page ──────────────────────────────────────── */
.gt-result-header {
	text-align: center;
	margin-bottom: 1.5rem;
}
.gt-result-eyebrow {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--gt-primary);
	margin-bottom: 0.5rem;
}
.gt-result-title {
	font-size: clamp(1.5rem, 5vw, 2rem);
	font-weight: 700;
	margin: 0 0 0.4rem;
	color: var(--gt-text);
}
.gt-result-summary {
	color: var(--gt-text-soft);
	margin: 0;
}

.gt-score-card {
	background: var(--gt-card);
	border: 1px solid var(--gt-border);
	border-radius: 18px;
	padding: 1.5rem;
	margin-bottom: 1.25rem;
	text-align: center;
	box-shadow: var(--gt-shadow-md);
}
.gt-score-percent {
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1;
	margin: 0;
	letter-spacing: -0.04em;
}
.gt-score-label {
	display: inline-block;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 999px;
	color: #fff;
	font-size: 0.85rem;
	margin: 0.75rem 0 0.4rem;
}
.gt-score-desc {
	color: var(--gt-text-soft);
	margin: 0.4rem 0 0;
	font-size: 0.92rem;
}

/* ── Chart card ──────────────────────────────────────── */
.gt-chart-card {
	background: var(--gt-card);
	border: 1px solid var(--gt-border);
	border-radius: 18px;
	padding: 1rem 0.75rem 1.25rem;
	margin-bottom: 1.25rem;
	box-shadow: var(--gt-shadow-md);
}
.gt-chart-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0.25rem 0 0.5rem;
	padding-left: 0.5rem;
	color: var(--gt-text);
}
.gt-chart-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-width: 480px;
	margin: 0 auto;
}

/* ── Breakdown table ──────────────────────────────────── */
.gt-breakdown {
	background: var(--gt-card);
	border: 1px solid var(--gt-border);
	border-radius: 18px;
	padding: 1.25rem;
	margin-bottom: 1.25rem;
	box-shadow: var(--gt-shadow-md);
}
.gt-breakdown-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.85rem;
}
.gt-row {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--gt-border);
}
.gt-row:last-child { border-bottom: none; }
.gt-row-dot {
	width: 12px; height: 12px;
	border-radius: 50%;
	flex-shrink: 0;
}
.gt-row-name {
	flex: 1;
	font-weight: 600;
	font-size: 0.95rem;
}
.gt-row-bar {
	width: 90px;
	height: 6px;
	background: var(--gt-border);
	border-radius: 999px;
	overflow: hidden;
	flex-shrink: 0;
}
.gt-row-bar-fill { display: block; height: 100%; border-radius: 999px; transition: width .4s; }
.gt-row-score {
	font-weight: 700;
	min-width: 44px;
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: var(--gt-text);
}

/* ── Review list (per-question explanation) ───────────── */
.gt-review {
	background: var(--gt-card);
	border: 1px solid var(--gt-border);
	border-radius: 18px;
	padding: 1.25rem;
	margin-bottom: 1.25rem;
	box-shadow: var(--gt-shadow-md);
}
.gt-review-item {
	padding: 0.85rem 0;
	border-bottom: 1px dashed var(--gt-border);
}
.gt-review-item:last-child { border-bottom: none; }
.gt-review-head {
	display: flex;
	gap: 0.5rem;
	font-size: 0.85rem;
	margin-bottom: 0.45rem;
}
.gt-review-num {
	font-weight: 700;
	color: var(--gt-text-muted);
	min-width: 32px;
}
.gt-review-status {
	font-weight: 700;
	padding: 1px 8px;
	border-radius: 4px;
	font-size: 0.7rem;
	flex-shrink: 0;
}
.gt-review-status.ok { background: #dcfce7; color: #166534; }
.gt-review-status.bad { background: #fee2e2; color: #991b1b; }
.gt-review-q {
	font-weight: 600;
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	line-height: 1.5;
}
.gt-review-ans {
	font-size: 0.88rem;
	color: var(--gt-text-soft);
	margin: 0.25rem 0;
}
.gt-review-ans b { color: var(--gt-text); }
.gt-review-exp {
	font-size: 0.88rem;
	color: var(--gt-text);
	background: var(--gt-card-soft);
	border-left: 3px solid var(--gt-primary);
	padding: 0.55rem 0.75rem;
	border-radius: 0 8px 8px 0;
	margin-top: 0.5rem;
	line-height: 1.55;
}

/* ── Subject picker (landing) ─────────────────────────── */
/* ── Landing hero (subject picker) ───────────────────── */
.gt-landing-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #3545a0 0%, #4e5eba 60%, #6b7ed4 100%);
	color: #fff;
	border-radius: 24px;
	padding: 2.5rem 1.5rem 1.5rem;
	margin: 0.5rem 0 1.75rem;
	text-align: center;
	box-shadow: 0 12px 40px rgba(53,69,160,.28);
}
.gt-landing-hero::before {
	content: '';
	position: absolute;
	top: -60px; right: -60px;
	width: 200px; height: 200px;
	border-radius: 50%;
	background: rgba(255,255,255,.08);
	pointer-events: none;
}
.gt-landing-hero::after {
	content: '';
	position: absolute;
	bottom: -80px; left: -40px;
	width: 220px; height: 220px;
	border-radius: 50%;
	background: rgba(255,255,255,.06);
	pointer-events: none;
}
.gt-landing-glyph {
	width: 64px; height: 64px;
	margin: 0 auto 1rem;
	border-radius: 18px;
	background: rgba(255,255,255,.18);
	border: 1px solid rgba(255,255,255,.28);
	display: grid; place-items: center;
	font-size: 1.75rem;
	box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.gt-landing-hero .gt-hero-eyebrow {
	display: inline-block;
	background: rgba(255,255,255,.18);
	color: #fff;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	margin-bottom: 1rem;
	backdrop-filter: blur(4px);
}
.gt-landing-title {
	font-size: 1.85rem;
	line-height: 1.2;
	font-weight: 800;
	margin: 0 0 0.85rem;
	color: #fff;
	letter-spacing: -0.01em;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}
.gt-landing-title-line,
.gt-landing-title-em {
	display: block;
}
.gt-landing-title-em {
	background: linear-gradient(90deg, #ffd86b, #ffb84a);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-top: 0.8rem;
}
.gt-landing-sub {
	color: rgba(255,255,255,.88);
	font-size: 0.95rem;
	line-height: 1.65;
	margin: 0 0 1.5rem;
	max-width: 540px;
	margin-left: auto;
	margin-right: auto;
}
.gt-landing-sub b { color: #fff; }

.gt-stat-chips {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
	margin-top: 1.25rem;
	position: relative;
}
.gt-stat-chip {
	background: rgba(255,255,255,.16);
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 14px;
	padding: 0.7rem 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	justify-content: center;
	backdrop-filter: blur(6px);
}
.gt-stat-chip > i {
	font-size: 1.05rem;
	color: #ffd86b;
}
.gt-stat-chip > div { text-align: left; line-height: 1.15; }
.gt-stat-num { font-size: 1.15rem; font-weight: 800; color: #fff; }
.gt-stat-label { font-size: 0.7rem; color: rgba(255,255,255,.78); margin-top: 1px; }

@media (max-width: 380px) {
	.gt-landing-title { font-size: 1.6rem; }
	.gt-stat-chips { grid-template-columns: 1fr; }
	.gt-stat-chip { justify-content: flex-start; padding: 0.6rem 0.85rem; }
}

/* ── Section title (landing) ─────────────────────────── */
.gt-section-title {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 1rem;
	font-weight: 700;
	margin: 1.75rem 0 0.9rem;
	padding-left: 0.25rem;
	color: var(--gt-text-soft);
}
.gt-section-title i { color: var(--gt-primary); }

/* ── Subject cards (refined) ─────────────────────────── */
.gt-subjects {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-bottom: 1rem;
}
@media (min-width: 720px) {
	.gt-subjects { grid-template-columns: 1fr 1fr; }
}

.gt-subject-card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 0.95rem;
	background:
		linear-gradient(135deg, var(--accent-soft, #f7f8fb) 0%, #ffffff 55%),
		var(--gt-card, #fff);
	border: 1px solid var(--gt-border, #e0e3e6);
	border-radius: 20px;
	padding: 1.35rem 1.25rem 1.15rem;
	text-decoration: none;
	color: var(--gt-text);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
	box-shadow: 0 6px 22px rgba(20, 24, 50, .06);
}
.gt-subject-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 6px; height: 100%;
	background: linear-gradient(180deg, var(--accent, var(--gt-primary)), var(--accent-2, var(--gt-primary-dim)));
}
.gt-subject-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(20, 24, 50, .12);
	border-color: var(--accent, var(--gt-primary));
}
.gt-subject-watermark {
	position: absolute;
	right: -18px; bottom: -22px;
	font-size: 7rem;
	color: var(--accent, var(--gt-primary));
	opacity: 0.06;
	pointer-events: none;
	line-height: 1;
	transform: rotate(-12deg);
}
.gt-subject-head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	position: relative;
	z-index: 1;
}
.gt-subject-icon {
	flex-shrink: 0;
	width: 58px; height: 58px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--accent, var(--gt-primary)), var(--accent-2, var(--gt-primary-dim)));
	color: #fff;
	display: grid; place-items: center;
	font-size: 1.45rem;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--accent, #3545a0) 35%, transparent);
}
.gt-subject-eyebrow {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--accent, var(--gt-primary));
	background: color-mix(in srgb, var(--accent, #3545a0) 12%, transparent);
	padding: 2px 8px;
	border-radius: 999px;
	margin-bottom: 4px;
}
.gt-subject-title {
	font-size: 1.3rem;
	font-weight: 800;
	margin: 0;
	color: var(--gt-text);
	letter-spacing: -0.005em;
}

.gt-topic-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	position: relative;
	z-index: 1;
}
.gt-topic-chip {
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--accent, #3545a0) 25%, #e0e3e6);
	color: var(--gt-text-soft);
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 500;
	transition: background .15s, color .15s;
}
.gt-subject-card:hover .gt-topic-chip {
	background: color-mix(in srgb, var(--accent, #3545a0) 10%, #fff);
	color: var(--gt-text);
}

.gt-subject-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 0.5rem;
	border-top: 1px dashed var(--gt-border, #e0e3e6);
	position: relative;
	z-index: 1;
}
.gt-subject-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	font-size: 0.78rem;
	color: var(--gt-text-muted);
}
.gt-meta-pill {
	background: rgba(255,255,255,.7);
	border: 1px solid var(--gt-border, #e0e3e6);
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.76rem;
	color: var(--gt-text-soft);
	font-weight: 500;
}
.gt-meta-pill i { color: var(--accent, var(--gt-primary)); margin-right: 0.2rem; }
.gt-subject-cta {
	padding: 8px 16px;
	background: linear-gradient(135deg, var(--accent, var(--gt-primary)), var(--accent-2, var(--gt-primary-dim)));
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.85rem;
	white-space: nowrap;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--accent, #3545a0) 38%, transparent);
	transition: transform .18s, box-shadow .18s;
}
.gt-subject-card:hover .gt-subject-cta {
	transform: translateX(3px);
	box-shadow: 0 8px 22px color-mix(in srgb, var(--accent, #3545a0) 50%, transparent);
}
.gt-subject-cta i { margin-left: 0.3rem; transition: transform .18s; }
.gt-subject-card:hover .gt-subject-cta i { transform: translateX(2px); }

/* ── Features grid (what you get) ────────────────────── */
.gt-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin-bottom: 1rem;
}
.gt-feature {
	background: var(--gt-card);
	border: 1px solid var(--gt-border, #e0e3e6);
	border-radius: 14px;
	padding: 0.85rem;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	box-shadow: var(--gt-shadow-sm);
}
.gt-feature-icon {
	width: 40px; height: 40px;
	border-radius: 11px;
	display: grid; place-items: center;
	flex-shrink: 0;
	font-size: 1rem;
}
.gt-feature-title {
	font-size: 0.9rem;
	font-weight: 700;
	margin: 0 0 2px;
	color: var(--gt-text);
}
.gt-feature-desc {
	font-size: 0.76rem;
	color: var(--gt-text-muted);
	margin: 0;
	line-height: 1.4;
}
@media (max-width: 380px) {
	.gt-features { grid-template-columns: 1fr; }
}

/* ── Mobile-only tweaks ───────────────────────────────── */
@media (max-width: 480px) {
	.gt-shell { padding: 0.85rem 0.85rem 4rem; }
	.gt-quiz-card { padding: 1rem; }
	.gt-q-text { font-size: 1.02rem; }
	.gt-option { padding: 0.75rem 0.85rem; font-size: 0.93rem; }
	.gt-score-percent { font-size: 3rem; }
}
