:root {
  --bg: #f4f8f6;
  --surface: #ffffff;
  --hero: #0f7a5a;
  --hero-dark: #0a5c45;
  --accent: #18a879;
  --accent-soft: #7bc9a9;
  --gold: #f1c75b;
  --text: #102a22;
  --muted: #60736b;
  --border: #d8e8e0;
  --info: #eaf6f1;
  --warning: #fff5d9;
  --warning-text: #946316;
  --danger: #b84b4b;
  --focus: #064e3b;
  --shadow: 0 14px 36px rgba(17, 84, 63, .10);
  --radius: 18px;
  --content: 1160px;
  --reading: 780px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  overflow-wrap: break-word;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--hero-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 10px 14px; color: #fff; background: var(--focus); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 50; color: #fff; background: var(--hero); }
.site-header__inner { display: flex; min-height: 68px; max-width: var(--content); margin: 0 auto; padding: 0 24px; align-items: center; justify-content: space-between; }
.site-logo { color: #fff; font-size: 1.55rem; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.site-logo span { color: var(--gold); }
.primary-menu { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { display: flex; min-height: 44px; padding: 8px 13px; color: #fff; border-radius: 10px; align-items: center; text-decoration: none; font-weight: 700; }
.primary-menu a:hover, .primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { color: #fff; background: rgba(255,255,255,.14); }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; background: transparent; align-items: center; gap: 8px; justify-content: center; }
.menu-toggle__icon { display: grid; gap: 4px; }
.menu-toggle__icon i { display: block; width: 19px; height: 2px; background: currentColor; }

.site-main { min-height: 55vh; }
.article-header { color: #fff; background: linear-gradient(145deg, var(--hero-dark), var(--hero)); }
.article-header::after { display: block; height: 24px; content: ""; background: linear-gradient(176deg, var(--hero) 49%, var(--bg) 51%); }
.article-header__inner { width: min(var(--reading), calc(100% - 48px)); margin: 0 auto; padding: 66px 0 54px; }
.article-header--home .article-header__inner { width: min(960px, calc(100% - 48px)); padding-top: 78px; padding-bottom: 68px; }
.article-kicker { margin: 0 0 12px; color: #d8f4e9; font-size: .88rem; font-weight: 800; letter-spacing: .035em; }
.article-header h1 { max-width: 880px; margin: 0; font-size: clamp(2.05rem, 5vw, 4.25rem); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.article-meta { margin: 18px 0 0; color: #d6eee6; font-size: .92rem; }
.article-content { width: min(var(--reading), calc(100% - 48px)); margin: 0 auto; padding: 46px 0 76px; }
.article-content > p:first-child { margin-top: 0; font-size: 1.17rem; line-height: 1.75; }
.article-content section { margin: 64px 0 0; scroll-margin-top: 90px; }
.article-content h2 { margin: 0 0 20px; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.article-content h3 { margin: 32px 0 12px; font-size: 1.3rem; line-height: 1.35; }
.article-content p { margin: 0 0 20px; }
.article-content ul, .article-content ol { margin: 0 0 24px; padding-left: 1.35rem; }
.article-content li { margin: 8px 0; padding-left: 5px; }

.article-visual { margin: 30px 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.article-visual__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.article-visual figcaption { padding: 12px 16px; color: var(--muted); font-size: .88rem; }
.toc { position: relative; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.toc summary { cursor: pointer; font-weight: 850; }
.toc ul { margin: 16px 0 0; columns: 2; }
.toc a { display: inline-block; min-height: 44px; padding: 7px 0; }
.table-wrap { max-width: 100%; margin: 26px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .94rem; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--hero-dark); background: var(--info); font-weight: 850; }
tr:last-child td { border-bottom: 0; }
.steps { margin: 26px 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; min-height: 58px; margin: 0 0 14px; padding: 13px 16px 13px 64px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); counter-increment: steps; }
.steps li::before { position: absolute; top: 11px; left: 14px; display: grid; width: 38px; height: 38px; color: #fff; border-radius: 50%; background: var(--hero); content: counter(steps); place-items: center; font-weight: 900; }
.notice { margin: 26px 0; padding: 18px 20px; border-left: 5px solid var(--gold); border-radius: 10px; color: var(--warning-text); background: var(--warning); }
.notice--info { border-color: var(--accent); color: var(--text); background: var(--info); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.faq-list details[open] { border-left: 5px solid var(--accent); }
.faq-list summary { min-height: 52px; padding: 14px 48px 14px 18px; cursor: pointer; font-weight: 800; }
.faq-list details p { padding: 0 18px 18px; }
.context-links { padding: 20px 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--info); }
.button { display: inline-flex; min-height: 48px; padding: 11px 19px; color: #fff; border-radius: 12px; background: var(--hero); align-items: center; justify-content: center; text-decoration: none; font-weight: 850; box-shadow: var(--shadow); }
.button:hover { color: #fff; background: var(--hero-dark); }
.editorial-note { color: var(--muted); font-size: .93rem; }
.email-address { direction: ltr; unicode-bidi: isolate; font-weight: 700; }

.site-footer { color: #e6f3ee; background: var(--text); }
.site-footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 42px; max-width: var(--content); margin: 0 auto; padding: 62px 24px 42px; }
.site-footer h2 { margin: 3px 0 16px; color: #fff; font-size: 1rem; }
.site-footer p { margin: 13px 0; color: #bcd1c9; font-size: .92rem; }
.site-footer a { color: #e6f3ee; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 10px 0; }
.site-logo--footer { display: inline-block; margin-bottom: 10px; }
.responsible-note { padding-left: 13px; border-left: 3px solid var(--gold); }
.site-footer__bottom { padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.1); color: #9fb7ae; text-align: center; font-size: .82rem; }
.archive-shell, .error-page { padding-bottom: 72px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--content); margin: 48px auto; padding: 0 24px; }
.archive-card { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.error-page .article-header__inner { color: var(--text); }

@media (max-width: 1023px) {
  .site-header__inner { min-height: 58px; padding: 0 20px; }
  .menu-toggle { display: inline-flex; }
  .primary-navigation { position: absolute; top: 58px; right: 0; left: 0; visibility: hidden; padding: 14px 20px 22px; background: var(--hero-dark); opacity: 0; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
  .menu-open .primary-navigation { visibility: visible; opacity: 1; transform: translateY(0); }
  .primary-menu { display: grid; gap: 4px; }
  .primary-menu a { min-height: 48px; padding: 10px 12px; }
  .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; }
  .site-footer__contact { grid-column: 1 / -1; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .article-header__inner, .article-header--home .article-header__inner, .article-content { width: min(100% - 32px, var(--reading)); }
  .article-header__inner, .article-header--home .article-header__inner { padding-top: 48px; padding-bottom: 44px; }
  .article-header h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .article-content { padding-top: 34px; padding-bottom: 54px; }
  .article-content section { margin-top: 44px; }
  .article-content > p:first-child { font-size: 1.08rem; }
  .toc { padding: 18px; border-radius: 14px; }
  .toc ul { columns: 1; }
  .article-visual { border-radius: 14px; }
  .article-visual__image { aspect-ratio: 4 / 3; object-position: center; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 26px; padding: 44px 16px 30px; }
  .site-footer__contact { grid-column: auto; }
  .archive-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .button { width: 100%; }
  th, td { padding: 12px 13px; }
}

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