/* Shared by index, privacy and support.
 *
 * join.html deliberately does not use this. It is the page an invite
 * link lands on, often on a cold connection in a group chat, and it
 * keeps its styles inline so it renders in one request.
 *
 * The layering follows the app: a warm cream page with white cards
 * floating on it, and ink-green panels for the parts that want weight.
 * Warm rather than neutral grey so the whole thing reads closer to
 * paper than to a dashboard. */

:root {
  --ink: #142A18;
  --ink-soft: #1C3A21;
  --cream: #F3F6EE;
  --card: #ffffff;
  --red: #C0392B;
  --green: #3F7A2E;
  --gold: #D8A43C;
  --text: #1B2A1D;
  --muted: #5A6B5C;
  --line: #E4E8DC;
}

* { box-sizing: border-box; }

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

a { color: var(--green); }
a:hover { color: var(--red); }

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

.masthead-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mark { color: #E35D4F; font-size: 22px; line-height: 1; }

.wordmark {
  font-size: 13px;
  letter-spacing: 2.4px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.masthead nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.masthead nav a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.masthead nav a:hover { color: #fff; }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

h1 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; color: var(--ink); }
h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 10px; color: var(--ink); }
h3 { font-size: 17px; margin: 26px 0 6px; color: var(--ink); }

.lede { font-size: 19px; color: var(--muted); margin: 0 0 8px; }
.dateline { font-size: 14px; color: var(--muted); margin: 0 0 32px; }

.card {
  background: var(--card);
  border-radius: 18px;
  padding: 24px 26px;
  margin: 22px 0;
}

/* For the one thing on a page that must not be skimmed past. */
.callout {
  background: #fff;
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 22px 0;
}

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

ul { padding-left: 22px; }
li { margin: 6px 0; }

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

.footer-inner { max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-inner .spacer { margin-left: auto; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 27px; }
  main { padding: 28px 20px 56px; }
  .card { padding: 20px; }
  .masthead nav { gap: 14px; }
}
