/* Scoped adaptation of the Phoenix HubSpot /demo/ form styles, inspected
   2026-09-30. The fields and legal text themselves remain HubSpot-managed. */
.skills-demo-conversion { width: min(760px, 100%); max-height: calc(100dvh - 32px); background: #f6f5f2; border-radius: 22px; }
.skills-demo-conversion .conversion-modal__header { padding: 32px 64px 12px; border: 0; text-align: center; }
.skills-demo-conversion .conversion-modal__header h2 { color: #002b80; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
.skills-demo-conversion #conversion-title:focus { outline: none; }
.skills-demo-conversion .conversion-modal__header p { margin-top: 12px; font: 400 16px/1.5 Figtree, sans-serif; color: #2a2923; }
.skills-demo-conversion .conversion-modal__close { top: 16px; right: 16px; background: transparent; }
.skills-demo-form { padding: 12px 40px 32px; font: 400 13px/24px Figtree, sans-serif; color: #2a2923; }
.skills-form-status { padding: 24px 0; color: #4c5062; text-align: center; }
.skills-form-status[hidden], .skills-form-fallback[hidden], .skills-form-preview[hidden] { display: none; }
.skills-form-preview { margin: 0 0 16px; color: #55596b; font: 400 12px/1.5 Figtree, sans-serif; text-align: center; }
.skills-form-fallback { padding: 22px 0; text-align: center; }
.skills-form-fallback button, .skills-form-fallback a { color: #5624a4; font: 600 14px/1.5 Figtree, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.skills-form-fallback button { margin-right: 18px; padding: 8px 0; border: 0; background: transparent; cursor: pointer; }
.skills-demo-form .hbspt-form, .skills-demo-form .hbspt-form form { width: 100% !important; }
.skills-demo-form .hbspt-form form { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; font-family: Figtree, sans-serif; }
.skills-demo-form .hbspt-form form > fieldset { grid-column: auto; display: block !important; min-width: 0; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.skills-demo-form .hbspt-form form > fieldset:first-child,
.skills-demo-form .hbspt-form form > fieldset:nth-child(2),
.skills-demo-form .hbspt-form form > .skills-form-legal { grid-column: 1 / -1; }
.skills-demo-form .hbspt-form form > fieldset.skills-form-hidden { display: none !important; }
.skills-demo-form .hbspt-form fieldset.form-columns-2:not(.skills-form-hidden) { display: flex !important; gap: 16px; }
.skills-demo-form .hbspt-form .hs-form-field { min-width: 0; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.skills-demo-form .hbspt-form .form-columns-2 .hs-form-field { flex: 1 1 0; }
.skills-demo-form .hbspt-form .input { margin-right: 0 !important; }
.skills-demo-form .hbspt-form label:not(.hs-error-msg) { display: block; margin-bottom: 6px; color: #002b80 !important; font: 400 13px/24px Figtree, sans-serif !important; }
.skills-demo-form .hbspt-form .hs-form-required { color: inherit; font-size: 13px; vertical-align: top; }
.skills-demo-form .hbspt-form .hs-input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]) { box-sizing: border-box; min-width: 0; min-height: 46px; width: 100% !important; margin-top: 4px !important; padding: 10px 16px !important; border: 1px solid rgba(0, 0, 0, .06) !important; border-radius: 8px !important; background: #fff !important; color: #2a2923 !important; font: 400 13px/16px Arial, sans-serif !important; }
.skills-demo-form .hbspt-form select.hs-input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]) { appearance: none !important; cursor: pointer; padding-right: 42px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='%2372BCF9' d='M1.2 1.2h13.6L8 8.8z'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; background-size: 16px 10px !important; }
.skills-demo-form .hbspt-form .hs-input:focus-visible { outline: 2px solid #6c2ee6 !important; outline-offset: 2px; }
.skills-demo-form .hbspt-form input:not(.primary):hover, .skills-demo-form .hbspt-form select:hover { border-color: #e1dbd2 !important; }
.skills-demo-form .hbspt-form .hs-field-desc { color: #707070 !important; font: 400 11px/16px Figtree, sans-serif; }
.skills-demo-form .hbspt-form > form > .hs_submit, .skills-demo-form .hbspt-form > form > .hs_error_rollup { grid-column: 1 / -1; }
.skills-demo-form .hbspt-form .hs_submit .actions { display: flex; justify-content: center; width: 100%; margin-top: 6px; padding: 0; }
.skills-demo-form .hbspt-form .hs-button.primary { appearance: none; display: inline-flex !important; align-items: center; justify-content: center; flex: 0 1 230px; width: 230px !important; max-width: 100% !important; min-height: 52px; padding: 12px 28px !important; border: 0 !important; border-radius: 999px !important; background: linear-gradient(90deg, #103b9a, #7031d9) !important; color: #fff !important; font: 400 14px/24px "IBM Plex Mono", monospace !important; letter-spacing: .28px !important; text-transform: uppercase !important; cursor: pointer; box-shadow: none; text-shadow: none; }
.skills-demo-form .hbspt-form .hs-button.primary:hover { filter: brightness(1.08); }
.skills-demo-form .hbspt-form .hs-button.primary:focus-visible { outline: 2px solid #6c2ee6; outline-offset: 3px; }
/* The local preview blocks submission but retains the website's full-colour
   CTA for visual approval; the preview notice explains its disabled state. */
.skills-demo-form .hbspt-form .hs-button.primary:disabled { cursor: not-allowed; opacity: 1; filter: none; }
.skills-demo-form .hbspt-form .hs-input.invalid { border-color: #b21d1d !important; }
.skills-demo-form .hbspt-form .hs-error-msg, .skills-demo-form .hbspt-form .hs-error-msgs { color: #b21d1d !important; font: 400 12px/1.5 Figtree, sans-serif; list-style: none; margin: 4px 0 0; padding: 0; }
.skills-demo-form .hbspt-form .hs-richtext, .skills-demo-form .legal-consent-container p { color: #000 !important; font: 400 13px/24px Figtree, sans-serif; margin: 20px 0 0 !important; }
.skills-demo-form .hbspt-form .hs-richtext a { color: inherit !important; text-decoration: underline; }
.skills-demo-form .hbspt-form form > fieldset.skills-form-legal { order: 2; }
.skills-demo-form .hbspt-form .hs-fieldtype-booleancheckbox .inputs-list { list-style: none; margin: 0; padding: 0; }
.skills-demo-form .hbspt-form .hs-form-booleancheckbox-display { display: flex !important; align-items: flex-start; gap: 4px; }
.skills-demo-form .hbspt-form .hs-input[type="checkbox"] { width: auto !important; min-height: auto; margin-top: 6px; }
.skills-demo-form .hbspt-form .submitted-message { padding: 28px 0; font: 400 16px/1.6 Figtree, sans-serif; }
@media (max-width: 600px) {
  .skills-demo-conversion .conversion-modal__header { padding: 28px 48px 12px 22px; }
  .skills-demo-form { padding: 12px 22px 28px; }
  .skills-demo-form .hbspt-form form { grid-template-columns: minmax(0, 1fr); }
  .skills-demo-form .hbspt-form fieldset.form-columns-2:not(.skills-form-hidden) { flex-direction: column; }
  .skills-demo-form .hbspt-form .hs-button.primary { flex-basis: 100%; width: 100% !important; }
}
