/**
 * Hosting checkout — payment-style order page
 */
.hx-page {
  --hx-ink: #061428;
  --hx-panel: #0a1830;
  --hx-line: rgba(94, 179, 255, 0.28);
  --hx-text: #e8f3ff;
  --hx-muted: rgba(232, 243, 255, 0.72);
  --hx-gold: #f0c43c;
  --hx-cyan: #5eb3ff;
  --hx-gutter: clamp(1rem, 2.5vw, 2rem);
  --hx-radius: 1.15rem;
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--hx-text);
  background:
    linear-gradient(165deg, #061428 0%, #0a1c3c 42%, #071530 100%);
  font-family: Rubik, "Nunito", sans-serif;
  padding: calc(var(--pw-header-h, 7.25rem) + 0.5rem) var(--hx-gutter) clamp(1.5rem, 4vw, 2.5rem);
  width: 100%;
  max-width: none;
  margin-inline: auto;
  box-sizing: border-box;
}

.hx-page > *:not(.hx-bg) {
  position: relative;
  z-index: 1;
}

/* —— Atmospheric décor —— */
.hx-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
}

.hx-bg__mesh {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(55% 40% at 88% 8%, rgba(240, 196, 60, 0.16), transparent 58%),
    radial-gradient(48% 42% at 8% 22%, rgba(94, 179, 255, 0.18), transparent 55%),
    radial-gradient(42% 36% at 72% 78%, rgba(31, 90, 188, 0.22), transparent 60%),
    radial-gradient(36% 30% at 28% 88%, rgba(240, 196, 60, 0.08), transparent 65%);
  animation: hx-mesh-drift 22s ease-in-out infinite alternate;
}

.hx-bg__grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(94, 179, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 179, 255, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 75%);
}

.hx-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hx-bg__orb--gold {
  top: -8%;
  right: 8%;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  background: radial-gradient(circle, rgba(240, 196, 60, 0.2) 0%, transparent 68%);
  animation: hx-orb-float 16s ease-in-out infinite alternate;
}

.hx-bg__orb--cyan {
  top: 28%;
  left: -10%;
  width: min(48vw, 480px);
  height: min(48vw, 480px);
  background: radial-gradient(circle, rgba(94, 179, 255, 0.2) 0%, transparent 70%);
  animation: hx-orb-float 19s ease-in-out infinite alternate-reverse;
}

.hx-bg__orb--deep {
  bottom: -12%;
  right: -6%;
  width: min(50vw, 520px);
  height: min(50vw, 520px);
  background: radial-gradient(circle, rgba(31, 90, 188, 0.28) 0%, transparent 68%);
  animation: hx-orb-float 24s ease-in-out infinite alternate;
}

.hx-bg__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(94, 179, 255, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(240, 196, 60, 0.06),
    0 0 0 28px rgba(94, 179, 255, 0.03);
}

.hx-bg__ring--tr {
  top: 6%;
  right: 4%;
  width: min(28vw, 260px);
  height: min(28vw, 260px);
  animation: hx-ring-pulse 14s ease-in-out infinite;
}

.hx-bg__ring--bl {
  bottom: 8%;
  left: 3%;
  width: min(34vw, 320px);
  height: min(34vw, 320px);
  border-color: rgba(240, 196, 60, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(94, 179, 255, 0.05),
    0 0 0 36px rgba(240, 196, 60, 0.03);
  animation: hx-ring-pulse 18s ease-in-out infinite reverse;
}

.hx-bg__net {
  position: absolute;
  overflow: visible;
  opacity: 0.55;
}

.hx-bg__net--tr {
  top: 4%;
  right: 0;
  width: min(34vw, 380px);
  height: auto;
  animation: hx-net-drift 20s ease-in-out infinite alternate;
}

.hx-bg__net--bl {
  bottom: 6%;
  left: 0;
  width: min(30vw, 320px);
  height: auto;
  opacity: 0.45;
  animation: hx-net-drift 24s ease-in-out infinite alternate-reverse;
}

.hx-bg__beam {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(70vw, 720px);
  height: 42%;
  transform: translateX(-50%) rotate(-8deg);
  background: linear-gradient(
    180deg,
    rgba(94, 179, 255, 0.07) 0%,
    rgba(240, 196, 60, 0.04) 40%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  animation: hx-beam-soft 12s ease-in-out infinite alternate;
}

@keyframes hx-mesh-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-1.5%, 1.2%, 0) scale(1.04); }
}

