:root {
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --ink: #0f172a;
  --muted: #64748b;
  --accent: #38bdf8;
  --accent-dark: #0ea5e9;
  --border: #e2e8f0;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.25rem; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--accent);
  font-weight: 800;
}
.links { display: flex; gap: 28px; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; transition: color .15s; }
.links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 96px 0 72px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--accent-dark); margin: 0 0 16px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin: 0 0 20px; letter-spacing: -.02em; }
.accent { color: var(--accent-dark); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.18); }
.btn-ghost { border-color: var(--border); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--bg-alt); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 1.9rem; margin: 0 0 36px; letter-spacing: -.01em; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.08); }
.card-icon { font-size: 1.6rem; color: var(--accent-dark); margin-bottom: 12px; }
.card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

.stats > div { display: flex; flex-direction: column; gap: 6px; }
.stat { font-size: 2rem; font-weight: 800; color: var(--ink); }
.stats span:last-child { color: var(--muted); font-size: .95rem; }

/* Contact form */
.contact-form { display: grid; gap: 18px; margin-top: 28px; text-align: left; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: var(--bg);
  color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56,189,248,.18); }
.contact-form button { justify-self: start; }

/* Footer */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 56px 0 32px; }
.site-footer .brand { color: #fff; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; align-items: center; }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copyright { text-align: center; color: #94a3b8; font-size: .85rem; margin: 32px 0 0; }

@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .links { gap: 18px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
}
