:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #667085;
  --line: #d9e1ec;
  --accent: #2563eb;
  --accent-soft: #e6efff;
  --shadow: 0 18px 50px rgba(31, 41, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(230, 239, 255, 0.8), rgba(245, 247, 251, 0) 34rem),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  border-bottom: 1px solid rgba(217, 225, 236, 0.78);
  background: rgba(245, 247, 251, 0.82);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1080px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 750;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

main {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 84px 0 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 72px;
}

.panel {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel-label {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.panel h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.site-footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero {
    padding: 58px 0 40px;
  }

  h1 {
    font-size: 3.35rem;
  }

  .lead {
    font-size: 1.04rem;
  }

  .grid {
    grid-template-columns: 1fr;
    padding-bottom: 52px;
  }

  .panel {
    min-height: 210px;
  }
}

