/* VPS page – layout only, components come from site.css */

/* HERO: copy left, price panel right */
.vps-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: center; }
@media (min-width: 992px) {
  /* Header (~108px) + hero = one screen, same cap as the homepage */
  .vps-hero { display: flex; align-items: center; min-height: calc(min(100svh, 980px) - 108px); padding: 40px 0 24px; }
  .vps-hero + .section--sub { padding-top: 40px; }   /* next section's label shows on the first scroll */
}
.vps-hero__price { padding: 40px; border-radius: var(--radius-card); background: var(--g-card); }
.vps-hero__from { color: var(--c-accent); font-size: 12px; letter-spacing: 0.38em; text-transform: uppercase; }
.vps-hero__amount { color: var(--c-accent); font-size: var(--fs-price); font-weight: 700; line-height: 1.1; }
.vps-hero__period { font-size: 14px; color: var(--c-text-3); }
.vps-hero__facts { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--c-divider); font-weight: 500; }
.vps-hero__facts li + li { margin-top: 6px; }

/* PLANS: reuse .plan from site.css */
.vps-plans { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 88px 32px; margin-top: 72px; padding-bottom: 26px; }
.vps-plans .plan__features { padding-left: 0; }
.vps-plans .plan__features li { padding-left: 40px; }                       /* icon inside the line box … */
.vps-plans .plan__features li::before { right: auto; left: 0; }            /* … so icon + text centre together */
.vps-plans .plan__features .is-soon { opacity: .7; }
.vps-plans__tag {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  padding: 11px calc(26px - 0.2em) 11px 26px; line-height: 1.2;   /* right pad minus the trailing letter-spacing */
  border: 1px solid var(--c-purple); border-radius: var(--radius-pill);
  background: var(--c-purple); color: var(--c-white);
  font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap;
}
.vps-note { margin-top: 40px; color: var(--c-text); font-size: 14px; line-height: 1.7; text-align: center; }   /* same size as the notes on / and /hosting/ */

/* Shared asymmetric split */
.vps-split { display: grid; gap: 48px 80px; align-items: start; }
.vps-split--specs { grid-template-columns: 360px minmax(0, 1fr); }
.vps-split--os { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }   /* both columns start at the top */
.vps-split__lead { max-width: 440px; margin-top: 20px; color: var(--c-text-2); }
@media (min-width: 601px) { .vps-split--specs .spec-table { min-width: 560px; } }
.vps-split--specs .spec-table tbody th { font-weight: 400; }
.vps-table__price td { color: var(--c-accent); font-size: 18px; font-weight: 700; }   /* same as the /hosting/ table */
.vps-split--specs .spec-table tfoot td { border-bottom: 0; padding-block: 24px; }
.vps-table__btn { height: 44px; padding: 0 26px; font-size: 15px; background: var(--c-purple); color: var(--c-white); }
.vps-table__btn:hover { background: var(--c-purple-hover); }
#specs, #specs + .section--sub, #why, #why + .section--sub { padding-top: 220px; }   /* more air around compare and why */
@media (max-width: 991px) { #specs, #specs + .section--sub, #why, #why + .section--sub { padding-top: 120px; } }

/* OS chips */
.vps-os { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.vps-os li { padding: 8px 20px; border: 1px solid var(--c-mint-line); border-radius: var(--radius-pill); color: var(--c-accent); font-weight: 500; }

.vps-code {
  margin: 0; padding: 24px 28px; overflow-x: auto;
  border-radius: var(--radius-plan); background: var(--c-code-bg); border: 1px solid var(--c-code-line);
  font: 16px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.vps-code__prompt { color: var(--c-accent); }
.vps-tools { margin: 32px 0 0; }
.vps-tools div { padding: 18px 0; border-bottom: 1px solid var(--c-divider); }
.vps-tools div:last-child { border-bottom: 0; }
.vps-tools dt { color: var(--c-accent); font-size: 18px; font-weight: 700; }
.vps-tools dd { margin: 4px 0 0; color: var(--c-text-2); }

/* WHY: three benefits side by side under a centred title */
.vps-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 112px 0 0; padding: 0; list-style: none; text-align: center; }
.vps-why li { display: flex; flex-direction: column; align-items: center; }
.vps-why__icon { width: auto; height: 52px; }
.vps-why h3 { margin-top: 24px; font-size: 20px; line-height: 1.4; }
.vps-why p { max-width: 340px; margin-top: 10px; }
@media (max-width: 991px) { .vps-why { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 48px; } }
.vps-why p { color: var(--c-text-2); }
.vps-why a, .faq-item__a a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }

.vps-faq { margin-top: 72px; }

/* CTA band – same look as the homepage banner */
.vps-cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 32px;
  padding: 72px 56px; border-radius: var(--radius-panel);
  background: linear-gradient(238.62deg, #063B27 1.598%, #BEF3DF 73.098%);
  color: var(--c-ink);
}
.vps-cta__title { font-size: var(--fs-h2); font-weight: 700; line-height: 1.22; }
.vps-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.vps-cta__link { font-weight: 700; }
.vps-cta__link u { text-underline-offset: 4px; }   /* only "Contact us" is underlined */
.vps-cta .btn--dark:focus-visible, .vps-cta__link:focus-visible { outline-color: var(--c-bg); }

@media (max-width: 1279px) {
  .vps-split--specs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 991px) {
  .vps-hero__grid, .vps-split--os { grid-template-columns: minmax(0, 1fr); }
  .vps-hero__price { max-width: 400px; }
  .vps-faq { margin-top: 48px; }
  .faq-item__q { font-size: 18px; line-height: 1.6; }
  .vps-cta { padding: 48px 28px; }
}
@media (max-width: 600px) {
  .vps-plans .plan { width: 100%; }
}

@media (max-width: 600px) {
  .vps-plans { margin-top: 40px; }                             /* 10 */
  .vps-cta { padding-bottom: 28px; gap: 18px; }
}

@media (max-width: 1279px) { .vps-plans .plan--featured { margin-top: 22px; } }   /* same optical gap above the tag as under the card */
