/* Spider Net public site - plain CSS, no framework, no external font. */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --text: #141a2c;
  --muted: #566079;
  --line: #dfe4ee;
  --accent: #0b7f74;          /* text-safe teal on light */
  --accent-soft: #d8f3ef;
  --human: #9a5b00;           /* text-safe amber on light */
  --human-soft: #fdf0d9;
  --plan: #5a4bc2;            /* violet = planned, not built */
  --plan-soft: #eeebfc;
  --night: #080d1c;
  --night-2: #101831;
  --silk: #dfe7ff;
  --silk-dim: rgba(223, 231, 255, .22);
  --signal: #43e6cf;
  --amber: #ffb547;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 24, 48, .06), 0 8px 28px rgba(16, 24, 48, .07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", "Nirmala UI", "Vrinda", "Hind Siliguri", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --surface: #121a2e;
    --surface-2: #172138;
    --text: #e8ecf8;
    --muted: #a5adc4;
    --line: #26314d;
    --accent: #4fe3cf;
    --accent-soft: rgba(67, 230, 207, .12);
    --human: #ffc261;
    --human-soft: rgba(255, 181, 71, .12);
    --plan: #b4a9ff;
    --plan-soft: rgba(180, 169, 255, .11);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

/* language: content is written twice; only the active language shows */
html[lang="bn"] body [lang="en"]:not([data-show]),
html[lang="en"] body [lang="bn"]:not([data-show]),
html[lang="bn"] [data-show="en"],
html[lang="en"] [data-show="bn"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 13, 28, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(223, 231, 255, .08);
  color: var(--silk);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; min-width: 0; }
