/* Founding Member Registration — public landing (mobile-first) */

.fmr-page {
  --fmr-ink: #0f172a;
  --fmr-muted: #64748b;
  --fmr-border: #e2e8f0;
  --fmr-brand: #1d4ed8;
  --fmr-brand-dark: #1e3a8a;
  --fmr-success: #059669;
  --fmr-warn: #d97706;
  --fmr-radius: 16px;
  color: var(--fmr-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

.fmr-page *,
.fmr-page *::before,
.fmr-page *::after {
  box-sizing: border-box;
}

.fmr-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.fmr-hero {
  padding: 28px 0 20px;
  text-align: center;
}

.fmr-hero__eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #dbeafe;
  margin-bottom: 12px;
}

.fmr-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 5vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.fmr-hero__sub {
  margin: 0 auto 16px;
  max-width: 40rem;
  color: var(--fmr-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.fmr-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.fmr-trust span {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--fmr-border);
  color: #334155;
}

.fmr-compliance {
  max-width: 42rem;
  margin: 0 auto 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #475569;
  text-align: center;
}

.fmr-compliance strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 0.84rem;
}

.fmr-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.fmr-hero__cta:hover {
  filter: brightness(1.05);
  color: #fff;
}

.fmr-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 8px;
}

.fmr-stat {
  text-align: center;
  padding: 12px;
  border: 1px solid var(--fmr-border);
  border-radius: 12px;
  background: #fff;
}

.fmr-stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--fmr-brand);
}

.fmr-stat span {
  font-size: 0.75rem;
  color: var(--fmr-muted);
}

.fmr-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin: 24px 0;
}

.fmr-card {
  border: 1px solid var(--fmr-border);
  border-radius: var(--fmr-radius);
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fmr-card.is-selected {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.fmr-card__title {
  margin: 0;
  font-size: 1.1rem;
}

.fmr-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.fmr-price__launch {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--fmr-success);
}

.fmr-price__regular {
  font-size: 0.85rem;
  color: var(--fmr-muted);
  text-decoration: line-through;
}

.fmr-card ul {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.fmr-card__pick {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-weight: 700;
  cursor: pointer;
}

.fmr-card__pick.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.fmr-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 12px;
}

.fmr-form-card {
  border: 1px solid var(--fmr-border);
  border-radius: var(--fmr-radius);
  padding: 18px;
  background: #fff;
}

.fmr-form-card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.fmr-form-note {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--fmr-muted);
  line-height: 1.5;
}

.fmr-field {
  margin-bottom: 12px;
}

.fmr-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.fmr-field input,
.fmr-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1rem;
}

.fmr-field input:focus,
.fmr-field select:focus {
  outline: 2px solid #93c5fd;
  outline-offset: 1px;
}

.fmr-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.fmr-errors {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.88rem;
}

.fmr-errors p {
  margin: 0 0 4px;
}

.fmr-submit {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}

.fmr-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.fmr-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.fmr-timeline li {
  border-left: 3px solid #93c5fd;
  padding: 8px 0 8px 14px;
}

.fmr-timeline strong {
  display: block;
  font-size: 0.92rem;
}

.fmr-timeline span {
  font-size: 0.85rem;
  color: var(--fmr-muted);
  line-height: 1.5;
}

.fmr-section {
  margin: 32px 0 0;
  padding-top: 8px;
}

.fmr-section h2 {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  margin: 0 0 10px;
}

.fmr-section p {
  color: #334155;
  line-height: 1.7;
  font-size: 0.96rem;
}

.fmr-section p + p {
  margin-top: 10px;
}

.fmr-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--fmr-border);
  border-radius: 12px;
  margin-top: 12px;
}

.fmr-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.fmr-table th,
.fmr-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--fmr-border);
  text-align: left;
}

.fmr-table th {
  background: #f8fafc;
}

.fmr-faq details {
  border: 1px solid var(--fmr-border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #fff;
}

.fmr-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
}

.fmr-faq p {
  margin: 8px 0 0;
  color: var(--fmr-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.fmr-security {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px;
}

.fmr-security ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #166534;
  font-size: 0.9rem;
}

.fmr-canonical-note {
  margin-top: 20px;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  font-size: 0.82rem;
  color: var(--fmr-muted);
}

.fmr-canonical-note a {
  color: var(--fmr-brand);
}

@media (min-width: 768px) {
  .fmr-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .fmr-row-2 {
    grid-template-columns: 1fr 1fr;
  }

  .fmr-hero {
    padding-top: 40px;
  }
}

@media (max-width: 480px) {
  .fmr-stats {
    grid-template-columns: 1fr;
  }
}
