/* =============================================================
   RECOVERED HOURS — THE OPERATIONS HUB  ·  hub.css  (v6)
   Site-wide design system.  Friendly, bright, business-first.
   Primary accent: a confident blue.  Amber marks incoming work,
   indigo marks your AI team.  No jargon, no terminal green.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --hub-bg:      #F7F9FB;     /* cloud */
  --hub-card:    #FFFFFF;
  --hub-card-2:  #F2F6F9;
  --hub-inset:   #F9FBFD;
  --hub-line:    rgba(26, 43, 60, 0.10);
  --hub-line-2:  rgba(26, 43, 60, 0.06);

  --hub-ink:     #1A2B3C;     /* deep navy — friendly, not black */
  --hub-dim:     rgba(26, 43, 60, 0.68);
  --hub-mute:    rgba(26, 43, 60, 0.45);

  /* Primary accent — a nice blue */
  --hub-accent:      #2563EB;
  --hub-accent-deep: #1D4FD7;
  --hub-accent-soft: rgba(37, 99, 235, 0.10);
  --hub-accent-soft-2: rgba(37, 99, 235, 0.16);

  /* Your AI team — indigo, a sibling of the accent */
  --hub-team:      #6366F1;
  --hub-team-soft: rgba(99, 102, 241, 0.10);

  /* Incoming work — warm amber */
  --hub-amber:      #F5A623;
  --hub-amber-soft: rgba(245, 166, 35, 0.12);

  --hub-display: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --hub-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --hub-mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;

  --hub-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hub-fast: 200ms;
  --hub-base: 520ms;

  --hub-container: 1240px;
  --hub-gutter: clamp(20px, 4vw, 48px);
  --hub-nav-h: 68px;
  --hub-radius: 18px;
  --hub-shadow: 0 1px 2px rgba(26,43,60,.04), 0 12px 32px rgba(26,43,60,.07);
  --hub-shadow-lift: 0 2px 4px rgba(26,43,60,.05), 0 24px 56px rgba(26,43,60,.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  background: var(--hub-bg);
  color: var(--hub-ink);
  font-family: var(--hub-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Type ---------- */
.hub-display {
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(38px, 5.8vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.hub-display .hub-accent { color: var(--hub-accent); }
.hub-headline {
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.hub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--hub-accent-soft);
  color: var(--hub-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hub-body-text { font-size: clamp(15.5px, 1.1vw, 18px); color: var(--hub-dim); max-width: 58ch; }

/* ---------- Layout ---------- */
.hub-container { width: 100%; max-width: var(--hub-container); margin: 0 auto; padding: 0 var(--hub-gutter); }
.hub-section { padding: clamp(84px, 11vh, 140px) 0; position: relative; }
.hub-section--tint { background: #EEF3F7; }
.hub-head { max-width: 740px; margin-bottom: 48px; }
.hub-head .hub-headline { margin-top: 16px; }
.hub-head .hub-body-text { margin-top: 14px; }
.hub-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.hub-head--center .hub-body-text { margin-left: auto; margin-right: auto; }

/* ---------- Chips ---------- */
.hub-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--hub-line);
  background: var(--hub-card);
  font-size: 13px;
  font-weight: 500;
  color: var(--hub-dim);
}
.hub-chip--live { border-color: rgba(37,99,235,.35); color: var(--hub-accent); background: var(--hub-accent-soft); }
.hub-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hub-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.16);
  animation: hub-pulse 2.2s ease-in-out infinite;
}
@keyframes hub-pulse { 0%,100% { opacity:.55; } 50% { opacity:1; } }

/* ---------- Nav ---------- */
.hub-nav {
  position: fixed; inset: 0 0 auto 0; height: var(--hub-nav-h); z-index: 100;
  display: flex; align-items: center;
  background: rgba(247, 249, 251, 0.84);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--hub-line-2);
}
.hub-nav__inner {
  width: 100%; max-width: var(--hub-container); margin: 0 auto;
  padding: 0 var(--hub-gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.hub-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--hub-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
  color: var(--hub-ink);
}
.hub-logo__mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--hub-accent);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.hub-logo__mark svg { width: 14px; height: 14px; }
.hub-nav__links { display: flex; align-items: center; gap: 2px; list-style: none; }
.hub-nav__links a {
  display: inline-block; padding: 8px 12px;
  font-size: 14.5px; font-weight: 500;
  color: var(--hub-dim); border-radius: 10px;
  transition: color var(--hub-fast) var(--hub-ease), background var(--hub-fast) var(--hub-ease);
}
.hub-nav__links a:hover { color: var(--hub-ink); background: rgba(26,43,60,.05); }
.hub-nav__links a[aria-current="page"] { color: var(--hub-accent); background: var(--hub-accent-soft); }
.hub-nav__cta {
  font-size: 14.5px; font-weight: 600;
  padding: 10px 18px; border-radius: 12px;
  color: #fff;
  background: var(--hub-accent);
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
  transition: transform var(--hub-fast) var(--hub-ease), background var(--hub-fast) var(--hub-ease);
  white-space: nowrap;
}
.hub-nav__cta:hover { transform: translateY(-1px); background: var(--hub-accent-deep); }
@media (max-width: 980px) { .hub-nav__links { display: none; } }

/* ---------- Buttons ---------- */
.hub-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 13px;
  font-size: 15.5px; font-weight: 600;
  transition: transform var(--hub-fast) var(--hub-ease), background var(--hub-fast) var(--hub-ease), box-shadow var(--hub-fast) var(--hub-ease);
}
.hub-btn--go { color: #fff; background: var(--hub-accent); box-shadow: 0 8px 24px rgba(37,99,235,.3); }
.hub-btn--go:hover { transform: translateY(-2px); background: var(--hub-accent-deep); box-shadow: 0 12px 32px rgba(37,99,235,.38); }
.hub-btn--ghost { color: var(--hub-ink); border: 1px solid var(--hub-line); background: var(--hub-card); }
.hub-btn--ghost:hover { background: var(--hub-card-2); }
.hub-btn .hub-arrow { transition: transform var(--hub-fast) var(--hub-ease); }
.hub-btn:hover .hub-arrow { transform: translateX(3px); }
.hub-btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

/* ---------- Homepage hero ---------- */
.hub-hero {
  padding: calc(var(--hub-nav-h) + clamp(56px, 9vh, 104px)) 0 clamp(64px, 9vh, 110px);
  position: relative;
  overflow: hidden;
}
.hub-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(37,99,235,0.07), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(99,102,241,0.06), transparent 60%);
  pointer-events: none;
}
.hub-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 4.5vw, 72px);
  align-items: center;
  position: relative;
}
@media (max-width: 1020px) { .hub-hero__grid { grid-template-columns: 1fr; } }
.hub-hero__sub { margin-top: 20px; }
.hub-hero__ctas { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hub-hero__meta { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.hub-hero__note { margin-top: 14px; font-size: 13.5px; color: var(--hub-mute); }

/* ---------- Inner-page hero ---------- */
.hub-pagehero {
  padding: calc(var(--hub-nav-h) + clamp(48px, 8vh, 96px)) 0 clamp(40px, 6vh, 72px);
  position: relative;
}
.hub-pagehero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 85% 0%, rgba(37,99,235,0.06), transparent 60%);
  pointer-events: none;
}
.hub-pagehero__title {
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 16px;
}
.hub-pagehero__sub { margin-top: 16px; }

