/**
 * Basel Hub — site design system v2 (2026-09-23).
 * Dark-first "blue technology" identity derived from the folded-b mark (#19d4ff → #0a84ff → #1f4bff).
 * Loaded after baselhub.css: it re-points the legacy tokens to the v2 palette (so every legacy page inherits the
 * new identity) and defines the v2 components (prefix `hx-`). No inline styles are required anywhere.
 */

:root,
:root[data-theme="dark"],
:root[data-theme="light"] {
  color-scheme: dark;
  --hx-bg: #050b18;
  --hx-bg-2: #07101f;
  --hx-band: #081427;
  --hx-card: #0b1730;
  --hx-card-2: #0e1d3b;
  --hx-line: rgba(126, 166, 230, 0.14);
  --hx-line-2: rgba(120, 176, 255, 0.28);
  --hx-text: #eef3fb;
  --hx-muted: #b0bdd3;
  --hx-subtle: #8795b0;
  --hx-blue: #0a84ff;
  --hx-blue-2: #3d9bff;
  --hx-cyan: #22d3ee;
  --hx-deep: #1f4bff;
  --hx-ok: #34d399;
  --hx-grad: linear-gradient(135deg, #19d4ff 0%, #0a84ff 46%, #1f4bff 100%);
  --hx-radius: 18px;
  --hx-radius-sm: 12px;
  --hx-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 60px -32px rgba(0, 10, 40, 0.9);
  --hx-font: "Thmanyah Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hx-wrap: 1200px;
  --hx-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* legacy tokens → v2 palette, so every existing page follows the new identity */
  --bh-bg: var(--hx-bg);
  --bh-bg-elevated: var(--hx-bg-2);
  --bh-surface: rgba(11, 23, 48, 0.78);
  --bh-surface-solid: var(--hx-card);
  --bh-surface-hover: rgba(30, 60, 120, 0.35);
  --bh-border: var(--hx-line);
  --bh-border-strong: var(--hx-line-2);
  --bh-text: var(--hx-text);
  --bh-text-muted: var(--hx-muted);
  --bh-text-subtle: var(--hx-subtle);
  --bh-accent: var(--hx-blue-2);
  --bh-accent-strong: var(--hx-blue);
  --bh-accent-contrast: #ffffff;
  --bh-font: var(--hx-font);
  --bh-font-ar: var(--hx-font);
  --bh-font-en: var(--hx-font);
  --bh-gradient-brand: var(--hx-grad);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--hx-bg);
  color: var(--hx-text);
  font-family: var(--hx-font);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(10, 132, 255, 0.16), transparent 62%),
    radial-gradient(700px 420px at 0% 18%, rgba(34, 211, 238, 0.07), transparent 60%);
  mask-image: none;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hx-wrap { width: min(var(--hx-wrap), 100% - 40px); margin-inline: auto; }
.hx-shell { min-height: 100vh; display: flex; flex-direction: column; }
.hx-shell > main { flex: 1; }
.bh-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--hx-cyan);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ── Typography ── */
.hx-shell h1, .hx-shell h2, .hx-shell h3 { font-family: var(--hx-font); color: var(--hx-text); margin: 0; letter-spacing: 0; }
:root[dir="ltr"] .hx-shell h1, :root[dir="ltr"] .hx-shell h2 { letter-spacing: -0.02em; }
.hx-shell p { margin: 0; }
.hx-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--hx-cyan); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em;
}
.hx-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--hx-grad); }
.hx-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 44px; }
.hx-head h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.3; font-weight: 700; text-wrap: balance; }
.hx-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.hx-lead { color: var(--hx-muted); font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem); max-width: 62ch; text-wrap: pretty; }
.hx-center { text-align: center; margin-top: 28px; }

