/* ---------------------------------------------------------------------------
   satsangbd.com — the public website.

   Separate from the application by instruction (7 Oct 2026): nothing here is
   shared with frontend/, so the site can change without touching a screen the
   office uses. The tokens below are copied from the application's main.css so
   the two look like one organisation, not pasted together.

   No webfont is loaded. A font from a CDN is a third-party request, and the
   gateway's requirement 8 is that this site makes none - Bangla renders in the
   system's own Noto Sans Bengali / SolaimanLipi.
--------------------------------------------------------------------------- */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-alt: #f1f3f6;
  --border: #e2e5ea;
  --text: #16181d;
  --text-muted: #5b6471;
  --accent: #2f6bff;
  --accent-hover: #2559e0;
  --radius: 8px;
  --radius-lg: 14px;
  --font: 'Inter', 'Noto Sans Bengali', 'Segoe UI', system-ui, sans-serif;
  --font-bn: 'Noto Sans Bengali', 'SolaimanLipi', 'Segoe UI', sans-serif;
  --wrap: 1060px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.bn { font-family: var(--font-bn); }
.en { color: var(--text-muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* --- header --------------------------------------------------------------- */
.site-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-head__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand__name { font-family: var(--font-bn); font-weight: 600; font-size: 1rem; line-height: 1.2; }
.brand__en { display: block; font-family: var(--font); font-weight: 400; font-size: 0.72rem; color: var(--text-muted); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.92rem; }
.nav a:hover { color: var(--accent); }
.nav .btn { color: #fff; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid var(--accent);
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: rgba(47, 107, 255, 0.08); color: var(--accent-hover); }

/* --- page sections -------------------------------------------------------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 56px 0; text-align: center; }
.hero h1 { font-family: var(--font-bn); font-size: 2rem; margin: 0 0 6px; line-height: 1.35; }
.hero h2 { font-size: 1.05rem; font-weight: 500; color: var(--text-muted); margin: 0 0 18px; }
.hero p { max-width: 720px; margin: 0 auto 10px; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

section { padding: 48px 0; }
section + section { border-top: 1px solid var(--border); }
h2.sec { font-family: var(--font-bn); font-size: 1.35rem; margin: 0 0 4px; }
h2.sec + .en { margin: 0 0 24px; font-size: 0.9rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}
.card h3 { font-family: var(--font-bn); font-size: 1.02rem; margin: 0 0 6px; }
.card p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.88rem;
  font-family: var(--font-bn);
}
.chip span { font-family: var(--font); color: var(--text-muted); font-size: 0.78rem; }

.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px 18px 60px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 18px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-family: var(--font-bn); font-size: 1rem; margin: 0 0 4px; }
.step p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

.pay-banner { width: 100%; height: auto; display: block; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.note { font-size: 0.9rem; color: var(--text-muted); margin-top: 14px; }

/* --- document pages (terms, refund, privacy) ------------------------------ */
.doc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 40px; margin: 40px 0; }
.doc h1 { font-family: var(--font-bn); font-size: 1.6rem; margin: 0 0 4px; }
.doc h1 .en { display: block; font-family: var(--font); font-size: 0.95rem; font-weight: 400; }
.doc .updated { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 26px; }
.doc h2 { font-family: var(--font-bn); font-size: 1.08rem; margin: 28px 0 6px; }
.doc h2 .en { font-family: var(--font); font-weight: 400; font-size: 0.9rem; color: var(--text-muted); }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .lead { font-size: 1.02rem; }

.facts { width: 100%; border-collapse: collapse; margin: 6px 0 18px; }
.facts td { padding: 9px 0; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 0.95rem; }
.facts td:first-child { width: 42%; color: var(--text-muted); }

/* --- footer --------------------------------------------------------------- */
.site-foot { background: var(--surface); border-top: 1px solid var(--border); padding: 40px 0 28px; margin-top: 10px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot-cols h4 { font-size: 0.82rem; text-transform: none; color: var(--text-muted); margin: 0 0 10px; font-weight: 500; }
.foot-cols p { margin: 0 0 8px; font-size: 0.9rem; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 7px; }
.foot-links a { font-size: 0.9rem; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-reg { font-size: 0.86rem; color: var(--text-muted); }
.foot-pay { margin: 30px 0 18px; }
.foot-pay img { width: 100%; height: auto; display: block; }
.foot-pay .tall { display: none; }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 16px; font-size: 0.85rem; color: var(--text-muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .foot-cols { grid-template-columns: 1fr; gap: 22px; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 1.55rem; }
  .doc { padding: 24px 20px; }
  .foot-pay .wide { display: none; }
  .foot-pay .tall { display: block; }

  /* The header wraps onto a second row rather than hiding the links behind a
     menu button: three short words and a login fit, and nothing needs
     JavaScript to work. */
  .site-head__inner { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .brand { width: 100%; }
  .nav { width: 100%; margin-left: 0; justify-content: space-between; gap: 10px; }
  .nav a { font-size: 0.88rem; }
  .btn { padding: 7px 14px; }
}
