.hosting-plans { width: 100%; text-align: left; }
.hosting-billing { border: 0; inline-size: fit-content; max-inline-size: 100%; min-inline-size: 0; margin: 24px auto 32px; padding: 0; }
.hosting-billing-options {
  --track-padding: 4px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: var(--track-padding);
  overflow: hidden;
  border: 1px solid var(--control-border);
  border-radius: 24px;
  corner-shape: squircle;
  background-color: var(--control-bg);
  transition: var(--theme-transition);
}
.hosting-billing-indicator {
  position: absolute;
  inset: var(--track-padding) auto var(--track-padding) var(--track-padding);
  width: calc(50% - var(--track-padding));
  z-index: -1;
  border-radius: 20px;
  pointer-events: none;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 85%, #231432), color-mix(in srgb, var(--brand2) 85%, #231432));
  translate: 0;
  transition: translate .48s cubic-bezier(.3, .8, .25, 1);
}
.hosting-billing-options:has(input[value="yearly"]:checked) .hosting-billing-indicator { translate: 100%; }
.hosting-billing label { position: relative; cursor: pointer; min-width: 0; }
.hosting-billing input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hosting-billing label span {
  display: block;
  padding: 10px clamp(12px, 3vw, 24px);
  border-radius: 20px;
  color: var(--text-main);
  font-weight: 600;
  text-align: center;
  transition: color .25s ease;
}
.hosting-billing input:checked + span { color: #fff; }
.hosting-billing input:focus-visible + span { outline: 2px solid currentColor; outline-offset: -3px; }
@media (forced-colors: active) {
  .hosting-billing input:checked + span { outline: 2px solid Highlight; outline-offset: -3px; }
}
.hosting-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hosting-card { padding: 30px 24px; border: 2px solid var(--card-border); border-radius: 24px; display: flex; flex-direction: column; min-width: 0; }
.hosting-card h3 { font-size: 1.6rem; margin: 0 0 8px; }
#home-core-title { font-size: 1.85rem; }
.hosting-prices { margin: 20px 0 6px; font-variant-numeric: tabular-nums; }
.hosting-price { color: var(--text-main); font-size: 1.8rem; line-height: 1.25; }
.hosting-gross { margin-top: 5px; color: var(--text-muted); font-size: .85rem; }
.hosting-gross-amount { font-weight: 600; white-space: nowrap; }
.hosting-gross-label { white-space: nowrap; }
.hosting-period { color: var(--text-muted); font-size: .9rem; font-weight: 400; white-space: nowrap; }
.plan-price-reel { position: relative; display: inline-grid; overflow: hidden; overflow: clip; white-space: nowrap; }
.plan-price-outgoing { position: absolute; inset-block-start: 0; inset-inline-start: 0; }
.hosting-desc { margin-top: 8px; color: var(--text-muted); font-size: .9rem; }
.hosting-facts { margin: 24px 0; flex: 1; }
.hosting-facts > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--card-border); font-size: .85rem; }
.hosting-facts dt { color: var(--text-muted); }
.hosting-facts dd { margin: 0; text-align: right; color: var(--text-main); overflow-wrap: anywhere; }
.hosting-facts .hosting-backup-details { position: relative; display: inline-flex; align-items: center; gap: 5px; }
.hosting-backup-details .info-icon { display: grid; place-items: center; padding: 2px; border: 0; color: var(--text-muted); background: none; cursor: help; }
.hosting-backup-details .info-icon::after { content: none; }
.hosting-backup-details .info-icon svg { width: 16px; height: 16px; }
.hosting-backup-details .info-icon:is(:hover, :focus-visible) svg { stroke: url(#brand-stroke); }
.hosting-backup-tooltip {
  position: absolute;
  z-index: 2;
  inset-inline-end: 0;
  bottom: 100%;
  padding: 6px 10px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  background: var(--dropdown-bg);
  color: var(--text-main);
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  translate: 0 4px;
  transition: opacity .2s ease, translate .2s ease, visibility .2s;
}
.hosting-backup-details .info-icon:is(:hover, :focus) + .hosting-backup-tooltip,
.hosting-backup-tooltip:hover { visibility: visible; opacity: 1; translate: 0 0; }
.hosting-mailboxes { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.hosting-infinity { display: block; width: 28px; height: 16px; fill: none; stroke: url(#brand-fill); stroke-width: 2.2; stroke-linecap: round; }
.hosting-infinity path:first-child { opacity: .55; }
.hosting-infinity-signal { stroke-dasharray: 18 82; animation: hosting-infinity-flow 2.8s linear infinite; }
@keyframes hosting-infinity-flow { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) {
  .hosting-infinity-signal { display: none; }
  .hosting-infinity path:first-child { opacity: 1; }
}
.hosting-order { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; padding: 13px 18px; border-radius: 14px; background: var(--brand-gradient); color: #fff; font-weight: 600; transition: filter .35s ease; }
.hosting-order:hover { filter: brightness(1.1); }

@media (prefers-reduced-motion: no-preference) {
  .hosting-order-arrow { animation: hosting-order-nudge 5.2s ease-in-out infinite; }
  .hosting-card:nth-child(2) .hosting-order-arrow { animation-delay: .25s; }
  .hosting-card:nth-child(3) .hosting-order-arrow { animation-delay: .5s; }

  @keyframes hosting-order-nudge {
    0%, 24%, 100% { translate: 0 0; }
    12% { translate: 1px -3px; }
  }
}

.hosting-note { margin: 24px auto 0; max-width: 850px; font-size: .85rem; color: var(--text-muted); text-align: center; line-height: 1.7; }
@media (max-width: 900px) { .hosting-grid { grid-template-columns: 1fr; max-width: 580px; margin: 0 auto; } }
@media (min-width: 901px) { .hosting-desc { min-height: 3em; } }
@media (max-width: 380px) { .hosting-card { padding: 24px 16px; } .hosting-facts > div { gap: 8px; } }
