/**
 * HIPAA Companion — scoped marketing homepage styles.
 * All marketing selectors live under .home-marketing to avoid site conflicts.
 */

/* Homepage layout (shared header/footer chrome is in site-public.css) */

body.home-marketing-page #main {
  padding: 0;
  margin: 0;
}

body.home-marketing-page #main .home-marketing {
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------- */
/* Marketing wrapper                                                          */
/* -------------------------------------------------------------------------- */

.home-marketing {
  --hm-navy: #0a1628;
  --hm-deep: #0d1f3c;
  --hm-teal: #00c4b4;
  --hm-teal-dim: #009e91;
  --hm-gold: #f5c842;
  --hm-red: #ff4757;
  --hm-card-bg: rgba(255, 255, 255, 0.04);
  --hm-border: rgba(0, 196, 180, 0.2);

  background: var(--hm-navy);
  color: #fff;
  font-family: 'DM Sans', var(--font-sans, system-ui, sans-serif);
  overflow-x: hidden;
}

.home-marketing a {
  color: inherit;
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.home-marketing .hm-hero {
  min-height: calc(100vh - var(--site-nav-h, 66px));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem 4rem;
}

.home-marketing .hm-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(0, 196, 180, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(245, 200, 66, 0.07) 0%, transparent 60%),
    var(--hm-navy);
  pointer-events: none;
}

.home-marketing .hm-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 196, 180, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 196, 180, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 0%, transparent 70%);
  pointer-events: none;
}

.home-marketing .hm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
}

.home-marketing .hm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 196, 180, 0.12);
  border: 1px solid rgba(0, 196, 180, 0.35);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--hm-teal);
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: hm-fade-down 0.8s ease both;
}

.home-marketing .hm-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hm-teal);
  animation: hm-pulse 1.8s infinite;
}

.home-marketing .hm-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 0 0 1.5rem;
  animation: hm-fade-up 0.9s 0.15s ease both;
}

.home-marketing .hm-hero h1 em {
  font-style: italic;
  color: var(--hm-teal);
}

.home-marketing .hm-hero h1 .hm-gold,
.home-marketing .hm-gold {
  color: var(--hm-gold);
}

.home-marketing .hm-logo-accent {
  color: var(--hm-teal);
}

.home-marketing .hm-hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin: 0 auto 2.8rem;
  animation: hm-fade-up 0.9s 0.3s ease both;
}

.home-marketing .hm-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: hm-fade-up 0.9s 0.45s ease both;
}

.home-marketing .hm-btn-ghost--subtle {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.home-marketing .hm-hero-cert-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.75rem auto 0;
  padding: 0;
  max-width: 720px;
  animation: hm-fade-up 0.9s 0.5s ease both;
}

.home-marketing .hm-cert-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 196, 180, 0.25);
}

.home-marketing .hm-hero-shields {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin: 1.25rem auto 0;
  padding: 0;
  max-width: 720px;
  animation: hm-fade-up 0.9s 0.55s ease both;
}

.home-marketing .hm-hero-shield {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 4.5rem;
}

.home-marketing .hm-hero-shield__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  font-size: 1.25rem;
  background: rgba(0, 196, 180, 0.12);
  border: 1px solid rgba(0, 196, 180, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.home-marketing .hm-hero-shield__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.home-marketing .hm-btn-primary {
  background: #00dfc9;
  color: #041018;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 196, 180, 0.35);
}

.home-marketing .hm-btn-primary:hover {
  transform: translateY(-3px);
  background: #2ae8d4;
  box-shadow: 0 16px 40px rgba(0, 196, 180, 0.55);
  text-decoration: none;
  color: #041018;
}

.home-marketing .hm-btn-ghost {
  background: transparent;
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.home-marketing .hm-btn-ghost:hover {
  border-color: var(--hm-teal);
  background: rgba(0, 196, 180, 0.08);
  text-decoration: none;
}

.home-marketing .hm-hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
  animation: hm-fade-up 0.9s 0.6s ease both;
}

.home-marketing .hm-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-marketing .hm-stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--hm-teal);
  display: block;
  width: 100%;
  text-align: center;
}

.home-marketing .hm-stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
  margin-top: 0.35rem;
  max-width: 11rem;
  margin-inline: auto;
  line-height: 1.35;
  text-align: center;
}

.home-marketing .hm-stat-num--emphasis,
.home-marketing .hm-stat-num.hm-stat-num--emphasis {
  color: var(--hm-gold);
}

/* -------------------------------------------------------------------------- */
/* Trust bar                                                                  */
/* -------------------------------------------------------------------------- */

.home-marketing .hm-trust-bar {
  background: rgba(0, 196, 180, 0.06);
  border-top: 1px solid var(--hm-border);
  border-bottom: 1px solid var(--hm-border);
  padding: 1.4rem 0;
  overflow: hidden;
}

.home-marketing .hm-trust-track {
  display: flex;
  gap: 4rem;
  align-items: center;
  animation: hm-marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.home-marketing .hm-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
}

.home-marketing .hm-trust-dot {
  color: var(--hm-teal);
  font-size: 1.2rem;
}

/* -------------------------------------------------------------------------- */
/* Sections (shared)                                                          */
/* -------------------------------------------------------------------------- */

.home-marketing .hm-section,
.home-marketing .hm-stakes,
.home-marketing .hm-services,
.home-marketing .hm-pillars,
.home-marketing .hm-compare,
.home-marketing .hm-why,
.home-marketing .hm-how,
.home-marketing .hm-quiz,
.home-marketing .hm-testimonials,
.home-marketing .hm-pricing,
.home-marketing .hm-faq {
  padding: 6.5rem 2rem;
  scroll-margin-top: 5rem;
}

.home-marketing .hm-container {
  max-width: 1200px;
  margin: 0 auto;
}

.home-marketing .hm-section-label {
  display: inline-block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--hm-teal-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.home-marketing .hm-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 1.2rem;
}

.home-marketing .hm-section-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 560px;
  margin: 0;
}

.home-marketing .hm-section-head--center {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.home-marketing .hm-section-head--center .hm-section-sub {
  margin-inline: auto;
}

/* -------------------------------------------------------------------------- */
/* Slogan                                                                     */
/* -------------------------------------------------------------------------- */

.home-marketing .hm-slogan-section {
  padding: 6rem 2rem;
  margin-block: 0.5rem;
  background: linear-gradient(135deg, rgba(0, 196, 180, 0.08) 0%, rgba(245, 200, 66, 0.04) 100%);
  border-top: 1px solid var(--hm-border);
  border-bottom: 1px solid var(--hm-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-marketing .hm-slogan-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(0, 196, 180, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.home-marketing .hm-slogan-wrapper {
  position: relative;
  z-index: 1;
}

.home-marketing .hm-slogan-eyebrow {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--hm-teal);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.home-marketing .hm-slogan-display {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.25;
  min-height: 5rem;
  letter-spacing: -1px;
}

.home-marketing .hm-highlight {
  color: var(--hm-teal);
}

.home-marketing .hm-typed-cursor {
  opacity: 1;
  animation: hm-blink 0.7s infinite;
  color: var(--hm-teal);
}

/* -------------------------------------------------------------------------- */
/* Stakes / urgency                                                           */
/* -------------------------------------------------------------------------- */

.home-marketing .hm-stakes {
  background: linear-gradient(180deg, rgba(255, 71, 87, 0.06), transparent);
  border-block: 1px solid rgba(255, 71, 87, 0.12);
}

.home-marketing .hm-stakes-inner {
  text-align: center;
}

.home-marketing .hm-stakes-lede {
  margin-inline: auto;
}

.home-marketing .hm-stakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.home-marketing .hm-stakes-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
}

.home-marketing .hm-stakes-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--hm-gold);
  margin-bottom: 0.5rem;
}

.home-marketing .hm-stakes-card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.home-marketing .hm-stakes-cta {
  margin-top: 2.5rem;
}

/* -------------------------------------------------------------------------- */
/* Compare table                                                              */
/* -------------------------------------------------------------------------- */

.home-marketing .hm-compare {
  background: var(--hm-navy);
}

.home-marketing .hm-compare-table {
  margin-top: 3rem;
  border: 1px solid var(--hm-border);
  border-radius: 16px;
  overflow: hidden;
}

.home-marketing .hm-compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-marketing .hm-compare-row:last-child {
  border-bottom: none;
}

.home-marketing .hm-compare-head {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}

.home-marketing .hm-compare-row > div {
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
}

.home-marketing .hm-compare-us {
  color: var(--hm-teal);
  font-weight: 600;
  background: rgba(0, 196, 180, 0.05);
}

.home-marketing .hm-compare-them {
  color: rgba(255, 255, 255, 0.62);
}

.home-marketing .hm-compare-cta {
  margin-top: 2rem;
  text-align: center;
}

.home-marketing .hm-compare-cta a {
  color: var(--hm-teal);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 196, 180, 0.4);
}

