/* 2xN — Hosting plans page (loads after styles.css) */

/* ===========================================================
   HERO — centered, "includes" chips
   =========================================================== */
.host-hero__inner {
  position: relative;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  padding-block: 72px 96px;
}
.host-hero__inner .eyebrow { margin-bottom: 20px; }
.host-hero__h1 {
  font-size: clamp(44px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: #fff;
}
.host-hero__h1 .amplified { color: var(--purple); }
.host-hero__deck {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-on-dark-muted);
  max-width: 60ch;
  margin: 0 auto 8px;
  text-wrap: pretty;
}

/* included-in-every-plan chip row */
.host-includes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.host-includes__break { flex-basis: 100%; height: 0; }
.host-includes__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}
.host-includes__chip::before {
  content: "";
  width: 17px; height: 17px; flex-shrink: 0;
  border-radius: 50%;
  background:
    no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"),
    var(--purple);
}

/* ===========================================================
   BILLING TOGGLE — global segmented control
   =========================================================== */
.host-billing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
}
.host-toggle {
  position: relative;
  display: inline-flex;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--icon-tile);
  border: 1px solid var(--border-light);
}
.host-toggle__thumb {
  position: absolute;
  top: 5px; left: 5px;
  height: calc(100% - 10px);
  width: calc(50% - 5px);
  border-radius: var(--radius-pill);
  background: var(--purple);
  box-shadow: 0 6px 16px -6px rgba(126, 34, 206, 0.6);
  transition: transform 260ms cubic-bezier(.4, 0, .2, 1);
}
.host-toggle[data-billing="monthly"] .host-toggle__thumb { transform: translateX(100%); }
.host-toggle__btn {
  position: relative;
  z-index: 1;
  min-width: 128px;
  padding: 11px 22px;
  border: none;
  background: transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-on-light-muted);
  transition: color 220ms ease;
}
.host-toggle__btn.is-active { color: #fff; }
.host-billing__note {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--purple-deep);
  min-height: 18px;
}
.section--dark .host-billing__note { color: var(--purple-bright); }

/* ===========================================================
   PLAN CARDS
   =========================================================== */
.host-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}
.host-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 38px 34px;
  border-radius: var(--radius-lg);
  background: var(--card-light);
  border: 1px solid var(--border-light);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.host-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -28px rgba(63, 28, 112, 0.30);
}
.host-plan--featured { border-color: var(--purple); }
.host-plan__badge {
  position: absolute;
  top: -13px; left: 38px;
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--purple);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.host-plan__num {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--purple);
  margin: 0 0 14px;
}
.host-plan__name {
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1;
  margin: 0 0 10px;
  color: var(--text-on-light);
}
.host-plan__tagline {
  font-size: 14.5px; line-height: 1.6;
  color: var(--text-on-light-muted);
  margin: 0 0 26px;
}
.host-plan__rule {
  height: 1px;
  background: var(--border-light);
  margin: 0 0 24px;
}
.host-plan__label {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--purple-deep);
  margin: 0 0 16px;
}
.host-plan__list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.host-plan__list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-on-light);
}
.host-plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    no-repeat center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"),
    var(--purple);
}

/* price block — pinned so both cards line up */
.host-plan__price-wrap { margin-top: auto; }
.host-plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.host-plan__amount {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-on-light);
  font-variant-numeric: tabular-nums;
}
.host-plan__per {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-on-light-muted);
}
.host-plan__save {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-deep);
  margin: 12px 0 0;
  min-height: 20px;
}
.host-plan__for {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-on-light-muted);
  margin: 18px 0 22px;
}
.host-plan__cta {
  width: 100%;
  justify-content: center;
}
.host-plan__foot {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--text-on-light-muted);
  margin: 16px 0 0;
}
.host-plans__legal {
  text-align: center;
  font-size: 13px;
  color: var(--text-on-light-muted);
  margin: 40px 0 0;
}

@media (max-width: 820px) {
  .host-plans { grid-template-columns: 1fr; gap: 20px; }
}
