/* Shared by the policy pages. Tokens match the landing page in index.html. */
:root {
  --tur: #FFC20E;
  --leaf: #0B4D2C;
  --chilli: #E0301E;
  --rice: #FFFBF0;
  --ink: #1D2B22;
  --mut: #4F5C53;
  --line: #E8DFC4;
  --tint: #FFF3C9;
  --leaft: #E6EFE8;

  --display: "Eczar", "Mukta", Georgia, serif;
  --body: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--rice);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--leaf); font-weight: 600; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 8px; }

/* ---------- header ---------- */
.site-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px;
  padding: 12px var(--gutter);
  background: var(--tur); color: var(--leaf);
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 48px; height: 48px; flex: none; margin: -2px 0; }
.brand-name { display: flex; flex-direction: column; font: 700 1.35rem/1.02 var(--display); }
.brand-name span { font: 600 .85rem/1.2 var(--body); color: var(--chilli); }
.site-nav { display: flex; flex-wrap: wrap; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; }
.site-nav a:first-child { padding-left: 0; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- document ---------- */
main { max-width: 46rem; margin: 0 auto; padding: clamp(32px, 6vw, 64px) var(--gutter) 64px; }
@media (min-width: 900px) { main { padding-left: 0; padding-right: 0; } }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 700; color: var(--leaf); line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
h2 { margin-top: 2.6rem; font-size: clamp(1.4rem, 3.4vw, 1.75rem); scroll-margin-top: 16px; }
/* every heading carries its Hindi line underneath, the way every label in the app does */
.hi { display: block; margin-top: .3em; font: 500 .62em/1.4 var(--body); color: var(--mut); }
h1 .hi { font-size: .42em; }
p, ul, ol { margin: .8rem 0 0; }
ul, ol { padding-left: 1.3rem; }
li + li { margin-top: .35rem; }
.updated { color: var(--mut); font-size: .95rem; }

.note { margin-top: 1.2rem; padding: 12px 16px; border-radius: 12px; border-left: 4px solid var(--leaf); background: var(--leaft); }
.note p:first-child { margin-top: 0; }
.note.warn { border-left-color: var(--chilli); background: var(--tint); }

/* ---------- phone number, the main way to reach us ---------- */
.call {
  margin-top: 1.4rem; padding: 18px 20px; border-radius: 16px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  background: var(--tint);
}
.call b { display: block; font: 700 clamp(1.5rem, 5vw, 1.9rem)/1.2 var(--display); color: var(--leaf); }
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 54px; padding: 6px 26px; border-radius: 16px;
  background: var(--leaf); color: var(--tur);
  font: 700 1.05rem/1.2 var(--body); text-decoration: none;
}

/* ---------- tables become stacked cards on phones ---------- */
table { width: 100%; margin-top: 1.2rem; border-collapse: collapse; font-size: .98rem; }
th, td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--leaf); }
td:first-child { font-weight: 600; }
@media (max-width: 640px) {
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  td { display: block; padding: 2px 0; border: 0; }
  td[data-label]::before { content: attr(data-label) ": "; color: var(--mut); font-weight: 600; }
}

/* ---------- footer ---------- */
.site-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  padding: 16px var(--gutter);
  background: var(--tur); color: var(--leaf); font-size: .9rem;
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-foot a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
