/* Early access (/early-access and its thank-you pages, app/early_access.py). Builds on the Profit Check's form
   (profit_check.css): three perk tiles above the form, choices as pills, and the consent box. */
.ea-main { max-width: 960px; }
.ea-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ea-perks li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center;
  padding: 16px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.ea-perks li b { font-size: .95rem; }
.ea-perks li span:last-child { grid-column: 2; font-size: .84rem; color: var(--text-2); }
.ea-ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #2f43f2, #5d6bff); }
.ea-wide { grid-column: 1 / -1; }
.ea-form textarea { width: 100%; box-sizing: border-box; margin: 0; resize: vertical; }
.ea-choice { border: 0; padding: 0; margin: 10px 0 0; min-width: 0; }
.ea-choice legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
.ea-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ea-pill { position: relative; margin: 0; }
.ea-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ea-pill span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: .9rem; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s; }
.ea-pill input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.ea-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ea-choice.bad .ea-pill span { border-color: var(--bad); }
.ea-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 16px;
  background: var(--surface-2); font-size: .9rem; line-height: 1.45; font-weight: 400; }
.ea-consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: 0 0 auto; }
.ea-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* the pages after the form */
.ea-done { display: grid; place-items: center; padding: 48px 16px 72px; }
.ea-done-card { width: 100%; max-width: 520px; text-align: center; display: grid; gap: 12px; justify-items: center; padding: 34px 26px; box-sizing: border-box; }
.ea-done-card h1 { margin: 4px 0 0; font: 700 clamp(1.6rem, 4vw, 2.2rem)/1.1 var(--font-display); letter-spacing: -.03em; }
.ea-done-card p { margin: 0; color: var(--text-2); overflow-wrap: anywhere; }
.ea-done-card form { margin: 6px 0; }
.ea-big-ico { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: var(--text-3); }
.ea-big-ico.ok { background: linear-gradient(135deg, #22c55e, #15803d); }
.ea-big-ico.bad { background: linear-gradient(135deg, #fb7185, #e11d48); }

@media (max-width: 760px) {
  .ea-perks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .ea-pill span { padding: 0 12px; font-size: .85rem; }
}
