:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --text: #1e293b;
  --muted: #64748b;
  --light-muted: #94a3b8;
  --bg: #ffffff;
  --section-bg: #f8fafc;
  --card-bg: #f8fafc;
  --border: #e2e8f0;
  --success: #16a34a;
  --error: #dc2626;
  --font: 'Roboto', sans-serif;
  --max-width: 960px;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--primary);
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 16px 0;
}

nav .container {
  display: flex;
  align-items: center;
}

.wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.wordmark span {
  color: var(--primary);
}

/* Sections */
section {
  padding: 64px 0;
}

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

/* Hero */
.hero {
  text-align: center;
  padding: 96px 0 64px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* Insight Cards */
.insight-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}

.insight-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 40px;
  text-align: center;
  flex: 1;
  max-width: 320px;
}

.insight-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.insight-card .price.good {
  color: var(--primary);
}

.insight-card .price.bad {
  color: var(--error);
}

.insight-card .label {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
}

.insight-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat .label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

/* Text Section */
.text-section {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.text-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.text-section p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* Capabilities */
.capabilities {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.capability {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.capability .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* Segment Grid */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.segment-grid h2 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.segment-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

section.alt .segment-card {
  background: var(--bg);
}

.segment-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.segment-card .badge {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--border);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.segment-card p {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

/* Contact Form */
.contact-form {
  max-width: 480px;
  margin: 0 auto;
}

.contact-form h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form .subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

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

.btn-submit {
  width: 100%;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-submit:hover {
  background: var(--primary-hover);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  margin-top: 16px;
  text-align: center;
  font-size: 0.875rem;
}

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

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

.form-success {
  text-align: center;
  padding: 32px 0;
}

.form-success h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* Footer */
footer {
  text-align: center;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--light-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 64px 0 48px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero .subtitle {
    font-size: 1.0625rem;
  }

  .insight-cards {
    flex-direction: column;
    align-items: center;
  }

  .insight-card {
    max-width: 100%;
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .segment-grid {
    grid-template-columns: 1fr;
  }

  .capabilities {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