/* ── Buttons & links ── */
.hx-btn {
  --pad: 14px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: var(--pad); border-radius: 12px;
  font: 600 1rem/1.2 var(--hx-font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 160ms var(--hx-ease), background-color 160ms var(--hx-ease), border-color 160ms var(--hx-ease), box-shadow 160ms var(--hx-ease);
}
.hx-btn--sm { min-height: 40px; --pad: 9px 16px; font-size: 0.93rem; border-radius: 10px; }
.hx-btn--block { width: 100%; }
.hx-btn--primary { color: #fff; background: var(--hx-grad); box-shadow: 0 10px 28px -12px rgba(10, 132, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.hx-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -12px rgba(10, 132, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.hx-btn--ghost { color: var(--hx-text); background: rgba(255, 255, 255, 0.03); border-color: var(--hx-line-2); }
.hx-btn--ghost:hover { background: rgba(61, 155, 255, 0.1); border-color: rgba(61, 155, 255, 0.55); }
.hx-btn__icon, .hx-link__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:root[dir="rtl"] .hx-btn__icon, :root[dir="rtl"] .hx-link__icon { transform: scaleX(-1); }
.hx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-actions--center { justify-content: center; }
.hx-link { display: inline-flex; align-items: center; gap: 8px; color: var(--hx-blue-2); font-weight: 600; text-decoration: none; margin-top: 18px; }
.hx-link:hover { color: #7dc0ff; }
.hx-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── Header ── */
.hx-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 11, 24, 0.78);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--hx-line);
}
.hx-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.hx-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--hx-text); text-decoration: none; flex: none; }
.hx-brand img { border-radius: 9px; }
.hx-brand__name { font-size: 1.18rem; font-weight: 500; direction: ltr; letter-spacing: -0.01em; }
.hx-brand__name strong { font-weight: 700; background: var(--hx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 12px; flex: 1; }
.hx-nav__link {
  color: var(--hx-muted); text-decoration: none; font-weight: 500; font-size: 0.97rem;
  padding: 8px 12px; border-radius: 10px; transition: color 140ms, background-color 140ms;
}
.hx-nav__link:hover { color: var(--hx-text); background: rgba(255, 255, 255, 0.04); }
.hx-nav__link[aria-current="page"] { color: var(--hx-text); }
.hx-nav__mobile-actions { display: none; }
.hx-header__actions { display: flex; align-items: center; gap: 10px; }
.hx-header__cta { display: flex; gap: 10px; }
.hx-lang {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  color: var(--hx-muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; border: 1px solid var(--hx-line);
}
.hx-lang:hover { color: var(--hx-text); border-color: var(--hx-line-2); }
.hx-menu { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--hx-line-2); background: transparent; color: var(--hx-text); cursor: pointer; place-items: center; }

@media (max-width: 1080px) {
  .hx-menu { display: inline-grid; }
  .hx-header__cta { display: none; }
  .hx-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 16px 20px 22px;
    background: rgba(6, 13, 28, 0.98); border-bottom: 1px solid var(--hx-line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  }
  .hx-nav[data-open="true"] { display: flex; }
  .hx-nav__link { padding: 12px 14px; font-size: 1.02rem; }
  .hx-nav__mobile-actions { display: grid; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--hx-line); }
  .hx-nav__mobile-actions .hx-btn { width: 100%; min-height: 48px; }
  .hx-header__actions { margin-inline-start: auto; }
}

/* ── Sections ── */
.hx-section { padding-block: clamp(56px, 3.5rem + 2vw, 88px); position: relative; }
.hx-section--tight { padding-block: 24px 40px; }
.hx-section--band { background: linear-gradient(180deg, rgba(8, 20, 39, 0.0), var(--hx-band) 14%, var(--hx-band) 86%, rgba(8, 20, 39, 0)); }
.hx-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hx-split > .hx-head, .hx-split > div > .hx-head { margin-bottom: 0; }
@media (max-width: 900px) { .hx-split { grid-template-columns: 1fr; } .hx-split .hx-head { margin-bottom: 8px; } }

