/* Shared styling for the public legal pages (privacy.html, terms.html).
 *
 * Deliberately plain and self-contained: these pages have to load for
 * Google's verification reviewers and for anyone hitting the consent
 * screen, so they must not depend on the app bundle, a font CDN, or a
 * logged-in session. Black and gold, matching noir.'s identity. */

:root {
  --ink: #120f14;
  --ink-soft: #3d3741;
  --ink-faint: #6b6370;
  --gold: #b8912f;
  --paper: #fbf9f7;
  --rule: #e4ded9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

header.masthead {
  background: var(--ink);
  color: #fff;
  padding: 28px 24px;
}

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

header.masthead .wrap { display: flex; align-items: center; gap: 14px; }
header.masthead img { height: 34px; width: auto; display: block; }
header.masthead .name { font-weight: 600; letter-spacing: .02em; }
header.masthead .name span { color: var(--gold); }

main { padding: 40px 24px 72px; }

h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 6px;
  letter-spacing: -.01em;
}

.effective {
  color: var(--ink-faint);
  font-size: 14px;
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--gold);
}

h2 {
  font-size: 19px;
  margin: 38px 0 10px;
  letter-spacing: -.005em;
}

h3 { font-size: 16px; margin: 24px 0 8px; }

p, li { color: var(--ink-soft); }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 7px; }

a { color: #8d2135; text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--gold); }

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

code {
  background: #f1ece7;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--ink);
  word-break: break-all;
}

/* The Google Limited Use disclosure. Called out because reviewers look for
 * it specifically, and because it's the promise that matters most. */
.callout {
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 15px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
}
th { background: #f4efea; color: var(--ink); font-weight: 600; }
td { color: var(--ink-soft); }

footer.pagefoot {
  border-top: 1px solid var(--rule);
  margin-top: 48px;
  padding-top: 22px;
  font-size: 14px;
  color: var(--ink-faint);
}
footer.pagefoot a { margin-right: 18px; }

@media (max-width: 560px) {
  h1 { font-size: 25px; }
  main { padding: 28px 18px 56px; }
  table, th, td { font-size: 14px; }
  th, td { padding: 8px 9px; }
}
