/* =========================================================
   FOUNDING SIGNER STYLES
   Used by /founding-card (standalone) and the /petition thank-you block.
   Follows the campaign brand tokens. No em-dashes.
   ========================================================= */

:root {
  --fnd-bg:      #F7F2E4;
  --fnd-ink:     #1C2620;
  --fnd-ink-dim: #5C6B5D;
  --fnd-ink-soft:#8A948B;
  --fnd-forest:  #2E5D3F;
  --fnd-rust:    #D97742;
  --fnd-honey:   #E8B547;
  --fnd-paper:   #FCFAF2;
  --fnd-rule:    #DDD3B6;
}

/* Standalone /founding-card page wrapper */
.founding-section {
  padding-top: 56px;
  padding-bottom: 32px;
}
.founding-section .container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Card frame, full (standalone page) */
.founding-card-frame {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0 20px;
  text-align: center;
}
.founding-card-frame svg {
  width: 100%;
  height: auto;
  max-width: 720px;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--fnd-rule);
  background: var(--fnd-bg);
  box-shadow: 0 6px 24px rgba(28, 38, 32, 0.08);
  border-radius: 6px;
}

/* Card frame, compact (inline on thank-you screen) */
.founding-card-preview {
  max-width: 520px;
  margin: 28px auto 4px;
  padding: 0 16px;
  text-align: center;
}
.founding-card-preview svg {
  width: 100%;
  height: auto;
  max-width: 520px;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--fnd-rule);
  background: var(--fnd-bg);
  box-shadow: 0 4px 18px rgba(28, 38, 32, 0.07);
  border-radius: 4px;
}

/* Download row */
.founding-actions {
  margin-top: 20px;
  padding: 0 20px;
}
.founding-download-row {
  justify-content: center;
  margin-top: 16px;
}

/* Content blocks */
.founding-block {
  max-width: 640px;
  margin: 40px auto 0;
  padding: 0 20px;
}
.founding-block-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--fnd-ink);
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}
.founding-block-sub {
  color: var(--fnd-ink-dim);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Share quote (the copy-me-post line) */
.founding-share-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fnd-ink);
  background: var(--fnd-paper);
  border-left: 3px solid var(--fnd-forest);
  padding: 14px 18px;
  margin: 0 0 18px;
}

/* Share row */
.founding-share-row {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Email-signature line */
.founding-emailsig {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: var(--fnd-paper);
  border: 1px dashed var(--fnd-rule);
  border-radius: 4px;
}
.founding-emailsig code {
  flex: 1 1 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fnd-ink);
  white-space: pre-wrap;
  word-break: break-word;
  background: transparent;
  padding: 0;
}

/* Inline thank-you variant is slightly tighter */
.founding-inline {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--fnd-rule);
}
.founding-emailsig-inline {
  max-width: 520px;
  margin: 20px auto 0;
  padding: 10px 14px;
}
.founding-emailsig-inline code {
  font-size: 12.5px;
}

.founding-inline-disclosure {
  max-width: 520px;
  margin: 14px auto 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fnd-ink-dim);
  text-align: center;
  padding: 0 8px;
}

/* Full disclosure callout (standalone card page) */
.founding-disclosure {
  margin: 40px auto 0;
  max-width: 640px;
  padding: 18px 22px;
  background: var(--fnd-paper);
  border-left: 3px solid var(--fnd-rust);
}
.founding-disclosure-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--fnd-rust);
  margin: 0 0 8px;
}
.founding-disclosure-body {
  color: var(--fnd-ink);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.founding-back {
  margin-top: 48px;
  padding: 0 20px 24px;
}

/* Small button modifier */
.btn-small {
  padding: 6px 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 560px) {
  .founding-section { padding-top: 36px; }
  .founding-card-frame svg,
  .founding-card-preview svg {
    max-width: 100%;
  }
  .founding-emailsig {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .founding-emailsig .btn {
    align-self: flex-end;
  }
}

/* Reduced-motion safe: the card frame has a subtle shadow only; no animation
   is introduced here, so prefers-reduced-motion needs no overrides. */
