/* Shared shell for the legal pages. Same tokens as index.html — these pages are
   linked from the footer and from both store listings, so they have to look like
   part of the same product, not like a document someone pasted into a template. */
:root {
  --primary: #1150e4;
  --primary-wash: #edf1ff;
  --primary-soft: #d8e1ff;
  --ink: #0b0f14;
  --body: #5c5c5f;
  --muted: #8a8a8f;
  --line: #e6e7ea;
  --white: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand .ai { color: var(--primary); }

main { padding: 56px 0 72px; }

h1 {
  color: var(--ink);
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}

h2 {
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

p, li { font-size: 16px; }

ul { padding-left: 22px; }

li { margin-bottom: 8px; }

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

strong { color: var(--ink); }

/* The one thing most people scroll to find. */
.callout {
  background: var(--primary-wash);
  border: 1px solid var(--primary-soft);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 28px 0;
}

.callout p { margin: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { color: var(--ink); font-weight: 600; }

/* Tables are the one thing that will not fit a phone; let them scroll alone
   rather than making the whole page scroll sideways. */
.table-scroll { overflow-x: auto; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 14px;
}

.foot { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

.foot a { text-decoration: none; }

.sp { margin-left: auto; color: var(--muted); }

@media (max-width: 640px) {
  h1 { font-size: 29px; }
  .sp { margin-left: 0; width: 100%; }
}
