:root {
  --c-primary: #1246d6;
  --c-primary-dark: #0e37a8;
  --c-primary-light: #ebf2ff;
  --c-accent: #f97316;
  --c-accent-hover: #ea6d0c;
  --c-text: #1a202c;
  --c-text-muted: #64748b;
  --c-border: #e2e8f0;
  --c-bg: #ffffff;
  --c-bg-alt: #f8fafc;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,.12);
  --max-w: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
}
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 4rem 0; }

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text);
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--c-text-muted);
  max-width: 560px;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .section-subtitle { margin: 0.5rem auto 0; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: var(--c-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8em 1.6em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.18s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--c-accent-hover); text-decoration: none; color: #fff; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--c-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8em 1.6em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.18s;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--c-primary-dark); text-decoration: none; color: #fff; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--c-primary);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75em 1.5em;
  border-radius: var(--radius);
  border: 2px solid var(--c-primary);
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--c-primary); color: #fff; text-decoration: none; }

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header-logo {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--c-primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-logo:hover { text-decoration: none; }
.header-logo span { color: var(--c-accent); }
nav { display: flex; align-items: center; gap: 0.25rem; flex: 1; }
nav a {
  color: var(--c-text);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.4em 0.7em;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
nav a:hover { background: var(--c-bg-alt); color: var(--c-primary); text-decoration: none; }
.header-cta { margin-left: auto; flex-shrink: 0; }

/* ── Footer ── */
footer {
  background: #1a202c;
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
  font-size: 0.9375rem;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.footer-brand .logo span { color: var(--c-accent); }
.footer-brand p { color: #94a3b8; line-height: 1.7; max-width: 260px; }
.footer-brand a { color: #94a3b8; }
.footer-brand a:hover { color: #fff; }
.footer-col h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: #94a3b8; transition: color 0.15s; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #64748b;
  font-size: 0.875rem;
}
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: #94a3b8; text-decoration: none; }
.footer-bottom-links { display: flex; gap: 1.25rem; }

/* ── CTA section ── */
.cta {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  text-align: center;
}
.cta .section-title { color: #fff; }
.cta .section-subtitle { color: rgba(255,255,255,.82); margin: 0 auto 2rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  nav a:not(.nav-key) { display: none; }
  .section-title { font-size: 1.5rem; }
  section { padding: 2.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom-links { flex-wrap: wrap; }
}
