/* =================================================================
   legal.css — the policy pages.

   Razorpay's activation check validates six URLs before it will issue
   live-mode keys: terms, privacy, refund/cancellation, shipping/delivery,
   contact, and pricing. They are separate documents on purpose — an
   automated validator follows a URL, and anchors on one page are not
   reliably accepted.

   Shared rather than inlined six times: these pages differ only in prose,
   and six copies of the same stylesheet is six places for the register to
   drift. Variables come from styles.css, which every page already loads.
   ================================================================= */

.legal {
  max-width: 68ch;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.65;
}

.legal-nav {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}
.legal-nav a { color: var(--ink-dim); text-decoration: none; }
.legal-nav a:hover { color: var(--accent); }
.legal-nav .sep { color: var(--ink-faint); }

.legal h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.4rem;
}

.legal .updated {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 2.5rem;
}

.legal h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 2.5rem 0 0.6rem;
  color: var(--ink);
}

.legal p, .legal li { color: var(--ink-dim); }
.legal p { margin: 0 0 1rem; }
.legal ul, .legal ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal li { margin-bottom: 0.4rem; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.legal dl { margin: 0 0 1rem; }
.legal dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 1rem;
}
.legal dd { margin: 0.2rem 0 0; color: var(--ink); }

/* A fact this lab does not have yet — an unincorporated entity's CIN, a
   registered address, a phone number. Rendered visibly rather than left as
   bare text so it cannot ship unnoticed, and doctor.js reports any REPLACE_
   token remaining in a shipped page. */
.pending {
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--accent-2);
  background: rgba(201, 74, 59, 0.09);
  border: 1px dashed rgba(201, 74, 59, 0.4);
  border-radius: 3px;
  padding: 0.1em 0.4em;
}

.legal-foot {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
