/* ==========================================================================
   BuildBlock — VPS price table
   ========================================================================== */

.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  vertical-align: middle;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Hero ---------- */

.pt-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 4%, rgba(47, 91, 255, .15), transparent 30%),
    radial-gradient(circle at 3% 100%, rgba(201, 255, 74, .2), transparent 26%),
    var(--paper);
}
.pt-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 15, 19, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 15, 19, .035) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 94%);
  content: "";
  pointer-events: none;
}
.pt-hero__inner {
  position: relative;
  padding: clamp(58px, 7.5vw, 104px) 0 clamp(46px, 6vw, 72px);
}
.pt-hero h1 {
  max-width: 16ch;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.6vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -.048em;
  line-height: .9;
}
.pt-hero h1 em {
  color: var(--blue);
  font-style: italic;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-size: 100% .12em;
  background-position: 0 91%;
}
.pt-hero__lede {
  max-width: 72ch;
  color: var(--muted);
  font-size: clamp(.96rem, 1.2vw, 1.06rem);
  line-height: 1.74;
}
.pt-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.pt-hero__stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 46px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}
.pt-hero__stats > div {
  min-width: 148px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}
.pt-hero__stats > div:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.pt-hero__stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1;
}
.pt-hero__stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ---------- Disclosure ---------- */

.pt-disclosure {
  padding: 13px 0;
  border-bottom: 1px solid rgba(15, 15, 19, .18);
  background: var(--lime);
  color: var(--ink);
  font-size: .66rem;
  line-height: 1.65;
}
.pt-disclosure p { max-width: 118ch; }
.pt-disclosure strong { font-weight: 800; }

/* ---------- Layout ---------- */

.pt-index { padding: clamp(40px, 5.5vw, 64px) 0 clamp(54px, 7vw, 84px); background: var(--paper-2); }

.pt-bands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pt-bands > div {
  padding: 13px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.pt-bands strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1;
}
.pt-bands span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pt-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

/* ---------- Provider sidebar ---------- */

.pt-side {
  position: sticky;
  top: 84px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  overflow: hidden;
}
.pt-side__head {
  padding: 14px 15px 11px;
  border-bottom: 1px solid var(--line);
}
.pt-side__head h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.pt-side__head h2 span {
  color: var(--muted);
  font-size: .52rem;
  letter-spacing: .04em;
}
.pt-side__head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .58rem;
  line-height: 1.4;
}
.pt-side__list {
  max-height: min(62vh, 640px);
  padding: 5px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.pt-side__item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.pt-side__item:hover { background: var(--paper-2); color: var(--ink); }
.pt-side__item[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pt-side__item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-side__item em {
  flex: 0 0 auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(15, 15, 19, .07);
  font-size: .5rem;
  font-style: normal;
  font-weight: 800;
}
.pt-side__item[aria-pressed="true"] em { background: rgba(255, 255, 255, .16); }

/* ---------- Filters ---------- */

.pt-main { min-width: 0; }

.pt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.pt-chips button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.pt-chips button span {
  display: inline-grid;
  min-width: 19px;
  height: 17px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: rgba(15, 15, 19, .07);
  color: inherit;
  font-size: .48rem;
  font-weight: 800;
}
.pt-chips button:hover { border-color: var(--ink); color: var(--ink); }
.pt-chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pt-chips button[aria-pressed="true"] span { background: rgba(255, 255, 255, .14); }

.pt-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}
.pt-search { flex: 1 1 250px; }
.pt-search label,
.pt-control label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .51rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.pt-search input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: none;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .75rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pt-search input::placeholder { color: #8c867b; }
.pt-search input:focus,
.pt-control select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 91, 255, .11);
}
.pt-controls { display: flex; flex: 0 1 auto; gap: 8px; }
.pt-control select {
  min-width: 118px;
  padding: 10px 28px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: none;
  background-color: var(--paper-2);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) 53%, calc(100% - 9px) 53%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .68rem;
  appearance: none;
  cursor: pointer;
}

.pt-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2px 9px;
}
.pt-meta p { color: var(--muted); font-size: .62rem; font-weight: 700; }
.pt-meta button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  cursor: pointer;
}
.pt-meta button:hover { border-color: var(--ink); color: var(--ink); }

.pt-hint { display: none; margin-bottom: 8px; color: var(--muted); font-size: .6rem; font-weight: 700; }
.pt-hint span { color: var(--blue); }

/* ---------- Table ---------- */

.pt-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
.pt-table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
}
.pt-table th,
.pt-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}
.pt-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--ink);
  color: var(--paper);
  font-size: .49rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pt-table tbody tr:last-child td { border-bottom: 0; }
.pt-table tbody tr:hover { background: var(--paper-2); }
.pt-table tbody tr[hidden] { display: none; }

/* Keep the buy action visible while the middle columns scroll. */
.pt-table th:last-child,
.pt-table td:last-child {
  position: sticky;
  right: 0;
  background: var(--white);
  border-left: 1px solid var(--line-soft);
  box-shadow: -10px 0 14px -12px rgba(15, 15, 19, .35);
}
.pt-table thead th:last-child { background: var(--ink); }
.pt-table tbody tr:hover td:last-child { background: var(--paper-2); }
.pt-table tbody tr[hidden] td:last-child { display: none; }