.brand .logo-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-weight: 750; font-size: 1.12rem; letter-spacing: .01em; white-space: nowrap; }
.brand-sub { font-size: .72rem; color: rgba(223, 231, 255, .66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-nav { display: none; gap: 2px; }
.top-nav a { color: rgba(223, 231, 255, .78); text-decoration: none; font-size: .92rem; padding: 6px 10px; border-radius: 8px; }
.top-nav a:hover { color: #fff; background: rgba(223, 231, 255, .08); }
@media (min-width: 1020px) { .top-nav { display: flex; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: .95rem; line-height: 1.2;
  padding: 10px 16px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-lang { background: transparent; color: var(--silk); border-color: rgba(223, 231, 255, .28); padding: 8px 12px; }
.btn-lang:hover { border-color: rgba(223, 231, 255, .6); }
.btn-signin { background: var(--signal); color: #04201c; }
.btn-signin:hover { background: #6ff0de; }
.btn-primary { background: var(--signal); color: #04201c; padding: 13px 22px; font-size: 1rem; }
.btn-primary:hover { background: #6ff0de; }
.btn-ghost { background: transparent; color: var(--silk); border-color: rgba(223, 231, 255, .35); padding: 13px 22px; font-size: 1rem; }
.btn-ghost:hover { border-color: var(--silk); }
.btn-dark { background: var(--text); color: var(--bg); }
@media (max-width: 380px) {
  .brand-sub { display: none; }
  .btn-signin, .btn-lang { padding: 8px 11px; font-size: .88rem; }
}

/* ---------- logo mark ---------- */
.logo-mark .mk-thread, .logo-mark .mk-spoke, .logo-mark .mk-ring {
  fill: none; stroke: var(--silk); stroke-linecap: round; stroke-linejoin: round;
}
.logo-mark .mk-spoke { stroke-width: 1.5; opacity: .9; }
.logo-mark .mk-ring { stroke-width: 1.3; opacity: .78; }
.logo-mark .mk-thread { stroke-width: 1.1; opacity: .8; }
.logo-mark .mk-legs { fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.logo-mark .mk-body { fill: url(#mkGrad); }
.logo-mark .mk-eye { fill: #04201c; }
.logo-mark .mk-spoke, .logo-mark .mk-ring, .logo-mark .mk-thread { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s ease-out forwards; }
.logo-mark .mk-ring:nth-of-type(1) { animation-delay: .35s; }
.logo-mark .mk-ring:nth-of-type(2) { animation-delay: .5s; }
.logo-mark .mk-ring:nth-of-type(3) { animation-delay: .65s; }
.logo-mark .mk-ring:nth-of-type(4) { animation-delay: .8s; }
.logo-mark .mk-thread { animation-duration: .45s; animation-delay: 1.05s; }
.logo-mark .mk-spider { opacity: 0; transform: translateY(-16px); animation: drop .75s 1.25s cubic-bezier(.3, 1.45, .55, 1) forwards; }
.logo-mark .mk-pulse { fill: var(--signal); opacity: 0; }
.logo-mark .mk-pulse { animation: blink 5s 2.4s ease-in-out infinite; }
.logo-mark.static .mk-spoke, .logo-mark.static .mk-ring, .logo-mark.static .mk-thread { animation: none; stroke-dashoffset: 0; }
.logo-mark.static .mk-spider { animation: none; opacity: 1; transform: none; }
.logo-mark.static .mk-pulse { animation: none; opacity: 0; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drop { to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0%, 70%, 100% { opacity: 0; } 80% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeup { from { opacity: 0; transform: translate(-50%, -30%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes flow { from { stroke-dashoffset: .14; } to { stroke-dashoffset: -1; } }
@keyframes glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--silk);
  background:
    radial-gradient(1100px 560px at 78% 30%, rgba(67, 230, 207, .16), transparent 60%),
    radial-gradient(700px 460px at 8% 0%, rgba(110, 130, 255, .16), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  padding: 40px 0 56px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(67, 230, 207, .5), transparent);
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 920px) { .hero { padding: 72px 0 84px; } .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 650; letter-spacing: .02em;
  color: var(--signal); background: rgba(67, 230, 207, .1);
  border: 1px solid rgba(67, 230, 207, .3); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: glow 2.4s ease-in-out infinite; }
.hero h1 { font-size: clamp(1.85rem, 6.4vw, 3.25rem); font-weight: 780; color: #fff; margin-bottom: 18px; }
html[lang="bn"] .hero h1 { line-height: 1.35; font-size: clamp(1.8rem, 5.6vw, 2.7rem); }
.hero h1, .block h2 { text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .lead { font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: rgba(223, 231, 255, .86); max-width: 38em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-note { font-size: .9rem; color: rgba(223, 231, 255, .62); margin: 0; }

/* hero web */
.hero-web { position: relative; width: min(86vw, 520px); aspect-ratio: 1; margin: 0 auto; }
.hero-web svg { width: 100%; height: 100%; overflow: visible; }
.hw-frame, .hw-spiral, .hw-sig { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hw-frame { stroke: var(--silk); stroke-width: .55; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s ease-out .1s forwards; }
.hw-spiral { stroke: var(--silk); stroke-width: .42; opacity: .42; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3s cubic-bezier(.45, 0, .3, 1) .8s forwards; }
.hw-sig { stroke: var(--signal); stroke-width: 1.3; stroke-dasharray: .14 1.3; stroke-dashoffset: .14; opacity: 0; animation: flow 2.6s linear infinite; }
.hw-sig.out { stroke: var(--amber); }
.hero-web.ready .hw-sig { opacity: .95; }
.hw-sig.s2 { animation-delay: .9s; } .hw-sig.s3 { animation-delay: 1.7s; }
.hw-sig.s4 { animation-delay: .4s; } .hw-sig.s5 { animation-delay: 1.3s; } .hw-sig.s6 { animation-delay: 2.1s; }
.hw-node { fill: var(--night); stroke: var(--signal); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; opacity: 0; animation: pop .5s ease-out forwards; }
.hw-node.out { stroke: var(--amber); }
.hw-node.n1 { animation-delay: 3.0s; } .hw-node.n2 { animation-delay: 3.12s; } .hw-node.n3 { animation-delay: 3.24s; }
.hw-node.n4 { animation-delay: 3.36s; } .hw-node.n5 { animation-delay: 3.48s; } .hw-node.n6 { animation-delay: 3.6s; }
.hw-halo { fill: url(#hwHalo); opacity: 0; animation: drop .9s 2.5s ease-out forwards; }
.hw-spider { opacity: 0; transform: translateY(-22px); animation: drop .9s 2.6s cubic-bezier(.3, 1.4, .55, 1) forwards; }
.hw-spider .legs { fill: none; stroke: #fff; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.hw-spider .body { fill: url(#hwGrad); }
.hw-spider .eye { fill: #04201c; }
.hw-thread { stroke: var(--silk); stroke-width: .5; opacity: .6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .6s 2.3s ease-out forwards; }
.chip {
  position: absolute; transform: translate(-50%, -50%);
  font-size: .78rem; font-weight: 650; line-height: 1.25; text-align: center;
  color: #fff; background: rgba(16, 24, 49, .88); border: 1px solid rgba(67, 230, 207, .45);
  padding: 6px 10px; border-radius: 12px; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  opacity: 0; animation: fadeup .55s ease-out forwards;
}
.chip.out { border-color: rgba(255, 181, 71, .55); }
.chip small { display: block; font-weight: 500; font-size: .68rem; color: rgba(223, 231, 255, .7); }
.chip.c1 { left: 32%; top: 12.5%; animation-delay: 3.1s; }
.chip.c2 { left: 68%; top: 12.5%; animation-delay: 3.22s; }
.chip.c3 { left: 84%; top: 43%; animation-delay: 3.34s; }
.chip.c4 { left: 68%; top: 88%; animation-delay: 3.46s; }
.chip.c5 { left: 32%; top: 88%; animation-delay: 3.58s; }
.chip.c6 { left: 16%; top: 43%; animation-delay: 3.7s; }
.web-legend { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: .8rem; color: rgba(223, 231, 255, .7); margin-top: 6px; }
.web-legend span { display: inline-flex; align-items: center; gap: 7px; }
.web-legend i { width: 18px; height: 3px; border-radius: 2px; background: var(--signal); }
.web-legend i.out { background: var(--amber); }
@media (min-width: 560px) { .chip { font-size: .86rem; padding: 7px 12px; } .chip small { font-size: .72rem; } }

/* ---------- sections ---------- */
section.block { padding: 64px 0; }
@media (min-width: 900px) { section.block { padding: 92px 0; } }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.kicker { display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
html[lang="bn"] .kicker { letter-spacing: .02em; font-size: .9rem; }
.block h2 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); font-weight: 760; max-width: 26em; }
html[lang="bn"] .block h2 { line-height: 1.38; }
.intro { color: var(--muted); font-size: 1.08rem; max-width: 42em; margin-bottom: 36px; }

/* reveal on scroll (only when JS runs and motion is fine) */
.js-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-motion .reveal.in { opacity: 1; transform: none; }

/* ---------- day timeline ---------- */
.day-head { display: none; }
.day { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.day li {
  display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
.day .time { font-weight: 750; font-size: .95rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.day .time svg { width: 18px; height: 18px; color: var(--accent); }
.day .now, .day .with { border-radius: 12px; padding: 12px 14px; font-size: .98rem; }
.day .now { background: var(--surface-2); color: var(--muted); }
.day .with { background: var(--accent-soft); color: var(--text); border-left: 3px solid var(--accent); }
.day .tag { display: block; font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
html[lang="bn"] .day .tag { letter-spacing: 0; font-size: .8rem; }
.day .now .tag { color: var(--muted); }
.day .with .tag { color: var(--accent); }
.day p { margin: 0; }
@media (min-width: 860px) {
  .day-head { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 16px; padding: 0 18px 10px; font-size: .8rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  html[lang="bn"] .day-head { letter-spacing: 0; font-size: .9rem; }
  .day li { grid-template-columns: 150px 1fr 1fr; gap: 16px; align-items: stretch; padding: 14px 18px; }
  .day .time { align-self: center; }
  .day .tag { display: none; }
}

/* ---------- split ---------- */
.split { display: grid; gap: 18px; }
@media (min-width: 860px) { .split { grid-template-columns: 1.15fr .85fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
section.alt .card { background: var(--bg); }
.card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.card h3 .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.card h3 .ic svg { width: 20px; height: 20px; }
.ic.ai { background: var(--accent-soft); color: var(--accent); }
.ic.hu { background: var(--human-soft); color: var(--human); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft); box-shadow: inset 0 0 0 5px var(--accent);
}
.ticks.hu li::before { background: var(--human-soft); box-shadow: inset 0 0 0 5px var(--human); }
.split-note { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--human-soft); color: var(--text); font-weight: 560; }

/* showcase mocks */
.show { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 860px) { .show { grid-template-columns: 1fr 1fr; } }
.mock { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
section.alt .mock { background: var(--bg); }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.mock-top .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.mock-top .av svg { width: 18px; height: 18px; }
.mock-top b { display: block; line-height: 1.2; }
.mock-top small { color: var(--muted); font-size: .76rem; }
.mock-label { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.thread { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 16px 16px; }
.msg { max-width: 86%; padding: 9px 13px; border-radius: 16px; font-size: .95rem; line-height: 1.55; }
.msg.them { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 5px; }
section.alt .msg.them { background: var(--surface); }
.msg.ai { align-self: flex-end; background: var(--accent-soft); border: 1px solid rgba(11, 127, 116, .25); border-bottom-right-radius: 5px; }
.msg .who { display: block; font-size: .7rem; font-weight: 750; color: var(--accent); margin-bottom: 2px; }
.msg .fake-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 11px; border-radius: 10px; background: var(--accent); color: var(--bg); font-size: .82rem; font-weight: 700; }
.msg .fake-btn svg { width: 15px; height: 15px; }
.mock-cap { font-size: .8rem; color: var(--muted); padding: 10px 16px 14px; margin: 0; border-top: 1px solid var(--line); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow); }
section.alt .steps li { background: var(--bg); }
.steps .num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px;
  font-weight: 800; font-size: 1.15rem; color: var(--night); background: var(--signal);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; }

/* features */
.grid3 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid3 { grid-template-columns: repeat(3, 1fr); } .grid3.two { grid-template-columns: repeat(2, 1fr); } }
.feat { display: flex; flex-direction: column; }
.feat .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: var(--accent-soft); color: var(--accent); }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.12rem; }
.feat p { color: var(--muted); margin: 0; font-size: .98rem; }
.badge { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 750; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; margin-bottom: 12px; }
.badge.now { background: var(--accent-soft); color: var(--accent); }
.badge.soon { background: var(--human-soft); color: var(--human); }
.needs { margin-top: 22px; display: grid; gap: 14px; }
@media (min-width: 860px) { .needs { grid-template-columns: 1fr 1fr; } }
.need { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1px dashed var(--line); background: var(--surface); }
section.alt .need { background: var(--bg); }
.need svg { width: 26px; height: 26px; flex: none; color: var(--accent); margin-top: 2px; }
.need p { margin: 0; }
.need b { display: block; }

/* coming */
.soon-card { border-style: dashed; box-shadow: none; }
.feat.soon-card .ic { background: var(--human-soft); color: var(--human); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; padding: 8px 12px; font-size: .94rem; }
.chips li b { font-weight: 700; }

/* road map: three levels (teal = version 1, amber = next, violet = planned) */
.levels { list-style: none; margin: 0 0 44px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .levels { grid-template-columns: repeat(3, 1fr); } }
.levels a { display: flex; gap: 14px; align-items: center; height: 100%; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.levels a:hover { border-color: var(--muted); }
.levels b { display: block; font-size: 1.05rem; }
.levels small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.lv-num { flex: none; width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; font-size: 1.05rem; }
.lv1 .lv-num { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.lv2 .lv-num, .lv-num.lv2 { background: var(--human-soft); color: var(--human); box-shadow: inset 0 0 0 2px var(--human); }
.lv3 .lv-num, .lv-num.lv3 { background: var(--plan-soft); color: var(--plan); box-shadow: inset 0 0 0 2px var(--plan); border: 0; }
.lv3 .lv-num { box-shadow: none; border: 2px dashed var(--plan); }
.level { margin-top: 40px; }
.level + .level { margin-top: 64px; }
.level-title { display: flex; align-items: center; gap: 12px; font-size: clamp(1.25rem, 3.4vw, 1.6rem); }
.level-intro { color: var(--muted); max-width: 44em; margin-bottom: 22px; }
.plan-warn { display: flex; gap: 12px; align-items: flex-start; max-width: 44em; padding: 14px 16px; margin-bottom: 26px; border-radius: 14px; border: 1.5px dashed var(--plan); background: var(--plan-soft); color: var(--text); font-weight: 650; }
.plan-warn svg { width: 22px; height: 22px; flex: none; color: var(--plan); margin-top: 3px; }
.badge.plan { background: var(--plan-soft); color: var(--plan); border: 1px dashed var(--plan); }
.stories { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 900px) { .stories { grid-template-columns: 1fr 1fr; } }
.story { background: var(--surface); border: 1.5px dashed var(--plan); border-radius: 22px; padding: 22px; }
.story-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.story-head .ic, .plan-card .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--plan-soft); color: var(--plan); }
.story-head .ic svg, .plan-card .ic svg { width: 22px; height: 22px; }
.story-head .badge { margin: 0; }
.story h3 { font-size: 1.28rem; }
.story > p { color: var(--muted); }
.story h4 { font-size: .95rem; margin: 18px 0 8px; color: var(--text); }
.flow { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 9px 12px 9px 44px; border-radius: 12px; background: var(--plan-soft); font-weight: 620; font-size: .95rem; }
.flow li::before { content: counter(f); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: var(--surface); background: var(--plan); }
html[lang="bn"] .flow li:nth-child(1)::before { content: "১"; }
html[lang="bn"] .flow li:nth-child(2)::before { content: "২"; }
html[lang="bn"] .flow li:nth-child(3)::before { content: "৩"; }
.guards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.guards li { position: relative; padding-left: 28px; font-size: .96rem; }
.guards li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 16px; height: 18px; background: var(--plan); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l9 3.4v6.4c0 5.1-3.8 9.3-9 10.2-5.2-.9-9-5.1-9-10.2V5.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l9 3.4v6.4c0 5.1-3.8 9.3-9 10.2-5.2-.9-9-5.1-9-10.2V5.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan-card { display: flex; flex-direction: column; border: 1.5px dashed var(--plan); box-shadow: none; }
.plan-card .ic { margin-bottom: 14px; }
.plan-card h3 { font-size: 1.08rem; }
.plan-card p { color: var(--muted); font-size: .96rem; }
.plan-card .yours { margin-top: auto; align-self: flex-start; font-size: .8rem; font-weight: 700; color: var(--plan); padding-top: 6px; }
.plan-more { margin-top: 16px; }
.plan-more .badge { margin: 0 6px 0 0; vertical-align: 1px; }
@media (min-width: 980px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
section.alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 680; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--accent); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* contact */
.contact { background: linear-gradient(180deg, var(--night-2), var(--night)); color: var(--silk); }
.contact .kicker { color: var(--signal); }
.contact h2 { color: #fff; }
.contact .intro { color: rgba(223, 231, 255, .78); }
.cgrid { display: grid; gap: 14px; }
@media (min-width: 860px) { .cgrid { grid-template-columns: repeat(3, 1fr); } }
.ccard { background: rgba(223, 231, 255, .05); border: 1px solid rgba(223, 231, 255, .14); border-radius: var(--radius); padding: 20px; }
.ccard h3 { font-size: 1rem; color: rgba(223, 231, 255, .75); display: flex; align-items: center; gap: 10px; font-weight: 650; }
.ccard h3 svg { width: 20px; height: 20px; color: var(--signal); }
.ccard a, .ccard address { display: block; color: #fff; font-style: normal; font-size: 1.05rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; margin-top: 6px; }
.ccard a:hover { color: var(--signal); }
.ccard address { font-weight: 500; font-size: 1rem; line-height: 1.6; }
.ccard .fine { font-size: .82rem; color: rgba(223, 231, 255, .6); margin: 10px 0 0; }
.existing { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding: 18px 20px; border-radius: var(--radius); border: 1px solid rgba(67, 230, 207, .3); background: rgba(67, 230, 207, .06); }
.existing p { margin: 0; flex: 1 1 260px; }

/* footer */
.site-footer { background: var(--night); color: rgba(223, 231, 255, .7); font-size: .9rem; padding: 34px 0 40px; border-top: 1px solid rgba(223, 231, 255, .08); }
.site-footer .wrap { display: grid; gap: 18px; }
@media (min-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.site-footer .brand .logo-mark { width: 34px; height: 34px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: rgba(223, 231, 255, .85); }
.site-footer p { margin: 6px 0 0; }

/* simple pages (privacy, 404) */
.page-hero { background: linear-gradient(180deg, var(--night), var(--night-2)); color: #fff; padding: 46px 0 40px; }
.page-hero h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.page-hero p { color: rgba(223, 231, 255, .75); margin: 0; }
.prose { max-width: 760px; padding: 40px 16px 70px; }
.prose h2 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }

/* ---------- reduced motion: final state at once ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .hw-sig, .logo-mark .mk-pulse { display: none; }
  .pill i { animation: none; }
}
