/* Shared look for the Terms of Service and Refund Policy pages. */
:root {
  --bg: #120d0e;
  --card: #1d1617;
  --border: #32292b;
  --text: #fbf8f9;
  --muted: #a58d91;
  --accent: #e5345d;
  --field: rgba(18, 13, 14, 0.5);
  --radius: 8px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Onest, system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.page { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.top img { height: 40px; display: block; }
.top a { color: var(--muted); font-size: 14px; text-decoration: none; }
.top a:hover { color: var(--text); }

h1 { margin: 0 0 4px; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.updated { margin: 0 0 28px; color: var(--muted); font-size: 14px; }

h2 { margin: 36px 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
h3 { margin: 22px 0 6px; font-size: 16px; font-weight: 600; }
p, li { color: #e9e1e3; font-size: 15px; }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
strong { color: var(--text); font-weight: 600; }

.summary {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--card);
}

.summary h2 { margin-top: 0; font-size: 16px; }
.summary ul { margin-bottom: 0; }

.toc { margin: 0 0 8px; padding: 14px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--field); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc li { font-size: 14px; margin-bottom: 4px; break-inside: avoid; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }

table { width: 100%; margin: 6px 0 14px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 9px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 500; }

/* Details only the business owner knows. Shown in yellow until they're filled in. */
.fill { padding: 0 4px; border-radius: 3px; background: rgba(250, 204, 21, 0.18); color: #facc15; }

footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 560px) {
  .page { padding-top: 28px; }
  h1 { font-size: 25px; }
  .toc ol { columns: 1; }
}
