/* Prasang Bazar — landing + legal pages shared shell.
   Utilitarian, brand-consistent: maroon + cream + gold, warm and festive but
   calm enough to also carry the privacy/terms prose. */

:root {
  --maroon: #9b2242;
  --maroon-deep: #7a1a34;
  --cream: #fdf6ea;
  --card: #fffdf8;
  --ink: #2a1a1f;
  --muted: #7c6a6f;
  --gold: #c9a227;
  --line: #ece0d4;
  --shadow: 0 1px 2px rgba(42, 26, 31, 0.04), 0 8px 24px rgba(42, 26, 31, 0.06);
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --maroon: #e8698a;
    --maroon-deep: #d64f74;
    --cream: #1a1113;
    --card: #241a1d;
    --ink: #f3e7e0;
    --muted: #b39aa0;
    --gold: #e0bd54;
    --line: #3a2a2f;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Sans Gujarati", "Noto Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px 56px;
}

.wrap--prose { max-width: 680px; }

h1, h2, h3 {
  font-family: "Baloo Bhai 2", "Noto Sans Gujarati", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}

a { color: var(--maroon); }

/* ---- Brand header ---- */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.brand__logo {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.brand__name {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

.brand__tagline {
  color: var(--maroon);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
}

.brand__blurb {
  color: var(--muted);
  margin: 2px 0 0;
  font-size: 0.97rem;
}

/* ---- Sections / cards ---- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-top: 24px;
}

.section-label {
  font-family: "Baloo Bhai 2", "Noto Sans Gujarati", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

/* ---- Download CTA ---- */

.cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--maroon);
  color: #fff;
  font-family: "Baloo Bhai 2", "Noto Sans Gujarati", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(155, 34, 66, 0.28);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(155, 34, 66, 0.34); }
.cta:active { transform: translateY(0); }

@media (prefers-color-scheme: dark) {
  .cta { color: #2a1013; }
}

.cta-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 10px 0 0;
}

/* ---- Install steps ---- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--maroon);
  color: var(--maroon);
  font-family: "Baloo Bhai 2", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.steps li span { padding-top: 2px; }
.steps b { font-weight: 700; color: var(--ink); }

.otp-line {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px dashed var(--gold);
  border-radius: 10px;
  font-size: 0.92rem;
}

.otp-line code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--maroon);
}

/* ---- Category chips ---- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
  color: var(--ink);
}

/* ---- Vendor card ---- */

.vendor-card p { margin: 0 0 14px; color: var(--muted); font-size: 0.95rem; }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--maroon);
  color: var(--maroon);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
}

.btn-outline:hover { background: var(--maroon); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-outline:hover { color: #2a1013; } }

/* ---- Footer ---- */

.foot {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.foot a { color: var(--muted); text-decoration: underline; }
.foot__links { display: flex; gap: 18px; justify-content: center; margin-bottom: 10px; }
.foot__links a { color: var(--maroon); text-decoration: none; font-weight: 600; }

/* ---- Legal prose ---- */

.prose-back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--maroon);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.prose h1 { font-size: 1.7rem; margin-bottom: 6px; }
.prose .updated { color: var(--muted); font-size: 0.85rem; margin: 0 0 28px; }
.prose h2 { font-size: 1.15rem; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 20px; }
.prose li { margin: 4px 0; }
.prose .note {
  margin-top: 32px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
