/* Static policy-page styles — shared by /terms.html, /privacy.html,
   /refund.html, /cancellation.html. Self-contained so Razorpay's
   compliance bot (no JS) can render the pages directly. */

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: #0f1115;
  color: #e7ecf3;
  font-family: 'Inter', 'Roboto', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.65;
}

.policy-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.policy-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #252b36;
  margin-bottom: 32px;
}

.back-btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 8px 14px;
  background: #1d232d;
  color: #e7ecf3;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 160ms ease;
}
.back-btn:hover { background: #2a3340; }

.header-center { flex: 1; text-align: center; }
.header-center h1 {
  margin: 0 0 6px;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.header-center p {
  margin: 0;
  font-size: 13px;
  color: #8a94a7;
}

main section {
  margin-bottom: 28px;
}

main h2 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  color: #4ee08a;
  letter-spacing: -0.01em;
}

main p {
  margin: 0 0 12px;
  font-size: 15px;
  color: #c9d1e0;
}

main ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

main li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #c9d1e0;
}

main strong { color: #fff; font-weight: 600; }

main a {
  color: #5b8def;
  text-decoration: underline;
  text-underline-offset: 2px;
}
main a:hover { color: #8aabf2; }

main code {
  background: #1d232d;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #4ee08a;
}

footer.policy-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #252b36;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}
footer.policy-footer a { color: #8a94a7; }

@media (max-width: 540px) {
  .policy-container { padding: 24px 16px 60px; }
  .header-center h1 { font-size: 26px; }
  main h2 { font-size: 17px; }
  main p, main li { font-size: 14px; }
}
