* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f7fb;
  color: #111;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 24px 0;
}

.site-header h1 {
  margin: 0;
  font-size: 2rem;
}

.site-header p {
  margin: 8px 0 16px;
  color: #555;
}

.site-header nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header nav a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
}

.hero {
  padding: 32px 0 16px;
}

.panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  margin: 20px 0;
}

.offers-grid,
.features-grid {
  display: grid;
  gap: 12px;
}

.offers-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.offer-btn {
  border: 1px solid #d1d5db;
  background: #fafafa;
  padding: 16px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
}

.offer-btn.active {
  border-color: #111;
  background: #eef2ff;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  background: #fafafa;
}

.feature-item span {
  flex: 1;
}

.summary .price-box {
  margin-top: 16px;
  padding: 18px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary .price-box strong {
  font-size: 2rem;
}

.note {
  color: #666;
  margin-top: 12px;
}

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

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

.full-width {
  grid-column: 1 / -1;
}

.submit-btn {
  margin-top: 20px;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.compact-hero {
  display: grid;
  gap: 20px;
}

.hero-copy h2 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.proof-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proof-card span {
  color: #666;
  font-size: 0.95rem;
}

.offer-title {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.offer-desc {
  display: block;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
}

.niche-cat-grid,
.niche-options-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.niche-cat-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.niche-options-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.niche-cat-btn,
.niche-option-btn {
  border: 1px solid #d1d5db;
  background: #fafafa;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}

.niche-cat-btn.active,
.niche-option-btn.active {
  border-color: #111;
  background: #eef2ff;
}

.hidden {
  display: none;
}

.other-niche-wrap {
  margin-top: 16px;
}

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

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

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

.full-width {
  grid-column: 1 / -1;
}

.submit-btn {
  margin-top: 20px;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.secondary-link {
  margin-top: 14px;
  color: #666;
  font-size: 0.95rem;
}

.secondary-link a {
  color: #222;
  font-weight: 600;
}

.subtle-panel {
  background: #fcfcfd;
}

@media (min-width: 900px) {
  .compact-hero {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
}

.form-status {
  margin-top: 14px;
  font-size: 0.95rem;
  color: #555;
}

.form-status.success {
  color: #0a7a35;
  font-weight: 600;
}

.form-status.error {
  color: #b42318;
  font-weight: 600;
}