.home-marketing .hm-compare-cta a:hover {
  color: #2ae8d4;
  border-bottom-color: #2ae8d4;
}

/* -------------------------------------------------------------------------- */
/* How it works                                                               */
/* -------------------------------------------------------------------------- */

.home-marketing .hm-how {
  background: var(--hm-deep);
}

.home-marketing .hm-how-steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.home-marketing .hm-how-step {
  background: var(--hm-card-bg);
  border: 1px solid var(--hm-border);
  border-radius: 18px;
  padding: 1.75rem;
}

.home-marketing .hm-how-step-num {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 196, 180, 0.15);
  color: var(--hm-teal);
  font-weight: 800;
  margin-bottom: 1rem;
}

.home-marketing .hm-how-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.home-marketing .hm-how-step p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.home-marketing .hm-how-video {
  margin-top: 2.5rem;
}

.home-marketing .hm-how-video-frame {
  border: 1px dashed rgba(0, 196, 180, 0.35);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  background: rgba(0, 196, 180, 0.04);
}

.home-marketing .hm-how-video-label {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hm-teal);
  margin: 0 0 0.75rem;
}

.home-marketing .hm-how-video-frame p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  margin-inline: auto;
}

.home-marketing .hm-how-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(0, 196, 180, 0.25);
  background: #000;
}

.home-marketing .hm-how-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* -------------------------------------------------------------------------- */
/* FAQ                                                                        */
/* -------------------------------------------------------------------------- */

.home-marketing .hm-faq {
  background: var(--hm-deep);
}

.home-marketing .hm-faq-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-marketing .hm-faq-item {
  border: 1px solid var(--hm-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0 1.25rem;
}

.home-marketing .hm-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1.15rem 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
}

.home-marketing .hm-faq-item summary::-webkit-details-marker {
  display: none;
}

.home-marketing .hm-faq-item p {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* -------------------------------------------------------------------------- */
/* Services                                                                   */
/* -------------------------------------------------------------------------- */

.home-marketing #hm-services {
  background: var(--hm-deep);
}

.home-marketing .hm-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.25rem;
  margin-top: 4.5rem;
}

.home-marketing .hm-service-card {
  background: var(--hm-card-bg);
  border: 1px solid var(--hm-border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.home-marketing .hm-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border-color: rgba(0, 196, 180, 0.5);
}

.home-marketing .hm-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 196, 180, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 196, 180, 0.2);
}

.home-marketing .hm-service-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.7rem;
}

.home-marketing .hm-service-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.home-marketing .hm-service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.home-marketing .hm-service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.home-marketing .hm-service-features li::before {
  content: '✓';
  color: var(--hm-teal);
  font-weight: 700;
  flex-shrink: 0;
}

.home-marketing .hm-card-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 196, 180, 0.15);
  color: var(--hm-teal);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  border: 1px solid rgba(0, 196, 180, 0.25);
}

/* -------------------------------------------------------------------------- */
/* Communication pillars                                                      */
/* -------------------------------------------------------------------------- */

.home-marketing #hm-pillars {
  background: linear-gradient(180deg, var(--hm-deep) 0%, var(--hm-navy) 100%);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.home-marketing .hm-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.home-marketing .hm-pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hm-border);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-marketing .hm-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 196, 180, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.home-marketing .hm-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-marketing .hm-pillar-card--teal .hm-pillar-icon { background: rgba(0, 196, 180, 0.14); }
.home-marketing .hm-pillar-card--blue .hm-pillar-icon { background: rgba(59, 130, 246, 0.14); }
.home-marketing .hm-pillar-card--green .hm-pillar-icon { background: rgba(16, 185, 129, 0.14); }
.home-marketing .hm-pillar-card--purple .hm-pillar-icon { background: rgba(139, 92, 246, 0.14); }

.home-marketing .hm-pillar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.home-marketing .hm-pillar-body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1100px) {
  .home-marketing .hm-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-marketing .hm-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/* Why us                                                                     */
/* -------------------------------------------------------------------------- */

.home-marketing #hm-why {
  background: var(--hm-navy);
}

.home-marketing .hm-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 5.5rem;
  align-items: center;
}

.home-marketing .hm-compliance-meter {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hm-border);
  border-radius: 24px;
  padding: 2.5rem;
}

.home-marketing .hm-security-controls {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hm-border);
  border-radius: 24px;
  padding: 2.5rem;
}

.home-marketing .hm-security-controls__title {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--hm-teal);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.home-marketing .hm-security-controls__intro {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

.home-marketing .hm-security-controls__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.home-marketing .hm-security-control {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.home-marketing .hm-security-control__icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.home-marketing .hm-security-control__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.home-marketing .hm-security-control__body {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
  line-height: 1.55;
}

.home-marketing .hm-security-controls__foot {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hm-border);
  font-size: 0.88rem;
}

.home-marketing .hm-security-controls__foot a {
  color: var(--hm-teal);
  text-decoration: none;
}

.home-marketing .hm-security-controls__foot a:hover {
  text-decoration: underline;
}

.home-marketing .hm-hero-about-link {
  margin: 0.85rem 0 0;
  font-size: 0.84rem;
}

.home-marketing .hm-hero-about-link a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.home-marketing .hm-hero-about-link a:hover {
  color: var(--hm-teal);
}

.home-marketing .hm-testimonials-sub {
  max-width: 640px;
  margin: 0.75rem auto 0;
}

.home-marketing .hm-testimonials-disclaimer {
  max-width: 720px;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.home-marketing .hm-testimonials-disclaimer a {
  color: var(--hm-teal);
  text-decoration: none;
}

.home-marketing .hm-testimonials-disclaimer a:hover {
  text-decoration: underline;
}

.home-marketing .hm-meter-title {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--hm-teal);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.home-marketing .hm-meter-row {
  margin-bottom: 1.2rem;
}

.home-marketing .hm-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.home-marketing .hm-meter-bar {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50px;
  height: 8px;
  overflow: hidden;
}

.home-marketing .hm-meter-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--hm-teal-dim), var(--hm-teal));
  width: 0%;
  transition: width 1.5s ease;
}

