/* ==========================================================================
   EARLY ACCESS PAGE (/early-access/)
   Only what this page adds. Everything else comes from the shared site styles:
   header, hero, buttons, form fields and footer are reused as they are.
   ========================================================================== */

/* ---------- "TCTB OS  ● In development" ---------- */
.ea-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ea-status__name { font-weight: 800; letter-spacing: -0.01em; }
.ea-status__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 0 0 1px var(--glass-line);
  font-size: 0.8rem;
  font-weight: 700;
}
.ea-status__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08); }
.ea-status__pill--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.ea-status__pill--dark .ea-status__dot { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }

/* ---------- Header button: "Early access" on small phones ----------
   The full label stays available to screen readers; the short one is only visual. */
.ea-cta__short { display: none; }
@media (max-width: 479px) {
  .ea-cta__full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ea-cta__short { display: inline; }
}

/* ---------- Hero ---------- */
.ea-hero__foot { align-items: flex-end; }
.ea-hero__copy { display: grid; gap: 14px; max-width: 46ch; color: var(--ink-soft); }
.ea-hero__sub {
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.ea-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- Planned capabilities: one charcoal panel ---------- */
.ea-vision {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
  margin: 0 var(--gutter);
  padding: clamp(28px, 6vw, 88px);
  border-radius: var(--radius-panel);
  background: linear-gradient(180deg, #1A1917, #0E0E0D);
  color: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), var(--float-shadow);
}
.ea-vision :focus-visible { outline-color: var(--paper); }
.ea-vision__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.ea-vision__title { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.01em; }
.ea-vision__lead {
  max-width: 22ch;
  font-size: var(--fs-statement);
  font-weight: 800;
  line-height: var(--lh-snug);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.ea-caps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 clamp(24px, 3vw, 48px);
}
.ea-cap {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(238, 235, 228, 0.14);
}
.ea-cap__title { font-size: var(--fs-card); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.ea-cap p { max-width: 34ch; color: var(--paper-soft); }
@media (min-width: 640px) { .ea-caps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ea-caps { grid-template-columns: repeat(3, 1fr); } }

.ea-vision__note { max-width: 60ch; font-size: var(--fs-small); color: var(--paper-soft); }

/* ---------- Apply ---------- */
.ea-invite { font-size: var(--fs-lead); font-weight: 700; line-height: 1.35; color: var(--ink); }
.ea-apply { padding: clamp(96px, 14vh, 160px) var(--gutter) clamp(48px, 8vw, 96px); }

.ea-next__title { margin-top: 18px; font-size: var(--fs-body); font-weight: 800; }
ul.ea-next[role="list"] { display: grid; gap: 8px; padding-left: 1.15em; list-style: disc; color: var(--ink-soft); }   /* beats the site-wide list reset */
.ea-next li { padding-left: 2px; }
.ea-next li::marker { color: var(--ink); }

/* Explicit Yes/No choices: accessible fieldsets, with No selected by default. */
.ea-checks { display: grid; gap: 10px; }
.ea-choice {
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.14);
}
.ea-choice legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; line-height: 1.4; }
.ea-choice__options { display: flex; flex-wrap: wrap; gap: 16px; clear: both; }
.ea-choice__options label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.ea-choice__options input { width: 18px; height: 18px; accent-color: var(--ink); }
.ea-choice:focus-within { border-color: var(--ink); }
.ea-choice .field__optional { margin-left: 4px; }

.ea-privacy { font-size: var(--fs-small); line-height: 1.5; color: var(--ink-soft); }

/* Field errors: clear wording, plus a thicker border, so colour isn't the only signal */
.field__error {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: #9A1F17;
}
.field__error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #9A1F17; color: #fff; font-size: 0.7rem; line-height: 1; }
.field__error[hidden] { display: none; }
.field__input[aria-invalid="true"] { border-color: #9A1F17; box-shadow: 0 0 0 1px #9A1F17; }   /* thicker red edge, no layout shift */
