/* Home page (platform-first). Built by ~/OUTPUTS/Appexx Website/build/make-home-page.py. */

.hx-hero { position: relative; overflow: hidden; padding: 150px 0 110px; }
.hx-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; z-index: -1; }
.hx-blob-a { width: 620px; height: 620px; background: hsl(var(--primary) / .28); top: -160px; right: -120px; }
.hx-blob-b { width: 520px; height: 520px; background: hsl(var(--secondary) / .18); bottom: -220px; left: -160px; }
.hx-hero-grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hx-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 72px; } }

.hx-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: hsl(var(--primary)); background: hsl(var(--primary) / .08); border: 1px solid hsl(var(--primary) / .2); margin-bottom: 28px; }
.hx-dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--primary)); box-shadow: 0 0 0 4px hsl(var(--primary) / .18); }
.hx-h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; margin-bottom: 24px; }
.hx-w1 { color: hsl(var(--foreground)); }
.hx-w2 { color: hsl(var(--primary)); }
.hx-w3 { background: linear-gradient(90deg, hsl(var(--accent)), hsl(var(--secondary))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: hsl(var(--muted-foreground)); max-width: 34rem; margin-bottom: 34px; }
.hx-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hx-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 14px; font-weight: 700; font-size: 1rem; color: #fff;
  box-shadow: 0 12px 30px -12px hsl(var(--primary) / .6); transition: transform .3s, box-shadow .3s, background-color .3s; }
.hx-btn:hover { transform: translateY(-2px); }
.hx-btn svg { transition: transform .3s; }
.hx-btn:hover svg { transform: translateX(3px); }
.hx-btn-ghost { color: hsl(var(--foreground)); background: hsl(var(--card)); border: 1.5px solid hsl(var(--border)); box-shadow: 0 8px 24px -16px hsl(var(--foreground) / .4); }
.hx-btn-ghost:hover { border-color: hsl(var(--primary) / .5); color: hsl(var(--primary)); }
.hx-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; color: hsl(var(--muted-foreground)); }
.hx-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hx-trust svg { color: hsl(var(--primary)); }

/* Hero "live" panel */
.hx-panel-wrap { position: relative; }
.hx-panel-wrap::before { content: ""; position: absolute; inset: -14px; border-radius: 32px; z-index: -1;
  background: linear-gradient(135deg, hsl(var(--primary) / .35), hsl(var(--secondary) / .25)); filter: blur(28px); opacity: .7; }
.hx-panel { background: hsl(var(--card) / .92); backdrop-filter: blur(16px); border: 1px solid hsl(var(--border)); border-radius: 24px; padding: 22px;
  box-shadow: 0 30px 70px -30px hsl(var(--primary) / .45); }
.hx-panel-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 16px; border-bottom: 1px solid hsl(var(--border)); margin-bottom: 14px; }
.hx-panel-name { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.hx-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #15803d; background: #dcfce7; padding: 5px 11px; border-radius: 999px; }
.hx-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; animation: hxPulse 1.6s ease-in-out infinite; }
.hx-feed { display: grid; gap: 10px; }
.hx-feed-item { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 16px; background: hsl(var(--muted) / .55); border: 1px solid transparent;
  opacity: 0; transform: translateY(12px); animation: hxIn .6s cubic-bezier(.2,.7,.2,1) forwards, hxGlow 10s ease-in-out infinite;
  animation-delay: calc(var(--d) * .35s + .3s), calc(var(--d) * 2s + 2.5s); }
