/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #eef3f7;
  color: #1f2937;
  line-height: 1.6;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  background: #f8fbfd;
  border-bottom: 1px solid #d9e3ec;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: #0f172a;
  letter-spacing: 0.2px;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #475569;
  font-size: 0.95rem;
}

nav a:hover {
  color: #0284c7;
}

/* ===== SECTIONS ===== */
.section {
  padding: 84px 0;
  background: transparent;
}

.section.muted {
  background: #e7eef4;
}

/* ===== SPLIT LAYOUT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ===== HERO ===== */
.hero {
  padding: 90px 0 70px;
  background: linear-gradient(180deg, #f8fbfd 0%, #eef3f7 100%);
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #dff3ff;
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 18px;
  max-width: 700px;
}

.hero p {
  max-width: 760px;
  font-size: 1.08rem;
  color: #475569;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  color: #0f172a;
  margin-bottom: 14px;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  color: #475569;
  margin-bottom: 14px;
}

ul {
  margin-left: 20px;
  color: #475569;
}

li {
  margin-bottom: 8px;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.18);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.24);
}

.button.secondary {
  background: #ffffff;
  color: #0369a1;
  border: 1px solid #cbd5e1;
}

.button.secondary:hover {
  background: #f8fafc;
}

/* ===== CARDS ===== */
.card {
  background: #fdfefe;
  border: 1px solid #d9e3ec;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.card.soft {
  background: #f8fbfd;
}

.card h3 {
  margin-bottom: 10px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* ===== FEATURE BOXES ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.feature-box {
  background: #ffffff;
  border: 1px solid #d9e3ec;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.feature-box .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: #dff3ff;
  color: #0369a1;
  font-weight: 700;
}

.feature-box h3 {
  margin-bottom: 10px;
}

/* ===== SECTION HEADERS ===== */
.section-intro {
  max-width: 760px;
  margin-bottom: 20px;
}

/* ===== CTA BLOCK ===== */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cta-panel {
  background: #ffffff;
  border: 1px solid #d9e3ec;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.cta-panel p:last-of-type {
  margin-bottom: 18px;
}

.microcopy {
  margin-top: 12px;
  font-size: 0.88rem;
  color: #64748b;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #dbe7ef;
  border-top: 1px solid #c8d6e2;
  padding: 30px 0 20px;
  color: #334155;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: start;
}

.site-footer strong {
  color: #0f172a;
}

.site-footer a {
  color: #0369a1;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-note {
  margin-top: 18px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #475569;
}

/* ===== FORMS / LEGACY CARD SUPPORT ===== */
.form-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 18px;
  border: 1px solid #d9e3ec;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .split,
  .cta-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .section,
  .hero {
    padding: 64px 0;
  }

  .nav-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  nav a {
    margin-left: 0;
    margin-right: 14px;
  }

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

  .container {
    padding: 0 18px;
  }
}