/* ==========================================================================
   hosting-b (hx-) — reseller hosting, business email, SSL certificates
   ========================================================================== */
/* headings wrap evenly (no one-word last lines) */
.hx-page h2 { text-wrap: balance; }

/* ---------- shared bits ---------- */
.hx-plans [hidden], .hx-certs [hidden], .hx-drawer [hidden] { display: none !important; }
.hx-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hx-fair { color: inherit; text-decoration: underline; text-decoration-style: dotted; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.hx-fair:hover { color: var(--accent); text-decoration-color: currentColor; }
.plan--featured .hx-fair { text-decoration-color: var(--inv-muted); }
.hx-ok { color: var(--green); font-weight: 560; }
.hx-bar { display: block; height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; }
.hx-bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 1.4s var(--ease); }
.is-visible .hx-bar > i, .hx-bar--lg > i, .hx-calc .hx-bar > i { width: var(--w); }
.hx-bar--lg { height: 8px; }
.hx-after { margin-top: 22px; color: var(--muted); font-size: 0.96rem; }
ol.hx-steps, ol.hx-featlist, ol.hx-list { list-style: none; margin: 0; padding: 0; }
.hx-mini-kv b.hx-ok { color: var(--green); }
.hx-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

/* hero: the "From" price line reuses hosting-a's .hs-from so all five product heroes match */
.hx-hero .hero__trust { margin-top: 16px; }

/* plan card extras */
.hx-plan__bill { margin-top: 4px; font-family: var(--mono); font-size: 0.74rem; color: var(--muted); min-height: 1.4em; }
.plan--featured .hx-plan__bill { color: var(--inv-muted); }
.hx-plan .check-list a { color: inherit; }
.hx-plan.plan--featured .plan__ribbon { background: var(--accent); color: var(--accent-ink); border-color: transparent; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 70%, transparent); }

