.form-page { padding: 36px 0 48px; }
.form-page .prose { max-width: 640px; }
.form-page h1 { margin: 0 0 12px; font-size: 32px; letter-spacing: -0.02em; }
.form-page .lead { margin: 0 0 24px; color: var(--muted); font-size: 16px; max-width: 62ch; }

.intake-context {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(37,99,235,0.25);
  background: var(--accentSoft);
  color: #1e3a8a;
  font-size: 14px;
}

.intake-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 8px 22px rgba(17,24,39,0.05);
  padding: 20px;
}

.intake-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.intake-form .field { margin-bottom: 16px; }

.intake-form input[type="text"],
.intake-form input[type="email"],
.intake-form select,
.intake-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
}

.intake-form textarea { min-height: 100px; resize: vertical; }

.intake-form .required-hint {
  font-size: 12px;
  color: var(--muted2);
  margin-top: 4px;
}

.intake-form label .optional {
  font-weight: 500;
  color: var(--muted2);
}

.intake-form .form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.intake-fallback {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.intake-fallback h3 { margin: 0 0 8px; font-size: 15px; }
.intake-fallback-reason {
  font-size: 13px;
  color: #b45309;
  background: #fef3c7;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid #fde68a;
}
.intake-fallback-body {
  white-space: pre-wrap;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.intake-success {
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius);
  background: #f0fdf4;
  box-shadow: 0 8px 22px rgba(16,185,129,0.08);
  padding: 32px 24px;
  text-align: center;
}

.intake-success-icon {
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 16px;
}

.intake-success h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #065f46;
}

.intake-success p {
  margin: 0 0 8px;
  color: #047857;
  font-size: 15px;
}

.intake-success-ref {
  font-size: 13px !important;
  color: #065f46 !important;
  margin-top: 12px !important;
}

.intake-success-ref code {
  background: #d1fae5;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.link-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.link-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.link-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(17,24,39,0.08);
  text-decoration: none;
}

.link-card b { display: block; margin-bottom: 4px; font-size: 15px; }
.link-card span { font-size: 13px; color: var(--muted); }

.updates-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  margin-bottom: 20px;
}

.updates-badge.ok {
  border-color: rgba(22,163,74,0.35);
  background: #f0fdf4;
  color: #166534;
}

.release-notes {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.release-notes h2 { margin: 0 0 10px; font-size: 18px; }
.release-notes ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.release-notes li { margin: 6px 0; }

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid var(--site-border, #e5e7eb);
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sticky-cta .label { font-size: 14px; color: var(--site-muted, #4a5568); font-weight: 600; }
.sticky-cta .actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .link-cards { grid-template-columns: 1fr; }
  .form-page h1 { font-size: 26px; }
}