/* ── Hero ── */
.hx-hero { padding-block: clamp(56px, 4rem + 3vw, 120px) clamp(48px, 3rem + 3vw, 104px); position: relative; overflow: hidden; }
.hx-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(120, 170, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 170, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.hx-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hx-hero__copy { display: grid; gap: 22px; align-content: start; }
.hx-eyebrow {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: #cfe3ff;
  background: rgba(10, 132, 255, 0.1); border: 1px solid rgba(61, 155, 255, 0.3);
}
.hx-eyebrow img { border-radius: 5px; }
.hx-hero h1 { font-size: clamp(2.05rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.22; font-weight: 700; text-wrap: balance; }
.hx-hero__lead { color: var(--hx-muted); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem); max-width: 56ch; text-wrap: pretty; }
.hx-hero__points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--hx-muted); font-size: 0.95rem; }
.hx-hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hx-hero__points .hx-icon { color: var(--hx-ok); width: 17px; height: 17px; }
@media (max-width: 980px) { .hx-hero__grid { grid-template-columns: 1fr; } }

/* ── Dashboard mock (Control Plane visual language, labels only) ── */
.hx-mock {
  margin: 0; border-radius: 20px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #0c1a36, #091326);
  border: 1px solid var(--hx-line-2);
  box-shadow: 0 50px 100px -40px rgba(10, 132, 255, 0.45), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.hx-mock::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(34, 211, 238, 0.55), transparent 40%, rgba(31, 75, 255, 0.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hx-mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--hx-line); background: rgba(255, 255, 255, 0.02); }
.hx-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.hx-mock__bar em { margin-inline-start: auto; font-style: normal; font-size: 0.78rem; color: var(--hx-subtle); }
.hx-mock__body { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 330px; }
.hx-mock__side { border-inline-end: 1px solid var(--hx-line); padding: 14px 10px; background: rgba(3, 8, 18, 0.35); }
.hx-mock__brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 12px; font-size: 0.9rem; }
.hx-mock__brand img { border-radius: 6px; }
.hx-mock__side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hx-mock__side li { padding: 7px 10px; border-radius: 8px; font-size: 0.84rem; color: var(--hx-subtle); }
.hx-mock__side li.is-active { color: #fff; background: rgba(10, 132, 255, 0.18); box-shadow: inset -3px 0 0 var(--hx-blue); }
:root[dir="ltr"] .hx-mock__side li.is-active { box-shadow: inset 3px 0 0 var(--hx-blue); }
.hx-mock__main { padding: 18px 20px; display: grid; gap: 16px; align-content: start; }
.hx-mock__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hx-mock__title strong { font-size: 1rem; }
.hx-pill { font-size: 0.76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--hx-muted); }
.hx-pill--live { color: #7dd3fc; background: rgba(34, 211, 238, 0.12); }
.hx-mock__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hx-mock__steps li { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--hx-subtle); padding: 6px 10px; border-radius: 9px; }
.hx-mock__steps i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.2); flex: none; position: relative; }
.hx-mock__steps li.is-done { color: var(--hx-muted); }
.hx-mock__steps li.is-done i { border-color: var(--hx-ok); background: rgba(52, 211, 153, 0.18); }
.hx-mock__steps li.is-done i::after { content: ""; position: absolute; inset: 3px 4px 5px; border: solid var(--hx-ok); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.hx-mock__steps li.is-active { color: #fff; background: rgba(10, 132, 255, 0.12); }
.hx-mock__steps li.is-active i { border-color: var(--hx-cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15); }
.hx-mock__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hx-mock__cards div { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--hx-line); background: rgba(255, 255, 255, 0.02); display: grid; gap: 2px; }
.hx-mock__cards span { font-size: 0.74rem; color: var(--hx-subtle); }
.hx-mock__cards strong { font-size: 0.82rem; font-weight: 500; color: var(--hx-muted); line-height: 1.45; }
.hx-mock figcaption { padding: 8px 16px 12px; font-size: 0.74rem; color: var(--hx-subtle); text-align: end; }
@media (max-width: 560px) {
  .hx-mock__body { grid-template-columns: 1fr; min-height: 0; }
  .hx-mock__side { display: none; }
  .hx-mock__cards { grid-template-columns: 1fr; }
}

/* ── Value features ── */
.hx-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--hx-line); border: 1px solid var(--hx-line); border-radius: var(--hx-radius); overflow: hidden; }
.hx-feature { background: var(--hx-bg-2); padding: 30px 28px 32px; display: grid; gap: 12px; align-content: start; transition: background-color 200ms; }
.hx-feature:hover { background: #0a1630; }
.hx-feature__icon { width: 40px; height: 40px; padding: 9px; border-radius: 11px; fill: none; stroke: #9fd0ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; background: rgba(10, 132, 255, 0.12); border: 1px solid rgba(61, 155, 255, 0.25); }
.hx-feature h3 { font-size: 1.12rem; font-weight: 600; margin-top: 6px; }
.hx-feature p { color: var(--hx-muted); font-size: 0.98rem; }
@media (max-width: 980px) { .hx-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .hx-features { grid-template-columns: 1fr; } }

/* ── Steps ── */
.hx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.hx-steps::before { content: ""; position: absolute; top: 22px; inset-inline: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--hx-line-2), transparent); }
.hx-step { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 0 6px; }
.hx-step__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--hx-grad); box-shadow: 0 0 0 6px var(--hx-band), 0 12px 24px -10px rgba(10, 132, 255, 0.8); position: relative; }
.hx-step h3 { font-size: 1.05rem; font-weight: 600; margin-top: 6px; }
.hx-step p { color: var(--hx-muted); font-size: 0.95rem; }
@media (max-width: 980px) {
  .hx-steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin-inline: auto; }
  .hx-steps::before { top: 22px; bottom: 22px; inset-inline-start: 21px; inset-inline-end: auto; width: 1px; height: auto; background: var(--hx-line-2); }
  .hx-step { grid-template-columns: 44px 1fr; justify-items: start; text-align: start; column-gap: 18px; row-gap: 4px; padding: 0 0 26px; }
  .hx-step__n { grid-row: span 2; }
  .hx-step h3 { margin-top: 8px; }
}

