 :root {
  --blue: #172970;
  --link: #243b8f;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--blue);
  font-family: "Nunito", Arial, sans-serif;
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 78px;
}

.logo {
  width: 92px;
  height: auto;
  display: block;
}

.nav {
  margin-top: 105px;
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 22px;
}

.nav a,
.contact a {
  color: var(--link);
  text-decoration: none;
}

.nav a:hover,
.contact a:hover {
  text-decoration: underline;
}

.hero {
  text-align: center;
  padding: 165px 20px 160px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 8vw, 112px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero p {
  margin: 55px 0 0;
  font-size: clamp(28px, 2vw, 36px);
  letter-spacing: 0.02em;
}

.screens {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  align-items: start;
}

.screens img {
  width: 100%;
  max-width: 430px;
  display: block;
  border: 2px solid #111;
}

.contact {
  text-align: center;
  padding: 110px 20px 70px;
}

.contact h2 {
  margin: 0 0 70px;
  font-size: clamp(32px, 3vw, 52px);
  line-height: 1.35;
  font-weight: 400;
}

.contact a {
  font-size: clamp(22px, 2vw, 30px);
}

footer {
  text-align: center;
  padding: 55px 20px 35px;
  font-size: 24px;
}

footer p { margin: 0; }

@media (max-width: 850px) {
  .site-header { padding-top: 36px; }
  .nav { margin-top: 55px; gap: 18px; font-size: 18px; }
  .hero { padding: 90px 20px; }
  .screens { max-width: 430px; padding: 0 24px; }
  .contact { padding-top: 70px; }
}
