/* TripuraPrep design system — tokens from blueprint §01.
   Mobile first: base styles are for phones; wider layouts are added with min-width queries. */
:root {
  --c-navy: #082E59;
  --c-orange: #FF6A00;          /* logo, icons, selected underlines only (2.87:1 on white) */
  --c-action: #C24A00;          /* buttons with white text (4.91:1) */
  --c-action-strong: #A84000;   /* hover / pressed (6.18:1) */
  --c-tint: #FFF4EC;
  --c-tint-text: #9A3A00;
  --c-soft: #EDF6FF;
  --c-surface: #FFFFFF;
  --c-bg: #F5F7FA;
  --c-text: #334155;
  --c-muted: #64748B;           /* on white only */
  --c-muted-on-grey: #475569;
  --c-control: #7C8BA0;         /* input borders (3.47:1) */
  --c-border: #E2E8F0;          /* decorative dividers */
  --c-success: #15803D;
  --c-success-bg: #ECFDF3;
  --c-error: #B91C1C;
  --c-error-bg: #FEF2F2;
  --c-warning: #B45309;

  --f-ui: "Inter", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-bn: "Noto Sans Bengali", "Inter", system-ui, sans-serif;

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  --gutter: 16px;
  --max: 1200px;
  --reader: 720px;
  --header-h: 56px;
  --tabbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--c-surface); color: var(--c-text);
  font: 400 16px/1.6 var(--f-ui); -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
}
body.no-tabbar { padding-bottom: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--c-navy); text-underline-offset: 3px; }
a:hover { color: var(--c-action); }
:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--c-navy); line-height: 1.25; margin: 0; text-wrap: balance; }
h1 { font-size: 1.625rem; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1.0625rem; font-weight: 700; }
p { margin: .5em 0; }
[lang="bn"], .bn { font-family: var(--f-bn); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--c-navy); color: #fff; padding: 8px 12px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 8px; color: #fff; }

.container { max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.stack > * + * { margin-top: 12px; }
.muted { color: var(--c-muted); }
.small { font-size: .875rem; }
.xs { font-size: .8125rem; }
.label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--c-surface); border-bottom: 1px solid var(--c-border); padding-top: env(safe-area-inset-top, 0px); }
.site-header .bar { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { flex: none; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 1.125rem; letter-spacing: -.02em; color: var(--c-navy); white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.brand .wm b { color: var(--c-action); font-weight: 800; }
.brand:hover { color: var(--c-navy); }
.primary-nav { display: none; }
.header-spacer { flex: 1; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); border: 0; background: none; color: var(--c-navy); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--c-bg); color: var(--c-navy); }
.icon-btn svg { width: 22px; height: 22px; }
.header-search { display: none; }
.site-header .header-login { display: none; }

/* Drawer (phones) */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(8, 46, 89, .45); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: var(--c-surface); padding: calc(env(safe-area-inset-top, 0px) + 8px) 16px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid var(--c-border); text-decoration: none; color: var(--c-navy); font-weight: 500; }

