/* ResultKendra — brand: navy #0b2f7f, orange #f26b1d */
:root {
  --navy: #0b2f7f;
  --navy-2: #08235f;
  --navy-soft: #e8eefb;
  --orange: #f26b1d;
  --orange-soft: #fff1e8;
  --green: #12805c;
  --green-soft: #e6f6ef;
  --amber: #a15c00;
  --amber-soft: #fff6e0;
  --ink: #16203a;
  --muted: #5d6680;
  --line: #e2e7f0;
  --bg: #f4f6fb;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 30, 70, .06), 0 6px 20px rgba(16, 30, 70, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
.hero-in > *, .post-layout > *, .two-col > *, .boards > * { min-width: 0; }
.tbl td { overflow-wrap: anywhere; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding-top: 32px; padding-bottom: 32px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Top bar & header */
.topbar { background: var(--navy-2); color: #c9d5f2; font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand img { height: 48px; width: auto; }
.hsearch { margin-left: auto; display: flex; flex: 0 1 380px; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--bg); }
.hsearch:focus-within { border-color: var(--navy); }
.hsearch input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 16px; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.hsearch button { border: 0; background: transparent; padding: 0 14px; cursor: pointer; font-size: 16px; }
.menu-btn { display: none; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; font-size: 22px; width: 44px; height: 44px; cursor: pointer; color: var(--navy); }
.mainnav { background: var(--navy); }
.nav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-in::-webkit-scrollbar { display: none; }
.mainnav a { color: #fff; padding: 11px 16px; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.mainnav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.mainnav a.on { border-bottom-color: var(--orange); background: rgba(255, 255, 255, .06); }

/* Ticker */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker-in { display: flex; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.ticker-tag { background: var(--orange); color: #fff; font-size: 13px; letter-spacing: .06em; padding: 3px 10px; border-radius: 6px; flex: none; }
.ticker-track { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; gap: 36px; white-space: nowrap; animation: tick 60s linear infinite; }
.ticker-track:hover .ticker-move, .ticker-track:focus-within .ticker-move { animation-play-state: paused; }
.ticker-move a { font-weight: 600; font-size: 15px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Hero */
.hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(242, 107, 29, .28), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.hero-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-top: 52px; padding-bottom: 52px; }
.eyebrow { display: inline-block; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -.01em; }
.hero h1 span { color: #ffb27f; }
.lead { font-size: 19px; color: #d5def5; max-width: 600px; }
.big-search { display: flex; background: #fff; border-radius: 14px; padding: 6px; max-width: 580px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.big-search input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; font-size: 17px; outline: none; color: var(--ink); background: transparent; }
.big-search button { border: 0; background: var(--orange); color: #fff; font: inherit; font-weight: 700; padding: 0 24px; border-radius: 10px; cursor: pointer; }
.big-search button:hover { background: #d95a12; }
.big-search.light { box-shadow: none; border: 1.5px solid var(--line); margin-top: 16px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quick a { color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 4px 14px; font-size: 15px; font-weight: 500; }
.quick a:hover { background: #fff; color: var(--navy); }
.hero-stats { display: grid; gap: 12px; }
.stat { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); padding: 14px 18px; color: #fff; transition: background .2s, transform .2s; }
.stat:hover { background: rgba(255, 255, 255, .16); color: #fff; transform: translateX(4px); }
.stat strong { font-size: 24px; margin-right: 4px; }
.stat-ic { font-size: 24px; width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border-radius: 12px; }
.stat .arrow { margin-left: auto; opacity: .7; }

/* Three update boards */
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.board { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.board-head { padding: 14px 18px; color: #fff; }
.board-head h2 { margin: 0; font-size: 20px; }
.board-result .board-head { background: var(--navy); }
.board-admit-card .board-head { background: var(--orange); }
.board-answer-key .board-head { background: var(--green); }
.plist { list-style: none; margin: 0; padding: 4px 0; flex: 1; }
.plist li { padding: 10px 18px; border-bottom: 1px dashed var(--line); line-height: 1.4; }
.plist li:last-child { border-bottom: 0; }
.plist a { font-weight: 600; }
.pmeta { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.new { display: inline-block; background: #e3262f; color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; vertical-align: 2px; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .45; } }
.board-more { display: block; text-align: center; padding: 12px; font-weight: 700; background: var(--bg); border-top: 1px solid var(--line); }
.pad { padding: 16px 18px; }

/* Section heads & categories */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; font-size: 26px; }
.sec-head a { font-weight: 700; }
h2.sub { font-size: 24px; margin: 8px 0 16px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.cat:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--navy); }
.cat-ic { font-size: 28px; }
.cat-name { font-weight: 700; font-size: 17px; }
.cat-n { font-size: 14px; color: var(--muted); }
.cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.cat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.cat-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.cat-card h2 { font-size: 21px; margin: 10px 0 6px; color: var(--navy); }
.cat-card p { color: var(--muted); font-size: 16px; flex: 1; }
.cat-card .cat-n { color: var(--orange); font-weight: 700; }

/* Post cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.card-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--navy-soft); color: var(--navy); }
.chip-result { background: var(--navy-soft); color: var(--navy); }
.chip-admit-card { background: var(--orange-soft); color: #b44a0c; }
.chip-answer-key { background: var(--green-soft); color: var(--green); }
.status { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.s-ok { background: var(--green-soft); color: var(--green); }
.s-wait { background: var(--amber-soft); color: var(--amber); }
.s-info { background: var(--navy-soft); color: var(--navy); }

/* Steps band */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 16px 0; }
.band h2 { font-size: 28px; margin-bottom: 24px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--bg); border-radius: var(--radius); padding: 24px; position: relative; }
.step span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.step h3 { font-size: 19px; color: var(--navy); }
.step p { color: var(--muted); margin: 0; }

/* Two column (links + FAQ) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.link-list { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.link-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.link-list li:last-child { border-bottom: 0; }
.link-list a { font-weight: 600; }
.link-list span { color: var(--muted); font-size: 14px; }
.link-list.compact { border: 0; background: transparent; }
.link-list.compact li { padding: 7px 0; }
.more-link { display: inline-block; margin-top: 12px; font-weight: 700; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); }

/* Page head */
.page-head { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 28px 0 32px; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; margin: 8px 0; }
.page-head p { color: #d5def5; margin: 0; max-width: 760px; }
.page-head .muted { color: #b9c6e8; }
.crumbs { font-size: 14px; color: #b9c6e8; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: #ffb27f; }
.ph-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* Filter chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.chips a { background: #fff; border: 1.5px solid var(--line); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink); }
.chips a:hover { border-color: var(--navy); color: var(--navy); }
.chips a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.count { margin: 8px 0 16px; }

/* Post */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.post h2 { font-size: 23px; color: var(--navy); margin-top: 28px; padding-left: 12px; border-left: 4px solid var(--orange); }
.summary { font-size: 19px; }
.cta-box { display: flex; gap: 10px; flex-wrap: wrap; background: var(--orange-soft); border: 1px dashed var(--orange); padding: 16px; border-radius: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--orange); color: #fff; font-weight: 700; padding: 11px 20px; border-radius: 10px; border: 2px solid var(--orange); }
.btn:hover { background: #d95a12; border-color: #d95a12; color: #fff; }
.btn-ghost { background: #fff; color: var(--orange); }
.btn-ghost:hover { background: var(--orange); color: #fff; }
.tbl { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tbl th, .tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { background: var(--bg); width: 40%; font-weight: 600; color: var(--muted); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.links-tbl td a { font-weight: 700; color: var(--orange); }
.steps-list { padding-left: 0; list-style: none; counter-reset: s; }
.steps-list li { counter-increment: s; position: relative; padding: 4px 0 12px 44px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.need { padding-left: 20px; }
.need li::marker { color: var(--orange); }
.note { background: var(--amber-soft); border-radius: 10px; padding: 14px 16px; margin-top: 24px; color: #6b4300; }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.share span { font-weight: 600; color: var(--muted); }
.share a, .share button { padding: 7px 14px; border-radius: 8px; font: inherit; font-size: 15px; font-weight: 700; border: 0; cursor: pointer; color: #fff; }
.sh-wa { background: #1fa855; }
.sh-tg { background: #2a9ed8; }
.sh-copy { background: var(--navy); }
.share a:hover { color: #fff; opacity: .9; }
.sidebar { display: grid; gap: 18px; position: sticky; top: 140px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.sidebar .box { margin: 0; padding: 16px 0 6px; }
.sidebar h3 { padding: 0 18px; font-size: 18px; color: var(--navy); }
.sidebar .link-list.compact { padding: 0 18px; }
.box.official { margin-top: 28px; }
.box.official h2 { font-size: 20px; color: var(--navy); }
.prose { max-width: 820px; }
.prose ul { padding-left: 22px; }
.contact-box { background: var(--navy-soft); border: 0; }

/* State-wise */
.state-filter { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; max-width: 360px; font-weight: 600; }
.state-filter input { padding: 10px 14px; border-radius: 10px; border: 0; font: inherit; font-size: 16px; }
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 28px; }
.state-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.state-card h2 { font-size: 19px; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.state-card .link-list { border: 0; }
.state-card .link-list li { padding: 8px 0; }
.badge { background: #e3262f; color: #fff; font-size: 12px; padding: 1px 8px; border-radius: 999px; }
.state-ups { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 8px; display: grid; gap: 6px; }
.state-ups a { font-size: 15px; font-weight: 600; color: var(--orange); }

/* 404 */
.notfound { text-align: center; max-width: 620px; }
.notfound .big { font-size: 96px; font-weight: 800; color: var(--orange); margin: 0; line-height: 1; }
.notfound .big-search { margin: 20px auto; }

/* Footer */
.site-footer { background: var(--navy-2); color: #c9d5f2; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.foot-logo { background: #fff; border-radius: 10px; padding: 8px 12px; height: 59px; width: auto; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 17px; }
.site-footer a { color: #c9d5f2; display: block; padding: 3px 0; }
.site-footer a:hover { color: #ffb27f; }
.foot-note { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 22px; font-size: 14px; }
.foot-note p { margin-bottom: 6px; }
.totop { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 40; }
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { color: #fff; }

/* Responsive */
@media (max-width: 1000px) {
  .boards { grid-template-columns: 1fr 1fr; }
  .boards .board:last-child { grid-column: 1 / -1; }
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .header-in { gap: 10px; }
  .brand img { height: 40px; }
  .hsearch { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .mainnav { display: none; }
  .mainnav.open { display: block; }
  .nav-in { flex-direction: column; gap: 0; padding: 0; }
  .mainnav a { border-bottom: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid transparent; padding: 12px 16px; }
  .mainnav a.on { border-bottom-color: rgba(255, 255, 255, .1); border-left-color: var(--orange); }
  .hero-in { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; gap: 24px; }
  .lead { font-size: 17px; }
  .boards, .steps, .two-col { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .post { padding: 18px; }
  .tbl th { width: 45%; }
  .tbl th, .tbl td { padding: 9px 10px; font-size: 15px; }
  .big-search button { padding: 0 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ticker-track { overflow-x: auto; }
}

/* Upcoming results */
.top-note { margin: 0 0 20px; }
.up-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.up-card { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; }
.up-card h2 { font-size: 20px; color: var(--navy); margin: 4px 0 2px; }
.up-card .muted { font-size: 15px; margin-bottom: 10px; }
.up-card dl { margin: 0 0 14px; display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; font-size: 15.5px; flex: 1; }
.up-card dt { color: var(--muted); font-weight: 600; }
.up-card dd { margin: 0; }
.up-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.up-actions .btn { padding: 8px 14px; font-size: 15px; }
.guide-box { margin-top: 28px; }
.guide-box h2 { font-size: 20px; color: var(--navy); }
.up-list li .pmeta { color: var(--amber); }

/* Blog cards */
.bcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.bcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--navy); color: var(--ink); }
.bcard img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.bcard-in { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.bcard-in .chip { align-self: flex-start; margin-bottom: 8px; }
.bcard h3 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.bcard p { color: var(--muted); font-size: 15.5px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard-foot { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }

/* Blog article */
.hero-img { border-radius: 12px; margin-bottom: 20px; aspect-ratio: 1200 / 630; width: 100%; }
.toc { background: var(--navy-soft); border-radius: 12px; padding: 4px 18px; margin-bottom: 24px; }
.toc summary { cursor: pointer; font-weight: 700; padding: 10px 0; color: var(--navy); }
.toc ol { margin: 0 0 12px; padding-left: 22px; }
.toc li { padding: 3px 0; }
.blog-body h2 { scroll-margin-top: 150px; }
.blog-body h3 { font-size: 19px; color: var(--ink); margin-top: 20px; }
.blog-body ul, .blog-body ol:not(.steps-list) { padding-left: 22px; }
.blog-body li { margin-bottom: 6px; }
.blog-body li::marker { color: var(--orange); font-weight: 700; }
.blog-body .tbl { margin: 8px 0 20px; }
.blog-body .tbl th { width: auto; }
.blog-body .tbl thead th { background: var(--navy); color: #fff; }
.tip { background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.warn { background: var(--amber-soft); border-left: 4px solid var(--amber); border-radius: 10px; padding: 12px 16px; margin: 16px 0; color: #5c3a00; }
.key-box { background: var(--orange-soft); border: 1px dashed var(--orange); border-radius: 12px; padding: 14px 18px; margin: 0 0 20px; }
.key-box ul { margin: 6px 0 0; }
.tbl-wrap { overflow-x: auto; }

@media (max-width: 640px) {
  .up-grid, .bcards { grid-template-columns: 1fr; }
  .up-card dl { grid-template-columns: 1fr; gap: 2px; }
  .up-card dd { margin-bottom: 6px; }
}

/* Sample papers */
.small { font-size: 14px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; }
.topics li { background: var(--navy-soft); color: var(--navy); border-radius: 999px; padding: 3px 12px; font-size: 15px; margin: 0; }
.topics li::marker { content: none; }
.sec-title { background: var(--navy); color: #fff !important; border-radius: 10px; padding: 8px 14px; margin-top: 26px !important; font-size: 18px !important; }
.qbox { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 12px 0; background: #fff; }
.qtext { font-weight: 600; margin-bottom: 8px; }
.qn { color: var(--orange); font-weight: 800; margin-right: 2px; }
.opts { margin: 0 0 8px; padding-left: 26px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.opts li { margin: 0; }
.opts li::marker { font-weight: 700; color: var(--navy); }
.ans summary { cursor: pointer; color: var(--orange); font-weight: 700; display: inline-block; }
.ans[open] { background: var(--green-soft); border-radius: 10px; padding: 8px 12px; }
.ans[open] summary { color: var(--green); margin-bottom: 4px; }
.ans p { margin: 0 0 6px; }
.center-cta { flex-direction: column; align-items: flex-start; margin-top: 24px; }
.center-cta p { margin: 0; }
.mock-how { margin: 28px 0; }

/* Mock test app */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; scroll-margin-top: 150px; }
.mock h2 { color: var(--navy); font-size: 22px; }
.mk-start { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-lg { font-size: 19px; padding: 13px 30px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
button.btn { font: inherit; font-weight: 700; cursor: pointer; }
.mk-hist { width: 100%; margin-top: 16px; }
.mk-hist h3 { font-size: 17px; color: var(--navy); }
.mk-on, .mk-done { padding: 0; overflow: clip; }
.mk-bar { display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 10px 16px; position: sticky; top: var(--hh, 0px); z-index: 6; border-radius: var(--radius) var(--radius) 0 0; }
.mk-exam { flex: 1; font-size: 18px; }
.mk-timer { font-weight: 800; font-size: 19px; background: rgba(255, 255, 255, .12); padding: 4px 12px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.mk-timer.low { background: #e3262f; animation: mkblink 1s infinite; }
@keyframes mkblink { 50% { opacity: .7; } }
.mk-submit { padding: 7px 16px; }
.mk-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.mk-tabs button { white-space: nowrap; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink); }
.mk-tabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.mk-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.mk-q { padding: 20px; min-height: 420px; display: flex; flex-direction: column; }
.mk-qhead { display: flex; justify-content: space-between; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 14px; }
.mk-text { font-size: 18px; font-weight: 600; }
.mk-opts { display: grid; gap: 10px; margin-bottom: 18px; }
.mk-opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; cursor: pointer; transition: border-color .15s, background .15s; position: relative; }
.mk-opt:hover { border-color: var(--navy); }
.mk-opt input { position: absolute; opacity: 0; pointer-events: none; }
.mk-opt.on { border-color: var(--navy); background: var(--navy-soft); }
.mk-opt:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }
.mk-l { display: inline-grid; place-items: center; min-width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--navy); color: var(--navy); font-weight: 800; font-size: 14px; }
.mk-opt.on .mk-l { background: var(--navy); color: #fff; }
.mk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; align-items: center; }
.mk-actions .btn { padding: 9px 14px; font-size: 15px; }
.mk-sp { flex: 1; }
.mk-pal { border-left: 1px solid var(--line); background: var(--bg); padding: 16px; }
.mk-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: 13px; margin-bottom: 12px; }
.mk-legend span { display: flex; align-items: center; gap: 6px; }
.mk-legend i { width: 16px; height: 16px; border-radius: 4px; display: inline-block; flex: none; position: relative; }
.mk-psec { font-size: 13px; font-weight: 700; color: var(--muted); margin: 10px 0 6px; }
.mk-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mk-grid button { height: 38px; border-radius: 8px; border: 0; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; position: relative; }
.mk-grid button.cur { outline: 3px solid var(--orange); outline-offset: 1px; }
.p-nv { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.p-na { background: #e3262f; color: #fff; }
.p-an { background: var(--green); color: #fff; }
.p-mk, .p-am { background: #6b3fb5; color: #fff; }
.p-am::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }
.mk-submit2 { width: 100%; margin-top: 16px; }
.mk-modal { position: fixed; inset: 0; background: rgba(8, 20, 50, .55); display: grid; place-items: center; z-index: 100; padding: 16px; }
.mk-dialog { background: #fff; border-radius: var(--radius); padding: 22px; width: 100%; max-width: 420px; box-shadow: var(--shadow); }
.mk-dialog h3 { color: var(--navy); }
.mk-dialog .tbl { margin: 10px 0; }

/* Mock result */
.mk-result { padding: 22px; }
.mk-result h3 { color: var(--navy); margin-top: 24px; }
.mk-score { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.mk-ring { --p: 0; width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; flex: none; background: conic-gradient(var(--orange) calc(var(--p) * 1%), var(--navy-soft) 0); }
.mk-ring > div { width: 132px; height: 132px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.mk-ring strong { font-size: 36px; color: var(--navy); line-height: 1; }
.mk-ring span { color: var(--muted); font-size: 14px; }
.mk-sum { flex: 1; min-width: 260px; }
.mk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 12px; }
.mk-tiles div { background: var(--bg); border-radius: 12px; padding: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.mk-tiles strong { display: block; font-size: 22px; color: var(--ink); }
.mk-tiles .t-ok strong { color: var(--green); }
.mk-tiles .t-bad strong { color: #e3262f; }
.mk-tiles .t-skip strong { color: var(--amber); }
.mk-ract { margin-top: 18px; }
.btn.sh-wa { background: #1fa855; border-color: #1fa855; color: #fff; }
.rv-tag { font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-left: 6px; white-space: nowrap; }
.rv-c .rv-tag { background: var(--green-soft); color: var(--green); }
.rv-w .rv-tag { background: #fde8e9; color: #c01d25; }
.rv-u .rv-tag { background: var(--amber-soft); color: var(--amber); }
.rv-opts { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; }
.rv-opts li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); }
.rv-opts li.ok { background: var(--green-soft); border-color: var(--green); }
.rv-opts li.bad { background: #fde8e9; border-color: #e3262f; }
.rv-opts em { color: var(--muted); font-size: 14px; }
.rv-exp { margin: 0; font-size: 15.5px; color: var(--muted); }
.mk-info { padding-top: 0; }
.mk-result .tbl { min-width: 520px; }

@media (max-width: 860px) {
  .mk-main { grid-template-columns: 1fr; }
  .mk-pal { border-left: 0; border-top: 1px solid var(--line); }
  .mk-grid { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 640px) {
  .mock { padding: 16px; }
  .mk-on, .mk-done { padding: 0; }
  .mk-q { padding: 16px; min-height: 0; }
  .mk-grid { grid-template-columns: repeat(6, 1fr); }
  .mk-actions .btn { flex: 1 1 45%; }
  .mk-sp { display: none; }
  .opts { grid-template-columns: 1fr; }
  .mk-score { justify-content: center; }
}


/* ---------- Homepage motion ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-fx::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.o1 { width: 420px; height: 420px; background: #f26b1d; top: -160px; right: 6%; animation: orb1 18s ease-in-out infinite alternate; }
.o2 { width: 360px; height: 360px; background: #2f6bff; bottom: -180px; left: -80px; opacity: .45; animation: orb2 22s ease-in-out infinite alternate; }
.o3 { width: 240px; height: 240px; background: #12b981; top: 40%; left: 45%; opacity: .22; animation: orb3 26s ease-in-out infinite alternate; }
@keyframes orb1 { to { transform: translate(-120px, 80px) scale(1.15); } }
@keyframes orb2 { to { transform: translate(140px, -60px) scale(1.1); } }
@keyframes orb3 { to { transform: translate(-90px, -50px) scale(.85); } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.eyebrow strong { letter-spacing: .08em; font-size: 13px; color: #ffb27f; }
.eb-sep { opacity: .5; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: livepulse 1.8s infinite; flex: none; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.rotator { display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: min(420px, 62vw); vertical-align: bottom; transition: opacity .35s, transform .35s; }
.rotator.out { opacity: 0; transform: translateY(-8px); }
.rotator.pre { opacity: 0; transform: translateY(8px); transition: none; }

.hero-stats { position: relative; }
.float-badges { position: absolute; inset: 0; pointer-events: none; }
.fb { position: absolute; background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); white-space: nowrap; z-index: 2; }
.fb1 { top: -22px; right: -8px; animation: floaty 5s ease-in-out infinite; }
.fb2 { top: 44%; left: -78px; animation: floaty 6s ease-in-out -2s infinite; }
.fb3 { bottom: -20px; right: 22%; animation: floaty 5.5s ease-in-out -1s infinite; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(-2deg); } }
.stat .arrow { transition: transform .25s; }
.stat:hover .arrow { transform: translateX(5px); }
.stat-ic { transition: transform .3s; }
.stat:hover .stat-ic { transform: rotate(-8deg) scale(1.08); }

/* Board header shine */
.board-head { position: relative; overflow: hidden; }
.board-head::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); animation: shine 7s ease-in-out infinite; }
.board-admit-card .board-head::after { animation-delay: 1.2s; }
.board-answer-key .board-head::after { animation-delay: 2.4s; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* Steps connector */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; top: 45px; left: 12%; right: 12%; height: 3px; background: linear-gradient(90deg, var(--orange), var(--navy)); border-radius: 3px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s ease .2s; z-index: 0; }
.steps.in::before { transform: scaleX(1); }
.step { z-index: 1; }
.step span { box-shadow: 0 0 0 6px #fff; }
.cat:hover .cat-ic { animation: wiggle .5s ease; }
@keyframes wiggle { 30% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } }

/* Scroll reveal (only applied by home.js when motion is allowed) */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: fadeUp .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .08s; }
  .hero-text > :nth-child(3) { animation-delay: .16s; }
  .hero-text > :nth-child(4) { animation-delay: .24s; }
  .hero-text > :nth-child(5) { animation-delay: .32s; }
  .hero-stats .stat { animation: slideIn .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-stats .stat:nth-of-type(1) { animation-delay: .25s; }
  .hero-stats .stat:nth-of-type(2) { animation-delay: .35s; }
  .hero-stats .stat:nth-of-type(3) { animation-delay: .45s; }
  .hero-stats .stat:nth-of-type(4) { animation-delay: .55s; }
  .big-search { transition: box-shadow .3s, transform .3s; }
  .big-search:focus-within { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0, 0, 0, .3), 0 0 0 3px rgba(255, 178, 127, .6); }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } }

@media (max-width: 1000px) { .fb2 { left: auto; right: -6px; } }
@media (max-width: 780px) { .float-badges { display: none; } .steps::before { display: none; } .o1 { width: 280px; height: 280px; } }

@media (prefers-reduced-motion: reduce) {
  .orb, .fb, .live-dot, .board-head::after { animation: none !important; }
  .rv { opacity: 1; transform: none; transition: none; }
  .steps::before { transform: scaleX(1); transition: none; }
}


/* ---------- Hero illustration (replaces stat cards) ---------- */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-art { width: 100%; max-width: 480px; height: auto; overflow: visible; }
.ha-admit, .ha-omr, .ha-cap, .ha-line, .ha-stamp, .ha-fill, .ha-badge, .ha-spark { transform-box: fill-box; transform-origin: center; }
.ha-t { font-family: "Mukta", system-ui, sans-serif; font-weight: 800; }
.ha-tw { fill: #fff; font-size: 13px; letter-spacing: .06em; }
.ha-big { font-size: 17px; }
.ha-n { fill: #5d6680; font-size: 12px; font-weight: 700; }
.ha-score { fill: #0b2f7f; font-size: 22px; }
.ha-stampt { fill: #12805c; font-size: 17px; letter-spacing: .06em; }
.ha-ring { stroke-dasharray: 226; stroke-dashoffset: 75; }
.ha-check { stroke-dasharray: 44; stroke-dashoffset: 0; }
.hero-mini { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 15px; }
.hero-mini a { color: #d5def5; }
.hero-mini a:hover { color: #fff; }
.hero-mini strong { color: #ffb27f; font-size: 17px; margin-right: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-visual { animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) .2s both; }
  .ha-admit { animation: haFloat 6s ease-in-out infinite; }
  .ha-omr { animation: haFloat 7s ease-in-out -3s infinite; }
  .ha-cap { animation: haCap 5s ease-in-out infinite; }
  .ha-line { animation: haLine 8s cubic-bezier(.2, .7, .2, 1) infinite; animation-delay: calc(var(--i) * .25s); transform-origin: left center; }
  .ha-ring { animation: haRing 8s ease-in-out infinite; }
  .ha-stamp { animation: haStamp 8s ease-out infinite; }
  .ha-fill { animation: haFill 8s ease-out infinite; animation-delay: calc(var(--i) * .35s); }
  .ha-badge { animation: haBadge 8s ease-out infinite; }
  .ha-check { animation: haCheck 8s ease-in-out infinite; }
  .ha-pencil { animation: haPencil 8s ease-in-out infinite; transform-box: view-box; transform-origin: 0 0; }
  .ha-spark { animation: haSpark 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .65s); }
}
@keyframes haFloat { 50% { transform: translateY(-10px); } }
@keyframes haCap { 50% { transform: translateY(-8px) rotate(-6deg); } }
@keyframes haLine { 0%, 4% { transform: scaleX(0); } 14%, 90% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
@keyframes haRing { 0%, 18% { stroke-dashoffset: 226; } 38%, 90% { stroke-dashoffset: 75; } 98%, 100% { stroke-dashoffset: 226; } }
@keyframes haStamp { 0%, 40% { transform: scale(0); opacity: 0; } 45% { transform: scale(1.3); opacity: 1; } 49%, 90% { transform: scale(1); opacity: 1; } 96%, 100% { transform: scale(1); opacity: 0; } }
@keyframes haFill { 0%, 8% { transform: scale(0); } 13%, 88% { transform: scale(1); } 95%, 100% { transform: scale(0); } }
@keyframes haBadge { 0%, 46% { transform: scale(0); } 51% { transform: scale(1.15); } 54%, 90% { transform: scale(1); } 97%, 100% { transform: scale(0); } }
@keyframes haCheck { 0%, 55% { stroke-dashoffset: 44; } 66%, 90% { stroke-dashoffset: 0; } 97%, 100% { stroke-dashoffset: 44; } }
@keyframes haPencil {
  0%, 48% { transform: translate(440px, 330px); opacity: 0; }
  52% { transform: translate(361px, 251px); opacity: 1; }
  58% { transform: translate(371px, 261px); opacity: 1; }
  66% { transform: translate(391px, 240px); opacity: 1; }
  74%, 100% { transform: translate(440px, 190px); opacity: 0; }
}
@keyframes haSpark { 0%, 100% { transform: scale(.4); opacity: .3; } 50% { transform: scale(1.1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ha-pencil { display: none; } }
@media (max-width: 1000px) { .hero-art { max-width: 400px; } }
@media (max-width: 780px) { .hero-visual { margin-top: 8px; } .hero-art { max-width: 340px; } }
