/* fecmcp.com: the TrueGivers design tokens and components, as on truepyramids.com. */
:root {
  --green-900: #004D1F;
  --green-700: #007F32;
  --green-500: #3E9F5E;
  --green-300: #8CCB9F;
  --green-100: #CBE8D3;
  --green-50: #E8F4EC;
  --purple-900: #431566;
  --purple-800: #5B1F8A;
  --purple-600: #7A2FB5;
  --purple-100: #D9C2EE;
  --purple-50: #F4ECFB;
  --ink: #13171F;
  --ink-2: #4B5563;
  --ink-3: #5B6472;
  --line: #DDE1E7;
  --line-strong: #C9CFD8;
  --line-soft: #E8EBEF;
  --page: #F5F6F8;
  --surface: #FFFFFF;
  --surface-2: #F9FAFB;
  --code: #0F1A14;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
a { color: var(--green-700); }
a:hover { color: var(--green-900); }
:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: 36px; line-height: 1.1; }
h2 { font-size: 22px; line-height: 1.2; }
p { margin: 0; }
code, pre { font-family: var(--font-mono); }
[hidden] { display: none !important; }

/* Header */
.tp-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.tp-header__inner { max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.tp-brand:hover { color: var(--ink); }
.tp-brand__tld { color: var(--ink-3); font-weight: 500; }

/* Layout */
.tp-main { max-width: 1200px; margin: 0 auto; padding: 32px 24px 96px; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-700); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row--between { justify-content: space-between; }
.notice { padding: 14px 18px; border-radius: 10px; background: var(--purple-50); border: 1px solid var(--purple-100); color: var(--purple-900); }
.notice b { color: var(--purple-800); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--ink); border-color: #A3ABB8; }
.btn--primary { background: var(--green-700); border-color: var(--green-700); color: #fff; font-weight: 600; }
.btn--primary:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.btn--lg { height: 48px; padding: 0 28px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-weight: 600; }
.input { height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; color: var(--ink); background: var(--surface); width: 100%; }

/* Terms: a single readable column. */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 64px; gap: 28px; }
.legal__lede { font-size: 18px; margin: 0; }
.legal__section { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 24px; }
.legal__section h2 { font-size: 22px; }
.legal__section ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal__doc { display: flex; flex-direction: column; gap: 12px; }
.legal__doc h2 { font-size: 22px; margin-top: 16px; }
.legal__doc ul, .legal__doc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal__doc blockquote { margin: 0; padding: 12px 16px; border-left: 3px solid var(--line-strong); background: var(--surface); }
.legal__doc table, .legal__table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal__doc th, .legal__doc td, .legal__table th, .legal__table td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.legal__doc--scroll { max-height: 420px; overflow-y: auto; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.terms-accept { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.terms-accept .field { width: 100%; max-width: 440px; }

@media (max-width: 600px) {
  h1 { font-size: 30px; }
}