/* Bottom tab bar (phones) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--c-surface); border-top: 1px solid var(--c-border); display: grid; grid-template-columns: repeat(5, 1fr); padding: 4px max(4px, env(safe-area-inset-left, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(4px, env(safe-area-inset-right, 0px)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; font-size: .6875rem; font-weight: 500; color: var(--c-muted); text-decoration: none; border-radius: var(--r-md); }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--c-action); font-weight: 700; }

/* ---------- Buttons, badges, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-md); border: 1.5px solid transparent; background: var(--c-action); color: #fff; font: 600 .9375rem/1.2 var(--f-ui); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s ease-out; }
.btn:hover { background: var(--c-action-strong); color: #fff; }
.btn-secondary { background: var(--c-surface); color: var(--c-navy); border-color: var(--c-control); }
.btn-secondary:hover { background: var(--c-bg); color: var(--c-navy); }
.btn-navy { background: var(--c-navy); }
.btn-navy:hover { background: #051f3d; }
.btn-block { display: flex; width: 100%; }
.btn-link { background: none; color: var(--c-navy); padding-inline: 4px; text-decoration: underline; }
.btn-link:hover { background: none; color: var(--c-action); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.badge { display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; background: var(--c-soft); color: var(--c-navy); white-space: nowrap; }
.badge-free { background: var(--c-success-bg); color: var(--c-success); }
.badge-paid { background: var(--c-tint); color: var(--c-tint-text); }
.badge-status { background: var(--c-bg); color: var(--c-muted-on-grey); }
.badge-sample { background: #FEF3C7; color: #92400E; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--c-border); background: var(--c-surface); color: var(--c-navy); font: 500 .875rem/1.2 var(--f-ui); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--c-control); color: var(--c-navy); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--c-tint); border-color: var(--c-orange); color: var(--c-tint-text); font-weight: 600; }

/* ---------- Cards & lists ---------- */
.card { display: block; border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 14px 16px; background: var(--c-surface); color: inherit; text-decoration: none; min-width: 0; }
a.card:hover { border-color: var(--c-control); color: inherit; }
.card-soft { background: var(--c-soft); border-color: transparent; }
.card-next { border-color: var(--c-orange); border-width: 1.5px; }
.card h3 { font-size: 1rem; }
.card-meta { font-size: .8125rem; color: var(--c-muted); margin-top: 2px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-1 { grid-template-columns: minmax(0, 1fr); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-bottom: 1px solid var(--c-border); }
.list > li:last-child { border-bottom: 0; }
.row-link { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 0; text-decoration: none; color: var(--c-navy); }
.row-link:hover { color: var(--c-action); }
.row-link .grow { flex: 1; min-width: 0; }
.row-link svg, .drawer-nav svg { width: 18px; height: 18px; flex: none; color: var(--c-muted); }
.btn svg { width: 18px; height: 18px; flex: none; }
.notice-date { font-size: .8125rem; color: var(--c-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Sections ---------- */
.section { padding: 28px 0; border-bottom: 1px solid var(--c-border); }
.section:last-of-type { border-bottom: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head a { font-size: .875rem; font-weight: 600; color: var(--c-action); text-decoration: none; white-space: nowrap; }
.page-head { padding: 20px 0 8px; }
.page-head p { margin-top: 6px; }
.crumbs { font-size: .8125rem; color: var(--c-muted); margin-bottom: 6px; }
.crumbs a { color: var(--c-muted); }

/* Hero */
.hero { background: var(--c-soft); padding: 28px 0 24px; }
.hero h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.hero .lead { max-width: 36rem; margin: 10px 0 18px; }
.hero .picker-label { font-size: .875rem; font-weight: 600; color: var(--c-navy); margin-bottom: 8px; }
.hero .chips { margin-bottom: 16px; }
.hero-side { display: none; }

/* ---------- Exam guide page ---------- */
/* Hero band */
.exam-hero { background: linear-gradient(135deg, #082E59 0%, #0B3F7A 55%, #13539E 100%); color: #DCE6F2; }
.exam-hero .hub-head { padding-top: 18px; padding-bottom: 22px; }
.exam-hero h1 { color: #fff; }
.exam-hero .crumbs, .exam-hero .crumbs a { color: #B9CAE0; }
.hero-sub { margin: 8px 0 0; color: #DCE6F2; font-size: .9375rem; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 5px 13px; border-radius: 999px; background: rgba(255, 255, 255, .13); color: #fff; font-size: .8125rem; font-weight: 600; text-decoration: none; }
.pill-share { background: #25D366; color: #06331A; }
.pill-share::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-wa) center / contain no-repeat; mask: var(--i-wa) center / contain no-repeat; }
.pill-share:hover { background: #1EBE5A; color: #06331A; }
.hero-notice { margin-top: 16px; border: 0; }

/* Jump links: sticky under the site header */
.jump { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--c-bg); color: var(--c-navy); font-size: .875rem; font-weight: 600; text-decoration: none; }
.jump a:hover { background: var(--c-tint); color: var(--c-tint-text); }
.guide-sec { scroll-margin-top: calc(var(--header-h) + 72px); }
.stack > .guide-sec { margin-top: 28px; }
.stack > .jump + .guide-sec { margin-top: 16px; }

/* Numbered section titles */
.sec-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sec-title .num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-tint); color: var(--c-tint-text); font-size: .875rem; font-weight: 800; }

/* Key facts: icon cards; the status card turns red or green */
:root {
  --i-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");
  --i-posts: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c.8-3.4 3.2-5.2 6-5.2s5.2 1.8 6 5.2M16 5a3 3 0 0 1 0 6M18 14.5c1.6.7 2.6 2.4 3 5.5'/%3E%3C/svg%3E");
  --i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E");
  --i-closed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E");
  --i-open: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a9.5 9.5 0 0 0-8.2 14.3L2.5 21.5l4.8-1.3A9.5 9.5 0 1 0 12 2.5zm5.5 13.4c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-3.3-.8-2.8-1.1-4.5-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.8s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.3.5-.4.4c-.1.2-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.7-.3 1.3z'/%3E%3C/svg%3E");
}
.key-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.kf { position: relative; min-width: 0; padding: 12px 12px 12px 50px; border-radius: var(--r-lg); background: var(--c-soft); }
.kf::before { content: ""; position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 9px; background: var(--c-navy) var(--i-info) center / 16px no-repeat; }
.kf-date::before { background-image: var(--i-date); }
.kf-posts::before { background-image: var(--i-posts); }
.kf dt { font-size: .75rem; font-weight: 600; color: var(--c-muted-on-grey); }
.kf dd { margin: 2px 0 0; font-weight: 800; color: var(--c-navy); line-height: 1.3; overflow-wrap: anywhere; }
.kf-closed { background: var(--c-error-bg); }
.kf-closed::before { background-color: var(--c-error); background-image: var(--i-closed); }
.kf-closed dd { color: var(--c-error); }
.kf-open { background: var(--c-success-bg); }
.kf-open::before { background-color: var(--c-success); background-image: var(--i-open); }
.kf-open dd { color: var(--c-success); }

/* Intro paragraph */
.intro { margin: 20px 0 0; padding: 12px 14px; border-left: 4px solid var(--c-orange); border-radius: var(--r-md); background: var(--c-bg); color: var(--c-text); }

/* Detail cards */
.fact-list { display: grid; gap: 10px; margin: 0; }
.fact { min-width: 0; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); }
.fact dt { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted); }
.fact dd { margin: 4px 0 0; font-weight: 600; color: var(--c-navy); line-height: 1.45; overflow-wrap: anywhere; }
.fact-line { display: block; padding-left: 14px; position: relative; }
.fact-line::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-orange); }
.fact-line + .fact-line { margin-top: 4px; }
.marks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.marks-head { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; font-weight: 500; }
.marks-head b { font-weight: 800; font-variant-numeric: tabular-nums; }
.marks .bar { display: block; margin-top: 4px; }
.marks .bar i { background: linear-gradient(90deg, var(--c-orange), var(--c-action)); }
.marks-total { margin: 10px 0 0; padding-top: 8px; border-top: 1px dashed var(--c-border); font-size: .875rem; color: var(--c-muted); }
.marks-total b { color: var(--c-navy); font-size: 1rem; }

/* Syllabus: a header bar per post, topics as a ticked checklist */
.syllabus h2 { margin: 18px 0 8px; padding: 10px 14px; border-radius: var(--r-md); background: var(--c-navy); color: #fff; font-size: 1rem; }
.syllabus h2:first-child { margin-top: 0; }
.syllabus h3 { margin: 14px 0 6px; font-size: 1rem; }
.syllabus p { margin: 0 0 10px; color: var(--c-muted-on-grey); font-size: .9375rem; }
.syllabus ul, .syllabus ol { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.syllabus li { position: relative; padding: 10px 12px 10px 42px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-text); line-height: 1.5; }
.syllabus li::before { content: ""; position: absolute; left: 12px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-success) var(--i-check) center / 12px no-repeat; }
.syllabus li p { margin: 0; color: inherit; font-size: inherit; }

/* FAQ as cards */
.faq-cards { display: grid; gap: 8px; }
.faq-cards details { border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 0 14px; background: var(--c-surface); }
.faq-cards details[open] { border-color: var(--c-orange); background: var(--c-tint); }
.faq-cards details p { color: var(--c-text); }

.source-note { margin-top: 20px; padding: 10px 12px; border-radius: var(--r-md); background: var(--c-bg); font-size: .8125rem; color: var(--c-muted-on-grey); }

@media (min-width: 600px) {
  .fact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-marks { grid-column: 1 / -1; }
}
@media (min-width: 720px) { .key-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .exam-hero .hub-head { padding-top: 24px; padding-bottom: 30px; }
  .jump { top: var(--header-h); }
}

/* FAQ */
.faq details { border-bottom: 1px solid var(--c-border); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; cursor: pointer; font-weight: 600; color: var(--c-navy); min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.25rem; line-height: 1; color: var(--c-muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 14px; max-width: 65ch; }

/* Footer */
.site-footer { background: var(--c-navy); color: #DCE6F2; padding: 28px 0; margin-top: 24px; font-size: .875rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-grid ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand b { color: #fff; font-size: 1.0625rem; }
.footer-title { color: #fff; font-weight: 600; }

/* ---------- Exam hub ---------- */
.hub-head { padding-top: 18px; }
.exam-hero + .container .hub-tabs { margin-top: 0; }
.hub-head h1 { font-size: 1.5rem; }
.hub-tabs { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--c-border); margin-top: 16px; }
.hub-tabs::-webkit-scrollbar { display: none; }
.hub-tabs a { flex: none; padding: 12px 0; color: var(--c-muted); text-decoration: none; font-weight: 500; font-size: .9375rem; white-space: nowrap; }
.hub-tabs a[aria-current="page"] { color: var(--c-navy); font-weight: 700; box-shadow: inset 0 -3px var(--c-orange); }
.hub-body { display: grid; gap: 20px; padding: 20px 0 8px; }
.hub-aside { display: grid; gap: 12px; align-content: start; }
.facts { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.facts th, .facts td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.facts th { font-weight: 500; color: var(--c-muted); width: 45%; padding-right: 12px; }
.facts td { color: var(--c-navy); font-weight: 600; overflow-wrap: anywhere; }
.empty { border: 1px dashed var(--c-control); border-radius: var(--r-md); padding: 20px; background: var(--c-bg); color: var(--c-muted-on-grey); }
.empty h3 { margin-bottom: 4px; }

/* ---------- Reader ---------- */
.reader-bar { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 30; background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.reader-bar .container { display: flex; align-items: center; gap: 8px; min-height: 48px; }
.reader-bar .where { flex: 1; min-width: 0; font-size: .8125rem; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-toggle { display: inline-flex; border: 1.5px solid var(--c-border); border-radius: 999px; overflow: hidden; }
.lang-toggle a, .lang-toggle span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; font-size: .8125rem; font-weight: 600; text-decoration: none; color: var(--c-navy); }
.lang-toggle [aria-current="true"] { background: var(--c-navy); color: #fff; }
.lang-toggle .off { color: var(--c-muted); cursor: not-allowed; }
.size-toggle { min-width: 44px; }
.progress { height: 3px; background: var(--c-border); }
.progress i { display: block; height: 100%; width: 0; background: var(--c-orange); }

.reader-layout { display: grid; gap: 24px; padding: 20px 0 32px; }
.chapter-nav, .on-this-page { display: none; }
.prose { max-width: var(--reader); font-size: 1.0625rem; line-height: 1.75; min-width: 0; }
.prose[data-size="s"] { font-size: 1rem; }
.prose[data-size="l"] { font-size: 1.1875rem; }
.prose[lang="bn"] { line-height: 1.85; }
.prose h1 { font-size: 1.625rem; }
.prose h2 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose p { margin: .8em 0; max-width: 68ch; }
/* Running paragraphs are justified; hyphenation keeps narrow phone lines from opening wide gaps. */
.prose p, .text-justify { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prose strong { color: var(--c-navy); }
.prose ul, .prose ol { padding-left: 1.3em; }
.chapter-meta { font-size: .8125rem; color: var(--c-muted); margin-top: 6px; }
.callout { border-radius: var(--r-md); padding: 12px 16px; margin: 1.2em 0; background: var(--c-soft); }
.callout p { margin: .3em 0; }
.callout-title { font-size: .8125rem; font-weight: 700; color: var(--c-navy); letter-spacing: .02em; }
.callout-tip { background: var(--c-tint); }
.callout-tip .callout-title { color: var(--c-tint-text); }
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r-md); margin: 1em 0; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 420px; font-size: .9375rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.table-wrap th { background: var(--c-bg); color: var(--c-navy); font-size: .8125rem; }
.table-wrap tr:last-child td { border-bottom: 0; }
.chapter-end { max-width: var(--reader); display: grid; gap: 10px; grid-template-columns: 1fr 1fr; padding-top: 20px; border-top: 1px solid var(--c-border); margin-top: 28px; }
.chapter-end .practice { grid-column: 1 / -1; }
.chapter-end .next { text-align: right; }
.chapter-end a.pn { display: block; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: var(--r-md); text-decoration: none; min-width: 0; }
.chapter-end a.pn small { display: block; color: var(--c-muted); font-size: .75rem; }
.chapter-end a.pn span { color: var(--c-navy); font-weight: 600; font-size: .9375rem; }
.lang-note { font-size: .8125rem; color: var(--c-muted-on-grey); background: var(--c-bg); border-radius: var(--r-sm); padding: 8px 12px; }

/* ---------- Practice ---------- */
.practice-q { padding: 20px 0; border-bottom: 1px solid var(--c-border); max-width: var(--reader); }
.practice-q .q-head { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; color: var(--c-muted); }
.practice-q .q-body { font-size: 1.0625rem; font-weight: 500; color: var(--c-navy); margin: 8px 0 14px; }
.options { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-navy); font: 500 1rem/1.4 var(--f-ui); text-align: left; cursor: pointer; }
.option:hover { border-color: var(--c-control); }
.option .key { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--c-control); display: grid; place-items: center; font-size: .8125rem; font-weight: 700; }
.option[disabled] { cursor: default; }
.option.is-correct { border-color: var(--c-success); background: var(--c-success-bg); }
.option.is-correct .key { background: var(--c-success); border-color: var(--c-success); color: #fff; }
.option.is-wrong { border-color: var(--c-error); background: var(--c-error-bg); }
.option.is-wrong .key { background: var(--c-error); border-color: var(--c-error); color: #fff; }
.feedback { margin-top: 12px; }
.feedback .verdict { font-weight: 700; }
.feedback .verdict.ok { color: var(--c-success); }
.feedback .verdict.no { color: var(--c-error); }
.answer-fallback summary { cursor: pointer; color: var(--c-navy); font-weight: 600; margin-top: 10px; }
.js .answer-fallback { display: none; }
.score-bar { position: sticky; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); background: var(--c-surface); border-top: 1px solid var(--c-border); padding: 10px 0; z-index: 20; }
.score-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- Search ---------- */
.search-form { display: flex; gap: 8px; margin-top: 12px; }
.input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--c-control); border-radius: var(--r-md); font: 400 1rem var(--f-ui); color: var(--c-navy); background: var(--c-surface); }
.input::placeholder { color: var(--c-muted); }
.result-group { margin-top: 20px; }
.result-group h2 { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 4px; }
mark { background: var(--c-tint); color: var(--c-tint-text); padding: 0 2px; border-radius: 3px; }

/* ---------- Sample flag (local only) ---------- */
.sample-strip { background: #FEF3C7; color: #92400E; font-size: .8125rem; padding: 6px 0; }

/* ======================= sm: 600+ ======================= */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
  h1, .hub-head h1 { font-size: 1.875rem; }
  .hero h1 { font-size: 2.25rem; }
}

/* ======================= md: 900+ (desktop header, sidebars) ======================= */
@media (min-width: 900px) {
  :root { --gutter: 32px; --header-h: 64px; }
  body { padding-bottom: 0; }
  .tabbar, .menu-btn { display: none; }
  .primary-nav { display: flex; gap: 22px; margin-left: 20px; }
  .primary-nav a { color: var(--c-navy); text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 6px 0; white-space: nowrap; }
  .primary-nav a:hover { color: var(--c-action); }
  .primary-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--c-orange); }
  .header-search { min-width: 0; }
  .header-search { display: flex; }
  .header-search .input { width: 220px; min-height: 38px; padding: 6px 12px; font-size: .875rem; }
  .search-icon { display: none; }
  .site-header .header-login { display: inline-flex; min-height: 38px; padding: 6px 14px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-1 { grid-template-columns: minmax(0, 1fr); }
  .two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .hero { padding: 48px 0 44px; }
  .hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
  .hero h1 { font-size: 2.5rem; }
  .hero-side { display: block; }
  .hero .btn { width: auto; }
  .hub-body { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .reader-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
  .chapter-nav { display: block; position: sticky; top: calc(var(--header-h) + 64px); align-self: start; font-size: .875rem; }
  .chapter-nav ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
  .chapter-nav a { display: block; padding: 7px 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--c-navy); }
  .chapter-nav a:hover { background: var(--c-bg); }
  .chapter-nav a[aria-current="page"] { background: var(--c-bg); font-weight: 700; box-shadow: inset 3px 0 var(--c-orange); }
  .chapter-drawer-btn { display: none; }
  .score-bar { bottom: 0; }
}

/* Medium desktops: a tighter header so the logo, six links, search and login fit on one row */
@media (min-width: 900px) and (max-width: 1279px) {
  .site-header .bar { gap: 10px; }
  .primary-nav { gap: 16px; margin-left: 14px; }
  .primary-nav a { font-size: .875rem; }
  .header-search .input { width: 170px; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .header-search { display: none; }
  .search-icon { display: inline-grid; }
}

@media (min-width: 1200px) {
  .reader-layout { grid-template-columns: 220px minmax(0, 1fr) 180px; }
  .on-this-page { display: block; position: sticky; top: calc(var(--header-h) + 64px); align-self: start; font-size: .8125rem; }
  .on-this-page ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
  .on-this-page a { color: var(--c-muted); text-decoration: none; }
  .on-this-page a:hover { color: var(--c-navy); }
  .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Quotes written in the admin editor render as "Remember" callouts. */
.prose blockquote { margin: 1.2em 0; padding: 12px 16px; border-radius: var(--r-md); background: var(--c-soft); }
.prose blockquote p { margin: .3em 0; }

/* ======================= Mock tests ======================= */
:root { --c-review: #6D28D9; }
.badge-wrong { background: var(--c-error-bg); color: var(--c-error); }
.your { color: var(--c-muted-on-grey); font-weight: 600; }
.chip input[type="radio"] { accent-color: var(--c-navy); margin: 0 6px 0 0; }

/* Palette legend: colour plus a shape difference, never colour alone */
.legend-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8125rem; color: var(--c-muted-on-grey); }
.legend-list li { display: inline-flex; align-items: center; gap: 6px; }
.pal-key, .pal { position: relative; border: 1.5px solid var(--c-control); background: var(--c-surface); color: var(--c-navy); border-radius: 6px; }
.pal-key { display: inline-block; width: 16px; height: 16px; flex: none; }
.pal-key.na, .pal.na { background: var(--c-error-bg); border-color: var(--c-error); color: var(--c-error); }
.pal-key.a, .pal.a { background: var(--c-success); border-color: var(--c-success); color: #fff; }
.pal-key.mr, .pal.mr, .pal-key.am, .pal.am { background: var(--c-review); border-color: var(--c-review); color: #fff; border-radius: 50%; }
.pal-key.am::after, .pal.am::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--c-success); border: 1.5px solid var(--c-surface); }
.pal-key.am::after { width: 7px; height: 7px; right: -3px; bottom: -3px; }

/* Results */
.stat b { display: block; font-size: 1.625rem; font-weight: 800; color: var(--c-navy); line-height: 1.15; margin-top: 2px; }
.stat b small { font-size: .9375rem; font-weight: 500; color: var(--c-muted); }
.bars { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.bar-head { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; color: var(--c-navy); margin-bottom: 4px; }
.bar { height: 8px; border-radius: 99px; background: var(--c-bg); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--c-navy); border-radius: 99px; }
.bar.is-low i { background: var(--c-error); }

/* Exam mode: full screen, no site navigation */
.exam-body { padding-bottom: 0; background: var(--c-surface); }
.exam { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.exam-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: calc(6px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 6px max(12px, env(safe-area-inset-left, 0px)); background: var(--c-surface); border-bottom: 1px solid var(--c-border); min-height: 56px; }
.exam-logo { border-radius: 50%; flex: none; display: none; }
.exam-title { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.exam-qpos { font-weight: 700; color: var(--c-navy); font-size: .9375rem; }
.exam-name { font-size: .75rem; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exam-timer { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--c-navy); background: var(--c-soft); padding: 6px 10px; border-radius: var(--r-sm); font-size: .9375rem; }
.exam-timer.is-low { background: var(--c-error-bg); color: var(--c-error); }
.exam-lang { min-height: 36px; border: 1.5px solid var(--c-border); border-radius: 999px; padding: 0 10px; font: 600 .8125rem var(--f-ui); color: var(--c-navy); background: var(--c-surface); }
.exam-progress { height: 3px; background: var(--c-border); }
.exam-progress i { display: block; height: 100%; width: 0; background: var(--c-navy); }
.exam-banner { padding: 10px max(16px, env(safe-area-inset-left, 0px)); font-size: .875rem; font-weight: 500; }
.exam-banner.is-info { background: var(--c-soft); color: var(--c-navy); }
.exam-banner.is-warn { background: #FEF3C7; color: #92400E; }
.exam-sections { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--c-border); padding: 0 16px; }
.exam-sections button { flex: none; border: 0; background: none; padding: 10px 0; font: 500 .875rem var(--f-ui); color: var(--c-muted); cursor: pointer; white-space: nowrap; }
.exam-sections button[aria-current="true"] { color: var(--c-navy); font-weight: 700; box-shadow: inset 0 -3px var(--c-orange); }
.exam-layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); }
.exam-main { padding: 16px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); max-width: 760px; width: 100%; }
.exam-qmeta { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; color: var(--c-muted); }
.exam-qtext { font-size: 1.0625rem; font-weight: 500; color: var(--c-navy); margin: 10px 0 16px; line-height: 1.55; white-space: pre-line; }
.exam-qtext.bn { font-size: 1.125rem; line-height: 1.75; }
.exam-options { display: grid; gap: 10px; }
.exam-options .option { min-height: 56px; }
.exam-options .option.is-selected { border-color: var(--c-navy); background: var(--c-soft); font-weight: 600; }
.exam-options .option.is-selected .key { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.exam-clear { margin-top: 6px; padding-left: 0; }
.exam-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: var(--c-surface); border-top: 1px solid var(--c-border); }
.exam-actions .btn { min-height: 48px; padding-inline: 10px; white-space: normal; text-align: center; line-height: 1.2; }
.exam-actions #prev, .exam-actions-spacer { display: none; }
.exam-actions .btn:disabled { opacity: .45; cursor: default; }

/* Palette: bottom sheet on phones, side panel on desktop */
.exam-side { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-height: 78vh; overflow-y: auto; background: var(--c-surface); border-radius: 16px 16px 0 0; box-shadow: 0 -8px 30px rgba(8, 46, 89, .18); padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 12px; transform: translateY(105%); transition: transform .2s ease-out; visibility: hidden; }
.palette-open .exam-side { transform: none; visibility: visible; }
.exam-side-head { display: flex; justify-content: space-between; align-items: center; }
.exam-side-head h2 { font-size: 1rem; }
.pal-section { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); margin: 6px 0; }
.pal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; }
.pal { min-height: 44px; font: 600 .875rem var(--f-ui); cursor: pointer; }
.pal.cur { outline: 3px solid var(--c-orange); outline-offset: 2px; }
.exam-save { font-size: .8125rem; color: var(--c-success); margin: 0; }
.exam-save.is-offline { color: #92400E; }
.exam-save.is-saving, .exam-save.is-pending { color: var(--c-muted-on-grey); }
.exam-scrim { position: fixed; inset: 0; z-index: 45; background: rgba(8, 46, 89, .45); }
.exam-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.exam-modal[hidden] { display: none; }
.exam-modal-box { pointer-events: auto; background: var(--c-surface); border-radius: var(--r-lg); padding: 20px; width: min(400px, 100%); box-shadow: 0 20px 50px rgba(8, 46, 89, .25); }
.exam-modal-box h2 { font-size: 1.125rem; }

@media (min-width: 900px) {
  .exam { padding-bottom: 0; }
  .exam-logo { display: block; }
  .exam-title { flex-direction: row; align-items: baseline; gap: 12px; }
  .exam-name { font-size: .875rem; }
  .exam-palette-btn, .exam-close { display: none; }
  .exam-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .exam-main { padding: 24px 32px 100px; justify-self: center; }
  .exam-side { position: sticky; top: 60px; align-self: start; transform: none; visibility: visible; max-height: calc(100vh - 60px); border-radius: 0; box-shadow: none; border-left: 1px solid var(--c-border); background: var(--c-bg); z-index: 1; padding: 16px; transition: none; }
  .exam-actions { position: fixed; right: 300px; grid-template-columns: auto 1fr auto auto; padding: 12px 32px; }
  .exam-actions #prev, .exam-actions-spacer { display: block; }
  .exam-actions .btn { white-space: nowrap; }
}

/* ======================= Accounts ======================= */
.auth-wrap { max-width: calc(440px + 2 * var(--gutter)); padding-block: 28px 40px; }
.field { display: grid; gap: 6px; }
.field > label, .field legend { font-weight: 600; color: var(--c-navy); font-size: .9375rem; padding: 0; }
.field-help { margin: 0; font-size: .8125rem; color: var(--c-muted); }
.field-error { margin: 0; font-size: .875rem; color: var(--c-error); font-weight: 500; }
.input.has-error, .phone-input.has-error { border-color: var(--c-error); }
select.input { appearance: auto; }
.phone-input { display: flex; align-items: center; border: 1.5px solid var(--c-control); border-radius: var(--r-md); background: var(--c-surface); }
.phone-input:focus-within { outline: 3px solid var(--c-orange); outline-offset: 2px; }
.phone-input span { padding: 0 4px 0 14px; color: var(--c-navy); font-weight: 600; }
.phone-input input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: none; font: 500 1.125rem var(--f-ui); color: var(--c-navy); letter-spacing: .04em; padding: 0 14px 0 6px; }
.phone-input input:focus { outline: none; }
.code-input { font-size: 1.5rem; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; min-height: 56px; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--c-muted); font-size: .875rem; margin: 20px 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--c-border); }
.dev-note { font-size: .875rem; background: #FEF3C7; color: #92400E; border-radius: var(--r-sm); padding: 8px 12px; }
.choice-list { display: grid; gap: 8px; }
.choice { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--c-border); border-radius: var(--r-md); padding: 12px 14px; cursor: pointer; min-height: 56px; }
.choice:has(input:checked) { border-color: var(--c-orange); background: var(--c-tint); }
.choice input { width: 20px; height: 20px; accent-color: var(--c-navy); flex: none; }
.choice b { display: block; color: var(--c-navy); }
.choice small { display: block; color: var(--c-muted); font-size: .8125rem; }
.dash-grid { display: grid; gap: 14px; margin: 16px 0 36px; }
@media (min-width: 900px) { .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Paid chapter preview */
.preview-fade { position: relative; max-height: 16em; overflow: hidden; }
.preview-fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6em; background: linear-gradient(transparent, var(--c-surface)); }
.reader-bar form { display: contents; }
.icon-btn[aria-pressed="true"] { color: var(--c-action); }

/* Current affairs */
.ca-item { padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.ca-item h3 a { color: var(--c-navy); text-decoration: none; }
.ca-body { font-size: 1rem; }
.selectable { user-select: all; }

/* Product page: price box sticks to the bottom on phones, sits beside the content on desktop */
.product-layout { display: grid; gap: 20px; padding-bottom: 96px; }
.buy-box { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--c-surface); border-top: 1px solid var(--c-border); padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
.buy-price { font-size: 1.375rem; font-weight: 800; color: var(--c-navy); }
@media (min-width: 900px) {
  .product-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-bottom: 0; }
  .buy-box { position: sticky; top: calc(var(--header-h) + 20px); bottom: auto; align-self: start; flex-direction: column; align-items: stretch; border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 18px; margin-top: 24px; }
}
.sol-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.sol-tools form { display: inline; }
.report { width: 100%; }
.report summary { list-style: none; display: inline-flex; }
.report summary::-webkit-details-marker { display: none; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 14px; font-size: .8125rem; }
