* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #090c11;
  color: #f5f7fa;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

header {
  border-bottom: 1px solid #27313d;
  background: #090c11;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span,
h1 span {
  color: #69e0b0;
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  color: #a8b1be;
  font-size: 13px;
}

nav a:hover {
  color: #fff;
}

.page {
  padding: 75px 0 100px;
}

.back {
  display: inline-block;
  margin-bottom: 50px;
  color: #a8b1be;
  font-size: 13px;
}

.back:hover {
  color: #69e0b0;
}

.eyebrow {
  color: #69e0b0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -3px;
  margin: 0 0 25px;
}

.intro {
  max-width: 750px;
  color: #a8b1be;
  font-size: 18px;
  margin-bottom: 55px;
}

/* PLANES */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #10151d;
  border: 1px solid #27313d;
  border-radius: 13px;
  padding: 28px;
}

.plan.featured {
  border-color: #69e0b0;
  background: #101a17;
}

.tag {
  position: absolute;
  top: 0;
  right: 20px;
  transform: translateY(-50%);
  padding: 5px 10px;
  background: #69e0b0;
  color: #06110d;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .7px;
}

.plan-name {
  color: #69e0b0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 17px;
}

.price {
  font-size: 39px;
  font-weight: 800;
  letter-spacing: -2px;
}

.price small {
  font-size: 14px;
  font-weight: 400;
  color: #8d98a5;
  letter-spacing: 0;
}

.plan-description {
  min-height: 75px;
  color: #a8b1be;
  font-size: 13px;
  margin: 12px 0 25px;
}

.plan-section {
  border-top: 1px solid #27313d;
  padding-top: 20px;
}

.plan-section h3 {
  font-size: 13px;
  margin-bottom: 10px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan li {
  padding: 8px 0;
  color: #dce2e9;
  font-size: 12px;
  border-bottom: 1px solid #ffffff08;
}

.plan li::before {
  content: "✓";
  color: #69e0b0;
  margin-right: 9px;
}

.plan-button {
  margin-top: auto;
  padding: 12px;
  text-align: center;
  background: #69e0b0;
  color: #06110d;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

.note {
  margin-top: 25px;
  padding: 25px 28px;
  border: 1px solid #27313d;
  border-radius: 12px;
  background: #0d1218;
}

.note strong {
  font-size: 15px;
}

.note p {
  color: #a8b1be;
  font-size: 13px;
  margin: 8px 0 10px;
}

.note a {
  color: #69e0b0;
  font-size: 12px;
  font-weight: 700;
}

/* FOOTER */

footer {
  border-top: 1px solid #27313d;
  padding: 28px 0;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  color: #687381;
  font-size: 11px;
}

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

  .plan-description {
    min-height: auto;
  }

  .plan {
    max-width: 650px;
    width: 100%;
    margin: auto;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 28px);
  }

  .nav {
    min-height: 68px;
  }

  nav {
    gap: 15px;
  }

  nav a {
    font-size: 11px;
  }

  .page {
    padding: 55px 0 75px;
  }

  .back {
    margin-bottom: 40px;
  }

  h1 {
    letter-spacing: -2px;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}