.home-marketing .hm-compliance-score {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hm-border);
}

.home-marketing .hm-score-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--hm-teal);
  line-height: 1;
}

.home-marketing .hm-score-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.3rem;
}

.home-marketing .hm-why-points {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3rem;
}

.home-marketing .hm-why-point {
  display: flex;
  gap: 1.2rem;
}

.home-marketing .hm-why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(0, 196, 180, 0.1);
  border: 1px solid rgba(0, 196, 180, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.home-marketing .hm-why-text h3 {
  font-weight: 600;
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.home-marketing .hm-why-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* Risk quiz                                                                  */
/* -------------------------------------------------------------------------- */

.home-marketing #hm-quiz {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.07) 0%, rgba(10, 22, 40, 1) 50%);
  border-top: 1px solid rgba(255, 71, 87, 0.15);
  border-bottom: 1px solid rgba(255, 71, 87, 0.15);
}

.home-marketing .hm-quiz-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem 5rem;
  align-items: start;
}

.home-marketing .hm-quiz-intro .hm-section-title span {
  color: var(--hm-red);
}

.home-marketing .hm-quiz-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 71, 87, 0.07);
  border: 1px solid rgba(255, 71, 87, 0.2);
  border-radius: 14px;
}

.home-marketing .hm-quiz-note-label {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--hm-red);
  margin-bottom: 0.6rem;
}

.home-marketing .hm-quiz-note p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0;
}

.home-marketing .hm-quiz-note strong {
  color: #fff;
}

.home-marketing .hm-quiz-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 71, 87, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
}

.home-marketing .hm-quiz-question {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.home-marketing .hm-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.home-marketing .hm-quiz-opt {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.home-marketing .hm-quiz-opt:hover {
  border-color: var(--hm-teal);
  background: rgba(0, 196, 180, 0.08);
  color: #fff;
}

.home-marketing .hm-quiz-opt.is-selected {
  border-color: var(--hm-teal);
  background: rgba(0, 196, 180, 0.12);
  color: #fff;
  box-shadow: 0 0 0 2px var(--hm-teal);
}

.home-marketing .hm-quiz-opt.is-danger {
  border-color: rgba(255, 71, 87, 0.35);
}

.home-marketing .hm-quiz-letter {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
}

.home-marketing .hm-quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.home-marketing .hm-quiz-progress {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.home-marketing .hm-btn-sm {
  background: var(--hm-teal);
  color: var(--hm-navy);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}

.home-marketing .hm-btn-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 196, 180, 0.35);
}

.home-marketing .hm-quiz-result {
  display: none;
  text-align: center;
}

.home-marketing .hm-quiz-result-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.home-marketing .hm-quiz-result-label {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.home-marketing .hm-risk-badge {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 900;
  margin: 0.8rem 0 0.5rem;
}

.home-marketing .hm-risk-low {
  color: var(--hm-teal);
}

.home-marketing .hm-risk-med {
  color: var(--hm-gold);
}

.home-marketing .hm-risk-high {
  color: var(--hm-red);
}

.home-marketing .hm-quiz-result-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.home-marketing .hm-quiz-reset {
  margin-top: 0.8rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: underline;
}

.home-marketing .hm-quiz-reset:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* -------------------------------------------------------------------------- */
/* Testimonials                                                               */
/* -------------------------------------------------------------------------- */

.home-marketing #hm-testimonials {
  background: var(--hm-deep);
}

.home-marketing .hm-testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.25rem;
  margin-top: 4.5rem;
}

.home-marketing .hm-testi-card {
  background: var(--hm-card-bg);
  border: 1px solid var(--hm-border);
  border-radius: 18px;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s;
}

.home-marketing .hm-testi-card:hover {
  transform: translateY(-4px);
}

.home-marketing .hm-testi-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(0, 196, 180, 0.08);
  pointer-events: none;
}

.home-marketing .hm-stars {
  color: var(--hm-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.home-marketing .hm-testi-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.home-marketing .hm-testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.home-marketing .hm-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hm-teal-dim), var(--hm-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--hm-navy);
  flex-shrink: 0;
}

.home-marketing .hm-author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.home-marketing .hm-author-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* -------------------------------------------------------------------------- */
/* Pricing                                                                    */
/* -------------------------------------------------------------------------- */

.home-marketing #hm-pricing {
  background: var(--hm-navy);
}

.home-marketing .hm-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.25rem;
  margin-top: 4.5rem;
  align-items: start;
}

.home-marketing .hm-price-card {
  background: var(--hm-card-bg);
  border: 1px solid var(--hm-border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.home-marketing .hm-price-card.is-featured {
  border-color: var(--hm-teal);
  background: rgba(0, 196, 180, 0.06);
}

.home-marketing .hm-price-card.is-featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 0;
  right: 2rem;
  background: var(--hm-teal);
  color: var(--hm-navy);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0.35rem 0.8rem;
  border-radius: 0 0 8px 8px;
}

.home-marketing .hm-price-card:hover {
  transform: translateY(-5px);
}

.home-marketing .hm-plan-name {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--hm-teal);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.home-marketing .hm-plan-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.home-marketing .hm-plan-price span {
  font-size: 1rem;
  font-family: 'DM Sans', var(--font-sans, system-ui, sans-serif);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.home-marketing .hm-plan-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

.home-marketing .hm-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0 0 2rem;
  padding: 0;
}

.home-marketing .hm-plan-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.home-marketing .hm-plan-features .hm-check {
  color: var(--hm-teal);
  font-weight: 700;
}

.home-marketing .hm-plan-features .hm-no {
  color: rgba(255, 255, 255, 0.2);
}

.home-marketing .hm-btn-plan {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 0.85rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.home-marketing .hm-btn-plan--outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.home-marketing .hm-btn-plan--outline:hover {
  border-color: var(--hm-teal);
  text-decoration: none;
}

.home-marketing .hm-btn-plan--solid {
  background: var(--hm-teal);
  color: var(--hm-navy);
}

.home-marketing .hm-btn-plan--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 196, 180, 0.4);
  text-decoration: none;
}

/* -------------------------------------------------------------------------- */
/* CTA banner                                                                 */
/* -------------------------------------------------------------------------- */

.home-marketing .hm-cta-banner {
  background: linear-gradient(135deg, rgba(0, 196, 180, 0.15) 0%, rgba(0, 158, 145, 0.08) 100%);
  border-top: 1px solid var(--hm-border);
  border-bottom: 1px solid var(--hm-border);
  padding: 7rem 2rem;
  margin-top: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-marketing .hm-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(0, 196, 180, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.home-marketing .hm-cta-banner .hm-section-title {
  position: relative;
  z-index: 1;
}

.home-marketing .hm-cta-banner .hm-section-title em {
  color: var(--hm-teal);
  font-style: italic;
}

.home-marketing .hm-cta-banner p {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 1rem auto 2.5rem;
  max-width: 520px;
}

.home-marketing .hm-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------------------------- */
/* Float lock CTA                                                             */
/* -------------------------------------------------------------------------- */

.home-marketing .hm-float-lock {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  background: var(--hm-teal);
  color: var(--hm-navy);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 30px rgba(0, 196, 180, 0.5);
  text-decoration: none;
  animation: hm-float 3s ease-in-out infinite;
}

.home-marketing .hm-float-lock:hover {
  animation: none;
  transform: scale(1.12);
  text-decoration: none;
}

/* -------------------------------------------------------------------------- */
/* Scroll reveal                                                              */
/* -------------------------------------------------------------------------- */

.home-marketing .hm-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-marketing .hm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* Keyframes                                                                  */
/* -------------------------------------------------------------------------- */

@keyframes hm-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.4);
  }
}

