/* Webinar pages. Builds on assets/site.css tokens. */
.web { padding-block: 140px 96px; display: grid; gap: clamp(40px, 6vw, 72px); }
.web-hero { display: grid; gap: 18px; }
.web-title { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 68; letter-spacing: -.015em; line-height: .88; font-size: clamp(3.2rem, 9.4vw, 8.6rem); text-wrap: balance; }
.web-facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.web-facts li { font-size: 15px; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); }
.web-facts li b { font-weight: 600; }

.web-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.web-copy { display: grid; gap: 16px; max-width: 62ch; }
.web-copy p { color: var(--fg-2); font-size: 1.08rem; }
.web-copy .web-lede { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 82; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; color: var(--fg) !important; }
.web-copy h2 { margin-top: 22px; font-size: 1.6rem; font-weight: 750; font-variation-settings: "wdth" 84; }
.web-list { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 14px; }
.web-list li { counter-increment: n; position: relative; padding-left: 44px; color: var(--fg-2); }
.web-list li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: 12px; color: var(--teal); }
.web-list b { color: var(--fg); font-weight: 600; }

.web-form-wrap { position: sticky; top: 96px; }
.web-form, .web-done { background: var(--card); border: 1px solid var(--rule); border-radius: 22px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; }
.web-form h2, .web-done h2 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 70; font-size: 2.4rem; line-height: .95; text-transform: lowercase; }
.form-intro { color: var(--fg-2); font-size: 15px; }
.form-field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field label, .form-field legend { font-weight: 600; font-size: 14.5px; padding: 0; }
.form-field .hint { color: var(--fg-3); font-size: 13.5px; margin-top: -2px; }
.form-field input[type="text"], .form-field input[type="email"], .form-field textarea { font: inherit; font-size: 16px; color: var(--fg); background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 11px 12px; width: 100%; }
.form-field textarea { resize: vertical; min-height: 104px; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.choice { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-weight: 400 !important; font-size: 15px !important; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; margin-top: 6px; cursor: pointer; }
.choice input { margin-top: 3px; accent-color: var(--cyan); }
.choice:has(input:checked) { border-color: var(--cyan); background: color-mix(in srgb, var(--cyan) 8%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #B3261E; background: #FCEDEC; border-radius: 10px; padding: 10px 12px; font-size: 14.5px; }
.web-form .btn { justify-self: start; border: 0; cursor: pointer; }
.web-form .btn:disabled { opacity: .6; cursor: progress; }
.form-small { color: var(--fg-3); font-size: 13px; }
.form-small a { color: inherit; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--rule); cursor: pointer; }

.web-done { position: relative; }
.web-done h2 { padding-right: 64px; }
.web-done:focus { outline: none; }
.web-done p { color: var(--fg-2); }
.web-done .cal { display: flex; flex-wrap: wrap; gap: 10px; }
.web-done .frame { position: absolute; right: 22px; top: 22px; width: 54px; height: 54px; }
.web-done .frame b { position: absolute; width: 18px; height: 18px; border: 0 solid var(--cyan); }
.web-done .frame .f1 { left: 0; top: 0; border-left-width: 4px; border-top-width: 4px; }
.web-done .frame .f2 { right: 0; top: 0; border-right-width: 4px; border-top-width: 4px; }
.web-done .frame .f3 { left: 0; bottom: 0; border-left-width: 4px; border-bottom-width: 4px; }
.web-done .frame .f4 { right: 0; bottom: 0; width: 9px; height: 9px; background: var(--coral); border: 0; }

@media (max-width: 900px) {
  .web-grid { grid-template-columns: 1fr; }
  .web-form-wrap { position: static; }
}
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
/* hidden must win over the display rules above */
.web [hidden] { display: none !important; }