/* ── Tabs (inside the platform) ── */
.hx-tabs { border: 1px solid var(--hx-line-2); border-radius: 22px; background: linear-gradient(180deg, rgba(12, 26, 54, 0.7), rgba(8, 18, 38, 0.7)); overflow: hidden; box-shadow: var(--hx-shadow); }
.hx-tablist { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--hx-line); overflow-x: auto; scrollbar-width: none; }
.hx-tablist::-webkit-scrollbar { display: none; }
.hx-tab { flex: none; font: 500 0.96rem var(--hx-font); color: var(--hx-muted); background: transparent; border: 0; padding: 10px 16px; border-radius: 10px; cursor: pointer; }
.hx-tab:hover { color: var(--hx-text); background: rgba(255, 255, 255, 0.04); }
.hx-tab[aria-selected="true"] { color: #fff; background: rgba(10, 132, 255, 0.2); box-shadow: inset 0 0 0 1px rgba(61, 155, 255, 0.35); }
.hx-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 44px); align-items: center; }
.hx-panel[hidden] { display: none; }
.hx-panel__copy { display: grid; gap: 12px; }
.hx-panel__copy h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); font-weight: 700; }
.hx-panel__copy p { color: var(--hx-muted); }
.hx-panel__ui { list-style: none; margin: 0; padding: 14px; display: grid; gap: 8px; border-radius: 16px; background: rgba(3, 8, 18, 0.45); border: 1px solid var(--hx-line); }
.hx-panel__ui li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--hx-line); }
.hx-panel__dot { font: 600 0.78rem var(--hx-font); color: #7dc0ff; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(10, 132, 255, 0.14); direction: ltr; }
.hx-panel__ui i { width: 64px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(61, 155, 255, 0.5), rgba(61, 155, 255, 0.08)); }
:root[dir="rtl"] .hx-panel__ui i { background: linear-gradient(270deg, rgba(61, 155, 255, 0.5), rgba(61, 155, 255, 0.08)); }
@media (max-width: 860px) { .hx-panel { grid-template-columns: 1fr; } .hx-panel__ui i { width: 36px; } }

