/*
 * zuhora/css/sections.css
 * -----------------------------------------------------------------------------
 * Manifesto, CTA / waitlist, and footer sections.
 * -----------------------------------------------------------------------------
 */

/* ══════════════════════════════════════════════════════════════════════════
   MANIFESTO
   ══════════════════════════════════════════════════════════════════════════ */

.manifesto {
  padding: var(--space-20) var(--gutter-mobile);
  background: var(--bg-surface);
  border-top:    1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

/* Decorative glow - non-text, WCAG exempt */
.manifesto::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  pointer-events: none;
  background: radial-gradient(
    ellipse at right center,
    rgba(201, 168, 76, 0.05) 0%,
    transparent 70%
  );
}

.manifesto-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.manifesto-pull {
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  /* --text-primary: 16.75:1 on --bg-surface - WCAG AAA ✓ */
  color: var(--text-primary);
  margin-bottom: var(--space-9);
}

.manifesto-pull strong {
  font-style: normal;
  font-weight: 400;
  /* --accent: 7.78:1 on --bg-surface - WCAG AA ✓ */
  color: var(--accent);
}

.manifesto-body {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.9;
  /* --text-secondary: 6.61:1 on --bg-surface - WCAG AA ✓ */
  color: var(--text-secondary);
}

.manifesto-body p + p {
  margin-top: var(--space-6);
}

/* ══════════════════════════════════════════════════════════════════════════
   CTA / WAITLIST
   ══════════════════════════════════════════════════════════════════════════ */

.cta-section {
  padding: var(--space-20) var(--gutter-mobile);
  text-align: center;
}

.cta-inner {
  max-width: 480px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(30px, 7vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  /* --text-primary: 18.41:1 on --bg-base - WCAG AAA ✓ */
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.cta-title em {
  font-style: italic;
  /* --accent: 8.54:1 - WCAG AA ✓ */
  color: var(--accent);
}

.cta-sub {
  font-size: var(--text-md);
  font-weight: 300;
  font-style: italic;
  /* --text-secondary: 7.27:1 on --bg-base - WCAG AA ✓ */
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* -- Email form ----------------------------------------------------------- */
.cta-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  background: rgba(26, 21, 40, 0.80);
  border: 1px solid var(--border-mid);
  border-right: none;
  /* --text-primary: 18.41:1 - WCAG AAA ✓ */
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  min-width: 0;
  -webkit-appearance: none;
  border-radius: 0;
  transition: border-color var(--duration-mid);
  /* min-height meets WCAG 2.5.5 touch target */
  min-height: 44px;
}

.cta-input::placeholder {
  /* --text-muted: 4.66:1 - WCAG AA ✓ */
  color: var(--text-muted);
}

.cta-input:focus {
  border-color: var(--border-accent-hi);
  outline: none;
}

.cta-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.cta-submit {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  /* --bg-base on --accent: 8.54:1 - WCAG AA ✓ */
  color: var(--bg-base);
  background: var(--accent);
  border: none;
  padding: 14px var(--space-7);
  cursor: pointer;
  flex-shrink: 0;
  /* min 44px - WCAG 2.5.5 */
  min-height: 44px;
  transition: background var(--duration-mid);
  -webkit-tap-highlight-color: transparent;
}

.cta-submit:hover {
  background: var(--accent-bright);
}

.cta-submit:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.cta-note {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  /* --text-muted: 4.66:1 - WCAG AA ✓ */
  color: var(--text-muted);
  margin-top: var(--space-5);
  font-style: italic;
}

.cta-note--success {
  /* --accent: 8.54:1 - WCAG AA ✓ */
  color: var(--accent);
}

.cta-subject {
  display:none; position:absolute; left:-9999px;
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */

footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-9) var(--gutter-mobile);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
}

.footer-logo svg {
  width: 22px;
  height: 24px;
}

.footer-brand {
  font-size: var(--text-base);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  /* --text-muted: 4.66:1 - WCAG AA ✓ */
  color: var(--text-muted);
}

.footer-copy {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  /* --text-muted: 4.66:1 - WCAG AA ✓ */
  color: var(--text-muted);
}

/* -- Desktop -------------------------------------------------------------- */
@media (min-width: 680px) {
  .manifesto {
    padding: 100px var(--gutter-desk);
  }

  .manifesto-body {
    columns: 2;
    column-gap: 40px;
  }

  .manifesto-body p + p {
    margin-top: 0;
  }

  .cta-section {
    padding: 100px var(--gutter-desk);
  }

  footer {
    flex-direction: row;
    justify-content: space-between;
    padding: var(--space-10) var(--gutter-desk);
    text-align: left;
  }
}