@keyframes hm-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes hm-blink {
  50% {
    opacity: 0;
  }
}

@keyframes hm-fade-down {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hm-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hm-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* -------------------------------------------------------------------------- */
/* Marketing footer                                                           */
/* -------------------------------------------------------------------------- */

.home-marketing .hm-footer {
  background: #060e1c;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.home-marketing .hm-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.home-marketing .hm-footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.home-marketing .hm-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
}

.home-marketing .hm-logo-accent {
  color: var(--hm-teal);
}

.home-marketing .hm-footer-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.home-marketing .hm-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
}

.home-marketing .hm-footer-col h5 {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.home-marketing .hm-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.home-marketing .hm-footer-col a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.home-marketing .hm-footer-col a:hover {
  color: var(--hm-teal);
}

.home-marketing .hm-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  body.home-marketing-page .site-header__inner {
    padding-block: 0.75rem;
  }

  .home-marketing .hm-hero {
    min-height: auto;
    padding: 4rem 1.5rem 3rem;
  }

  .home-marketing .hm-hero h1 {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }

  .home-marketing .hm-hero-stats {
    gap: 1.5rem;
  }

  .home-marketing .hm-section,
  .home-marketing .hm-stakes,
  .home-marketing .hm-services,
  .home-marketing .hm-compare,
  .home-marketing .hm-why,
  .home-marketing .hm-how,
  .home-marketing .hm-quiz,
  .home-marketing .hm-testimonials,
  .home-marketing .hm-pricing,
  .home-marketing .hm-faq {
    padding: 4.5rem 1.5rem;
  }

  .home-marketing .hm-compare-row {
    grid-template-columns: 1fr;
  }

  .home-marketing .hm-compare-head {
    display: none;
  }

  .home-marketing .hm-compare-feature {
    font-weight: 700;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .home-marketing .hm-slogan-section {
    padding: 4.5rem 1.5rem;
  }

  .home-marketing .hm-services-grid,
  .home-marketing .hm-testi-grid,
  .home-marketing .hm-pricing-grid {
    gap: 1.75rem;
    margin-top: 3rem;
  }

  .home-marketing .hm-slogan-display {
    font-size: 1.8rem;
    min-height: 4rem;
  }

  .home-marketing .hm-why-grid,
  .home-marketing .hm-quiz-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .home-marketing .hm-services-grid {
    grid-template-columns: 1fr;
  }

  .home-marketing .hm-cta-banner {
    padding: 4rem 1.5rem;
  }

  .home-marketing .hm-float-lock {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .home-marketing .hm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-marketing .hm-trust-track,
  .home-marketing .hm-pulse-dot,
  .home-marketing .hm-typed-cursor,
  .home-marketing .hm-float-lock,
  .home-marketing .hm-hero-badge,
  .home-marketing .hm-hero h1,
  .home-marketing .hm-hero-sub,
  .home-marketing .hm-hero-actions,
  .home-marketing .hm-hero-stats,
  .home-marketing .hm-h-dash {
    animation: none;
  }

  .home-marketing .hm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Phase 4 — light hero, stats ribbon, compare table, stakes + quiz polish    */
/* -------------------------------------------------------------------------- */

.home-marketing--phase4 {
  --hm-p4-blue-900: #0f172a;
  --hm-p4-blue-600: #2563eb;
  --hm-p4-blue-500: #3b82f6;
  --hm-p4-teal-600: #0d9488;
  --hm-p4-teal-400: #2dd4bf;
  --hm-p4-emerald-500: #10b981;
  --hm-p4-emerald-100: #d1fae5;
  --hm-p4-emerald-600: #059669;
  --hm-p4-gray-50: #f9fafb;
  --hm-p4-gray-100: #f3f4f6;
  --hm-p4-gray-200: #e5e7eb;
  --hm-p4-gray-400: #9ca3af;
  --hm-p4-gray-600: #4b5563;
  --hm-p4-gray-700: #374151;
  --hm-p4-gray-800: #1f2937;
  --hm-p4-gray-900: #111827;
  --hm-p4-gold: #d97706;

  background: #fff;
  color: var(--hm-p4-gray-800);
}

.home-marketing--phase4 .hm-section-label {
  color: var(--hm-p4-teal-600);
}

.home-marketing--phase4 .hm-section-title {
  font-family: 'Outfit', var(--font-display, sans-serif);
  color: var(--hm-p4-gray-900);
}

.home-marketing--phase4 .hm-section-sub {
  color: var(--hm-p4-gray-600);
}

/* Hero */
.home-marketing--phase4 .hm-hero {
  min-height: auto;
  display: block;
  padding: 5rem 2rem 4.5rem;
  background: linear-gradient(160deg, #eff6ff 0%, #fafeff 45%, #f0fdf9 100%);
  text-align: left;
}

.home-marketing--phase4 .hm-hero-bg {
  background:
    radial-gradient(circle at 18% 50%, rgba(37, 99, 235, 0.06), transparent 50%),
    radial-gradient(circle at 82% 20%, rgba(20, 184, 166, 0.07), transparent 45%);
}

.home-marketing--phase4 .hm-grid-overlay {
  opacity: 0.35;
  background-image:
    linear-gradient(var(--hm-p4-gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--hm-p4-gray-200) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 25%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 25%, black, transparent 75%);
}

.home-marketing--phase4 .hm-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.home-marketing--phase4 .hm-hero-copy {
  max-width: 540px;
}

.home-marketing--phase4 .hm-hero-badge {
  background: #fff;
  border: 1px solid var(--hm-p4-emerald-100);
  color: var(--hm-p4-emerald-600);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.73rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.home-marketing--phase4 .hm-pulse-dot {
  background: #34d399;
}

.home-marketing--phase4 .hm-hero-title,
.home-marketing--phase4 .hm-hero h1 {
  font-family: 'Outfit', var(--font-display, sans-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--hm-p4-gray-900);
  text-align: left;
}

.home-marketing--phase4 .hm-hero h1 em {
  color: var(--hm-p4-teal-600);
  font-style: normal;
}

.home-marketing--phase4 .hm-hero-sub {
  color: var(--hm-p4-gray-600);
  text-align: left;
  max-width: 500px;
  margin-bottom: 2rem;
}

.home-marketing--phase4 .hm-hero-actions {
  justify-content: flex-start;
  margin-bottom: 2.2rem;
}

.home-marketing--phase4 .hm-btn-primary {
  background: var(--hm-p4-blue-600);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.home-marketing--phase4 .hm-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.home-marketing--phase4 .hm-btn-ghost {
  background: #fff;
  border: 1px solid var(--hm-p4-gray-200);
  color: var(--hm-p4-gray-700);
}

.home-marketing--phase4 .hm-btn-ghost:hover {
  border-color: var(--hm-p4-blue-500);
  color: var(--hm-p4-blue-600);
  background: #fff;
}

.home-marketing--phase4 .hm-btn-ghost--subtle {
  background: transparent;
  border-color: transparent;
  color: var(--hm-p4-gray-600);
}

.home-marketing--phase4 .hm-hero-trust {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.home-marketing--phase4 .hm-trust-label {
  font-size: 0.72rem;
  color: var(--hm-p4-gray-600);
  font-weight: 500;
}

.home-marketing--phase4 .hm-hero-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-marketing--phase4 .hm-cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff;
  border: 1px solid var(--hm-p4-gray-200);
  border-radius: 50px;
  padding: 0.2rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--hm-p4-gray-600);
}

.home-marketing--phase4 .hm-cert-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34d399;
}

/* Dashboard mock */
.home-marketing--phase4 .hm-hero-visual {
  position: relative;
}

.home-marketing--phase4 .hm-h-dash {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--hm-p4-gray-100);
  overflow: hidden;
  animation: hm-float 4s ease-in-out infinite;
}

@keyframes hm-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.home-marketing--phase4 .hm-h-dash-bar {
  background: var(--hm-p4-blue-900);
  padding: 0.88rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-marketing--phase4 .hm-hdb-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.home-marketing--phase4 .hm-hdb-title {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 0.25rem;
}

.home-marketing--phase4 .hm-h-dash-body {
  padding: 1rem;
  background: var(--hm-p4-gray-50);
}

.home-marketing--phase4 .hm-hd-status {
  background: #fff;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--hm-p4-gray-100);
}

.home-marketing--phase4 .hm-hd-sl {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--hm-p4-gray-600);
}

.home-marketing--phase4 .hm-hd-sv {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--hm-p4-emerald-500);
}

.home-marketing--phase4 .hm-hd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.home-marketing--phase4 .hm-hd-m {
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem;
  border: 1px solid var(--hm-p4-gray-100);
}

.home-marketing--phase4 .hm-hd-n {
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.12rem;
}

.home-marketing--phase4 .hm-hd-n--blue {
  color: var(--hm-p4-blue-500);
}

.home-marketing--phase4 .hm-hd-n--green {
  color: var(--hm-p4-emerald-500);
}

.home-marketing--phase4 .hm-hd-n--teal {
  color: var(--hm-p4-teal-600);
}

.home-marketing--phase4 .hm-hd-l {
  font-size: 0.6rem;
  color: var(--hm-p4-gray-400);
  font-weight: 500;
}

.home-marketing--phase4 .hm-hd-emails {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--hm-p4-gray-100);
  overflow: hidden;
}

.home-marketing--phase4 .hm-hd-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--hm-p4-gray-50);
  font-size: 0.65rem;
}