/* ---------- The Hub panel (live automation view) ---------- */
.hub-panel {
  border-radius: var(--hub-radius);
  border: 1px solid var(--hub-line);
  background: var(--hub-card);
  box-shadow: var(--hub-shadow-lift);
  overflow: hidden;
}
.hub-panel__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hub-line-2);
  font-size: 13.5px; font-weight: 600; color: var(--hub-ink);
}
.hub-panel__bar small { color: var(--hub-mute); font-weight: 400; }
.hub-panel__badge { margin-left: auto; }

/* Pipeline: work in → your AI team → time back */
.hub-pipe { padding: 18px 14px 8px; background: var(--hub-inset); border-bottom: 1px solid var(--hub-line-2); }
.hub-pipe svg { width: 100%; height: auto; overflow: visible; }
.hub-pipe-node { fill: var(--hub-card); stroke: var(--hub-line); stroke-width: 1; filter: drop-shadow(0 2px 4px rgba(26,43,60,.06)); }
.hub-pipe-node--core { fill: var(--hub-team-soft); stroke: var(--hub-team); stroke-width: 1.4; }
.hub-pipe-node--out { fill: var(--hub-accent-soft); stroke: rgba(37,99,235,.4); }
.hub-pipe-label { font-family: var(--hub-body); font-size: 10.5px; font-weight: 600; fill: var(--hub-dim); }
.hub-pipe-label--core { fill: var(--hub-team); font-weight: 700; }
.hub-pipe-label--out { fill: var(--hub-accent); font-weight: 700; }
.hub-pipe-wire { fill: none; stroke: var(--hub-line); stroke-width: 1.4; }
.hub-packet { fill: var(--hub-accent); filter: drop-shadow(0 0 4px rgba(37,99,235,.7)); }
.hub-packet--in { fill: var(--hub-amber); filter: drop-shadow(0 0 4px rgba(245,166,35,.7)); }

