*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: #12211c;
  background: #dfe8e1;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  line-height: 1.45;
}

::selection {
  background: #c8f54a;
  color: #102018;
}

main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 1.25rem 1rem 3.5rem;
}

.offer {
  display: grid;
  gap: 1.75rem;
  min-height: calc(100svh - 2.5rem);
  padding: 1.75rem 1.15rem 1.9rem;
  background: #0b3d36;
  color: #eef6f1;
  box-shadow: 0 18px 40px rgba(11, 33, 28, 0.28);
}

.offer__copy {
  display: grid;
  align-content: start;
  gap: 1rem;
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 8vw, 4.35rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.offer__lead {
  margin: 0;
  max-width: 38ch;
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #c5ddd5;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  width: 100%;
  max-width: 22rem;
  padding: 0.85rem 1.4rem;
  align-self: end;
  background: #c8f54a;
  color: #102018;
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(8, 28, 24, 0.28);
  transition: background 180ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cta:hover {
  background: #d7ff6a;
  transform: translateY(-1px);
}

.cta:focus-visible {
  outline: 3px solid #f4ffc4;
  outline-offset: 4px;
}

.advantages {
  margin-top: 2.75rem;
}

h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.45rem, 4vw, 2rem);
  letter-spacing: -0.02em;
}

.rail {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 6px solid #0b3d36;
}

.rail li {
  padding: 1.35rem 0 1.5rem;
  border-bottom: 1px solid #9fb5ab;
}

.rail h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.rail p {
  margin: 0;
  max-width: 52ch;
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 1rem;
  color: #2a3f38;
}

@media (min-width: 800px) {
  main {
    padding: 1.75rem 1.5rem 4.5rem;
  }

  .offer {
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.7fr);
    grid-template-rows: 1fr auto;
    min-height: calc(100vh - 3.5rem);
    padding: 2.75rem 2.5rem 2.25rem;
    column-gap: 2.5rem;
  }

  .offer__copy {
    grid-column: 1;
    grid-row: 1 / -1;
    align-content: center;
    gap: 1.35rem;
  }

  .cta {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    justify-self: stretch;
  }

  .offer__lead {
    font-size: 1.15rem;
  }

  .rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 1.75rem;
    border-top: 6px solid #0b3d36;
  }

  .rail li {
    padding: 1.6rem 0 0;
    border-bottom: 0;
  }
}