/* ── Plans ── */
.hx-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.hx-plan {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 28px 26px; border-radius: 20px; background: var(--hx-card); border: 1px solid var(--hx-line);
  box-shadow: var(--hx-shadow);
}
.hx-plan--featured { background: linear-gradient(180deg, #0f2450, #0b1a3a 55%); border-color: rgba(61, 155, 255, 0.55); box-shadow: 0 40px 80px -40px rgba(10, 132, 255, 0.6), var(--hx-shadow); }
.hx-plan__head { display: grid; gap: 6px; }
.hx-plan__badge { justify-self: start; font-size: 0.8rem; font-weight: 600; color: #fff; padding: 4px 12px; border-radius: 999px; background: var(--hx-grad); margin-bottom: 4px; }
.hx-plan h3 { font-size: 1.28rem; font-weight: 700; }
.hx-plan__for { color: var(--hx-subtle); font-size: 0.93rem; }
.hx-plan__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-block: 6px 14px; border-bottom: 1px solid var(--hx-line); }
.hx-plan__price strong { font-size: clamp(2.1rem, 1.8rem + 1vw, 2.6rem); font-weight: 700; line-height: 1; }
.hx-plan__price span { color: var(--hx-muted); font-size: 0.95rem; }
.hx-plan__desc { color: var(--hx-muted); font-size: 0.97rem; }
.hx-plan__features { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.hx-plan__features li { display: flex; align-items: center; gap: 10px; font-size: 0.97rem; }
.hx-plan__features li.is-off { color: var(--hx-subtle); }
.hx-glyph { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 50%; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hx-glyph--yes { stroke: #fff; background: rgba(52, 211, 153, 0.9); }
.hx-glyph--no { stroke: var(--hx-subtle); background: rgba(255, 255, 255, 0.05); }
.hx-plan__details { border-top: 1px solid var(--hx-line); padding-top: 12px; }
.hx-plan__details summary { cursor: pointer; color: var(--hx-blue-2); font-weight: 600; font-size: 0.93rem; list-style: none; }
.hx-plan__details summary::-webkit-details-marker { display: none; }
.hx-plan__details summary::after { content: " +"; }
.hx-plan__details[open] summary::after { content: " −"; }
.hx-plan__limits { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 12px 0 0; font-size: 0.92rem; }
.hx-plan__limits dt { color: var(--hx-subtle); }
.hx-plan__limits dd { margin: 0; font-weight: 600; direction: ltr; text-align: end; }
.hx-plan--loading, .hx-plan.bh-skeleton { min-height: 440px; height: auto; gap: 14px; border-radius: var(--hx-radius-l, 24px); background: rgba(255,255,255,0.03); animation: none; }
.hx-skel { display: block; height: 14px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.1), rgba(255,255,255,0.05)); background-size: 200% 100%; animation: hx-shimmer 1.4s linear infinite; }
.hx-skel--s { width: 40%; } .hx-skel--l { height: 40px; width: 60%; }
@keyframes hx-shimmer { to { background-position: -200% 0; } }
.hx-plans-status { color: var(--hx-subtle); font-size: 0.92rem; text-align: center; margin-top: 28px; }
.hx-plans-status:empty { display: none; }
.hx-note { padding: 22px 24px; border-radius: 16px; border: 1px solid var(--hx-line-2); background: rgba(10, 132, 255, 0.06); color: var(--hx-muted); display: grid; gap: 14px; }
.hx-note--wide { grid-column: 1 / -1; }
@media (max-width: 980px) { .hx-plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .hx-plan--loading { min-height: 220px; } }
@media (prefers-reduced-motion: reduce) { .hx-skel { animation: none; } }

/* ── Comparison matrix ── */
.hx-matrix, .hx-table-wrap { position: relative; overflow-x: auto; max-width: 100%; border: 1px solid var(--hx-line); border-radius: 18px; background: var(--hx-bg-2); }
.hx-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.97rem; }
.hx-table th, .hx-table td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--hx-line); }
.hx-table thead th { font-weight: 700; color: var(--hx-text); background: rgba(10, 132, 255, 0.08); }
.hx-table tbody th { font-weight: 500; color: var(--hx-muted); }
.hx-table td { color: var(--hx-text); }
.hx-table tr:last-child > * { border-bottom: 0; }
.hx-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hx-notes li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--hx-card); border: 1px solid var(--hx-line); color: var(--hx-muted); }
.hx-notes .hx-icon { color: var(--hx-ok); margin-top: 5px; }

