/* Terms and Privacy: one readable column in the site's type and colours. */
@font-face {
  font-family: "Circular Std";
  src: url("/assets/fonts/circular-std-book.woff2") format("woff2");
  font-weight: 450;
  font-display: swap;
}
@font-face {
  font-family: "Circular Std";
  src: url("/assets/fonts/circular-std-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #f3f3f3;
  --card: #fff;
  --ink: #000;
  --muted: rgba(0, 0, 0, 0.6);
  --line: #e6e6e6;
  --green: #00b787;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Circular Std", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 450;
  font-size: 17px;
  line-height: 1.6;
  padding: 0 16px 96px;
}

.legal-nav {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}
.legal-nav a { color: var(--ink); text-decoration: none; display: inline-flex; }
.legal-nav .switch { font-size: 15px; color: var(--muted); }
.legal-nav .switch a { color: var(--muted); margin-left: 18px; }
.legal-nav .switch a[aria-current="page"] { color: var(--ink); }

.legal {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 28px;
  padding: 56px 64px 64px;
}

h1 {
  font-weight: 500;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.meta { color: var(--muted); font-size: 15px; margin: 12px 0 36px; }
.summary {
  background: var(--bg);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 8px;
}
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }

h2 {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
h3 { font-weight: 500; font-size: 17px; margin: 22px 0 6px; }
p, ul { margin-bottom: 14px; color: rgba(0, 0, 0, 0.82); }
ul { padding-left: 22px; }
li { margin-bottom: 8px; }
strong { font-weight: 500; color: var(--ink); }
a { color: var(--ink); text-decoration-color: rgba(0, 0, 0, 0.3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }

table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }

.legal-foot { max-width: 760px; margin: 28px auto 0; color: var(--muted); font-size: 14px; text-align: center; }
.legal-foot a { color: var(--muted); }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .legal { padding: 32px 22px 40px; border-radius: 22px; }
  h1 { font-size: 34px; }
  h2 { font-size: 20px; margin-top: 36px; padding-top: 24px; }
  table { font-size: 14px; }
}
