/* Shared styles for the six policy pages Razorpay checks:
   /contact /terms /privacy /refund-policy /shipping-policy /pricing */
:root {
    --bg: #f8fafc;
    --card: #ffffff;
    --ink: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --brand: #0f766e;
    --brand-soft: #ccfbf1;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #090d16;
        --card: #111827;
        --ink: #f1f5f9;
        --muted: #94a3b8;
        --line: #1f2937;
        --brand: #2dd4bf;
        --brand-soft: #134e4a;
    }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Tamil", sans-serif;
}
a { color: var(--brand); }
.top {
    border-bottom: 1px solid var(--line);
    background: var(--card);
}
.top__in, .main, .foot__in { max-width: 820px; margin: 0 auto; padding: 0 16px; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; }
.brand img { width: 32px; height: 32px; }
.home { font-size: 14px; font-weight: 600; }
.legalnav { border-bottom: 1px solid var(--line); background: var(--card); }
.legalnav ul { list-style: none; margin: 0 auto; padding: 8px 16px; max-width: 820px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.legalnav a { text-decoration: none; color: var(--muted); }
.legalnav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.main { padding-top: 28px; padding-bottom: 48px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 6px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.intro { background: var(--brand-soft); border-radius: 12px; padding: 14px 16px; margin: 0 0 24px; }
section { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 0 0 16px; }
h2 { font-size: 19px; margin: 0 0 8px; }
section p { margin: 0 0 8px; }
section ul { margin: 0; padding-left: 20px; }
section li { margin: 0 0 6px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; white-space: nowrap; }
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 20px 0 28px; }
.foot p { margin: 0 0 6px; }
@media (max-width: 480px) {
    h1 { font-size: 25px; }
    section { padding: 14px; }
    table { font-size: 14px; }
}

/* Match the main site's warm surfaces and deep teal accents. */
:root { --bg: #f4f7f4; --card: #fffdf8; --ink: #14283a; --muted: #485d69; --line: #dce7e3; --brand: #126b6a; --brand-soft: #e1f3ed; }
@media (prefers-color-scheme: dark) {
    :root { --bg: #0c1720; --card: #172a35; --ink: #f2f8f6; --muted: #bfd0ce; --line: #304752; --brand: #78d8c8; --brand-soft: #183e40; }
}
body { letter-spacing: -.01em; }
.top__in, .main, .foot__in, .legalnav ul { max-width: 900px; }
.top__in { min-height: 76px; }
.brand { letter-spacing: -.03em; font-size: 20px; }
.legalnav ul { gap: 8px 20px; padding-top: 14px; padding-bottom: 14px; }
.main { padding-top: clamp(36px, 6vw, 64px); padding-bottom: 64px; }
h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -.045em; }
.updated { margin-top: 10px; margin-bottom: 26px; }
.intro { border-radius: 18px; padding: 20px 24px; }
section { border-radius: 20px; padding: 24px; margin-bottom: 16px; box-shadow: 0 12px 35px rgba(12, 40, 52, .05); overflow-x: auto; }
h2 { font-size: 20px; letter-spacing: -.025em; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (max-width: 480px) { section { padding: 18px; } .intro { padding: 18px; } }
