/* ── ClawBank shared CTA + footer styles ──────────────────────── */
/* Included by index.html, blog.html, post.html                    */

/* ── Kicker / tag label (shared with landing page) ───────────── */
.section-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 16px;
}
.section-tag.accent { color: var(--accent); }

/* ── CTA section ─────────────────────────────────────────────── */
.section-cta {
  padding: 128px 0;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(235, 110, 18, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.cta-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
}

.cta-inner .cta-form {
  margin: 0 auto 12px;
}

.cta-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 13px 16px;
  outline: none;
  border-radius: 2px;
  transition: border-color 0.2s;
}
.cta-input:focus       { border-color: var(--accent); }
.cta-input::placeholder { color: var(--text-muted); }

.cta-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 13px 26px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow 0.22s, transform 0.18s;
}
.cta-btn:hover {
  box-shadow: 0 0 28px var(--accent-glow);
  transform: translateY(-2px);
}

.cta-note {
  font-size: 10px;
  color: var(--text-muted);
}

.cta-confirm {
  font-size: 12px;
  color: var(--accent);
  display: none;
  margin-top: 16px;
}

.form-msg {
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: 10px;
  width: 100%;
}
.form-msg--error { color: #e85d5d; }

/* CTA-scoped reveal animation (avoids conflicts with landing page global .reveal) */
.cta-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.cta-reveal.visible { opacity: 1; transform: translateY(0); }
.cta-reveal.d1 { transition-delay: 0.08s; }
.cta-reveal.d2 { transition-delay: 0.16s; }
.cta-reveal.d3 { transition-delay: 0.24s; }
.cta-reveal.d4 { transition-delay: 0.32s; }

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img { height: 28px; width: auto; opacity: 0.5; }

.footer-copy {
  font-size: 10px;
  color: var(--text-muted);
}

.footer-links { display: flex; gap: 28px; }

.footer-link {
  font-size: 10px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  .cta-inner  { padding-left: 24px; padding-right: 24px; }
  .cta-form   { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; padding-left: 24px; padding-right: 24px; }
  .footer-links { justify-content: center; }
}
