:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --panel: #ffffff;
  --ink: #172033;
  --muted: #5b6475;
  --line: #d8dde8;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --green: #047857;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
}

.hero {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(64px, 11vw, 136px) clamp(18px, 5vw, 40px) clamp(48px, 8vw, 92px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
}

.hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
}

.button.secondary {
  color: var(--accent-dark);
  background: transparent;
}

.section {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 78px) clamp(18px, 5vw, 40px);
}

.muted {
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

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

article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

article h3 {
  margin-bottom: 12px;
}

article p,
.muted p {
  color: var(--muted);
}

.project-footer {
  padding: 0 clamp(22px, 5vw, 72px) 38px;
}

.project-footer p {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.project-footer a {
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .actions,
  .button {
    width: 100%;
  }
}
