* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1f2933;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.7;
  background: #f8fafc;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6%;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(12px);
}

.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #52616b;
}

.nav a:hover {
  color: #0f766e;
}

.hero {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 67px);
  padding: 80px 6%;
  background:
    linear-gradient(rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.58)),
    url("../images/hero-workspace.svg") center/cover;
  color: #ffffff;
}

.hero__content {
  max-width: 760px;
}

.label {
  margin: 0 0 12px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .label,
.cta .label {
  color: #7dd3c7;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.15;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.4;
}

.hero__text {
  max-width: 680px;
  margin-bottom: 32px;
  color: #e5eef4;
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #ffffff;
  background: #0f766e;
}

.button--primary:hover {
  background: #115e59;
}

.button--secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.section {
  padding: 96px 6%;
  background: #ffffff;
}

.section--muted {
  background: #eef4f3;
}

.section__head {
  max-width: 720px;
  margin-bottom: 42px;
}

.section__head p:last-child {
  color: #52616b;
}

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

.card,
.flow__item {
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
}

.card__number,
.flow__item span {
  display: inline-block;
  margin-bottom: 18px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
}

.card p,
.flow__item p {
  margin-bottom: 0;
  color: #52616b;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cta {
  padding: 96px 6%;
  color: #ffffff;
  background: #12343b;
}

.cta__inner {
  max-width: 760px;
}

.cta p {
  max-width: 620px;
  color: #d9e6e8;
}

.cta .button {
  margin-top: 16px;
}

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

  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 5%;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
  }

  .hero,
  .section,
  .cta {
    padding-right: 5%;
    padding-left: 5%;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section,
  .cta {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero__text {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }
}
