/* Wizard start only — dark navy + centered white card (LoveFinds-style). */
:root {
  --start-bg: #071428;
  --start-bg-2: #0a1a33;
  --start-ink: #111b21;
  --start-muted: #667781;
  --start-line: #e9edef;
  --start-brand: #2563eb;
  --start-brand-2: #1d4ed8;
  --start-banner: #eff6ff;
  --start-radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { max-width: 100%; overflow-x: hidden; }
body.start-page {
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(37, 99, 235, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, #071428 0%, #0a1a33 100%);
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.start-langs {
  position: absolute;
  top: 16px;
  right: max(16px, env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 2;
}
.start-langs a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}
.start-langs a.is-on,
.start-langs a:hover {
  color: #fff;
}
.start-langs span { color: rgba(255, 255, 255, 0.28); }

.start-wrap {
  min-height: 100dvh;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 16px 40px;
  padding-top: max(72px, calc(env(safe-area-inset-top, 0px) + 56px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.start-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 16px;
  padding: 10px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.start-lockup .sl-wordmark {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(280px, 82vw);
  object-fit: contain;
}

.start-card {
  width: 100%;
  min-width: 0;
  max-width: 480px;
  background: #fff;
  color: var(--start-ink);
  border-radius: var(--start-radius);
  padding: 28px 22px 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.start-card h1,
.start-lead,
.start-banner,
.start-banner strong,
.start-banner span,
.start-note {
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 4px 0 22px;
}
.stepper .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: #e8eef6;
  color: #94a3b8;
}
.stepper .dot.is-on {
  background: var(--start-brand);
  color: #fff;
}
.stepper .line {
  width: 28px;
  height: 2px;
  background: #e8eef6;
}

.start-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--start-brand-2);
  margin: 0 0 8px;
}
.start-card h1 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.start-lead {
  margin: 0 0 18px;
  text-align: center;
  font-size: 14px;
  color: var(--start-muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.start-banner {
  background: var(--start-banner);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  margin-bottom: 18px;
}
.start-banner strong {
  display: block;
  font-size: 14px;
  color: #1d4ed8;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.start-field {
  margin-bottom: 14px;
}
.start-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}
.start-field input,
.start-field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 48px;
  border: 1px solid var(--start-line);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--start-ink);
  background: #fff;
  font-family: inherit;
  appearance: none;
}
.start-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%2394a3b8' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.start-field input:focus,
.start-field select:focus {
  outline: none;
  border-color: var(--start-brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.28);
}

.start-cta {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--start-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 4px;
}
.start-cta:hover { background: var(--start-brand-2); }
.start-cta:disabled {
  opacity: 0.85;
  cursor: wait;
}

.start-note {
  min-height: 18px;
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--start-muted);
  text-align: center;
  line-height: 1.4;
}
.start-note.is-err { color: #b42318; font-weight: 600; }

.start-help {
  margin-top: 18px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}
.help-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  border: 1px solid #eef2f7;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: inherit;
  color: var(--start-ink);
}
.help-toggle strong {
  display: block;
  font-size: 14px;
}
.help-toggle span {
  display: block;
  font-size: 12px;
  color: var(--start-muted);
  font-weight: 400;
  margin-top: 2px;
}
.help-chevron {
  color: #94a3b8;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.start-help.is-open .help-chevron { transform: rotate(90deg); }

.help-panel { display: none; padding: 12px 2px 4px; }
.help-panel[hidden] { display: none !important; }
.start-help.is-open .help-panel { display: block; }

.help-panel input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--start-line);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 10px;
}
.help-panel h3 {
  margin: 8px 0 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.faq-item {
  border: 1px solid #eef2f7;
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}
.faq-item[hidden] { display: none; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 650;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: 0;
  padding: 0 14px 12px;
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .start-langs {
    position: static;
    justify-content: flex-end;
    padding: 14px 16px 0;
  }
  .start-wrap {
    padding-top: 20px;
    justify-content: flex-start;
  }
  .start-card { padding: 20px 16px 16px; border-radius: 20px; }
  .start-card h1 { font-size: 22px; }
  .stepper .line { width: 14px; }
  .stepper .dot { width: 26px; height: 26px; }
}
