/* Veld — the launch switch, page half.

   Every public page carries two versions of anything that changes at launch:
   data-launch="open" (open Veld free, subscribe) and data-launch="early"
   (join early access, reserve a plan). The one line marked LAUNCH SWITCH
   below hides one set. The other halves of the switch are in
   netlify/functions/_launch.mjs and assets/invite.js; flip all three with
   `py veld-tools/launch-switch.py open` (or `early`).

   Both versions are in the HTML whichever is showing, so claims-check.py reads
   the copy for both, and a page that loses this file shows both rather than
   neither. */
[data-launch="open"]{display:none!important} /* LAUNCH SWITCH */

/* ---------- the bar above the header ---------- */
.ea-bar{background:#0a2540;color:#e6ebf2;font-size:13.5px;text-align:center;padding:9px 16px;line-height:1.4}
.ea-bar b{color:#fff;font-weight:600}
.ea-bar a{color:#ffc72c;font-weight:600;margin-left:6px;white-space:nowrap}
.ea-bar a:hover{color:#fff}

/* ---------- the list, closing the home and pricing pages ---------- */
#early-access{scroll-margin-top:72px}
.ea .eyebrow{margin-bottom:12px}
.ea-form{max-width:560px;margin:0 auto;text-align:left;background:#fff;border:1px solid #e3dccd;
  border-radius:14px;padding:22px;box-shadow:0 1px 2px rgba(10,37,64,.06),0 10px 30px rgba(10,37,64,.08)}
.ea-form label{display:block;font-size:13px;font-weight:600;color:var(--navy);margin:0 0 6px}
.ea-form input[type=email],.ea-form select{width:100%;font:inherit;font-size:15px;color:var(--ink);
  padding:12px 14px;border:1px solid #d6cfc0;border-radius:10px;background:#fff}
.ea-form input[type=email]:focus,.ea-form select:focus{outline:2px solid var(--cobalt);outline-offset:1px;border-color:var(--cobalt)}
.ea-plan{margin:14px 0 16px}
.ea-plan label span{font-weight:400;color:var(--slate)}
.ea-form .btn{white-space:nowrap}
.ea-form .btn[disabled]{opacity:.6;cursor:progress}
.closer .ea-form p.ea-small{font-size:12.5px;color:#5c6470;margin:14px 0 0;max-width:none;line-height:1.55}
.ea-small a{text-decoration:underline;text-underline-offset:2px}
.closer .ea-form p.ea-status{margin:14px 0 0;max-width:none;font-size:14.5px;font-weight:600;color:var(--navy);
  background:#eef7e1;border:1px solid #cfe6a8;border-radius:10px;padding:11px 14px}
.closer .ea-form p.ea-status.is-error{background:#fbeae8;border-color:#f3cdc9;color:#8a2c25}
/* once joined, only the confirmation and the questions stay in the card */
.ea-form.is-done > :not(.ea-status):not(.ea-q){display:none}
.ea-form.is-done p.ea-status{margin-top:0}

/* ---------- the form on one line: email and button side by side ---------- */
.ea-row{display:flex;gap:10px}
.ea-row input[type=email]{flex:1 1 auto;min-width:0}
@media (max-width:620px){.ea-row{flex-direction:column}}

/* ---------- three optional questions, straight after joining ---------- */
.ea-q{margin-top:18px;text-align:left}
.ea-q-lede{font-size:14px;color:#4a4f57;margin:0 0 6px}
.ea-q-set{border:0;padding:0;margin:14px 0 0;min-width:0}
.ea-q-set legend{font-size:14px;font-weight:600;color:var(--navy);margin-bottom:8px;padding:0}
.ea-q-opts{display:flex;flex-wrap:wrap;gap:8px}
.ea-q-opts input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.ea-q-opts label{font-size:14px;font-weight:500;color:var(--ink);background:#fff;border:1.5px solid #d6cfc0;
  border-radius:99px;padding:7px 14px;cursor:pointer;line-height:1.3;transition:border-color .15s,background .15s}
.ea-q-opts label:hover{border-color:var(--cobalt)}
.ea-q-opts input:checked + label{background:var(--navy);border-color:var(--navy);color:#fff}
.ea-q-opts input:focus-visible + label{outline:2px solid var(--cobalt);outline-offset:2px}
.ea-q-actions{display:flex;align-items:center;gap:16px;margin-top:20px}
.ea-q-skip{font-size:14px;color:#4a4f57;text-decoration:underline;text-underline-offset:2px}
.ea-q-note{font-size:13.5px;color:#8a2c25;margin:10px 0 0;min-height:1em}
.ea-q-thanks{font-size:14.5px;font-weight:600;color:var(--navy);margin:0}
.closer .ea-q p{max-width:none}
.closer p.ea-code{margin:20px auto 0;font-size:14px;color:#4a4f57}
.ea-code a{font-weight:600}
.closer .ea-form + .ea-code + .closer-note{margin-top:22px}
@media (max-width:620px){
  .ea-form{padding:18px}
  .ea-form .btn{width:100%;justify-content:center}
}

/* ---------- pricing ---------- */
.ea-flag{display:inline-block;margin-top:18px;font-size:13.5px;color:#4a4f57;background:#fff;border:1px solid #e3dccd;
  border-radius:99px;padding:7px 14px}
.ea-flag::before{content:"";display:inline-block;width:8px;height:8px;margin-right:9px;border-radius:50%;
  background:var(--orange);vertical-align:1px}
