/* ==========================================================================
   J29 BUSINESS HUB (v2) — built on the Living Mark system (DESIGN.md)
   Squares and petals on a module grid. Yellow carries the brand, blue
   supports. One signature moment per page: the journey arc.
   All classes are prefixed hx- so nothing collides with style.css.
   ========================================================================== */

:root {
  --hx-ground: linear-gradient(135deg, #1a2d3d, #2B4156 40%, #1e3a50);
  --hx-ink: #1f3346;
  --hx-muted: #5b6b7b;
  --hx-line: #e6eaef;
  --hx-paper: #F8F9FA;
  --hx-r-lg: 18px;
  --hx-r-md: 14px;
  --hx-r-sm: 9px;
  --hx-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.hx-page { background: var(--white); color: var(--hx-ink); }
.hx-page h1, .hx-page h2, .hx-page h3 { font-family: 'Sora', sans-serif; color: inherit; }

/* ---------- Shared bits ---------- */
.hx-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hx-pill--dark { background: rgba(254, 193, 35, 0.12); color: var(--bright-yellow); border: 1px solid rgba(254, 193, 35, 0.35); }
.hx-pill--light { background: var(--white); color: var(--charcoal); border: 1px solid rgba(43, 65, 86, 0.25); }
.hx-hl { color: var(--bright-yellow); }

.hx-section { padding: 88px 0; }
.hx-section--paper { background: var(--hx-paper); }
.hx-section--dark { background: var(--hx-ground); color: var(--white); }
.hx-section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.hx-section-head .hx-pill { margin-bottom: 16px; }
.hx-h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 14px;
}
.hx-sub { font-size: 1.05rem; line-height: 1.65; color: var(--hx-muted); margin: 0; }
.hx-section--dark .hx-sub { color: rgba(255, 255, 255, 0.75); }

.hx-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sky-blue);
  text-decoration: none;
}
.hx-link svg { transition: transform 0.3s ease; }
.hx-link:hover svg { transform: translateX(4px); }
.hx-section--dark .hx-link, .hx-page-hero .hx-link { color: var(--bright-yellow); }

.hx-checked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--hx-muted);
}
.hx-checked::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22a06b;
}

