/* Mirrors the app's visual language: warm paper canvas, editorial serif
   headlines, terracotta accent, generous spacing. */
:root {
  --ink: #1a2420;
  --paper: #f5f1e6;
  --paper-2: #ece9df;
  --electric: #ab5c2e;
  --signal: #2a7a57;
  --hairline: rgba(26, 36, 32, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: linear-gradient(180deg, #f9f5ec 0%, var(--paper) 45%, var(--paper-2) 100%);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }

header.wrap { padding-top: 72px; padding-bottom: 8px; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--electric); margin: 0 0 14px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.1; font-weight: 700; margin: 0 0 18px; letter-spacing: -0.01em;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px; margin: 0 0 8px; font-weight: 700;
}

h3 { font-size: 17px; margin: 28px 0 6px; }

.lede { font-size: 19px; color: #4a5551; max-width: 62ch; margin: 0 0 8px; }

main.wrap { padding-top: 26px; padding-bottom: 8px; }

.cards {
  display: grid; gap: 16px; margin: 26px 0 8px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(26, 36, 32, 0.05);
}

.card p { margin: 0; color: #4a5551; font-size: 15.5px; }

.note {
  margin: 34px 0 10px; padding: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--hairline); border-radius: 18px;
}
.note p { margin: 0; color: #4a5551; }

/* Long-form legal pages */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc p, .doc li { color: #3d4744; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.updated { font-size: 14px; color: #6b7671; margin-top: -6px; }

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

a { color: var(--electric); text-decoration-thickness: 1px; text-underline-offset: 2px; }

footer.wrap { padding: 40px 24px 56px; border-top: 1px solid var(--hairline); margin-top: 44px; }
footer p { margin: 6px 0; font-size: 15px; }
.fine { color: #6b7671; font-size: 14px; }