.hx-feed-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent))); }
.hx-feed-item:nth-child(even) .hx-feed-ic { background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--secondary))); }
.hx-feed-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hx-feed-txt b { font-size: 14px; font-weight: 700; color: hsl(var(--foreground)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-feed-txt small { font-size: 12.5px; color: hsl(var(--muted-foreground)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-tag { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: hsl(var(--primary));
  background: hsl(var(--primary) / .1); padding: 4px 9px; border-radius: 8px; }
.hx-panel-note { margin-top: 12px; text-align: right; font-size: 11px; color: hsl(var(--muted-foreground) / .8); }
@keyframes hxIn { to { opacity: 1; transform: none; } }
@keyframes hxGlow { 0%, 14%, 100% { background: hsl(var(--muted) / .55); border-color: transparent; box-shadow: none; }
  4%, 10% { background: hsl(var(--card)); border-color: hsl(var(--primary) / .35); box-shadow: 0 10px 24px -14px hsl(var(--primary) / .55); } }
@keyframes hxPulse { 50% { opacity: .35; } }

/* Shared section bits */
.hx-sec { padding: 110px 0; position: relative; }
.hx-sec-tint { background: linear-gradient(180deg, transparent, hsl(var(--primary) / .045) 20%, hsl(var(--primary) / .045) 80%, transparent); }
.hx-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.hx-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--primary)); margin-bottom: 14px; }
.hx-h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.hx-h2 .text-gradient { display: inline-block; }

/* Two ways in */
.hx-aud-grid { max-width: 1100px; margin: 0 auto; display: grid; gap: 24px; }
@media (min-width: 900px) { .hx-aud-grid { grid-template-columns: 1fr 1fr; } }
.hx-aud { position: relative; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 26px; padding: 36px;
  box-shadow: 0 24px 60px -40px hsl(var(--foreground) / .35); transition: transform .4s, box-shadow .4s, border-color .4s; display: flex; flex-direction: column; }
.hx-aud::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 26px 26px 0 0;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent))); }
.hx-aud-alt::before { background: linear-gradient(90deg, hsl(var(--accent)), hsl(var(--secondary))); }
.hx-aud:hover { transform: translateY(-4px); border-color: hsl(var(--primary) / .35); box-shadow: 0 30px 70px -36px hsl(var(--primary) / .5); }
.hx-aud-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hx-aud-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent))); }
.hx-aud-alt .hx-aud-ic { background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--secondary))); }
.hx-aud-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.hx-aud-name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 8px; }
.hx-aud-line { font-size: 1.1rem; color: hsl(var(--muted-foreground)); margin-bottom: 26px; }
.hx-feats { display: grid; gap: 12px; margin-bottom: 30px; }
.hx-feats li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1rem; color: hsl(var(--foreground)); }
.hx-feat-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: hsl(var(--primary)); background: hsl(var(--primary) / .09); }
.hx-aud-alt .hx-feat-ic { color: hsl(var(--secondary)); background: hsl(var(--secondary) / .08); }
.hx-aud-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: hsl(var(--primary)); }
.hx-aud-alt .hx-aud-cta { color: hsl(var(--secondary)); }
.hx-aud-cta svg { transition: transform .3s; }
.hx-aud:hover .hx-aud-cta svg { transform: translateX(4px); }

/* How it works */
.hx-steps { max-width: 1050px; margin: 0 auto; display: grid; gap: 40px; position: relative; counter-reset: s; }
@media (min-width: 820px) {
  .hx-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .hx-steps::before { content: ""; position: absolute; top: 44px; left: 16.6%; right: 16.6%; height: 3px; border-radius: 3px; z-index: 0;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)), hsl(var(--secondary))); opacity: .35; }
}
.hx-step { text-align: center; position: relative; z-index: 1; }
.hx-step-ic { position: relative; width: 88px; height: 88px; border-radius: 26px; margin: 0 auto 22px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent))); box-shadow: 0 18px 40px -16px hsl(var(--primary) / .7); }
.hx-step:nth-child(2) .hx-step-ic { background: linear-gradient(135deg, hsl(var(--accent)), hsl(280 72% 58%)); }
.hx-step:nth-child(3) .hx-step-ic { background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--secondary))); box-shadow: 0 18px 40px -16px hsl(var(--secondary) / .6); }
.hx-step-ic i { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; background: hsl(var(--card)); color: hsl(var(--foreground));
  font-style: normal; font-size: 13px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 4px 12px -4px hsl(var(--foreground) / .35); }
.hx-step h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.hx-step p { color: hsl(var(--muted-foreground)); max-width: 17rem; margin: 0 auto; line-height: 1.55; }

