:root {
  --bg: #071a17;
  --surface: #0e2823;
  --card: #13342c;
  --gold: #f4c84a;
  --emerald: #2fc79a;
  --text: #f7faf9;
  --muted: #b5c7c0;
  --border: #2b4a41;
  --notice: #193d34;
  --warning: #e3a23b;
  --danger: #d96c6c;
  --focus: #74e0bc;
  --max: 1180px;
  --reading: 780px;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Bengali", "Nirmala UI", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--emerald); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; padding: 10px 16px; background: var(--gold); color: #071a17; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }

.site-header { position: sticky; top: 0; z-index: 1000; height: 68px; background: rgba(7, 26, 23, .97); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.site-header__inner { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.wordmark { flex: 0 0 auto; color: var(--text); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 25px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.wordmark span { color: var(--gold); }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-nav__list a { display: flex; min-height: 44px; align-items: center; padding: 0 12px; border-radius: 9px; color: var(--muted); font-weight: 650; text-decoration: none; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a { background: var(--surface); color: var(--text); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid var(--gold); border-radius: 12px; background: var(--gold); color: #071a17; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: #ffdc69; color: #071a17; }
.button--secondary { background: transparent; border-color: var(--border); color: var(--text); }
.button--secondary:hover { background: var(--card); color: var(--text); }
.button--small { min-height: 44px; padding: 8px 15px; font-size: 15px; }
.menu-toggle { display: none; min-height: 44px; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-weight: 700; }
.menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after { display: block; width: 20px; height: 2px; background: currentColor; content: ""; }
.menu-toggle__icon::before { transform: translateY(-7px); }
.menu-toggle__icon::after { transform: translateY(5px); }
.mobile-panel { position: fixed; inset: 0 0 0 auto; z-index: 1001; width: min(90vw, 410px); padding: 18px 20px 28px; background: var(--surface); border-left: 1px solid var(--border); box-shadow: -24px 0 60px rgba(0,0,0,.45); transform: translateX(100%); transition: transform .2s ease; }
.mobile-panel.is-open { transform: translateX(0); }
.mobile-panel__top { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid var(--border); }
.menu-close { min-height: 44px; padding: 8px 0 8px 12px; border: 0; background: none; color: var(--text); font: inherit; font-weight: 700; }
.mobile-panel .site-nav { margin: 22px 0; }
.mobile-panel .site-nav__list { display: grid; gap: 4px; }
.mobile-panel .site-nav__list a { justify-content: space-between; min-height: 50px; font-size: 18px; border-bottom: 1px solid var(--border); border-radius: 0; }
.mobile-panel__cta { width: 100%; }

.site-main { min-height: 60vh; }
.page-shell { width: min(calc(100% - 48px), var(--reading)); margin: 0 auto; padding: 64px 0 88px; }
.page-shell--home { width: min(calc(100% - 48px), var(--max)); }
.article-header { width: min(100%, var(--reading)); margin: 0 0 64px; }
.article-header__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--text); line-height: 1.15; text-wrap: balance; }
h1 { max-width: 1020px; margin-bottom: 24px; font-size: clamp(38px, 5vw, 64px); letter-spacing: -.035em; }
h2 { position: relative; margin: 0 0 24px; padding-top: 14px; font-size: clamp(30px, 4vw, 40px); letter-spacing: -.025em; }
h2::before { position: absolute; left: 0; top: 0; width: 46px; height: 4px; border-radius: 99px; background: var(--gold); content: ""; }
h3 { margin: 32px 0 12px; color: #d8fff2; font-size: clamp(22px, 3vw, 26px); }
p { margin: 0 0 1em; }
.lede { max-width: 760px; color: #e9f3ef; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.72; }
.content-section { width: min(100%, var(--reading)); margin: 0 0 80px; }
.content-section--wide, .media-section { width: 100%; }
.content-section p + h3 { margin-top: 40px; }
.section-intro { color: #dbe9e4; font-size: 18px; }
.content-figure { margin: 32px 0 38px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.content-figure img { display: block; width: 100%; }
.content-figure figcaption { padding: 12px 16px; color: var(--muted); font-size: 14px; }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 42%); align-items: center; gap: clamp(32px, 6vw, 72px); }
.prose-grid--reverse { grid-template-columns: minmax(320px, 42%) minmax(0, 1fr); }
.prose-grid--reverse .content-figure { order: -1; }
.text-map, .related-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin: 26px 0; padding: 0; list-style: none; }
.text-map a, .related-links a { display: flex; min-height: 48px; align-items: center; border-bottom: 1px solid var(--border); font-weight: 700; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.notice { margin: 28px 0; padding: 20px 22px; border-left: 4px solid var(--warning); border-radius: 0 12px 12px 0; background: var(--notice); }
.info-box { margin: 28px 0; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.checklist, .steps { display: grid; gap: 14px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; min-height: 74px; padding: 18px 20px 18px 68px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); counter-increment: step; }
.steps li::before { position: absolute; left: 18px; top: 17px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--gold); color: var(--bg); font-weight: 900; content: counter(step); }
.checklist li { position: relative; padding: 10px 0 10px 38px; border-bottom: 1px solid var(--border); }
.checklist li::before { position: absolute; left: 0; top: 13px; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--emerald); border-radius: 50%; color: var(--emerald); font-size: 14px; content: "✓"; }
.table-wrap { margin: 30px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table { width: 100%; min-width: 700px; border-collapse: collapse; background: var(--surface); }
th, td { padding: 15px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: #102e28; color: var(--gold); font-weight: 800; }
tbody tr:last-child td { border-bottom: 0; }
details { border-bottom: 1px solid var(--border); background: transparent; }
summary { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; color: var(--text); font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { color: var(--gold); font-size: 24px; content: "+"; transition: transform .18s ease; }
details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 18px; color: #dce9e4; }
.feedback-form { display: grid; gap: 18px; margin-top: 28px; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; margin-bottom: 6px; color: #e4efeb; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; background: #091f1b; color: var(--text); font: inherit; }
.field textarea { min-height: 150px; resize: vertical; }
.form-help { color: var(--muted); font-size: 14px; }
.form-status { padding: 14px 16px; border-radius: 10px; background: var(--notice); }
.form-status--error { border-left: 4px solid var(--danger); }
.archive-item { margin-bottom: 24px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.error-page { padding-top: 120px; padding-bottom: 160px; }

.site-footer { border-top: 1px solid var(--border); background: #061512; }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 60px; max-width: var(--max); margin: 0 auto; padding: 56px 24px 34px; }
.site-footer__brand p { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.site-footer__note { color: #d2ddd9 !important; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 8px 24px; }
.footer-nav a { display: flex; min-height: 44px; align-items: center; border-bottom: 1px solid var(--border); color: var(--text); font-weight: 700; text-decoration: none; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 22px 24px; border-top: 1px solid rgba(43,74,65,.7); color: var(--muted); font-size: 14px; }
.site-footer__bottom p { margin: 0; }

@media (max-width: 1100px) {
  .site-nav--desktop, .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .prose-grid, .prose-grid--reverse { grid-template-columns: 1fr; }
  .prose-grid--reverse .content-figure { order: initial; }
}
@media (max-width: 768px) {
  body { font-size: 16px; line-height: 1.72; }
  .site-header { height: 60px; }
  .site-header__inner { padding: 0 18px; }
  .page-shell, .page-shell--home { width: min(calc(100% - 32px), var(--reading)); padding: 48px 0 64px; }
  .article-header { margin-bottom: 48px; }
  h1 { font-size: clamp(36px, 10vw, 44px); }
  h2 { font-size: clamp(27px, 7.4vw, 32px); }
  .content-section { margin-bottom: 56px; }
  .text-map, .related-links { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 34px; padding: 44px 16px 28px; }
  .site-footer__bottom { flex-direction: column; padding: 20px 16px 28px; }
  .button-row { flex-direction: column; }
  .button-row .button { width: 100%; }
  .content-figure { border-radius: 12px; }
  .feedback-form { padding: 20px 16px; }
}
@media (max-width: 390px) {
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .menu-toggle { width: 46px; justify-content: center; padding: 0; }
  .footer-nav { grid-template-columns: 1fr; }
  th, td { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