.home-marketing--phase4 .hm-hd-row:last-child {
  border-bottom: none;
}

.home-marketing--phase4 .hm-hd-av {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.home-marketing--phase4 .hm-hd-av--blue {
  background: var(--hm-p4-blue-500);
}

.home-marketing--phase4 .hm-hd-av--teal {
  background: var(--hm-p4-teal-600);
}

.home-marketing--phase4 .hm-hd-av--green {
  background: var(--hm-p4-emerald-500);
}

.home-marketing--phase4 .hm-hd-info {
  flex: 1;
  min-width: 0;
}

.home-marketing--phase4 .hm-hd-to {
  font-weight: 600;
  color: var(--hm-p4-gray-700);
  font-size: 0.63rem;
}

.home-marketing--phase4 .hm-hd-sub {
  color: var(--hm-p4-gray-400);
  font-size: 0.58rem;
}

.home-marketing--phase4 .hm-hd-badge {
  font-size: 0.56rem;
  font-weight: 700;
  padding: 0.1rem 0.38rem;
  border-radius: 3px;
  background: var(--hm-p4-emerald-100);
  color: var(--hm-p4-emerald-600);
  white-space: nowrap;
}

.home-marketing--phase4 .hm-h-float {
  position: absolute;
  background: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  border: 1px solid var(--hm-p4-gray-100);
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: hm-float 4s ease-in-out infinite;
}

.home-marketing--phase4 .hm-h-float-1 {
  top: -14px;
  right: -18px;
  animation-delay: 0.5s;
}

.home-marketing--phase4 .hm-h-float-2 {
  bottom: 16px;
  left: -18px;
  animation-delay: 1s;
}

.home-marketing--phase4 .hm-h-float-l {
  font-weight: 600;
  color: var(--hm-p4-gray-700);
}

.home-marketing--phase4 .hm-h-float-s {
  color: var(--hm-p4-gray-400);
  font-size: 0.6rem;
}

/* Static trust bar */
.home-marketing--phase4 .hm-trust-bar--static {
  background: #fff;
  border-top: 1px solid var(--hm-p4-gray-100);
  border-bottom: 1px solid var(--hm-p4-gray-100);
  padding: 0.88rem 0;
  overflow: hidden;
}

.home-marketing--phase4 .hm-trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
}

.home-marketing--phase4 .hm-tb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 140px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hm-p4-gray-600);
  border-right: 1px solid var(--hm-p4-gray-100);
  white-space: nowrap;
}

.home-marketing--phase4 .hm-tb-item:last-child {
  border-right: none;
}

.home-marketing--phase4 .hm-tb-check {
  color: var(--hm-p4-emerald-500);
  font-weight: 800;
}

/* Slogan + stats */
.home-marketing--phase4 .hm-slogan-section {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.07), rgba(245, 200, 66, 0.03));
  border-color: rgba(13, 148, 136, 0.15);
}

.home-marketing--phase4 .hm-slogan-eyebrow {
  font-family: 'Manrope', sans-serif;
  color: var(--hm-p4-teal-600);
}

.home-marketing--phase4 .hm-slogan-display {
  font-family: 'Manrope', sans-serif;
  color: var(--hm-p4-gray-900);
}

.home-marketing--phase4 .hm-highlight {
  color: var(--hm-p4-teal-600);
}

.home-marketing--phase4 .hm-gold {
  color: var(--hm-p4-gold);
}

.home-marketing--phase4 .hm-stats-ribbon {
  background: var(--hm-p4-blue-900);
  padding: 3rem 0;
}

.home-marketing--phase4 .hm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  justify-items: center;
  align-items: start;
}

.home-marketing--phase4 .hm-stats-ribbon .hm-stat {
  width: 100%;
  max-width: 14rem;
}

.home-marketing--phase4 .hm-stats-ribbon .hm-stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--hm-p4-teal-400);
  line-height: 1;
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 0.3rem;
}

.home-marketing--phase4 .hm-stats-ribbon .hm-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  max-width: 12rem;
  margin-inline: auto;
  text-align: center;
}

/* Light content sections — #hm-services beats .hm-services (ID specificity) */
.home-marketing--phase4 #hm-services {
  background: #f8fafc;
}

.home-marketing--phase4 #hm-services .hm-section-head--center {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.home-marketing--phase4 #hm-services .hm-section-head--center .hm-section-sub {
  margin-inline: auto;
}

.home-marketing--phase4 #hm-services .hm-services-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-top: 3.5rem;
}

.home-marketing--phase4 #hm-services .hm-service-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 1.9rem;
  box-shadow: none;
}

.home-marketing--phase4 #hm-services .hm-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: #dbeafe;
}

.home-marketing--phase4 #hm-services .hm-service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-bottom: 1.15rem;
  font-size: 1.3rem;
  border: none;
}

.home-marketing--phase4 #hm-services .hm-service-icon--blue { background: #dbeafe; }
.home-marketing--phase4 #hm-services .hm-service-icon--teal { background: #ccfbf1; }
.home-marketing--phase4 #hm-services .hm-service-icon--green { background: #d1fae5; }
.home-marketing--phase4 #hm-services .hm-service-icon--purple { background: #ede9fe; }
.home-marketing--phase4 #hm-services .hm-service-icon--amber { background: #fef3c7; }