/* Platform tiles */
.hx-tiles { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 820px) { .hx-tiles { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.hx-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; border-radius: 20px; font-weight: 700; font-size: 1.02rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); transition: transform .3s, border-color .3s, box-shadow .3s; }
.hx-tile:hover { transform: translateY(-3px); border-color: hsl(var(--primary) / .35); box-shadow: 0 18px 40px -26px hsl(var(--primary) / .6); }
.hx-tile-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: hsl(var(--primary)); background: hsl(var(--primary) / .09); transition: background .3s, color .3s; }
.hx-tile:hover .hx-tile-ic { color: #fff; background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary))); }

/* Legwork vs human */
.hx-split { max-width: 1000px; margin: 0 auto; display: grid; gap: 20px; }
@media (min-width: 820px) { .hx-split { grid-template-columns: 1fr 1fr; } }
.hx-side { padding: 32px; border-radius: 24px; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); }
.hx-side-alt { background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)) 55%, hsl(var(--secondary))); border-color: transparent; color: #fff;
  box-shadow: 0 30px 60px -30px hsl(var(--primary) / .7); }
.hx-side-head { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 800; margin-bottom: 22px; }
.hx-side-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: hsl(var(--primary)); background: hsl(var(--primary) / .09); }
.hx-side-alt .hx-side-ic { color: #fff; background: rgba(255,255,255,.18); }
.hx-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-chips li { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); }
.hx-side-alt .hx-chips li { background: rgba(255,255,255,.18); color: #fff; }
.hx-more { text-align: center; margin-top: 36px; }
.hx-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: hsl(var(--primary)); }
.hx-more a:hover svg { transform: translateX(3px); }
.hx-more svg { transition: transform .3s; }

@media (max-width: 640px) {
  .hx-hero { padding: 120px 0 80px; }
  .hx-sec { padding: 80px 0; }
  .hx-aud, .hx-side { padding: 26px; }
  .hx-btn { width: 100%; justify-content: center; }
  .hx-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-feed-item { animation: none; opacity: 1; transform: none; }
  .hx-live-dot { animation: none; }
}

/* ---- Gateway (choose your path), 24 Nov 2026 ---- */
.hx-gate { position: relative; overflow: hidden; padding: 150px 0 110px; min-height: calc(100vh - 40px); }
.hx-gate-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.hx-gate-head .hx-lede { margin-left: auto; margin-right: auto; }
.hx-gate .hx-h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
.hx-doors { max-width: 1100px; margin: 0 auto; display: grid; gap: 24px; }
@media (min-width: 860px) { .hx-doors { grid-template-columns: 1fr 1fr; gap: 28px; } }
.hx-door { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 40px; border-radius: 28px; overflow: hidden;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); box-shadow: 0 30px 70px -45px hsl(var(--foreground) / .4);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s; isolation: isolate; }
.hx-door::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; transition: opacity .4s; }
.hx-door-agencies::before { background: linear-gradient(135deg, hsl(var(--primary)), transparent 65%); }
.hx-door-inhouse::before { background: linear-gradient(135deg, hsl(var(--secondary)), transparent 65%); }
.hx-door::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; }
.hx-door-agencies::after { background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent))); }
.hx-door-inhouse::after { background: linear-gradient(90deg, hsl(var(--accent)), hsl(var(--secondary))); }
.hx-door:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px hsl(var(--primary) / .55); border-color: hsl(var(--primary) / .35); }
.hx-door-inhouse:hover { box-shadow: 0 40px 80px -40px hsl(var(--secondary) / .5); border-color: hsl(var(--secondary) / .35); }
.hx-door:hover::before { opacity: .14; }
.hx-door-ic { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; color: #fff; margin-bottom: 26px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent))); box-shadow: 0 16px 36px -14px hsl(var(--primary) / .7); }
.hx-door-inhouse .hx-door-ic { background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--secondary))); box-shadow: 0 16px 36px -14px hsl(var(--secondary) / .6); }
.hx-door-who { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin-bottom: 10px; }
.hx-door-name { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; color: hsl(var(--foreground)); margin-bottom: 10px; }
.hx-door-line { font-size: 1.12rem; color: hsl(var(--muted-foreground)); margin-bottom: 26px; }
.hx-door-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.hx-door-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: .92rem; font-weight: 600;
  color: hsl(var(--primary)); background: hsl(var(--primary) / .08); }
