/* নিরোগ — the public website (landing, download, help, legal). */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 18px; }
.site-top { position: sticky; top: 0; z-index: 30; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.site-top-inner { height: 64px; display: flex; align-items: center; gap: 16px; }
.site-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--heading); font-weight: 800; font-size: 1.15rem; }
.site-nav { display: none; gap: 18px; margin-left: 10px; }
.site-nav a { color: var(--text-muted); font-weight: 600; }
.site-nav a:hover { color: var(--accent-strong); }
.site-top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { font-weight: 700; font-size: var(--fs-sm); color: var(--text-muted); padding: 6px 8px; }
.site-main { min-height: 60vh; }

.hero-site { padding-top: 44px; padding-bottom: 30px; display: grid; gap: 28px; align-items: center; }
.hero-site h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.2; font-weight: 800; }
.hero-site h1 span { color: var(--accent); }
.hero-site .lead { font-size: var(--fs-lg); color: var(--text-muted); max-width: 540px; margin: 14px 0 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin-top: 12px; font-size: var(--fs-sm); color: var(--text-faint); }

.phone { width: 300px; max-width: 86vw; margin: 0 auto; border-radius: 36px; background: #0f1b19; padding: 12px; box-shadow: var(--shadow-3); position: relative; }
.phone::before { content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 24px; background: #0f1b19; border-radius: 0 0 16px 16px; z-index: 2; }
.phone-screen { border-radius: 26px; overflow: hidden; background: var(--bg); min-height: 560px; padding: 36px 12px 14px; display: grid; gap: 10px; align-content: start; }
.phone .hero { padding: 14px; }
.phone .hero h2 { font-size: 1.05rem; }
.phone .dose { margin: 0; }

.features { padding-top: 24px; padding-bottom: 10px; }
.features h2, .steps h2, .faq h2, .cta h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); text-align: center; margin-bottom: 6px; }
.features .sub, .steps .sub { text-align: center; color: var(--text-muted); margin-bottom: 22px; }
.feature-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.feature { padding: 18px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); }
.feature .icon-badge { width: 48px; height: 48px; font-size: 1.4rem; margin-bottom: 10px; }
.feature h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.feature p { color: var(--text-muted); margin: 0; font-size: var(--fs-sm); }

.steps { padding-top: 30px; padding-bottom: 30px; }
.step-grid { display: grid; gap: 12px; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.step .num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; }
.step h3 { font-size: var(--fs-md); margin-bottom: 2px; }
.step p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }

.cta { margin: 20px 0 40px; padding: 28px 20px; border-radius: var(--r-xl); text-align: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); box-shadow: 0 14px 34px var(--accent-glow); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); }
.cta .hero-cta { justify-content: center; margin-top: 14px; }

.faq { padding-top: 10px; padding-bottom: 40px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 12px 16px; margin-bottom: 8px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--heading); }
.faq p { margin: 8px 0 0; color: var(--text-muted); font-size: var(--fs-sm); }

.prose { max-width: 760px; margin: 0 auto; padding-top: 30px; padding-bottom: 50px; }
.prose h1 { font-size: 1.9rem; margin-bottom: 8px; }
.prose h2 { font-size: 1.2rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text); line-height: 1.7; }
.prose .muted { color: var(--text-muted); }

.dl-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 22px 0; }
.dl-card { padding: 20px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); display: grid; gap: 8px; align-content: start; }
.dl-card .icon-badge { width: 50px; height: 50px; font-size: 1.5rem; }
.dl-card h3 { font-size: var(--fs-lg); }
.dl-card p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.dl-card .btn { justify-self: start; margin-top: 6px; }
.dl-steps { padding-left: 18px; color: var(--text-muted); font-size: var(--fs-sm); }
.dl-steps li { margin-bottom: 4px; }

.site-foot { border-top: 1px solid var(--border); padding: 30px 0 40px; background: var(--surface); }
.site-foot-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.site-foot h4 { font-size: var(--fs-sm); margin-bottom: 8px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .05em; }
.site-foot a { display: block; color: var(--text); padding: 3px 0; }
.site-foot .site-brand a { display: inline; }
.site-foot-note { margin: 22px 0 0; color: var(--text-faint); font-size: var(--fs-xs); }

@media (min-width: 760px) {
  .site-nav { display: flex; }
  .hero-site { grid-template-columns: 1.1fr .9fr; padding-top: 60px; padding-bottom: 40px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .site-foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .dl-grid { grid-template-columns: repeat(3, 1fr); }
}
