/* THE LOOK OF THE LEGAL PAGES — shared by terms.html and privacy.html.
 *
 * A file rather than two inline <style> blocks, because two copies of a palette
 * is two copies that drift, and these pages are the least likely in the project
 * to be opened again. The tokens are the landing page's own, trimmed to what a
 * page of prose actually uses.
 *
 * LIGHT ONLY, like the landing page it sits beside — the theme toggle was
 * removed there and a legal page that flipped while the marketing page did not
 * would look like a fault.
 */

:root {
  --paper: #EFEBDD;
  --card: #F7F4E9;
  --ink: #212D1B;
  --ink-soft: #55614A;
  --ink-faint: #7C856E;
  --forest: #24331D;
  --moss: #47593A;
  --earth: #8A6A4F;
  --grass-wash: #E5EDD5;
  --line: #DBD2BE;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.2rem 1.25rem 4rem;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
}
.brand .s { color: var(--moss); }
.brand .p { color: var(--earth); }

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  margin: 0 0 .4rem;
  letter-spacing: -.012em;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 2.4rem 0 .6rem;
  color: var(--forest);
}

h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .93rem;
  letter-spacing: .02em;
  margin: 1.5rem 0 .35rem;
  color: var(--forest);
}

p, li { color: var(--ink-soft); }
p { margin: 0 0 .9rem; }
ul { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

strong { color: var(--ink); font-weight: 700; }
a { color: var(--moss); }

.stamp {
  font-size: .85rem;
  color: var(--ink-faint);
  margin-bottom: 2rem;
}

/* The one thing on these pages that should stop somebody skimming. Used for
   the facts a reader would be annoyed to discover later — that photographs go
   to a model, that a reported note can be read, that there is no billing yet. */
.note {
  background: var(--grass-wash);
  border-radius: 14px;
  padding: .95rem 1.1rem;
  margin: 1.2rem 0;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--forest); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: .6rem 0 1.2rem;
  font-size: .93rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: .55rem .6rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
th {
  font-weight: 800;
  color: var(--forest);
  font-size: .82rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* A wide table must scroll inside itself rather than pushing the page sideways
   on a phone, which is where most of this will be read if it is read at all. */
.scroller { overflow-x: auto; }

footer.foot {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
