* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: #f1f3f5;
  color: #1f2933;
  line-height: 1.7;
  overflow-x: hidden;
}

/* HEADER */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 8%;
  border-bottom: 1px solid #d9dde1;
  background: rgba(241, 243, 245, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

nav a {
  color: #4b5661;
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
}

nav a:hover {
  color: #111;
}

/* HERO */

.hero {
  position: relative;
  padding: 140px 8% 120px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.08;
  font-weight: normal;
  max-width: 820px;
  margin-bottom: 28px;
}

.hero p {
  font-size: 22px;
  color: #5f6a75;
  max-width: 760px;
  margin-bottom: 42px;
}

/* FLOATING DOMAINS */

.domain-bg span {
  position: absolute;
  color: rgba(70, 80, 92, 0.09);
  font-size: 42px;
  user-select: none;
  animation: float 18s linear infinite;
  white-space: nowrap;
}

.domain-bg span:nth-child(1) {
  top: 10%;
  left: 8%;
  animation-duration: 20s;
}

.domain-bg span:nth-child(2) {
  top: 18%;
  right: 10%;
  animation-duration: 24s;
}

.domain-bg span:nth-child(3) {
  top: 50%;
  left: 12%;
  animation-duration: 22s;
}

.domain-bg span:nth-child(4) {
  top: 60%;
  right: 14%;
  animation-duration: 26s;
}

.domain-bg span:nth-child(5) {
  top: 75%;
  left: 24%;
  animation-duration: 18s;
}

.domain-bg span:nth-child(6) {
  top: 35%;
  right: 26%;
  animation-duration: 28s;
}

.domain-bg span:nth-child(7) {
  top: 82%;
  right: 36%;
  animation-duration: 20s;
}

.domain-bg span:nth-child(8) {
  top: 6%;
  right: 42%;
  animation-duration: 30s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* BUTTONS */

.hero-buttons {
  display: flex;
  gap: 14px;
}

.btn,
button {
  background: #232c35;
  color: white;
  padding: 14px 24px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  transition: 0.25s ease;
}

.btn:hover,
button:hover {
  background: #38424c;
  transform: translateY(-2px);
}

.secondary {
  background: transparent;
  color: #1f2933;
  border: 1px solid #b7bcc2;
}

.secondary:hover {
  background: #e8ebee;
}

/* ABOUT */

.about {
  padding: 20px 8% 90px;
  max-width: 980px;
}

.about h2 {
  font-size: 44px;
  font-weight: normal;
  margin-bottom: 24px;
}

.about p {
  font-size: 18px;
  color: #5f6a75;
  margin-bottom: 18px;
}

/* INTRO */

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 10px 8% 90px;
}

.intro div {
  border-top: 1px solid #d6dbe0;
  padding-top: 18px;
}

.intro h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: normal;
}

.intro p {
  color: #66717c;
}

/* SPLIT */

.split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  padding: 90px 8%;
  border-top: 1px solid #e2e5e8;
}

.split:nth-of-type(even) {
  background: #f7f8fa;
}

.label {
  display: block;
  color: #8a9097;
  margin-bottom: 12px;
  font-size: 14px;
}

.split h2,
.process h2,
.note h2,
.contact h2 {
  font-size: 46px;
  line-height: 1.15;
  font-weight: normal;
}

.split p {
  font-size: 18px;
  color: #5f6a75;
}

/* PROCESS */

.process {
  padding: 100px 8%;
  background: #f8f9fb;
}

.process h2 {
  margin-bottom: 46px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.steps div {
  border-top: 1px solid #d6dbe0;
  padding-top: 18px;
}

.steps span {
  display: block;
  color: #8a9097;
  margin-bottom: 12px;
}

.steps h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: normal;
}

.steps p {
  color: #66717c;
}

/* NOTE */

.note {
  padding: 90px 8%;
  max-width: 980px;
}

.note h2 {
  margin-bottom: 28px;
}

.note p {
  font-size: 18px;
  color: #5f6a75;
  margin-bottom: 18px;
}

/* POLICIES */

.policies {
  padding: 90px 8%;
  background: #e9edf1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.policy-block {
  border-top: 1px solid #cfd4d9;
  padding-top: 18px;
}

.policy-block h3 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: normal;
}

.policy-block p {
  color: #66717c;
  font-size: 15px;
}

/* CONTACT */

.contact {
  padding: 100px 8%;
  background: #f8f9fb;
}

.contact h2 {
  margin-bottom: 30px;
}

form {
  max-width: 760px;
  display: grid;
  gap: 16px;
}

input,
select,
textarea {
  padding: 17px;
  border: 1px solid #cfd4d9;
  background: white;
  font-size: 16px;
  font-family: inherit;
  border-radius: 4px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

#formMessage {
  margin-top: 20px;
  font-weight: bold;
}

/* FOOTER */

footer {
  padding: 50px 8%;
  border-top: 1px solid #d9dde1;
  background: #f1f3f5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 34px;
  margin-bottom: 30px;
}

footer strong {
  display: block;
  margin-bottom: 10px;
  font-weight: normal;
}

footer p {
  font-size: 14px;
  color: #66717c;
}

.small {
  font-size: 13px;
  color: #8a9097;
}

/* MOBILE */

@media (max-width: 900px) {

  .header {
    flex-direction: column;
    gap: 18px;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    margin: 8px;
  }

  .hero {
    padding-top: 110px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro,
  .split,
  .steps,
  .policies,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split h2,
  .process h2,
  .note h2,
  .contact h2,
  .about h2 {
    font-size: 36px;
  }

  .domain-bg span {
    font-size: 26px;
  }
}