.home-marketing--phase4 #hm-services .hm-service-card h3 {
  font-family: 'Manrope', 'Outfit', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.home-marketing--phase4 #hm-services .hm-service-card p {
  font-size: 0.835rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 0;
}

.home-marketing--phase4 #hm-services .hm-service-features {
  display: none;
}

.home-marketing--phase4 #hm-services .hm-service-link-wrap {
  margin-top: 1.35rem;
  margin-bottom: 0;
}

.home-marketing--phase4 #hm-services .hm-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f766e;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.home-marketing--phase4 #hm-services .hm-service-link:hover {
  color: #115e59;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-marketing--phase4 #hm-services .hm-service-card:has(.hm-service-link) {
  border-color: #99f6e4;
}

.home-marketing--phase4 #hm-services .hm-card-tag {
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.6rem;
  letter-spacing: 0.5px;
  padding: 0.17rem 0.48rem;
  border-radius: 4px;
  border: none;
  text-transform: uppercase;
}

.home-marketing--phase4 #hm-services .hm-card-tag--core {
  background: #d1fae5;
  color: #059669;
}

.home-marketing--phase4 #hm-services .hm-card-tag--popular {
  background: #ede9fe;
  color: #6d28d9;
}

/* What we protect — light section aligned with phase-4 services */
.home-marketing--phase4 #hm-pillars {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding-top: clamp(4rem, 7vw, 5.5rem);
  padding-bottom: clamp(4rem, 7vw, 5.5rem);
}

.home-marketing--phase4 #hm-pillars .hm-section-head--center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.home-marketing--phase4 #hm-pillars .hm-section-head--center .hm-section-sub {
  margin-inline: auto;
  max-width: 640px;
}

.home-marketing--phase4 #hm-pillars .hm-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
  align-items: stretch;
}

.home-marketing--phase4 #hm-pillars .hm-pillar-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.65rem 1.45rem 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-marketing--phase4 #hm-pillars .hm-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.home-marketing--phase4 #hm-pillars .hm-pillar-card--teal::before { background: #14b8a6; }
.home-marketing--phase4 #hm-pillars .hm-pillar-card--blue::before { background: #3b82f6; }
.home-marketing--phase4 #hm-pillars .hm-pillar-card--green::before { background: #10b981; }
.home-marketing--phase4 #hm-pillars .hm-pillar-card--purple::before { background: #8b5cf6; }

.home-marketing--phase4 #hm-pillars .hm-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.home-marketing--phase4 #hm-pillars .hm-pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  border: none;
  flex-shrink: 0;
}

.home-marketing--phase4 #hm-pillars .hm-pillar-card--teal .hm-pillar-icon { background: #ccfbf1; }
.home-marketing--phase4 #hm-pillars .hm-pillar-card--blue .hm-pillar-icon { background: #dbeafe; }
.home-marketing--phase4 #hm-pillars .hm-pillar-card--green .hm-pillar-icon { background: #d1fae5; }
.home-marketing--phase4 #hm-pillars .hm-pillar-card--purple .hm-pillar-icon { background: #ede9fe; }

.home-marketing--phase4 #hm-pillars .hm-pillar-title {
  font-family: 'Manrope', 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.55rem;
  line-height: 1.35;
}

.home-marketing--phase4 #hm-pillars .hm-pillar-body {
  margin: 0;
  font-size: 0.835rem;
  line-height: 1.65;
  color: #64748b;
  flex: 1;
}

.home-marketing--phase4 .hm-services {
  background: #f8fafc;
}

.home-marketing--phase4 .hm-compare {
  background: var(--hm-p4-gray-50);
}

.home-marketing--phase4 .hm-comp-table-wrap {
  margin-top: 2.5rem;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.home-marketing--phase4 .hm-comp-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--hm-p4-gray-200);
  background: #fff;
}

.home-marketing--phase4 .hm-comp-table th {
  background: var(--hm-p4-blue-900);
  color: #fff;
  padding: 0.95rem 1.1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
}

.home-marketing--phase4 .hm-comp-table th.hm-comp-hi {
  background: var(--hm-p4-blue-500);
}

.home-marketing--phase4 .hm-comp-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--hm-p4-gray-100);
  font-size: 0.855rem;
  color: var(--hm-p4-gray-600);
}

.home-marketing--phase4 .hm-comp-table tr:last-child td {
  border-bottom: none;
}

.home-marketing--phase4 .hm-comp-table tr:nth-child(even) td {
  background: var(--hm-p4-gray-50);
}

.home-marketing--phase4 .hm-comp-fn {
  font-weight: 600;
  color: var(--hm-p4-gray-800);
}

.home-marketing--phase4 .hm-comp-hc {
  background: rgba(37, 99, 235, 0.04) !important;
  border-left: 2px solid rgba(37, 99, 235, 0.15);
  border-right: 2px solid rgba(37, 99, 235, 0.15);
}

.home-marketing--phase4 .hm-comp-yes {
  color: var(--hm-p4-emerald-500);
  font-weight: 700;
}

.home-marketing--phase4 .hm-comp-no {
  color: var(--hm-p4-gray-400);
  font-weight: 700;
}

.home-marketing--phase4 .hm-comp-part {
  color: var(--hm-p4-gold);
  font-size: 0.8rem;
  font-weight: 600;
}

.home-marketing--phase4 .hm-compare-cta a {
  color: var(--hm-p4-blue-600);
}

/* Why HIPAA Companion — #hm-why beats .hm-why (ID specificity) */
.home-marketing--phase4 #hm-why {
  background: #f8fafc;
}

.home-marketing--phase4 #hm-why .hm-why-grid {
  gap: 5rem;
}

.home-marketing--phase4 #hm-why .hm-why-points {
  gap: 2rem;
  margin-top: 2.5rem;
}

.home-marketing--phase4 #hm-why .hm-why-icon {
  width: 42px;
  height: 42px;
  background: #f0fdfa;
  border-color: #ccfbf1;
}

.home-marketing--phase4 #hm-why .hm-why-text h3 {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--hm-p4-gray-900);
}

.home-marketing--phase4 #hm-why .hm-why-text p {
  font-size: 0.87rem;
  color: var(--hm-p4-gray-600);
  line-height: 1.6;
}

.home-marketing--phase4 #hm-why .hm-compliance-meter {
  background: #fff;
  border: 1px solid var(--hm-p4-gray-200);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.home-marketing--phase4 #hm-why .hm-security-controls {
  background: #fff;
  border: 1px solid var(--hm-p4-gray-200);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.home-marketing--phase4 #hm-why .hm-security-controls__title {
  font-family: 'Manrope', 'Outfit', sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--hm-p4-teal-600);
}

.home-marketing--phase4 #hm-why .hm-security-controls__intro,
.home-marketing--phase4 #hm-why .hm-security-control__body {
  color: var(--hm-p4-gray-600);
}

.home-marketing--phase4 #hm-why .hm-security-control__title {
  color: var(--hm-p4-gray-900);
}

.home-marketing--phase4 #hm-why .hm-security-controls__foot {
  border-top-color: var(--hm-p4-gray-100);
}

.home-marketing--phase4 #hm-why .hm-security-controls__foot a {
  color: var(--hm-p4-teal-600);
}

.home-marketing--phase4 .hm-hero-about-link a {
  color: var(--hm-p4-gray-600);
}