.hx-door-inhouse .hx-door-chips li { color: hsl(var(--secondary)); background: hsl(var(--secondary) / .08); }
.hx-door-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent))); box-shadow: 0 12px 28px -14px hsl(var(--primary) / .7); }
.hx-door-inhouse .hx-door-cta { background: linear-gradient(90deg, hsl(var(--accent)), hsl(var(--secondary))); box-shadow: 0 12px 28px -14px hsl(var(--secondary) / .6); }
.hx-door-cta svg { transition: transform .3s; }
.hx-door:hover .hx-door-cta svg { transform: translateX(4px); }
.hx-gate .hx-more { margin-top: 44px; }
@media (max-width: 640px) { .hx-gate { padding: 120px 0 70px; } .hx-door { padding: 28px; } .hx-door-cta { width: 100%; justify-content: center; } }
.hx-gate { padding-top: 130px; }
.hx-gate-head { max-width: 1040px; margin-bottom: 48px; }
.hx-gate-head .hx-lede { margin-bottom: 0; }

/* ---- Home v3 (24 Nov 2026): globe hero, facts, what / why / how ---- */
.hx-globe { position: relative; display: flex; flex-direction: column; align-items: center; }
.hx-globe .globe-stage { width: min(100%, 540px); }
.hx-globe-tag { margin-top: -8px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: hsl(var(--foreground)); background: hsl(var(--card) / .9); border: 1px solid hsl(var(--border)); box-shadow: 0 12px 30px -18px hsl(var(--primary) / .5); position: relative; z-index: 2; }
.hx-hero { padding-bottom: 60px; }

.hx-facts-sec { padding: 10px 0 30px; position: relative; z-index: 2; }
.hx-facts { max-width: 1150px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .hx-facts { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.hx-fact { padding: 28px 26px; border-radius: 22px; background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  box-shadow: 0 20px 50px -38px hsl(var(--primary) / .6); display: grid; gap: 10px; align-content: start; }
.hx-fact-num { font-size: clamp(2.4rem, 4vw, 3.3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-fact-num small { font-size: .42em; letter-spacing: -0.01em; margin-left: 6px; }
.hx-fact-txt { font-size: .98rem; line-height: 1.45; color: hsl(var(--muted-foreground)); font-weight: 500; }

.hx-intro { max-width: 640px; margin: -28px auto 48px; text-align: center; font-size: 1.12rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.hx-shift { max-width: 1050px; margin: 0 auto; display: grid; gap: 20px; }
@media (min-width: 820px) { .hx-shift { grid-template-columns: repeat(3, 1fr); } }
.hx-shift-item { position: relative; padding: 30px; border-radius: 22px; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); }
.hx-shift-item h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 8px; }
.hx-shift-item p { color: hsl(var(--muted-foreground)); line-height: 1.55; }
.hx-shift-when { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px;
  color: hsl(var(--muted-foreground)); background: hsl(var(--muted)); }
.hx-shift-item:nth-child(2) .hx-shift-when { color: hsl(var(--primary)); background: hsl(var(--primary) / .1); }
.hx-shift-item:nth-child(3) { background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)) 55%, hsl(var(--secondary))); border-color: transparent; color: #fff;
  box-shadow: 0 30px 60px -30px hsl(var(--primary) / .7); }
.hx-shift-item:nth-child(3) p { color: rgba(255,255,255,.85); }
.hx-shift-item:nth-child(3) .hx-shift-when { color: #fff; background: rgba(255,255,255,.2); }
@media (min-width: 820px) {
  .hx-shift-item:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; width: 12px; height: 12px; z-index: 2;
    border-top: 3px solid hsl(var(--primary) / .5); border-right: 3px solid hsl(var(--primary) / .5); transform: translateY(-50%) rotate(45deg); }
}
.hx-split-gap { margin-top: 64px; }

.hx-cta { max-width: 1000px; margin: 0 auto; text-align: center; padding: 64px 32px; border-radius: 32px; color: #fff;
  background: radial-gradient(circle at 20% 0%, hsl(var(--accent)) 0%, transparent 55%), linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  box-shadow: 0 40px 80px -40px hsl(var(--primary) / .7); }