/* Activity feed */
.hub-feed { padding: 8px 6px; min-height: 232px; }
.hub-feed__item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13.5px;
}
.hub-feed__item:nth-child(odd) { background: var(--hub-inset); }
.hub-feed__icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--hub-team-soft);
  color: var(--hub-team);
  font-size: 14px;
}
.hub-feed__text { color: var(--hub-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-feed__text b { color: var(--hub-ink); font-weight: 600; }
.hub-feed__gain {
  margin-left: auto; flex: none;
  font-weight: 700; font-size: 12.5px;
  color: var(--hub-accent);
  background: var(--hub-accent-soft);
  padding: 3px 9px;
  border-radius: 999px;
}
.hub-feed__time { flex: none; font-family: var(--hub-mono); font-size: 10.5px; color: var(--hub-mute); }

/* Tally */
.hub-panel__tally {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--hub-line-2);
  background: var(--hub-card-2);
  font-size: 13.5px; color: var(--hub-dim);
}
.hub-panel__tally strong {
  font-family: var(--hub-display);
  font-size: 22px; font-weight: 700; color: var(--hub-accent);
  font-variant-numeric: tabular-nums;
}
.hub-panel__tally strong small { font-size: 13px; font-weight: 600; }

/* ---------- Ticker ---------- */
.hub-ticker {
  border-top: 1px solid var(--hub-line-2);
  border-bottom: 1px solid var(--hub-line-2);
  background: var(--hub-card);
  overflow: hidden;
  padding: 14px 0;
}
.hub-ticker__track {
  display: flex; gap: 40px; width: max-content;
  font-size: 13.5px; font-weight: 500; color: var(--hub-mute);
  animation: hub-ticker 46s linear infinite;
}
.hub-ticker__track span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hub-ticker__track b { color: var(--hub-accent); font-weight: 700; }
.hub-ticker__track i { font-style: normal; }
@keyframes hub-ticker { to { transform: translateX(-50%); } }

/* ---------- Step cards (services) ---------- */
.hub-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 880px) { .hub-grid-3 { grid-template-columns: 1fr; } }
.hub-step-card {
  border-radius: var(--hub-radius);
  border: 1px solid var(--hub-line);
  background: var(--hub-card);
  box-shadow: var(--hub-shadow);
  padding: 26px 26px 24px;
  display: flex; flex-direction: column;
  transition: transform var(--hub-base) var(--hub-ease), box-shadow var(--hub-base) var(--hub-ease), border-color var(--hub-base) var(--hub-ease);
}
.hub-step-card:hover { transform: translateY(-5px); box-shadow: var(--hub-shadow-lift); border-color: rgba(37,99,235,.35); }
.hub-step-card--featured { border-color: rgba(37,99,235,.45); box-shadow: 0 0 0 1px rgba(37,99,235,.2), var(--hub-shadow-lift); }
.hub-step-card__step {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--hub-accent);
}
.hub-step-card__title { font-family: var(--hub-display); font-weight: 700; font-size: 23px; margin: 12px 0 8px; letter-spacing: -0.01em; }
.hub-step-card__desc { color: var(--hub-dim); font-size: 15px; }
.hub-step-card__facts { margin: 18px 0 0; border-top: 1px solid var(--hub-line-2); font-size: 13.5px; }
.hub-step-card__facts div {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--hub-line-2);
}
.hub-step-card__facts dt { color: var(--hub-mute); }
.hub-step-card__facts dd { font-weight: 600; text-align: right; }
.hub-step-card__facts dd.hub-price { color: var(--hub-accent); }
.hub-step-card__cta { margin-top: 18px; }
.hub-step-card__cta .hub-btn { width: 100%; justify-content: center; }

/* Check list */
.hub-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.hub-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--hub-dim);
}
.hub-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 19px; height: 19px;
  border-radius: 6px;
  background: var(--hub-accent-soft);
  color: var(--hub-accent);
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}

/* ---------- Journey (how it works) ---------- */
.hub-journey {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
  overflow: hidden;
  background: var(--hub-card);
  box-shadow: var(--hub-shadow);
}
@media (max-width: 880px) { .hub-journey { grid-template-columns: 1fr; } }
.hub-leg { padding: 22px 20px 20px; border-right: 1px solid var(--hub-line-2); }
.hub-leg:last-child { border-right: 0; }
@media (max-width: 880px) { .hub-leg { border-right: 0; border-bottom: 1px solid var(--hub-line-2); } }
.hub-leg__status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.hub-leg__status--done   { color: var(--hub-accent); }
.hub-leg__status--active { color: var(--hub-amber); }
.hub-leg__status--next   { color: var(--hub-mute); }
.hub-leg__status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; font-style: normal; }
.hub-leg__status--active i { animation: hub-pulse 1.3s ease-in-out infinite; }
.hub-leg__name { font-family: var(--hub-display); font-weight: 700; font-size: 18px; margin: 10px 0 6px; }
.hub-leg__desc { color: var(--hub-dim); font-size: 13.5px; }
.hub-leg__time { margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--hub-mute); }

/* ---------- Points (why us, model notes) ---------- */
.hub-points { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(16px, 2.4vw, 26px); }
@media (max-width: 900px) { .hub-points { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .hub-points { grid-template-columns: 1fr; } }
.hub-point__num {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--hub-accent-soft);
  color: var(--hub-accent);
  font-family: var(--hub-display);
  font-weight: 700; font-size: 14px;
}
.hub-point__title { font-family: var(--hub-display); font-weight: 700; font-size: 18px; margin-top: 12px; }
.hub-point__body { color: var(--hub-dim); font-size: 14.5px; margin-top: 6px; }

