/* /genesis/ waiting list: form, check-email and confirmed states, privacy notice. Loaded by the generated page. */
.genesis { align-items: flex-start; }
#listCard { gap: 14px; min-height: 480px; }
#joinForm, #checkEmail, #confirmPrompt, #confirmed { display: flex; flex-direction: column; gap: 14px; }
#joinForm[hidden], #checkEmail[hidden], #confirmPrompt[hidden], #confirmed[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; }
.field input[type="email"], .code input { height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--control); background: var(--surface); font-weight: 600; min-width: 0; width: 100%; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field.consent { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; row-gap: 6px; align-items: start; }
.field.consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--primary); }
.field.consent label { font-weight: 500; font-size: 15px; }
.field.consent .err { grid-column: 2; }
.err { color: var(--danger); font-weight: 600; font-size: 14px; min-height: 20px; }
#formErr { min-height: 40px; }
.ts { min-height: 65px; }
#joinBtn, #confirmBtn { align-self: flex-start; }
#joinBtn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.notice { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.position { margin: 0; font: 800 26px/1.2 var(--sans); }
.code input { font-family: var(--mono); font-size: 15px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; }
.privacy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-self: stretch; }
.privacy-grid > div { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.privacy-grid p { margin: 0; color: var(--muted); font-size: 15px; }
/* the road to mainnet: a hand-set bar (ROAD_STAGES in tools/pages.py) with a slow shine and a pulsing current stage */
.roadbar { gap: 16px; } .roadbar-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; } .roadbar h2 { font-size: 26px; }
.bar { height: 14px; border-radius: 99px; background: var(--raised); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--focus), var(--primary)); background-size: 200% 100%; animation: shine 3s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stages li { display: flex; flex-direction: column; gap: 2px; font-size: 15px; } .stages li span { color: var(--muted); font-size: 14px; }
.stages i { width: 14px; height: 14px; border-radius: 50%; margin-bottom: 6px; border: 2px solid var(--muted); }
.stages .done i { background: var(--good); border-color: var(--good); } .stages .next b { color: var(--muted); }
.stages .now i { background: var(--focus); border-color: var(--focus); box-shadow: 0 0 0 0 var(--focus); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .bar i, .stages .now i { animation: none; } }
.why { display: flex; flex-direction: column; gap: 16px; } .why h3, .why p { margin: 0; }
@media (max-width: 767px) {
  .stages { grid-template-columns: 1fr; gap: 10px; } .stages li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; } .stages i { grid-row: span 2; margin: 4px 0 0; } .stages li span { grid-column: 2; }
  #listCard { min-height: 0; }
  .field .err { min-height: 40px; } /* two lines reserved so an error does not move the form */
  .privacy-grid { grid-template-columns: 1fr; }
  #joinBtn, #confirmBtn { align-self: stretch; }
}
#listCard h3:focus { outline: none; } /* headings take focus only so screen readers land on the new screen */
/* /partners/talk/: the partner inquiry form (talk.js) */
.field input[type="text"], .field select, .field textarea { padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--control); background: var(--surface); color: var(--ink); font: 600 16px/1.4 var(--sans); min-width: 0; width: 100%; }
.field input[type="text"], .field select { height: 52px; } .field textarea { padding: 14px 16px; resize: vertical; min-height: 140px; }
.field input[type="text"][aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
#talkForm, #talkSent { display: flex; flex-direction: column; gap: 14px; } #talkForm[hidden], #talkSent[hidden] { display: none; }
#talkForm .field .err:empty { min-height: 0; } #talkSent p { margin: 0; } #talkBtn { align-self: flex-start; } #talkBtn[aria-disabled="true"] { opacity: .6; cursor: progress; }
@media (max-width: 767px) { #talkBtn { align-self: stretch; } }
