/* Shared styling for the standalone policy pages: privacy, refund, cancellation.
 *
 * These pages exist because Razorpay's page-compliance crawler could not find
 * the policies. The refund policy lived only as an anchor (#refund) on the home
 * page, and there was no privacy policy at all. Card networks require each
 * policy at its own URL, and a business holding PAN and KYC-linked data needs a
 * published privacy notice regardless of what any gateway asks for.
 *
 * Palette and type are the public site's, so a client who follows a footer link
 * does not land on something that looks like a different company.
 */
:root {
  --blue: #2563EB; --blue-hover: #1D4ED8;
  --text-dom: #0B1220; --text-sec: #5B6679;
  --surface: #EEF2F7; --page: #FAFBFD; --white: #FFFFFF; --dark-med: #272729;
  --line: #E2E8F0;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--page); color: var(--text-dom);
  font-family: var(--sans); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 820px; margin: 0 auto; padding: 0 20px 72px; }

header.top { background: var(--white); border-bottom: 1px solid var(--line); padding: 16px 20px; }
header.top .inner {
  max-width: 820px; margin: 0 auto; display: flex; flex-wrap: wrap;
  gap: 8px 18px; align-items: baseline; justify-content: space-between;
}
.brand { font-weight: 700; font-size: 16.5px; }
.brand span { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-sec); }
a.home { color: var(--blue); text-decoration: none; font-weight: 600; font-size: 14px; }
a.home:hover { color: var(--blue-hover); text-decoration: underline; }

h1 { font-size: 30px; line-height: 1.25; margin: 42px 0 10px; letter-spacing: -0.02em; }
.lede { color: var(--text-sec); font-size: 15.5px; margin: 0 0 8px; }
.updated {
  font-family: var(--mono); font-size: 12.5px; color: var(--text-sec);
  margin: 0 0 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
h2 { font-size: 20px; margin: 36px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 16px; margin: 22px 0 6px; }
p, li { margin: 0 0 12px; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }

table { border-collapse: collapse; width: 100%; margin: 16px 0 22px; font-size: 14.5px; }
th, td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
th { background: var(--surface); font-weight: 600; }
/* Tables scroll inside their own box; the page itself must never scroll sideways. */
.scroll { overflow-x: auto; }

.box {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--blue);
  padding: 15px 20px; margin: 20px 0; border-radius: 0 6px 6px 0;
}
.box > :last-child { margin-bottom: 0; }
.muted { color: var(--text-sec); font-size: 14.5px; }
code { font-family: var(--mono); font-size: 13.5px; background: var(--surface); padding: 1px 5px; border-radius: 3px; }

footer.legal { background: var(--dark-med); color: rgba(255,255,255,0.72); padding: 30px 20px; font-size: 13.5px; line-height: 1.75; }
footer.legal .inner { max-width: 820px; margin: 0 auto; }
footer.legal a { color: rgba(255,255,255,0.9); }
footer.legal .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  h1 { font-size: 25px; margin-top: 30px; }
  h2 { font-size: 18px; }
}