/* ---------- Your AI team cards ---------- */
.hub-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(14px, 2vw, 22px); }
@media (max-width: 980px) { .hub-team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .hub-team-grid { grid-template-columns: 1fr; } }
.hub-mate {
  border-radius: var(--hub-radius);
  border: 1px solid var(--hub-line);
  background: var(--hub-card);
  box-shadow: var(--hub-shadow);
  padding: 22px 22px 20px;
  transition: transform var(--hub-base) var(--hub-ease), box-shadow var(--hub-base) var(--hub-ease);
}
.hub-mate:hover { transform: translateY(-4px); box-shadow: var(--hub-shadow-lift); }
.hub-mate__top { display: flex; align-items: center; gap: 12px; }
.hub-mate__avatar {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--hub-team-soft);
}
.hub-mate__avatar svg { width: 22px; height: 22px; stroke: var(--hub-team); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hub-mate__name { font-family: var(--hub-display); font-weight: 700; font-size: 19px; }
.hub-mate__role { font-size: 12.5px; font-weight: 600; color: var(--hub-team); }
.hub-mate__status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  color: var(--hub-accent);
  background: var(--hub-accent-soft);
  padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}
.hub-mate__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--hub-accent); animation: hub-pulse 2.4s ease-in-out infinite; font-style: normal; }
.hub-mate__desc { color: var(--hub-dim); font-size: 14px; margin-top: 12px; }
.hub-mate__fact { margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--hub-mute); }
.hub-mate__fact b { color: var(--hub-ink); }

/* ---------- Results tiles + sparklines ---------- */
.hub-tiles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(14px, 2vw, 22px); }
@media (max-width: 980px) { .hub-tiles { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .hub-tiles { grid-template-columns: 1fr; } }
.hub-tile {
  border-radius: var(--hub-radius);
  border: 1px solid var(--hub-line);
  background: var(--hub-card);
  box-shadow: var(--hub-shadow);
  padding: 20px 22px 18px;
}
.hub-tile__label { font-size: 13px; font-weight: 600; color: var(--hub-mute); }
.hub-tile__value {
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.hub-tile__value small { font-size: .55em; color: var(--hub-mute); font-weight: 600; }
.hub-tile__spark { margin-top: 12px; }
.hub-tile__spark svg { width: 100%; height: 36px; overflow: visible; }
.hub-spark {
  fill: none; stroke: var(--hub-accent); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 400; stroke-dashoffset: 400;
}
.is-visible .hub-spark { animation: hub-spark-draw 1.6s var(--hub-ease) forwards; }
@keyframes hub-spark-draw { to { stroke-dashoffset: 0; } }
.hub-spark-fill { fill: var(--hub-accent-soft); stroke: none; opacity: 0; transition: opacity .8s var(--hub-ease) .8s; }
.is-visible .hub-spark-fill { opacity: 1; }

/* ---------- Big counter ---------- */
.hub-counter { text-align: center; }
.hub-counter__num {
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(72px, 14vw, 180px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--hub-ink) 0%, var(--hub-accent) 110%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hub-counter__unit { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--hub-mute); }

/* ---------- Case studies ---------- */
.hub-case {
  border-radius: var(--hub-radius);
  border: 1px solid var(--hub-line);
  background: var(--hub-card);
  box-shadow: var(--hub-shadow);
  padding: 28px;
}
.hub-case + .hub-case { margin-top: 22px; }
.hub-case__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.hub-case__title { font-family: var(--hub-display); font-weight: 700; font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -0.01em; }
.hub-case__industry {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--hub-accent);
  background: var(--hub-accent-soft);
  padding: 4px 11px; border-radius: 999px;
}
.hub-case__body { color: var(--hub-dim); font-size: 15px; margin-top: 12px; max-width: 72ch; }
.hub-case__body b, .hub-case__body strong { color: var(--hub-ink); }
.hub-case__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 20px; padding: 18px 20px;
  border-radius: 14px;
  background: var(--hub-inset);
  border: 1px solid var(--hub-line-2);
}
@media (max-width: 600px) { .hub-case__metrics { grid-template-columns: 1fr; } }
.hub-case__metric { text-align: center; }
.hub-case__metric strong {
  display: block;
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.02em;
  color: var(--hub-accent);
  font-variant-numeric: tabular-nums;
}
.hub-case__metric span { font-size: 12.5px; font-weight: 600; color: var(--hub-mute); }

/* ---------- Comparison table ---------- */
.hub-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
  background: var(--hub-card);
  box-shadow: var(--hub-shadow);
}
.hub-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.hub-table th, .hub-table td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hub-line-2);
  vertical-align: top;
}
.hub-table thead th {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--hub-mute);
  background: var(--hub-card-2);
}
.hub-table tbody tr:last-child th, .hub-table tbody tr:last-child td { border-bottom: 0; }
.hub-table tbody th { font-weight: 600; width: 26%; }
.hub-table .hub-table__hi { background: var(--hub-accent-soft); font-weight: 600; }
.hub-table thead .hub-table__hi { color: var(--hub-accent); background: var(--hub-accent-soft-2); }
.hub-mark--yes { color: var(--hub-accent); font-weight: 700; }
.hub-mark--mid { color: var(--hub-mute); }
.hub-mark--no  { color: #D14343; }
.hub-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--hub-mute); }

