/* Sige Wash landing page, part 4: founding offer pitch + waitlist form on an electric-blue band.
   Tokens live in styles.css. */
.join { padding-block: var(--section-pad); background: var(--blue); color: #fff; scroll-margin-top: 8px; }
.join__grid { display: grid; gap: 32px; align-items: start; }
.join .lede { color: var(--on-blue); }

.join__card { --focus: var(--blue); background: var(--white); color: var(--ink); border-radius: var(--radius-board); box-shadow: var(--shadow-card); overflow: hidden; }
.wl { display: grid; gap: 20px; padding: 0 18px 24px; }
.wl__head { margin: 0 -18px; padding: 18px; background: var(--ink); color: #fff; border-bottom: 5px solid var(--lime); }
.wl__head h3 { font-size: 32px; }
.wl__sub { margin-top: 6px; font-size: 15px; color: var(--on-dark); }
.wl__summary:empty { display: none; }
.wl__summary { padding: 12px 14px; border-left: 5px solid var(--error); background: #FEF2F2; color: var(--error); font-weight: 600; font-size: 15px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-weight: 600; font-size: 16px; }
.field legend { margin-bottom: 8px; }
.optional { font-weight: 400; color: var(--slate); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--field-border); border-radius: var(--radius); font: 16px var(--font); color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:hover, .field select:hover { border-color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.35); }
.field input::placeholder { color: #64748B; }
.field__help { font-size: 14px; color: var(--slate); }
.field__error { font-size: 14px; font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }

/* Vehicle choice, grouped by the plan it lands on: the plan logic is visible before anyone picks. */
.vehicles { display: grid; gap: 14px; }
.vehicles__group { padding-left: 12px; border-left: 3px solid var(--rule); transition: border-color .2s; }
.vehicles__group.is-suggested { border-left-color: var(--blue); }
.vehicles__plan { margin-bottom: 8px; font: 700 17px/1 var(--font-display); text-transform: uppercase; letter-spacing: .05em; color: var(--slate); }
.is-suggested .vehicles__plan { color: var(--blue); }
.vehicles .options { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); }
.vehicles .option span { width: 100%; white-space: nowrap; }
.plan-readout { margin-top: 6px; padding: 12px 14px; border-radius: var(--radius); background: var(--tint); font-weight: 600; font-size: 15px; color: var(--ink); }
.plan-readout.is-set { background: var(--ink); color: #fff; }

/* Single-choice radios: round indicator, whole tile fills ink when picked. */
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option span { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--field-border); border-radius: var(--radius); font-weight: 500; font-size: 16px; background: #fff; transition: background .15s, color .15s, border-color .15s; }
.option span::before { content: ""; flex: none; width: 16px; height: 16px; border: 2px solid var(--field-border); border-radius: 50%; transition: background .15s, border-color .15s; }
.option:hover span { border-color: var(--ink); }
.option input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.option input:checked + span::before { border-color: var(--lime); background: var(--lime); box-shadow: inset 0 0 0 3px var(--ink); }
.option input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field.is-invalid .option span { border-color: var(--error); }

.add-email { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: -8px; padding: 0; border: 0; background: none; font: 600 16px var(--font); color: var(--blue); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.add-email:hover { color: var(--ink); }
.add-email .ico { width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl__privacy { margin-top: -6px; font-size: 14px; color: var(--slate); }

/* Success: the end of the journey gets the brand's own moment, the drop filling and the tick drawing in. */
.wl-done { display: grid; gap: 12px; justify-items: start; padding: 28px 20px; border-top: 5px solid var(--lime); }
.wl-done__mark { width: 60px; height: 60px; animation: drop-in .5s var(--ease) both; }
@keyframes drop-in { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.wl-done h3 { font-size: 34px; }
.wl-done h3:focus { outline: none; }
.wl-done p { color: var(--slate); }
.wl-done .wl-done__plan { padding: 10px 14px; border-radius: var(--radius); background: var(--ink); color: #fff; font-weight: 600; }
.wl-done .wl-done__share { font-weight: 600; color: var(--ink); }
.wl-done .wl-done__perk { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--tint); color: var(--ink); font-weight: 500; }
.wl-done__perk svg { flex: none; width: 22px; height: 30px; }
.wl-done__actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (min-width: 720px) {
  .wl-done__messenger { display: none; }
  .wl { padding: 0 32px 32px; }
  .wl__head { margin: 0 -32px; padding: 22px 32px; }
  .wl-done { padding: 40px 32px; }
}
@media (min-width: 1000px) {
  .join__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; }
  .join__pitch { position: sticky; top: 32px; }
}
