/* Home */
.hm-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 24px 40px; align-items: center; }
.hm-hl { min-width: 0; padding: 8px 0; }
.hm-hl h1 { font-size: 44px; font-weight: 600; letter-spacing: -.045em; line-height: 1.05; margin: 2px 0 16px; background: linear-gradient(100deg, var(--ink) 30%, #2A3A8F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-hl .lead { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 560px; }
.hm-meta { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.hm-meta li { padding: 4px 10px; border-radius: 99px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.hm-health { list-style: none; margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 8px 28px; font-size: 12.5px; color: var(--ink-2); }
.hm-health li { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.hm-health li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--ok-dot); opacity: .7; }
.hm-health li:first-child { color: var(--ok); font-weight: 500; }
.hm-health li:first-child::before { display: none; }
.hm-orbit { position: relative; min-width: 0; }
.hm-orbit::before { content: ''; position: absolute; inset: 8% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,48,219,.07), transparent 70%); pointer-events: none; }
.hm-orbit .vz-e { stroke-opacity: .28; }
.hm-cap { margin: 4px 0 0; text-align: center; font-size: 12px; color: var(--ink-3); }

.hm-figs { margin-top: 28px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.hm-fig { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 30px auto 1fr; gap: 10px; padding: 22px 22px 20px; color: var(--ink); text-decoration: none; position: relative; min-width: 0; transition: background var(--dur-2) var(--ease-out); }
.hm-fig + .hm-fig { box-shadow: inset 1px 0 0 var(--line); }
.hm-fig:hover { background: linear-gradient(180deg, #FAFBFF, var(--panel)); }
.hm-fig b { font-size: 34px; font-weight: 500; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; grid-column: 1; grid-row: 2; transition: color var(--dur-2); }
.hm-fig > span { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; grid-column: 1; grid-row: 3; }
.hm-fig:hover b { color: var(--tc); }
.hm-fv { grid-row: 1; grid-column: 1; display: flex; align-items: center; height: 30px; }
.hm-fv .vz-ring svg { width: 28px; }
.hm-bars { height: 26px !important; }
.hm-bars { display: flex; align-items: flex-end; gap: 2px; height: 32px; }
.hm-bars i { width: 3px; border-radius: 2px; background: color-mix(in srgb, var(--tc) 55%, white); transform-origin: bottom; transition: transform var(--dur-3) var(--ease-spring); }
.hm-fig:hover .hm-bars i { transform: scaleY(1.12); background: var(--tc); }
.hm-dots { display: grid; grid-template-columns: repeat(5, 5px); gap: 3px; }
.hm-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok-dot); opacity: .75; }

.hm-recent { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-rc { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 7px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--panel); font-size: 13px; color: var(--ink); cursor: pointer; }
.hm-rc:hover { border-color: var(--ink-4); box-shadow: var(--sh-1); }

/* story rail */
.hm-rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; counter-reset: s; }
.hm-rail::before { content: ''; position: absolute; left: 4%; right: 4%; top: 38px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); animation: hm-flow 1.2s linear infinite; }
@keyframes hm-flow { to { background-position: 12px 0; } }
.hm-rail li { min-width: 0; position: relative; }
.hm-node { display: flex; flex-direction: column; height: 100%; padding: 18px 18px 18px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); color: var(--ink); text-decoration: none; position: relative; }
.hm-node::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--c); opacity: .8; }
.hm-step { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 10%, white); box-shadow: 0 0 0 4px var(--panel); margin-bottom: 12px; }
.hm-node small { font-size: 12px; color: var(--c); font-weight: 500; }
.hm-node b { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; margin: 6px 0 12px; font-variant-numeric: tabular-nums; }
.hm-node p { margin: 12px 0 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.hm-nv { min-height: 56px; display: flex; align-items: center; }
.hm-tv { width: 120px; } .hm-tv .a { fill: var(--panel-3); } .hm-tv .b { fill: color-mix(in srgb, var(--c) 30%, white); } .hm-tv .t { font-size: 11px; fill: var(--ink-3); text-anchor: middle; }
.hm-vel { width: 100%; } .hm-vel .tr { position: relative; height: 10px; border-radius: 99px; background: var(--panel-3); }
.hm-vel .tr i { display: block; height: 100%; border-radius: 99px; background: var(--c); }
.hm-vel .tr em { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -2px; background: var(--ink); border-radius: 2px; }
.hm-vel .lb { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 6px; font-variant-numeric: tabular-nums; }
.hm-hd { width: 100%; display: flex; flex-direction: column; gap: 7px; }
.hm-hd .r { display: grid; grid-template-columns: 58px minmax(0, 1fr) 46px; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-3); }
.hm-hd .tr { position: relative; height: 8px; border-radius: 99px; background: var(--panel-3); }
.hm-hd .tr i { display: block; height: 100%; border-radius: 99px; background: var(--ink-4); }
.hm-hd .tr i.up { background: var(--c); }
.hm-hd .tr em { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); border-radius: 2px; }
.hm-hd .v { font-weight: 500; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

.hm-two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; }
.hm-two > div { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px 22px 18px; }
.hm-two .vz-geo svg, .hm-two .vz-pulse svg { width: 100%; }
.hm-geo { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 12px; align-items: center; }
.hm-geo .vz-geo + .vz-geo { border-left: 1px dashed var(--line-2); padding-left: 12px; }

