/* ==========================================================================
   Home page — modern design v3 (complete replacement for css/home.css)
   All rules are scoped under .hm so they beat the global
   "body.page-landing *" reset in style.css.
   Tokens come from style.css (--site-*, --container, --gutter, --font-*).
   ========================================================================== */

.hm {
  --hm-display: 'Sora', var(--font-sans);
  --hm-green: #12b76a;
  --hm-green-soft: #e6f8ef;
  --hm-red: #f04438;
  --hm-red-soft: #fef0ee;
  --hm-ink: var(--site-text);
  --hm-muted: var(--site-muted);
  --hm-line: var(--site-border);
  --hm-surface: var(--site-surface);
  --hm-accent: var(--site-accent);
  --hm-navy: #07142b;
  --hm-navy-2: #0d2145;
  --hm-glow: 0 0 0 1px rgba(31,111,235,.08), 0 34px 64px -26px rgba(14,26,46,.32), 0 14px 26px -14px rgba(31,111,235,.2);
  --hm-shadow: 0 1px 2px rgba(14,26,46,.05), 0 26px 50px -26px rgba(14,26,46,.24);

  display: block;
  width: 100%;
  overflow-x: clip;
  color: var(--hm-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss03', 'tnum' 0;
  background: var(--site-page-bg);
}

.hm .hm-container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }

.hm .hm-section {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
  margin: 0; max-width: none; background: none; border: 0; box-shadow: none;
}
.hm #features, .hm #how-it-works { scroll-margin-top: 80px; }
.hm a { text-decoration: none; }
.hm ul, .hm ol { list-style: none; }
.hm .hm-mono { font-family: var(--font-mono); }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.hm .hm-h1 {
  margin: 0 0 24px;
  font-family: var(--hm-display);
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.045em;
  color: var(--hm-navy);
  text-wrap: balance;
}
.hm .hm-h2 {
  margin: 0;
  font-family: var(--hm-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.04em;
  color: var(--hm-navy);
  text-wrap: balance;
}
.hm .hm-lead { max-width: 50ch; margin: 0 0 34px; font-size: clamp(17px, 1.6vw, 19px); color: var(--hm-muted); }
.hm .hm-sub  { max-width: 50ch; margin: 0; font-size: 17px; color: var(--hm-muted); }

.hm .hm-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.hm .hm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 14px; border: 1px solid transparent;
  font-size: 15px; font-weight: 650; line-height: 1; cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.hm .hm-btn svg { width: 18px; height: 18px; transition: transform .2s; }
.hm .hm-btn:hover svg { transform: translateX(3px); }
.hm .hm-btn-primary {
  background: linear-gradient(180deg, #3b86f5, var(--hm-accent));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 12px 28px -10px rgba(31,111,235,.75);
}
.hm .hm-btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 18px 34px -10px rgba(31,111,235,.85); }
.hm .hm-btn-ghost { background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-color: var(--hm-line); color: var(--hm-ink); }
.hm .hm-btn-ghost:hover { border-color: #aebfd8; background: #fff; transform: translateY(-2px); }
.hm .hm-btn-light { background: #fff; color: var(--hm-navy); box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.hm .hm-btn-light:hover { transform: translateY(-2px); background: #eef5ff; }
.hm .hm-btn-outline { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); }
.hm .hm-btn-outline:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.12); transform: translateY(-2px); }
.hm .hm-btn:focus-visible, .hm a:focus-visible { outline: 3px solid rgba(31,111,235,.5); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hm .hm-hero {
  isolation: isolate;
  padding-top: clamp(48px, 7vw, 104px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background:
    radial-gradient(55% 60% at 88% 0%, rgba(31,111,235,.2), transparent 70%),
    radial-gradient(40% 45% at 0% 20%, rgba(114,199,255,.22), transparent 70%),
    linear-gradient(var(--site-page-bg), var(--site-page-bg));
}
.hm .hm-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(11,31,58,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,31,58,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 80% at 60% 20%, #000, transparent 75%);
          mask-image: radial-gradient(70% 80% at 60% 20%, #000, transparent 75%);
}
.hm .hm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.hm .hm-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 26px; padding: 8px 16px 8px 13px;
  border: 1px solid var(--site-info-border); border-radius: 999px;
  background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--site-info-text); font-size: 13px; font-weight: 650;
  box-shadow: 0 6px 16px -10px rgba(31,111,235,.5);
}

.hm .hm-live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--hm-green); flex: none; }
.hm .hm-live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--hm-green); opacity: 0;
  animation: hm-ping 2.2s ease-out infinite;
}
@keyframes hm-ping { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

.hm .hm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hm .hm-hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--hm-muted); font-size: 14px; }
.hm .hm-hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hm .hm-hero-points svg { width: 18px; height: 18px; color: var(--hm-green); flex: none; }