.pt-provider { min-width: 112px; }
.pt-provider__name {
  display: block;
  color: var(--ink);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.pt-provider small { display: block; margin-top: 2px; color: var(--muted); font-size: .5rem; line-height: 1.35; }

.pt-plan { min-width: 148px; }
.pt-plan strong { display: block; color: var(--ink); font-size: .7rem; font-weight: 700; line-height: 1.35; }
.pt-plan small { display: block; margin-top: 2px; color: var(--muted); font-size: .52rem; line-height: 1.35; }

.pt-loc { min-width: 128px; }
.pt-loc span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: .62rem;
  font-weight: 600;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pt-loc small { display: block; margin-top: 2px; color: var(--muted); font-size: .52rem; line-height: 1.35; }

.pt-num { color: var(--ink); font-size: .66rem; font-weight: 700; white-space: nowrap; }
.pt-disk, .pt-io { color: var(--muted); font-size: .6rem; line-height: 1.45; }

.pt-price { min-width: 88px; white-space: nowrap; }
.pt-price strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.1;
}
.pt-price strong span { color: var(--muted); font-family: var(--sans); font-size: .52rem; font-weight: 700; }
.pt-price small { display: block; margin-top: 2px; color: var(--muted); font-size: .5rem; line-height: 1.35; }

.pt-status { min-width: 92px; }
.pt-badge {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pt-badge--in { border-color: #b7d99a; background: #eef8e2; color: #3f651d; }
.pt-badge--out { border-color: #e8b4aa; background: #fbece9; color: #8b3123; }
.pt-badge--delisted { border-color: var(--line); background: var(--paper); color: var(--muted); }
.pt-badge--unknown { border-color: #d9cfa9; background: #faf5df; color: #6d5a17; }
.pt-status small { display: block; margin-top: 3px; color: var(--muted); font-size: .48rem; line-height: 1.3; }

.pt-link a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: .52rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.pt-link a:hover { background: var(--ink); color: var(--paper); }

.pt-empty {
  margin-top: 16px;
  padding: 28px 22px;
  border: 1px dashed var(--line);
  border-radius: 9px;
  background: var(--white);
  text-align: center;
}
.pt-empty strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.pt-empty p { margin-top: 6px; color: var(--muted); font-size: .72rem; }

.pt-note { max-width: 104ch; margin-top: 16px; color: var(--muted); font-size: .62rem; line-height: 1.7; }

/* ---------- Method ---------- */

.pt-method { padding: clamp(54px, 7vw, 88px) 0; background: var(--paper); }
.pt-method__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  align-items: end;
  gap: clamp(24px, 6vw, 70px);
  margin-bottom: 32px;
}
.pt-method__top .section-title { max-width: 13ch; margin-bottom: 0; }
.pt-method__top > p { color: var(--muted); font-size: .85rem; line-height: 1.7; }
.pt-method__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pt-method__grid article {
  padding: clamp(22px, 2.6vw, 30px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.pt-method__grid span { color: var(--blue); font-size: .52rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.pt-method__grid h3 { margin: 26px 0 8px; font-family: var(--serif); font-size: 1.4rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.pt-method__grid p { max-width: 40ch; color: var(--muted); font-size: .76rem; line-height: 1.65; }

/* ---------- CTA ---------- */

.pt-cta {
  padding: clamp(62px, 8vw, 100px) 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(201, 255, 74, .16), transparent 26%),
    var(--blue);
  color: #fff;
}
.pt-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.pt-cta h2 {
  max-width: 15ch;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .96;
}
.pt-cta h2 em { color: var(--lime); font-style: italic; }
.pt-cta p:not(.kicker) { max-width: 52ch; color: rgba(255, 255, 255, .82); font-size: .86rem; line-height: 1.7; }
.pt-cta__actions { display: flex; width: min(100%, 280px); flex-direction: column; gap: 10px; justify-self: end; }
.pt-cta__actions .btn { width: 100%; }
.pt-cta__ghost { border-color: rgba(255, 255, 255, .38); color: #fff; }
.pt-cta__ghost:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .pt-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .pt-toolbar { flex-wrap: wrap; }
  .pt-controls { flex: 1 1 100%; flex-wrap: wrap; }
  .pt-control { flex: 1 1 150px; }
  .pt-control select { width: 100%; min-width: 0; }
}

@media (max-width: 980px) {
  .pt-layout { grid-template-columns: 1fr; }
  .pt-side { position: static; }
  .pt-side__list {
    display: flex;
    max-height: none;
    padding: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
  }
  .pt-side__item { width: auto; flex: 0 0 auto; gap: 7px; white-space: nowrap; }
  .pt-side__item span { max-width: 150px; }
  .pt-side__head p { display: none; }
  .pt-method__top { grid-template-columns: 1fr; gap: 16px; }
  .pt-method__grid { grid-template-columns: 1fr; }
  .pt-cta__inner { grid-template-columns: 1fr; }
  .pt-cta__actions { width: min(100%, 340px); justify-self: start; }
}

@media (max-width: 700px) {
  .pt-hero__inner { padding-top: 44px; }
  .pt-hero h1 { font-size: clamp(2.8rem, 12.4vw, 4.4rem); margin-bottom: 20px; }
  .pt-hero__lede { font-size: .92rem; }
  .pt-hero__actions { align-items: stretch; flex-direction: column; margin-top: 25px; }
  .pt-hero__actions .btn { width: 100%; }
  .pt-hero__stats { margin-top: 34px; gap: 16px 0; }
  .pt-hero__stats > div { width: 50%; min-width: 0; padding-right: 14px; margin-right: 0; border-right: 0; }
  .pt-bands { grid-template-columns: repeat(2, 1fr); }
  .pt-hint { display: block; }
  .pt-toolbar { padding: 13px; }
  .pt-search { flex-basis: 100%; }
  .pt-control { flex: 1 1 100%; }
  .pt-chips { gap: 6px; }
  .pt-chips button { min-height: 34px; padding: 6px 11px; }
}
