/* New home page packages section, "Website packages, priced upfront." (redesign, Nov 2026).
   Markup comes from acrox/local/patches/apply_home_redesign.py.
   Every rule is scoped to .acx-packs so the old theme CSS is not affected. */
.acx-packs {
  --packs-orange: #ff9800;
  --packs-mute: rgba(0, 0, 0, 0.62);
  --packs-line: rgba(0, 0, 0, 0.14);
  background: #f2f2f2;
  color: #000;
  font:
    400 17px/1.6 Outfit,
    system-ui,
    sans-serif;
  padding: clamp(64px, 9vw, 128px) 0;
}
.acx-packs__wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.acx-packs__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.acx-packs .acx-packs__head h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #000;
}
.acx-packs .acx-packs__head p {
  max-width: 520px;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--packs-mute);
}

/* One rounded table, four packages side by side, hairlines between them. */
.acx-packs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--packs-line);
  border-radius: 28px;
  background: var(--packs-line);
}
.acx-packs__grid article {
  padding: 32px 28px 36px;
  background: #f2f2f2;
}
.acx-packs .acx-packs__grid h3 {
  margin: 0;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #000;
}
.acx-packs .acx-packs__price {
  margin: 44px 0 22px;
  font-weight: 600;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #000;
}
.acx-packs__price small {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--packs-mute);
}
.acx-packs .acx-packs__grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.acx-packs .acx-packs__grid li {
  margin: 0;
  padding: 9px 0;
  border-top: 1px solid var(--packs-line);
  font-size: 15px;
  line-height: 1.6;
  color: var(--packs-mute);
  list-style: none;
}

/* Black pill button with an orange arrow disc, centred under the table. */
.acx-packs a.acx-packs__btn {
  display: flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  height: 60px;
  margin: 44px auto 0;
  padding: 0 8px 0 30px;
  border-radius: 70px;
  background: #000;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
}
.acx-packs__btn i {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--packs-orange);
  transition: transform 0.2s;
}
.acx-packs__btn i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 9px;
  height: 9px;
  margin: auto;
  border: solid #000;
  border-width: 2px 2px 0 0;
  transform: translateX(-2px) rotate(45deg);
}
.acx-packs__btn:hover i {
  transform: translateX(3px);
}
.acx-packs a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

/* Tablet: heading and text stack, packages go two by two. */
@media (max-width: 1024px) {
  .acx-packs__head {
    grid-template-columns: 1fr;
  }
  .acx-packs__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Phone: one package per row. */
@media (max-width: 640px) {
  .acx-packs {
    font-size: 16px;
  }
  .acx-packs__grid {
    grid-template-columns: 1fr;
  }
  .acx-packs .acx-packs__price {
    margin: 20px 0 16px;
  }
  .acx-packs a.acx-packs__btn {
    height: 54px;
  }
  .acx-packs__btn i {
    width: 40px;
    height: 40px;
  }
}