/* Status board — the one bold element: a dark console with a live glow */
.hm .hm-board {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  background: linear-gradient(160deg, var(--hm-navy-2), var(--hm-navy) 70%);
  color: #e8f0ff;
  box-shadow: var(--hm-glow);
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.hm .hm-board:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.hm .hm-board::before {
  content: ""; position: absolute; top: -60px; right: -40px; width: 280px; height: 280px; z-index: -1;
  background: radial-gradient(circle, rgba(31,111,235,.45), transparent 65%);
  filter: blur(30px);
}
.hm .hm-board-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 18px; font-size: 15px; }
.hm .hm-board-head strong { color: #fff; font-weight: 650; }
.hm .hm-board-live {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px;
  border-radius: 999px; background: rgba(18,183,106,.14); color: #5eeaa5; font-size: 12px; font-weight: 650;
}
.hm .hm-board-list { display: grid; gap: 10px; }
.hm .hm-board-row {
  padding: 14px 16px 13px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
}
.hm .hm-board-row.is-down { border-color: rgba(240,68,56,.45); background: rgba(240,68,56,.09); }
.hm .hm-board-main { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.hm .hm-board-main strong { font-weight: 600; color: #fff; }
.hm .hm-board-meta { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: #8fa6c9; }
.hm .hm-board-row.is-down .hm-board-meta { color: #ff8f86; }
.hm .hm-state-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hm-green); box-shadow: 0 0 10px var(--hm-green); flex: none; }
.hm .is-down .hm-state-dot { background: var(--hm-red); box-shadow: 0 0 10px var(--hm-red); }

.hm .hm-strip { display: grid; grid-template-columns: repeat(28, 1fr); gap: 3px; height: 24px; }
.hm .hm-strip i {
  border-radius: 3px; background: var(--hm-green); opacity: .9; transform-origin: bottom;
  animation: hm-rise .55s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i) * 20ms + 250ms);
}
.hm .hm-strip i.is-down { background: var(--hm-red); opacity: 1; }
@keyframes hm-rise { from { transform: scaleY(.12); opacity: 0; } to { transform: scaleY(1); } }

.hm .hm-board-alert {
  display: flex; align-items: center; gap: 14px;
  margin: 16px -24px -30px 40px; padding: 14px 18px;
  border-radius: 16px; background: #fff; color: var(--hm-navy);
  box-shadow: 0 24px 40px -16px rgba(0,0,0,.5);
}
.hm .hm-board-alert svg { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--hm-red-soft); color: var(--hm-red); flex: none; }
.hm .hm-board-alert strong { display: block; font-size: 14px; line-height: 1.3; }
.hm .hm-board-alert span { font-size: 13px; color: var(--hm-muted); }

/* Facts strip: glass bar under the hero */
.hm .hm-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(56px, 7vw, 88px);
  border: 1px solid var(--hm-line); border-radius: 22px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--hm-shadow);
}
.hm .hm-facts li { padding: 22px 26px; border-left: 1px solid var(--hm-line); }
.hm .hm-facts li:first-child { border-left: 0; }
.hm .hm-facts strong { display: block; font-family: var(--hm-display); font-size: 20px; font-weight: 650; letter-spacing: -.03em; color: var(--hm-navy); }
.hm .hm-facts span { display: block; margin-top: 2px; font-size: 14px; color: var(--hm-muted); line-height: 1.45; }

/* --------------------------------------------------------------------------
   Dashboard preview
   -------------------------------------------------------------------------- */
