/* Standalone policy pages. Deliberately independent of the marketing page
   styles so the terms stay readable if the site design changes. */

.policy-page {
  margin: 0;
  background: #0d1b3a;
  color: #0f1a20;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

.policy-page.is-bangla {
  font-family: "Noto Sans Bengali", "DM Sans", system-ui, sans-serif;
}

.policy-wrap {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.policy-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  color: #fff;
  text-decoration: none;
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.policy-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
}

.policy-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: 0 18px 40px rgba(5, 15, 40, 0.25);
}

.policy-head { border-bottom: 1px solid #e3e8f2; padding-bottom: 1rem; margin-bottom: 1.5rem; }

.policy-head h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  line-height: 1.25;
  text-wrap: balance;
}

.policy-meta { margin: 0; font-size: 0.85rem; color: #5c6784; }

.policy-body { font-size: 0.98rem; color: #24324a; }
.policy-body p { margin: 0 0 1rem; }
.policy-body ol, .policy-body ul { margin: 0 0 1rem; padding-left: 1.4rem; }
.policy-body li { margin-bottom: 0.85rem; }
.policy-body strong { color: #0f1a20; }
.policy-body h2 { font-size: 1.1rem; margin: 1.75rem 0 0.6rem; }

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.policy-links a { color: #cfe0ff; font-size: 0.9rem; }

.policy-back {
  display: inline-block;
  margin-top: 1.5rem;
  color: #cfe0ff;
  text-decoration: none;
  font-size: 0.92rem;
}

.policy-back:hover, .policy-links a:hover { text-decoration: underline; }

@media (max-width: 30rem) {
  .policy-card { padding: 1.5rem 1.15rem; border-radius: 14px; }
}

/* ---------- language switch ---------- */

.policy-lang {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 1rem;
  padding: 3px;
  background: #eef2f7;
  border-radius: 999px;
}

.policy-lang a {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5c6784;
  text-decoration: none;
  line-height: 1.4;
}

.policy-lang a.is-active {
  background: #1a4fb8;
  color: #fff;
}

.policy-lang a:not(.is-active):hover { color: #1a4fb8; }

.policy-lang a:focus-visible {
  outline: 2px solid #1a4fb8;
  outline-offset: 2px;
}