/* ---------- FAQ accordion ---------- */
.hub-faq { max-width: 800px; margin-top: 40px; }
.hub-faq__item {
  border: 1px solid var(--hub-line);
  border-radius: 16px;
  background: var(--hub-card);
  box-shadow: var(--hub-shadow);
  margin-bottom: 12px;
  overflow: hidden;
}
.hub-faq__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 22px;
  text-align: left;
  font-family: var(--hub-display);
  font-size: clamp(16.5px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.hub-faq__btn::-webkit-details-marker { display: none; }
.hub-faq__icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 10px;
  background: var(--hub-accent-soft);
  color: var(--hub-accent);
  display: grid; place-items: center;
  font-size: 16px; font-weight: 700;
  transition: transform var(--hub-base) var(--hub-ease);
}
.hub-faq__icon::before { content: "+"; }
.hub-faq__item[open] .hub-faq__icon { transform: rotate(45deg); }
.hub-faq__panel { padding: 0 22px 20px; color: var(--hub-dim); font-size: 15px; }
.hub-faq__panel p + p, .hub-faq__panel p + ul, .hub-faq__panel ul + p { margin-top: 10px; }
.hub-faq__panel ul { padding-left: 20px; }
.hub-faq__panel li { margin-bottom: 5px; }

/* ---------- Contact ---------- */
.hub-contact {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(28px, 5vw, 72px);
  margin-top: 40px;
  align-items: start;
}
@media (max-width: 880px) { .hub-contact { grid-template-columns: 1fr; } }
.hub-methods { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.hub-method {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 17px;
  border-radius: 14px;
  border: 1px solid var(--hub-line);
  background: var(--hub-card);
  box-shadow: var(--hub-shadow);
}
.hub-method__icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--hub-accent-soft);
  color: var(--hub-accent);
  display: grid; place-items: center;
}
.hub-method strong { display: block; font-weight: 600; font-size: 14.5px; }
.hub-method span { color: var(--hub-dim); font-size: 14px; }
.hub-form {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px;
  border-radius: var(--hub-radius);
  border: 1px solid var(--hub-line);
  background: var(--hub-card);
  box-shadow: var(--hub-shadow-lift);
}
.hub-field { display: flex; flex-direction: column; gap: 6px; }
.hub-field label { font-size: 13px; font-weight: 600; color: var(--hub-ink); }
.hub-input, .hub-textarea, .hub-select {
  font: inherit;
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--hub-inset);
  color: var(--hub-ink);
  border: 1px solid var(--hub-line);
  outline: none;
  transition: border-color var(--hub-fast) var(--hub-ease), box-shadow var(--hub-fast) var(--hub-ease);
}
.hub-input:focus, .hub-textarea:focus, .hub-select:focus {
  border-color: var(--hub-accent);
  box-shadow: 0 0 0 4px var(--hub-accent-soft);
}
.hub-textarea { min-height: 130px; resize: vertical; }
.hub-form small { color: var(--hub-mute); font-size: 12.5px; }
.hub-form__success {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--hub-accent-soft);
  color: var(--hub-accent);
  font-weight: 600;
  font-size: 14.5px;
}

/* ---------- Blog ---------- */
.hub-posts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 44px; }
@media (max-width: 980px) { .hub-posts { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .hub-posts { grid-template-columns: 1fr; } }
.hub-post {
  border-radius: var(--hub-radius);
  border: 1px solid var(--hub-line);
  background: var(--hub-card);
  box-shadow: var(--hub-shadow);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--hub-base) var(--hub-ease), box-shadow var(--hub-base) var(--hub-ease);
}
.hub-post:hover { transform: translateY(-4px); box-shadow: var(--hub-shadow-lift); }
.hub-post__tag {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--hub-accent);
  background: var(--hub-accent-soft);
  padding: 4px 10px; border-radius: 999px;
}
.hub-post__date { font-size: 12.5px; font-weight: 500; color: var(--hub-mute); }
.hub-post__title { font-family: var(--hub-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.hub-post__excerpt { color: var(--hub-dim); font-size: 14.5px; }
.hub-post__more { margin-top: auto; color: var(--hub-accent); font-weight: 600; font-size: 14px; }

.hub-news {
  margin-top: 56px;
  padding: clamp(36px, 5vw, 56px);
  border-radius: 22px;
  border: 1px solid var(--hub-line);
  background:
    radial-gradient(60% 100% at 100% 0%, var(--hub-accent-soft), transparent 60%),
    var(--hub-card);
  box-shadow: var(--hub-shadow);
  text-align: center;
}
.hub-news h2 { font-family: var(--hub-display); font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.015em; }
.hub-news p { color: var(--hub-dim); margin: 10px auto 0; max-width: 480px; }
.hub-news form { display: flex; gap: 10px; max-width: 460px; margin: 22px auto 0; flex-wrap: wrap; justify-content: center; }
.hub-news .hub-input { max-width: 280px; }

/* ---------- Story (about) ---------- */
.hub-story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-top: 40px;
}
@media (max-width: 880px) { .hub-story-grid { grid-template-columns: 1fr; } }
.hub-story p + p { margin-top: 14px; }
.hub-values { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .hub-values { grid-template-columns: 1fr; } }
.hub-values div {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  box-shadow: var(--hub-shadow);
}
.hub-values h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.hub-values p { font-size: 13.5px; color: var(--hub-dim); }

/* ---------- Final CTA ---------- */
.hub-final { text-align: center; }
.hub-final__card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: 26px;
  background:
    radial-gradient(80% 100% at 50% 0%, var(--hub-accent-soft), transparent 70%),
    var(--hub-card);
  border: 1px solid var(--hub-line);
  box-shadow: var(--hub-shadow-lift);
}
.hub-final__reassure { margin-top: 26px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.hub-footer { border-top: 1px solid var(--hub-line-2); background: var(--hub-card); padding: 60px 0 36px; color: var(--hub-dim); }
.hub-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 820px) { .hub-footer__grid { grid-template-columns: 1fr 1fr; } }
.hub-footer h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--hub-mute); margin-bottom: 13px; font-weight: 700; }
.hub-footer ul { list-style: none; }
.hub-footer li { margin-bottom: 7px; }
.hub-footer a { font-size: 14.5px; }
.hub-footer a:hover { color: var(--hub-ink); }
.hub-footer__base {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid var(--hub-line-2);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--hub-mute);
}

