/* Shared styles for the VAMSHIAIG LLP legal pages (privacy, refund, terms).
   Palette + typography mirror index.html so the pages feel like one site.
   Kept in one file so the three pages don't triplicate the tokens. */
:root {
  --bg: #ffffff;
  --panel: #f5f6f8;
  --text: #14161a;
  --muted: #55606e;
  --rule: #dfe3e8;
  --accent: #0b4fa8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f12;
    --panel: #16191e;
    --text: #f2f4f7;
    --muted: #a7b0bd;
    --rule: #272c33;
    --accent: #7fb2ff;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem 3rem;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.topbar img { width: 40px; height: 40px; border-radius: 9px; flex: none; }
.topbar .mark {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}
.topbar .mark:hover { text-decoration: underline; }
h1 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: clamp(1.8rem, 5vw, 2.6rem) 0 0;
}
.updated { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0 0; }
.note {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin: 1.6rem 0 0;
  color: var(--text);
}
h2 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  font-weight: 650;
  margin: 2.4rem 0 0.7rem;
}
p { margin: 0.9rem 0 0; }
ul { margin: 0.9rem 0 0; padding-left: 1.3rem; }
li { margin: 0.35rem 0 0; }
code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 0.05em 0.35em;
}
footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
}
footer p { margin: 0.3rem 0 0; }
footer .name { font-weight: 700; color: var(--text); }
footer .links {
  display: flex;
  gap: 0.3rem 1rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