.hx-cta .hx-h2 { color: #fff; }
.hx-cta-grad { color: rgba(255,255,255,.75); }
.hx-cta p { font-size: 1.15rem; color: rgba(255,255,255,.85); margin: 14px 0 30px; }
.hx-btn-light { color: hsl(var(--primary)); background: #fff; box-shadow: 0 16px 36px -16px rgba(0,0,0,.4); }
.hx-btn-light:hover { color: hsl(var(--secondary)); }
@media (max-width: 640px) { .hx-cta { padding: 44px 22px; border-radius: 24px; } .hx-hero-grid { gap: 28px; } }
.hx-globe-tag { margin-top: 22px; }
/* Doors lead with who it's for, in bold (product name dropped, 24 Nov 2026). */
.hx-door-who { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-transform: none; color: hsl(var(--foreground)); margin-bottom: 12px; }
/* "For organisations" hero button: same weight as "For agencies", in the organisations colours. */
.hx-btn-org { background: linear-gradient(90deg, hsl(var(--accent)), hsl(var(--secondary))); box-shadow: 0 12px 30px -12px hsl(var(--secondary) / .6); }
.hx-btn-org:hover { box-shadow: 0 16px 36px -12px hsl(var(--secondary) / .75); }

/* ---- Why we built Appexx: slim three-step timeline (replaces the boxes, 24 Nov 2026) ---- */
.hx-flow { position: relative; max-width: 1050px; margin: 8px auto 0; display: grid; gap: 36px; }
.hx-flow::before { content: ""; position: absolute; border-radius: 3px; pointer-events: none;
  background: linear-gradient(90deg, hsl(var(--muted-foreground) / .35), hsl(var(--primary)), hsl(var(--secondary))); }
.hx-flow-step { position: relative; }
.hx-flow-dot { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: hsl(var(--background));
  border: 3px solid hsl(var(--muted-foreground) / .45); z-index: 1; }
.hx-flow-step:nth-child(2) .hx-flow-dot { border-color: hsl(var(--primary)); }
.hx-flow-step:nth-child(3) .hx-flow-dot { border: 0; background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  box-shadow: 0 0 0 6px hsl(var(--secondary) / .15), 0 8px 22px -6px hsl(var(--secondary) / .7); }
.hx-flow-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin-bottom: 10px; }
.hx-flow-step:nth-child(2) .hx-flow-label { color: hsl(var(--primary)); }
.hx-flow-step:nth-child(3) .hx-flow-label { color: hsl(var(--secondary)); }
.hx-flow-step h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 10px; color: hsl(var(--foreground)); }
.hx-flow-step:nth-child(3) h3 { background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-flow-step p { color: hsl(var(--muted-foreground)); line-height: 1.6; font-size: 1.02rem; max-width: 19rem; }
/* Desktop: one line across the top, a dot above each step. */
@media (min-width: 820px) {
  .hx-flow { grid-template-columns: repeat(3, 1fr); gap: 48px; padding-top: 46px; }
  .hx-flow::before { top: 10px; left: 11px; right: calc(33.33% - 11px - 16px); height: 3px; }
  .hx-flow-dot { top: -46px; left: 0; }
}
/* Phone: a vertical line down the left. */
@media (max-width: 819px) {
  .hx-flow { padding-left: 40px; }
  .hx-flow::before { left: 10px; top: 6px; bottom: 30px; width: 3px; background: linear-gradient(180deg, hsl(var(--muted-foreground) / .35), hsl(var(--primary)), hsl(var(--secondary))); }
  .hx-flow-dot { left: -40px; top: 0; }
}

/* ---- How we do it: dark "engine" panel (24 Nov 2026) ---- */
.hx-engine { position: relative; max-width: 1150px; margin: 0 auto; padding: 72px 56px 60px; border-radius: 36px; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(circle at 12% 0%, hsl(var(--primary) / .5), transparent 45%), radial-gradient(circle at 92% 100%, hsl(var(--secondary) / .38), transparent 48%), hsl(252 42% 11%);
  box-shadow: 0 50px 100px -50px hsl(var(--primary) / .8); }
.hx-engine::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hx-engine .hx-head { margin-bottom: 64px; }
.hx-engine .hx-eyebrow { color: hsl(285 90% 82%); }
.hx-engine .hx-h2 { color: #fff; }
.hx-engine .hx-h2 .text-gradient { background-image: linear-gradient(90deg, hsl(275 95% 78%), hsl(330 95% 72%)); }

.hx-pipe { position: relative; display: grid; gap: 40px; }
.hx-pipe-step { position: relative; text-align: center; }
.hx-pipe-ic { position: relative; z-index: 1; width: 92px; height: 92px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 8px rgba(255,255,255,.03), 0 18px 40px -16px hsl(var(--primary) / .9); }
.hx-pipe-step:nth-child(2) .hx-pipe-ic { box-shadow: 0 0 0 8px rgba(255,255,255,.03), 0 18px 40px -16px hsl(var(--accent) / .9); }
.hx-pipe-step:nth-child(3) .hx-pipe-ic { background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary))); border-color: transparent;
  box-shadow: 0 0 0 8px hsl(var(--secondary) / .15), 0 18px 44px -14px hsl(var(--secondary) / .9); }