.home-marketing--phase4 .hm-hero-about-link a:hover {
  color: var(--hm-p4-teal-600);
}

.home-marketing--phase4 #hm-testimonials .hm-testimonials-sub {
  color: var(--hm-p4-gray-600);
}

.home-marketing--phase4 #hm-testimonials .hm-testimonials-disclaimer {
  color: var(--hm-p4-gray-500);
}

.home-marketing--phase4 #hm-testimonials .hm-testimonials-disclaimer a {
  color: var(--hm-p4-teal-600);
}

.home-marketing--phase4 #hm-why .hm-meter-title {
  font-family: 'Manrope', 'Outfit', sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--hm-p4-teal-600);
}

.home-marketing--phase4 #hm-why .hm-meter-label {
  font-size: 0.84rem;
  color: var(--hm-p4-gray-600);
}

.home-marketing--phase4 #hm-why .hm-meter-bar {
  height: 7px;
  background: var(--hm-p4-gray-100);
}

.home-marketing--phase4 #hm-why .hm-meter-fill {
  background: linear-gradient(90deg, var(--hm-p4-teal-600), var(--hm-p4-teal-400));
}

.home-marketing--phase4 #hm-why .hm-compliance-score {
  border-top-color: var(--hm-p4-gray-100);
}

.home-marketing--phase4 #hm-why .hm-score-num {
  font-family: 'Manrope', 'Outfit', sans-serif;
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--hm-p4-teal-600);
}

.home-marketing--phase4 #hm-why .hm-score-label {
  font-size: 0.82rem;
  color: var(--hm-p4-gray-400);
}

.home-marketing--phase4 .hm-how {
  background: var(--hm-p4-gray-50);
}

.home-marketing--phase4 .hm-how-step {
  background: #fff;
  border-color: var(--hm-p4-gray-100);
}

.home-marketing--phase4 .hm-how-step h3 {
  color: var(--hm-p4-gray-900);
}

.home-marketing--phase4 .hm-how-step p {
  color: var(--hm-p4-gray-600);
}

/* Client stories — #hm-testimonials beats .hm-testimonials (ID specificity) */
.home-marketing--phase4 #hm-testimonials {
  background: #fff;
}

.home-marketing--phase4 #hm-testimonials .hm-section-head--center {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.home-marketing--phase4 #hm-testimonials .hm-testi-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3.5rem;
}

.home-marketing--phase4 #hm-testimonials .hm-testi-card {
  background: #fff;
  border: 1px solid var(--hm-p4-gray-100);
  border-radius: 16px;
  padding: 1.9rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.home-marketing--phase4 #hm-testimonials .hm-testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
}

.home-marketing--phase4 #hm-testimonials .hm-testi-card::before {
  top: 1.4rem;
  right: 1.6rem;
  font-size: 3.5rem;
  color: var(--hm-p4-gray-100);
}

.home-marketing--phase4 #hm-testimonials .hm-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 0.9rem;
}

.home-marketing--phase4 #hm-testimonials .hm-testi-text {
  font-size: 0.875rem;
  color: var(--hm-p4-gray-600);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.home-marketing--phase4 #hm-testimonials .hm-author-name {
  font-size: 0.855rem;
  font-weight: 600;
  color: var(--hm-p4-gray-800);
}

.home-marketing--phase4 #hm-testimonials .hm-author-role {
  font-size: 0.75rem;
  color: var(--hm-p4-gray-400);
}

.home-marketing--phase4 #hm-testimonials .hm-avatar {
  width: 38px;
  height: 38px;
  font-size: 0.8rem;
  color: #fff;
  background: none;
}

.home-marketing--phase4 #hm-testimonials .hm-avatar--blue { background: var(--hm-p4-blue-500); }
.home-marketing--phase4 #hm-testimonials .hm-avatar--teal { background: var(--hm-p4-teal-600); }
.home-marketing--phase4 #hm-testimonials .hm-avatar--green { background: var(--hm-p4-emerald-500); }

/* Pricing — #hm-pricing beats .hm-pricing (ID specificity) */
.home-marketing--phase4 #hm-pricing {
  background: #fff;
}

.home-marketing--phase4 #hm-pricing .hm-section-head--center {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.home-marketing--phase4 #hm-pricing .hm-section-head--center .hm-section-sub {
  margin-inline: auto;
}

.home-marketing--phase4 #hm-pricing .hm-pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.home-marketing--phase4 #hm-pricing .hm-price-card {
  background: #fff;
  border: 1.5px solid var(--hm-p4-gray-200);
  border-radius: 20px;
  padding: 2.1rem;
  overflow: visible;
  box-shadow: none;
}

.home-marketing--phase4 #hm-pricing .hm-price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
}

.home-marketing--phase4 #hm-pricing .hm-price-card.is-featured {
  border-color: var(--hm-p4-blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08), 0 20px 25px rgba(0, 0, 0, 0.08);
}

.home-marketing--phase4 #hm-pricing .hm-price-card.is-featured::before {
  content: 'Most Popular';
  top: -12px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  background: var(--hm-p4-blue-500);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.26rem 0.82rem;
  border-radius: 50px;
}

.home-marketing--phase4 #hm-pricing .hm-plan-name {
  font-family: 'Manrope', 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--hm-p4-gray-400);
  margin-bottom: 0.65rem;
}

.home-marketing--phase4 #hm-pricing .hm-plan-price {
  font-family: 'Manrope', 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--hm-p4-gray-900);
  margin-bottom: 0.15rem;
}

.home-marketing--phase4 #hm-pricing .hm-plan-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--hm-p4-gray-400);
}

.home-marketing--phase4 #hm-pricing .hm-plan-desc {
  font-size: 0.82rem;
  color: var(--hm-p4-gray-500);
  margin: 0.65rem 0 1.3rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--hm-p4-gray-100);
  line-height: 1.55;
}

.home-marketing--phase4 #hm-pricing .hm-plan-features {
  gap: 0.55rem;
  margin-bottom: 1.8rem;
}

.home-marketing--phase4 #hm-pricing .hm-plan-features li {
  align-items: flex-start;
  font-size: 0.845rem;
  color: var(--hm-p4-gray-600);
}

.home-marketing--phase4 #hm-pricing .hm-plan-features li:has(.hm-no) {
  color: var(--hm-p4-gray-400);
}

.home-marketing--phase4 #hm-pricing .hm-plan-features .hm-check {
  color: var(--hm-p4-emerald-500);
}

.home-marketing--phase4 #hm-pricing .hm-plan-features .hm-no {
  color: var(--hm-p4-gray-200);
}

.home-marketing--phase4 #hm-pricing .hm-btn-plan--outline {
  border: 1px solid var(--hm-p4-gray-200);
  color: var(--hm-p4-gray-800);
  background: #fff;
}

.home-marketing--phase4 #hm-pricing .hm-btn-plan--outline:hover {
  border-color: var(--hm-p4-gray-300);
  background: var(--hm-p4-gray-50);
  text-decoration: none;
}

.home-marketing--phase4 #hm-pricing .hm-btn-plan--solid {
  background: var(--hm-p4-blue-500);
  color: #fff;
  border: none;
}

.home-marketing--phase4 #hm-pricing .hm-btn-plan--solid:hover {
  background: var(--hm-p4-blue-600);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  text-decoration: none;
}

/* Get started CTA — prototype cta-dark (exact gradient + overlay) */
.home-marketing.home-marketing--phase4 #hm-contact.hm-cta-banner {
  background: linear-gradient(135deg, #112b50, #0b1f3a 50%, #060f1f);
  border: none;
  margin-top: 0;
  padding: 6rem 2rem;
  text-align: center;
}