@keyframes hx-orb-float {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(2.5%, -2%, 0); }
}

@keyframes hx-ring-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.04); }
}

@keyframes hx-net-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-1.2%, 1.5%, 0); }
}

@keyframes hx-beam-soft {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

@media (max-width: 719px) {
  .hx-bg__net,
  .hx-bg__ring {
    opacity: 0.28;
  }

  .hx-bg__grid {
    opacity: 0.14;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hx-bg__mesh,
  .hx-bg__orb,
  .hx-bg__ring,
  .hx-bg__net,
  .hx-bg__beam {
    animation: none;
  }
}

.hx-page *,
.hx-page *::before,
.hx-page *::after {
  box-sizing: border-box;
}

.hx-page .visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.hx-crumbs {
  margin-block-end: 1.25rem;
}

.hx-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--hx-muted);
}

.hx-crumbs__list li:not(:last-child)::after {
  content: "/";
  margin-inline-start: 0.65rem;
  opacity: 0.5;
}

.hx-crumbs a {
  color: var(--hx-cyan);
  text-decoration: none;
}

.hx-crumbs a:hover,
.hx-crumbs a:focus-visible {
  color: var(--hx-gold);
  text-decoration: underline;
}

.hx-hero {
  margin-block-end: clamp(1.25rem, 3vw, 2rem);
  max-width: none;
}

.hx-hero .hx-lead {
  max-width: 48rem;
}

.hx-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-gold);
}

.hx-hero h1 {
  margin: 0 0 0.65rem;
  font-family: Sora, Rubik, sans-serif;
  font-size: clamp(1.65rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hx-lead {
  margin: 0 0 1.25rem;
  color: var(--hx-muted);
  line-height: 1.65;
}

.hx-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--hx-muted);
}

.hx-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hx-steps span {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 1px solid var(--hx-line);
  font-size: 0.78rem;
}

.hx-steps .is-on {
  color: var(--hx-text);
}

.hx-steps .is-on span,
.hx-steps .is-done span {
  background: rgba(240, 196, 60, 0.16);
  border-color: rgba(240, 196, 60, 0.45);
  color: var(--hx-gold);
}

.hx-layout {
  display: block;
}

.hx-main {
  min-width: 0;
  width: 100%;
}

.hx-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.hx-card--plan,
.hx-summary,
.hx-centered {
  width: min(100%, 72rem);
  margin-inline: auto;
}

.hx-centered {
  display: grid;
  gap: 1.35rem;
}

.hx-card--domain,
.hx-card--billing,
.hx-card--pay {
  padding: clamp(1.35rem, 2.8vw, 1.85rem);
  width: 100%;
}

.hx-card--plan {
  padding: clamp(1.35rem, 2.8vw, 1.85rem);
}

.hx-card--plan .hx-card__head,
.hx-card--domain .hx-card__head,
.hx-card--billing .hx-card__head,
.hx-card--pay .hx-card__head {
  margin-block-end: 1.25rem;
}

.hx-card {
  margin-block-end: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
  background: rgba(10, 24, 48, 0.72);
  min-width: 0;
}

.hx-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-block-end: 1rem;
}

.hx-card__head--plan {
  align-items: baseline;
}

.hx-card__head-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.45rem 1.25rem;
  width: 100%;
}

.hx-card__head h2 {
  margin: 0;
  font-family: Sora, Rubik, sans-serif;
  font-size: 1.15rem;
}

.hx-card__head a,
.hx-plan-change {
  color: var(--hx-cyan);
  font-size: 0.88rem;
  text-decoration: none;
}

