/* Nomad Check — legal pages
   Plain CSS, no build step. Edit freely. */

:root {
  --bg: #faf9f7;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-sec: #5c6470;
  --text-muted: #8b8f96;
  --accent: #2f6b5e;
  --accent-soft: #eaf2ef;
  --border: #e6e3dd;
  --draft-bg: #fdf4e3;
  --draft-border: #e0b44a;
  --draft-text: #6b4c10;
  --ph-bg: #fde8e8;
  --ph-text: #9b1c1c;
  --ph-border: #f0b4b4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --card: #1d2024;
    --text: #e8e6e3;
    --text-sec: #a8aeb6;
    --text-muted: #7b8189;
    --accent: #6fbfa8;
    --accent-soft: #1e2a27;
    --border: #2c3036;
    --draft-bg: #3a2f14;
    --draft-border: #8a6a1f;
    --draft-text: #f0d79a;
    --ph-bg: #3d1c1c;
    --ph-text: #ff9b9b;
    --ph-border: #6b2c2c;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 20px 96px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

/* ---- masthead ---- */

header.site {
  padding: 28px 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

header.site a.brand {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

/* ---- draft banner ----
   DELETE THIS BLOCK IN EACH HTML FILE WHEN THE DOCUMENTS ARE FINAL.
   Search for: DRAFT-BANNER                                        */

.draft {
  background: var(--draft-bg);
  border: 1px solid var(--draft-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 32px;
  color: var(--draft-text);
  font-size: 15px;
  line-height: 1.55;
}

.draft strong { display: block; margin-bottom: 4px; }

/* ---- typography ---- */

h1 {
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}

h2 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  margin: 44px 0 12px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 8px;
}

p { margin: 0 0 16px; }

ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }

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

.effective {
  color: var(--text-sec);
  font-size: 15px;
  margin: 0 0 28px;
}

.lede { color: var(--text-sec); }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 44px 0;
}

/* ---- tables ---- */

.tablewrap { overflow-x: auto; margin: 0 0 20px; }

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  line-height: 1.5;
}

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

th {
  font-weight: 700;
  color: var(--text-sec);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---- placeholder marker ---- */

.ph {
  background: var(--ph-bg);
  color: var(--ph-text);
  border: 1px solid var(--ph-border);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  font-weight: 600;
  white-space: nowrap;
}

/* ---- index cards ---- */

.cards { display: grid; gap: 12px; margin: 28px 0 0; }

.cards a {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
}

.cards a:hover { border-color: var(--accent); }

.cards .t { font-weight: 700; margin-bottom: 2px; }
.cards .d { color: var(--text-sec); font-size: 15px; }

/* ---- delete page form ---- */

fieldset {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px 6px;
  margin: 0 0 24px;
  background: var(--card);
}

legend {
  font-weight: 700;
  padding: 0 8px;
  font-size: 16px;
}

label.opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  cursor: pointer;
  line-height: 1.5;
}

label.opt input { margin-top: 5px; flex-shrink: 0; }

.branch {
  display: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 20px 22px 6px;
  margin: 0 0 24px;
}

.branch.on { display: block; }

.branch h3 { margin-top: 0; }

.mailbtn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 10px;
  margin: 6px 0 18px;
}

.note {
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
}

/* ---- footer ---- */

footer.site {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

footer.site a { color: var(--text-sec); margin-right: 16px; }

@media (max-width: 480px) {
  body { font-size: 16px; padding: 0 16px 72px; }
  h1 { font-size: 26px; }
  h2 { font-size: 19px; }
}
