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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Inter", Roboto, Arial, sans-serif;
  color: #111827;
  background: #f9fafb;
  line-height: 1.6;
}

main {
  padding: 120px 16px 60px; /* extra top padding for fixed header */
}

.page-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

h1, h2, h3 {
  color: #111827;
  line-height: 1.25;
  margin: 0 0 12px;
}

p {
  margin: 0 0 12px;
  font-size: 15px;
}

.hero {
  background: linear-gradient(135deg, #f3f4ff, #e0f2fe);
  border-radius: 18px;
  padding: 28px 24px 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
  margin-bottom: 28px;
}

.hero-kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #0369a1;
  margin-bottom: 6px;
}

.hero h1 {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 15px;
  max-width: 640px;
  color: #374151;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.06s ease, background-color 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.4);
  background: #020617;
}

.btn-ghost {
  background: rgba(255,255,255,0.95);
  color: #111827;
  border-color: #e5e7eb;
}

.btn-ghost:hover {
  background: #f9fafb;
  border-color: #cbd5f5;
}

.btn span {
  margin-left: 6px;
  font-size: 16px;
}

.hero-meta {
  margin-top: 16px;
  font-size: 13px;
  color: #4b5563;
}

.hero-meta strong { font-weight: 600; }

/* Layout blocks */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 24px;
  margin-bottom: 32px;
}

.section {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 20px 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.03);
  margin-bottom: 24px;
}

.section h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 4px;
}

.pill-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.pill {
  background: #f9fafb;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
}

.pill-emoji { font-size: 16px; }

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 14px;
  font-size: 14px;
}

.benefit-list li::before {
  content: "\2714";
  display: inline-block;
  margin-right: 6px;
  font-size: 13px;
  color: #16a34a;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-size: 14px;
}

.process-list li {
  margin-bottom: 6px;
}

.process-step {
  font-weight: 600;
  color: #111827;
  margin-right: 4px;
}

.card-muted {
  background: #f9fafb;
  border-radius: 12px;
  padding: 12px 12px 10px;
  border: 1px dashed #e5e7eb;
  font-size: 13px;
  color: #4b5563;
  margin-top: 10px;
}

/* Login & form */
.login-card {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 16px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.6);
}

.login-card h2 {
  color: #f9fafb;
  margin-bottom: 6px;
}

.login-card p {
  color: #cbd5f5;
  font-size: 13px;
  margin-bottom: 10px;
}

.login-meta {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 10px;
}

.login-meta strong { color: #e5e7eb; }

.login-card .btn-primary {
  background: #22c55e;
  color: #022c22;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.45);
}

.login-card .btn-primary:hover {
  background: #16a34a;
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.6);
}

.form-card h2 {
  margin-bottom: 4px;
}

form.partner-form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  font-size: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.form-label span {
  margin-right: 4px;
}

.form-input,
.form-textarea {
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
  background: #ffffff;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
  background: #f9fafb;
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

.form-help {
  font-size: 12px;
  color: #6b7280;
}

.form-actions {
  grid-column: 1 / -1;
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.form-note {
  font-size: 12px;
  color: #6b7280;
}

/* Testimonial & FAQ */
.testimonial {
  font-size: 14px;
  font-style: italic;
  color: #374151;
  border-left: 3px solid #e5e7eb;
  padding-left: 12px;
  margin-top: 10px;
}

.testimonial strong {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 13px;
  color: #111827;
}

.faq-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.faq-item + .faq-item { margin-top: 10px; }

.faq-q {
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}

.faq-a { color: #4b5563; }

/* Bottom CTA */
.bottom-cta {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}

.bottom-cta strong { font-weight: 700; }

.bottom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 800px) {
  main { padding-top: 104px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  form.partner-form { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 22px 18px 18px; }
}
