/* Home page hero: split layout, upgrade chooser card, half-overlapping stats strip */
.hh { --hh-ink: #0E2333; --hh-blue: #0372BA; --hh-green: #00A651; --hh-mint: #34D399; position: relative; z-index: 20; background: #050d14; color: #fff; padding: 72px 0 0; font-family: 'Montserrat', system-ui, sans-serif; }
.hh *, .hh *::before, .hh *::after { box-sizing: border-box; }
.hh svg { width: 18px; height: 18px; flex: none; }
.hh-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hh-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: .8; }
.hh-bg::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(700px 420px at 12% 30%, rgba(3, 114, 186, .35), transparent 65%),
  radial-gradient(600px 400px at 90% 85%, rgba(0, 166, 81, .25), transparent 65%),
  linear-gradient(90deg, rgba(5, 13, 20, .92) 0%, rgba(5, 13, 20, .78) 42%, rgba(5, 13, 20, .35) 72%, rgba(5, 13, 20, .5) 100%),
  linear-gradient(180deg, rgba(5, 13, 20, 0) 60%, rgba(5, 13, 20, .9) 100%); }

.hh-inner { position: relative; z-index: 1; width: min(1240px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; padding-bottom: 64px; }

/* Copy */
.hh-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(52, 211, 153, .45); color: var(--hh-mint); font: 700 11.5px/1.3 'Montserrat', sans-serif; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(8px); }
.hh-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--hh-mint); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: hh-pulse 2s infinite; flex: none; }
@keyframes hh-pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hh h1 { margin: 22px 0 20px; color: #fff; font: 700 clamp(32px, 4.3vw, 54px)/1.1 'Bricolage Grotesque', 'Montserrat', sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.hh-line { display: block; }
.hh-grad { background: linear-gradient(90deg, #22C7FF 0%, #2FE8A8 55%, #19D27A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hh-lead { margin: 0 0 30px; max-width: 600px; color: rgba(255, 255, 255, .82); font: 400 17px/1.75 'Montserrat', sans-serif; }
.hh-lead strong { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(52, 211, 153, .55); text-underline-offset: 4px; }
.hh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 14px; font: 700 14px/1 'Montserrat', sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none !important; transition: transform .15s, box-shadow .2s, background .2s; }
.hh-btn:hover { transform: translateY(-1px); }
.hh-btn-primary { background: linear-gradient(135deg, #0372BA 0%, #00758B 50%, #00A651 100%); color: #fff !important; box-shadow: 0 14px 30px -12px rgba(0, 166, 81, .7), inset 0 1px 0 rgba(255, 255, 255, .2); }
.hh-btn-primary:hover { box-shadow: 0 18px 36px -12px rgba(0, 166, 81, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.hh-btn-ghost { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .28); color: #fff !important; backdrop-filter: blur(8px); }
.hh-btn-ghost svg { color: var(--hh-mint); }
.hh-btn-ghost:hover { background: #fff; color: var(--hh-ink) !important; }
.hh-btn-ghost:hover svg { color: var(--hh-green); }
.hh-checks { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hh-checks li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .9); font: 500 14px/1.4 'Montserrat', sans-serif; }
.hh-checks svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: rgba(34, 199, 255, .16); color: #22C7FF; }
.hh-tagline { display: flex; align-items: center; gap: 12px; margin: 0; color: rgba(255, 255, 255, .7); font: 600 13px/1.4 'Montserrat', sans-serif; }
.hh-tagline span { width: 32px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--hh-blue), var(--hh-green)); }

/* Upgrade chooser card */
.hh-panel { position: relative; padding: 18px 0 18px 18px; }
.hh-card { position: relative; z-index: 1; padding: 22px; border-radius: 26px; background: rgba(255, 255, 255, .96); color: var(--hh-ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .5); }
.hh-card-head { padding: 4px 6px 14px; }
.hh-card-kicker { display: inline-block; font: 700 11px/1 'Montserrat', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--hh-green); }
.hh-card-title { margin: 8px 0 0; font: 700 21px/1.25 'Bricolage Grotesque', 'Montserrat', sans-serif; letter-spacing: -.01em; color: var(--hh-ink); }
.hh-option { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; border: 1px solid #e3eaf0; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.hh-option + .hh-option { margin-top: 10px; }
.hh-option:hover { border-color: #b8d6ec; box-shadow: 0 14px 30px -18px rgba(3, 114, 186, .45); transform: translateY(-1px); }
.hh-option img { width: 64px; height: 56px; border-radius: 12px; object-fit: cover; }
.hh-option-text { min-width: 0; }
.hh-option-text a { display: block; color: var(--hh-ink); font: 700 15px/1.3 'Montserrat', sans-serif; text-decoration: none; }
.hh-option-text a::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.hh-option-text span { display: block; margin-top: 3px; color: #627180; font: 400 13px/1.4 'Montserrat', sans-serif; }
.hh-option-cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px 8px 12px; border-radius: 10px; background: #eef6fc; color: var(--hh-blue) !important; font: 700 12px/1 'Montserrat', sans-serif; text-decoration: none !important; white-space: nowrap; transition: background .2s, color .2s; }
.hh-option-cta svg { width: 14px; height: 14px; }
.hh-option-cta:hover { background: var(--hh-blue); color: #fff !important; }
.hh-card-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 12px; border-radius: 14px; background: #f3f8f5; color: #0b6b3a !important; font: 600 13.5px/1.3 'Montserrat', sans-serif; text-decoration: none !important; }
.hh-card-foot svg { width: 16px; height: 16px; transition: transform .2s; }
.hh-card-foot:hover svg { transform: translateX(3px); }

/* Floating badges */
.hh-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(14, 35, 51, .82); border: 1px solid rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(12px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); animation: hh-bob 6s ease-in-out infinite; }
.hh-float b { display: block; font: 700 14.5px/1.2 'Montserrat', sans-serif; }
.hh-float small { display: block; color: rgba(255, 255, 255, .7); font: 500 11.5px/1.3 'Montserrat', sans-serif; }
.hh-float-a { top: -22px; right: -14px; flex-direction: column; align-items: flex-start; gap: 2px; }
.hh-stars { color: #FBBF24; letter-spacing: 2px; font-size: 13px; }
.hh-float-b { bottom: -14px; left: -6px; animation-delay: -3s; }
.hh-shield { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(52, 211, 153, .18); color: var(--hh-mint); }
@keyframes hh-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .hh-float, .hh-pulse { animation: none; } }

/* Stats strip */
.hh-stats { position: relative; z-index: 3; width: min(1160px, calc(100% - 48px)); margin: 0 auto; transform: translateY(50%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid #DCE7DF; border-radius: 24px; box-shadow: 0 24px 60px -24px rgba(14, 35, 51, .35); overflow: hidden; }
.hh-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; min-height: 108px; padding: 18px 14px; }
.hh-stat + .hh-stat { border-left: 1px solid #e6edf0; }
.hh-stat b { color: var(--hh-ink); font: 700 clamp(19px, 2vw, 26px)/1.1 'Bricolage Grotesque', 'Montserrat', sans-serif; letter-spacing: -.02em; }
.hh-stat span { color: #596760; font: 400 13px/1.4 'Montserrat', sans-serif; }

/* Responsive */
@media (max-width: 1100px) {
  .hh-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 56px; text-align: center; }
  .hh-copy { max-width: 760px; margin: 0 auto; }
  .hh-lead { margin-left: auto; margin-right: auto; }
  .hh-actions, .hh-checks, .hh-tagline { justify-content: center; }
  .hh-panel { max-width: 560px; width: 100%; margin: 0 auto; padding: 18px; text-align: left; }
}
@media (max-width: 640px) {
  .hh { padding-top: 36px; }
  .hh-inner { width: calc(100% - 32px); gap: 30px; padding-bottom: 44px; }
  .hh-badge { font-size: 10px; letter-spacing: .08em; padding: 7px 12px; }
  .hh h1 { font-size: clamp(28px, 8vw, 36px); margin: 18px 0 16px; }
  .hh-lead { font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
  .hh-actions { flex-direction: column; align-items: stretch; }
  .hh-btn { width: 100%; min-height: 50px; font-size: 13px; }
  .hh-checks { flex-direction: column; align-items: center; gap: 8px; }
  .hh-panel { padding: 14px 0 0; }
  .hh-card { padding: 16px; border-radius: 22px; }
  .hh-card-title { font-size: 18px; }
  .hh-option { grid-template-columns: 52px minmax(0, 1fr); padding: 10px; gap: 12px; }
  .hh-option img { width: 52px; height: 48px; }
  .hh-option-cta { grid-column: 1 / -1; justify-content: center; }
  .hh-float-a { top: -8px; right: 8px; left: auto; padding: 8px 12px; }
  .hh-float-b { display: none; }
  .hh-stats { width: calc(100% - 32px); grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 20px; }
  .hh-stat { min-height: 92px; padding: 14px 10px; }
  .hh-stat + .hh-stat { border-left: 0; }
  .hh-stat:nth-child(even) { border-left: 1px solid #e6edf0; }
  .hh-stat:nth-child(n+3) { border-top: 1px solid #e6edf0; }
  .hh-stat span { font-size: 12px; }
}

/* Explore services and guides */
.hx { background: linear-gradient(180deg, #fff 0%, #f6fafb 100%); border-top: 1px solid #e3ece6; padding: 72px 0 80px; font-family: 'Montserrat', system-ui, sans-serif; }
.hx *, .hx *::before, .hx *::after { box-sizing: border-box; }
.hx-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hx-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.hx-kicker { display: inline-block; padding: 6px 12px; border-radius: 99px; background: #e8f6ee; color: #08743c; font: 700 11px/1 'Montserrat', sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.hx-head h2 { margin: 14px 0 10px; color: #0E2333; font: 700 clamp(26px, 3vw, 36px)/1.2 'Bricolage Grotesque', 'Montserrat', sans-serif; letter-spacing: -.02em; }
.hx-head p { margin: 0; color: #5d6b78; font: 400 16px/1.65 'Montserrat', sans-serif; }
.hx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hx-card { --tone: #0372BA; --soft: #e8f2fa; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; border-radius: 20px; background: #fff; border: 1px solid #e1e9ef; box-shadow: 0 1px 2px rgba(14, 35, 51, .04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.hx-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 35%, #e1e9ef); box-shadow: 0 22px 44px -26px rgba(14, 35, 51, .4); }
.hx-teal { --tone: #00758B; --soft: #e3f3f6; } .hx-green { --tone: #00A651; --soft: #e5f6ec; } .hx-amber { --tone: #c27a06; --soft: #fdf3e2; }
.hx-violet { --tone: #6b3fd4; --soft: #f0eafd; } .hx-navy { --tone: #0E2333; --soft: #e9eef3; }
.hx-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--tone); }
.hx-ico svg { width: 24px; height: 24px; }
.hx-kind { position: absolute; top: 24px; right: 24px; padding: 4px 9px; border-radius: 99px; background: #f3f6f8; color: #6b7a89; font: 600 10.5px/1.2 'Montserrat', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.hx-card a { margin-top: 6px; color: #0E2333; font: 700 17px/1.35 'Montserrat', sans-serif; text-decoration: none; }
.hx-card a::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.hx-card a:focus-visible { outline: none; }
.hx-card:focus-within { box-shadow: 0 0 0 3px rgba(3, 114, 186, .35); }
.hx-card p { margin: 0; color: #5d6b78; font: 400 14.5px/1.6 'Montserrat', sans-serif; padding-right: 36px; }
.hx-go { position: absolute; right: 22px; bottom: 22px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--tone); transition: background .2s, color .2s, transform .2s; }
.hx-go svg { width: 16px; height: 16px; }
.hx-card:hover .hx-go { background: var(--tone); color: #fff; transform: translateX(2px); }
@media (max-width: 960px) { .hx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .hx { padding: 52px 0 56px; }
  .hx-inner { width: calc(100% - 32px); }
  .hx-head { margin-bottom: 28px; }
  .hx-head p { font-size: 15px; }
  .hx-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hx-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 16px 52px 16px 16px; }
  .hx-ico { width: 42px; height: 42px; }
  .hx-ico svg { width: 21px; height: 21px; }
  .hx-kind { display: none; }
  .hx-card a { margin: 0; flex: 1; min-width: 0; font-size: 15.5px; }
  .hx-card p { flex-basis: 100%; padding: 0 0 0 56px; font-size: 13.5px; }
  .hx-go { top: 50%; bottom: auto; right: 14px; transform: translateY(-50%); }
  .hx-card:hover .hx-go { transform: translateY(-50%); }
}

/* Popular blog posts (brand kit: BRAND-GUIDELINES.md colours, site heading/body fonts) */
.hb { background: #EFF7F2; border-top: 1px solid #DCE7DF; padding: 88px 0 92px; font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif; }
.hb *, .hb *::before, .hb *::after { box-sizing: border-box; }
.hb-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hb-head { display: flex; align-items: center; gap: 32px; margin-bottom: 60px; }
.hb-head h2 { margin: 0; flex: none; color: #123D30; font: 400 clamp(32px, 3.4vw, 44px)/1.15 'Bricolage Grotesque', 'Montserrat', sans-serif; letter-spacing: -.02em; }
.hb-head h2 b { font-weight: 700; color: #00A651; }
.hb-rule { flex: 1; height: 1px; background: #DCE7DF; }
.hb-all, .hb-more { flex: none; color: #123D30; font: 700 15px/1.3 'Montserrat', sans-serif; text-decoration: none; padding-bottom: 6px; border-bottom: 2px solid #00A651; transition: color .15s, border-color .15s; }
.hb-all:hover, .hb-more:hover { color: #00758B; border-color: #00758B; }
.hb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.hb-post { display: flex; flex-direction: column; align-items: flex-start; }
.hb-post h3 { margin: 0 0 18px; min-height: calc(2 * 1.3em); font: 700 clamp(20px, 1.8vw, 24px)/1.3 'Bricolage Grotesque', 'Montserrat', sans-serif; letter-spacing: -.01em; }
.hb-post h3 a { color: #123D30; text-decoration: none; }
.hb-post h3 a:hover { color: #00758B; }
.hb-post p { margin: 0 0 30px; flex: 1; color: #596760; font: 400 15.5px/1.75 'Montserrat', sans-serif; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) {
    .hb { padding: 64px 0; }
    .hb-head { flex-wrap: wrap; gap: 14px 24px; margin-bottom: 40px; }
    .hb-rule { display: none; }
    .hb-grid { grid-template-columns: 1fr; gap: 40px; }
    .hb-post h3 { min-height: 0; margin-bottom: 12px; }
    .hb-post p { margin-bottom: 18px; }
}
