/* Managed VPS page. Shared tokens and components live in landing.css. */

.lp section[id] { scroll-margin-top: 80px; }

/* Hero: a work order where every job is ours */

.lp .w-ticket-wrap { margin-top: 12px; }
.lp .w-ticket { --zz: 14px; padding: 26px 26px calc(22px + var(--zz)); }

.lp .w-ticket-head {
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--rule);
  text-align: center;
}

.lp .w-ticket-head strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 1;
}

.lp .w-ticket-head span { font-size: 0.85rem; color: var(--mute); }

.lp .w-ticket-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 2px dashed var(--rule);
}

.lp .w-ticket-meta dt { font-size: 0.75rem; color: var(--mute); }
.lp .w-ticket-meta dd { font-size: 0.95rem; font-weight: 700; }

.lp .w-ticket-jobs { padding-top: 6px; }

.lp .w-ticket-jobs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 0.92rem;
}

.lp .w-ticket-jobs li:last-child { border-bottom: 0; }

/* A rubber "done" stamp beside each job */
.lp .w-done {
  flex: none;
  padding: 2px 8px 0;
  border: 1.5px solid var(--good);
  border-radius: 4px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.15;
  color: #5e8f2c;
  transform: rotate(-6deg);
}

/* Choosing the server: plan rows and the order summary */

.lp .w-cfg {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.lp .w-plans-list { display: grid; gap: 12px; }

.lp .w-prow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 20px;
  padding: 18px 22px;
  padding-inline-start: 58px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow 0.2s;
}

/* The radio mark */
.lp .w-prow::before {
  content: '';
  position: absolute;
  top: 22px;
  inset-inline-start: 22px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--rule);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lp .w-prow:hover { box-shadow: 0 0 0 2px var(--rose); color: var(--ink); }
.lp .w-prow.is-on { box-shadow: 0 0 0 2px var(--magenta), 0 20px 34px -20px rgba(180, 46, 109, 0.55); }
.lp .w-prow.is-on::before { border-color: var(--magenta); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 12px var(--magenta); }

/* The whole row is the radio button */
.lp .w-pick {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
}

.lp .w-pick:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }

.lp .w-prow-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
}

.lp .w-prow-badge {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 3px 9px 2px;
  border-radius: 999px;
  background: var(--magenta);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  vertical-align: middle;
}

.lp .w-prow-for { grid-column: 1; font-size: 0.9rem; color: var(--mute); }

.lp .w-prow-specs {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1;
  gap: 6px;
  margin-top: 6px;
}

.lp .w-prow-specs span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blush);
  font-size: 0.8rem;
  font-weight: 600;
}

.lp .w-prow-price {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-items: baseline;
  justify-content: flex-end;
  max-width: 130px;
}

.lp .w-prow-price b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.1rem;
  line-height: 0.85;
  transition: color 0.2s;
}

.lp .w-prow.is-on .w-prow-price b { color: var(--magenta); }

.lp .w-prow-price .w-cur { align-self: flex-start; margin-top: 4px; font-size: 1.1rem; vertical-align: 0; }
.lp .w-prow-price small { flex-basis: 100%; font-size: 0.78rem; color: var(--mute); text-align: left; }

/* On phones the chosen row gets its own order button */
.lp .w-prow-order { display: none; }

.lp .w-prow.is-custom {
  padding-inline-start: 22px;
  box-shadow: none;
  border: 2px dashed var(--rule);
}

.lp .w-prow.is-custom::before { display: none; }
.lp .w-prow.is-custom:hover { border-color: var(--magenta); }
.lp .w-prow.is-custom .w-prow-price small { font-size: 0.95rem; font-weight: 700; color: var(--magenta); }

/* The order summary, printed */
.lp .w-cfg-receipt { --zz: 14px; padding: 26px 26px calc(24px + var(--zz)); }

.lp .w-cfg-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--ink);
}

.lp .w-cfg-head strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
}

.lp .w-cfg-head span { font-weight: 700; color: var(--magenta); }

.lp .w-meters {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 2px dashed var(--rule);
}

.lp .w-meter {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.lp .w-meter-label { color: var(--mute); }

.lp .w-meter-bar {
  height: 10px;
  border-radius: 5px;
  background: var(--blush);
  overflow: hidden;
}

/* --v is the share of the bar this plan fills (0 to 1) */
.lp .w-meter-bar i {
  display: block;
  width: calc(var(--v) * 100%);
  height: 100%;
  border-radius: 5px;
  background: var(--magenta);
  transition: width 0.55s cubic-bezier(0.3, 1.3, 0.5, 1);
}

.lp .w-meter-val { min-width: 96px; font-weight: 700; text-align: left; white-space: nowrap; }

.lp .w-cfg-receipt .w-receipt-items { padding-top: 10px; }
.lp .w-order { width: 100%; margin-top: 18px; }

.lp .w-cfg-alt { margin-top: 12px; font-size: 0.88rem; color: var(--mute); text-align: center; }
.lp .w-cfg-alt a { font-weight: 700; color: var(--magenta); }

/* What is inside the server: an equipment label */

.lp .w-label-wrap { max-width: 760px; margin: 0 auto; }
.lp .w-label { --zz: 14px; padding: 28px 32px calc(26px + var(--zz)); }

.lp .w-label-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--ink);
}

.lp .w-label-head strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
}

.lp .w-label-head span { font-size: 0.9rem; color: var(--mute); }

.lp .w-label-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}

.lp .w-label-specs div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--rule);
}

.lp .w-label-specs dt { flex: none; min-width: 64px; font-size: 0.85rem; color: var(--mute); }
.lp .w-label-specs dd { font-weight: 700; }

/* Responsive */

@media (max-width: 900px) {
  .lp .w-ticket-wrap { width: min(100%, 440px); margin-inline: auto; }

  .lp .w-cfg { grid-template-columns: minmax(0, 1fr); }
  .lp .w-cfg-side { width: min(100%, 480px); margin: 0 auto; }

  .lp .w-prow.is-on .w-prow-order {
    display: inline-flex;
    position: relative;
    z-index: 2;
    grid-column: 1 / -1;
    margin-top: 12px;
  }

  .lp .w-label-specs { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .lp .w-prow { padding: 16px; padding-inline-start: 48px; }
  .lp .w-prow::before { top: 18px; inset-inline-start: 16px; }
  .lp .w-prow-name { font-size: 1.8rem; }
  .lp .w-prow-price b { font-size: 2.5rem; }
  .lp .w-label { padding: 22px 20px calc(22px + var(--zz)); }
  .lp .w-label-head { flex-direction: column; gap: 4px; }
}
