:root {
  --ink: #14233A;
  --ink-2: #1F3352;
  --paper: #F7F4ED;
  --paper-2: #EDE7DA;
  --card: #FCFBF7;
  --accent: #F0A73A;
  --accent-text: #8F530A;
  --teal: #2A6B70;
  --muted: #4C5768;
  --muted-dark: #C2CDDA;
  --line: #DDD5C4;
  --line-dark: #34496A;
  --display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --pad: clamp(20px, 5vw, 96px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
p, ul, ol, figure { margin: 0; }
a { color: inherit; }

@media (min-width: 900px) and (min-height: 640px) {
  html { scroll-snap-type: y mandatory; }
  .slide { scroll-snap-align: start; scroll-snap-stop: always; }
}

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad);
  background: rgba(20, 35, 58, 0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--paper);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.topbar.on-light { background: rgba(247, 244, 237, 0.8); color: var(--ink); }
.brand { font-family: var(--display); font-weight: 800; font-size: 28px; text-decoration: none; letter-spacing: -0.03em; }
.brand span { color: var(--accent); }
.counter { font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; letter-spacing: .12em; opacity: .8; }

.dots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; gap: 12px; }
.dots button {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; background: transparent;
  padding: 0; cursor: pointer; color: var(--muted); opacity: .7; transition: transform .3s var(--ease), background .3s, opacity .3s;
}
.dots button[aria-current="true"] { background: var(--accent); border-color: var(--accent); opacity: 1; transform: scale(1.35); }
.dots.on-dark button { color: var(--muted-dark); }
.dots.on-amber button { color: var(--ink); }
.dots.on-amber button[aria-current="true"] { background: var(--ink); border-color: var(--ink); }
.dots button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 899px) { .dots { display: none; } }

.progress { position: fixed; left: 0; right: 0; bottom: 0; height: 4px; z-index: 20; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s var(--ease); }

.slide {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(88px + 2vh) var(--pad) clamp(48px, 8vh, 96px);
  position: relative; overflow: hidden;
}
.slide.alt { background: var(--paper-2); }
.slide.dark { background: var(--ink); color: var(--paper); }
.slide.amber { background: var(--accent); color: var(--ink); }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
@media (max-width: 899px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .art { order: 2; }
}

.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 16px; }
.dark .eyebrow { color: var(--accent); }
.amber .eyebrow { color: var(--ink); }
h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.02; font-weight: 750; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.06; font-weight: 700; max-width: 18ch; }
.center h2 { max-width: 20ch; }
h2.huge { font-size: clamp(38px, 6vw, 84px); }
h3 { font-size: clamp(19px, 1.6vw, 24px); font-weight: 700; line-height: 1.2; }
.lede { font-size: clamp(17px, 1.6vw, 22px); color: var(--muted); margin-top: 20px; max-width: 46ch; }
.dark .lede { color: var(--muted-dark); }
.amber .lede { color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center .actions { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none;
  background: var(--accent); color: var(--ink); border: 2px solid var(--accent);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(240, 167, 58, .35); }
.btn:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line-dark); }
.btn-ghost:hover { background: var(--ink-2); box-shadow: none; }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { box-shadow: 0 10px 24px rgba(20, 35, 58, .35); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 38px; padding: 8px 18px; font-size: 14px; }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--muted-dark); }
.chips.light li { border-color: var(--line); color: var(--muted); }

