:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --text: #1f2421;
  --muted: #5c6460;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #e3ecfd;
  --line: #e6e1d9;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Space Grotesk",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 18ch;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}
h3 {
  font-size: 1.5rem;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
nav a:not(.btn):hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--accent);
  transition:
    background 0.2s,
    color 0.2s;
}
.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
}
.btn-ghost:hover {
  background: var(--accent);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.btn-light:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* Hero */
.hero {
  padding: 110px 0 100px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 16px;
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 55ch;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Services */
.services {
  padding: 90px 0;
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.card p {
  color: var(--muted);
  margin: 0 0 16px;
}
.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 0.95rem;
}
.card li {
  margin-bottom: 4px;
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  margin-bottom: 20px;
}
.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* About */
.about {
  padding: 90px 0;
}
.about-inner {
  max-width: 760px;
  text-align: center;
}
.about p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* Contact */
.contact {
  padding: 90px 0;
  background: var(--accent);
  color: #fff;
  text-align: center;
}
.contact p {
  opacity: 0.85;
  margin: 0 0 28px;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.site-footer p {
  margin: 0;
}

@media (max-width: 600px) {
  nav {
    gap: 14px;
  }
  nav a:not(.btn) {
    display: none;
  }
  .hero {
    padding: 70px 0 60px;
  }
  .services,
  .about,
  .contact {
    padding: 64px 0;
  }
}