.hx-pipe-ic i { position: absolute; top: -6px; right: -10px; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 4px 8px; border-radius: 999px;
  color: hsl(252 42% 11%); background: #fff; }
.hx-pipe-step h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 8px; color: #fff; }
.hx-pipe-step p { color: rgba(255,255,255,.72); line-height: 1.55; max-width: 17rem; margin: 0 auto; }
@media (min-width: 820px) {
  .hx-pipe { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .hx-pipe::before { content: ""; position: absolute; top: 46px; left: 16.66%; right: 16.66%; height: 2px;
    background: linear-gradient(90deg, hsl(var(--primary) / .7), hsl(var(--accent) / .7), hsl(var(--secondary) / .7)); }
  .hx-pipe::after { content: ""; position: absolute; top: 42px; left: 16.66%; width: 10px; height: 10px; border-radius: 50%; background: #fff;
    box-shadow: 0 0 12px 4px hsl(var(--secondary) / .8), 0 0 30px 8px hsl(var(--primary) / .5); animation: hxTravel 3.6s cubic-bezier(.6,0,.4,1) infinite; }
}
@keyframes hxTravel { 0% { left: 16.66%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(83.33% - 10px); opacity: 0; } }

.hx-hand { margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hx-hand { grid-template-columns: 1fr auto 1fr; gap: 36px; } }
.hx-hand-head { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; font-weight: 800; margin-bottom: 18px; color: #fff; }
.hx-hand-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; }
.hx-hand-team .hx-hand-ic { background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary))); }
.hx-hand-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.hx-hand-chips li { padding: 8px 15px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: rgba(255,255,255,.78); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.hx-hand-team .hx-hand-chips li { color: #fff; border-color: transparent; background: linear-gradient(90deg, hsl(var(--primary) / .9), hsl(var(--secondary) / .9)); }
.hx-hand-mid { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hx-hand-circle { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary))); box-shadow: 0 0 0 10px rgba(255,255,255,.05), 0 16px 40px -12px hsl(var(--secondary) / .9); }
.hx-hand-circle svg { animation: hxNudge 1.8s ease-in-out infinite; }
.hx-hand-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
@keyframes hxNudge { 50% { transform: translateX(5px); } }
@media (max-width: 899px) { .hx-hand-mid { flex-direction: row; justify-content: center; } .hx-hand-circle { width: 56px; height: 56px; } .hx-hand-circle svg { transform: rotate(90deg); animation: none; } }
@media (max-width: 640px) { .hx-engine { padding: 52px 22px 40px; border-radius: 26px; } .hx-engine .hx-head { margin-bottom: 44px; } }
@media (prefers-reduced-motion: reduce) { .hx-pipe::after, .hx-hand-circle svg { animation: none; } .hx-pipe::after { display: none; } }
/* Handover: a gradient divider with a "Warm handover" pill on it (arrow removed, 24 Nov 2026). */
.hx-hand-mid { position: relative; align-self: stretch; justify-content: center; min-height: 40px; }
.hx-hand-mid::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, hsl(var(--primary) / .8), hsl(var(--secondary) / .8), transparent); }
.hx-hand-label { position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px; white-space: nowrap; color: #fff; font-size: 11px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary))); box-shadow: 0 0 0 6px hsl(252 42% 11%), 0 10px 26px -8px hsl(var(--secondary) / .8); }
@media (max-width: 899px) {
  .hx-hand-mid { min-height: 0; padding: 6px 0; }
  .hx-hand-mid::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 2px; transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, hsl(var(--primary) / .8), hsl(var(--secondary) / .8), transparent); }
}