.hx-plan-change {
  white-space: nowrap;
}

.hx-card__head a:hover,
.hx-card__head a:focus-visible,
.hx-plan-change:hover,
.hx-plan-change:focus-visible {
  color: var(--hx-gold);
}

.hx-plans {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  padding: 0;
  border: 0;
  min-inline-size: 0;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

@media (min-width: 720px) {
  .hx-plans {
    grid-template-columns: repeat(3, minmax(15rem, 1fr));
    gap: 1.15rem 1.4rem;
    justify-content: center;
    width: min(100%, 52rem);
    margin-inline: auto;
  }
}

.hx-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
  height: 100%;
  overflow: visible;
}

.hx-plan__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem 1.15rem 1.15rem;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
}

.hx-plan__tag {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 1rem;
  z-index: 3;
  transform: translateY(-50%);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 196, 60, 0.35);
  background: rgba(12, 28, 55, 0.95);
  color: var(--hx-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  pointer-events: none;
  white-space: nowrap;
}

.hx-plan__top {
  display: grid;
  gap: 0.25rem;
  padding-inline-end: 1.5rem;
}

.hx-plan__top strong {
  color: #fff;
  font-family: Sora, Rubik, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.hx-plan__top em {
  font-style: normal;
  color: var(--hx-gold);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 0.22rem;
}

.hx-plan__top em b {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hx-plan__top em small {
  color: var(--hx-muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.hx-plan__feats {
  list-style: none;
  margin: auto 0 0;
  padding: 0.65rem 0 0;
  border-block-start: 1px solid rgba(94, 179, 255, 0.18);
  display: grid;
  gap: 0.32rem;
}

.hx-plan__feats li {
  position: relative;
  padding-inline-start: 1.1rem;
  color: var(--hx-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.hx-plan__feats li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--hx-gold);
  font-size: 0.8rem;
}

.hx-plan input {
  position: absolute;
  inset-inline-end: 0.75rem;
  inset-block-start: 0.75rem;
  z-index: 2;
  accent-color: var(--hx-gold);
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
}

@media (min-width: 720px) {
  .hx-plan--featured {
    transform: none;
  }
}

.hx-plan:hover,
.hx-plan:focus-within {
  border-color: rgba(94, 179, 255, 0.45);
}

.hx-plan:has(input:checked) {
  border-color: rgba(240, 196, 60, 0.65);
  background:
    linear-gradient(180deg, rgba(240, 196, 60, 0.14), transparent 50%),
    rgba(240, 196, 60, 0.06);
  box-shadow: 0 0 0 1px rgba(240, 196, 60, 0.25);
}

.hx-plan--featured {
  border-color: rgba(240, 196, 60, 0.35);
}

.hx-domain {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

@media (min-width: 720px) {
  .hx-domain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }
}

/* —— Payment method selector —— */
.hx-pay-secure {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(94, 179, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(94, 179, 255, 0.1), transparent 55%),
    rgba(6, 20, 40, 0.55);
}

.hx-pay-secure__icon {
  color: var(--hx-cyan);
  margin-block-start: 0.1rem;
  flex-shrink: 0;
}

.hx-pay-secure p {
  margin: 0;
  color: var(--hx-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hx-pay {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem;
  border: 1px solid rgba(94, 179, 255, 0.16);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    rgba(4, 14, 30, 0.45);
  min-inline-size: 0;
}

@media (min-width: 800px) {
  .hx-pay {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1rem;
  }
}

.hx-pay__opt {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 0.75rem 0.85rem;
  align-items: start;
  margin: 0;
  padding: 1.05rem 1rem 1.1rem;
  padding-inline-end: 2.5rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06), transparent 45%),
    rgba(10, 24, 48, 0.85);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  min-width: 0;
  min-height: 100%;
  color-scheme: dark;
  accent-color: var(--hx-gold);
}

.hx-pay__opt:hover,
.hx-pay__opt:focus-within {
  border-color: rgba(94, 179, 255, 0.5);
  background:
    linear-gradient(165deg, rgba(94, 179, 255, 0.1), transparent 50%),
    rgba(10, 24, 48, 0.92);
}

.hx-pay__opt:has(input:checked) {
  border-color: rgba(240, 196, 60, 0.7);
  background:
    linear-gradient(165deg, rgba(240, 196, 60, 0.16), transparent 48%),
    rgba(240, 196, 60, 0.06);
  box-shadow:
    0 0 0 1px rgba(240, 196, 60, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.hx-pay__opt:has(input:checked) .hx-pay__icon {
  color: var(--hx-gold);
  border-color: rgba(240, 196, 60, 0.45);
  background: rgba(240, 196, 60, 0.12);
}

.hx-pay__opt input {
  position: absolute;
  inset-inline-end: 0.9rem;
  inset-block-start: 0.95rem;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  accent-color: var(--hx-gold);
}

.hx-pay__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(94, 179, 255, 0.28);
  background: rgba(94, 179, 255, 0.1);
  color: var(--hx-cyan);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hx-pay__icon svg {
  display: block;
}

.hx-pay__body {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  grid-column: 2;
}

.hx-pay__body strong {
  color: #fff;
  font-family: Sora, Rubik, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  padding-inline-end: 0.25rem;
}

.hx-pay__body small {
  display: block;
  color: var(--hx-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.hx-pay__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-block-start: 0.25rem;
}

.hx-pay__chips > span {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 179, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 243, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hx-pay__opt:has(input:checked) .hx-pay__chips > span {
  border-color: rgba(240, 196, 60, 0.35);
  color: var(--hx-gold);
  background: rgba(240, 196, 60, 0.08);
}

.hx-domain__opt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  min-width: 0;
  height: 100%;
}

.hx-domain__opt:has(input:checked) {
  border-color: rgba(240, 196, 60, 0.55);
  background: rgba(240, 196, 60, 0.08);
}

.hx-domain__opt input,
.hx-check input {
  accent-color: var(--hx-gold);
  width: 1.15rem;
  height: 1.15rem;
  margin-block-start: 0.15rem;
}

.hx-domain__opt span {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.hx-domain__opt strong {
  color: #fff;
  font-size: 1rem;
}

.hx-domain__opt small,
.hx-hint,
.hx-note {
  color: var(--hx-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hx-cycle {
  margin: 1.35rem 0 0;
  padding: 1.25rem 0 0;
  border: 0;
  border-block-start: 1px solid rgba(94, 179, 255, 0.16);
  min-inline-size: 0;
  display: grid;
  gap: 0.85rem;
  width: 100%;
}

.hx-cycle legend {
  margin: 0;
  padding: 0;
  float: left;
  width: 100%;
  font-family: Sora, Rubik, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--hx-text);
}

.hx-cycle legend + .hx-cycle__row {
  clear: both;
}

.hx-cycle__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .hx-cycle__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }
}

.hx-cycle__opt {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 0;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
  overflow: clip;
}

.hx-cycle__opt:hover,
.hx-cycle__opt:focus-within {
  border-color: rgba(94, 179, 255, 0.45);
}

.hx-cycle__opt:has(input:checked) {
  border-color: rgba(240, 196, 60, 0.65);
  background:
    linear-gradient(180deg, rgba(240, 196, 60, 0.14), transparent 50%),
    rgba(240, 196, 60, 0.06);
  box-shadow: 0 0 0 1px rgba(240, 196, 60, 0.25);
}

.hx-cycle__opt input {
  position: absolute;
  inset-inline-end: 0.85rem;
  inset-block-start: 0.85rem;
  z-index: 2;
  accent-color: var(--hx-gold);
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
}

.hx-cycle__body {
  display: grid;
  gap: 0.28rem;
  padding: 0.95rem 1rem;
  padding-inline-end: 2.4rem;
  min-width: 0;
}

.hx-cycle__opt strong {
  color: #fff;
  font-family: Sora, Rubik, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.hx-cycle__opt small {
  color: var(--hx-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.hx-cycle__opt .hx-badge {
  margin-inline-start: 0;
  margin-block-start: 0.2rem;
  width: fit-content;
  font-size: 0.66rem;
  padding: 0.14rem 0.48rem;
}

.hx-hint,
.hx-note {
  color: var(--hx-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hx-badge {
  display: inline-block;
  margin-inline-start: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(240, 196, 60, 0.18);
  color: var(--hx-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.hx-grid {
  display: grid;
  gap: 1.35rem 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .hx-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hx-field--full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .hx-card--billing .hx-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 1.75rem;
  }

  .hx-card--billing .hx-field--full {
    grid-column: 1 / -1;
  }
}

.hx-field {
  display: grid;
  gap: 0.28rem;
  align-content: start;
}

.hx-card--domain .hx-field {
  margin-block-start: 1.25rem;
}

.hx-card--domain .hx-domain {
  margin-block-end: 0.25rem;
}

.hx-card--pay .hx-pay-secure {
  margin-block-end: 1.15rem;
}

.hx-pay-extras {
  display: grid;
  gap: 1.25rem;
  margin-block-start: 1.5rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid rgba(94, 179, 255, 0.18);
}

.hx-field--notes {
  margin: 0;
  gap: 0.35rem;
}

.hx-field--notes textarea {
  min-height: 7.5rem;
  padding: 0.95rem 1.05rem;
  line-height: 1.45;
}

.hx-field--notes .hx-hint {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
}

.hx-check--terms {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(94, 179, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(94, 179, 255, 0.07), transparent 55%),
    rgba(6, 20, 40, 0.5);
  color: var(--hx-muted);
  font-size: 0.94rem;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hx-check--terms:hover,
.hx-check--terms:focus-within {
  border-color: rgba(94, 179, 255, 0.4);
  background:
    linear-gradient(135deg, rgba(94, 179, 255, 0.1), transparent 55%),
    rgba(6, 20, 40, 0.65);
}

.hx-check--terms:has(input:checked) {
  border-color: rgba(240, 196, 60, 0.45);
  background:
    linear-gradient(135deg, rgba(240, 196, 60, 0.1), transparent 55%),
    rgba(240, 196, 60, 0.05);
}

.hx-check--terms input {
  width: 1.25rem;
  height: 1.25rem;
  margin-block-start: 0.15rem;
  accent-color: var(--hx-gold);
  flex-shrink: 0;
}

.hx-check--terms span {
  min-width: 0;
}

.hx-check--terms a {
  color: var(--hx-cyan);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.hx-check--terms a:hover,
.hx-check--terms a:focus-visible {
  color: var(--hx-gold);
}

.hx-field label {
  font-size: 0.9rem;
  color: var(--hx-text);
  line-height: 1.3;
}

.hx-field .hx-hint {
  margin: 0.15rem 0 0;
}

.hx-card--billing .hx-field input,
.hx-card--billing .hx-field textarea,
.hx-card--domain .hx-field input {
  min-height: 52px;
  padding: 0.85rem 1rem;
}

.hx-field input,
.hx-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(94, 179, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--hx-text);
  font-size: 1rem;
  font-family: inherit;
}

.hx-field input::placeholder,
.hx-field textarea::placeholder {
  color: rgba(232, 243, 255, 0.38);
  font-size: 0.92em;
  opacity: 1;
}

.hx-field textarea {
  min-height: 6rem;
  resize: vertical;
}

.hx-field input:focus-visible,
.hx-field textarea:focus-visible {
  outline: 3px solid rgba(240, 196, 60, 0.55);
  outline-offset: 2px;
  border-color: var(--hx-gold);
}

.hx-field input:user-invalid,
.hx-field textarea:user-invalid {
  border-color: #ff8f8f;
}

.hx-note {
  margin: 0 0 0.9rem;
}

.hx-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  margin-block-start: 1rem;
  color: var(--hx-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  cursor: pointer;
}

.hx-check a {
  color: var(--hx-cyan);
}

.hx-submit-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-block-start: 0.35rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 50%),
    rgba(10, 24, 48, 0.72);
}

.hx-trust {
  margin: 0;
  color: var(--hx-muted);
  font-size: 0.88rem;
}

.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.hx-btn--primary {
  background: var(--hx-gold);
  color: #061428;
}

.hx-btn--primary:hover,
.hx-btn--primary:focus-visible {
  filter: brightness(1.05);
}

.hx-btn--ghost {
  border-color: var(--hx-line);
  color: var(--hx-text);
  background: transparent;
}

.hx-btn--ghost:hover,
.hx-btn--ghost:focus-visible {
  border-color: var(--hx-gold);
  color: var(--hx-gold);
}

.hx-btn--xl {
  padding-inline: 1.5rem;
  font-size: 1rem;
}

.hx-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.hx-summary {
  position: relative;
  width: min(100%, 54rem);
  margin-inline: auto;
}

.hx-summary__card {
  padding: clamp(1.15rem, 2.5vw, 1.45rem);
  border-radius: var(--hx-radius);
  border: 1px solid rgba(240, 196, 60, 0.35);
  background:
    radial-gradient(420px 180px at 10% 0%, rgba(240, 196, 60, 0.12), transparent 60%),
    var(--hx-panel);
}

.hx-summary__card h2 {
  margin: 0 0 1rem;
  font-family: Sora, Rubik, sans-serif;
  font-size: 1.15rem;
}

.hx-summary__rows {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1rem;
}

.hx-summary__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.hx-summary__rows dt {
  margin: 0;
  color: var(--hx-muted);
}

.hx-summary__rows dd {
  margin: 0;
  font-weight: 600;
  text-align: end;
}

.hx-summary__save.is-hidden {
  display: none;
}

.hx-summary__save dd {
  color: #7dffa3;
}

.hx-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.9rem;
  border-block: 1px solid rgba(94, 179, 255, 0.22);
  margin-block-end: 1rem;
}

.hx-summary__due {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
}

.hx-summary__was {
  color: var(--hx-muted);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.hx-summary__was.is-hidden {
  display: none;
}

.hx-summary__total span {
  color: var(--hx-muted);
}

.hx-summary__total strong {
  font-size: 1.55rem;
  color: var(--hx-gold);
  letter-spacing: -0.02em;
}

.hx-summary__perks {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--hx-muted);
}

.hx-summary__perks li::before {
  content: "✓";
  color: var(--hx-gold);
  margin-inline-end: 0.45rem;
}

.hx-summary__help {
  margin: 0;
  font-size: 0.85rem;
  color: var(--hx-muted);
  line-height: 1.5;
}

.hx-summary__help a {
  color: var(--hx-cyan);
  text-decoration: none;
}

.hx-success {
  --hx-rcp-paper: #f4f1ea;
  --hx-rcp-ink: #1a1f2e;
  --hx-rcp-muted: rgba(26, 31, 46, 0.58);
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
  width: min(100%, 66rem);
  margin-inline: auto;
  padding-block: 1.25rem 2.5rem;
  text-align: start;
}

.hx-success__copy {
  min-width: 0;
  max-width: 32rem;
}

.hx-success__eyebrow {
  margin-block-end: 0.35rem;
}

.hx-success__title {
  margin: 0.2rem 0 0.65rem;
  font-family: Sora, Rubik, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hx-success__lead {
  margin: 0 0 1.35rem;
  max-width: 32rem;
  color: var(--hx-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.hx-error {
  margin-block-end: 1.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 143, 143, 0.45);
  background: rgba(255, 80, 80, 0.12);
  color: #ffd4d4;
}

.hx-error p {
  margin: 0;
  line-height: 1.5;
}

.hx-success__list {
  margin: 0 0 1.35rem;
  padding-inline-start: 1.15rem;
  max-width: 28rem;
  color: var(--hx-muted);
  line-height: 1.6;
  text-align: start;
}

.hx-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
}

.hx-success__stage {
  min-width: 0;
  width: min(100%, 22rem);
  margin-inline: auto;
  justify-self: center;
}

/* Two columns with breathing room — not edge-to-edge, not cramped */
@media (min-width: 900px) {
  .hx-success {
    grid-template-columns: minmax(0, 1fr) 22rem;
    column-gap: clamp(2rem, 4vw, 3.25rem);
    width: min(100%, 66rem);
  }

  .hx-success__copy {
    max-width: 30rem;
    justify-self: start;
    /*
      Left inset to the viewport edge ≈ (100vw - 66rem) / 2 (or the page gutter when narrow).
      Move left by one third of that distance.
    */
    translate: calc(-1 * max(var(--hx-gutter), (100vw - 66rem) / 2) / 3) 0;
  }

  .hx-success__stage {
    width: 22rem;
    margin-inline: 0;
    justify-self: center;
    /* Stronger lift so the full receipt stays in the first viewport */
    margin-block-start: calc(-1 * (2.5rem + clamp(2rem, 4.25vw, 3.25rem) + 5.75rem));
    translate: 1.65rem -2.55rem;
  }
}

/* —— Receipt printer (order complete) —— */
.hx-printer {
  position: relative;
  width: min(100%, 22rem);
  margin-inline: auto;
  text-align: start;
}

@media (min-width: 900px) {
  .hx-printer {
    margin-inline: 0;
    width: 100%;
  }
}

.hx-printer__device {
  position: relative;
  z-index: 2;
  padding: 1rem 1.1rem 0.85rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),
    #14171c;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hx-printer__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-block-end: 1.1rem;
}

.hx-printer__mark {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
  background: #0c0e12;
  color: #f5f5f5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.hx-printer__mark img {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  object-position: center;
}

.hx-printer__home {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #2a2e36;
  color: #eceff4;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.hx-printer__home:hover,
.hx-printer__home:focus-visible {
  background: #353a44;
  color: #fff;
}

.hx-printer__status {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-block-end: 0.85rem;
}

.hx-printer__plan {
  display: grid;
  gap: 0.15rem;
}

.hx-printer__plan strong {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #f7f8fa;
}

.hx-printer__plan span {
  color: rgba(247, 248, 250, 0.55);
  font-size: 0.88rem;
}

.hx-printer__total {
  display: grid;
  gap: 0.1rem;
  text-align: end;
}

.hx-printer__total span {
  color: rgba(247, 248, 250, 0.5);
  font-size: 0.78rem;
}

.hx-printer__total strong {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.hx-printer__complete {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
  color: #eceff4;
  font-size: 0.92rem;
  font-weight: 500;
}

.hx-printer__check {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #22c55e;
  color: #04140a;
  flex-shrink: 0;
}

.hx-printer__slot {
  position: relative;
  height: 0.7rem;
  margin-inline: -0.15rem;
  border-radius: 0.35rem;
  background:
    linear-gradient(180deg, #050608 0%, #1a1d24 55%, #0a0c10 100%);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(255, 255, 255, 0.04);
}

.hx-printer__slot-lip {
  position: absolute;
  inset-inline: 12%;
  bottom: -1px;
  height: 3px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.75);
}

.hx-printer__feed {
  position: relative;
  z-index: 1;
  width: calc(100% - 2.4rem);
  margin: -0.15rem auto 0;
  overflow: clip;
  /* Reserve full receipt height immediately — paper slides inside this slot */
  block-size: auto;
}

.hx-receipt {
  position: relative;
  margin: 0;
  padding: 1.25rem 1.15rem 1.85rem;
  background:
    linear-gradient(180deg, #fffef9 0%, var(--hx-rcp-paper) 100%);
  color: var(--hx-rcp-ink);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  /* Identity transforms for stable stacking; print reveal uses translate */
  translate: 0 -100%;
  transform: translateY(0);
  transition: translate 2.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 10px),
    96% 100%,
    92% calc(100% - 10px),
    88% 100%,
    84% calc(100% - 10px),
    80% 100%,
    76% calc(100% - 10px),
    72% 100%,
    68% calc(100% - 10px),
    64% 100%,
    60% calc(100% - 10px),
    56% 100%,
    52% calc(100% - 10px),
    48% 100%,
    44% calc(100% - 10px),
    40% 100%,
    36% calc(100% - 10px),
    32% 100%,
    28% calc(100% - 10px),
    24% 100%,
    20% calc(100% - 10px),
    16% 100%,
    12% calc(100% - 10px),
    8% 100%,
    4% calc(100% - 10px),
    0 100%
  );
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.hx-printer.is-printing .hx-receipt,
.hx-printer.is-printed .hx-receipt {
  translate: 0 0;
}

.hx-printer.is-printing .hx-receipt {
  animation: hx-rcp-chatter 2.4s steps(28, end) both;
}

.hx-receipt__logo {
  display: grid;
  place-items: center;
  width: fit-content;
  max-width: 100%;
  height: auto;
  margin: 0 auto 1.2rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.55rem;
  background: #0a1220;
  color: inherit;
}

.hx-receipt__logo img {
  display: block;
  width: min(100%, 8.25rem);
  height: auto;
}

.hx-receipt__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-block-end: 0.85rem;
}

.hx-receipt__item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hx-receipt__item span {
  display: block;
  color: var(--hx-rcp-muted);
  font-size: 0.72rem;
  margin-block-start: 0.15rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.hx-receipt__item b {
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

.hx-receipt__rule {
  border: 0;
  border-block-start: 1px dashed rgba(26, 31, 46, 0.22);
  margin: 0 0 0.75rem;
}

.hx-receipt__totals {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1rem;
}

.hx-receipt__totals > div,
.hx-receipt__meta > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.hx-receipt__totals dt,
.hx-receipt__meta dt {
  margin: 0;
  color: var(--hx-rcp-muted);
  font-weight: 400;
}

.hx-receipt__totals dd,
.hx-receipt__meta dd {
  margin: 0;
  font-weight: 600;
  text-align: end;
}

.hx-receipt__grand {
  margin-block-start: 0.25rem;
  padding-block-start: 0.45rem;
  border-block-start: 1px solid rgba(26, 31, 46, 0.16);
}

.hx-receipt__grand dt,
.hx-receipt__grand dd {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--hx-rcp-ink);
  letter-spacing: 0.02em;
}

.hx-receipt__meta {
  display: grid;
  gap: 0.28rem;
  margin: 0 0 1.15rem;
  font-size: 0.7rem;
}

.hx-receipt__barcode {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  color: var(--hx-rcp-ink);
}

.hx-receipt__bars {
  width: min(100%, 10rem);
  height: 2.35rem;
  fill: currentColor;
}

.hx-receipt__barcode span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--hx-rcp-muted);
}

.hx-printer__replay {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  translate: 0 -115%;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(20, 23, 28, 0.72);
  color: rgba(247, 248, 250, 0.78);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.hx-printer__replay:hover,
.hx-printer__replay:focus-visible {
  background: rgba(42, 46, 54, 0.92);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.hx-printer__replay[hidden] {
  display: none;
}

@keyframes hx-rcp-chatter {
  0%,
  100% {
    transform: translateY(0);
  }
  12% {
    transform: translateY(0.4px);
  }
  24% {
    transform: translateY(-0.4px);
  }
  36% {
    transform: translateY(0.35px);
  }
  48% {
    transform: translateY(-0.25px);
  }
  60% {
    transform: translateY(0.3px);
  }
  72% {
    transform: translateY(-0.2px);
  }
  84% {
    transform: translateY(0.15px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hx-receipt {
    transition: none !important;
    translate: 0 0;
  }

  .hx-printer.is-printing .hx-receipt {
    animation: none !important;
  }
}

.hx-scf {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