/* ---------- Reveal ---------- */
.hub-reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 700ms var(--hub-ease), transform 800ms var(--hub-ease);
  transition-delay: var(--hub-stagger, 0ms);
}
.hub-reveal.is-visible { opacity: 1; transform: none; }


/* =============================================================
   AUDITOR COMPAT
   js/auditor.js renders rh-* classes.  Style them here with
   Hub tokens so the diagnostic feels native to the new theme.
   ============================================================= */
.rh-aud {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 22px;
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  box-shadow: var(--hub-shadow-lift);
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);
}
.rh-aud__hud {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--hub-mute);
}
.rh-aud__step  { color: var(--hub-accent); }
.rh-aud__progress { height: 4px; border-radius: 999px; background: var(--hub-line-2); position: relative; overflow: hidden; }
.rh-aud__progress > span {
  position: absolute; inset: 0 auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hub-accent), var(--hub-team));
  transition: width 480ms var(--hub-ease);
}
.rh-aud__body { display: flex; flex-direction: column; gap: 12px; }
.rh-aud__q {
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.rh-aud__help { color: var(--hub-dim); font-size: 15px; max-width: 60ch; }
.rh-aud__field { margin-top: 6px; }
.rh-aud__choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.rh-aud__choice {
  text-align: left;
  padding: 13px 15px;
  border-radius: 13px;
  border: 1px solid var(--hub-line);
  background: var(--hub-inset);
  font-size: 14.5px; font-weight: 600;
  cursor: pointer;
  transition: background var(--hub-fast) var(--hub-ease), border-color var(--hub-fast) var(--hub-ease);
}
.rh-aud__choice:hover { background: var(--hub-card-2); border-color: rgba(37,99,235,.35); }
.rh-aud__choice.is-selected {
  background: var(--hub-accent-soft);
  border-color: var(--hub-accent);
  box-shadow: 0 0 0 1px var(--hub-accent) inset;
  color: var(--hub-accent-deep);
}
.rh-aud__num { display: flex; flex-direction: column; gap: 14px; }
.rh-aud__num-display {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--hub-line);
  background: var(--hub-inset);
  width: fit-content;
}
.rh-aud__num-display strong {
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rh-aud__num-display span { font-size: 13px; font-weight: 600; color: var(--hub-mute); }
.rh-aud__num-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.rh-aud__chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--hub-line);
  background: var(--hub-card);
  font-size: 13px; font-weight: 600;
  color: var(--hub-dim);
  cursor: pointer;
  transition: background var(--hub-fast) var(--hub-ease), color var(--hub-fast) var(--hub-ease), border-color var(--hub-fast) var(--hub-ease);
}
.rh-aud__chip:hover { background: var(--hub-card-2); color: var(--hub-ink); }
.rh-aud__chip.is-selected { background: var(--hub-accent-soft); color: var(--hub-accent-deep); border-color: var(--hub-accent); }
.rh-aud__skip {
  align-self: flex-start;
  font-size: 13px; font-weight: 600;
  color: var(--hub-mute);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.rh-aud__skip:hover { color: var(--hub-ink); }
.rh-aud__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--hub-line-2);
}
.rh-aud__back { font-size: 13.5px; font-weight: 600; color: var(--hub-mute); cursor: pointer; }
.rh-aud__back:hover { color: var(--hub-ink); }
.rh-aud__next:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

