/* Bundled Bangla font (ADR-0021): self-hosted, Bengali characters only. */
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/noto-sans-bengali-bengali-400-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/noto-sans-bengali-bengali-600-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/noto-sans-bengali-bengali-700-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
/* DSE Desk landing. Graphite + Signal Lime (ADR-0022). Every colour is a token below;
   light is the default, dark follows the OS until the visitor picks one (data-theme). */
:root {
  --bg: #F4F4F2; --surface: #FFFFFF; --sink: #ECECE8;
  --ink: #141518; --muted: #5B5E66; --dim: #8A8D94;
  --line: #DADBD6; --line-strong: #C4C6C0;
  --graphite: #1B1D21; --on-graphite: #EDEDEA; --lime: #E6FF5C; --olive: #4E6B00;
  --gain: #0B7268; --loss: #B3261E;
  /* role tokens */
  --btn-bg: var(--graphite); --btn-fg: var(--lime);
  --mark: var(--graphite); --mark-dot: var(--graphite);
  --accent-text: var(--olive); --focus: var(--graphite);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --bn: "Noto Sans Bengali", "Hind Siliguri", "Kohinoor Bangla", "Bangla Sangam MN", "Nirmala UI", "Vrinda", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0F11; --surface: #17181C; --sink: #121316;
    --ink: #EDEDEA; --muted: #9FA2AA; --dim: #6E717A;
    --line: #2A2C31; --line-strong: #3A3D44;
    --lime: #D9F75B; --olive: #D9F75B; --gain: #3DBFA8; --loss: #FF8A7F;
    --btn-bg: var(--lime); --btn-fg: #141518;
    --mark: var(--ink); --mark-dot: var(--lime);
    --accent-text: var(--lime); --focus: var(--lime);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0F11; --surface: #17181C; --sink: #121316;
  --ink: #EDEDEA; --muted: #9FA2AA; --dim: #6E717A;
  --line: #2A2C31; --line-strong: #3A3D44;
  --lime: #D9F75B; --olive: #D9F75B; --gain: #3DBFA8; --loss: #FF8A7F;
  --btn-bg: var(--lime); --btn-fg: #141518;
  --mark: var(--ink); --mark-dot: var(--lime);
  --accent-text: var(--lime); --focus: var(--lime);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); overflow-x: hidden; }
