/* ViTG Cyber Gap Assessment landing page styles
 * Loaded via wp_enqueue_style (handle 'vitg-gap-assessment').
 * Original source: inline <style> in wp_posts.post_content (broken pattern).
 * Moved out of post body 2026-05-06 in GAP-B-FRONTEND-FIX. */

.gap-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #11202c;
  line-height: 1.55;
}

.gap-page h1 {
  font-size: 2.0rem;
  line-height: 1.15;
  margin: 0 0 8px;
  color: #0f1c28;
}

.gap-page h2 {
  font-size: 1.4rem;
  margin-top: 32px;
  color: #0f1c28;
}

.gap-page h3 {
  font-size: 1.1rem;
  margin: 12px 0 4px;
  color: #0f1c28;
}

.gap-page .lede {
  font-size: 1.15rem;
  color: #45556e;
  margin: 0 0 18px;
}

.gap-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 22px;
  font-size: 0.9rem;
  color: #45556e;
}

.gap-trust span {
  background: #f1f5f9;
  border: 1px solid #d8e1ec;
  padding: 4px 10px;
  border-radius: 999px;
}

.gap-form-card {
  background: #fff;
  border: 1px solid #d8e1ec;
  border-radius: 14px;
  padding: 28px 26px;
  margin: 28px 0;
  box-shadow: 0 1px 3px rgba(15, 28, 40, 0.04);
}

.gap-form-card h2 {
  margin-top: 0;
}

.gap-form-card label {
  display: block;
  margin-top: 14px;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a2a3a;
}

.gap-form-card input,
.gap-form-card select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c8d2df;
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: #11202c;
}

.gap-form-card input:focus,
.gap-form-card select:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
  border-color: #2563eb;
}

.gap-form-card button {
  margin-top: 20px;
  width: 100%;
  background: #1d4ed8;
  color: #fff;
  border: 0;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease;
}

.gap-form-card button:hover:not(:disabled) {
  background: #1e40af;
}

.gap-form-card button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.gap-error {
  margin-top: 14px;
  padding: 10px 12px;
  background: #fee2e2;
  border: 1px solid #ef4444;
  color: #991b1b;
  border-radius: 8px;
  font-size: 0.95rem;
}

.gap-fineprint {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #6b7c93;
}

.turnstile-row {
  margin-top: 18px;
  margin-bottom: 4px;
}

.gap-next-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0 8px;
}

.gap-next-steps .step {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
}

.gap-next-steps .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #1d4ed8;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.gap-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: #fff;
}

.gap-faq summary {
  font-weight: 600;
  cursor: pointer;
  color: #11202c;
  list-style: none;
}

.gap-faq summary::-webkit-details-marker {
  display: none;
}

.gap-faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  font-weight: 700;
  color: #1d4ed8;
}

.gap-faq details[open] summary::before {
  content: "\2212";
}

.gap-faq details p {
  margin: 8px 0 0;
  color: #45556e;
}

@media (max-width: 600px) {
  .gap-page h1 {
    font-size: 1.6rem;
  }
  .gap-form-card {
    padding: 22px 18px;
  }
}