.art { display: flex; justify-content: center; }
.art img { width: 100%; max-width: 640px; filter: drop-shadow(0 30px 50px rgba(20, 35, 58, .18)); }
.phone-art img { max-width: 340px; }
@media (max-width: 899px) { .phone-art img { max-width: 260px; } .art img { max-width: 520px; } }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare .col { border-radius: 24px; padding: clamp(22px, 3vw, 36px); }
.compare .before { background: var(--card); border: 1px solid var(--line); }
.compare .after { background: var(--ink); color: var(--paper); }
.compare h3 { margin-bottom: 18px; }
.compare ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.compare li { position: relative; padding-left: 34px; font-size: clamp(15px, 1.3vw, 18px); }
.compare li::before { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.before li { color: var(--muted); }
.before li::before { content: '−'; background: var(--paper-2); color: var(--muted); }
.after li::before { content: '✓'; background: var(--accent); color: var(--ink); }

.journey { list-style: none; padding: 0; margin-top: 48px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; position: relative; }
.journey::before {
  content: ''; position: absolute; left: 0; right: 0; top: 21px; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s;
}
.in-view .journey::before { transform: scaleX(1); }
.journey li { position: relative; padding-top: 64px; }
.journey .n {
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--accent);
  font-family: var(--display); font-weight: 700; font-size: 16px; box-shadow: 0 0 0 6px var(--paper-2);
}
.journey h3 { margin-bottom: 8px; }
.journey p { color: var(--muted); font-size: 15px; }
@media (max-width: 1100px) {
  .journey { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .journey::before { left: 21px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform: scaleY(0); transform-origin: top; }
  .in-view .journey::before { transform: scaleY(1); }
  .journey li { padding: 4px 0 20px 68px; min-height: 64px; }
  .journey h3 { margin-bottom: 2px; }
}

.features { list-style: none; padding: 0; display: grid; gap: 16px; margin-top: 28px; }
.features li { padding-left: 22px; border-left: 3px solid var(--accent); font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); }
.features b { color: var(--ink); }
.dark .features li { color: var(--muted-dark); }
.dark .features b { color: var(--paper); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(20, 35, 58, .1); }
.tile h3 { font-size: 19px; margin-bottom: 6px; color: var(--teal); }
.tile p { font-size: 15px; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }
.stat { border-top: 2px solid var(--line); padding-top: 16px; }
.stat .big { font-family: var(--display); font-weight: 750; font-size: clamp(48px, 6vw, 84px); line-height: 1; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.stat p:last-child { margin-top: 8px; color: var(--muted); font-size: 15px; }

.fine { margin-top: 48px; font-size: 14px; opacity: .8; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .in-view .reveal { opacity: 1; transform: none; }
.js .art.reveal { transform: translateY(28px) scale(.96); }
.js .in-view .art.reveal { transform: none; }

.slide::after {
  content: ''; position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%;
  right: -16vmax; bottom: -22vmax; pointer-events: none;
  background: radial-gradient(circle, rgba(240, 167, 58, .14), transparent 65%);
  animation: drift 16s ease-in-out infinite alternate;
}
.slide.amber::after { background: radial-gradient(circle, rgba(252, 251, 247, .35), transparent 65%); }
@keyframes drift { to { transform: translate(-8vmax, -6vmax); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .journey::before { transform: none; }
}

.top-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  min-height: 38px; padding: 6px 16px; border-radius: 999px; cursor: pointer;
  font: 600 15px/1 'Hind Siliguri', var(--text); color: inherit;
  background: transparent; border: 1.5px solid currentColor; opacity: .9;
  transition: background .25s var(--ease), color .25s var(--ease), opacity .25s;
}
.lang:lang(en) { font-family: var(--text); }
.lang:hover { opacity: 1; background: rgba(240, 167, 58, .18); }
.lang:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 520px) { .counter { display: none; } .btn-small { padding: 8px 14px; } }
@media (max-width: 380px) { .topbar .btn-small { display: none; } }

html:lang(bn) {
  --display: 'Anek Bangla', 'Hind Siliguri', 'Noto Sans Bengali', 'Bricolage Grotesque', sans-serif;
  --text: 'Hind Siliguri', 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
}
html:lang(bn) h1, html:lang(bn) h2, html:lang(bn) h3 { letter-spacing: 0; line-height: 1.22; }
html:lang(bn) h1 { font-size: clamp(38px, 5.6vw, 80px); font-weight: 700; }
html:lang(bn) h2 { font-size: clamp(30px, 4vw, 56px); max-width: 20ch; }
html:lang(bn) .center h2 { max-width: 22ch; }
html:lang(bn) .eyebrow { letter-spacing: .04em; font-size: 16px; }
html:lang(bn) .lede { line-height: 1.6; }
html:lang(bn) .stat .big, html:lang(bn) .journey .n { font-family: var(--display); }
html:lang(bn) body { line-height: 1.6; }
.brand { font-family: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif; }
html:lang(bn) .lede, html:lang(bn) .features li, html:lang(bn) .compare li, html:lang(bn) .tile p, html:lang(bn) .journey p, html:lang(bn) .stat p:last-child, html:lang(bn) .chips li { font-weight: 500; }

h2.wide { max-width: 26ch; }
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mini:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(20, 35, 58, .08); }
.mini h3 { font-size: 17px; margin-bottom: 4px; color: var(--teal); }
.mini p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.six .mini { padding: 22px 24px; }
.six .mini h3 { font-size: 19px; }
.six .mini p { font-size: 15.5px; }
@media (max-width: 900px) { .six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .minis, .six { grid-template-columns: 1fr; } }

.views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 760px) { .views { grid-template-columns: 1fr; } }
.view { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 20px; padding: 26px; transition: transform .3s var(--ease); }
.view:hover { transform: translateY(-4px); }
.view .ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent); margin-bottom: 16px; }
.view .ico svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.view h3 { margin-bottom: 8px; }
.view p { color: var(--muted-dark); font-size: 16px; }

.sub { font-size: 18px; margin-top: 26px; color: var(--teal); }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { font-size: 14px; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; counter-reset: none; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.steps .n { display: block; font-family: var(--display); font-weight: 750; font-size: 48px; line-height: 1; color: var(--accent-text); margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15.5px; }

html:lang(bn) .mini p, html:lang(bn) .view p, html:lang(bn) .steps p, html:lang(bn) .tags li { font-weight: 500; }
html:lang(bn) h2.wide { max-width: 28ch; }
