.home-monitoring { padding-top: 88px; }
.hm-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 64px; }
.hm-eyebrow { color: var(--green); font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 18px; }
.hm-copy h2 { font-size: clamp(30px, 3vw, 39px); line-height: 1.18; letter-spacing: -.045em; }
.hm-intro { margin-top: 20px; max-width: 43ch; color: var(--muted); font-size: 14px; line-height: 1.85; }
.hm-features { margin: 25px 0 0; padding: 0; list-style: none; }
.hm-features li { display: flex; gap: 12px; align-items: flex-start; }
.hm-features li + li { margin-top: 18px; }
.hm-feature-icon { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border: 1px solid var(--line); border-radius: 7px; color: var(--green); }
.hm-feature-icon svg { width: 16px; height: 16px; }
.hm-features h3 { font-size: 14px; line-height: 1.5; font-weight: 550; letter-spacing: -.015em; }
.hm-features p { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 3px; }
.hm-principle { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 43ch; }
.hm-demo { min-width: 0; border: 1px solid #e2e5e9; border-radius: 12px; background: #fff; box-shadow: 0 8px 36px #25262a06; overflow: hidden; }
.hm-demo-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px 17px; border-bottom: 1px solid var(--line); }
.hm-demo-top h3 { display: flex; align-items: center; gap: 9px; font-size: 14px; line-height: 1.4; }
.hm-demo-badge { font-size: 9px; font-weight: 450; letter-spacing: 0; padding: 3px 6px; background: #f2f4f5; color: var(--muted); border-radius: 4px; }
.hm-demo-period { font-size: 10px; color: var(--muted); margin-top: 6px; }
.hm-tabs { display: flex; padding: 3px; gap: 2px; background: #f3f4f6; border-radius: 6px; flex-shrink: 0; }
.hm-tabs button { padding: 5px 9px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 11px; line-height: 1.6; }
.hm-tabs button[aria-selected="true"] { background: white; color: var(--ink); box-shadow: 0 1px 3px #25262a16; }
.hm-demo-body { padding: 16px 18px 12px; }
.hm-grid-scroll { overflow-x: auto; overscroll-behavior-x: contain; padding: 3px; }
.hm-grid { table-layout: fixed; border-spacing: 3px; width: 100%; min-width: 425px; font-variant-numeric: tabular-nums; }
.hm-grid caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hm-grid th, .hm-grid td { border: 0; padding: 0; text-align: center; }
.hm-grid thead th { padding-bottom: 7px; font-size: 8px; font-weight: 400; line-height: 1.5; }
.hm-grid thead span, .hm-grid thead strong { display: block; font-weight: 400; white-space: nowrap; }
.hm-grid thead span { color: var(--muted); }
.hm-grid .hm-hour { position: sticky; left: 0; z-index: 1; background: white; width: 30px; color: var(--muted); font-size: 8px; font-weight: 400; text-align: left; white-space: nowrap; }
.hm-cell { display: block; width: 100%; height: 10px; padding: 0; border: 0; border-radius: 2px; background: var(--hm-color); }
.hm-cell:hover { filter: brightness(.85); }
.hm-cell:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.home-monitoring [data-band="low"] { --hm-color: #dc5b57; }
.home-monitoring [data-band="fair"] { --hm-color: #e9bc4d; }
.home-monitoring [data-band="good"] { --hm-color: #97c862; }
.home-monitoring [data-band="fast"] { --hm-color: #24845b; }
.hm-legend { display: flex; flex-wrap: wrap; gap: 6px 13px; margin: 12px 3px 0; padding: 0; list-style: none; color: var(--muted); font-size: 9px; }
.hm-legend li { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.hm-legend i { width: 6px; height: 6px; border-radius: 1px; background: var(--hm-color); }
.hm-demo-note { padding: 11px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; background: #fcfcfd; }
.hm-tooltip { position: fixed; inset: auto; margin: 0; border: 0; padding: 9px 12px; background: #25262a; color: white; border-radius: 7px; font-size: 11px; line-height: 1.7; white-space: pre-line; max-width: calc(100vw - 24px); pointer-events: none; z-index: 30; box-shadow: 0 4px 18px #0002; }
.hm-live { display: grid; grid-template-columns: 1.1fr 1.5fr auto; align-items: center; gap: 24px; margin-top: 32px; padding: 25px 28px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; }
.hm-live h3 { font-size: 16px; line-height: 1.5; letter-spacing: -.025em; max-width: 23ch; }
.hm-live-note { color: var(--muted); font-size: 10px; margin-top: 6px; line-height: 1.6; }
.hm-live-metrics { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; margin: 0; }
.hm-live-metrics > div { min-width: 0; border-left: 1px solid #e3e5e9; padding-left: 24px; }
.hm-live-metrics dt { font-size: 10px; line-height: 1.6; color: var(--muted); margin-bottom: 7px; }
.hm-live-metrics dd { margin: 0; font-size: 29px; font-weight: 550; letter-spacing: -.04em; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hm-live-metrics dd[data-band] { color: var(--hm-color); }
.hm-live-metrics small { font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 6px; }
.hm-live-metrics .hm-missing { display: block; font-size: 12px; line-height: 38px; margin: 0; }
.hm-live-action { text-align: center; }
.hm-live-action .button { min-height: 38px; gap: 12px; padding: 8px 12px; font-size: 11px; }
.hm-live-action svg { width: 14px; height: 14px; flex-shrink: 0; }
.hm-live-action p { font-size: 10px; margin-top: 6px; color: var(--muted); }
.home-monitoring [hidden] { display: none !important; }
@media (max-width: 1050px) {
  .hm-feature { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; }
  .hm-demo-top { flex-wrap: wrap; padding: 18px; }
  .hm-live { grid-template-columns: 1fr 1.5fr; }
  .hm-live-action { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
  .hm-live-action p { margin: 0; }
}
@media (max-width: 760px) {
  .home-monitoring { padding-top: 56px; }
  .hm-feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hm-copy h2 { font-size: 32px; }
  .hm-intro, .hm-principle { max-width: 60ch; }
  .hm-demo-top { flex-wrap: nowrap; }
  .hm-live { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 20px; }
  .hm-live h3 { max-width: none; }
  .hm-live-metrics { gap: 16px; }
  .hm-live-metrics > div { padding-left: 0; border: 0; }
  .hm-live-metrics > div + div { border-left: 1px solid var(--line); padding-left: 16px; }
  .hm-live-action { justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .hm-demo-top { flex-wrap: wrap; gap: 12px; }
  .hm-demo-body { padding-inline: 10px; }
  .hm-live { padding: 20px 18px; }
  .hm-live-metrics dt { min-height: 32px; }
  .hm-live-metrics dd { font-size: 25px; }
}