/* ---------- Hero ---------- */
.hx-hero {
  background: var(--hx-ground);
  color: var(--white);
  padding: 150px 0 96px;
  position: relative;
  z-index: 2; /* the search results drop over the next section */
}
.hx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}
.hx-h1 {
  font-size: clamp(2.6rem, 5.3vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 18px 0 20px;
  color: var(--white);
}
.hx-lead { font-size: 1.12rem; line-height: 1.65; color: rgba(255, 255, 255, 0.82); max-width: 560px; margin: 0 0 28px; }

/* Search */
.hx-search { position: relative; max-width: 600px; }
.hx-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 50px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 18px 50px rgba(8, 18, 28, 0.35);
}
.hx-search-box svg { flex-shrink: 0; color: var(--hx-muted); }
.hx-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font: 500 1rem 'Manrope', sans-serif;
  color: var(--hx-ink);
  padding: 12px 0;
  background: transparent;
}
.hx-search-btn {
  border: 0;
  border-radius: 50px;
  background: var(--bright-yellow);
  color: var(--charcoal);
  font: 800 0.95rem 'Manrope', sans-serif;
  padding: 13px 24px;
  cursor: pointer;
}
.hx-search-btn:hover { background: #ffcd45; }
.hx-search-box:focus-within { box-shadow: 0 0 0 3px rgba(254, 193, 35, 0.55), 0 18px 50px rgba(8, 18, 28, 0.35); }

.hx-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  background: var(--white);
  color: var(--hx-ink);
  border-radius: var(--hx-r-lg);
  box-shadow: 0 24px 60px rgba(8, 18, 28, 0.3);
  padding: 8px;
  z-index: 30;
  max-height: min(70vh, 460px);
  overflow-y: auto;
}
.hx-results[hidden] { display: none; }
.hx-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: start;
  padding: 11px 12px;
  border-radius: var(--hx-r-sm);
  text-decoration: none;
  color: inherit;
}
.hx-result:hover, .hx-result.is-active { background: #f1f5f9; }
.hx-result-kind {
  grid-row: span 2;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 6px;
  background: #eef3fa;
  color: var(--sky-blue);
  margin-top: 2px;
  min-width: 74px;
  text-align: center;
}
.hx-result-kind--fund { background: #fff6dc; color: #8a6400; }
.hx-result-kind--guide { background: #e8f6ef; color: #17714a; }
.hx-result-kind--ask { background: var(--bright-yellow); color: var(--charcoal); }
.hx-result--ask { position: sticky; bottom: -8px; width: 100%; border: 0; border-top: 1px solid var(--hx-line); border-radius: 0 0 var(--hx-r-sm) var(--hx-r-sm); background: #fffbef; font: inherit; color: inherit; text-align: left; cursor: pointer; margin-top: 4px; }
.hx-result--ask:hover, .hx-result--ask.is-active { background: #fff3cf; }
.hx-results-empty + .hx-result--ask { border-top: 0; border-radius: var(--hx-r-sm); }
.hx-chip--ask { border-color: rgba(254, 193, 35, 0.6); color: var(--bright-yellow); }
.hx-result-title { font-weight: 800; font-size: 0.95rem; }
.hx-result-desc { font-size: 0.82rem; color: var(--hx-muted); line-height: 1.45; }
.hx-results-empty { padding: 14px; font-size: 0.9rem; color: var(--hx-muted); }
.hx-results-empty a { color: var(--sky-blue); font-weight: 700; }

.hx-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.hx-popular-label { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); margin-right: 2px; }
.hx-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.hx-chip:hover { border-color: var(--bright-yellow); color: var(--bright-yellow); }

.hx-hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.hx-hero-trust strong { color: var(--white); font-weight: 800; }

/* The mark: squares, petals and fact tiles on the module grid */
.hx-mark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(100% / 3 / 13);
  max-width: 440px;
  margin-left: auto;
  width: 100%;
}
.hx-tile {
  aspect-ratio: 1;
  border-radius: var(--hx-r-lg);
  opacity: 0;
  transform: scale(0.55);
  animation: hxTileIn 0.7s var(--hx-ease) forwards;
  animation-delay: var(--d, 0s);
}
.hx-tile--yellow { background: var(--bright-yellow); }
.hx-tile--blue { background: rgba(59, 120, 187, 0.55); }
.hx-tile--soft { background: rgba(254, 193, 35, 0.35); }
.hx-tile--gap { background: transparent; }
.hx-tile--photo { overflow: hidden; background: #1b2e40; }
.hx-tile--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.hx-page .sr-only, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hx-petal-tl { border-radius: 100% var(--hx-r-lg) var(--hx-r-lg) var(--hx-r-lg); }
.hx-petal-tr { border-radius: var(--hx-r-lg) 100% var(--hx-r-lg) var(--hx-r-lg); }
.hx-petal-br { border-radius: var(--hx-r-lg) var(--hx-r-lg) 100% var(--hx-r-lg); }
.hx-petal-bl { border-radius: var(--hx-r-lg) var(--hx-r-lg) var(--hx-r-lg) 100%; }
.hx-tile--turn { animation: hxTileIn 0.7s var(--hx-ease) forwards, hxPetalTurn 24s ease-in-out var(--t, 2s) infinite; }
.hx-tile--fact {
  background: #1b2e40;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8px;
  text-decoration: none;
}
.hx-tile--fact strong {
  font: 800 clamp(1.5rem, 3vw, 2.3rem) 'Sora', sans-serif;
  color: var(--bright-yellow);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hx-tile--fact span { font-size: 0.76rem; color: rgba(255, 255, 255, 0.78); margin-top: 6px; line-height: 1.3; }

@keyframes hxTileIn { to { opacity: 1; transform: scale(1); } }
@keyframes hxPetalTurn {
  0%, 18% { transform: rotate(0deg); }
  25%, 43% { transform: rotate(90deg); }
  50%, 68% { transform: rotate(180deg); }
  75%, 93% { transform: rotate(270deg); }
  100% { transform: rotate(360deg); }
}

/* ---------- Doors (three audiences) ---------- */
.hx-doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hx-door {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: var(--hx-r-lg);
  background: var(--white);
  border: 1px solid var(--hx-line);
  overflow: hidden;
  transition: transform 0.4s var(--hx-ease), box-shadow 0.4s var(--hx-ease);
}
.hx-door:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(31, 51, 70, 0.1); }
.hx-door::after {
  content: '';
  position: absolute;
  top: -34px; right: -34px;
  width: 110px; height: 110px;
  border-radius: var(--hx-r-lg) var(--hx-r-lg) var(--hx-r-lg) 100%;
  background: var(--door-accent, rgba(254, 193, 35, 0.22));
}
.hx-door--blue { --door-accent: rgba(59, 120, 187, 0.18); }
.hx-door--charcoal { --door-accent: rgba(43, 65, 86, 0.14); }
.hx-door-step { font: 800 0.75rem 'Manrope', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hx-muted); margin-bottom: 10px; }
.hx-door h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 10px; }
.hx-door p { font-size: 0.95rem; line-height: 1.6; color: var(--hx-muted); margin: 0 0 20px; flex: 1; }
.hx-door-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.hx-door .btn { padding: 12px 22px; font-size: 0.9rem; }
.hx-door-sub { font-size: 0.85rem; font-weight: 700; color: var(--sky-blue); text-decoration: none; }
.hx-door-sub:hover { text-decoration: underline; }
.hx-btn-charcoal { background: var(--charcoal); color: var(--white); }
.hx-btn-charcoal:hover { background: #20354a; color: var(--white); }

/* ---------- Journey: the signature moment ---------- */
.hx-journey { position: relative; height: 520px; margin-top: 12px; }
.hx-journey-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.hx-journey-arc path {
  fill: none;
  stroke: var(--bright-yellow);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.9s var(--hx-ease);
}
.hx-journey.is-drawn .hx-journey-arc path { stroke-dashoffset: 0; }
.hx-stage {
  position: absolute;
  display: block;
  width: 196px;
  z-index: 1;
  /* The node's centre sits on the arc; the card hangs below it. */
  transform: translate(-50%, -32px) scale(0.55);
  opacity: 0;
  transition: transform 0.7s var(--hx-ease), opacity 0.7s var(--hx-ease);
  transition-delay: var(--sd, 0s);
  text-decoration: none;
  color: var(--white);
}
.hx-journey.is-drawn .hx-stage { transform: translate(-50%, -32px) scale(1); opacity: 1; }
.hx-stage-node {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  background: var(--bright-yellow);
  color: var(--charcoal);
  font: 800 1.35rem 'Sora', sans-serif;
  border-radius: var(--hx-r-md) var(--hx-r-md) var(--hx-r-md) 100%;
  transition: transform 0.4s var(--hx-ease);
}
.hx-stage:nth-child(odd) .hx-stage-node { border-radius: 100% var(--hx-r-md) var(--hx-r-md) var(--hx-r-md); }
.hx-stage--blue .hx-stage-node { background: var(--sky-blue); color: var(--white); }
.hx-stage:hover .hx-stage-node { transform: translateY(-4px); }
.hx-stage-card {
  display: block;
  background: #263b4f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--hx-r-md);
  padding: 14px 14px 12px;
  text-align: center;
  transition: border-color 0.3s ease;
}
.hx-stage:hover .hx-stage-card { border-color: rgba(254, 193, 35, 0.6); }
.hx-stage-card strong { display: block; font: 800 1.05rem 'Sora', sans-serif; margin-bottom: 4px; }
.hx-stage-card span { display: block; font-size: 0.82rem; line-height: 1.45; color: rgba(255, 255, 255, 0.72); }
.hx-stage-card em { display: block; font-style: normal; font-size: 0.75rem; font-weight: 800; color: var(--bright-yellow); margin-top: 8px; }
.hx-stage-card em span { display: inline; font-size: inherit; color: inherit; line-height: inherit; }

/* ---------- Featured partner ---------- */
.hx-partner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border-radius: var(--hx-r-lg);
  overflow: hidden;
  border: 1px solid var(--hx-line);
  background: var(--white);
  max-width: 980px;
  margin: 0 auto;
}
.hx-partner-logo { background: var(--charcoal); display: flex; align-items: center; justify-content: center; padding: 34px; }
.hx-partner-logo img { width: 100%; max-width: 300px; height: auto; display: block; }
.hx-partner-logo--light { background: var(--white); border-right: 1px solid var(--hx-line); }
.hx-partner + .hx-partner { margin-top: 20px; }
.hx-partner-body { padding: 30px 32px; }
.hx-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 50px;
  background: #fff3cf;
  color: #8a6400;
  margin-bottom: 12px;
}
.hx-label--paid { background: #eef3fa; color: var(--sky-blue); }
.hx-partner-body h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.hx-partner-body p { font-size: 0.93rem; line-height: 1.6; color: var(--hx-muted); margin: 0 0 14px; }

/* ---------- Quick wins ---------- */
.hx-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hx-quick-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--hx-r-md);
  background: var(--white);
  border: 1px solid var(--hx-line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--hx-ease), border-color 0.35s ease;
}
.hx-quick-card:hover { transform: translateY(-3px); border-color: rgba(59, 120, 187, 0.45); }
.hx-quick-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--hx-r-sm) var(--hx-r-sm) var(--hx-r-sm) 100%;
  background: rgba(254, 193, 35, 0.22);
  color: #8a6400;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hx-quick-card:nth-child(even) .hx-quick-icon { background: rgba(59, 120, 187, 0.14); color: var(--sky-blue); border-radius: 100% var(--hx-r-sm) var(--hx-r-sm) var(--hx-r-sm); }
