/* The main website (spec/rules.md §২৮): hand written, the panel's colours (web/src/index.css) and fonts.
   Bangla digits 0-9 in Anek's shape ("AB Digits", the panel's own small font), the rest Hind Siliguri. */
@font-face { font-family: "AB Digits"; font-weight: 400; font-display: swap; src: url("/fonts/ab-digits-400.woff2") format("woff2"); unicode-range: U+09E6-09EF; }
@font-face { font-family: "AB Digits"; font-weight: 600; font-display: swap; src: url("/fonts/ab-digits-600.woff2") format("woff2"); unicode-range: U+09E6-09EF; }
@font-face { font-family: "AB Digits"; font-weight: 700; font-display: swap; src: url("/fonts/ab-digits-700.woff2") format("woff2"); unicode-range: U+09E6-09EF; }

:root {
  --primary: #0a5560; --primary-hover: #084650; --primary-soft: #e3f0ee; --on-primary: #fff;
  --accent: #ff9f43; --accent-hover: #e5822a; --accent-soft: #fff1e3; --on-accent: #2a1606;
  --bg: #f4f8f8; --surface: #fff; --surface-2: #edf3f3; --text: #14262b; --muted: #52666a; --border: #dce6e6;
  --danger: #c8102e; --danger-soft: #fde8ec; --success: #1b7a32; --success-soft: #e6f4e9;
  --radius: 14px;
  --font: "AB Digits", "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 .8em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 760px; }

/* buttons */
.btn { display: inline-block; padding: .55em 1.1em; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600; }
.btn-big { padding: .75em 1.4em; font-size: 1.05rem; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-light { background: var(--surface); color: var(--primary); border-color: var(--border); }
.btn-ghost { color: var(--primary); border-color: var(--primary); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2em; }

/* header and menu (no script: a checkbox opens the menu on a phone) */
.top { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--primary); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; }
.nav-button { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-button span { width: 24px; height: 2px; background: var(--text); display: block; }
@media (max-width: 860px) {
  .nav-button { display: flex; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); flex-direction: column;
         align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--border); gap: 10px; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav .btn { text-align: center; }
}

/* sections */
.hero { background: linear-gradient(160deg, var(--primary) 0%, #0d6b78 100%); color: #fff; padding: 72px 0 80px; }
.hero .lead { color: #d8ecea; }
.hero-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-row:has(> :only-child) { grid-template-columns: 1fr; }
.hero-img img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.badge { display: inline-block; background: rgba(255, 255, 255, .14); padding: .25em .8em; border-radius: 999px; font-size: .92rem; }
.note { color: #cfe7e4; font-size: .95rem; margin-top: .8em; }
.band { padding: 64px 0; }
.band.alt { background: var(--surface-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card p:last-child { margin-bottom: 0; }
.card-img { border-radius: 10px; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 12px; font-size: 1.05rem; }
.quote figcaption { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 24px 0 12px; }
.price { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.price-name { color: var(--muted); }
.price-amount { font-size: 1.7rem; font-weight: 700; color: var(--primary); }
.price-amount span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.terms, .trial { color: var(--muted); }
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 14px 0 20px; }
.module { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.module-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.module-head span { color: var(--primary); font-weight: 600; white-space: nowrap; }
.module p, .module ul { color: var(--muted); font-size: .95rem; }
.module ul { margin: 0; padding-left: 1.2em; }

.qa { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin: 10px 0; }
.qa summary { font-weight: 600; cursor: pointer; }
.qa p { margin: .6em 0 0; color: var(--muted); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.video { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--text); }
.video span { display: block; padding: 10px 12px; }

.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 24px 0 16px; }

.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.reach { display: flex; flex-wrap: wrap; gap: 10px; }
.form-card form { display: grid; gap: 12px; }
.form-card label { display: grid; gap: 4px; font-weight: 500; }
.form-card input, .form-card select, .form-card textarea { font: inherit; padding: .55em .7em; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error { background: var(--danger-soft); color: var(--danger); padding: 10px 12px; border-radius: 8px; }
.thanks { background: var(--success-soft); color: var(--success); padding: 14px 16px; border-radius: 8px; font-weight: 600; margin: 0; }

.cta { background: var(--primary); color: #fff; padding: 64px 0; text-align: center; }
.cta .lead { color: #d8ecea; margin: 0 auto; }
.cta .buttons { justify-content: center; }

.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }

.foot { background: #14262b; color: #c7d6d8; padding: 40px 0 24px; margin-top: 0; }
.foot .logo { color: #fff; }
.foot .muted { color: #93a9ab; }
.foot-row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 20px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { color: #c7d6d8; text-decoration: none; }
.foot-links a:hover { color: #fff; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 56px; }
  .hero-row, .contact-row { grid-template-columns: 1fr; }
  .band { padding: 44px 0; }
}
