/* ============================================================
   Revonexis v3.3.8 — Founder-Confirmed Start Page
   New component only: the intake form on /start.html (+ fi/et).
   This is not a SaaS checkout — no cart visuals, no credit-card
   imagery, no new colors, no new fonts. Every value below is an
   existing --rx-* token from v314_visual_system.css or an existing
   dark-system token from revonexis.css, reused exactly as already
   used elsewhere on the site (the light "clarity/decision" card
   pattern from v322_founder_contrast_hotfix.css /
   v325_quick_check_light_section.css / v337_method_contrast_fix.css,
   and the dark numbered-steps pattern already shipped in
   storefront_additions.css's .after-step). The only genuinely new
   rules here are the form field styles themselves (label/input/
   textarea/helper/diagnostic badge) — this project had no prior
   text-input component to reuse (the only pre-existing <form>,
   the Quick Check, uses radio pills, not text fields) — built in
   the same light-card idiom as everything else on this page.

   Loaded only on start.html, fi/start.html, et/start.html.
   ============================================================ */

/* ---- Hero heading fix: the sitewide `h1 { color: var(--white) }` rule
   (revonexis.css) is tuned for dark hero sections and is nearly invisible
   on this page's light section background (#e8edf5 on #F7F5EF) — the
   same nested-component contrast problem v3.3.7 fixed for Method page
   cards and v3.1.4 fixed for `.clarity-hero h1`. Same fix pattern here,
   scoped to this page's own unique heading id. ---- */
#startHeading { color: var(--rx-ink); }

/* ---- Selected-diagnostic badge (read-only display of the
   allowlisted, pre-selected product) ---- */
.start-diag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rx-cyan-dark);
  background: var(--rx-light-strong);
  border: 1px solid var(--rx-cyan-border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1rem;
}
/* Solid --rx-light-strong, not the semi-transparent --rx-cyan-soft fill
   originally used here: at this label's small mono-caps size, cyan-dark
   text over the soft cyan tint measured 4.03:1 against the light section
   background — under WCAG AA's 4.5:1 normal-text threshold. A solid
   light-card fill (the same background every other label/badge on the
   site sits on) restores full contrast without changing the color or
   introducing a new token — see QA_NOTES.md. */

.start-diag-price {
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  color: var(--rx-ink);
}

/* ---- Form card: same light-card treatment as .scope-box inside
   .rx-light-section (v337) and .qc-card inside #quick-check (v325). ---- */
.start-form-card {
  background: var(--rx-light-strong);
  border: 1px solid var(--rx-light-border);
  border-radius: 6px;
  padding: 2.25rem 2.25rem 2.5rem;
  box-shadow: 0 18px 45px rgba(16, 33, 60, 0.08);
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .start-form-card { padding: 1.5rem 1.25rem 1.75rem; }
}

.start-field-row { margin-bottom: 1.35rem; }

.start-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}
@media (max-width: 640px) {
  .start-field-grid { grid-template-columns: minmax(0, 1fr); }
}

.start-field-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rx-cyan-dark);
  margin-bottom: 0.4rem;
}

.start-field-label .start-optional {
  color: var(--rx-light-text);
  text-transform: none;
  letter-spacing: normal;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.72rem;
  opacity: 0.85;
}

.start-field-input,
.start-field-textarea,
.start-field-select {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--rx-light-border);
  border-radius: 4px;
  padding: 0.72rem 0.9rem;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.92rem;
  color: var(--rx-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.start-field-textarea { resize: vertical; min-height: 96px; line-height: 1.55; }

.start-field-input::placeholder,
.start-field-textarea::placeholder { color: var(--rx-light-text); opacity: 0.65; }

.start-field-input:focus-visible,
.start-field-textarea:focus-visible,
.start-field-select:focus-visible {
  outline: none;
  border-color: var(--rx-cyan);
  box-shadow: 0 0 0 3px var(--rx-cyan-soft);
}

.start-field-helper {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--rx-light-text);
  margin-top: 0.4rem;
}

/* ---- "What happens next" numbered recap, inside the form card,
   light variant of the existing dark .after-step pattern. ---- */
.start-next-recap {
  border-top: 1px solid var(--rx-light-border);
  margin-top: 0.5rem;
  padding-top: 1.5rem;
}
.start-next-recap-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rx-cyan-dark);
  margin-bottom: 0.9rem;
}
.start-next-list { display: grid; gap: 0.85rem; margin: 0; padding: 0; list-style: none; counter-reset: startstep; }
.start-next-list li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.7rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--rx-ink-2);
  counter-increment: startstep;
}
.start-next-list li::before {
  content: counter(startstep, decimal-leading-zero);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--rx-cyan-dark);
  opacity: 0.85;
  padding-top: 0.1rem;
}

.start-charge-note {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  background: var(--rx-cyan-soft);
  border: 1px solid var(--rx-cyan-border);
  border-radius: 4px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--rx-ink-2);
}
.start-charge-note strong { color: var(--rx-ink); }

.start-submit-row { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

.start-email-fallback {
  margin-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--rx-light-text);
}
.start-email-fallback a { color: var(--rx-cyan-dark); text-decoration: none; }
.start-email-fallback a:hover { text-decoration: underline; }

/* ---- Success state — shown in place of the form after a
   successful native Netlify Forms submission lands the visitor back
   here via a same-page anchor is NOT used (see start.html markup);
   this class remains available for a possible future JS-enhanced
   inline success state without requiring new CSS then. ---- */
.start-success-card {
  background: var(--rx-light-strong);
  border: 1px solid var(--rx-light-border);
  border-left: 3px solid var(--rx-cyan);
  border-radius: 6px;
  padding: 2rem 2.25rem;
  max-width: 760px;
  margin: 0 auto;
}

/* ---- Honeypot field: visually hidden, still in the tab order? No —
   intentionally removed from it (tabindex -1) so a keyboard user never
   lands on it; screen readers skip it via aria-hidden. Standard
   Netlify Forms spam-mitigation pattern, zero dependency. ---- */
.start-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