/* application tiles */
.hm-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 14px; }
.hm-app { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; overflow: hidden; }
.hm-app::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 80px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 6%, white), transparent); pointer-events: none; }
.hm-app > * { position: relative; }
.hm-app.locked > *:not(.hm-af) { opacity: .55; }
.hm-ah { display: flex; gap: 12px; align-items: flex-start; }
.hm-an { min-width: 0; flex: 1; }
.hm-an small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-3); line-height: 1.3; }
.hm-an .sw { width: 6px; height: 6px; border-radius: 2px; background: var(--c); }
.hm-an h3 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; margin-top: 3px; }
.hm-ah .vz-ring { flex: none; } .hm-ah .vz-ring svg { width: 54px; }
.hm-glyph { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 9%, white); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, white); }
.hm-glyph .ic { width: 22px; height: 22px; }
.hm-app > p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.hm-k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.hm-k > div { min-width: 0; display: flex; flex-direction: column; }
.hm-k dd { margin: 0; order: 1; color: var(--ink); min-width: 0; }
.sv-n { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; font-variant-numeric: tabular-nums; text-wrap: balance; }
.sv-u { display: block; font-size: 11.5px; color: var(--ink-2); line-height: 1.35; margin-top: 2px; }
.hm-k dt { order: 2; font-size: 11.5px; color: var(--ink-3); line-height: 1.35; margin-top: 3px; }
.hm-af { display: flex; align-items: center; gap: 4px; margin-top: auto; }
.hm-when { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 11.5px; color: var(--ink-3); text-align: right; }

/* services hex field */
.hm-hex { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .hm-hex { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hm-hex { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm-geo { grid-template-columns: minmax(0, 1fr); } .hm-geo .vz-geo + .vz-geo { border-left: 0; padding-left: 0; border-top: 1px dashed var(--line-2); padding-top: 8px; } }
.hx { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px 14px; min-height: 128px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform var(--dur-2) var(--ease-spring), border-color var(--dur-1), box-shadow var(--dur-2); }
.hx::after { content: ''; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(closest-side, rgba(18,166,114,.12), transparent); transition: transform var(--dur-3) var(--ease-out); }
.hx:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 14px 30px -18px rgba(11,15,25,.3); }
.hx:hover::after { transform: scale(1.6); }
.hx > .ic { width: 20px; height: 20px; color: var(--tc); margin-bottom: 6px; }
.hx b { font-size: 13px; font-weight: 500; line-height: 1.3; }
.hx span { font-size: 12px; color: var(--ink-3); }
.hx em { margin-top: auto; padding-top: 8px; font-style: normal; font-size: 11.5px; color: var(--ok); display: inline-flex; align-items: center; gap: 7px; }

@media (max-width: 1280px) {
  .hm-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-fig:nth-child(4) { box-shadow: none; } .hm-fig:nth-child(n+4) { border-top: 1px solid var(--line); }
  .hm-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm-rail::before { display: none; }
}
@media (max-width: 1100px) { .hm-hero { grid-template-columns: minmax(0, 1fr); } .hm-orbit { max-width: 560px; margin: 0 auto; width: 100%; } }
@media (max-width: 1360px) { .hm-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .hm-hl h1 { font-size: 32px; }
  .hm-hl .lead { font-size: 15px; }
  .hm-health { grid-template-columns: minmax(0, 1fr); }
  .hm-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-fig, .hm-fig:nth-child(4) { padding: 18px 16px; box-shadow: none; } .hm-fig:nth-child(even) { box-shadow: inset 1px 0 0 var(--line); } .hm-fig:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hm-fig b { font-size: 27px; }
  .hm-rail { grid-template-columns: minmax(0, 1fr); }
  .hm-two > div { padding: 16px 14px; }
  .hm-k { gap: 10px; }
}
.hm-two .vz-pulse svg { max-width: 760px; margin: 0 auto; } .hm-two .vz-geo svg { max-width: 900px; }

@media (max-width: 1360px) { .hm-two .hm-geo { max-width: 640px; margin: 0 auto; } .hm-two .vz-pulse { max-width: 560px; margin: 0 auto; } }
/* Platform map: orbit on wide screens, list on narrow ones (same facts) */
.hm-plist { display: none; }
@media (max-width: 600px) {
  .hm-orbit { display: none; }
  .hm-plist { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
  .hm-pl-t b { display: block; font-size: 15px; }
  .hm-pl-t span, .hm-pl-k { font-size: 12px; color: var(--ink-3); }
  .hm-pl-s { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .hm-pl-k { display: flex; align-items: center; gap: 6px; width: 100%; font-weight: 600; }
  .hm-pl-k i { width: 8px; height: 8px; border-radius: 50%; }
  .hm-pl-g { display: grid; gap: 6px; }
  .hm-pl-a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; text-align: left; font: inherit; font-size: 14px; color: var(--ink); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-height: 44px; cursor: pointer; transition: border-color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out); }
  .hm-pl-a:hover { border-color: var(--line-2); transform: translateY(-1px); }
  .hm-pl-a small { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
}
.hm-lockf { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); }
.hm-mini { display: none; }
@media (max-width: 600px) {
  .hm-mini { display: block; overflow: hidden; float: right; width: 104px; height: 104px; margin: 2px 0 6px 12px; }
  .hm-mini .o { fill: none; stroke: var(--line); }
  .hm-mini .ln line { stroke: #0030DB; stroke-opacity: .16; stroke-width: .8; }
  .hm-mini .s { fill: #8A90A0; }
}
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .hm-mini { overflow: hidden; }
  .hm-mini .rot { transform-box: view-box; transform-origin: 50% 50%; animation: hmspin 60s linear infinite; }
  @keyframes hmspin { to { transform: rotate(360deg); } }
}