/* Auditor result card */
.rh-aud--result { padding: clamp(30px, 4vw, 52px); }
.rh-fc { display: flex; flex-direction: column; gap: 26px; }
.rh-fc__head { display: flex; flex-direction: column; gap: 8px; }
.rh-fc__big { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.rh-fc__big strong {
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(60px, 9vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--hub-ink) 0%, var(--hub-accent) 110%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.rh-fc__big span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hub-mute); }
.rh-fc__metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--hub-inset);
  border: 1px solid var(--hub-line-2);
}
@media (max-width: 600px) { .rh-fc__metrics { grid-template-columns: 1fr; } }
.rh-fc__metric { display: flex; flex-direction: column; gap: 3px; }
.rh-fc__metric strong {
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.015em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--hub-accent);
}
.rh-fc__metric span { font-size: 12px; font-weight: 600; color: var(--hub-mute); }
.rh-fc__narrative { font-size: 15.5px; line-height: 1.65; color: var(--hub-dim); max-width: 62ch; }
.rh-fc__rec { display: flex; flex-direction: column; gap: 8px; }
.rh-fc__rec-card {
  display: inline-flex; align-items: baseline; gap: 14px;
  padding: 13px 17px;
  border-radius: 13px;
  border: 1px solid rgba(37,99,235,.4);
  background: var(--hub-accent-soft);
  width: fit-content;
}
.rh-fc__rec-card strong { font-family: var(--hub-display); font-size: 17px; font-weight: 700; }
.rh-fc__rec-card span { font-size: 13px; font-weight: 600; color: var(--hub-dim); }

