:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #eef2ff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --border: #dbe2ea;
  --success: #047857;
  --danger: #b91c1c;
}

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

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(700px, 100%);
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--primary);
}

.hero {
  background: linear-gradient(140deg, #1e3a8a, #1d4ed8 55%, #2563eb);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
}

.hero-content {
  max-width: 760px;
}

.hero h1 {
  margin: 0.4rem 0 1rem;
  line-height: 1.15;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.hero-text {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: var(--surface-alt);
}

h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

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

.card,
.panel,
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

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

.stat-label {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.stat-value {
  margin: 0.35rem 0 0;
  font-size: 2rem;
  font-weight: 800;
}

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

.form-row {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  margin-bottom: 0.32rem;
  font-weight: 600;
  color: var(--text);
}

input,
select {
  width: 100%;
  border: 1px solid #b8c3d4;
  border-radius: 8px;
  padding: 0.62rem 0.7rem;
  font: inherit;
  background: #fff;
}

input:focus,
select:focus {
  outline: 2px solid rgba(37, 99, 235, 0.25);
  border-color: var(--primary);
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff;
  color: #0f172a;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #e2e8f0;
}

.estimate {
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--muted);
}

.form-message {
  min-height: 1.3rem;
  margin: 0.8rem 0 0;
  font-weight: 600;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--danger);
}

.sponsorship-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tier-card.tier-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.tier-name {
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.25rem;
}

.tier-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.contact-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-block h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.contact-link {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible {
  text-decoration: underline;
}

.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem 0;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

@media (max-width: 700px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

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