.hx-quick-card strong { display: block; font: 800 0.98rem 'Sora', sans-serif; margin-bottom: 3px; }
.hx-quick-card span { display: block; font-size: 0.86rem; line-height: 1.5; color: var(--hx-muted); }
.hx-quick-tag { display: inline-block; margin-top: 8px; font-size: 0.72rem; font-weight: 800; color: #17714a; }

/* ---------- Tools teaser ---------- */
.hx-toolcats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 920px; margin: 0 auto; }
.hx-toolcat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--hx-line);
  text-decoration: none;
  color: var(--hx-ink);
  font-weight: 700;
  font-size: 0.9rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.hx-toolcat:hover { border-color: var(--sky-blue); transform: translateY(-2px); }
.hx-toolcat b { font-size: 0.75rem; background: var(--hx-paper); border-radius: 50px; padding: 2px 8px; color: var(--hx-muted); }
.hx-center { text-align: center; margin-top: 30px; }

/* ---------- For organisations ---------- */
.hx-orgs-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; margin: -12px 0 40px; }
.hx-orgs-stat { text-align: center; }
.hx-orgs-stat strong { display: block; font: 800 1.9rem 'Sora', sans-serif; color: var(--bright-yellow); letter-spacing: -0.03em; }
.hx-orgs-stat span { font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }
.hx-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hx-tier {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--hx-r-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}
.hx-tier--hero { background: rgba(254, 193, 35, 0.08); border-color: rgba(254, 193, 35, 0.5); }
.hx-tier-price { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bright-yellow); margin-bottom: 8px; }
.hx-tier h3 { font-size: 1.12rem; font-weight: 800; margin: 0 0 8px; color: var(--white); }
.hx-tier p { font-size: 0.86rem; line-height: 1.55; color: rgba(255, 255, 255, 0.72); margin: 0 0 14px; }
.hx-tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.hx-tier li { position: relative; padding-left: 20px; font-size: 0.84rem; line-height: 1.45; color: rgba(255, 255, 255, 0.85); }
.hx-tier li::before { content: ''; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 3px 3px 3px 100%; background: var(--bright-yellow); }
.hx-orgs-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; margin-top: 36px; }
.hx-orgs-note { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); max-width: 640px; text-align: center; margin: 18px auto 0; }

/* ---------- Ask J29 band ---------- */
.hx-ask {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 30px 34px;
  border-radius: var(--hx-r-lg);
  background: var(--hx-paper);
  border: 1px solid var(--hx-line);
}
.hx-ask-mark { width: 64px; height: 64px; border-radius: 100% var(--hx-r-md) var(--hx-r-md) var(--hx-r-md); background: var(--bright-yellow); display: flex; align-items: center; justify-content: center; }
.hx-ask h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.02em; }
.hx-ask p { margin: 0; color: var(--hx-muted); font-size: 0.95rem; line-height: 1.55; }

/* ==========================================================================
   SECTION PAGES (funding, register)
   ========================================================================== */
.hx-page-hero { background: var(--hx-ground); color: var(--white); padding: 136px 0 64px; position: relative; overflow: hidden; }
.hx-page-hero::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -60px;
  width: 260px; height: 260px;
  border-radius: 100% 18px 18px 18px;
  background: rgba(254, 193, 35, 0.14);
  pointer-events: none;
}
.hx-crumbs { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 16px; }
.hx-crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.hx-crumbs a:hover { color: var(--bright-yellow); }
.hx-page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.07; margin: 0 0 16px; max-width: 820px; color: var(--white); }
.hx-page-hero .hx-lead { max-width: 680px; margin-bottom: 18px; }
.hx-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }
.hx-meta .hx-checked { color: rgba(255, 255, 255, 0.72); }

