/* Inner pages use the same navigation, surfaces and type as the homepage. */
.cloud-subpage::before,
.cloud-subpage::after { display: none; }

.cloud-subpage .nav-cta {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit !important;
  box-shadow: none;
}

.cloud-subpage .nav-cta::after { content: none; }
.cloud-subpage .nav-links [aria-current="page"] { color: var(--accent); }
.cloud-subpage main :is(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 4px;
}

.cloud-subpage .subpage-hero,
.cloud-subpage .legal-hero,
.cloud-subpage .section,
.cloud-subpage .legal-document,
.cloud-subpage .hosting-main {
  width: min(calc(100% - 2 * clamp(22px, 4vw, 48px)), 1064px);
}

.cloud-subpage .subpage-hero,
.cloud-subpage .legal-hero { padding-block: clamp(42px, 6vw, 78px) 28px; }
.cloud-subpage .link-card {
  border-color: var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: none;
}
.cloud-subpage .link-card::before { content: none; }
.cloud-subpage main .button-primary::after { content: none; }
.cloud-subpage .hosting-config > div,
.cloud-subpage .hosting-table-scroll { border-radius: 16px; }
.cloud-subpage .hosting-config,
.cloud-subpage .hosting-category { scroll-margin-top: 88px; }
.cloud-subpage .footer-brand .brand-lockup { width: min(210px, 100%); }

.pricing-intro {
  padding-block: clamp(48px, 6vw, 80px) 30px;
  background: radial-gradient(ellipse at 50% 0%, #e9edfb, transparent 76%);
}

.pricing-page .pricing-title {
  max-width: 24ch;
  margin: 0 auto 16px;
}

.pricing-page .pricing-intro .sec-lead { max-width: 66ch; }
.pricing-intro .hero-cta { margin-top: 25px; }
.pricing-intro .btn {
  justify-content: center;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}
.pricing-options { padding-block: 22px 52px; }

.pricing-page .price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  margin: 0;
}

.pricing-page .plan { min-height: 0; }
.pricing-page .plan h2 {
  margin: 10px 0 8px;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.pricing-page .plan .desc { margin: 0 0 18px; }
.pricing-page .plan li::before {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin-top: .55em;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}
.pricing-page .plan .btn {
  text-align: center;
  white-space: normal;
}

.pricing-rate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  min-height: 44px;
  margin: 0 0 18px;
  color: var(--nw-type-muted);
  font-size: .875rem;
}
.pricing-rate[hidden] { display: none; }
.pricing-rate strong {
  color: var(--text);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}

.pricing-page #plans,
.pricing-page #comparison { scroll-margin-top: 88px; }
.pricing-comparison { padding-block: 0 52px; }
.pricing-comparison .sec-title { margin-bottom: 18px; }
.pricing-table {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.pricing-table table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  text-align: left;
  font-size: .9375rem;
}
.pricing-table :is(th, td) {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.pricing-table th { font-weight: 600; }
.pricing-table thead { background: var(--bg-2); }
.pricing-table thead th { width: 26%; }
.pricing-table thead th:first-child { width: 22%; }
.pricing-table tbody td { color: var(--text-2); }
.pricing-table tbody tr:last-child > * { border-bottom: 0; }
.pricing-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 18px;
}
.pricing-resources a {
  color: #3545a4;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.pricing-help { padding-block: 0 60px; }
.pricing-help .final-card { text-align: left; padding: clamp(22px, 4vw, 36px); }
.pricing-help .final-card .sec-title { max-width: none; margin: 0 0 10px; }
.pricing-help .hero-cta { justify-content: flex-start; margin-top: 18px; }
.pricing-help .btn { white-space: normal; }

@media (max-width: 850px) {
  .pricing-page .price-grid { grid-template-columns: 1fr; }
  .pricing-rate { min-height: 0; }
}

@media (max-width: 380px) {
  .cloud-subpage .nav-inner { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.cloud-subpage) { scroll-behavior: auto; }
}