.home-marketing.home-marketing--phase4 #hm-contact.hm-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 60%, rgba(20, 184, 166, 0.15), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.2), transparent 50%);
  pointer-events: none;
}

.home-marketing.home-marketing--phase4 #hm-contact .hm-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.home-marketing--phase4 #hm-contact .hm-cta-eyebrow {
  display: block;
  font-family: 'Manrope', 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2dd4bf;
  margin-bottom: 0.75rem;
}

.home-marketing--phase4 #hm-contact .hm-cta-title {
  font-family: 'Outfit', var(--font-display, sans-serif);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.home-marketing--phase4 #hm-contact .hm-cta-title .hm-cta-em {
  display: block;
  margin-top: 0.35rem;
  font-style: italic;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

/* Override legacy teal CTA title accent inside dark banner */
.home-marketing.home-marketing--phase4 #hm-contact.hm-cta-banner .hm-section-title em {
  color: rgba(255, 255, 255, 0.72);
}

.home-marketing--phase4 #hm-contact .hm-cta-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0.75rem auto 2.25rem;
  max-width: 520px;
}

.home-marketing--phase4 #hm-contact .hm-cta-actions {
  gap: 1rem;
  margin-bottom: 0;
}

.home-marketing--phase4 #hm-contact .hm-btn-lg {
  padding: 0.85rem 1.65rem;
  font-size: 1rem;
  border-radius: 12px;
}

.home-marketing--phase4 #hm-contact .hm-btn-primary {
  background: var(--hm-p4-blue-600);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.home-marketing--phase4 #hm-contact .hm-btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-1px);
}

.home-marketing--phase4 #hm-contact .hm-btn-ghost--cta {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.home-marketing--phase4 #hm-contact .hm-btn-ghost--cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.home-marketing--phase4 #hm-contact .hm-cta-note {
  margin: 1.1rem 0 0;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.4);
}

.home-marketing--phase4 #hm-contact .hm-cta-admin {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.home-marketing--phase4 #hm-contact .hm-cta-admin a {
  color: #2dd4bf;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-marketing--phase4 .hm-faq {
  background: #fff;
}

.home-marketing--phase4 .hm-faq-item {
  border-color: var(--hm-p4-gray-200);
  background: var(--hm-p4-gray-50);
}

.home-marketing--phase4 .hm-faq-item summary {
  color: var(--hm-p4-gray-900);
}

.home-marketing--phase4 .hm-faq-item p {
  color: var(--hm-p4-gray-600);
}

/* Stakes + quiz combined */
.home-marketing--phase4 #hm-quiz {
  background: var(--hm-p4-gray-50);
  border: none;
}

.home-marketing--phase4 .hm-stakes-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
  text-align: center;
}

.home-marketing--phase4 .hm-stakes-card {
  background: #fff;
  border: 1px solid var(--hm-p4-gray-100);
  border-radius: 12px;
  padding: 1.5rem 1rem;
}

.home-marketing--phase4 .hm-stakes-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.home-marketing--phase4 .hm-stakes-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hm-p4-gray-900);
  margin-bottom: 0.35rem;
}

.home-marketing--phase4 .hm-stakes-card p {
  color: var(--hm-p4-gray-600);
  font-size: 0.85rem;
}

.home-marketing--phase4 .hm-quiz-callout {
  margin-top: 1.75rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--hm-p4-gray-200);
  border-radius: 12px;
}

.home-marketing--phase4 .hm-quiz-callout-label {
  color: var(--hm-p4-teal-600);
}

.home-marketing--phase4 .hm-quiz-callout p {
  color: var(--hm-p4-gray-600);
}

.home-marketing--phase4 .hm-quiz-panel-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hm-p4-gray-900);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.home-marketing--phase4 .hm-quiz-panel-sub {
  margin-bottom: 1.25rem;
}

.home-marketing--phase4 .hm-quiz-box {
  background: #fff;
  border: 1px solid var(--hm-p4-gray-200);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.home-marketing--phase4 .hm-quiz-question {
  color: var(--hm-p4-gray-900);
}

.home-marketing--phase4 .hm-quiz-opt {
  background: var(--hm-p4-gray-50);
  border-color: var(--hm-p4-gray-200);
  color: var(--hm-p4-gray-700);
}

.home-marketing--phase4 .hm-quiz-opt:hover {
  border-color: var(--hm-p4-blue-500);
  background: #fff;
}

.home-marketing--phase4 .hm-quiz-opt.is-selected {
  border-color: var(--hm-p4-blue-500);
  background: rgba(37, 99, 235, 0.06);
}

.home-marketing--phase4 .hm-quiz-progress {
  color: var(--hm-p4-gray-400);
}

.home-marketing--phase4 .hm-btn-sm {
  background: var(--hm-p4-blue-600);
  color: #fff;
}

.home-marketing--phase4 .hm-btn-sm:hover {
  background: #1d4ed8;
}

@media (max-width: 1024px) {
  .home-marketing--phase4 .hm-hero-layout,
  .home-marketing--phase4 .hm-quiz-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .home-marketing--phase4 .hm-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-marketing--phase4 #hm-services .hm-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-marketing--phase4 #hm-pillars .hm-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-marketing--phase4 #hm-testimonials .hm-testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-marketing--phase4 #hm-pricing .hm-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-marketing--phase4 .hm-stakes-grid {
    grid-template-columns: 1fr;
  }

  .home-marketing--phase4 .hm-h-float {
    display: none;
  }
}

@media (max-width: 640px) {
  .home-marketing--phase4 .hm-hero {
    padding-top: 3.5rem;
  }

  .home-marketing--phase4 .hm-tb-item {
    border-right: none;
    min-width: 50%;
  }

  .home-marketing--phase4 .hm-stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-marketing--phase4 #hm-services .hm-services-grid {
    grid-template-columns: 1fr;
  }

  .home-marketing--phase4 #hm-pillars .hm-pillars-grid {
    grid-template-columns: 1fr;
  }

  .home-marketing--phase4 #hm-testimonials .hm-testi-grid {
    grid-template-columns: 1fr;
  }

  .home-marketing--phase4 #hm-pricing .hm-pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Dedicated /features.php */
.page-features__hero {
  margin-bottom: 0;
}

.page-features__cta {
  padding: 3.5rem 1rem 4.5rem;
}

.page-features__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.home-marketing .hm-how-video--placeholder {
  margin-top: 1.5rem;
}

.home-marketing .hm-how-video-placeholder {
  border: 1px dashed var(--hm-p4-gray-200, #cbd5e1);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
}

.home-marketing .hm-how-video-placeholder__icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 1.1rem;
  color: var(--hm-p4-blue-500, #3b82f6);
  margin-bottom: 0.75rem;
}

.home-marketing .hm-how-video-placeholder__title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: #0f172a;
}

.home-marketing .hm-how-video-placeholder__text {
  margin: 0 auto 1rem;
  max-width: 36rem;
  color: #475569;
  line-height: 1.5;
}

.home-marketing .hm-client-logos {
  padding: 2.5rem 0 1rem;
}

.home-marketing .hm-client-logos__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.home-marketing .hm-client-logos__item img {
  max-height: 42px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.82;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.home-marketing .hm-client-logos__link:hover img,
.home-marketing .hm-client-logos__item img:hover {
  filter: grayscale(0);
  opacity: 1;
}