:lang(bn) { font-family: var(--bn), var(--sans); }
html:lang(bn) body { line-height: 1.75; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 12px; }
a { color: var(--accent-text); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
svg { display: block; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
html:lang(bn) .mono { font-family: var(--bn), var(--sans); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 820px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 14px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; min-height: 40px; gap: 10px; color: var(--ink); text-decoration: none; margin: 0; font-size: 18px; }
.mark { width: 30px; height: 30px; color: var(--mark); flex: none; }
.mark .dot { fill: var(--mark-dot); }
.word { font-family: var(--sans); font-weight: 500; letter-spacing: 0.03em; white-space: nowrap; }
.word b { font-weight: 700; }
.links { display: none; gap: 24px; margin-left: 16px; }
.links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; font-size: 15px; }
.links a:hover { color: var(--ink); }
.tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tool { min-height: 40px; min-width: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; }
.tool:hover { border-color: var(--ink); }
.tool.icon { padding: 0; display: grid; place-items: center; }
.tool svg { width: 20px; height: 20px; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}
.top .btn-sm { display: none; }
@media (min-width: 900px) { .links { display: flex; } .top .btn-sm { display: inline-flex; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 650; font-size: 16px; line-height: 1.2; font-family: inherit; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.15); }
.btn:disabled { opacity: 0.7; cursor: progress; }
.btn.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-full { width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 6px; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; }
.btn-ghost:hover { text-decoration-color: var(--ink); }

/* hero */
.hero { padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 80px 0 96px; } .hero-in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; } }
.eyebrow { font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.eyebrow:lang(bn) { font-family: var(--bn); text-transform: none; letter-spacing: 0; font-size: 14px; }
h1 { font-size: clamp(34px, 7vw, 60px); line-height: 1.08; letter-spacing: -0.025em; }
html:lang(bn) h1 { line-height: 1.3; letter-spacing: 0; }
.bn-line { font-size: clamp(20px, 3vw, 26px); font-weight: 600; color: var(--accent-text); margin: 18px 0 0; line-height: 1.5; }
.lead { font-size: 18px; color: var(--muted); margin: 20px 0 0; max-width: 60ch; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* preview card */
.preview { margin: 0; }
.example { display: inline-block; font: 600 12px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 4px; padding: 6px 8px; margin-bottom: 10px; }
.example:lang(bn) { font-family: var(--bn); text-transform: none; letter-spacing: 0; font-size: 13px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.sugg { padding: 22px; box-shadow: 0 1px 0 var(--line), 0 12px 32px -18px color-mix(in srgb, var(--ink) 30%, transparent); }
.sugg-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.kicker { font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; color: var(--muted); }
.kicker:lang(bn) { text-transform: none; letter-spacing: 0; font-size: 13px; }
.code { font: 700 26px/1.2 var(--mono); letter-spacing: 0.01em; margin: 10px 0 14px; overflow-wrap: anywhere; }
.rows { margin: 0; border-top: 1px solid var(--line); }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rows dt { color: var(--muted); }
.rows dd { margin: 0; text-align: right; font-weight: 600; }
.pass { color: var(--gain); }
.status { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--graphite); color: var(--lime); font-weight: 650; }
.gate-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); flex: none; }
.you { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

/* sections */
.sec { padding: 64px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .sec { padding: 96px 0; } }
.num { font: 500 13px/1 var(--mono); color: var(--accent-text); margin-bottom: 14px; }
h2 { font-size: clamp(26px, 4vw, 40px); max-width: 26ch; }
html:lang(bn) h2 { line-height: 1.4; letter-spacing: 0; }
h3 { font-size: 18px; margin-bottom: 8px; }
.grid3 p, .steps p, .trust p, details p { color: var(--muted); margin: 0; }
.intro { color: var(--muted); font-size: 17px; max-width: 62ch; margin: 16px 0 0; }
.grid3 { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 760px) { .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.punch { font-size: clamp(18px, 2.4vw, 22px); font-weight: 600; margin: 28px 0 0; }
#who .small.muted { margin-top: 20px; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--graphite); color: var(--on-graphite); font: 700 15px/1 var(--mono); margin-bottom: 16px; }

.checks { list-style: none; counter-reset: c; padding: 0; margin: 32px 0 0; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1040px) { .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.checks li { counter-increment: c; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.checks li::before { content: counter(c, decimal-leading-zero); font: 500 13px/1 var(--mono); color: var(--muted); }
.checks li::after { content: "✓"; color: var(--gain); font-weight: 700; }

.trust { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.trust li { padding: 20px 0 20px 28px; border-bottom: 1px solid var(--line); position: relative; }
.trust li::before { content: ""; position: absolute; left: 0; top: 26px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 28px; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; font-weight: 600; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 24px/1 var(--mono); color: var(--muted); }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 18px; max-width: 68ch; }

/* join */
.join { background: var(--sink); }
.join-in { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .join-in { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; } }
.tagline { margin: 28px 0 0; font-size: 20px; font-weight: 650; }
.form { display: grid; gap: 16px; padding: 24px; }
.field { display: grid; gap: 6px; }
label { font-weight: 600; font-size: 15px; }
.req { color: var(--loss); }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.4; font-family: inherit; }
textarea { resize: vertical; min-height: 72px; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--loss); }
.err { color: var(--loss); font-size: 14px; margin: 0; }
.err:empty { display: none; }
.form-err { font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { padding: 24px; }
.done .status { margin: 0 0 14px; font-size: 18px; }
.done p:last-child { margin: 0; }

/* footer */
.foot { padding: 40px 0 56px; }
.foot-in { display: grid; gap: 24px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; } }
.foot .brand { margin-bottom: 10px; }
.disclaim p { color: var(--muted); max-width: 80ch; }
