/* Pledge - jointhepledge.com
   Dark, gold-on-black. Fraunces serif for brand + headlines, system sans for UI. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/Fraunces.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0B0B0D;
  --bg-2: #121216;
  --surface: #16161B;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.12);
  --ink: #F3EFE7;
  --ink-soft: #B7B2A8;
  --ink-faint: #807B72;
  --gold: #CBA35C;
  --gold-soft: #D9BC85;
  --teal: #6FB3AE;
  --radius: 18px;
  --maxw: 760px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); }

/* ---- Header ---------------------------------------------------------------- */

header {
  border-bottom: 1px solid var(--line);
}

.bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: radial-gradient(120% 120% at 30% 20%, #1b1b20 0%, #0e0e11 100%);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--gold);
  line-height: 1;
  padding-bottom: 1px;
}

.brand .name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.2px;
  color: var(--ink);
}

.bar .nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}
.bar .nav a:hover { color: var(--ink); }

/* ---- Hero ------------------------------------------------------------------ */

.hero {
  padding: 92px 0 64px;
  text-align: center;
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 9vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
  color: var(--ink);
}

.hero .tagline {
  font-size: clamp(18px, 3.4vw, 22px);
  color: var(--gold-soft);
  margin: 0 auto 20px;
  max-width: 30ch;
}

.hero .sub {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 46ch;
}

/* circle-of-members ornament */
.circle-ornament {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 46px 0 0;
}
.circle-ornament span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line-2);
}
.circle-ornament span:nth-child(3) { background: var(--gold); }
.circle-ornament span:nth-child(6) { background: var(--teal); }

/* ---- Sections -------------------------------------------------------------- */

section { padding: 56px 0; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 14px;
}

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 5vw, 34px);
  letter-spacing: -0.3px;
  margin: 0 0 12px;
  color: var(--ink);
}

.lead {
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 54ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--gold-soft);
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.card.teal { border-color: rgba(111, 179, 174, 0.28); }
.card.teal h3 { color: var(--teal); }

/* ---- CTA ------------------------------------------------------------------- */

.cta {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.cta h2 { margin-bottom: 14px; }

.badge {
  display: inline-block;
  margin-top: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* ---- Footer ---------------------------------------------------------------- */

footer {
  padding: 40px 0 56px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 14px;
}

footer .links {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

footer .links a { color: var(--ink-soft); font-weight: 500; }
footer .links a:hover { color: var(--ink); }

/* ---- Legal / content pages ------------------------------------------------- */

.content {
  padding: 64px 0 72px;
}

.content h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 6vw, 44px);
  letter-spacing: -0.4px;
  margin: 0 0 6px;
}

.content .updated {
  color: var(--ink-faint);
  font-size: 14px;
  margin: 0 0 36px;
}

.content h2 {
  font-size: clamp(20px, 4vw, 24px);
  margin: 40px 0 10px;
}

.content p, .content li { color: var(--ink-soft); }

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

.callout {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 36px;
}
.callout strong { color: var(--ink); }
.callout p { margin: 6px 0 0; }
.callout p:first-child { margin-top: 0; }

.content .back {
  display: inline-block;
  margin-top: 44px;
  font-size: 14px;
  font-weight: 500;
}

/* ---- Responsive ------------------------------------------------------------ */

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  section { padding: 44px 0; }
}
