/* LearnGenZ.in — shared stylesheet (no framework). Brand: indigo/navy + purple accent, Poppins. */
:root{
  --primary:#1e3a8a;--navy:#0b2b5e;--navy-2:#1a4b8c;--secondary:#6d28d9;--highlight:#2563eb;
  --soft:#eff6ff;--ink:#1e293b;--muted:#475569;--line:#e2e8f0;--card:#f8fafc;
  --yellow:#facc15;--yellow-2:#fbbf24;--warn-bg:#fffbeb;--warn-line:#fcd34d;--radius:18px;
  --shadow:0 8px 24px rgba(15,23,42,.06);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;line-height:1.65;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
img,svg{max-width:100%}
h1,h2,h3,h4{line-height:1.25;color:#0f172a;margin:0 0 .6rem}
p{margin:0 0 1rem}
ul,ol{margin:0 0 1rem}
a{color:var(--highlight)}
a:hover{color:var(--primary)}
:focus-visible{outline:3px solid #f59e0b;outline-offset:2px;border-radius:4px}
[id]{scroll-margin-top:92px}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.narrow{max-width:820px;margin-left:auto;margin-right:auto}
.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-999px;top:8px;background:#fff;color:var(--primary);padding:10px 16px;border-radius:8px;z-index:300;font-weight:600}
.skip-link:focus{left:12px}
.icon{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:-.2em}

/* ---------- Header / navigation ---------- */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;justify-content:space-between;min-height:68px;gap:16px}
.logo{font-size:1.65rem;font-weight:800;letter-spacing:-.02em;color:var(--primary);text-decoration:none;white-space:nowrap}
.logo span{color:var(--secondary)}
.logo:hover{color:var(--primary)}
.site-nav ul{list-style:none;margin:0;padding:0}
.site-nav>ul{display:flex;align-items:center;gap:6px}
.site-nav a{display:inline-block;color:#334155;text-decoration:none;font-weight:500;font-size:.95rem;padding:8px 12px;border-radius:10px}
.site-nav a:hover,.site-nav a[aria-current="page"]{color:var(--primary);background:var(--soft)}
.site-nav a[aria-current="page"]{font-weight:600}
.has-sub{position:relative;display:flex;align-items:center}
.sub-toggle{background:none;border:0;padding:6px 4px;margin-left:-6px;cursor:pointer;color:#334155;display:inline-flex;border-radius:8px}
.sub-toggle:hover{background:var(--soft)}
.sub-toggle .icon{width:1em;height:1em;transition:transform .2s}
.has-sub.open .sub-toggle .icon{transform:rotate(180deg)}
.sub{display:none;position:absolute;left:0;top:100%;min-width:240px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 32px rgba(15,23,42,.12);padding:8px;z-index:20}
.sub a{display:block;width:100%}
.has-sub:hover>.sub,.has-sub:focus-within>.sub,.has-sub.open>.sub{display:block}
.header-actions{display:flex;align-items:center;gap:10px}
.search-link{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:#334155;border:1px solid var(--line);background:#fff}
.search-link:hover{background:var(--soft);color:var(--primary)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-weight:600;font-size:.95rem;text-decoration:none;border:2px solid transparent;border-radius:999px;padding:11px 24px;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s;line-height:1.2}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 8px 20px -8px rgba(30,58,138,.5)}
.btn-primary:hover{background:#1e40af;color:#fff}
.btn-outline{border-color:var(--primary);color:var(--primary);background:#fff}
.btn-outline:hover{background:var(--primary);color:#fff}
.btn-yellow{background:var(--yellow);color:#0f172a}
.btn-yellow:hover{background:var(--yellow-2);color:#0f172a}
.btn-white-outline{border-color:#fff;color:#fff;background:transparent}
.btn-white-outline:hover{background:#fff;color:var(--navy)}
.btn-lg{padding:14px 32px;font-size:1.05rem}
.btn-block{width:100%}
.nav-toggle{display:none;background:none;border:1px solid var(--line);border-radius:10px;width:42px;height:42px;align-items:center;justify-content:center;cursor:pointer;color:#334155}
.nav-toggle .icon{width:1.4em;height:1.4em}
.nav-toggle .i-close{display:none}
.nav-toggle[aria-expanded="true"] .i-open{display:none}
.nav-toggle[aria-expanded="true"] .i-close{display:inline-block}
@media (max-width:960px){
  .header-row{flex-wrap:wrap;padding:8px 0}
  .nav-toggle{display:inline-flex;margin-left:auto}
  .header-actions .btn{display:none}
  .site-nav{display:none;order:5;width:100%;padding:8px 0 14px;border-top:1px solid var(--line)}
  .site-nav.open{display:block}
  .site-nav>ul{flex-direction:column;align-items:stretch;gap:2px}
  .site-nav a{display:block;padding:11px 12px}
  .has-sub{flex-wrap:wrap}
  .has-sub>a{flex:1}
  .sub-toggle{display:none}
  .sub{display:block;position:static;box-shadow:none;border:0;border-left:3px solid var(--line);border-radius:0;margin:0 0 6px 14px;padding:0 0 0 6px;min-width:0;width:calc(100% - 14px)}
  .sub a{font-size:.9rem;color:var(--muted)}
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs{font-size:.85rem;color:var(--muted);padding:14px 0 4px}
.breadcrumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 8px}
.breadcrumbs li+li::before{content:"›";margin-right:8px;color:#94a3b8}
.breadcrumbs a{color:var(--muted);text-decoration:none}
.breadcrumbs a:hover{color:var(--primary);text-decoration:underline}
.breadcrumbs [aria-current]{color:#0f172a;font-weight:500}

/* ---------- Heroes ---------- */
.page-hero{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 100%);color:#fff;padding:56px 20px;text-align:center;border-radius:0 0 40px 40px;margin:12px 0 40px}
.page-hero h1{color:#fff;font-size:clamp(1.9rem,4.5vw,2.8rem);font-weight:800;margin-bottom:14px}
.page-hero .subtitle{font-size:1.1rem;max-width:760px;margin:0 auto 24px;opacity:.95}
.page-hero .badge{background:rgba(255,255,255,.18);padding:7px 20px;border-radius:30px;display:inline-block;margin-bottom:16px;font-weight:600;font-size:.88rem}
.hero-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.hero-home{text-align:center;padding:72px 0 64px}
.hero-home h1{font-size:clamp(2.2rem,6vw,4.2rem);font-weight:800;line-height:1.12;margin-bottom:20px}
.gradient-text{background:linear-gradient(135deg,#1e3a8a 0%,#6d28d9 80%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:var(--primary)}
.hero-home p.lead{font-size:1.2rem;color:var(--muted);max-width:680px;margin:0 auto 32px}
.hero-search{max-width:520px;margin:28px auto 0}

/* ---------- Layout blocks ---------- */
section.block{padding:8px 0}
.section-title{font-size:1.75rem;font-weight:700;margin:40px 0 18px;color:var(--navy);border-left:5px solid var(--navy);padding-left:16px}
.band{padding:64px 0}
.band-soft{background:var(--soft)}
.band h2.center,.center{text-align:center}
.band-head{text-align:center;margin-bottom:36px}
.band-head h2{font-size:clamp(1.7rem,3.5vw,2.4rem);font-weight:700}
.band-head p{color:var(--muted);max-width:620px;margin:0 auto}
.grid-2,.grid-3,.grid-4{display:grid;gap:22px;margin:18px 0}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}
.info-card,.module-card,.highlight-box{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.info-card h3,.module-card h3,.highlight-box h3,.highlight-card h3{color:var(--navy);font-size:1.12rem;margin-bottom:8px}
.module-card{background:#fff;border-left:5px solid var(--navy);box-shadow:var(--shadow)}
.highlight-card{background:#fff;border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);border-left:5px solid var(--navy)}
.highlight-box{background:var(--soft);border-color:#bfdbfe}
.accent-box{background:var(--soft);border:1px solid #bfdbfe;border-radius:var(--radius);padding:24px;margin:18px 0}
.info-card ul,.info-card ol,.accent-box ol,.highlight-box ul{padding-left:20px}
.info-card :last-child,.highlight-card :last-child,.module-card :last-child{margin-bottom:0}
.question-item,.faq-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin-bottom:10px}
.faq-item{background:var(--card)}
.question-item .q,.faq-question{font-weight:700;margin-bottom:6px;color:#0f172a}
.faq-item p:last-child,.question-item p:last-child{margin-bottom:0}
.notice{background:var(--warn-bg);border:1px solid var(--warn-line);border-radius:14px;padding:16px 18px;margin:20px 0;font-size:.95rem}
.notice strong{color:#92400e}
.soon{display:inline-block;background:#ede9fe;color:#5b21b6;font-weight:600;font-size:.78rem;padding:3px 12px;border-radius:999px;margin-bottom:8px}
.cta-section{background:linear-gradient(135deg,var(--navy),var(--navy-2));color:#fff;border-radius:28px;padding:44px 26px;text-align:center;margin:44px 0}
.cta-section h2{color:#fff}
.cta-section p{max-width:640px;margin-left:auto;margin-right:auto}
.author-section{background:#f1f5f9;border-radius:22px;padding:22px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:34px 0 22px}
.author-avatar{background:var(--navy);color:#fff;width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;flex:none}
.author-section h3{margin-bottom:2px}
.author-section p{margin:0;font-size:.95rem}
.meta{font-size:.88rem;color:var(--muted)}
.tag,.cat{display:inline-block;background:var(--soft);color:var(--primary);font-size:.72rem;font-weight:600;padding:4px 12px;border-radius:999px;border:1px solid rgba(30,58,138,.1);text-decoration:none;letter-spacing:.3px}
a.tag:hover{background:var(--primary);color:#fff}
.table-wrap{overflow-x:auto;margin:18px 0;border:1px solid var(--line);border-radius:14px}
table{border-collapse:collapse;width:100%;min-width:560px;font-size:.93rem}
th,td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top}
th{background:var(--soft);color:var(--navy);font-weight:600}
tr:last-child td{border-bottom:0}

/* ---------- Cards (home + blog) ---------- */
.card{background:#fff;border:1px solid rgba(209,213,219,.6);border-radius:24px;box-shadow:0 16px 36px -14px rgba(0,0,0,.10);overflow:hidden;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s,border-color .25s}
.card:hover{transform:translateY(-6px);box-shadow:0 26px 44px -16px rgba(30,58,138,.28);border-color:var(--highlight)}
.card-banner{height:150px;display:block;width:100%}
.card-body{padding:22px 24px 26px;display:flex;flex-direction:column;flex:1}
.card-body h3{font-size:1.3rem;font-weight:700;margin:8px 0}
.card-body h3 a{color:#0b1120;text-decoration:none}
.card-body h3 a:hover{color:var(--primary)}
.card-body p{color:var(--muted);font-size:.95rem;flex:1}
.card-body .btn{margin-top:auto}
.feature-list{list-style:none;padding:0;margin:0 0 20px}
.feature-list li{display:flex;align-items:center;gap:10px;margin-bottom:9px;font-weight:500;font-size:.92rem;color:#1f2937}
.feature-list .icon{color:var(--highlight)}
.blog-grid{display:grid;gap:22px;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));margin:18px 0}
.blog-card .card-banner{height:8px}
.blog-card .card-body{padding:20px 22px 22px}
.blog-card .meta{margin-top:12px;margin-bottom:0}
.cat-career-guidance{background:linear-gradient(90deg,#1e3a8a,#2563eb)}
.cat-admission-and-sponsorship{background:linear-gradient(90deg,#6d28d9,#8b5cf6)}
.cat-interviews-and-jobs{background:linear-gradient(90deg,#0f766e,#14b8a6)}
.cat-guide{background:linear-gradient(90deg,#0b2b5e,#1a4b8c)}
.pills{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.pill{display:inline-block;background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 18px;font-weight:500;font-size:.92rem;text-decoration:none;color:#334155;box-shadow:0 2px 6px rgba(15,23,42,.04)}
.pill:hover{border-color:var(--primary);color:var(--primary);background:var(--soft)}
.feature-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:0;border-radius:24px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);background:#fff}
.feature-hero .art{background:linear-gradient(135deg,#1e3a8a,#6d28d9);min-height:200px;display:flex;align-items:center;justify-content:center;color:#fff}
.feature-hero .art .icon{width:84px;height:84px;stroke-width:1.4;opacity:.92}
.feature-hero .txt{padding:28px}
@media (max-width:760px){.feature-hero{grid-template-columns:1fr}}
.advantage{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:20px;margin-top:30px;text-align:center}
.advantage div{display:flex;flex-direction:column;align-items:center;gap:6px;font-weight:600}
.advantage .em{font-size:2rem;line-height:1}

/* ---------- Article ---------- */
.article-head{padding:26px 0 8px}
.article-head h1{font-size:clamp(1.7rem,4vw,2.5rem);font-weight:800;margin:10px 0 12px}
.article-head .lead{font-size:1.1rem;color:var(--muted)}
.prose{font-size:1.04rem}
.prose h2{font-size:1.5rem;margin:2.2rem 0 .7rem;color:var(--navy)}
.prose h3{font-size:1.15rem;margin:1.5rem 0 .5rem}
.prose li{margin-bottom:.4rem}
.prose blockquote{margin:1.2rem 0;padding:.6rem 1.2rem;border-left:4px solid var(--highlight);background:var(--soft);border-radius:0 12px 12px 0}
.toc{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px 20px;margin:22px 0}
.toc strong{display:block;margin-bottom:6px;color:var(--navy)}
.toc ol{margin:0;padding-left:20px;font-size:.95rem}
.takeaways{background:var(--soft);border:1px solid #bfdbfe;border-radius:14px;padding:18px 22px;margin:22px 0}
.takeaways strong{display:block;margin-bottom:6px;color:var(--navy)}
.takeaways ul{margin:0;padding-left:20px}
.sources{font-size:.92rem;border-top:1px solid var(--line);margin-top:2rem;padding-top:1rem}
.prev-next{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:36px 0}
.prev-next a{display:block;border:1px solid var(--line);border-radius:14px;padding:14px 18px;text-decoration:none;color:var(--ink);background:#fff}
.prev-next a:hover{border-color:var(--primary);background:var(--soft)}
.prev-next small{display:block;color:var(--muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}
.prev-next .next{text-align:right}
@media (max-width:640px){.prev-next{grid-template-columns:1fr}.prev-next .next{text-align:left}}
.related h2{font-size:1.4rem;margin-top:2rem}

/* ---------- Forms / search ---------- */
.field{margin-bottom:16px}
.field label{display:block;font-weight:500;font-size:.9rem;margin-bottom:5px}
.field input,.field textarea{width:100%;font:inherit;padding:12px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:var(--ink)}
.field input:focus,.field textarea:focus{outline:3px solid #bfdbfe;border-color:var(--highlight)}
.searchbar{display:flex;gap:8px;max-width:560px;margin:0 auto}
.searchbar input{flex:1;min-width:0;font:inherit;padding:13px 18px;border:1px solid #cbd5e1;border-radius:999px;background:#fff}
.searchbar input:focus{outline:3px solid #bfdbfe;border-color:var(--highlight)}
.result{border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin-bottom:12px;background:#fff}
.result h2{font-size:1.1rem;margin:4px 0}
.result p{margin:0;color:var(--muted);font-size:.93rem}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);display:flex;gap:16px;align-items:center}
.contact-card .icon{width:1.7em;height:1.7em;color:var(--highlight)}
.contact-card p{margin:0}
.contact-list{display:grid;gap:16px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
@media (max-width:860px){.two-col{grid-template-columns:1fr}}
.policy{background:#fff;border:1px solid var(--line);border-radius:24px;padding:clamp(22px,4vw,44px);box-shadow:var(--shadow)}
.policy h2{font-size:1.35rem;margin-top:1.8rem;color:var(--navy)}
.policy h2:first-of-type{margin-top:1rem}

/* ---------- Founder ---------- */
.profile-card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 20px 40px -14px rgba(0,0,0,.12);padding:36px 28px;text-align:center;max-width:640px;margin:0 auto}
.founder-photo,.founder-fallback{width:112px;height:112px;border-radius:50%;margin:0 auto 18px;border:4px solid #fff;box-shadow:0 10px 24px rgba(15,23,42,.18)}
.founder-photo{object-fit:cover;display:block}
.founder-fallback{background:linear-gradient(135deg,#1e3a8a,#6d28d9);color:#fff;font-weight:700;font-size:2.2rem;display:flex;align-items:center;justify-content:center}
.socials{display:flex;justify-content:center;gap:12px;margin:18px 0}
.social{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;border:1px solid var(--line);color:#475569;background:#fff}
.social:hover{color:var(--primary);background:var(--soft)}
.social .icon{width:1.35em;height:1.35em}

/* ---------- Footer ---------- */
.site-footer{background:#0f172a;color:#cbd5e1;margin-top:64px;padding:52px 0 22px}
.site-footer a{color:#cbd5e1;text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:34px}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:540px){.footer-grid{grid-template-columns:1fr}}
.site-footer .footer-h{color:#fff;font-size:1rem;font-weight:700;margin:0 0 12px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:8px;font-size:.92rem}
.site-footer .brand{font-size:1.5rem;font-weight:800;color:#fff;margin-bottom:4px}
.site-footer .tagline{font-style:italic;color:#94a3b8;margin-bottom:10px}
.site-footer .small{font-size:.9rem;color:#94a3b8}
.footer-contact li{display:flex;gap:8px;align-items:flex-start}
.footer-contact .icon{margin-top:.25em;color:#94a3b8}
.footer-bottom{border-top:1px solid #1e293b;margin-top:34px;padding-top:18px;text-align:center;font-size:.86rem;color:#94a3b8}
.footer-bottom p{margin:0 0 4px}

@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.card:hover{transform:none}}
@media print{.site-header,.site-footer,.cta-section,.nav-toggle{display:none}}

/* ---- fixes from visual review ---- */
@media (min-width:961px){.site-nav{order:2;margin-left:auto}.header-actions{order:3;margin-left:14px}}
.searchbar.hero-search{margin:28px auto 0}
.site-footer .social{background:#1e293b;border-color:#334155;color:#e2e8f0}
.site-footer .social:hover{background:#334155;color:#fff;text-decoration:none}

/* ---------- MCQ practice ---------- */
.quiz-top{position:sticky;top:68px;z-index:20;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 16px;margin:18px 0;box-shadow:var(--shadow)}
.quiz-top .row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-weight:600;font-size:.95rem}
.quiz-bar{height:8px;background:#e2e8f0;border-radius:999px;margin-top:8px;overflow:hidden}
.quiz-bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--primary),var(--secondary));transition:width .3s}
fieldset.mcq{border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px 16px;margin:0 0 16px;background:#fff;min-width:0}
fieldset.mcq legend{font-weight:600;padding:0 8px;max-width:100%}
.opt{display:flex;align-items:flex-start;gap:10px;padding:11px 14px;border:1px solid var(--line);border-radius:12px;margin:8px 0;cursor:pointer;background:var(--card)}
.opt:hover{border-color:var(--highlight);background:var(--soft)}
.opt input{margin-top:.35em;accent-color:var(--primary);flex:none}
.opt.is-correct{border-color:#16a34a;background:#f0fdf4}
.opt.is-wrong{border-color:#dc2626;background:#fef2f2}
fieldset.mcq input:disabled+span{opacity:1}
.feedback{margin-top:10px;padding:10px 14px;border-radius:12px;font-size:.95rem}
.feedback.good{background:#f0fdf4;border:1px solid #86efac}
.feedback.bad{background:#fef2f2;border:1px solid #fca5a5}
.feedback .verdict{font-weight:700}
.quiz-result{background:var(--soft);border:2px solid var(--primary);border-radius:var(--radius);padding:20px;text-align:center;margin:20px 0}
.quiz-result p{font-size:1.15rem;font-weight:600;margin-bottom:12px}
.set-card{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px;box-shadow:var(--shadow);transition:transform .2s,border-color .2s}
.set-card:hover{transform:translateY(-3px);border-color:var(--primary);color:inherit}
.set-card .no{display:inline-block;background:var(--primary);color:#fff;font-weight:700;font-size:.8rem;border-radius:999px;padding:3px 12px;margin-bottom:8px}
.set-card h3{font-size:1.05rem;margin-bottom:4px;color:var(--navy)}
.set-card p{margin:0;font-size:.88rem;color:var(--muted)}
details.key{border:1px solid var(--line);border-radius:14px;padding:12px 18px;margin:22px 0;background:var(--card)}
details.key summary{cursor:pointer;font-weight:600;color:var(--navy)}
details.key ol{padding-left:20px;margin-top:12px}
details.key li{margin-bottom:8px;font-size:.95rem}
@media (max-width:640px){.quiz-top{padding:8px 12px;margin:12px 0}.quiz-top .row{font-size:.88rem;flex-wrap:nowrap}.quiz-top .btn{white-space:nowrap}}
/* keep questions clear of the sticky header + score bar when scrolled to (Try again, keyboard focus) */
#quiz,fieldset.mcq{scroll-margin-top:190px}
