/* Plan cards (home pricing + dashboard upgrade): white cards, grouped feature lists, staggered heights, purple "popular" and Enterprise cards. */
.hh-grid { --hh-ink: #1c1b29; --hh-mut: #6b6a7a; --hh-line: #ebe9f1; --hh-pur: #8a4fe0; --hh-pur2: #6a2fb8;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.hh-card { position: relative; display: flex; flex-direction: column; padding: 22px 20px 20px; background: #fff; color: var(--hh-ink); border-radius: 22px;
  border: 1px solid var(--hh-line); box-shadow: 0 18px 40px -26px rgba(40, 20, 90, .35); font-size: .86rem; line-height: 1.4; }
.hh-card h3 { margin: 0; font-size: 1.02rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.hh-pop { padding: .15rem .6rem; border-radius: 99px; background: #efe6ff; color: var(--hh-pur); font-size: .68rem; font-weight: 700; }
.hh-users { display: flex; align-items: center; gap: .45rem; margin: .5rem 0 0; padding-bottom: .9rem; border-bottom: 1px solid var(--hh-line); color: var(--hh-mut); font-size: .82rem; }
.hh-users svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hh-price { margin: 1rem 0 .1rem; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.hh-price b { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; } .hh-price span { color: var(--hh-mut); font-size: .85rem; } .hh-price s { color: #a9a7b8; font-size: .85rem; }
.hh-sub { color: var(--hh-mut); font-size: .72rem; min-height: 1.1rem; }
.hh-desc { margin: 1.1rem 0 1rem; color: var(--hh-mut); font-size: .78rem; min-height: 4.2em; }
.hh-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: .62rem .8rem; border-radius: 99px; border: 1.5px solid #cfcadd; background: #fff;
  color: var(--hh-ink); font: 600 .82rem inherit; font-family: inherit; text-decoration: none; cursor: pointer; transition: .18s; }
.hh-btn:hover { border-color: var(--hh-pur); color: var(--hh-pur2); }
.hh-btn.pri { background: var(--hh-pur); border-color: var(--hh-pur); color: #fff; box-shadow: 0 12px 22px -12px rgba(106, 47, 184, .8); } .hh-btn.pri:hover { background: var(--hh-pur2); color: #fff; }
.hh-btn:disabled { opacity: .6; cursor: default; }
.hh-note { text-align: center; color: var(--hh-mut); font-size: .7rem; margin: .5rem 0 0; min-height: 1rem; }
.hh-body { margin-top: .9rem; padding-top: 1rem; border-top: 1px solid var(--hh-line); }
.hh-intro { font-weight: 700; font-size: .82rem; margin: 0 0 .8rem; }
.hh-grp { font-weight: 700; font-size: .74rem; margin: .9rem 0 .45rem; } .hh-grp:first-of-type { margin-top: 0; }
.hh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.hh-list li { display: flex; gap: .5rem; align-items: flex-start; color: #4a485a; font-size: .76rem; }
.hh-list svg { flex: none; width: 13px; height: 13px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; color: #3d3b4f; }
.hh-more { margin: .9rem auto 0; background: none; border: 0; padding: 0; color: #3d3b4f; font-size: .72rem; text-decoration: underline; cursor: pointer; }
.hh-card:not(.open) .hh-list li.x { display: none; } .hh-card:not(.open) .hh-grp.x { display: none; }
/* the purple Enterprise / custom card */
.hh-card.ent { color: #fff; border: 0; background: radial-gradient(120% 80% at 100% 0%, #d36fb0 0%, transparent 45%), linear-gradient(170deg, #9a58e6 0%, #6a2fb8 55%, #5a229f 100%); box-shadow: 0 30px 60px -26px rgba(90, 34, 159, .8); }
.hh-card.ent .hh-users, .hh-card.ent .hh-body { border-color: rgba(255, 255, 255, .25); } .hh-card.ent .hh-users, .hh-card.ent .hh-sub, .hh-card.ent .hh-desc { color: rgba(255, 255, 255, .85); }
.hh-card.ent .hh-btn { background: #fff; color: #4a1b8a; border-color: #fff; } .hh-card.ent .hh-list li, .hh-card.ent .hh-list svg { color: #fff; }
/* staggered look: later plans are taller; keep on wide screens only */
@media (max-width: 1100px) { .hh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .hh-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .hh-grid .hh-head { display: none; } }

/* group headings above the grid (home) */
.hh-head { grid-column: span 2; padding-bottom: .7rem; border-bottom: 1.5px solid var(--hh-line); display: flex; flex-direction: column; gap: .1rem; }
.hh-head b { font-size: 1.05rem; } .hh-head span { font-size: .78rem; color: var(--hh-mut); }
@media (max-width: 1100px) { .hh-head { grid-column: 1 / -1; } }
/* home theme: navy ink, azure accents, rounder cards, plan icons, dark featured card (parallax comes from data-par) */
.hh-grid.is-home { --az: #2F8FD4; --az-deep: #304098; --ink: #0e1a3c; --ink-2: #44506f; --line-w: #e1e7ef; --hh-ink: var(--ink, #0e1a3c); --hh-mut: var(--ink-2, #44506f); --hh-line: var(--line-w, #e1e7ef); --hh-pur: var(--az, #2F8FD4); --hh-pur2: var(--az-deep, #304098); gap: 18px; }
.hh-grid.is-home .hh-card { border-radius: 28px; border: 1.5px solid var(--line-w, #e1e7ef); padding: 26px 22px 22px; box-shadow: none; transition: border-color .25s, box-shadow .25s; }
.hh-grid.is-home .hh-card:hover { border-color: var(--az); box-shadow: 0 40px 60px -30px rgba(47, 143, 212, .5); }
.hh-grid.is-home .hh-card h3 { font-family: var(--disp); font-size: 1.1rem; justify-content: flex-start; flex-wrap: wrap; } .hh-grid.is-home .hh-pop { margin-left: auto; background: var(--az); color: #fff; }
.hh-pi { width: 34px; height: 34px; border-radius: 11px; display: inline-grid; place-items: center; background: #eaf3fc; color: var(--az-deep); } .hh-pi svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hh-grid.is-home .hh-price b { font: 700 2.3rem var(--disp); letter-spacing: -.04em; }
.hh-grid.is-home .hh-btn.pri { background: var(--ink); border-color: var(--ink); } .hh-grid.is-home .hh-btn:hover { border-color: var(--az); color: var(--az-deep); } .hh-grid.is-home .hh-btn.pri:hover { background: #16275a; color: #fff; }
.hh-grid.is-home .hh-card.ft { background: linear-gradient(160deg, #0a1330, #1a2f66); color: #fff; border-color: transparent; box-shadow: 0 40px 70px -34px rgba(10, 19, 48, .8); }
.hh-grid.is-home .hh-card.ft .hh-users, .hh-grid.is-home .hh-card.ft .hh-sub, .hh-grid.is-home .hh-card.ft .hh-desc, .hh-grid.is-home .hh-card.ft .hh-note { color: rgba(255, 255, 255, .75); }
.hh-grid.is-home .hh-card.ft .hh-users, .hh-grid.is-home .hh-card.ft .hh-body { border-color: rgba(255, 255, 255, .18); } .hh-grid.is-home .hh-card.ft .hh-list li, .hh-grid.is-home .hh-card.ft .hh-list svg, .hh-grid.is-home .hh-card.ft .hh-more { color: #fff; }
.hh-grid.is-home .hh-card.ft .hh-pi { background: rgba(255, 255, 255, .12); color: #7dd3f0; } .hh-grid.is-home .hh-card.ft .hh-btn.pri { background: #fff; color: var(--ink); border-color: #fff; }
.hh-grid.is-home .hh-card.ent .hh-pi { background: rgba(255, 255, 255, .18); color: #fff; }
@media (max-width: 1100px) { .hh-grid.is-home .hh-card { translate: none !important; } }

.hh-card.ent .hh-more { color: #fff; }

.hh-head { margin-bottom: 1.1rem; position: relative; z-index: 2; }
.hh-grid.is-home .hh-card { position: relative; z-index: 1; }

/* inside the dashboard (Public Sans, Bootstrap colours): force the home typography and colours */
.hh-grid.is-home, .hh-grid.is-home * { font-family: 'Inter', system-ui, sans-serif; }
.hh-grid.is-home .hh-card h3, .hh-grid.is-home .hh-price b, .hh-grid.is-home .hh-head b { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; }
.hh-grid.is-home .hh-card { color: var(--ink); line-height: 1.4; }
.hh-grid.is-home .hh-card h3 { color: inherit; margin: 0; letter-spacing: -.01em; }
.hh-grid.is-home .hh-desc, .hh-grid.is-home .hh-intro, .hh-grid.is-home .hh-grp { margin-left: 0; margin-right: 0; }
.hh-grid.is-home .hh-desc { color: var(--ink-2); font-size: .85rem; } .hh-grid.is-home .hh-intro { color: inherit; font-size: .88rem; } .hh-grid.is-home .hh-grp { color: inherit; font-size: .78rem; }
.hh-grid.is-home .hh-list li { color: #3b4663; font-size: .8rem; } .hh-grid.is-home .hh-list svg { color: var(--ink); }
.hh-grid.is-home .hh-users, .hh-grid.is-home .hh-sub, .hh-grid.is-home .hh-note, .hh-grid.is-home .hh-price span { color: var(--ink-2); }
.hh-grid.is-home .hh-btn { font-size: .88rem; color: var(--ink); } .hh-grid.is-home .hh-btn.pri { color: #fff; }
.hh-grid.is-home .hh-card.ft, .hh-grid.is-home .hh-card.ft h3, .hh-grid.is-home .hh-card.ft .hh-price b, .hh-grid.is-home .hh-card.ent, .hh-grid.is-home .hh-card.ent h3, .hh-grid.is-home .hh-card.ent .hh-price b { color: #fff; }
.hh-grid.is-home .hh-card.ft .hh-btn.pri, .hh-grid.is-home .hh-card.ent .hh-btn { color: var(--ink); }
.hh-grid.is-home .hh-card.ft .hh-list li, .hh-grid.is-home .hh-card.ent .hh-list li { color: #fff; }
.hh-grid.is-home .hh-head span { color: var(--ink-2); }

/* final pass: pixel sizes (dashboard root font is larger than home) + fixes */
.hh-grid.is-home { --disp: 'Bricolage Grotesque', 'Inter', sans-serif; --hh-pur: #2F8FD4; }
.hh-grid.is-home .hh-card h3 { font-size: 17.5px; align-items: center; }
.hh-grid.is-home .hh-pop { align-self: center; white-space: nowrap; line-height: 1.2; font-size: 10.5px; padding: 3px 9px; margin-left: auto; }
.hh-grid.is-home .hh-pi { flex: none; }
.hh-grid.is-home .hh-users { font-size: 13px; }
.hh-grid.is-home .hh-price b { font: 700 36px/1.05 var(--disp); letter-spacing: -.04em; } .hh-grid.is-home .hh-price span, .hh-grid.is-home .hh-price s { font-size: 13px; }
.hh-grid.is-home .hh-sub { font-size: 11.5px; } .hh-grid.is-home .hh-note { font-size: 11.5px; }
.hh-grid.is-home .hh-desc { font-size: 13px; line-height: 1.5; margin: 14px 0 16px; min-height: 58px; }
.hh-grid.is-home .hh-btn { font-size: 13.5px; padding: 10px 12px; }
.hh-grid.is-home .hh-intro { font-size: 13.5px; } .hh-grid.is-home .hh-grp { font-size: 12.5px; }
.hh-grid.is-home .hh-list li { font-size: 12.5px; } .hh-grid.is-home .hh-more { font-size: 12px; }
.hh-grid.is-home .hh-head b { font-size: 17px; } .hh-grid.is-home .hh-head span { font-size: 12.5px; }
.hh-grid.is-home .hh-card.ft .hh-users, .hh-grid.is-home .hh-card.ft .hh-sub, .hh-grid.is-home .hh-card.ft .hh-desc, .hh-grid.is-home .hh-card.ft .hh-note, .hh-grid.is-home .hh-card.ft .hh-price span,
.hh-grid.is-home .hh-card.ent .hh-users, .hh-grid.is-home .hh-card.ent .hh-sub, .hh-grid.is-home .hh-card.ent .hh-desc, .hh-grid.is-home .hh-card.ent .hh-note, .hh-grid.is-home .hh-card.ent .hh-price span { color: rgba(255, 255, 255, .85); }
.hh-grid.is-home .hh-card.ft .hh-btn:disabled { background: rgba(255, 255, 255, .2); color: #fff; border-color: transparent; opacity: 1; }
