/* Pebbles legal pages — shared styles.
   Deliberately dependency-free: no fonts to load, no framework, no build step.
   These pages must render instantly on a phone, on bad hotel wifi, for someone
   who is deciding whether to trust us. */

:root {
  --navy:  #0B1D3A;
  --navy2: #1E3D6E;
  --body:  #2B3A4E;
  --muted: #6B7A8D;
  --cream: #FAF8F4;
  --line:  #E4E0D8;
  --blue:  #2563EB;
  --warn:  #E07A5F;
  --warn-bg: #FEF0EC;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 20px 72px;
  background: var(--cream);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; }

/* ── Masthead ─────────────────────────────── */
header { padding: 40px 0 8px; }

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 23px;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 29px;
  line-height: 1.2;
  color: var(--navy);
  margin: 22px 0 4px;
  letter-spacing: -0.02em;
}

.subtitle { color: var(--muted); font-size: 15px; margin: 0; }

.updated {
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ── Draft banner ─────────────────────────────
   Remove this block, and the .draft element from each page, once counsel has
   signed off. Until then it must be impossible to miss. */
.draft {
  background: var(--warn-bg);
  border: 1.5px solid var(--warn);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 24px 0 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #8A3B22;
}
.draft strong { color: #6E2C16; }

/* ── Body ─────────────────────────────────── */
h2 {
  font-size: 20px;
  color: var(--navy);
  margin: 40px 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

h3 {
  font-size: 16.5px;
  color: var(--navy);
  margin: 28px 0 8px;
}

p { margin: 0 0 15px; }

ul { margin: 0 0 15px; padding-left: 22px; }
li { margin-bottom: 8px; }

a { color: var(--blue); }
a:hover { text-decoration: none; }

strong { color: var(--navy); font-weight: 600; }

/* Tables scroll rather than breaking the page on a phone. */
.table-scroll { overflow-x: auto; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }

table { border-collapse: collapse; width: 100%; min-width: 420px; font-size: 15px; }

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

th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; }

td.na { color: var(--muted); font-style: italic; }

/* ── Index page cards ─────────────────────── */
.doc-list { list-style: none; padding: 0; margin: 28px 0 0; }
.doc-list li { margin-bottom: 12px; }

.doc-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s;
}
.doc-card:hover { border-color: var(--navy2); }
.doc-card .t { display: block; font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.doc-card .d { display: block; font-size: 14.5px; color: var(--muted); }

/* ── Footer ───────────────────────────────── */
footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
footer a { color: var(--muted); }

@media (max-width: 480px) {
  body { font-size: 16px; padding: 0 16px 56px; }
  h1 { font-size: 25px; }
  h2 { font-size: 18.5px; }
}