.hm .hm-showcase { background: linear-gradient(180deg, var(--site-surface), var(--site-page-bg)); border-top: 1px solid var(--hm-line); }
.hm .hm-window { border: 1px solid var(--hm-line); border-radius: 22px; background: var(--site-dashboard-bg); box-shadow: var(--hm-glow); overflow: hidden; }
.hm .hm-window-bar { position: relative; display: flex; align-items: center; gap: 7px; padding: 14px 20px; border-bottom: 1px solid var(--hm-line); background: var(--hm-surface); }
.hm .hm-window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d5deea; }
.hm .hm-window-bar i:nth-child(1) { background: #ff6159; }
.hm .hm-window-bar i:nth-child(2) { background: #ffbd2e; }
.hm .hm-window-bar i:nth-child(3) { background: #28c93f; }
.hm .hm-window-bar span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 4px 18px; border-radius: 999px; background: var(--site-surface-soft);
  font-size: 12px; font-weight: 600; color: var(--hm-muted);
}

.hm .hm-window-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.hm .hm-window-side { display: flex; flex-direction: column; gap: 2px; padding: 20px 14px; border-right: 1px solid var(--hm-line); background: var(--hm-surface); font-size: 13px; }
.hm .hm-side-label { margin: 14px 10px 6px; font-size: 12px; font-weight: 650; color: var(--hm-muted); }
.hm .hm-side-label:first-child { margin-top: 0; }
.hm .hm-side-item { padding: 9px 12px; border-radius: 10px; color: var(--hm-muted); font-weight: 500; }
.hm .hm-side-item.is-active { background: var(--site-highlight-strong); color: var(--hm-accent); font-weight: 650; box-shadow: inset 3px 0 0 var(--hm-accent); }

.hm .hm-window-main { padding: 24px; min-width: 0; }
.hm .hm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.hm .hm-stat { padding: 16px 18px; border: 1px solid var(--hm-line); border-radius: 14px; background: var(--hm-surface); }
.hm .hm-stat span { display: block; font-size: 12px; color: var(--hm-muted); }
.hm .hm-stat strong { display: block; margin-top: 4px; font-family: var(--hm-display); font-size: 28px; font-weight: 650; letter-spacing: -.04em; line-height: 1.1; }
.hm .is-green { color: var(--hm-green); }
.hm .is-red { color: var(--hm-red); }
.hm .is-blue { color: var(--hm-accent); }

.hm .hm-notice { margin-bottom: 16px; padding: 12px 16px 12px 18px; border: 1px solid #f9c9c4; border-left: 4px solid var(--hm-red); border-radius: 12px; background: var(--hm-red-soft); color: #912018; font-size: 13px; }
.hm .hm-table-wrap { overflow-x: auto; border: 1px solid var(--hm-line); border-radius: 14px; background: var(--hm-surface); }
.hm .hm-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13px; }
.hm .hm-table th { padding: 13px 18px; border-bottom: 1px solid var(--hm-line); background: var(--site-highlight-bg); text-align: left; font-size: 12px; font-weight: 650; color: var(--hm-muted); white-space: nowrap; }
.hm .hm-table td { padding: 14px 18px; border-bottom: 1px solid var(--hm-line); white-space: nowrap; }
.hm .hm-table tbody tr { transition: background-color .15s; }
.hm .hm-table tbody tr:hover { background: var(--site-highlight-bg); }
.hm .hm-table tr:last-child td { border-bottom: 0; }
.hm .hm-table td b { margin-left: 10px; font-weight: 650; }

.hm .hm-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.hm .hm-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hm .hm-badge.is-up { background: var(--hm-green-soft); color: #067647; }
.hm .hm-badge.is-down { background: var(--hm-red-soft); color: #b42318; }

.hm .hm-meter { display: inline-block; width: 84px; height: 6px; vertical-align: middle; border-radius: 999px; background: var(--site-surface-soft); overflow: hidden; }
.hm .hm-meter i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #12b76a, #3ddc97); }
.hm .hm-meter.is-warn i { background: linear-gradient(90deg, #f79009, #fdb022); }
.hm .hm-meter.is-blue i { background: linear-gradient(90deg, var(--hm-accent), #5ca9ff); }

.hm .hm-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 44px; }
.hm .hm-notes > div { position: relative; padding-top: 20px; }
.hm .hm-notes > div::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--hm-accent) 0 36px, var(--hm-line) 36px); }
.hm .hm-notes h3 { margin: 0 0 6px; font-size: 17px; font-weight: 680; }
.hm .hm-notes p { margin: 0; font-size: 15px; color: var(--hm-muted); }

/* --------------------------------------------------------------------------
   Features — bento with a small live visual per card
   -------------------------------------------------------------------------- */
.hm .hm-features { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hm .hm-feature {
  position: relative; grid-column: span 2;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 32px; overflow: hidden;
  border: 1px solid var(--hm-line); border-radius: 26px; background: var(--hm-surface);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.hm .hm-feature.is-wide { grid-column: span 4; flex-direction: row; align-items: center; gap: 32px; }
.hm .hm-feature.is-wide > * { flex: 1 1 0; min-width: 0; }
.hm .hm-feature.is-half { grid-column: span 3; }
.hm .hm-feature:hover { border-color: #b7cdf3; box-shadow: var(--hm-shadow); transform: translateY(-3px); }

.hm .hm-feature h3 { margin: 22px 0 8px; font-size: 19px; font-weight: 680; letter-spacing: -.02em; }
.hm .hm-feature p { margin: 0; font-size: 15px; color: var(--hm-muted); }

.hm .hm-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(145deg, var(--site-highlight-strong), #fff);
  border: 1px solid rgba(31,111,235,.15); color: var(--hm-accent);
}
.hm .hm-icon svg { width: 22px; height: 22px; }

/* dark lead card */
.hm .hm-feature.is-dark {
  border-color: transparent;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(31,111,235,.55), transparent 70%),
    linear-gradient(160deg, var(--hm-navy-2), var(--hm-navy));
  color: #fff;
}
.hm .hm-feature.is-dark h3 { color: #fff; font-size: 24px; }
.hm .hm-feature.is-dark p { color: #b4c6e6; font-size: 16px; }
.hm .hm-feature.is-dark .hm-icon { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); color: #ffd166; }

/* Instant alerts: notification stack */
.hm .hm-notify { display: grid; gap: 10px; }
.hm .hm-notify-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hm .hm-notify-item:nth-child(2) { margin-left: 22px; opacity: .85; }
.hm .hm-notify-item i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.hm .hm-notify-item.is-down i { background: var(--hm-red); box-shadow: 0 0 12px var(--hm-red); }
.hm .hm-notify-item.is-up i { background: var(--hm-green); box-shadow: 0 0 12px var(--hm-green); }
.hm .hm-notify-item strong { display: block; font-size: 14px; color: #fff; line-height: 1.3; }
.hm .hm-notify-item span { font-size: 12px; color: #9db2d6; }

/* 24/7 outlined numerals */
.hm .hm-big {
  font-family: var(--hm-display); font-size: clamp(56px, 7vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.5px var(--hm-accent);
}

/* Response trend sparkline */
.hm .hm-spark { display: block; width: 100%; height: 72px; }
.hm .hm-spark-fill { fill: rgba(31,111,235,.12); }
.hm .hm-spark-line { fill: none; stroke: var(--hm-accent); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Status verification chips */
.hm .hm-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.hm .hm-checks span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hm .hm-checks span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hm .hm-checks .is-ok { background: var(--hm-green-soft); color: #067647; }
.hm .hm-checks .is-bad { background: var(--hm-red-soft); color: #b42318; }

/* Heartbeat line */
.hm .hm-ecg { display: block; width: 100%; height: 56px; }
.hm .hm-ecg path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hm .hm-ecg-base { stroke: var(--site-info-border); stroke-width: 2; }
.hm .hm-ecg-live { stroke: var(--hm-accent); stroke-width: 2.4; stroke-dasharray: 22 78; animation: hm-beat 3.2s linear infinite; }
@keyframes hm-beat { from { stroke-dashoffset: 22; } to { stroke-dashoffset: -78; } }

/* Incident timeline */
.hm .hm-timeline { display: grid; gap: 8px; }
.hm .hm-timeline li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--hm-line); border-radius: 14px; background: var(--site-highlight-bg); font-size: 13px;
}
.hm .hm-timeline b { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.hm .hm-timeline .is-up b { background: var(--hm-green-soft); color: #067647; }
.hm .hm-timeline .is-down b { background: var(--hm-red-soft); color: #b42318; }
.hm .hm-timeline span { color: var(--hm-muted); }
.hm .hm-timeline time { font-family: var(--font-mono); font-size: 12px; color: var(--hm-muted); }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.hm .hm-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hm .hm-steps::before {
  content: ""; position: absolute; top: 52px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--hm-accent) 0 8px, transparent 8px 18px); opacity: .35;
}
.hm .hm-steps li { position: relative; padding: 28px; border: 1px solid var(--hm-line); border-radius: 26px; background: var(--hm-surface); }
.hm .hm-step-num {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px;
  border-radius: 50%; background: linear-gradient(180deg, #3b86f5, var(--hm-accent));
  color: #fff; font-family: var(--hm-display); font-weight: 700;
  box-shadow: 0 0 0 6px var(--hm-surface), 0 0 0 7px var(--site-info-border), 0 10px 20px -6px rgba(31,111,235,.6);
}
.hm .hm-steps h3 { margin: 0 0 8px; font-size: 20px; font-weight: 680; letter-spacing: -.02em; }
.hm .hm-steps p { margin: 0; max-width: 34ch; font-size: 15px; color: var(--hm-muted); }

/* --------------------------------------------------------------------------
   Monitor types
   -------------------------------------------------------------------------- */
.hm .hm-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hm .hm-type { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--hm-line); border-radius: 28px; background: var(--hm-surface); transition: box-shadow .25s, transform .25s; }
.hm .hm-type:hover { box-shadow: var(--hm-shadow); transform: translateY(-3px); }
.hm .hm-type h3 { margin: 20px 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.hm .hm-type p { margin: 0 0 26px; font-size: 15px; color: var(--hm-muted); }
.hm .hm-sample { display: grid; gap: 4px; margin-top: auto; padding: 14px; border-radius: 16px; background: var(--hm-navy); color: #9fb3d4; font-size: 13px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.hm .hm-sample span { padding: 8px 10px; border-radius: 8px; }
.hm .hm-sample span:nth-child(odd) { background: rgba(255,255,255,.04); }
.hm .hm-sample b { display: inline-block; min-width: 42px; margin-right: 8px; font-weight: 650; }
.hm .hm-sample .is-green { color: #4ade80; }
.hm .hm-sample .is-red { color: #ff7b80; }

/* --------------------------------------------------------------------------
   Metrics — dark band
   -------------------------------------------------------------------------- */
.hm .hm-dark {
  background:
    radial-gradient(50% 70% at 10% 0%, rgba(31,111,235,.35), transparent 70%),
    linear-gradient(180deg, var(--hm-navy-2), var(--hm-navy));
  color: #fff;
}
.hm .hm-metrics { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hm .hm-metrics .hm-h2 { color: #fff; }
.hm .hm-metrics .hm-sub { color: #a9bbdb; }
.hm .hm-metric-list { display: grid; margin-top: 36px; }
.hm .hm-metric-list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); }
.hm .hm-metric-list > div:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.hm .hm-metric-list dt { font-size: 16px; font-weight: 650; }
.hm .hm-metric-list dt small { display: block; font-size: 14px; font-weight: 400; color: #91a6c9; }
.hm .hm-metric-list dd { margin: 0; font-family: var(--hm-display); font-size: 36px; font-weight: 700; letter-spacing: -.05em; color: #6db3ff; }

.hm .hm-chart { padding: 26px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: rgba(255,255,255,.05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.hm .hm-chart-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 22px; font-size: 15px; }
.hm .hm-chart-head span { color: #91a6c9; font-size: 13px; }
.hm .hm-chart-bars { display: grid; grid-template-columns: repeat(60, 1fr); align-items: end; gap: 3px; height: 150px; margin-bottom: 26px; }
.hm .hm-chart-bars i { height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #7cc0ff, rgba(31,111,235,.55)); transform-origin: bottom; }
.hm .hm-chart-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 64px; align-items: center; gap: 14px; padding: 8px 0; font-size: 14px; }
.hm .hm-chart-row span:first-child { color: #91a6c9; }
.hm .hm-chart-row .hm-meter { width: 100%; height: 8px; background: rgba(255,255,255,.1); }
.hm .hm-chart-row b { text-align: right; font-family: var(--font-mono); font-size: 13px; font-weight: 650; }

/* One scroll-driven moment: the chart bars grow as the card enters the viewport.
   Browsers without scroll-driven animations simply show the finished chart. */
@supports (animation-timeline: view()) {
  .hm .hm-chart-bars i {
    animation: hm-grow linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 45%;
  }
  @keyframes hm-grow { from { transform: scaleY(.08); opacity: .3; } to { transform: scaleY(1); opacity: 1; } }
}

/* --------------------------------------------------------------------------
   Call to action
   -------------------------------------------------------------------------- */
.hm .hm-cta-wrap { padding-top: clamp(64px, 9vw, 120px); }
.hm .hm-cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(52px, 8vw, 96px) clamp(24px, 6vw, 72px);
  border-radius: 32px; text-align: center; color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(92,169,255,.55), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(31,111,235,.5), transparent 50%),
    var(--hm-navy);
  box-shadow: 0 40px 80px -40px rgba(7,20,43,.7);
}
.hm .hm-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent);
          mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent);
}
.hm .hm-cta h2 { margin: 0 0 14px; font-family: var(--hm-display); font-size: clamp(28px, 4.4vw, 50px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; color: #fff; text-wrap: balance; }
.hm .hm-cta p { max-width: 46ch; margin: 0 auto 32px; font-size: 18px; color: #b4c6e6; }
.hm .hm-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hm .hm-hero-grid, .hm .hm-metrics { grid-template-columns: 1fr; }
  .hm .hm-head { grid-template-columns: 1fr; align-items: start; }
  .hm .hm-board { transform: none; }
  .hm .hm-board-alert { margin: 16px 0 0; }
  .hm .hm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm .hm-facts li:nth-child(3) { border-left: 0; }
  .hm .hm-facts li:nth-child(n+3) { border-top: 1px solid var(--hm-line); }
  .hm .hm-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm .hm-feature, .hm .hm-feature.is-half { grid-column: span 1; }
  .hm .hm-feature.is-wide { grid-column: span 2; }
}
@media (max-width: 800px) {
  .hm .hm-window-body { grid-template-columns: 1fr; }
  .hm .hm-window-side { display: none; }
  .hm .hm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm .hm-notes { grid-template-columns: 1fr; gap: 24px; }
  .hm .hm-steps { grid-template-columns: 1fr; }
  .hm .hm-steps::before { display: none; }
  .hm .hm-types { grid-template-columns: 1fr; }
  .hm .hm-feature.is-wide { flex-direction: column; align-items: stretch; gap: 24px; }
}
@media (max-width: 600px) {
  .hm .hm-actions .hm-btn, .hm .hm-cta-actions .hm-btn { flex: 1 1 100%; }
  .hm .hm-facts { grid-template-columns: 1fr; }
  .hm .hm-facts li, .hm .hm-facts li:nth-child(3) { border-left: 0; }
  .hm .hm-facts li:nth-child(n+2) { border-top: 1px solid var(--hm-line); }
  .hm .hm-features { grid-template-columns: 1fr; }
  .hm .hm-feature, .hm .hm-feature.is-wide, .hm .hm-feature.is-half { grid-column: span 1; padding: 26px; }
  .hm .hm-board { padding: 16px; }
  .hm .hm-strip, .hm .hm-chart-bars { gap: 2px; }
  .hm .hm-chart-row { grid-template-columns: 82px minmax(0, 1fr) 56px; gap: 10px; }
  .hm .hm-window-main { padding: 14px; }
  .hm .hm-window-bar span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hm .hm-live-dot::after, .hm .hm-strip i, .hm .hm-ecg-live, .hm .hm-chart-bars i { animation: none; }
  .hm .hm-btn, .hm .hm-feature, .hm .hm-type, .hm .hm-board { transition: none; }
  .hm .hm-board { transform: none; }
  .hm .hm-ecg-live { stroke-dasharray: none; }
}