:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: #17211d;
  background: #f6f8f5;
  --green: #123f31;
  --lime: #bdf34b;
  --line: #dce3dd;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
footer {
  max-width: 1240px;
  margin: auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.brand > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--lime);
  font-weight: 900;
}
.brand strong {
  display: grid;
}
.brand small {
  font-weight: 500;
  color: #6d7771;
}
nav {
  display: flex;
  gap: 20px;
}
nav a {
  color: #435049;
  text-decoration: none;
  font-weight: 650;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 30px 28px 70px;
}
.hero {
  text-align: center;
  max-width: 760px;
  margin: 30px auto 48px;
}
.hero small,
.plans article > small {
  color: #3d745e;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  margin: 14px 0;
}
.hero p {
  color: #647069;
  font-size: 18px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.plans article {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 27px;
  box-shadow: 0 10px 35px #193f2b0b;
}
.plans article.featured {
  border: 2px solid #81b82c;
  transform: translateY(-10px);
}
.plans em {
  position: absolute;
  right: 18px;
  top: 17px;
  font-size: 10px;
  background: var(--lime);
  padding: 6px 9px;
  border-radius: 999px;
  font-style: normal;
  font-weight: 900;
}
.plans h2 {
  font-size: 28px;
  margin: 12px 0;
}
.price {
  display: flex;
  align-items: end;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.price b {
  font-size: 34px;
}
.price span {
  color: #6c756f;
  margin-bottom: 5px;
}
.plans ul {
  list-style: none;
  padding: 14px 0;
  margin: 0;
  min-height: 190px;
}
.plans li {
  padding: 8px 0;
}
.plans li:before {
  content: "✓";
  color: #6a9e25;
  font-weight: 900;
  margin-right: 8px;
}
.plans button,
.plans article > a {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}
.featured button {
  background: var(--lime);
  color: #163124;
}
.details {
  margin-top: 60px;
  background: var(--green);
  color: #fff;
  border-radius: 22px;
  padding: 36px;
}
.details h2 {
  margin-top: 0;
}
.details > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.details p {
  color: #cfddd6;
  line-height: 1.6;
}
.details strong {
  color: #fff;
}
footer {
  border-top: 1px solid var(--line);
  font-size: 14px;
}
#toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #173f32;
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.2s;
  pointer-events: none;
}
#toast.show {
  opacity: 1;
  transform: none;
}
@media (max-width: 950px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans article.featured {
    transform: none;
  }
  .details > div {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  header nav {
    display: none;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plans ul {
    min-height: 0;
  }
  footer {
    align-items: flex-start;
    gap: 20px;
  }
  footer nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}

.plans article {
  display: flex;
  flex-direction: column;
}
.plans ul {
  flex: 1;
}
.plans article > a.bank-transfer {
  margin-top: 12px;
  background: #eef7e6;
  color: var(--green);
  border: 1px solid #c7dfb0;
  line-height: 1.5;
  font-size: 14px;
}
.bank-transfer small {
  display: block;
  font-weight: 500;
}
.transfer-note {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid #c7dfb0;
  border-radius: 18px;
  background: #eef7e6;
}
.transfer-note strong {
  color: var(--green);
  font-size: 20px;
}
.transfer-note p {
  margin-bottom: 0;
  color: #435049;
  line-height: 1.6;
}
