/* Shared styling for the policy pages. Deliberately plain and high
   contrast: these are documents a payment aggregator's reviewer and a
   customer both have to be able to read quickly. */
:root {
  --bg: #0b0b12; --surface: #14141d; --line: #262634;
  --text: #ecebf3; --muted: #9a97ab; --accent: #8b5cf6;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #fbfbfd; --surface: #fff; --line: #e6e5ee; --text: #16151d; --muted: #63617a; }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.7 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 800px; margin: 0 auto; padding: clamp(28px, 6vw, 64px) clamp(18px, 5vw, 28px); }
a { color: var(--accent); }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: 1.15rem; margin: 2.2rem 0 0.7rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--line); }
h3 { font-size: 1rem; margin: 1.4rem 0 0.4rem; }
p, li { color: var(--muted); margin-bottom: 0.7rem; }
ul, ol { padding-left: 1.3rem; }
strong { color: var(--text); }
.updated { color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px; margin: 1.4rem 0;
}
.card p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); }
th { color: var(--text); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
td { color: var(--muted); }
.nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 2rem; font-size: 0.9rem; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
footer {
  margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
}
/* Marks details the business owner must still supply. Loud on purpose:
   publishing a policy with a placeholder still in it is worse than not
   publishing one. */
.todo {
  background: rgba(234, 179, 8, 0.12); border: 1px dashed #eab308;
  color: #eab308; padding: 2px 8px; border-radius: 6px;
  font-size: 0.85rem; font-weight: 600;
}