/* Auditor uses rh-eyebrow / rh-btn / rh-arrow */
.rh-eyebrow {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--hub-accent-soft);
  color: var(--hub-accent);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  width: fit-content;
}
.rh-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 13px;
  font-size: 15px; font-weight: 600;
  transition: transform var(--hub-fast) var(--hub-ease), background var(--hub-fast) var(--hub-ease);
}
.rh-btn--primary, .rh-btn--ember { color: #fff; background: var(--hub-accent); box-shadow: 0 8px 24px rgba(37,99,235,.3); }
.rh-btn--primary:hover, .rh-btn--ember:hover { transform: translateY(-2px); background: var(--hub-accent-deep); }
.rh-btn--ghost { color: var(--hub-ink); border: 1px solid var(--hub-line); background: var(--hub-card); }
.rh-btn .rh-arrow { transition: transform var(--hub-fast) var(--hub-ease); }
.rh-btn:hover .rh-arrow { transform: translateX(3px); }


/* =============================================================
   BLOG-ARTICLE COMPAT
   Existing articles keep their rh-* markup; these rules render
   that markup in Hub style.  (Theme toggle is retired → hidden.)
   ============================================================= */
.rh-theme, .rh-nav__burger { display: none !important; }
.rh-nav {
  position: fixed; inset: 0 0 auto 0; height: var(--hub-nav-h); z-index: 100;
  display: flex; align-items: center;
  background: rgba(247, 249, 251, 0.84);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--hub-line-2);
}
.rh-nav__inner {
  width: 100%; max-width: var(--hub-container); margin: 0 auto;
  padding: 0 var(--hub-gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.rh-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--hub-display); font-weight: 700; font-size: 16px;
  color: var(--hub-ink);
}
.rh-logo__mark {
  width: 24px; height: 24px; border-radius: 8px;
  background: var(--hub-accent);
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.rh-row { display: flex; align-items: center; gap: 10px; }
.rh-nav__links { display: flex; align-items: center; gap: 2px; list-style: none; }
.rh-nav__links a {
  display: inline-block; padding: 8px 11px;
  font-size: 14px; font-weight: 500;
  color: var(--hub-dim); border-radius: 10px;
  transition: color var(--hub-fast) var(--hub-ease), background var(--hub-fast) var(--hub-ease);
}
.rh-nav__links a:hover { color: var(--hub-ink); background: rgba(26,43,60,.05); }
.rh-nav__links a[aria-current="page"] { color: var(--hub-accent); background: var(--hub-accent-soft); }
.rh-nav__cta {
  font-size: 14px; font-weight: 600;
  padding: 9px 16px; border-radius: 11px;
  color: #fff; background: var(--hub-accent);
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
@media (max-width: 980px) { .rh-nav__links { display: none; } }

.rh-container { width: 100%; max-width: var(--hub-container); margin: 0 auto; padding: 0 var(--hub-gutter); }
.rh-body { color: var(--hub-dim); }
.rh-mono { font-family: var(--hub-mono); }

/* Article shell */
.rh-article { padding: calc(var(--hub-nav-h) + clamp(48px, 8vh, 88px)) 0 clamp(56px, 9vh, 110px); }
.rh-article__container { max-width: 720px; margin: 0 auto; padding: 0 var(--hub-gutter); }
.rh-article__header { margin-bottom: clamp(32px, 5vh, 56px); }
.rh-article__category {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--hub-accent-soft);
  color: var(--hub-accent);
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.rh-article__title {
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(32px, 4.8vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 16px 0 10px;
}
.rh-article__meta { font-size: 13px; font-weight: 500; color: var(--hub-mute); }
.rh-article__body { font-size: clamp(16px, 1.15vw, 17.5px); line-height: 1.72; color: var(--hub-dim); }
.rh-article__body > * + * { margin-top: 20px; }
.rh-article__body h1 { display: none; } /* legacy duplicate titles inside body */
.rh-article__body h2 {
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.015em;
  color: var(--hub-ink);
  margin-top: clamp(32px, 5vh, 44px);
}
.rh-article__body h3 {
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: 18.5px;
  color: var(--hub-ink);
  margin-top: 26px;
}
.rh-article__body strong { color: var(--hub-ink); }
.rh-article__body a { color: var(--hub-accent); text-decoration: underline; text-underline-offset: 3px; }
.rh-article__body ul, .rh-article__body ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.rh-article__body blockquote {
  margin: 28px 0;
  padding: 14px 0 14px 20px;
  border-left: 3px solid var(--hub-accent);
  font-family: var(--hub-display);
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 22px);
  color: var(--hub-ink);
}
.rh-article__body code {
  font-family: var(--hub-mono);
  font-size: .9em;
  background: var(--hub-card-2);
  border: 1px solid var(--hub-line);
  padding: 1px 6px; border-radius: 5px;
}
.rh-article__stats {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px;
  margin: 28px 0;
  padding: 20px;
  border-radius: 16px;
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  box-shadow: var(--hub-shadow);
}
@media (max-width: 600px) { .rh-article__stats { grid-template-columns: 1fr; } }
.rh-article__stat strong, .rh-article__stats .number {
  display: block;
  font-family: var(--hub-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  color: var(--hub-accent);
}
.rh-article__stat span, .rh-article__stats .label { font-size: 12.5px; font-weight: 600; color: var(--hub-mute); }
.rh-article__cta {
  margin-top: clamp(40px, 6vh, 64px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 20px;
  background: radial-gradient(60% 100% at 100% 0%, var(--hub-accent-soft), transparent 60%), var(--hub-card);
  border: 1px solid var(--hub-line);
  box-shadow: var(--hub-shadow);
}
.rh-article__cta h3 { margin: 0 0 10px; font-family: var(--hub-display); font-weight: 700; font-size: clamp(21px, 2.4vw, 28px); color: var(--hub-ink); }
.rh-article__cta p { margin: 0 0 18px; }
.rh-article__back, .back-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: clamp(36px, 6vh, 60px);
  font-size: 13.5px; font-weight: 600;
  color: var(--hub-mute);
}
.rh-article__back:hover, .back-link:hover { color: var(--hub-ink); }
.rh-article__body .back-link { margin-top: 0; }
.rh-article__next {
  margin-top: clamp(36px, 6vh, 60px);
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  box-shadow: var(--hub-shadow);
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
}
.rh-article__next-label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hub-mute); }
.rh-article__next-title { font-family: var(--hub-display); font-weight: 700; font-size: 16px; color: var(--hub-ink); }
.rh-article__next-arrow { color: var(--hub-accent); }
.blog-meta { font-size: 13px; font-weight: 500; color: var(--hub-mute); }

/* Legacy footer markup on articles */
.rh-footer { border-top: 1px solid var(--hub-line-2); background: var(--hub-card); padding: 56px 0 34px; color: var(--hub-dim); }
.rh-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 820px) { .rh-footer__grid { grid-template-columns: 1fr 1fr; } }
.rh-footer h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--hub-mute); margin-bottom: 13px; font-weight: 700; }
.rh-footer ul { list-style: none; }
.rh-footer li { margin-bottom: 7px; }
.rh-footer a { font-size: 14.5px; color: var(--hub-dim); }
.rh-footer a:hover { color: var(--hub-ink); }
.rh-footer__base {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--hub-line-2);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--hub-mute);
}

/* Legacy reveal class on articles */
.rh-reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms var(--hub-ease), transform 800ms var(--hub-ease);
}
.rh-reveal.is-visible { opacity: 1; transform: none; }

/* Floating "Try the Auditor" pill (kept from v2, restyled) */
.rh-aud-pill {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 17px 11px 13px;
  border-radius: 999px;
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  box-shadow: var(--hub-shadow-lift);
  font-size: 13.5px; font-weight: 600;
  color: var(--hub-ink);
  transition: transform var(--hub-fast) var(--hub-ease);
}
.rh-aud-pill:hover { transform: translateY(-2px); }
.rh-aud-pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hub-accent);
  box-shadow: 0 0 0 3px var(--hub-accent-soft);
  animation: hub-pulse 2.4s ease-in-out infinite;
  flex: none;
}
.rh-aud-pill__arrow { color: var(--hub-accent); }
@media (max-width: 540px) { .rh-aud-pill__label { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hub-reveal, .rh-reveal { opacity: 1 !important; transform: none !important; }
  .hub-packet, .hub-packet--in { display: none; }
  .hub-spark { stroke-dashoffset: 0 !important; }
  .hub-spark-fill { opacity: 1 !important; }
  .hub-ticker__track { animation: none !important; }
}
