/* Base */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #f3f6ff;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #6b7280;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
  color: #374151;
}

.site-nav a:hover {
  color: #111827;
}

/* Hero */

.hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(135deg, #e4ecff 0%, #f7fbff 40%, #ffffff 100%);
}

.hero-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  align-items: flex-start;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #2563eb;
  font-weight: 600;
}

.hero h1 {
  font-size: 2rem;
  margin: 0.5rem 0 0.75rem;
}

.hero-body {
  margin: 0 0 1.5rem;
  color: #4b5563;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  font-size: 0.8rem;
  color: #6b7280;
  max-width: 32rem;
}

/* Hero side panel */

.hero-panel {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.15);
}

.hero-panel-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.pill-live {
  background: #dcfce7;
  color: #166534;
}

.hero-panel-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-panel-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: #4b5563;
}

.hero-panel-list li + li {
  margin-top: 0.25rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-ghost {
  background: #ffffff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.btn-ghost:hover {
  background: #eff6ff;
}

.btn-secondary {
  background: #ecfdf3;
  color: #166534;
  border-color: #bbf7d0;
}

.btn-secondary:hover {
  background: #dcfce7;
}

.full-width {
  width: 100%;
}

/* Sections */

.section {
  padding: 2.75rem 0;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
}

.section-intro {
  margin: 0 0 1.75rem;
  color: #4b5563;
  max-width: 40rem;
}

/* Kits grid */

.section-kits {
  background: #f3f6ff;
}

.kits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.kit-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kit-badge {
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.kit-title {
  font-size: 1rem;
  margin: 0.25rem 0;
}

.kit-price {
  font-weight: 700;
  margin: 0;
}

.kit-description {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.kit-actions {
  margin-top: auto;
}

/* Sample section */

.section-sample {
  background: #ffffff;
}

.sample-box {
  background: #f9fafb;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.sample-box h3 {
  margin-top: 0;
}

.sample-box ol {
  padding-left: 1.2rem;
  margin-bottom: 0.75rem;
}

.sample-note {
  font-size: 0.85rem;
  color: #6b7280;
}

/* How it works */

.section-how {
  background: #f3f6ff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.step-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* FAQ */

.section-faq {
  background: #ffffff;
}

.faq-item + .faq-item {
  margin-top: 1.25rem;
}

.faq-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: #4b5563;
}

.section-faq a {
  color: #1d4ed8;
}

/* Footer */

.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-disclaimer {
  max-width: 42rem;
}

/* Generate page */

.generate-body {
  background: #e5edff;
}

.generate-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.generate-container {
  padding: 2.5rem 1.5rem;
}

.generate-card {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

.generate-card h1 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.5rem;
}

.generate-subtitle {
  margin: 0 0 1.4rem;
  color: #4b5563;
}

.generate-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid #bfdbfe;
  border-color: #60a5fa;
}

.generate-hint,
.generate-support {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.generate-support a {
  color: #2563eb;
}

/* Responsive */

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .site-nav {
    flex-wrap: wrap;
  }
}
