/* ═══════════════════════════════════════════════════════════════
   CompliChef — Homepage (2026 redesign)
   Loaded only by /index.php via $extra_head. Builds on the tokens in
   complichef.css (--green, --card, --font-b …). All classes use the
   hx- prefix so nothing here leaks into other pages.
   Look: light, confident headings (Outfit 500), soft emerald glows,
   glassy cards and pill buttons.
═══════════════════════════════════════════════════════════════ */

:root {
  --hx-amber:  #fbbf24;
  --hx-red:    #f87171;
  --hx-mint:   #6ee7b7;
  --hx-line:   rgba(255,255,255,0.08);
  --hx-glass:  linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  --hx-grad:   linear-gradient(95deg, #6ee7b7 0%, #34d399 50%, #2dd4bf 100%);
  --hx-bg:     #050b14;
}

.hx { overflow-x: clip; background: var(--hx-bg); }
.hx section { position: relative; }
.hx-sec  { padding: clamp(72px, 10vw, 128px) 0; }
.hx-alt  { background: #07101c; }
.hx-glow::before {
  content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: min(1100px, 120vw); height: 520px; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(16,185,129,0.06), transparent 70%);
}
.hx-head { position: relative; text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); }
.hx-head .cc-lead { margin: 0 auto; }
.hx .cc-lead { font-size: 17.5px; line-height: 1.7; color: #9fb3cc; }

/* Type */
.hx-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 10px; margin-bottom: 22px;
  font-size: 13.5px; font-weight: 500; color: #d1fae5;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(110,231,183,0.22);
}
.hx-h1, .hx-h2, .hx-quote {
  font-family: var(--font-b); font-weight: 500; color: #f4f8fc;
  letter-spacing: -0.035em;
}
.hx-h1 { font-size: clamp(40px, 6.6vw, 80px); line-height: 1.02; margin-bottom: 24px; }
.hx-h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; margin-bottom: 18px; }
.hx-grad { background: var(--hx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hx-hl {
  display: inline-block; padding: 0 0.2em 0.06em; margin-top: 0.08em; border-radius: 0.2em;
  background: linear-gradient(180deg, rgba(16,185,129,0.30), rgba(16,185,129,0.12));
  border: 1px solid rgba(110,231,183,0.40);
  box-shadow: 0 0 40px rgba(16,185,129,0.25), inset 0 1px 0 rgba(255,255,255,0.10);
  color: #ecfdf5;
}
.hx-soft { color: #6ee7b7; }
.hx-arrow { width: 17px; height: 17px; flex-shrink: 0; }
.hx-swipe-hint { display: none; text-align: center; font-size: 12.5px; color: var(--text); margin-top: 6px; }

/* Buttons — pill, glowing */
.hx .cc-btn {
  border-radius: 999px; padding: 15px 28px; font-weight: 600;
  background: linear-gradient(180deg, #34d399, #10b981);
  border: 1px solid rgba(167,243,208,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
  color: #03170f !important;
}
.hx .cc-btn:hover { background: linear-gradient(180deg, #6ee7b7, #10b981); transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(16,185,129,0.6), inset 0 1px 0 rgba(255,255,255,0.35); }
.hx .cc-btn-ghost {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.16); color: #e2e8f0 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.hx .cc-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); box-shadow: none; }
.hx .cc-btn-sm { padding: 10px 20px; font-size: 14px; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hx-hero {
  padding: clamp(56px, 8vw, 104px) 0 0;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(16,185,129,0.09) 0%, transparent 70%),
    var(--hx-bg);
  overflow: hidden;
}
.hx-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 10%, transparent 75%);
}
.hx-hero-copy { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hx-founder-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 16px 5px 5px; border-radius: 999px; margin-bottom: 26px;
  font-size: 14px; color: #d1fae5;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hx-line);
  transition: border-color .2s;
}
.hx-founder-pill:hover { border-color: rgba(255,255,255,0.2); }
.hx-founder-pill img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: center 30%; }
.hx-founder-pill b { color: #fff; font-weight: 600; }
.hx-hero-sub { font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.7; color: #9fb3cc; max-width: 640px; margin: 0 auto 34px; }
.hx-hero-sub b { color: #f4f8fc; font-weight: 600; }
.hx-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; }
.hx-proof { display: flex; align-items: center; justify-content: center; gap: 10px 24px; flex-wrap: wrap; margin-top: 26px; font-size: 13.5px; color: #8093ad; }
.hx-proof-item { display: inline-flex; align-items: center; gap: 7px; }
.hx-proof-item svg { width: 16px; height: 16px; color: var(--green); }
.hx-stars { display: inline-flex; gap: 2px; }
.hx-stars svg { width: 15px; height: 15px; color: #00b67a; }
.hx-star-off svg { color: rgba(255,255,255,0.18); }
a.hx-proof-item { color: inherit; }
a.hx-proof-item:hover { color: #cbd5e1; }

/* Real product screenshot, framed and glowing */
.hx-shot { position: relative; max-width: 1100px; margin: clamp(48px, 6vw, 72px) auto 0; padding: 0 0 clamp(56px, 8vw, 96px); }
.hx-shot::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 4%; height: 70%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(16,185,129,0.14), transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.hx-browser {
  position: relative; border-radius: 18px; overflow: hidden;
  background: #0b1322; padding: 0 8px 8px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 50px 120px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.03), inset 0 1px 0 rgba(255,255,255,0.08);
}
.hx-browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 8px; }
.hx-browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.hx-browser-bar span {
  margin: 0 auto; transform: translateX(-24px);
  font-size: 12px; color: #64748b; padding: 4px 16px; border-radius: 8px; background: rgba(255,255,255,0.04);
}
.hx-browser img { width: 100%; height: auto; display: block; border-radius: 11px; }
.hx-photo {
  position: absolute; right: -2%; bottom: 20px; width: 23%; margin: 0;
  transform: rotate(3deg);
}
.hx-photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%;
  border-radius: 18px; border: 4px solid #0e1a2b;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}
.hx-photo figcaption {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  white-space: nowrap; font-size: 12px; font-weight: 600; color: #d1fae5;
  background: #0e1a2b; border: 1px solid rgba(110,231,183,0.35); border-radius: 999px; padding: 6px 12px;
}

/* ── Live counters → big stat row ─────────────────────────────── */
.cc-live { background: var(--hx-bg); border-top: 1px solid var(--hx-line); border-bottom: 1px solid var(--hx-line); }
.cc-live-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 28px clamp(28px, 6vw, 88px); padding: 44px 20px 40px; text-align: center; position: relative; }
.cc-live-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: #fecaca; background: #1a0f14; border: 1px solid rgba(239,68,68,0.4); border-radius: 999px; padding: 5px 12px; }
.cc-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: cc-live-pulse 1.8s ease-out infinite; }
@keyframes cc-live-pulse { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.55); } 80%,100% { box-shadow: 0 0 0 9px rgba(239,68,68,0); } }
.cc-live-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 180px; }
.cc-live-stat[hidden], .cc-live-sep[hidden] { display: none; }
.cc-live-count {
  font-family: var(--font-b); font-size: clamp(44px, 6vw, 72px); font-weight: 300; line-height: 1;
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  background: var(--hx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cc-live-text { font-size: 15px; color: #cbd5e1; }
.cc-live-today { font-size: 12.5px; font-weight: 600; color: var(--hx-mint); }
.cc-live-sep { display: none; }
.cc-live-link { flex-basis: 100%; font-size: 14px; font-weight: 600; color: var(--hx-mint); }
.cc-live-bump { animation: cc-live-bump .6s ease-out; }
@keyframes cc-live-bump { 0% { transform: scale(1.08); } 100% { transform: scale(1); } }

/* ── Sector strip ─────────────────────────────────────────────── */
.hx-sectors { padding: 28px 0; }
.hx-sectors-inner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hx-sectors p { font-size: 14px; color: #8093ad; margin-right: 6px; }
.hx-sector {
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #cbd5e1;
  background: var(--hx-glass); border: 1px solid var(--hx-line);
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.hx-sector:hover { border-color: rgba(255,255,255,0.2); color: #fff; }

/* Glass card base */
.hx-stack-list, .hx-bill-card, .hx-pain, .hx-chain, .hx-how-card, .hx-card, .hx-review, .hx-plan, .cc-faqx-item {
  background: var(--hx-glass); border: 1px solid var(--hx-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ── Subscription stack calculator ────────────────────────────── */
.hx-stack { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
.hx-stack-list { border-radius: 24px; padding: 8px; display: flex; flex-direction: column; }
.hx-sites { display: flex; align-items: center; gap: 6px; padding: 10px 12px 14px; border-bottom: 1px solid var(--hx-line); flex-wrap: wrap; }
.hx-sites > span { font-size: 14px; color: #8093ad; margin-right: auto; }
.hx-sites button {
  padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600;
  color: #cbd5e1; background: transparent; border: 1px solid var(--hx-line); cursor: pointer;
  transition: all .18s;
}
.hx-sites button.is-on { background: rgba(16,185,129,0.18); border-color: rgba(110,231,183,0.5); color: #ecfdf5; }
.hx-app { position: relative; display: grid; grid-template-columns: auto 42px 1fr auto; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; cursor: pointer; transition: background .18s; }
.hx-app:hover { background: rgba(255,255,255,0.03); }
.hx-app + .hx-app { border-top: 1px solid var(--hx-line); border-top-left-radius: 0; border-top-right-radius: 0; }
.hx-app input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hx-tick { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,0.22); transition: all .18s; }
.hx-tick svg { width: 14px; height: 14px; color: #03170f; opacity: 0; transition: opacity .15s; }
.hx-app input:checked ~ .hx-tick { background: #34d399; border-color: #34d399; }
.hx-app input:checked ~ .hx-tick svg { opacity: 1; }
.hx-app input:focus-visible ~ .hx-tick { box-shadow: 0 0 0 4px rgba(16,185,129,0.35); }
.hx-app-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--hx-line); transition: opacity .18s; }
.hx-app-ic svg { width: 20px; height: 20px; }
.hx-app-name { transition: opacity .18s; }
.hx-app-name b { display: block; color: #f4f8fc; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.hx-app-name small { font-size: 13px; color: #8093ad; line-height: 1.4; display: block; }
.hx-app-cost { display: flex; align-items: center; gap: 2px; font-weight: 600; color: #f4f8fc; font-size: 15px; transition: opacity .18s; }
.hx-app-cost input {
  width: 64px; padding: 8px 6px; border-radius: 10px; text-align: right;
  background: rgba(255,255,255,0.05); border: 1px solid var(--hx-line);
  color: #f4f8fc; font: inherit; font-weight: 600; font-size: 16px;
  -moz-appearance: textfield; appearance: textfield;
}
.hx-app-cost input::-webkit-outer-spin-button, .hx-app-cost input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hx-app-cost input:focus { outline: none; border-color: #34d399; }
.hx-app-cost small { font-size: 12px; color: #8093ad; font-weight: 500; margin-left: 3px; }
.hx-app.is-off .hx-app-name, .hx-app.is-off .hx-app-ic, .hx-app.is-off .hx-app-cost { opacity: 0.38; }

.hx-bill { position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; gap: 14px; }
.hx-bill-card { border-radius: 24px; padding: 28px; }
.hx-bill-card.them { background: linear-gradient(180deg, rgba(248,113,113,0.09), rgba(248,113,113,0.02)); border-color: rgba(248,113,113,0.22); }
.hx-bill-card.us { background: linear-gradient(180deg, rgba(16,185,129,0.20), rgba(16,185,129,0.05)); border-color: rgba(110,231,183,0.35); }
.hx-bill-label { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.them .hx-bill-label { color: #fca5a5; }
.us .hx-bill-label { color: var(--hx-mint); }
.hx-bill-num { font-family: var(--font-b); font-weight: 300; font-size: clamp(44px, 5.4vw, 64px); color: #f4f8fc; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hx-bill-num small { font-size: 15px; color: #8093ad; font-weight: 400; letter-spacing: 0; }
.hx-bill-meta { font-size: 14px; color: #9fb3cc; margin-top: 12px; line-height: 1.55; }
.hx-bill-meta b { color: #f4f8fc; font-weight: 600; }
.hx-save { text-align: center; padding: 18px; border-radius: 20px; background: rgba(251,191,36,0.07); border: 1px dashed rgba(251,191,36,0.4); color: #fde68a; font-size: 14.5px; }
.hx-save b { font-family: var(--font-b); font-weight: 500; font-size: 28px; letter-spacing: -0.02em; color: var(--hx-amber); display: block; }
.hx-save[hidden] { display: none; }
.hx-fine { font-size: 13px; color: #8093ad; line-height: 1.65; margin: 20px auto 0; text-align: center; max-width: 820px; }

.hx-pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.hx-pain { padding: 22px; border-radius: 20px; }
.hx-pain-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--hx-mint); background: rgba(16,185,129,0.12); border: 1px solid rgba(110,231,183,0.25); }
.hx-pain-ic svg { width: 19px; height: 19px; }
.hx-pain b { display: block; color: #f4f8fc; font-size: 16px; font-weight: 600; margin: 14px 0 6px; }
.hx-pain p { font-size: 14px; line-height: 1.6; color: #8093ad; }

/* ── How it links: hub + chains ───────────────────────────────── */
.hx-links { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hx-hub { position: relative; width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 1; }
.hx-wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-wire { stroke: rgba(110,231,183,0.35); stroke-width: 1.2; fill: none; stroke-dasharray: 4 7; animation: hx-dash 1.6s linear infinite; }
@keyframes hx-dash { to { stroke-dashoffset: -22; } }
.hx-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 36%; aspect-ratio: 1; border-radius: 50%; padding: 8px;
  background: radial-gradient(circle at 50% 30%, rgba(52,211,153,0.35), rgba(16,185,129,0.08) 70%);
  border: 1px solid rgba(110,231,183,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  display: grid; place-items: center; text-align: center; color: #fff;
}
.hx-core b { font-weight: 600; font-size: clamp(15px, 2.2vw, 20px); letter-spacing: -0.02em; }
.hx-core small { display: block; font-size: clamp(10.5px, 1.3vw, 12px); color: #a7f3d0; margin-top: 3px; }
.hx-node {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  text-align: center; line-height: 1.2; width: 30%;
}
.hx-node span { font-size: clamp(11.5px, 1.4vw, 13.5px); font-weight: 500; color: #e2e8f0; }
.hx-node i {
  font-style: normal; width: clamp(46px, 7vw, 58px); aspect-ratio: 1; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.hx-node i svg { width: 45%; height: 45%; }
.hx-node:hover i { transform: scale(1.06); border-color: currentColor; }

.hx-chains { display: flex; flex-direction: column; gap: 14px; }
.hx-chain { border-radius: 22px; padding: 22px 24px; }
.hx-chain h3 { color: #f4f8fc; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.hx-chain > p { font-size: 14.5px; color: #8093ad; margin-bottom: 16px; line-height: 1.6; }
.hx-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hx-step { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(255,255,255,0.04); border: 1px solid var(--hx-line); color: #cbd5e1; }
.hx-step:last-child { background: rgba(16,185,129,0.14); border-color: rgba(110,231,183,0.4); color: #ecfdf5; }
.hx-step-arrow { color: #34d399; }

/* ── 3 steps ──────────────────────────────────────────────────── */
.hx-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: hx; }
.hx-how-card { position: relative; padding: 32px 28px; border-radius: 24px; overflow: hidden; }
.hx-how-card::before {
  counter-increment: hx; content: '0' counter(hx);
  position: absolute; right: 22px; top: 18px;
  font-size: 15px; font-weight: 600; color: #34d399; letter-spacing: 0.05em;
}
.hx-how-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--hx-mint); background: rgba(16,185,129,0.12); border: 1px solid rgba(110,231,183,0.3); margin-bottom: 22px; }
.hx-how-ic svg { width: 22px; height: 22px; }
.hx-how-card h3 { color: #f4f8fc; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.hx-how-card p { font-size: 15px; line-height: 1.7; color: #9fb3cc; }

/* ── Product bento ────────────────────────────────────────────── */
.hx-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.hx-card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border-radius: 24px; overflow: hidden;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  grid-column: span 2; min-height: 240px;
}
.hx-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); }
.hx-card.big { grid-column: span 4; background: radial-gradient(80% 120% at 0% 0%, rgba(16,185,129,0.08), transparent 60%), var(--hx-glass); }
.hx-card.wide { grid-column: span 3; }
.hx-card.ai { background: radial-gradient(80% 120% at 0% 0%, rgba(139,92,246,0.16), transparent 60%), var(--hx-glass); border-color: rgba(139,92,246,0.25); }
.hx-card-tag { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.hx-card h3 { color: #f4f8fc; font-size: 23px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; line-height: 1.2; }
.hx-card p { font-size: 14.5px; line-height: 1.65; color: #9fb3cc; margin-bottom: 18px; max-width: 520px; }
.hx-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.hx-card li { font-size: 12.5px; font-weight: 500; color: #cbd5e1; background: rgba(255,255,255,0.05); border: 1px solid var(--hx-line); padding: 5px 11px; border-radius: 999px; }
.hx-card-body { position: relative; display: flex; flex-direction: column; flex: 1; }
.hx-card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--hx-mint); font-weight: 600; font-size: 14.5px; }
.hx-card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }  /* whole card clickable */
.hx-card { isolation: isolate; }
.hx-card-body { position: static; }
.hx-card-link svg { transition: transform .2s; }
.hx-card:hover .hx-card-link svg { transform: translateX(4px); }
.hx-card.ai .hx-card-link { color: #c4b5fd; }

/* ── Film ─────────────────────────────────────────────────────── */
.cc-film { position: relative; max-width: 1040px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: #0b1220; box-shadow: 0 40px 100px -30px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); aspect-ratio: 16/9; }
.cc-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-film-sound { position: absolute; top: 18px; right: 18px; display: flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; background: rgba(15,23,42,0.75); color: #fff; font: 600 15px/1 var(--font-b); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s, transform .2s, opacity .3s; }
.cc-film-sound:hover { background: rgba(16,185,129,0.92); transform: translateY(-1px); }
.cc-film-sound svg { width: 20px; height: 20px; flex-shrink: 0; }
.cc-film.has-sound .cc-film-sound { opacity: 0; pointer-events: none; }

/* ── Founder ──────────────────────────────────────────────────── */
.hx-founder { background: radial-gradient(45% 60% at 20% 50%, rgba(16,185,129,0.06), transparent 70%), #07101c; }
.hx-founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hx-polaroid { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.hx-polaroid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 25%; border-radius: 28px; box-shadow: 0 40px 80px rgba(0,0,0,0.5); border: 1px solid rgba(110,231,183,0.25); }
.hx-sticker {
  position: absolute; padding: 12px 16px; border-radius: 16px; font-size: 13px; line-height: 1.35; color: #cbd5e1;
  background: rgba(10,20,34,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(110,231,183,0.35); box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
.hx-sticker b { display: block; font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.hx-sticker.s1 { left: -20px; bottom: 36px; }
.hx-sticker.s2 { right: -16px; top: 28px; }
.hx-quote { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.12; margin-bottom: 24px; }
.hx-quote span { color: var(--hx-mint); }
.hx-founder p.lead { font-size: 17px; line-height: 1.8; color: #9fb3cc; margin-bottom: 16px; }
.hx-founder p.lead strong { color: #f4f8fc; font-weight: 600; }
.hx-sign { display: flex; align-items: center; gap: 14px; margin: 26px 0 22px; }
.hx-sign-av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 30%; border: 2px solid #34d399; }
.hx-sign-name { font-size: 19px; color: #fff; font-weight: 600; line-height: 1.1; }
.hx-sign small { display: block; color: var(--hx-mint); font-weight: 500; font-size: 13.5px; }
.hx-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hx-badge { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #d1fae5; background: rgba(16,185,129,0.1); border: 1px solid rgba(110,231,183,0.3); }
.hx-founder-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Testimonials ─────────────────────────────────────────────── */
.hx-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hx-review { display: flex; flex-direction: column; padding: 28px; border-radius: 24px; }
.hx-review blockquote { font-size: 16px; line-height: 1.7; color: #9fb3cc; margin: 16px 0 22px; flex: 1; }
.hx-review blockquote b { color: #f4f8fc; font-weight: 600; }
.hx-review-who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--hx-line); }
.hx-review-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 16px; color: #ecfdf5; background: linear-gradient(180deg, rgba(52,211,153,0.35), rgba(16,185,129,0.12)); border: 1px solid rgba(110,231,183,0.35); flex-shrink: 0; }
.hx-review-who b { display: block; color: #f4f8fc; font-size: 14.5px; font-weight: 600; }
.hx-review-who small { font-size: 12.5px; color: #8093ad; }
.hx-reviews-foot { text-align: center; margin-top: 30px; }

/* ── Specialist + Solo Labels banners ─────────────────────────── */
.hx-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hx-banner {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(110,231,183,0.25);
  background: radial-gradient(90% 90% at 0% 0%, rgba(16,185,129,0.2), transparent 60%), var(--hx-glass);
  transition: transform .2s, box-shadow .2s;
}
.hx-banner:hover { transform: translateY(-4px); }
.hx-banner.care { background: radial-gradient(90% 90% at 0% 0%, rgba(139,92,246,0.2), transparent 60%), var(--hx-glass); border-color: rgba(167,139,250,0.3); }
.hx-banner.solo { background: radial-gradient(90% 90% at 0% 0%, rgba(251,191,36,0.16), transparent 60%), var(--hx-glass); border-color: rgba(251,191,36,0.28); }
.hx-banner-badge { align-self: flex-start; font-size: 12.5px; font-weight: 500; color: #d1fae5; background: rgba(16,185,129,0.14); border: 1px solid rgba(110,231,183,0.35); padding: 5px 12px; border-radius: 999px; }
.hx-banner.care .hx-banner-badge { color: #ede9fe; background: rgba(139,92,246,0.14); border-color: rgba(167,139,250,0.35); }
.hx-banner.solo .hx-banner-badge { color: #fef3c7; background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.35); }
.hx-banner h3 { color: #fff; font-size: 23px; font-weight: 600; letter-spacing: -0.02em; margin: 16px 0 8px; line-height: 1.2; }
.hx-banner h3 sup { font-size: 0.5em; vertical-align: 0.7em; }
.hx-banner p { font-size: 14.5px; line-height: 1.6; color: #9fb3cc; margin-bottom: 18px; flex: 1; }
.hx-banner-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--hx-mint); }
.hx-banner.care .hx-banner-cta { color: #c4b5fd; }
.hx-banner.solo .hx-banner-cta { color: var(--hx-amber); }

/* ── Pricing ──────────────────────────────────────────────────── */
.hx-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.hx-plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: 26px; }
.hx-plan.pop { background: radial-gradient(100% 70% at 50% 0%, rgba(16,185,129,0.12), transparent 70%), var(--hx-glass); border: 1px solid rgba(110,231,183,0.45); }
.hx-plan-flag { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 600; color: #03170f; background: linear-gradient(180deg, #6ee7b7, #34d399); padding: 5px 12px; border-radius: 999px; }
.hx-plan-name { font-size: 17px; font-weight: 600; color: #f4f8fc; margin-bottom: 18px; }
.hx-plan-price { font-family: var(--font-b); font-size: 60px; font-weight: 300; color: #f4f8fc; line-height: 1; letter-spacing: -0.04em; }
.hx-plan-price small { font-size: 14px; color: #8093ad; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; margin-left: 4px; }
.hx-plan-desc { font-size: 14.5px; color: #9fb3cc; line-height: 1.6; margin: 14px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--hx-line); }
.hx-plan ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.hx-plan li { display: flex; gap: 10px; font-size: 14.5px; color: #cbd5e1; line-height: 1.45; }
.hx-plan li svg { width: 18px; height: 18px; color: #34d399; flex-shrink: 0; margin-top: 1px; }
.hx-plan .cc-btn { margin-top: auto; justify-content: center; }
.hx-plan-note { text-align: center; margin-top: 30px; font-size: 14.5px; color: #8093ad; line-height: 1.8; }
.hx-plan-note a { color: var(--hx-mint); font-weight: 600; }

/* ── FAQ (same behaviour, restyled) ───────────────────────────── */
.cc-faqx { max-width: 920px; margin: 0 auto; }
.cc-faqx-search { position: relative; max-width: 620px; margin: 0 auto 20px; }
.cc-faqx-search svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: #8093ad; pointer-events: none; }
.cc-faqx-search input { width: 100%; padding: 16px 20px 16px 52px; border-radius: 999px; border: 1px solid rgba(110,231,183,0.3); background: rgba(255,255,255,0.04); color: #f4f8fc; font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.cc-faqx-search input::placeholder { color: #8093ad; }
.cc-faqx-search input:focus { border-color: #34d399; box-shadow: 0 0 0 4px rgba(16,185,129,0.15); }
.cc-faqx-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.cc-faqx-topic { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--hx-line); background: transparent; color: #cbd5e1; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.cc-faqx-topic span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(16,185,129,0.14); color: var(--hx-mint); font-size: 12px; font-weight: 600; text-align: center; }
.cc-faqx-topic:hover { border-color: rgba(110,231,183,0.45); color: #fff; }
.cc-faqx-topic.is-active { background: rgba(16,185,129,0.18); border-color: rgba(110,231,183,0.55); color: #ecfdf5; }
.cc-faqx-list { display: flex; flex-direction: column; gap: 10px; }
.cc-faqx-item { border-radius: 18px; overflow: hidden; transition: border-color .2s; }
.cc-faqx-item[open] { border-color: rgba(110,231,183,0.35); }
.cc-faqx-item summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; user-select: none; }
.cc-faqx-item summary::-webkit-details-marker { display: none; }
.cc-faqx-num { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(16,185,129,0.12); color: var(--hx-mint); font-weight: 600; font-size: 14px; }
.cc-faqx-q { flex: 1; min-width: 0; color: #f4f8fc; font-size: 16px; font-weight: 500; line-height: 1.4; }
.cc-faqx-item[open] .cc-faqx-q { color: var(--hx-mint); }
.cc-faqx-tag { flex-shrink: 0; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--hx-line); color: #9fb3cc; font-size: 12px; font-weight: 500; white-space: nowrap; }
.cc-faqx-chev { flex-shrink: 0; width: 20px; height: 20px; color: #8093ad; transition: transform .2s; }
.cc-faqx-item[open] .cc-faqx-chev { transform: rotate(180deg); color: #34d399; }
.cc-faqx-answer { padding: 0 22px 20px 72px; }
.cc-faqx-answer p { margin: 0; color: #9fb3cc; font-size: 15px; line-height: 1.75; }
.cc-faqx-empty { text-align: center; color: #8093ad; margin: 24px 0 0; }
.cc-faqx-empty a { color: var(--hx-mint); font-weight: 600; }
.cc-faqx-pages { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
.cc-faqx-pages button { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 0; background: transparent; color: #cbd5e1; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.cc-faqx-pages button:hover:not(:disabled) { color: var(--hx-mint); }
.cc-faqx-pages button.is-active { background: rgba(16,185,129,0.15); color: var(--hx-mint); box-shadow: inset 0 0 0 1px rgba(110,231,183,0.4); }
.cc-faqx-pages button:disabled { opacity: .35; cursor: default; }

.hx-blog-foot { text-align: center; margin-top: 40px; }

/* ── Final CTA ────────────────────────────────────────────────── */
.hx-final { padding: clamp(80px, 11vw, 140px) 0; background: radial-gradient(55% 70% at 50% 100%, rgba(16,185,129,0.10), transparent 70%), var(--hx-bg); text-align: center; border-top: 1px solid var(--hx-line); overflow: hidden; }
.hx-final .hx-h2 { max-width: 820px; margin-left: auto; margin-right: auto; }
.hx-final .cc-lead { margin: 0 auto 34px; }
.hx-disclaimer { font-size: 12.5px; color: #64748b; max-width: 720px; margin: 40px auto 0; line-height: 1.7; }

/* ── Mobile sticky CTA dock ───────────────────────────────────── */
.hx-dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: none; gap: 8px; padding: 7px;
  background: rgba(8,16,28,0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(110,231,183,0.25); border-radius: 999px; box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  transform: translateY(160%); transition: transform .3s ease;
}
.hx-dock.show { transform: none; }
.hx-dock a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.hx-dock .go { background: linear-gradient(180deg, #34d399, #10b981); color: #03170f; }
.hx-dock .alt { color: #e2e8f0; border: 1px solid rgba(255,255,255,0.14); flex: 0 0 34%; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hx-bento { grid-template-columns: repeat(2, 1fr); }
  .hx-card, .hx-card.wide { grid-column: span 1; }
  .hx-card.big { grid-column: span 2; }
  .hx-pains { grid-template-columns: repeat(2, 1fr); }
  .hx-banners { grid-template-columns: 1fr 1fr; }
  .hx-banner.solo { grid-column: span 2; }
}

@media (max-width: 960px) {
  .hx-links, .hx-founder-grid, .hx-stack { grid-template-columns: 1fr; }
  .hx-bill { position: static; }
  .hx-how, .hx-reviews, .hx-plans { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
  .cc-live-stat { min-width: 0; flex-basis: 100%; }
  .cc-live-inner { gap: 26px; }
  .hx-dock { display: flex; }
  body:has(.hx-dock) { padding-bottom: 84px; }
  #alice-widget { transition: bottom .3s ease; }
  /* On the homepage, Alice shrinks to a round bubble on phones so she doesn't cover content */
  body #alice-widget { right: 16px; }
  body #alice-btn { padding: 9px; }
  body #alice-btn .ab-label { display: none; }
  body #alice-btn .ab-avatar { width: 38px; height: 38px; }
  body #alice-btn .ab-dot { top: 6px; right: 6px; }
  body:has(.hx-dock.show) #alice-widget { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

  /* Swipe rows instead of long vertical stacks */
  .hx-reviews, .hx-how {
    display: flex; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 12px; margin: 0 -20px; padding: 4px 20px 14px; scrollbar-width: none;
  }
  .hx-reviews::-webkit-scrollbar, .hx-how::-webkit-scrollbar { display: none; }
  .hx-review, .hx-how-card { flex: 0 0 86%; scroll-snap-align: center; }
  .hx-swipe-hint { display: block; }

  .hx-photo { width: 34%; right: 0; bottom: 8px; }
  .hx-photo figcaption { display: none; }
}

@media (max-width: 640px) {
  .hx .cc-container { padding: 0 20px; }
  .hx-h1 { letter-spacing: -0.03em; }
  .hx-cta-row .cc-btn { width: 100%; justify-content: center; }
  .hx-proof { gap: 8px 16px; font-size: 13px; }
  .hx-founder-pill { font-size: 13px; }
  .hx-browser { border-radius: 12px; padding: 0 5px 5px; }
  .hx-browser-bar { height: 26px; gap: 5px; }
  .hx-browser-bar i { width: 8px; height: 8px; }
  .hx-browser-bar span { display: none; }
  .hx-browser img { border-radius: 8px; }
  .hx-shot { padding-bottom: 64px; }

  .hx-sectors p { flex-basis: 100%; text-align: center; margin: 0 0 4px; }
  .hx-sector { font-size: 13px; padding: 7px 13px; }

  .hx-stack-list { padding: 4px; border-radius: 20px; }
  .hx-app { grid-template-columns: auto 1fr auto; gap: 12px; padding: 13px 10px; }
  .hx-app-ic { display: none; }
  .hx-app-name small { font-size: 12px; }
  .hx-app-cost input { width: 56px; padding: 7px 5px; }
  .hx-app-cost small { display: none; }
  .hx-pains { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hx-pain { padding: 16px; }
  .hx-pain p { font-size: 13px; }
  .hx-bill-card { padding: 22px; }
  .hx-hub { max-width: 340px; }

  .hx-bento { grid-template-columns: 1fr; gap: 12px; }
  .hx-card, .hx-card.wide, .hx-card.big { grid-column: auto; min-height: 0; padding: 22px; }

  .hx-banners { grid-template-columns: 1fr; }
  .hx-banner.solo { grid-column: auto; }

  .hx-sticker { padding: 10px 12px; font-size: 12px; }
  .hx-sticker b { font-size: 15px; }
  .hx-sticker.s1 { left: 10px; bottom: 16px; }
  .hx-sticker.s2 { right: 10px; top: 16px; }
  .hx-founder-ctas > * { width: 100%; justify-content: center; }

  .cc-film { border-radius: 16px; }
  .cc-film-sound { top: 10px; right: 10px; padding: 8px 13px; font-size: 13px; }
  .cc-film-sound svg { width: 16px; height: 16px; }

  .cc-faqx-item summary { gap: 12px; padding: 15px 16px; flex-wrap: wrap; }
  .cc-faqx-num { width: 30px; height: 30px; font-size: 13px; border-radius: 8px; }
  .cc-faqx-q { font-size: 15px; flex-basis: calc(100% - 76px); }
  .cc-faqx-tag { order: 5; margin-left: 42px; font-size: 11.5px; }
  .cc-faqx-answer { padding: 0 16px 18px; }
  .cc-faqx-topics { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -20px 22px; padding: 0 20px 6px; scrollbar-width: none; }
  .cc-faqx-topics::-webkit-scrollbar { display: none; }
  .cc-faqx-topic { flex-shrink: 0; font-size: 13.5px; }
}

@media (max-width: 380px) {
  .hx-pains { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-wire, .cc-live-dot, .cc-live-bump { animation: none !important; }
}

/* ── Hero: copy and screenshot side by side on desktop ─────────── */
@media (min-width: 1024px) {
  .hx-hero { padding-bottom: clamp(72px, 8vw, 110px); }
  .hx-hero .cc-container { max-width: 1320px; }
  .hx-hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 4vw, 64px); align-items: center; }
  .hx-hero-copy { text-align: left; margin: 0; max-width: none; }
  .hx-h1 { font-size: clamp(40px, 3.9vw, 58px); }
  .hx-hero-sub { margin-left: 0; max-width: 540px; }
  .hx-hero .hx-cta-row, .hx-hero .hx-proof { justify-content: flex-start; }
  .hx-shot { margin: 0; padding: 0 0 28px; max-width: none; }
  .hx-photo { width: 30%; right: -3%; bottom: -8px; }
}

/* Small footnote under product photos (e.g. older hardware shown) */
.v2-note { font-size: 12.5px; color: #8093ad; text-align: center; margin: 22px auto 0; max-width: 640px; line-height: 1.5; }
.hx-core-logo{display:block;width:78%;max-width:170px;height:auto;margin:0 auto 6px}
