/* The Android early-access page (legal-site/test). A file, not inline styles: the CSP says style-src 'self'.
   Plain on purpose (Brian, 2026-11-29: "AI-slop- glowing buttons, gradients cards"): the app's own colours
   (constants/theme.ts dark), no gradients, shadows, glows, animation or pill shapes (testerSignupPage.test.ts OF6).
   The real app screens do the work. */
:root {
  --app-bg: #0f172a;
  --app-surface: #1e293b;
  --app-line: #334155;
  --app-text: #e2e8f0;
  --app-muted: #a3b1c4;
  --app-accent: #06b6d4;
}

body { background: var(--app-bg); color: var(--app-text); }

.early { max-width: 1040px; }

.early header { align-items: center; border-bottom-color: var(--app-line); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.app-icon { display: block; width: 28px; height: 28px; border-radius: 6px; }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 56px;
  align-items: start;
  padding: 24px 0 56px;
  border-bottom: 1px solid var(--app-line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--app-accent);
  font-size: 14px;
  font-weight: 600;
}

.intro h1 {
  margin: 0 0 16px;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.intro .lead {
  max-width: 560px;
  margin: 0 0 32px;
  color: var(--app-text);
  font-size: 19px;
  line-height: 1.55;
}

.signup-form label { display: block; margin-bottom: 8px; font-weight: 600; }

.field-row { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }

.field-row input[type=email] {
  flex: 1 1 260px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--app-line);
  border-radius: 6px;
  color: var(--app-text);
  background: var(--app-surface);
  font: inherit;
  font-size: 17px;
}

.field-row input[type=email]:focus { outline: 2px solid var(--app-accent); outline-offset: 1px; }

.field-row button {
  flex: 0 0 auto;
  padding: 13px 22px;
  border: 0;
  border-radius: 6px;
  color: var(--app-bg);
  background: var(--app-accent);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.field-row button:hover { background: #22d3ee; }
.field-row button:focus-visible { outline: 2px solid var(--app-text); outline-offset: 2px; }
.field-row button:disabled { opacity: 0.6; cursor: default; }

.signup-form .status { margin: 10px 0 0; }
.signup-form .status:empty { display: none; }

.fine {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.55;
}

.done h2 { margin: 0 0 8px; font-size: 28px; }
.done h2:focus { outline: none; }
.done p { max-width: 560px; margin: 0; font-size: 17px; }
.done p.fine { margin-top: 10px; font-size: 13px; }

.intro-shot,
.shots img {
  display: block;
  width: 100%;
  max-width: 305px;
  height: auto;
  border: 1px solid var(--app-line);
  border-radius: 22px; /* the screen's own corner (the capture is cut with this radius) */
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 305px));
  justify-content: space-between;
  gap: 32px;
  padding: 48px 0 8px;
}

.shots figure { margin: 0; }

.shots figcaption {
  margin-top: 14px;
  color: var(--app-muted);
  font-size: 15px;
  line-height: 1.45;
}

.shots figcaption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--app-text);
  font-size: 17px;
}

.early footer { border-top-color: var(--app-line); }

@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .intro h1 { font-size: 32px; }
  .intro .lead { font-size: 17px; }
  .intro-shot { max-width: 260px; }
  .field-row button { flex: 1 1 100%; }
  .shots {
    grid-template-columns: repeat(3, 70%);
    justify-content: start;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }
  .shots figure { scroll-snap-align: start; }
}
