/* Webinar landing pages (Meta ads) — shared states + responsive rules.
   Layout lives inline in template-webinar-accessibility.php /
   template-webinar-ai.php (faithful port of the campaign design export);
   this file only holds what inline styles can't: hover/focus/active
   states, the responsive collapse, and view toggling. Tokens come from
   colors_and_type.css, linked before this file. */

html, body { margin: 0; padding: 0; background: #fbf8f9; }
a { color: #330133; }
a:hover { color: #330133; opacity: 0.7; }
input, button, select { font-family: var(--font-sans); }
::placeholder { color: #9b95a3; }
[hidden] { display: none !important; }

/* Pills */
.wlp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border: none; cursor: pointer; background: var(--el-yellow); color: var(--el-ink);
  border-radius: 60px; padding: 19px 29px; font-size: 17px; font-weight: 600;
  text-decoration: none; transition: background 0.18s, transform 0.14s var(--ease);
}
.wlp-btn:hover { background: var(--el-yellow-electric); opacity: 1; color: var(--el-ink); }
.wlp-btn:active { transform: scale(0.97); }
.wlp-btn[disabled] { opacity: 0.6; cursor: default; transform: none; }
.wlp-btn-dark {
  display: inline-flex; align-items: center; gap: 12px; background: var(--el-ink);
  color: var(--el-white); border-radius: 60px; padding: 14px 24px; font-size: 15px;
  font-weight: 500; text-decoration: none; transition: background 0.18s;
}
.wlp-btn-dark:hover { background: #000; opacity: 1; color: var(--el-white); }

/* Form */
.wlp-field { display: flex; flex-direction: column; gap: 7px; }
.wlp-field label { font-size: 13px; font-weight: 600; color: var(--el-indigo); }
.wlp-input {
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--el-divider);
  background: var(--el-bg); font-size: 15px; color: var(--el-ink); outline: none;
  width: 100%; box-sizing: border-box; appearance: none; -webkit-appearance: none;
}
select.wlp-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23210044' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.wlp-input:focus { border-color: #8a55b3; }
.wlp-form-msg { margin: 0; font-size: 14px; line-height: 1.5; color: var(--el-danger); }
.wlp-form-msg:empty { display: none; }

/* Text back-link button (thank-you header) */
.wlp-backlink {
  border: none; background: none; cursor: pointer; font-size: 15px; font-weight: 500;
  color: var(--el-plum); display: inline-flex; align-items: center; gap: 8px; padding: 0;
}
.wlp-backlink:hover { opacity: 0.7; }

/* Responsive collapse (mirrors the design export breakpoint) */
@media (max-width: 900px) {
  .lp-pad { padding-left: 24px !important; padding-right: 24px !important; }
  .lp-hero, .lp-grid2 { grid-template-columns: 1fr !important; }
  .lp-hero { gap: 44px !important; }
  .lp-box { padding: 28px !important; }
}