/* ── Audience ── */
.hx-audience { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hx-audience li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 24px; border-radius: 16px; background: var(--hx-card); border: 1px solid var(--hx-line); }
.hx-audience span { font-weight: 700; color: #7dc0ff; font-size: 0.95rem; padding-top: 2px; direction: ltr; }
.hx-audience h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 6px; }
.hx-audience p { color: var(--hx-muted); font-size: 0.97rem; }
@media (max-width: 700px) { .hx-audience { grid-template-columns: 1fr; } }

/* ── Security ── */
.hx-secure { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 4vw, 56px); border-radius: 26px; border: 1px solid var(--hx-line-2); background: radial-gradient(600px 300px at 10% 0%, rgba(10, 132, 255, 0.16), transparent 70%), var(--hx-bg-2); }
.hx-secure__intro .hx-head { margin-bottom: 0; }
.hx-secure__icon { width: 48px; height: 48px; padding: 10px; margin-bottom: 18px; border-radius: 14px; fill: none; stroke: #9fd0ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; background: rgba(10, 132, 255, 0.14); border: 1px solid rgba(61, 155, 255, 0.3); }
.hx-secure__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hx-secure__grid article { padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--hx-line); display: grid; gap: 6px; }
.hx-secure__grid h3 { font-size: 1.02rem; font-weight: 600; }
.hx-secure__grid p { color: var(--hx-muted); font-size: 0.95rem; }
@media (max-width: 900px) { .hx-secure { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hx-secure__grid { grid-template-columns: 1fr; } }

/* ── FAQ (shared faqList markup) ── */
.hx-shell .bh-faq { display: grid; gap: 10px; }
.hx-shell .bh-faq__item { border: 1px solid var(--hx-line); border-radius: 14px; background: var(--hx-card); overflow: hidden; }
.hx-shell .bh-faq__item[open] { border-color: var(--hx-line-2); }
.hx-shell .bh-faq__q { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--hx-text); }
.hx-shell .bh-faq__q::-webkit-details-marker { display: none; }
.hx-shell .bh-faq__q::after { content: ""; width: 10px; height: 10px; flex: none; border: solid var(--hx-muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 180ms var(--hx-ease); margin-top: -4px; }
.hx-shell .bh-faq__item[open] .bh-faq__q::after { transform: rotate(-135deg); margin-top: 4px; }
.hx-shell .bh-faq__a { padding: 0 20px 20px; color: var(--hx-muted); margin: 0; }

/* ── Final CTA ── */
.hx-final {
  text-align: center; display: grid; justify-items: center; gap: 16px;
  padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 64px); border-radius: 28px; position: relative; overflow: hidden;
  background: radial-gradient(700px 320px at 50% 0%, rgba(10, 132, 255, 0.3), transparent 70%), linear-gradient(180deg, #0c1c3d, #081329);
  border: 1px solid rgba(61, 155, 255, 0.4);
}
.hx-final img { border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(10, 132, 255, 0.8); }
.hx-final h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 700; line-height: 1.3; }
.hx-final p { color: var(--hx-muted); max-width: 56ch; }
.hx-final .hx-actions { margin-top: 8px; }

