:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f5f7f9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: #17685f;
}

.page {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 24px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

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

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: center;
  min-height: 72vh;
}

.hero h1,
.content h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.02;
}

.lead {
  max-width: 680px;
  margin: 0 0 24px;
  color: #4f5f70;
  font-size: 18px;
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #17685f;
  border-radius: 8px;
  padding: 0 16px;
  background: #17685f;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: #ffffff;
  color: #17685f;
}

.preview {
  border: 1px solid #d5dee7;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 18px 48px rgba(31, 45, 61, 0.12);
}

.phone {
  aspect-ratio: 9 / 16;
  border: 10px solid #172033;
  border-radius: 28px;
  padding: 18px;
  background: #f8fbfc;
}

.phone-status {
  height: 96px;
  border-radius: 8px;
  background: #dcefed;
  color: #174f48;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.phone-row {
  height: 48px;
  margin-top: 12px;
  border: 1px solid #d7dee7;
  border-radius: 8px;
  background: #ffffff;
}

.sections,
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.section,
.card,
.content {
  border: 1px solid #d7dee7;
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
}

.section h2,
.card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.section p,
.card p,
.content p,
.content li {
  color: #4f5f70;
  line-height: 1.6;
}

.content {
  max-width: 820px;
}

.footer {
  border-top: 1px solid #d7dee7;
  margin-top: 48px;
  padding-top: 20px;
  color: #647386;
}

@media (max-width: 760px) {
  .hero,
  .sections,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
