/* NotifyBD landing — brand navy + signal orange; the hero reminder demo is the one bold moment. */
:root {
  --navy: #202530;
  --navy-2: #2B3140;
  --orange: #F55932;
  --orange-dark: #D9431E;
  --paper: #FFFFFF;
  --mist: #EEF1F6;
  --slate: #5B6475;
  --ink: #1A1E27;
  --line: #DDE2EA;
  --green: #16A34A;
  --amber: #C2410C;
  --display: "Familjen Grotesk", "Hind Siliguri", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bangla: "Hind Siliguri", "Plus Jakarta Sans", system-ui, sans-serif;
  --r: 14px;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[lang="bn"] body { font-family: var(--bangla); font-size: 17.5px; line-height: 1.7; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3 { font-family: var(--bangla); letter-spacing: 0 !important; }
p { margin: 0; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); padding: .5rem 1rem; z-index: 100; border-radius: 8px; }
.skip:focus { left: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 1rem/1 var(--body); text-decoration: none; border-radius: 12px; padding: .8rem 1.2rem; border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
html[lang="bn"] .btn { font-family: var(--bangla); }
.btn-lg { padding: 1rem 1.45rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem .95rem; font-size: .92rem; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { border-color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mist); }

/* Top navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand img { height: 34px; width: auto; }
.links { display: flex; gap: 1.6rem; margin-left: 1rem; }
.links a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--slate); }
.links a:hover { color: var(--ink); }
.links .only-menu { display: none; }
.nav-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.lang { font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--slate); padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 30px; }
.lang:hover { color: var(--ink); border-color: var(--slate); }
.signin { font-weight: 600; font-size: .95rem; text-decoration: none; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0; position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Hero */
.hero { background: var(--navy); color: #fff; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 780px; height: 780px; right: -260px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 89, 50, .34), rgba(245, 89, 50, 0) 62%); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.12fr .88fr; gap: 3rem; align-items: center; padding: 5.5rem 0 6rem; position: relative; }
.hero h1 { text-wrap: balance; color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.02; font-weight: 700; letter-spacing: -.028em; max-width: 12.5em; }
html[lang="bn"] .hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.25; font-weight: 700; }
.hero .lead { color: #C9CFDA; font-size: 1.18rem; margin-top: 1.4rem; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero .note { margin-top: 1.2rem; font-size: .9rem; color: #98A1B2; }

/* The reminder demo */
.demo { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.phone { width: min(100%, 340px); background: #F3F5F9; border-radius: 34px; padding: 14px 14px 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 10px #151922, 0 0 0 11px #3A4152; }
.phone-bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 14px 12px; font: 600 .82rem var(--body); color: var(--ink); }
.phone-bar .dots { width: 44px; height: 9px; border-radius: 6px; background: linear-gradient(90deg, #1A1E27 0 60%, transparent 60% 70%, #1A1E27 70%); opacity: .8; }
.stack { position: relative; height: 262px; }
.notif { background: #fff; border-radius: 20px; padding: 14px 16px 16px; box-shadow: 0 1px 2px rgba(26, 30, 39, .06), 0 10px 24px -14px rgba(26, 30, 39, .3); color: var(--ink); position: absolute; left: 0; right: 0; transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .45s; }
.notif header { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: var(--slate); flex-wrap: wrap; }
.notif header img { width: 20px; height: 20px; border-radius: 6px; }
.notif header b { color: var(--ink); font-weight: 600; }
.notif .again { font-style: normal; margin-left: auto; color: var(--amber); font-weight: 600; }
.notif h3 { font-family: var(--body); font-size: 1rem; margin-top: .45rem; font-weight: 700; }
html[lang="bn"] .notif h3 { font-family: var(--bangla); }
.notif p { font-size: .9rem; color: #4A5263; margin-top: .1rem; }
.acts { display: flex; gap: .4rem; margin-top: .8rem; flex-wrap: wrap; }
.act { font-size: .78rem; font-weight: 600; padding: .42rem .7rem; border-radius: 30px; background: #EEF0F4; color: var(--ink); transition: background-color .2s, color .2s, transform .2s; }
.act.yes { background: #FDE7E0; color: #B93A17; }
.n1 { top: 0; }
.n2 { top: 0; }
.done { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: .7rem; background: #E8F7EE; color: #11703A; border-radius: 20px; padding: 16px; font-weight: 600; font-size: .95rem; }
.tick { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green); position: relative; }
.tick::after { content: ""; position: absolute; left: 10px; top: 6px; width: 8px; height: 14px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.replay { background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font: 500 .85rem var(--body); padding: .45rem .9rem; border-radius: 30px; cursor: pointer; }
html[lang="bn"] .replay { font-family: var(--bangla); }
.replay:hover { border-color: #fff; }

/* Demo states. Default (no JS, reduced motion, or after playing) = answered. site.js adds "play" + a step class. */
.stack .n1 { opacity: 0; }
.stack .n2 { opacity: 1; transform: translateY(70px); }
.stack .done { opacity: 1; }
.stack .act.yes { background: var(--green); color: #fff; }
.stack.play .n1, .stack.play .n2, .stack.play .done { opacity: 0; transform: translateY(-14px); }
.stack.play .act.yes { background: #FDE7E0; color: #B93A17; }
.stack.play.s1 .n1 { opacity: 1; transform: none; }
.stack.play.s2 .n1 { opacity: .55; transform: translateY(118px) scale(.94); }
.stack.play.s2 .n2 { opacity: 1; transform: none; }
.stack.play.s3 .n1 { opacity: .55; transform: translateY(154px) scale(.94); }
.stack.play.s3 .n2 { opacity: 1; transform: none; }
.stack.play.s3 .act.yes { background: var(--green); color: #fff; transform: scale(.96); }
.stack.play.s4 .n1 { opacity: 0; transform: translateY(154px) scale(.9); }
.stack.play.s4 .n2 { opacity: .5; transform: translateY(70px) scale(.96); }
.stack.play.s4 .done { opacity: 1; transform: none; transition: opacity .4s .1s, transform .5s .1s; }
.stack.play.s4 .act.yes { background: var(--green); color: #fff; }

/* Delivery methods: one quiet row with dividers, not cards */
.ways { padding: 5rem 0 4.5rem; }
.ways-head { display: grid; gap: .7rem; }
.ways h2, .feature h2, .how h2, .split h2, .more h2 { text-wrap: balance; font-size: clamp(1.75rem, 3.2vw, 2.45rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; max-width: 18em; }
html[lang="bn"] .ways h2, html[lang="bn"] .feature h2, html[lang="bn"] .how h2, html[lang="bn"] .split h2, html[lang="bn"] .more h2 { line-height: 1.35; }
.ways-head p { color: var(--slate); font-size: 1.08rem; max-width: 34em; }
.ways-list { list-style: none; padding: 0; margin: 2.6rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.ways-list li { display: flex; gap: .9rem; padding: 1.6rem 1.4rem 0 0; }
.ways-list li + li { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.ways-list h3 { font-family: var(--body); font-size: 1.02rem; font-weight: 700; }
html[lang="bn"] .ways-list h3 { font-family: var(--bangla); }
.ways-list p { color: var(--slate); font-size: .92rem; margin-top: .25rem; }
.w-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; }
.w-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.w-ico.app { background: var(--orange); }
.w-ico.app svg { stroke: #fff; }

/* Feature rows */
.feature { padding: 5.5rem 0; }
.feature.alt { background: var(--mist); }
.feature-in { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-in.reverse .f-copy { order: 2; }
.feature .lead, .split .lead { color: var(--slate); font-size: 1.08rem; margin-top: 1rem; max-width: 32em; }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: #FDE7E0; }
.checks li::after { content: ""; position: absolute; left: .38rem; top: .5em; width: .35rem; height: .62rem; border: solid var(--orange); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.f-visual { display: flex; justify-content: center; }

/* Reminder timeline */
.timeline { width: min(100%, 420px); background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem 1.6rem; box-shadow: 0 30px 60px -40px rgba(32, 37, 48, .35); }
.tl-head { display: flex; align-items: center; gap: .7rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.tl-ico { width: 36px; height: 36px; border-radius: 11px; background: #E6EEFF; display: grid; place-items: center; }
.tl-ico svg { width: 20px; height: 20px; fill: none; stroke: #2563EB; stroke-width: 1.6; }
.timeline ol { list-style: none; padding: 0; margin: 1.2rem 0 0; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline li { display: flex; align-items: center; gap: .9rem; padding: .55rem 0; position: relative; font-weight: 500; }
.timeline .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--orange); flex: none; }
.timeline .ok { margin-left: auto; font-size: .82rem; font-weight: 600; color: #11703A; background: #E8F7EE; border-radius: 30px; padding: .2rem .65rem; }
.timeline li.off { color: #9AA2B1; }
.timeline li.off .dot { background: #fff; box-shadow: 0 0 0 1.5px #C4CAD5; }

/* Uptime strip */
.uptime { width: min(100%, 460px); background: #fff; border-radius: 22px; padding: 1.5rem 1.6rem; border: 1px solid var(--line); }
.up-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .92rem; }
.up-now { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: #11703A; font-size: .88rem; }
.up-now i, .up-note i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; }
.bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; margin-top: 1.2rem; height: 44px; }
.bars span { background: #4ADE80; border-radius: 3px; }
.bars span.down { background: #EF4444; }
.up-note { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .88rem; color: var(--slate); }
.up-note i { background: #EF4444; }

/* Channel: QR + who answered */
.channel { gap: 1.2rem; align-items: stretch; flex-wrap: wrap; }
.qr { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.2rem 1.2rem 1rem; text-align: center; }
.qr img { width: 168px; height: 168px; }
.qr figcaption { font-size: .82rem; color: var(--slate); margin-top: .6rem; }
.answers { flex: 1 1 230px; max-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.2rem 1.3rem; }
.answers b { display: block; font-size: .95rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.answers ul { list-style: none; padding: 0; margin: .5rem 0 0; }
.answers li { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; font-size: .9rem; }
.av { width: 30px; height: 30px; border-radius: 9px; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; flex: none; }
.tag { margin-left: auto; font-size: .75rem; font-weight: 700; border-radius: 30px; padding: .18rem .6rem; }
.tag.yes { background: #E8F7EE; color: #11703A; }
.tag.wait { background: #FFF1E6; color: var(--amber); }
.tag.none { background: var(--mist); color: var(--slate); }

/* How it works — a real sequence */
.how { background: var(--navy); color: #fff; padding: 5.5rem 0; }
.how h2 { color: #fff; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.steps li { counter-increment: step; border-top: 2px solid rgba(255, 255, 255, .16); padding-top: 1.4rem; }
.steps li::before { content: counter(step); display: block; font: 700 3rem/1 var(--display); color: var(--orange); margin-bottom: .9rem; }
.steps h3 { color: #fff; font-family: var(--body); font-size: 1.15rem; font-weight: 700; }
html[lang="bn"] .steps h3 { font-family: var(--bangla); }
.steps p { color: #B7BECB; margin-top: .4rem; }

/* Providers + API */
.split { padding: 5.5rem 0; }
.split-in { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.code { margin: 1.6rem 0 0; background: var(--navy); color: #E6E9EF; border-radius: 16px; padding: 1.3rem 1.4rem; font: 500 .84rem/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: pre; }
.code .c { color: #8B95A8; }

/* Made for Bangladesh */
.more { background: var(--mist); padding: 5rem 0; }
.more-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.4rem; }
.more-list div { border-top: 2px solid var(--navy); padding-top: 1.1rem; }
.more-list h3 { font-family: var(--body); font-size: 1.1rem; font-weight: 700; }
html[lang="bn"] .more-list h3 { font-family: var(--bangla); }
.more-list p { color: var(--slate); margin-top: .35rem; }

/* Closing call to action */
.cta { background: var(--orange); color: #fff; padding: 5rem 0; }
.cta-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; max-width: 16em; }
html[lang="bn"] .cta h2 { line-height: 1.3; }
.cta p { margin-top: 1rem; font-size: 1.1rem; color: #FFE6DD; }
.cta .cta-row { justify-content: center; }
.cta .btn-primary { background: var(--navy); }
.cta .btn-primary:hover { background: #11141B; }

/* Footer */
.foot { background: var(--navy); color: #AEB5C2; padding: 3rem 0 2.4rem; font-size: .92rem; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.foot img { height: 32px; width: auto; }
.foot p { margin-top: .8rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: flex-end; }
.foot-links a { text-decoration: none; color: #DDE1E8; }
.foot-links a:hover { color: #fff; }
.rights { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.4rem; margin-top: .6rem !important; }

/* Tablets */
@media (max-width: 960px) {
  .hero-in, .feature-in, .split-in { grid-template-columns: 1fr; }
  .hero-in { padding: 4rem 0 4.5rem; gap: 3.5rem; }
  .feature-in { gap: 2.6rem; }
  .feature-in.reverse .f-copy { order: 0; }
  .ways-list { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
  .ways-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps, .more-list { grid-template-columns: 1fr; gap: 1.8rem; }
  .links { display: none; }
  .menu-btn { display: block; }
  .nav.open .links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 20px 1rem; box-shadow: 0 20px 30px -20px rgba(32, 37, 48, .3); }
  .nav.open .links a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--ink); }
  .nav.open .links .only-menu { display: block; border-bottom: 0; }
}

/* Phones */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-in { gap: .6rem; height: 62px; }
  .brand img { height: 28px; }
  .signin { display: none; }
  .nav-actions { gap: .5rem; }
  .nav.open .links { top: 62px; }
  .hero-in { padding: 3rem 0 3.6rem; }
  .hero .lead { font-size: 1.05rem; }
  .cta-row .btn { width: 100%; }
  .ways { padding: 3.6rem 0 3.2rem; }
  .ways-list { grid-template-columns: 1fr; }
  .ways-list li, .ways-list li + li { border-left: 0; padding: 1.2rem 0 0; }
  .ways-list li + li { border-top: 1px solid var(--line); margin-top: 1.2rem; }
  .feature, .split, .how, .more, .cta { padding: 3.8rem 0; }
  .channel { justify-content: center; }
  .answers { max-width: none; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .notif, .done, .act { transition: none !important; }
}

/* Grid columns may shrink below their content (long code lines scroll inside the code block, not the page) */
.hero-in > *, .feature-in > *, .split-in > * { min-width: 0; }
