/* Community waitlist: the form on site/community.html (its look: css/community.css), the
   preview strip, the success pop-up, and the slim link band on the Free Guides page.
   Placement history: root DESIGN.md #268, #269; moved to /community by DESIGN-community.md C1. */
.cw-preview{background:#dfe25a;color:#0b3658;font-weight:700;font-size:.88rem;text-align:center;padding:8px 16px;line-height:1.4}


.cw-form{max-width:680px;margin:0 auto}
.cw-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:640px){.cw-grid{grid-template-columns:1fr}}
.cw-row{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.cw-row.wide{grid-column:1 / -1}
.cw-form label{font-weight:700;font-size:.9rem;color:#F2F6FA}
.cw-form .req{color:#4E9AD9}
.cw-form .opt{font-weight:500;opacity:.6;font-size:.82rem}
.cw-form .cw-help{margin:0;font-size:.82rem;opacity:.7;line-height:1.45}
.cw-form input[type=text],.cw-form input[type=email],.cw-form input[type=tel],.cw-form select{
  font:inherit;padding:11px 13px;border:1px solid rgba(6,13,21,0.18);border-radius:8px;
  background:#fff;color:#060D15;width:100%;box-sizing:border-box;
}
.cw-form input:focus,.cw-form select:focus{outline:2px solid #4E9AD9;outline-offset:1px}
.cw-submit-wrap{text-align:center;margin-top:8px}
.cw-status{text-align:center;font-size:.92rem;min-height:0;margin:8px 0 0;line-height:1.5}
.cw-fine{font-size:.85rem;opacity:.75;margin:14px 0 0;text-align:center;line-height:1.5}
.cw-fine + .cw-fine{font-size:.76rem;opacity:.6;margin-top:6px}

.cw-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(3,10,18,.78)}
.cw-modal[hidden]{display:none}
.cw-modal-card{max-width:480px;width:100%;padding:32px;text-align:center;background:var(--surface);border:1px solid var(--accent);border-radius:var(--radius-card);box-shadow:var(--glow);color:#F2F6FA;outline:none}
.cw-modal-card h3{margin:0 0 14px;font-size:1.6rem}
.cw-modal-card p{margin:0 0 12px}
.cw-modal-card .btn{margin-top:8px}

/* The slim band on the Free Guides page that points to /community */
.cw-band{padding:8px 0 28px}
.cw-band .wrap{display:flex;align-items:center;justify-content:space-between;gap:14px 24px;flex-wrap:wrap;
  padding:16px 22px;border:1px solid rgba(78,154,217,.3);border-radius:18px;background:linear-gradient(100deg,rgba(78,154,217,.12),rgba(78,154,217,.02))}
.cw-band p{margin:0;display:flex;align-items:center;gap:10px;color:#F2F6FA;font-size:1rem;line-height:1.45}
.cw-band-dot{width:7px;height:7px;border-radius:50%;background:#dfe25a;box-shadow:0 0 10px rgba(223,226,90,.7);flex:none}
.cw-band-btn{flex:none;gap:8px}
@media (max-width:640px){.cw-band .wrap{margin:0 16px}.cw-band-btn{width:100%;justify-content:center}}
.cw-band-text{flex-wrap:wrap}
.cw-band-tag{display:inline-flex;align-items:center;gap:7px;padding:4px 11px;border-radius:999px;border:1px solid rgba(78,154,217,.5);
  background:rgba(78,154,217,.14);font-size:.82rem;font-weight:800;letter-spacing:.02em;color:#BFE0FA;white-space:nowrap}
.cw-band p.cw-band-text{font-size:1.08rem}
.cw-band-tag .cw-band-dot{background:#4e9ad9;box-shadow:0 0 10px rgba(78,154,217,.8)}
/* The band's button is Ball Yellow with Court Navy text (Ryan, 2026-11-21, root DESIGN.md #270). */
.cw-band-btn{background:#dfe25a;color:#0b3658;font-weight:800;box-shadow:0 8px 30px rgba(223,226,90,.28)}
.cw-band-btn:hover{background:#e8eb72;box-shadow:0 12px 40px rgba(223,226,90,.42);transform:translateY(-2px)}
.cw-band-btn:focus-visible{outline:2px solid #F2F6FA;outline-offset:3px}
