/* Shared styles for legal pages (terms, privacy, refund). Matches index.html. */
:root {
  --paper: #f7f7fb;
  --ink: #1a1b2e;
  --muted: #5c5e78;
  --line: #e6e6f0;
  --accent: #6d28d9;
  --accent-2: #db2777;
  --card: #ffffff;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; padding-bottom: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
}
.back { font-size: 14px; color: var(--muted); }

main { flex: 1; }
.doc { max-width: 720px; padding-top: 24px; padding-bottom: 72px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
h1 {
  font-family: "DM Serif Display", Georgia, serif; font-weight: 400;
  font-size: clamp(36px, 6vw, 56px); line-height: 1.02; letter-spacing: -.02em; margin: 0;
}
.updated { color: var(--muted); font-size: 14px; margin: 14px 0 36px; }
.summary {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 22px; margin-bottom: 36px; font-size: 15px; line-height: 1.6;
}
.summary p { margin: 0; }
h2 {
  font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 24px;
  letter-spacing: -.01em; margin: 40px 0 12px;
}
h3 { font-size: 16px; margin: 24px 0 8px; }
p, li { font-size: 16px; line-height: 1.7; }
p { margin: 0 0 14px; }
ul { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 6px; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.contact {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px;
}
.contact p { margin: 0 0 4px; }

/* Placeholder that the business must fill in before publishing. */
mark.todo { background: #fde68a; color: var(--ink); padding: 0 4px; border-radius: 4px; }

footer { border-top: 1px solid var(--line); }
footer .wrap {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 22px; font-size: 13px; color: var(--muted);
}
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover, footer nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
}
@media print {
  header, footer { display: none; }
  body { background: #fff; }
}
