/* Shared styles for the legal pages (privacy, terms, refund, SMS terms). Same tokens as the homepage. */
:root {
  --bg: #000;
  --text: #fff;
  --muted: #a1a1a1;
  --faint: #5f5f5f;
  --surface: #141414;
  --border: #262626;
}

:root[data-theme="light"] {
  --bg: #faf9f5;
  --text: #1f1e1d;
  --muted: #5e5d59;
  --faint: #8e8b82;
  --surface: #f2f0e9;
  --border: #e3e0d6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  padding: 48px 16px;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 680px;
  margin: 0 auto;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.back:hover { color: var(--text); }
.back .logo {
  width: 28px;
  height: 28px;
  background: currentColor;
  -webkit-mask: url(logo-mark.png) center / contain no-repeat;
  mask: url(logo-mark.png) center / contain no-repeat;
}

h1 {
  font-size: clamp(1.9rem, 6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-top: 36px;
}

.updated {
  color: var(--faint);
  font-size: 0.9rem;
  margin-top: 10px;
}

h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 36px;
}

p, li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
p { margin-top: 12px; }
ul { margin-top: 12px; padding-left: 22px; }
li + li { margin-top: 6px; }
strong { color: var(--text); font-weight: 500; }

a { color: var(--text); }

/* Highlighted statement carriers look for */
.callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 12px;
}

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.8rem;
  line-height: 1.8;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