/* Funding directory */
.hx-dir { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 36px; align-items: start; padding: 48px 0 88px; }
.hx-filters { position: sticky; top: 96px; display: grid; gap: 22px; }
.hx-filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hx-line);
  border-radius: 50px;
  padding: 4px 16px;
  background: var(--white);
}
.hx-filter-search:focus-within { border-color: var(--sky-blue); box-shadow: 0 0 0 3px rgba(59, 120, 187, 0.15); }
.hx-filter-search input { border: 0; outline: 0; flex: 1; min-width: 0; padding: 10px 0; font: 500 0.92rem 'Manrope', sans-serif; color: var(--hx-ink); background: transparent; }
.hx-filter-group h4 { font: 800 0.75rem 'Manrope', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hx-muted); margin: 0 0 10px; }
.hx-filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.hx-fchip {
  border: 1px solid var(--hx-line);
  background: var(--white);
  color: var(--hx-ink);
  border-radius: 50px;
  padding: 7px 13px;
  font: 600 0.82rem 'Manrope', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hx-fchip:hover { border-color: var(--sky-blue); }
.hx-fchip[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.hx-select {
  width: 100%;
  border: 1px solid var(--hx-line);
  border-radius: 10px;
  padding: 10px 12px;
  font: 600 0.88rem 'Manrope', sans-serif;
  color: var(--hx-ink);
  background: var(--white);
}
.hx-filter-body { display: grid; gap: 22px; }
.hx-mobile-only { display: none; }
.hx-filter-toggle { display: none; }
.hx-clear { background: none; border: 0; padding: 0; color: var(--sky-blue); font: 700 0.85rem 'Manrope', sans-serif; cursor: pointer; justify-self: start; }

.hx-checklist { background: var(--hx-paper); border-radius: var(--hx-r-md); padding: 18px 18px 16px; border: 1px solid var(--hx-line); }
.hx-checklist h4 { font: 800 0.95rem 'Sora', sans-serif; margin: 0 0 10px; color: var(--hx-ink); }
.hx-checklist ol { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 6px; font-size: 0.85rem; line-height: 1.45; color: var(--hx-ink); }
.hx-checklist a { color: var(--sky-blue); font-weight: 700; }

.hx-results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 0.9rem; color: var(--hx-muted); }
.hx-results-bar strong { color: var(--hx-ink); }
.hx-fund-list { display: grid; gap: 16px; }
.hx-fund {
  border: 1px solid var(--hx-line);
  border-radius: var(--hx-r-lg);
  padding: 22px 24px 18px;
  background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.hx-fund:hover { border-color: rgba(59, 120, 187, 0.4); box-shadow: 0 12px 30px rgba(31, 51, 70, 0.07); }
.hx-fund--featured { border: 2px solid var(--bright-yellow); background: linear-gradient(180deg, #fffbef, var(--white) 55%); }
.hx-fund-top { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.hx-tag { font-size: 0.72rem; font-weight: 800; padding: 4px 10px; border-radius: 50px; background: #eef3fa; color: var(--sky-blue); }
.hx-tag--grant { background: #e8f6ef; color: #17714a; }
.hx-tag--loan { background: #eef3fa; color: var(--sky-blue); }
.hx-tag--equity { background: #f2ecfb; color: #6b3fb3; }
.hx-tag--award { background: #fff3cf; color: #8a6400; }
.hx-tag--scope { background: var(--hx-paper); color: var(--hx-muted); }
.hx-tag--status-open { background: #e8f6ef; color: #17714a; }
.hx-tag--status-check { background: #fff3cf; color: #8a6400; }
.hx-tag--status-closed { background: #f1f1f1; color: #6b6b6b; }
.hx-fund h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 2px; }
.hx-fund-full { font-size: 0.85rem; color: var(--hx-muted); margin: 0 0 10px; }
.hx-fund-what { font-size: 0.95rem; line-height: 1.6; margin: 0 0 14px; }
.hx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.hx-fact { background: var(--hx-paper); border-radius: 10px; padding: 10px 12px; }
.hx-fact dt { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--hx-muted); margin-bottom: 3px; }
.hx-fact dd { margin: 0; font-size: 0.86rem; font-weight: 700; line-height: 1.4; }
.hx-tip { font-size: 0.86rem; line-height: 1.55; padding: 10px 14px; border-left: 3px solid var(--bright-yellow); background: #fffbef; border-radius: 0 10px 10px 0; margin: 0 0 14px; }
.hx-fund-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-top: 12px; border-top: 1px solid var(--hx-line); }
.hx-fund-actions .hx-checked { margin-left: auto; }
.hx-share { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: #128c4a; text-decoration: none; }
.hx-empty { padding: 30px; text-align: center; border: 1px dashed var(--hx-line); border-radius: var(--hx-r-lg); color: var(--hx-muted); }
.hx-list-cta {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--hx-r-lg);
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.hx-list-cta strong { font: 800 1.05rem 'Sora', sans-serif; display: block; margin-bottom: 2px; }
.hx-list-cta span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }

/* Register guide (long-form, written to rank) */
.hx-article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; padding: 56px 0 88px; align-items: start; }
.hx-article { font-size: 1.02rem; line-height: 1.75; color: var(--hx-ink); }
.hx-article h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 48px 0 14px; line-height: 1.2; }
.hx-article h2:first-child { margin-top: 0; }
.hx-article h3 { font-size: 1.15rem; font-weight: 800; margin: 26px 0 8px; }
.hx-article p { margin: 0 0 16px; }
.hx-article ul, .hx-article ol { padding-left: 22px; margin: 0 0 16px; }
.hx-article li { margin-bottom: 6px; }
.hx-article ul:not([class]) { list-style: disc; }
.hx-article ol:not([class]) { list-style: decimal; }
.hx-article ul:not([class]) li::marker, .hx-article ol:not([class]) li::marker { color: var(--sky-blue); }
.hx-article a { color: var(--sky-blue); font-weight: 700; }
.hx-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.hx-glance div { background: var(--hx-paper); border-radius: var(--hx-r-md); padding: 16px; border: 1px solid var(--hx-line); }
.hx-glance dt { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--hx-muted); }
.hx-glance dd { margin: 4px 0 0; font: 800 1.1rem 'Sora', sans-serif; line-height: 1.3; }
.hx-glance dd small { display: block; font: 500 0.8rem 'Manrope', sans-serif; color: var(--hx-muted); margin-top: 3px; }
.hx-steps { list-style: none; padding: 0 !important; counter-reset: hxstep; display: grid; gap: 14px; }
.hx-steps > li {
  counter-increment: hxstep;
  position: relative;
  padding: 20px 22px 18px 82px;
  border: 1px solid var(--hx-line);
  border-radius: var(--hx-r-lg);
  margin: 0 !important;
}
.hx-steps > li::before {
  content: counter(hxstep);
  position: absolute;
  left: 20px; top: 20px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 1.1rem 'Sora', sans-serif;
  background: var(--bright-yellow);
  color: var(--charcoal);
  border-radius: 100% var(--hx-r-sm) var(--hx-r-sm) var(--hx-r-sm);
}
.hx-steps > li:nth-child(even)::before { background: var(--sky-blue); color: var(--white); border-radius: var(--hx-r-sm) var(--hx-r-sm) var(--hx-r-sm) 100%; }
.hx-steps h3 { margin: 6px 0 6px !important; }
.hx-steps p:last-child { margin-bottom: 0; }
.hx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 20px; }
.hx-table-wrap .hx-compare { margin: 0; }
.hx-compare { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 0.92rem; }
.hx-compare th, .hx-compare td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--hx-line); vertical-align: top; line-height: 1.5; }
.hx-compare th { font: 800 0.8rem 'Manrope', sans-serif; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hx-muted); background: var(--hx-paper); }
.hx-steps-check { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.hx-steps-check li { position: relative; padding: 12px 14px 12px 46px; border: 1px solid var(--hx-line); border-radius: var(--hx-r-md); margin: 0 !important; line-height: 1.5; }
.hx-steps-check li::before { content: ''; position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; border: 2px solid var(--sky-blue); border-radius: 5px 5px 5px 100%; }
.hx-faq details { border: 1px solid var(--hx-line); border-radius: var(--hx-r-md); padding: 0 18px; margin-bottom: 10px; }
.hx-faq summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; }
.hx-faq summary::-webkit-details-marker { display: none; }
.hx-faq summary::after { content: '+'; float: right; font-weight: 800; color: var(--sky-blue); }
.hx-faq details[open] summary::after { content: '\2212'; }
.hx-faq details p { margin: 0 0 16px; }
.hx-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.hx-toc { border: 1px solid var(--hx-line); border-radius: var(--hx-r-md); padding: 18px; }
.hx-toc h4 { font: 800 0.75rem 'Manrope', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hx-muted); margin: 0 0 10px; }
.hx-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: 0.88rem; }
.hx-toc a { color: var(--hx-ink); text-decoration: none; font-weight: 600; }
.hx-toc a:hover { color: var(--sky-blue); }
.hx-note { font-size: 0.85rem; color: var(--hx-muted); background: var(--hx-paper); border-radius: var(--hx-r-md); padding: 14px 16px; }
.hx-copyright { font-size: 0.8rem; line-height: 1.5; color: var(--hx-muted); margin: 12px 0 0; }
.hx-byline a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hx-share-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 36px 0 8px; padding: 16px 18px; border: 1px solid var(--hx-line); border-radius: var(--hx-r-md); background: var(--hx-paper); }
.hx-share-row span { font-weight: 700; }
.hx-article a.hx-share-btn { display: inline-flex; align-items: center; gap: 8px; background: #1f7a45; color: var(--white); font-weight: 800; text-decoration: none; padding: 10px 16px; border-radius: 50px; }
.hx-article a.hx-share-btn:hover { background: #17633a; }
.hx-author { display: flex; gap: 16px; align-items: flex-start; margin: 32px 0 20px; padding: 18px; border: 1px solid var(--hx-line); border-radius: var(--hx-r-md); }
.hx-author img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; flex: none; }
.hx-author strong { display: block; font: 800 1.05rem 'Sora', sans-serif; }
.hx-author-role { display: block; font-size: 0.85rem; color: var(--hx-muted); margin-bottom: 6px; }
.hx-author p { font-size: 0.9rem; margin: 0 0 8px; }

/* ---------- Partner page ---------- */
.hx-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 8px; }
.hx-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hx-why-card { padding: 24px 22px; border: 1px solid var(--hx-line); border-radius: var(--hx-r-lg); background: var(--white); }
.hx-why-num { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; font: 800 0.9rem 'Sora', sans-serif; background: var(--bright-yellow); color: var(--charcoal); border-radius: 100% var(--hx-r-sm) var(--hx-r-sm) var(--hx-r-sm); margin-bottom: 14px; }
.hx-why-card:nth-child(even) .hx-why-num { background: var(--sky-blue); color: var(--white); border-radius: var(--hx-r-sm) var(--hx-r-sm) var(--hx-r-sm) 100%; }
.hx-why-card h3 { font-size: 1.08rem; font-weight: 800; margin: 0 0 8px; }
.hx-why-card p { font-size: 0.9rem; line-height: 1.6; color: var(--hx-muted); margin: 0; }
.hx-orgs-stats--light { margin: 40px 0 0; }
.hx-orgs-stats--light .hx-orgs-stat strong { color: var(--charcoal); }
.hx-orgs-stats--light .hx-orgs-stat span { color: var(--hx-muted); }
/* A live count inside the number keeps the number's size and colour */
.hx-orgs-stats .hx-orgs-stat strong span { font: inherit; color: inherit; letter-spacing: inherit; }
.hx-tiers--3 { grid-template-columns: repeat(3, 1fr); }
.hx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.hx-two .hx-pill { margin-bottom: 14px; }
.hx-two .hx-h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 22px; }
.hx-standards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hx-standards li { position: relative; padding: 16px 18px 16px 50px; border: 1px solid var(--hx-line); border-radius: var(--hx-r-md); font-size: 0.93rem; line-height: 1.55; color: var(--hx-muted); }
.hx-standards li strong { color: var(--hx-ink); display: block; margin-bottom: 2px; }
.hx-standards li::before { content: ''; position: absolute; left: 18px; top: 19px; width: 16px; height: 16px; border-radius: 4px 4px 4px 100%; background: var(--bright-yellow); }
.hx-narrow { max-width: 820px; }

