:root {
  --bg: #ffffff;
  --section-bg: #f3f4f6;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #1f3a5f;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(31,58,95,0.06), transparent 40%),
    radial-gradient(800px 400px at 90% 10%, rgba(31,58,95,0.04), transparent 40%),
    var(--bg);
  line-height: 1.6;
}

p { margin: 0 0 16px 0; }
h1, h2, h3 { line-height: 1.3; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
}

.container.narrow {
  max-width: 820px;
}

/* HERO */
.hero {
  position: relative;
  background: var(--section-bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
}

.hero-description {
  max-width: 560px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
}

.hero-graphic {
  max-width: 360px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.35;
}

/* BUTTONS */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 500;
}

.btn-secondary {
  border: 1px solid var(--border);
  padding: 12px 20px;
  text-decoration: none;
  color: var(--text);
}

/* SECTIONS */
.section {
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(180deg, #f3f4f6 0%, #ffffff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--accent);
  margin-top: 12px;
}

/* GRID BACKGROUND */
.grid-bg {
  background-image:
    linear-gradient(to right, rgba(31,58,95,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,58,95,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.card-icon {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  margin-bottom: 16px;
}

.card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

/* SURFACE */
.surface {
  background: #fff;
  border: 1px solid var(--border);
  padding: 40px;
}

/* STEPS */
.steps {
  padding-left: 20px;
}

.steps li {
  margin-bottom: 24px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--text);
}

.muted { color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-graphic {
    display: none;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
