@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #f7f7f5;
  --surface: #ecece8;
  --text: #171717;
  --muted: #666661;
  --line: #d8d8d2;
  --accent: #315bff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.nav,
.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.brand span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover,
.email:hover {
  color: var(--accent);
}

.hero {
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-inner {
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -.055em;
  line-height: 1.05;
}

h1 {
  max-width: 850px;
  font-size: clamp(52px, 8vw, 92px);
}

h1 span {
  color: var(--muted);
}

.lead {
  max-width: 570px;
  margin: 32px 0 36px;
  color: var(--muted);
  font-size: 18px;
}

.button {
  display: inline-block;
  padding: 13px 20px;
  border: 1px solid var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: .2s ease;
}

.button:hover {
  background: var(--text);
  color: var(--bg);
}

.section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-muted {
  background: var(--surface);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

h2 {
  max-width: 470px;
  font-size: clamp(38px, 5vw, 58px);
}

.text {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
}

.text p {
  margin: 0 0 22px;
}

.contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.email {
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -.04em;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1080px);
  }

  nav {
    gap: 14px;
  }

  .hero {
    min-height: 520px;
  }

  .grid,
  .contact {
    grid-template-columns: 1fr;
    display: grid;
    gap: 36px;
  }

  .section {
    padding: 80px 0;
  }

  .footer-inner {
    min-height: 64px;
  }
}