/* Enquiry form */
.hx-form { background: var(--white); border: 1px solid var(--hx-line); border-radius: var(--hx-r-lg); padding: 28px; display: grid; gap: 16px; box-shadow: 0 18px 44px rgba(31, 51, 70, 0.06); }
.hx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hx-field { display: grid; gap: 6px; }
.hx-field span { font: 700 0.85rem 'Manrope', sans-serif; color: var(--hx-ink); }
.hx-field em { font-style: normal; font-weight: 500; color: var(--hx-muted); }
.hx-field input, .hx-field select, .hx-field textarea {
  width: 100%;
  border: 1px solid #d9dfe6;
  border-radius: 10px;
  padding: 12px 14px;
  font: 500 0.95rem 'Manrope', sans-serif;
  color: var(--hx-ink);
  background: var(--white);
}
.hx-field input:focus, .hx-field select:focus, .hx-field textarea:focus { outline: none; border-color: var(--sky-blue); box-shadow: 0 0 0 3px rgba(59, 120, 187, 0.15); }
.hx-field.is-invalid input { border-color: #d64545; }
.hx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hx-form-submit { justify-self: start; border: 0; cursor: pointer; }
.hx-form-submit[disabled] { opacity: 0.6; cursor: wait; }
.hx-form-msg { margin: 0; font-size: 0.92rem; font-weight: 700; }
.hx-form-msg.is-ok { color: #17714a; }
.hx-form-msg.is-error { color: #b42318; }
.hx-form-note { margin: 0; font-size: 0.8rem; color: var(--hx-muted); }
.hx-form-note a { color: var(--sky-blue); }
.hx-form.is-sent .hx-form-grid, .hx-form.is-sent .hx-field, .hx-form.is-sent .hx-form-submit { display: none; }

/* Answer pages */
.hx-answer-cta { margin-top: 32px; }
.hx-answer-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-article .hx-answer-cta .btn-yellow { color: var(--charcoal); text-decoration: none; }
.hx-article .hx-answer-cta .btn-outline-white { color: var(--white); text-decoration: none; }
.hx-answers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hx-answers-grid + .hx-sec-head { margin-top: 48px; }
@media (max-width: 640px) {
  .hx-answers-grid { grid-template-columns: 1fr; }
  .hx-answer-cta-btns .btn { width: 100%; justify-content: center; text-align: center; }
}

/* Partners: who you'll work with */
.hx-founder { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; border: 1px solid var(--hx-line); border-radius: var(--hx-r-lg); padding: 28px; background: var(--white); }
.hx-founder img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.hx-founder .hx-h2 { margin: 12px 0 2px; }
.hx-founder-role { color: var(--sky-blue); font-weight: 700; margin: 0 0 12px; }
.hx-founder p:not(.hx-founder-role) { line-height: 1.65; color: var(--hx-muted); margin: 0 0 12px; }
@media (max-width: 640px) { .hx-founder { grid-template-columns: 1fr; padding: 22px; } .hx-founder img { max-width: 160px; } }

/* MSME network sign-up */
.hx-join-form { gap: 22px; }
.hx-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.hx-fieldset legend { font: 800 1.15rem 'Sora', sans-serif; letter-spacing: -0.02em; color: var(--hx-ink); padding: 0; margin-bottom: 14px; }
.hx-fieldset + .hx-fieldset legend { width: 100%; border-top: 1px solid var(--hx-line); padding-top: 22px; }
.hx-field[hidden] { display: none; }
.hx-field.is-invalid select, .hx-field.is-invalid textarea { border-color: #d64545; }
.hx-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-choice { position: relative; cursor: pointer; }
.hx-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hx-field .hx-choice span { display: inline-block; border: 1px solid #d9dfe6; border-radius: 50px; padding: 8px 14px; font: 600 0.88rem 'Manrope', sans-serif; color: var(--hx-ink); background: var(--white); transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.hx-choice:hover span { border-color: var(--sky-blue); }
.hx-field .hx-choice input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.hx-choice input:focus-visible + span { outline: 3px solid rgba(59, 120, 187, 0.35); outline-offset: 2px; }
[data-group].is-invalid .hx-choice span { border-color: #d64545; }
.hx-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.88rem; line-height: 1.55; color: var(--hx-ink); background: var(--hx-paper); border: 1px solid var(--hx-line); border-radius: var(--hx-r-md); padding: 14px 16px; cursor: pointer; }
.hx-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--charcoal); }
.hx-consent.is-invalid { border-color: #d64545; }
.hx-join-done { border: 1px solid var(--hx-line); border-radius: var(--hx-r-lg); padding: 32px; background: var(--white); outline: none; scroll-margin-top: 96px; }
.hx-join-done h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; letter-spacing: -0.03em; margin: 18px 0 8px; }
.hx-join-done > p { color: var(--hx-muted); margin: 0 0 20px; }
.hx-join-done .hx-help { grid-template-columns: 1fr; gap: 10px; }

/* J29 services band (done-with-you help) */
.hx-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hx-help a { display: block; padding: 22px; border-radius: var(--hx-r-md); background: var(--white); border: 1px solid var(--hx-line); text-decoration: none; color: var(--hx-ink); transition: transform 0.35s var(--hx-ease), border-color 0.3s ease; }
.hx-help a:hover { transform: translateY(-3px); border-color: rgba(254, 193, 35, 0.8); }
.hx-help strong { display: block; font: 800 1rem 'Sora', sans-serif; margin-bottom: 4px; }
.hx-help span { font-size: 0.88rem; line-height: 1.55; color: var(--hx-muted); }
.hx-guides em.hx-guide-stage { display: inline-block; font-style: normal; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 50px; background: #fff3cf; color: #8a6400; margin-bottom: 10px; }
.hx-guides small.hx-guide-time { display: block; margin-top: 10px; font-size: 0.78rem; font-weight: 700; color: var(--sky-blue); }
.hx-guides-more { margin: 24px 0 0; text-align: center; }

/* ---------- Tools page ---------- */
.hx-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 22px; padding: 6px; background: var(--hx-paper); border: 1px solid var(--hx-line); border-radius: 50px; width: fit-content; max-width: 100%; }
.hx-tab { border: 0; background: transparent; border-radius: 50px; padding: 10px 18px; font: 800 0.92rem 'Manrope', sans-serif; color: var(--hx-muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.hx-tab b { font-size: 0.72rem; background: var(--white); color: var(--hx-muted); border-radius: 50px; padding: 2px 8px; }
.hx-tab[aria-selected="true"] { background: var(--charcoal); color: var(--white); }
.hx-tab[aria-selected="true"] b { background: var(--bright-yellow); color: var(--charcoal); }
.hx-tool-bar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-bottom: 14px; }
.hx-tool-bar .hx-filter-search { flex: 1 1 320px; max-width: 520px; }
.hx-tool-cats { margin-bottom: 18px; }
.hx-tools-note { font-size: 0.88rem; line-height: 1.6; color: var(--hx-ink); background: #fffbef; border-left: 3px solid var(--bright-yellow); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 0 0 16px; }
.hx-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hx-tool { border: 1px solid var(--hx-line); border-radius: var(--hx-r-lg); padding: 20px; background: var(--white); display: flex; flex-direction: column; transition: border-color 0.3s ease, transform 0.35s var(--hx-ease); }
.hx-tool:hover { border-color: rgba(59, 120, 187, 0.4); transform: translateY(-2px); }
.hx-tool-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.hx-tool-mark { flex-shrink: 0; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; font: 800 0.95rem 'Sora', sans-serif; }
.hx-tool h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.01em; }
.hx-tool-desc { font-size: 0.9rem; line-height: 1.55; margin: 0 0 8px; color: var(--hx-ink); }
.hx-tool-made { font-size: 0.78rem; font-weight: 700; color: var(--hx-muted); margin: 0 0 8px; }
.hx-tool-use { font-size: 0.84rem; line-height: 1.5; color: var(--hx-muted); background: var(--hx-paper); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; flex: 1; }
.hx-tool-use strong { color: var(--hx-ink); }
.hx-tool .hx-link { margin-top: auto; }

/* Calculators */
.hx-calcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hx-calc { border: 1px solid var(--hx-line); border-radius: var(--hx-r-lg); padding: 24px; display: grid; gap: 14px; align-content: start; background: var(--white); }
.hx-calc--wide { grid-column: 1 / -1; }
.hx-article .hx-calc { margin: 0 0 20px; }
.hx-article .hx-calc h3 { margin: 0 !important; }
.hx-formula { background: var(--hx-paper); border: 1px solid var(--hx-line); border-radius: var(--hx-r-md); padding: 14px 16px; overflow-x: auto; }
.hx-calc h2 { font-size: 1.2rem; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.hx-calc > p { margin: -6px 0 0; font-size: 0.9rem; color: var(--hx-muted); }
.hx-calc .btn { justify-self: start; border: 0; cursor: pointer; }
.hx-calc-out { font-size: 0.95rem; line-height: 1.6; }
.hx-calc-out:not(:empty) { background: #fffbef; border-left: 3px solid var(--bright-yellow); border-radius: 0 10px 10px 0; padding: 12px 14px; }
.hx-calc-out strong { font-family: 'Sora', sans-serif; }
.hx-startup-rows { display: grid; gap: 8px; }
.hx-startup-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px 40px; gap: 8px; }
.hx-startup-row input { border: 1px solid #d9dfe6; border-radius: 10px; padding: 10px 12px; font: 500 0.92rem 'Manrope', sans-serif; color: var(--hx-ink); min-width: 0; }
.hx-startup-remove { border: 1px solid var(--hx-line); background: var(--white); border-radius: 10px; font-size: 1.2rem; color: var(--hx-muted); cursor: pointer; }
.hx-startup-remove:hover { color: #b42318; border-color: #b42318; }

/* ---------- Compliance checklist ---------- */
.hx-profile { border: 1px solid var(--hx-line); border-radius: var(--hx-r-lg); padding: 18px 20px; background: var(--hx-paper); margin: 36px 0 18px; }
.hx-profile h2 { font-size: 1.05rem; font-weight: 800; margin: 0 0 10px; }
.hx-progress { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-weight: 800; font-size: 0.92rem; }
.hx-progress-track { flex: 1; height: 8px; border-radius: 8px; background: var(--hx-line); overflow: hidden; }
.hx-progress-bar { height: 100%; width: 0; background: var(--bright-yellow); border-radius: 8px; transition: width 0.5s var(--hx-ease); }
.hx-checks { display: grid; gap: 12px; }
.hx-check-item { border: 1px solid var(--hx-line); border-radius: var(--hx-r-lg); background: var(--white); padding: 18px 20px 16px 62px; position: relative; scroll-margin-top: 96px; }
.hx-check-item[hidden] { display: none; }
.hx-check-item.is-done { background: #f6fbf8; border-color: #bfe3cf; }
.hx-check-item input[type=checkbox] { position: absolute; left: 20px; top: 20px; width: 24px; height: 24px; accent-color: #17714a; cursor: pointer; }
.hx-check-item h3 { font-size: 1.08rem; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.hx-check-item.is-done h3 { text-decoration: line-through; text-decoration-color: rgba(23, 113, 74, 0.5); }
.hx-check-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.hx-check-item p { font-size: 0.92rem; line-height: 1.6; margin: 0 0 8px; }
.hx-check-item ul { font-size: 0.9rem; line-height: 1.55; margin: 0 0 10px; padding-left: 18px; }
.hx-check-item li { margin-bottom: 4px; }
.hx-check-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hx-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hx-date { border: 1px solid var(--hx-line); border-radius: var(--hx-r-md); padding: 14px 16px; background: var(--white); }
.hx-date strong { display: block; font: 800 0.8rem 'Manrope', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sky-blue); margin-bottom: 4px; }
.hx-date span { font-size: 0.9rem; line-height: 1.5; }

/* Grow page */
.hx-grow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hx-grow-card { border: 1px solid var(--hx-line); border-radius: var(--hx-r-lg); padding: 22px; background: var(--white); }
.hx-grow-card h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 8px; }
.hx-grow-card p { font-size: 0.92rem; line-height: 1.6; margin: 0 0 10px; }
.hx-grow-card ul { font-size: 0.9rem; line-height: 1.55; margin: 0 0 12px; padding-left: 18px; }
.hx-sec-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 56px 0 16px; }
.hx-sec-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; margin: 0; scroll-margin-top: 96px; }
.hx-sec-head p { margin: 0; color: var(--hx-muted); font-size: 0.95rem; }
.hx-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.hx-jump a { text-decoration: none; }
.hx-page-hero .hx-jump { margin-top: 26px; }
.hx-page-hero .hx-jump .hx-fchip { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: var(--white); }
.hx-page-hero .hx-jump .hx-fchip:hover { border-color: var(--bright-yellow); color: var(--bright-yellow); }
.hx-profile-note { font-size: 0.88rem; color: var(--hx-muted); margin: -4px 0 12px; line-height: 1.5; }
.hx-check-group[hidden] { display: none; }
.hx-check-group:first-of-type .hx-sec-head { margin-top: 36px; }
.hx-grow-card--partner { background: var(--hx-paper); border-style: dashed; grid-column: 1 / -1; }
.hx-grow-card ul, .hx-check-item ul { list-style: disc; }
.hx-grow-card li::marker, .hx-check-item li::marker { color: var(--sky-blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hx-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hx-mark { max-width: 360px; margin: 0; }
  .hx-tiers { grid-template-columns: repeat(2, 1fr); }
  .hx-why { grid-template-columns: repeat(2, 1fr); }
  .hx-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-tiers--3 { grid-template-columns: repeat(2, 1fr); }
  .hx-two { grid-template-columns: 1fr; }
  .hx-dir, .hx-article-wrap { grid-template-columns: minmax(0, 1fr); }
  .hx-filters, .hx-aside { position: static; }
  .hx-desktop-only { display: none; }
  .hx-mobile-only { display: block; }
  .hx-filter-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    padding: 12px 16px;
    border: 1px solid var(--hx-line);
    border-radius: 50px;
    font: 800 0.9rem 'Manrope', sans-serif;
    color: var(--hx-ink);
  }
  .hx-filter-toggle::-webkit-details-marker { display: none; }
  .hx-filter-toggle::after { content: '+'; color: var(--sky-blue); font-size: 1.1rem; }
  .hx-filter-details[open] .hx-filter-toggle::after { content: '\2212'; }
  .hx-filter-details[open] .hx-filter-body { margin-top: 18px; }
}

@media (max-width: 900px) {
  .hx-doors, .hx-quick, .hx-help { grid-template-columns: 1fr; }
  .hx-partner { grid-template-columns: 1fr; }
  .hx-partner-logo--light { border-right: 0; border-bottom: 1px solid var(--hx-line); }
  /* Journey becomes a vertical path */
  .hx-journey { height: auto; display: grid; gap: 14px; padding-left: 34px; }
  .hx-journey-arc { display: none; }
  .hx-journey::before {
    content: '';
    position: absolute;
    left: 31px; top: 30px; bottom: 30px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(var(--bright-yellow), rgba(254, 193, 35, 0.25));
  }
  .hx-stage {
    position: relative;
    left: auto !important; top: auto !important;
    width: auto;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: center;
    transform: translateX(-24px);
  }
  .hx-journey.is-drawn .hx-stage { transform: none; }
  .hx-stage-node { width: 56px; height: 56px; margin: 0; position: relative; left: -34px; }
  .hx-stage-card { text-align: left; margin-left: -34px; }
}

@media (max-width: 640px) {
  .hx-section { padding: 64px 0; }
  .hx-hero { padding: 120px 0 64px; }
  .hx-search-box { padding-left: 16px; }
  .hx-search-btn { padding: 12px 16px; }
  .hx-mark { max-width: 300px; }
  .hx-tiers, .hx-tiers--3, .hx-why, .hx-form-grid, .hx-tool-grid, .hx-calcs, .hx-grow-grid, .hx-dates { grid-template-columns: 1fr; }
  .hx-check-item { padding: 16px 16px 14px 54px; }
  .hx-check-item input[type=checkbox] { left: 16px; top: 18px; }
  .hx-tabs { border-radius: 18px; }
  .hx-tab { padding: 9px 12px; font-size: 0.86rem; }
  .hx-startup-row { grid-template-columns: minmax(0, 1fr) 110px 40px; }
  .hx-form { padding: 20px; }
  .hx-facts, .hx-glance { grid-template-columns: 1fr; }
  .hx-ask { grid-template-columns: 1fr; text-align: left; }
  .hx-fund { padding: 18px 18px 14px; }
  .hx-fund-actions .hx-checked { margin-left: 0; }
  .hx-steps > li { padding: 74px 18px 16px 18px; }
  .hx-compare { font-size: 0.82rem; }
  .hx-compare th, .hx-compare td { padding: 9px 8px; }
}

/* Mobile and Safari: keep it light (site-wide rule) */
@media (max-width: 1024px), (hover: none) {
  .hx-tile--turn { animation: hxTileIn 0.7s var(--hx-ease) forwards; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-tile, .hx-tile--turn { animation: none; opacity: 1; transform: none; }
  .hx-journey-arc path { transition: none; stroke-dashoffset: 0; }
  .hx-stage { transition: none; opacity: 1; transform: translate(-50%, -32px); }
  .hx-door, .hx-quick-card, .hx-toolcat { transition: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 900px) {
  .hx-stage { transform: none; }
}