/* region + payment chips under the plans */
.hx-planfoot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; margin-top: 34px; padding: 16px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.hx-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hx-chips__label { margin-right: 4px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.hx-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 0.86rem; font-weight: 520; color: var(--ink); }
.hx-chip svg { width: 15px; height: 15px; color: var(--accent); }
.hx-chip small { font-family: var(--mono); font-size: 0.68rem; color: var(--faint); font-weight: 400; }
.hx-pay { padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.hx-plans .pricing-note { margin-top: 22px; }

/* included strip */
/* same 3-up ruled grid as hosting-a's .hs-included, so all five product pages match */
.hx-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 56px; border-radius: var(--radius-lg); background: var(--line); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.hx-strip li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; align-items: start; padding: 20px 22px; background: var(--card); }
.hx-strip li > svg { width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
.hx-strip b { display: block; font-size: 0.95rem; font-weight: 580; color: var(--ink); letter-spacing: -0.015em; line-height: 1.3; }
.hx-strip small { display: block; margin-top: 3px; font-size: 0.84rem; color: var(--muted); line-height: 1.4; }

/* numbered steps */
.hx-steps { display: grid; gap: 16px; counter-reset: none; position: relative; }
.hx-steps--3 { grid-template-columns: repeat(3, 1fr); }
.hx-steps--4 { grid-template-columns: repeat(4, 1fr); }
.hx-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hx-step .step__num { margin-bottom: 8px; background: var(--inv-bg); color: var(--inv-ink); border-color: var(--inv-bg); }
.hx-step h3 { font-size: 1.18rem; letter-spacing: -0.025em; font-weight: 580; }
.hx-step p { color: var(--muted); font-size: 0.93rem; }
.hx-step__viz { margin-top: auto; padding-top: 16px; display: grid; gap: 6px; }
.hx-step__link { font-size: 0.9rem; margin-top: 4px; }
.hx-steps--3 .hx-step:not(:last-child)::after, .hx-steps--4 .hx-step:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -17px; width: 18px; height: 1px; background: var(--line-2); }
.hx-mini-kv { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 0.82rem; }
.hx-mini-kv span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); align-self: center; }
.hx-mini-kv b { font-weight: 540; color: var(--ink); text-align: right; }
.hx-mini-ns { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.hx-mini-ns code { padding: 0; border: 0; background: none; font-size: 0.76rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-mini-ns code:last-child { margin-left: auto; color: var(--accent); }
.hx-mini-ns svg { width: 14px; height: 14px; color: var(--faint); flex: none; }
.hx-pkgs { grid-template-columns: repeat(3, 1fr); }
.hx-pkgs span { display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 0.72rem; color: var(--muted); line-height: 1.35; }
.hx-pkgs b { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; color: var(--ink); }
.hx-pkgs small { font-size: inherit; white-space: nowrap; }

/* ---------- WHM hero mock ---------- */
.hx-whm__body { display: grid; grid-template-columns: 136px 1fr; min-height: 380px; }
.hx-whm__side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; border-right: 1px solid var(--line); background: var(--bg); font-size: 0.76rem; color: var(--muted); }
.hx-whm__side > span { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; white-space: nowrap; }
.hx-whm__side svg { width: 14px; height: 14px; color: var(--faint); }
.hx-whm__side .is-on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); font-weight: 540; }
.hx-whm__side .is-on svg { color: var(--accent); }
.hx-whm__logo { margin-bottom: 10px; font-weight: 640; font-size: 0.86rem; color: var(--ink) !important; letter-spacing: -0.02em; }
.hx-whm__logo i { width: 16px; height: 16px; border-radius: 5px; background: var(--grad); }
.hx-whm__main { padding: 16px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.hx-whm__top { display: flex; align-items: center; justify-content: space-between; }
.hx-whm__top strong { font-size: 1rem; letter-spacing: -0.02em; }
.hx-whm__btn { padding: 5px 11px; border-radius: 999px; background: var(--inv-bg); color: var(--inv-ink); font-size: 0.72rem; font-weight: 560; }
.hx-whm__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hx-whm__stats > div { display: grid; gap: 4px; padding: 10px 11px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.hx-whm__stats small { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.hx-whm__stats b { font-size: 0.92rem; font-weight: 580; color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.hx-whm__stats .hx-ok { font-size: 0.7rem; font-family: var(--mono); font-weight: 500; }
.hx-whm__table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.hx-whm__tr { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 0.8fr) 70px; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--line); font-size: 0.76rem; color: var(--ink-2); }
.hx-whm__tr > span:first-child { font-weight: 540; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-whm__tr > span:nth-child(2) { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-whm__th { border-top: 0; background: var(--bg); font-family: var(--mono); font-size: 0.62rem !important; letter-spacing: 0.08em; text-transform: uppercase; }
.hx-whm__th > span, .hx-whm__th > span:first-child { color: var(--faint) !important; font-weight: 500 !important; }
.hx-whm__disk { display: flex; flex-direction: column-reverse; gap: 4px; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }
.hx-whm__disk .hx-bar { height: 4px; }
.hx-state { justify-self: start; padding: 2px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 0.68rem; font-weight: 560; }
.hx-state--warn { background: color-mix(in srgb, var(--amber) 16%, transparent); color: color-mix(in srgb, var(--amber) 80%, var(--ink)); }

/* ---------- feature split with numbered list ---------- */
.hx-feat { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: start; }
.hx-feat .section-head { margin-bottom: 40px; }
.hx-featlist { display: grid; border-top: 1px solid var(--line); }
.hx-featlist li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.hx-featlist__n { font-family: var(--mono); font-size: 0.78rem; color: var(--faint); padding-top: 3px; }
.hx-featlist h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 580; letter-spacing: -0.02em; margin-bottom: 6px; }
.hx-featlist h3 svg { width: 19px; height: 19px; color: var(--accent); }
.hx-featlist p { color: var(--muted); font-size: 0.94rem; }
.hx-feat__visual { position: sticky; top: calc(var(--anchor-offset) + 40px); display: grid; gap: 14px; }
.hx-feat__caption { display: flex; gap: 10px; font-size: 0.84rem; color: var(--muted); }
.hx-feat__caption svg { width: 17px; height: 17px; color: var(--faint); margin-top: 2px; }

/* CloudLinux usage panel (dark visual) */
.hx-lve { border-radius: 18px; overflow: hidden; background: #0d0e12; border: 1px solid #23242b; box-shadow: var(--shadow-lg); color: #c9cad3; font-size: 0.8rem; }
.hx-lve__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #1f2027; }
.hx-lve__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3b44; }
.hx-lve__bar span { margin-left: 8px; font-family: var(--mono); font-size: 0.72rem; color: #6c6d78; }
.hx-lve__head, .hx-lve__row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 56px; gap: 12px; align-items: center; padding: 11px 16px; }
.hx-lve__head { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6c6d78; border-bottom: 1px solid #1f2027; }
.hx-lve__row { border-bottom: 1px solid #191a20; }
.hx-lve__row b { font-weight: 520; color: #e6e7ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-lve__row em { font-style: normal; font-family: var(--mono); font-size: 0.72rem; color: #8b8c96; text-align: right; white-space: nowrap; }
.hx-lve__m { display: block; height: 6px; border-radius: 6px; background: #1d1e25; overflow: hidden; }
.hx-lve__m i { display: block; height: 100%; width: 0; border-radius: inherit; background: #3ccf8a; transition: width 1.4s var(--ease); }
.is-visible .hx-lve__m i { width: var(--w); }
.hx-lve__row.is-hot { background: rgba(232, 163, 23, 0.07); }
.hx-lve__row.is-hot .hx-lve__m i { background: #f2b33d; }
.hx-lve__row.is-hot em { color: #f2c46d; }
.hx-lve__note { display: grid; gap: 8px; padding: 16px; }
.hx-lve__note p { color: #9a9ba6; font-size: 0.82rem; line-height: 1.5; }
.hx-lve__note b { color: #e6e7ee; font-weight: 540; }
.hx-lve__flag { justify-self: start; padding: 3px 9px; border-radius: 999px; background: rgba(242, 179, 61, 0.14); color: #f2c46d; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- reseller profit calculator ---------- */
.hx-calc { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 20px; align-items: start; }
.hx-calc__panel { padding: 32px; display: grid; gap: 30px; }
.hx-calc__row { margin: 0; padding: 0; border: 0; min-width: 0; }
.hx-calc__row legend { padding: 0; margin-bottom: 14px; font-weight: 580; color: var(--ink); }
.hx-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hx-seg label { position: relative; cursor: pointer; }
.hx-seg input { position: absolute; opacity: 0; pointer-events: none; }
.hx-seg span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.hx-seg b { font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.hx-seg small { font-family: var(--mono); font-size: 0.7rem; color: var(--faint); }
.hx-seg label:hover span { border-color: var(--line-2); }
.hx-seg input:checked + span { border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.hx-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hx-money { display: flex; align-items: center; gap: 8px; max-width: 280px; padding: 0 14px; height: 52px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s; }
.hx-money:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.hx-money span { color: var(--muted); font-size: 0.92rem; white-space: nowrap; }
.hx-money span:first-child { font-size: 1.2rem; color: var(--ink); }
.hx-money input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font-size: 1.3rem; font-weight: 560; letter-spacing: -0.02em; color: var(--ink); -moz-appearance: textfield; }
.hx-money input::-webkit-outer-spin-button, .hx-money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hx-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hx-quick button { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-family: var(--mono); font-size: 0.8rem; color: var(--muted); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.hx-quick button:hover { color: var(--ink); border-color: var(--line-2); }
.hx-quick button.is-active { background: var(--inv-bg); color: var(--inv-ink); border-color: var(--inv-bg); }
.hx-calc__cap { padding: 16px 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 10px; }
.hx-calc__caphead { display: flex; justify-content: space-between; gap: 10px; font-size: 0.86rem; color: var(--muted); }
.hx-calc__caphead b { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; color: var(--ink); }
.hx-calc .hx-bar > i { transition: width 0.4s var(--ease); }
.hx-calc__sum .summary__rows span { color: var(--inv-muted); }
.hx-calc__sum .summary__total strong.is-neg { color: var(--red); }
.hx-calc__year { display: flex; justify-content: space-between; align-items: baseline; margin: -6px 0 20px; padding-bottom: 18px; border-bottom: 1px dashed color-mix(in srgb, var(--inv-ink) 20%, transparent); font-size: 0.9rem; }
.hx-calc__year b { font-family: var(--mono); font-weight: 500; color: var(--inv-ink); }
.hx-calc__sum .btn { margin-top: 2px; }

/* ---------- comparison tables ---------- */
.hx-compare tbody th { font-weight: 400; color: var(--muted); text-align: left; }
.hx-compare td.hx-span { color: var(--ink-2); }
.hx-compare a.hx-fair { color: var(--ink-2); }
.hx-compare caption { caption-side: top; }
.hx-vs .compare { min-width: 680px; }
.hx-vs .compare td { text-align: left; vertical-align: top; }
.hx-vs .compare thead th { text-align: left; }
.hx-vs .compare tbody th { width: 22%; vertical-align: top; }
.hx-vs .compare strong { font-weight: 600; }

/* ---------- related help ---------- */
.hx-help { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 48px; align-items: start; }
.hx-help__intro { display: grid; gap: 14px; justify-items: start; }
.hx-help__intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); letter-spacing: -0.04em; }
.hx-help__intro p { color: var(--muted); }
.hx-help__list:empty { display: none; }
.hx-help__side { display: grid; gap: 16px; }
.hx-support { padding: 26px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; gap: 20px; }
.hx-support__head { display: flex; gap: 16px; align-items: flex-start; }
.hx-support__head .tile__icon { margin: 0; flex: none; }
.hx-support h3 { font-size: 1.12rem; font-weight: 580; letter-spacing: -0.02em; margin-bottom: 4px; }
.hx-support__head p { color: var(--muted); font-size: 0.93rem; }
.hx-support__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hx-support__stats div { padding: 14px 16px; border-left: 1px solid var(--line); background: var(--bg); }
.hx-support__stats div:first-child { border-left: 0; }
.hx-support__stats dt { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.hx-support__stats dd { margin: 4px 0 0; font-size: 1.5rem; font-weight: 540; letter-spacing: -0.04em; color: var(--ink); }
.hx-support__foot { font-size: 0.88rem; color: var(--muted); }

/* sticky offsets that clear the sub-nav */
.hx-faq .faq-layout .section-head { top: calc(var(--nav-h) + 84px); }
.hx-calc .summary { top: calc(var(--nav-h) + 72px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hx-steps--4 { grid-template-columns: repeat(2, 1fr); }
  .hx-steps--4 .hx-step::after { display: none; }
}
@media (max-width: 980px) {
  .hx-steps--3 { grid-template-columns: 1fr; }
  .hx-steps--3 .hx-step::after { display: none; }
  .hx-feat { grid-template-columns: 1fr; gap: 40px; }
  .hx-feat__visual { position: static; }
  .hx-calc { grid-template-columns: 1fr; }
  .hx-help { grid-template-columns: 1fr; gap: 28px; }
  .hx-vs .compare tbody th { width: 26%; }
}
@media (max-width: 640px) {
  /* phones: the decorative hero mock goes, so the first price is about one screen down */
  .hx-hero .page-hero__grid > .reveal--right { display: none; }
  .hx-hero { padding-bottom: 44px; }
  .hx-hero p.lead { font-size: 1.04rem; }
  .hx-hero .hero__ctas .btn--lg { padding-left: 18px; padding-right: 18px; }
  .hx-plans, .hx-certs { padding-top: 52px; }
  .hx-plans .section-head p, .hx-certs .section-head p { font-size: 1rem; }
  .hx-free__more { display: none; }
  .hx-strip { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .hx-strip li { padding: 14px 18px; gap: 12px; }
  .hx-steps--4 { grid-template-columns: 1fr; }
  .hx-step { padding: 22px; }
  .hx-planfoot { padding: 14px 16px; }
  .hx-lve__head, .hx-lve__row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) 46px; gap: 8px; padding: 10px 12px; }
  .hx-lve__row em { font-size: 0.64rem; }
  .hx-calc__panel { padding: 22px; gap: 26px; }
  .hx-seg { grid-template-columns: 1fr; }
  .hx-seg span { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .hx-featlist li { grid-template-columns: 32px 1fr; }
  .hx-pkgs span { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .hx-pkgs b { min-width: 72px; }
  .hx-pkgs { grid-template-columns: 1fr; }
  .hx-support { padding: 20px; }
  .hx-support__stats div { padding: 12px; }
  .hx-support__stats dd { font-size: 1.2rem; }

  /* plan tables: each row label gets the full width, its three plan values sit underneath in plan columns
     (a 128px label column wrapped "NVMe storage (shared by all accounts)" onto four lines) */
  .hx-fit .compare, .hx-fit .compare thead, .hx-fit .compare tbody { display: block; min-width: 0; font-size: 0.86rem; }
  .hx-fit .compare tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-fit .compare thead th:first-child { display: none; }
  .hx-fit .compare thead th { padding: 14px 6px; font-size: 0.9rem; text-align: center; }
  .hx-fit .compare tbody th { grid-column: 1 / -1; padding: 12px 14px 2px; border-bottom: 0; text-align: left; color: var(--ink-2); }
  .hx-fit .compare tbody td { padding: 6px 6px 12px; text-align: center; }
  .hx-fit .compare tr.group td { grid-column: 1 / -1; padding: 10px 14px; font-size: 0.62rem; letter-spacing: 0.08em; text-align: left; }
  .hx-fit .compare td.hx-span { grid-column: 1 / -1; padding: 4px 14px 12px; text-align: left; }

  /* two-option comparisons: each row becomes a heading with the two answers stacked full width, each
     tagged with its option in a left gutter (two 178px columns wrapped every answer onto 4–5 lines) */
  .hx-vs .compare, .hx-vs .compare tbody { display: block; min-width: 0; }
  .hx-vs .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hx-vs .compare tr { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hx-vs .compare tbody th { width: auto; padding: 14px 14px 4px; border-bottom: 0; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
  .hx-vs .compare td { position: relative; padding: 7px 14px 7px 104px; font-size: 0.88rem; line-height: 1.45; border-bottom: 0; }
  .hx-vs .compare td:last-child { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
  .hx-vs .compare td::before { content: attr(data-label); position: absolute; left: 14px; top: 10px; width: 80px; font-family: var(--mono); font-size: 0.6rem; line-height: 1.35; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
  .hx-vs .compare td.is-hl::before { color: var(--accent); }
  .hx-vs .compare tbody tr:last-child td:last-child { border-bottom: 0; }
}

/* ==========================================================================
   Business email
   ========================================================================== */
.hx-mailwrap { position: relative; padding-bottom: 22px; }
.hx-mail__body { display: grid; grid-template-columns: 140px 1fr; min-height: 340px; }
.hx-mail__side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; border-right: 1px solid var(--line); background: var(--bg); font-size: 0.78rem; color: var(--muted); }
.hx-mail__side > span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; white-space: nowrap; }
.hx-mail__side svg { width: 14px; height: 14px; color: var(--faint); }
.hx-mail__side b { margin-left: auto; font-family: var(--mono); font-size: 0.68rem; font-weight: 500; color: var(--muted); }
.hx-mail__side .is-on { background: var(--card); color: var(--ink); font-weight: 560; box-shadow: var(--shadow-sm); }
.hx-mail__side .is-on svg, .hx-mail__side .is-on b { color: var(--accent); }
.hx-mail__side .hx-mail__compose { margin-bottom: 8px; justify-content: center; background: var(--inv-bg); color: var(--inv-ink); font-weight: 560; padding: 8px; }
.hx-mail__side .hx-mail__compose svg { color: inherit; }
.hx-mail__side .hx-mail__sep { margin-top: 10px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.hx-mail__main { min-width: 0; display: flex; flex-direction: column; }
.hx-mail__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.hx-mail__me { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 560; color: var(--ink); white-space: nowrap; }
.hx-mail__me i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-style: normal; font-size: 0.66rem; font-weight: 600; }
.hx-mail__search { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); font-size: 0.72rem; color: var(--faint); }
.hx-mail__search svg { width: 12px; height: 12px; }
.hx-mail__row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.78rem; }
.hx-mail__row div { min-width: 0; display: grid; gap: 1px; }
.hx-mail__row b { font-weight: 500; color: var(--ink-2); }
.hx-mail__row span { color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-mail__row time { font-family: var(--mono); font-size: 0.66rem; color: var(--faint); }
.hx-mail__row.is-unread b { font-weight: 640; color: var(--ink); }
.hx-mail__row.is-unread span { color: var(--muted); }
.hx-mail__row.is-unread time { color: var(--accent); }
.hx-mail__row.is-unread { box-shadow: inset 2px 0 0 var(--accent); }
.hx-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 0.62rem; font-weight: 500; background: var(--accent-soft); color: var(--accent); }
.hx-av svg { width: 14px; height: 14px; }
.hx-av--b { background: var(--green-soft); color: var(--green); }
.hx-av--c { background: color-mix(in srgb, var(--amber) 16%, transparent); color: color-mix(in srgb, var(--amber) 75%, var(--ink)); }
.hx-av--d { background: var(--bg-2); color: var(--muted); }
.hx-authchip { position: absolute; right: -16px; bottom: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite; }
.hx-authchip span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-family: var(--mono); font-size: 0.7rem; font-weight: 500; }
.hx-authchip svg { width: 11px; height: 11px; }
.hx-authchip small { font-family: var(--mono); font-size: 0.68rem; color: var(--faint); margin-left: 2px; }

/* mailbox quantity */
.hx-qty { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 14px 28px; max-width: 860px; margin: 0 auto 40px; padding: 18px 22px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hx-qty__label label { display: block; font-weight: 580; color: var(--ink); letter-spacing: -0.01em; }
.hx-qty__label small { font-size: 0.8rem; color: var(--muted); }
.hx-stepper { display: inline-flex; align-items: center; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.hx-stepper button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background 0.2s, color 0.2s; }
.hx-stepper button:hover:not(:disabled) { background: var(--inv-bg); color: var(--inv-ink); }
.hx-stepper button:disabled { color: var(--faint); cursor: not-allowed; }
.hx-stepper button svg { width: 16px; height: 16px; }
.hx-stepper input { width: 56px; height: 38px; border: 0; outline: none; background: none; text-align: center; font-family: var(--mono); font-size: 1.15rem; font-weight: 500; color: var(--ink); -moz-appearance: textfield; }
.hx-stepper input::-webkit-outer-spin-button, .hx-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hx-stepper:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.hx-qty__range { min-width: 0; }
.hx-qty__scale { position: relative; display: block; height: 1.3em; }
.hx-qty__scale span { position: absolute; left: calc(11px + (100% - 22px) * var(--x)); transform: translateX(-50%); }
.hx-qty__hint { grid-column: 1 / -1; font-size: 0.84rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
.hx-mtotal { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 16px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 0.84rem; color: var(--muted); }
.hx-mtotal b { font-weight: 560; color: var(--ink); }
.hx-mtotal strong { display: inline-block; font-family: var(--mono); font-size: 0.96rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.plan--featured .hx-mtotal { background: color-mix(in srgb, var(--inv-ink) 8%, transparent); border-color: color-mix(in srgb, var(--inv-ink) 14%, transparent); color: var(--inv-muted); }
.plan--featured .hx-mtotal b, .plan--featured .hx-mtotal strong { color: var(--inv-ink); }
.hx-mtotal strong.is-bump { animation: hx-bump 0.45s var(--ease); }
@keyframes hx-bump { 40% { transform: translateY(-3px); color: var(--accent); } }
.hx-plan .plan__price .per { font-size: 0.86rem; }

/* features bento */
.hx-bento .tile h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hx-bento .tile h3 .badge { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; }
/* full-width closing tile; needs .hx-bento > to beat style.css's .bento > .tile { span 2 } (it was left as a lone 1/3 tile) */
.hx-bento > .hx-tile--w6 { grid-column: 1 / -1; }
.hx-tile__split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
.hx-tile__split p { margin-top: 8px; }
/* email features: each mock UI sits on its own stage at the top of the tile, the copy underneath (no icon squares) */
.hx-bento .tile > .tile__visual { order: -1; display: grid; align-content: center; min-height: 176px; margin: -28px -28px 22px; padding: 24px 26px; background-color: var(--bg-2); background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1.3px); background-size: 16px 16px; border-bottom: 1px solid var(--line); }
.hx-bento .hx-settings, .hx-bento .hx-routes div { background: var(--card); }
.hx-bento .tile > .hx-shared { display: flex; justify-content: center; gap: 22px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.hx-bento .hx-shared__box { padding: 10px 14px 10px 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hx-bento .tile > .hx-years { display: flex; height: 176px; }
@media (min-width: 981px) {
  .hx-bento .tile--w4 > .tile__visual, .hx-bento .tile--w4 + .tile > .tile__visual { min-height: 224px; }
}
.hx-settings { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 0.82rem; }
.hx-settings__row { display: grid; grid-template-columns: 1.1fr 1.6fr 0.5fr 0.8fr; gap: 12px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--line); color: var(--ink-2); }
.hx-settings__row:first-child { border-top: 0; }
.hx-settings__head { background: var(--bg); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.hx-settings__row b { font-weight: 600; color: var(--ink); }
.hx-settings__row code { padding: 0; border: 0; background: none; font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-settings__row > span:nth-child(3) { font-family: var(--mono); color: var(--accent); }
.hx-settings__row > span:nth-child(4) { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); }
.hx-settings__head > span:nth-child(3), .hx-settings__head > span:nth-child(4) { color: var(--faint); font-size: 0.66rem; }
.hx-settings var, .hx-dns var { font-style: normal; color: var(--accent); }
.hx-week { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: auto repeat(3, 26px); gap: 5px; }
.hx-week > span { font-family: var(--mono); font-size: 0.66rem; color: var(--faint); text-align: center; }
.hx-week i { grid-column: var(--c); grid-row: calc(var(--r) + 1) / span var(--h); display: block; padding: 5px 6px; border-radius: 7px; background: var(--accent-soft); border-left: 2px solid var(--accent); font-style: normal; font-size: 0.64rem; line-height: 1.25; color: var(--ink-2); overflow: hidden; overflow-wrap: anywhere; }
.hx-week i.b { background: var(--green-soft); border-left-color: var(--green); }
.hx-week i.c { background: color-mix(in srgb, var(--amber) 14%, transparent); border-left-color: var(--amber); }
.hx-routes { display: grid; gap: 6px; }
.hx-routes div { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.hx-routes code { padding: 0; border: 0; background: none; font-size: 0.78rem; }
.hx-routes svg { width: 13px; height: 13px; color: var(--faint); }
.hx-routes small { margin-left: auto; font-family: var(--mono); font-size: 0.64rem; color: var(--faint); }
.hx-shared { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.hx-shared__box { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.hx-shared__box svg { grid-row: span 2; width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); }
.hx-shared__box b { font-family: var(--mono); font-size: 0.82rem; font-weight: 500; color: var(--ink); }
.hx-shared__box small { font-size: 0.72rem; color: var(--faint); }
.hx-shared__people { display: flex; }
.hx-shared__people i { width: 30px; height: 30px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--bg); background: var(--accent-soft); color: var(--accent); font-style: normal; font-family: var(--mono); font-size: 0.6rem; font-weight: 500; }
.hx-shared__people i.b { background: var(--green-soft); color: var(--green); }
.hx-shared__people i.c { background: var(--bg-2); color: var(--muted); }
.hx-years { display: flex; align-items: flex-end; gap: 8px; height: 84px; }
.hx-years span { flex: 1; height: var(--h); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; border-radius: 8px 8px 4px 4px; background: color-mix(in srgb, var(--accent) 14%, transparent); font-family: var(--mono); font-size: 0.66rem; color: var(--accent); }
.hx-years span.is-on { background: var(--accent); color: var(--accent-ink); }
.hx-console { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); font-size: 0.82rem; }
.hx-console__top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.hx-console__top b { font-weight: 600; color: var(--ink); }
.hx-console__top span { font-family: var(--mono); font-size: 0.7rem; color: var(--faint); }
.hx-console__top em { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--inv-bg); color: var(--inv-ink); font-style: normal; font-size: 0.72rem; font-weight: 560; white-space: nowrap; }
.hx-console__row { display: grid; grid-template-columns: 1fr 0.7fr 1.3fr; gap: 12px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--line); }
.hx-console__row:nth-child(2) { border-top: 0; }
.hx-console__row > span:first-child { font-family: var(--mono); font-size: 0.8rem; color: var(--ink); }
.hx-console__plan { justify-self: start; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 0.7rem; color: var(--muted); }
.hx-console__use { display: grid; grid-template-columns: minmax(0, 1fr) 12ch; gap: 8px; align-items: center; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); white-space: nowrap; text-align: right; }

/* hosting email vs business email verdicts */
.hx-verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.hx-verdict__card { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.hx-verdict__card.is-hl { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 8%, transparent); }
.hx-verdict__card .link { font-size: 0.92rem; margin-top: auto; align-self: flex-start; }

/* DNS records */
.hx-dns { margin-top: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.hx-dns__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.hx-dns__head .link { font-size: 0.9rem; }
.hx-dns__tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--amber) 12%, var(--card)); border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent); font-size: 0.8rem; font-weight: 520; color: var(--ink-2); }
.hx-dns__tag svg { width: 15px; height: 15px; color: var(--amber); }
.hx-dns__row { display: grid; grid-template-columns: 96px 150px minmax(0, 1fr) 70px 86px; gap: 16px; align-items: center; padding: 13px 20px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--ink-2); }
.hx-dns__th { background: var(--bg); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); border-top: 0; }
.hx-dns__row code { display: block; padding: 0; border: 0; background: none; font-size: 0.8rem; color: var(--ink); overflow-wrap: anywhere; }
.hx-dns__row > span:first-child { display: flex; align-items: center; gap: 6px; }
.hx-dns__row > span:first-child small { font-family: var(--mono); font-size: 0.66rem; color: var(--faint); }
.hx-dns__row > span:nth-child(4) { font-family: var(--mono); color: var(--muted); }
.hx-rr { display: inline-grid; place-items: center; min-width: 38px; padding: 2px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 0.72rem; font-weight: 500; }
.hx-rr--txt { background: var(--green-soft); color: var(--green); }
.hx-copy { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); font-size: 0.78rem; font-weight: 520; color: var(--ink-2); transition: border-color 0.2s, color 0.2s; }
.hx-copy:hover { border-color: var(--ink); color: var(--ink); }
.hx-copy svg { width: 13px; height: 13px; }
.hx-dns__foot { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg); font-size: 0.86rem; color: var(--muted); }

/* email migration */
.hx-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hx-sources span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 0.84rem; font-weight: 520; color: var(--ink-2); }
.hx-mini-steps { display: grid; margin-bottom: 8px; border-top: 1px solid var(--line); }
.hx-mini-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hx-mini-steps li > b { font-family: var(--mono); font-size: 0.78rem; font-weight: 500; color: var(--accent); padding-top: 2px; }
.hx-mini-steps strong { display: block; font-weight: 580; letter-spacing: -0.01em; }
.hx-mini-steps p { color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
.hx-migr { padding: 30px; }
.hx-migr .hx-migr__bar { border: 0; background: none; padding: 0 0 20px; }
.hx-migr .terminal__bar span { color: var(--faint); }
.hx-migr .terminal__bar i { background: var(--line-2); }

@media (max-width: 980px) {
  .hx-tile__split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hx-qty { grid-template-columns: auto 1fr; }
  .hx-qty__range { grid-column: 1 / -1; }
  .hx-dns__row { grid-template-columns: 80px 120px minmax(0, 1fr) 60px 80px; gap: 12px; }
}
@media (max-width: 640px) {
  .hx-qty { grid-template-columns: 1fr; padding: 18px; justify-items: start; }
  .hx-qty__range, .hx-qty__hint { width: 100%; justify-self: stretch; }
  .hx-bento .tile > .tile__visual { min-height: 0; padding: 22px 20px; }
  .hx-bento .tile > .hx-years { height: 150px; }
  .hx-settings__row { grid-template-columns: 1fr 0.5fr 0.8fr; }
  .hx-settings__row > :nth-child(2) { display: none; }
  .hx-console__row { grid-template-columns: 1fr 1.2fr; }
  .hx-console__plan, .hx-console__top span { display: none; }
  .hx-verdict { grid-template-columns: 1fr; }
  .hx-verdict__card { padding: 22px; }
  .hx-dns__th { display: none; }
  .hx-dns__row { grid-template-columns: auto 1fr auto; grid-template-areas: "type host copy" "value value value" "prio prio prio"; gap: 8px 12px; padding: 14px 16px; }
  .hx-dns__row > :nth-child(1) { grid-area: type; }
  .hx-dns__row > :nth-child(2) { grid-area: host; }
  .hx-dns__row > :nth-child(3) { grid-area: value; padding: 8px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); }
  .hx-dns__row > :nth-child(4) { grid-area: prio; font-size: 0.76rem; }
  .hx-dns__row > :nth-child(4)::before { content: attr(data-label) " "; font-family: var(--mono); color: var(--faint); }
  .hx-dns__row > :nth-child(5) { grid-area: copy; }
  .hx-dns__th + .hx-dns__row { border-top: 0; }
  .hx-dns__row > .hx-na { display: none; }
  .hx-migr { padding: 22px; }
}

/* ==========================================================================
   SSL certificates
   ========================================================================== */
/* hero: address bar + certificate details card */
.hx-certhero { position: relative; padding: 0 0 200px 0; }
.hx-addr { width: 90%; margin-left: auto; }
.hx-addr__page { display: grid; gap: 12px; padding: 22px 22px 26px; }
.hx-addr__page > .hx-addr__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: auto; background: none; margin-top: 14px; }
.hx-addr__cards i { height: 64px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.hx-addr__page > span { display: block; border-radius: 6px; background: var(--bg-2); }
.hx-addr__page > .hx-addr__nav { display: flex; align-items: center; gap: 10px; height: auto; background: none; margin-bottom: 10px; }
.hx-addr__nav b { width: 70px; height: 12px; border-radius: 6px; background: var(--ink); opacity: 0.85; }
.hx-addr__nav i { width: 38px; height: 8px; border-radius: 4px; background: var(--line-2); }
.hx-addr__nav i:first-of-type { margin-left: auto; }
.hx-addr__h { height: 22px; width: 72%; }
.hx-addr__l { height: 10px; width: 88%; }
.hx-addr__l--s { width: 56%; }
.hx-addr__page > .hx-addr__cta { height: 26px; width: 110px; border-radius: 999px; background: var(--accent); opacity: 0.85; margin-top: 6px; }
.hx-certcard { position: absolute; left: 0; bottom: 0; width: min(380px, 78%); padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 14px; animation: bob 8s ease-in-out infinite; }
.hx-certcard__head { display: flex; align-items: center; gap: 12px; }
.hx-certcard__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); flex: none; }
.hx-certcard__icon svg { width: 18px; height: 18px; }
.hx-certcard__head b { display: block; font-size: 0.95rem; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.hx-certcard__head small { font-size: 0.78rem; color: var(--green); }
.hx-certcard__kv { display: grid; margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.hx-certcard__kv div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); font-size: 0.78rem; }
.hx-certcard__kv div:first-child { border-top: 0; }
.hx-certcard__kv dt { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); align-self: center; }
.hx-certcard__kv dd { margin: 0; color: var(--ink); display: flex; align-items: center; gap: 6px; min-width: 0; }
.hx-vtag { padding: 1px 7px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-family: var(--mono); font-size: 0.66rem; font-weight: 500; }
.hx-certcard__sub { display: grid; gap: 8px; }
.hx-certcard__subhead { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.78rem; font-weight: 560; color: var(--ink-2); }
.hx-certcard__subhead small { font-family: var(--mono); font-size: 0.66rem; font-weight: 400; color: var(--faint); }
.hx-dots { display: flex; gap: 4px; }
.hx-dots i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.hx-dots i.is-on { background: var(--green); }

/* free AutoSSL banner */
.hx-free { padding-top: 0; }
.hx-freebox { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 24px 28px; border-radius: var(--radius-lg); background: var(--green-soft); border: 1px solid color-mix(in srgb, var(--green) 28%, transparent); }
.hx-freebox__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--card); color: var(--green); box-shadow: var(--shadow-sm); }
.hx-freebox__icon svg { width: 24px; height: 24px; }
.hx-freebox h2 { font-size: 1.3rem; letter-spacing: -0.03em; font-weight: 580; margin-bottom: 6px; }
.hx-freebox p { color: var(--ink-2); font-size: 0.95rem; max-width: 760px; }

/* catalogue toolbar */
.hx-certbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hx-filters { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hx-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hx-filter__label { margin-right: 4px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.hx-fchip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 0.86rem; font-weight: 520; color: var(--muted); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.hx-fchip:hover { color: var(--ink); border-color: var(--line-2); }
.hx-fchip.is-on { background: var(--inv-bg); color: var(--inv-ink); border-color: var(--inv-bg); }
.hx-certcount { margin: 0 4px 0 auto; font-family: var(--mono); font-size: 0.74rem; color: var(--faint); white-space: nowrap; }
.hx-certs .hx-certlist { margin-top: 26px; }

/* catalogue rows */
.hx-certlist { display: grid; gap: 10px; }
.hx-certhead, .hx-cert { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) 132px; gap: 20px; align-items: center; }
.hx-certhead { padding: 0 24px 4px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.hx-cert { padding: 22px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); scroll-margin-top: calc(var(--anchor-offset) + 60px); transition: border-color 0.2s, box-shadow 0.3s, transform 0.3s var(--ease); }
.hx-cert:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.hx-cert:target { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.hx-cert:has(input:checked) { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.hx-cert__name { display: flex; gap: 14px; align-items: flex-start; }
.hx-cert__name h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.02em; }
.hx-cert__name h3 .badge { font-size: 0.68rem; letter-spacing: 0; }
.hx-cert__name p { margin-top: 4px; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.hx-seal { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; font-family: var(--mono); font-size: 0.8rem; font-weight: 600; letter-spacing: -0.02em; }
.hx-seal--dv { background: var(--accent-soft); color: var(--accent); }
.hx-seal--ov { background: var(--green-soft); color: var(--green); }
.hx-seal--ev { background: var(--inv-bg); color: var(--inv-ink); }
.hx-cert__cell { display: grid; gap: 2px; min-width: 0; }
.hx-cert__cell small { display: none; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.hx-cert__cell b { font-size: 0.92rem; font-weight: 560; color: var(--ink); letter-spacing: -0.01em; }
.hx-cert__cell span { font-size: 0.8rem; color: var(--muted); }
.hx-cert__price p { display: flex; align-items: baseline; gap: 2px; color: var(--ink); }
.hx-cert__price .cur { font-size: 1rem; }
.hx-cert__price .amt { display: inline-block; font-size: 1.6rem; font-weight: 540; letter-spacing: -0.045em; line-height: 1.1; }
.hx-cert__price small { font-size: 0.82rem; color: var(--muted); margin-left: 2px; }
.hx-cert__price > span { display: block; font-family: var(--mono); font-size: 0.7rem; color: var(--faint); margin-top: 2px; }
.hx-cert__act { display: grid; gap: 8px; justify-items: stretch; }
.hx-cmpcheck { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 32px; padding: 0 10px; border-radius: 999px; border: 1px dashed var(--line-2); font-size: 0.82rem; font-weight: 520; color: var(--muted); cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.hx-cmpcheck input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.hx-cmpcheck:hover { color: var(--ink); border-color: var(--ink); }
.hx-cmpcheck:has(input:checked) { border-style: solid; border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.hx-cmpcheck.is-disabled { opacity: 0.45; cursor: not-allowed; }
.hx-cmpcheck:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.hx-certlist:has(.hx-empty:not([hidden])) .hx-certhead { display: none; }
.hx-empty { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 18px; border: 1px dashed var(--line-2); background: var(--bg); }
.hx-empty > svg { width: 22px; height: 22px; color: var(--faint); flex: none; }
.hx-empty strong { display: block; }
.hx-empty p { color: var(--muted); font-size: 0.9rem; }
.hx-empty .btn { margin-left: auto; }

/* compare tray */
.hx-cmpbar { position: fixed; left: 50%; bottom: 20px; z-index: 85; width: min(680px, calc(100% - 32px)); transform: translate(-50%, 24px); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s; pointer-events: none; }
.hx-cmpbar.is-in { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.hx-cmpbar.is-in.is-away { transform: translate(-50%, 24px); opacity: 0; pointer-events: none; }
/* dark in both themes (it floats over the page) */
.hx-cmpbar__inner { --inv-bg: var(--panel-inv); --inv-ink: var(--panel-inv-ink); --inv-muted: var(--panel-inv-muted); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--inv-bg); color: var(--inv-ink); box-shadow: var(--shadow-lg); }
[data-theme="dark"] .hx-cmpbar__inner { box-shadow: 0 0 0 1px var(--panel-inv-line), var(--shadow-lg); }
.hx-cmpbar__label { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 0.9rem; font-weight: 540; }
.hx-cmpbar__label > svg { width: 18px; height: 18px; flex: none; opacity: 0.8; }
.hx-cmpbar__label > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-cmpbar__hint { margin-left: auto; font-family: var(--mono); font-size: 0.7rem; color: var(--inv-muted); white-space: nowrap; }
.hx-cmpbar__clear { padding: 6px 10px; border-radius: 999px; font-size: 0.86rem; color: var(--inv-muted); }
.hx-cmpbar__clear:hover { color: var(--inv-ink); }
.hx-cmpbar .btn--primary { background: var(--accent); color: var(--accent-ink); }
.hx-cmpbar .btn--primary:disabled { opacity: 0.5; cursor: not-allowed; }

/* compare drawer */
.hx-drawer { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; }
.hx-drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 10, 20, 0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s; }
.hx-drawer__panel { position: relative; width: min(1000px, 100%); max-height: min(86vh, 760px); display: flex; flex-direction: column; border-radius: 24px 24px 0 0; background: var(--card); border: 1px solid var(--line); border-bottom: 0; box-shadow: var(--shadow-lg); transform: translateY(40px); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.3s; outline: none; }
.hx-drawer.is-open .hx-drawer__backdrop { opacity: 1; }
.hx-drawer.is-open .hx-drawer__panel { transform: none; opacity: 1; }
.hx-drawer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 26px 16px; border-bottom: 1px solid var(--line); }
.hx-drawer__head h2 { font-size: 1.5rem; letter-spacing: -0.035em; margin-top: 6px; }
.hx-drawer__x { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: background 0.2s, color 0.2s; }
.hx-drawer__x:hover { background: var(--inv-bg); color: var(--inv-ink); }
.hx-drawer__x svg { width: 18px; height: 18px; }
.hx-drawer__body { flex: 1; overflow: auto; padding: 18px 26px; overscroll-behavior: contain; }
.hx-drawer__body .table-wrap { border-radius: var(--radius); }
.hx-drawer__table { min-width: 560px; font-size: 0.88rem; }
.hx-drawer__table th, .hx-drawer__table td { padding: 12px 16px; }
.hx-drawer__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 26px 20px; border-top: 1px solid var(--line); }

/* which certificate */
.hx-which { display: grid; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.hx-which__head, .hx-which__row { display: grid; grid-template-columns: minmax(0, 1.25fr) 190px minmax(0, 1.6fr); gap: 24px; align-items: center; padding: 18px 26px; }
.hx-which__head { padding-block: 12px; background: var(--bg); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line); }
.hx-which__row { border-top: 1px solid var(--line); }
.hx-which__head + .hx-which__row { border-top: 0; }
.hx-which__case { display: flex; align-items: center; gap: 14px; }
.hx-which__icon { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.hx-which__icon svg { width: 19px; height: 19px; }
.hx-which__case b { display: block; font-weight: 580; color: var(--ink); letter-spacing: -0.015em; }
.hx-which__case small { font-size: 0.82rem; color: var(--muted); }
.hx-which__row > p { color: var(--muted); font-size: 0.92rem; }
.hx-pick { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--inv-bg); color: var(--inv-ink); font-size: 0.86rem; font-weight: 560; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.hx-pick::after { content: "→"; transition: transform 0.3s var(--ease); }
.hx-pick:hover { background: var(--accent); color: var(--accent-ink); }
.hx-pick:hover::after { transform: translateX(3px); }
.hx-pick--free { background: var(--green-soft); color: var(--green); }

/* certificate lifetimes */
.hx-life { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.hx-life .section-head { margin-bottom: 28px; }
.hx-life__viz { display: grid; gap: 14px; }
.hx-chart, .hx-timeline { padding: 22px 24px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hx-chart { display: grid; gap: 12px; }
.hx-chart__title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; font-weight: 580; font-size: 0.95rem; color: var(--ink); letter-spacing: -0.015em; }
.hx-chart__title small { font-family: var(--mono); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.hx-chart__row { display: grid; grid-template-columns: 178px 1fr 44px; gap: 14px; align-items: center; font-size: 0.84rem; color: var(--muted); }
.hx-chart__row em { margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-style: normal; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; }
.hx-chart__row b { font-family: var(--mono); font-weight: 500; color: var(--ink); text-align: right; }
.hx-chart__bar { height: 14px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.hx-chart__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: color-mix(in srgb, var(--accent) 35%, var(--line-2)); transition: width 1.2s var(--ease); }
.is-visible .hx-chart__bar i { width: var(--w); }
.hx-chart__row.is-now { color: var(--ink); font-weight: 540; }
.hx-chart__row.is-now .hx-chart__bar i { background: var(--accent); }
.hx-timeline { display: grid; gap: 10px; }
.hx-timeline__track { display: flex; gap: 2px; height: 26px; }
.hx-timeline__track i { flex: var(--g) 1 0; min-width: 2px; border-radius: 4px; background: var(--accent); }
.hx-timeline__track i.b { background: color-mix(in srgb, var(--accent) 60%, var(--card)); }
.hx-timeline__track i.c { background: color-mix(in srgb, var(--accent) 32%, var(--card)); }
.hx-timeline__axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.66rem; color: var(--faint); }
.hx-timeline__note { font-size: 0.86rem; color: var(--muted); }

/* included spec sheet */
.hx-specsplit { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.hx-specsplit .section-head { position: sticky; top: calc(var(--nav-h) + 84px); margin: 0; }
.hx-specsplit .section-head .btn { margin-top: 26px; }
.hx-specs { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.hx-specs > div { padding: 22px 24px; border-top: 1px solid var(--line); }
.hx-specs > div:nth-child(even) { border-left: 1px solid var(--line); }
.hx-specs > div:nth-child(-n + 2) { border-top: 0; }
.hx-specs dt { display: flex; align-items: center; gap: 10px; font-weight: 580; color: var(--ink); letter-spacing: -0.015em; }
.hx-specs dt svg { width: 18px; height: 18px; color: var(--accent); }
.hx-specs dd { margin: 6px 0 0; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 1100px) {
  .hx-certhead { display: none; }
  .hx-cert { grid-template-columns: repeat(3, minmax(0, 1fr)) 132px; row-gap: 16px; }
  .hx-cert__name { grid-column: 1 / -1; }
  .hx-cert__cell small { display: block; }
  .hx-cert { align-items: start; }
  .hx-cert__act { align-self: center; }
  .hx-cert__price { align-self: center; }
  .hx-cert__price { grid-column: 1 / 2; grid-row: 3; }
  .hx-cert__act { grid-column: 2 / -1; grid-row: 3; display: flex; justify-content: flex-end; align-items: center; }
}
@media (max-width: 980px) {
  /* tablet: the button moves under the copy instead of squeezing it into an 8-line column */
  .hx-freebox { grid-template-columns: auto minmax(0, 1fr); align-items: start; row-gap: 18px; }
  .hx-freebox > .btn { grid-column: 2; justify-self: start; }
  .hx-cmpbar { left: 16px; right: 92px; width: auto; transform: translateY(24px); }
  .hx-cmpbar.is-in { transform: none; }
  .hx-cmpbar.is-in.is-away { transform: translateY(24px); }
  .hx-life { grid-template-columns: 1fr; gap: 32px; }
  .hx-specsplit { grid-template-columns: 1fr; gap: 32px; }
  .hx-specsplit .section-head { position: static; }
  .hx-which__head { display: none; }
  .hx-which__row { grid-template-columns: 1fr auto; gap: 10px 20px; }
  .hx-which__row > p { grid-column: 1 / -1; }
  .hx-which__head + .hx-which__row { border-top: 0; }
}
@media (max-width: 640px) {
  .hx-freebox { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; padding: 20px; }
  .hx-freebox__icon { width: 40px; height: 40px; border-radius: 12px; }
  .hx-freebox > .btn { grid-column: 1 / -1; justify-self: start; }
  .hx-certbar { padding: 14px; }
  .hx-filters { gap: 12px; }
  .hx-certcount { margin: 0; white-space: normal; }
  .hx-cert { grid-template-columns: 1fr 1fr; padding: 18px; gap: 14px; }
  .hx-cert__name { grid-column: 1 / -1; }
  .hx-cert__cell:nth-of-type(4) { grid-column: 1 / -1; }
  .hx-cert__price { grid-column: 1 / 2; grid-row: auto; }
  .hx-cert__act { grid-column: 2 / 3; grid-row: auto; display: grid; justify-content: stretch; }
  .hx-empty { flex-wrap: wrap; }
  .hx-empty .btn { margin-left: 0; }
  .hx-cmpbar { bottom: 12px; }
  .hx-cmpbar__inner { padding: 8px 8px 8px 14px; gap: 8px; }
  .hx-cmpbar__label > span, .hx-cmpbar__hint { display: none; }
  .hx-cmpbar__clear { margin-left: auto; padding: 6px 4px; }
  .hx-drawer__panel { max-height: 92vh; border-radius: 20px 20px 0 0; }
  .hx-drawer__head, .hx-drawer__body, .hx-drawer__foot { padding-left: 16px; padding-right: 16px; }
  .hx-drawer__table { min-width: 0; }
  .hx-drawer__table th, .hx-drawer__table td { padding: 10px 8px; font-size: 0.8rem; }
  .hx-which__row { grid-template-columns: 1fr; padding: 18px; }
  .hx-chart, .hx-timeline { padding: 18px; }
  .hx-chart__row { grid-template-columns: 1fr 40px; row-gap: 6px; }
  .hx-chart__row > span { grid-column: 1 / -1; }
  .hx-chart__row .hx-chart__bar { grid-column: 1 / 2; }
  .hx-specs { grid-template-columns: 1fr; }
  .hx-specs > div { padding: 18px; border-left: 0 !important; }
  .hx-specs > div:nth-child(2) { border-top: 1px solid var(--line); }
}

/* tablet (two-column hero, before the plans stack): keep three plans in one row and simplify the hero mocks */
@media (min-width: 821px) and (max-width: 1100px) {
  .hx-plans .pricing--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-plans .pricing--3 .plan { padding-left: 20px; padding-right: 20px; }
  .hx-plans .pricing--3 .plan__price .amt { font-size: 2.6rem; }
  .hx-whm__body, .hx-mail__body { grid-template-columns: 1fr; }
  .hx-whm__side, .hx-mail__side, .hx-mail__search { display: none; }
}

/* ---- visual alignment pass ---- */
/* support stats: when a label wraps to two lines on a phone, the figures still share one baseline */
.hx-support__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hx-support__stats div { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.hx-support__foot .link { white-space: nowrap; }
/* price notes under the plans/certificates: same measure as the web and WordPress hosting notes */
.hx-page .pricing-note { max-width: 900px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.hx-nb { white-space: nowrap; }

/* narrow phones: three stat columns are ~80px wide, so the mono labels tighten to fit ("AVAILABILITY") */
@media (max-width: 420px) {
  .hx-support__stats div { padding: 12px 10px; }
  .hx-support__stats dt { font-size: 0.6rem; letter-spacing: 0.04em; }
}
@media (max-width: 380px) {
  .hx-support__stats dd { font-size: 1.05rem; }
}
