:root {
  --max-width: 1100px;
  --text: #171717;
  --muted: #666;
  --background: #fff;
  --border: #e5e5e5;
  --accent: #2563eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.page {
  padding: 160px 0;
}

.page h1 {
  margin-top: 0;
}

.page h2 {
  margin-top: 48px;
}

/* Navigation */

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

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

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

/* Hero */

.hero {
  padding: 100px 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

.hero-text {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 550px;
}

.hero img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.button {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  text-decoration: none;
}

/* Sections */

.section {
  padding: 80px 0;
}

.section h2 {
  font-size: 2rem;
  margin-top: 0;
}

/* Footer */

footer {
  margin-top: 80px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

footer a {
  color: inherit;
}

/* Mobile */

@media (max-width: 700px) {
  .hero {
    padding: 60px 0;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .section {
    padding: 60px 0;
  }

  footer .container {
    flex-direction: column;
  }
}