/* ── Page hero (inner pages) ── */
.hx-page-hero { padding-block: clamp(56px, 4rem + 2vw, 96px) 24px; }
.hx-page-hero h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }

/* ── Footer ── */
.hx-footer { border-top: 1px solid var(--hx-line); background: #040913; padding-block: 56px 28px; margin-top: 24px; }
.hx-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.hx-footer__brand { display: grid; gap: 14px; align-content: start; }
.hx-footer__brand p { color: var(--hx-subtle); font-size: 0.95rem; max-width: 34ch; }
.hx-footer__mail { color: var(--hx-muted); text-decoration: none; font-size: 0.95rem; direction: ltr; justify-self: start; }
.hx-footer__mail:hover { color: var(--hx-text); }
.hx-footer__col h3 { font-size: 0.92rem; font-weight: 600; color: var(--hx-text); margin-bottom: 14px; }
.hx-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hx-footer__col a, .hx-footer__legal a { color: var(--hx-subtle); text-decoration: none; font-size: 0.93rem; }
.hx-footer__col a:hover, .hx-footer__legal a:hover { color: var(--hx-text); }
.hx-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hx-line); color: var(--hx-subtle); font-size: 0.9rem; }
.hx-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.hx-footer--compact { padding-block: 22px; }
.hx-footer--compact .hx-footer__bottom { margin: 0; padding: 0; border: 0; }
@media (max-width: 980px) { .hx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hx-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .hx-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; } }

/* ── Entrance motion (armed by JS only when motion is allowed) ── */
.hx-motion .hx-reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--hx-ease), transform 520ms var(--hx-ease); }
.hx-motion .hx-reveal.is-in { opacity: 1; transform: none; }

/* ── Legacy inner pages: align headings, cards and CTAs with v2 ── */
.hx-shell .bh-page-intro { padding-block: clamp(56px, 4rem + 2vw, 96px) 12px; background: none; }
.hx-shell .bh-page-intro h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.28; font-weight: 700; max-width: 22ch; text-wrap: balance; }
.hx-shell .bh-page-intro .bh-lead { color: var(--hx-muted); font-size: 1.1rem; max-width: 62ch; margin-top: 14px; }
.hx-shell .bh-section__head h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.3; }
.hx-shell .bh-kicker { color: var(--hx-cyan); }
.hx-shell .bh-cta { border-radius: 26px; border: 1px solid rgba(61, 155, 255, 0.4); background: radial-gradient(600px 280px at 50% 0%, rgba(10, 132, 255, 0.26), transparent 70%), linear-gradient(180deg, #0c1c3d, #081329); }
.hx-shell .bh-cta h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.hx-shell .bh-btn--primary { background: var(--hx-grad); color: #fff; border-color: transparent; }
.hx-shell .bh-card, .hx-shell .bh-form-card { background: var(--hx-card); border-color: var(--hx-line); }
.hx-shell .bh-section--contrast { background: var(--hx-band); }

/* Feature tour (inner page) */
.hx-tour { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hx-tour article { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; min-height: 0; padding: 28px; border: 1px solid var(--hx-line); border-top: 1px solid var(--hx-line); border-radius: var(--hx-radius); background: var(--hx-card); }
.hx-tour article:last-child:nth-child(odd) { grid-column: 1 / -1; }
.hx-tour__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(10, 132, 255, 0.12); border: 1px solid rgba(10, 132, 255, 0.28); color: #5fb4ff; }
.hx-tour__icon .hx-icon { width: 26px; height: 26px; }
.hx-tour__index { display: block; color: var(--hx-subtle); font-size: 0.85rem; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.hx-tour h2 { max-width: none; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); margin: 0 0 8px; }
.hx-tour p { margin: 0; color: var(--hx-muted); }
@media (max-width: 760px) { .hx-tour { grid-template-columns: 1fr; } .hx-tour article { grid-template-columns: 48px 1fr; padding: 22px; gap: 16px; } .hx-tour__icon { width: 48px; height: 48px; } }
