/* Zenith XRM. One stylesheet for every page. */
:root {
  --void: #05070f;
  --deep: #0a1020;
  --panel: #0e1629;
  --panel2: #121c34;
  --line: #1c2a47;
  --ink: #e8eefc;
  --mute: #8d9bbd;
  --blue: #3d8bff;
  --cyan: #38d6ff;
  --green: #2fd18b;
  --glow: rgba(61, 139, 255, .35);
  --r: 14px;
  --wrap: 1440px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font: 400 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; overflow-wrap: break-word; }
p { margin: 0; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* Utility bar */
.util { background: #03050b; border-bottom: 1px solid var(--line); font-size: 13px; }
.util .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 20px; min-height: 36px; flex-wrap: wrap; }
.util a { color: var(--mute); text-decoration: none; white-space: nowrap; }
.util a:hover { color: var(--ink); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(5, 7, 15, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 40px; height: 40px; flex: none; }
.brand .zwm { height: 20px; width: auto; flex: none; overflow: visible; filter: drop-shadow(0 0 6px rgba(56, 189, 248, .45)); }
.brand .xrm { color: var(--mute); font-weight: 700; font-size: 12px; letter-spacing: .18em; white-space: nowrap; }
.brand.small img { width: 28px; height: 28px; }
.brand.small .zwm { height: 14px; }
.beta { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(56, 214, 255, .45); background: rgba(56, 214, 255, .10); color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; flex: none; }
.top .beta { margin-left: 10px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .menu > summary {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 8px;
  color: var(--mute); text-decoration: none; font-size: 15px; cursor: pointer; white-space: nowrap; list-style: none;
}
.menu > summary::-webkit-details-marker { display: none; }
.nav > a:hover, .menu > summary:hover, .menu[open] > summary { color: var(--ink); background: var(--panel); }
.menu > summary svg { width: 12px; height: 12px; transition: transform .12s; }
.menu[open] > summary svg { transform: rotate(180deg); }
.menu { position: relative; }
.menu .drop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: 240px;
  padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}
.menu .drop a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.menu .drop a:hover { background: var(--panel2); }
.top .btn { margin-left: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 10px;
  font-weight: 600; font-size: 14px; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer;
}
.btn:hover { border-color: var(--blue); }
.btn.line { border-color: var(--blue); color: var(--ink); }
.btn.line:hover { background: rgba(61, 139, 255, .12); }
.btn.go { background: linear-gradient(135deg, var(--blue), var(--cyan)); border-color: transparent; color: #031022; box-shadow: 0 6px 24px var(--glow); }
.btn.go:hover { filter: brightness(1.08); }
.btn.big { height: 52px; padding: 0 28px; font-size: 16px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 120px) 0; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -200px; top: -300px;
  background: radial-gradient(closest-side, rgba(61, 139, 255, .30), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 700px; height: 700px; left: -260px; bottom: -380px;
  background: radial-gradient(closest-side, rgba(56, 214, 255, .16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .beta { margin-bottom: 20px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 72px); font-weight: 800; padding-bottom: .12em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tagline { margin-top: 22px; color: var(--cyan); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero .lead { margin-top: 14px; max-width: 520px; font-size: clamp(16px, 1.6vw, 19px); color: var(--mute); }
.hero .acts { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* App mock */
.shot { position: relative; min-width: 0; border-radius: 16px; border: 1px solid var(--line); background: var(--deep); box-shadow: 0 30px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(61, 139, 255, .12); overflow: hidden; }
.shot .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #070b17; }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.shot .bar span { margin-left: 10px; color: var(--mute); font-size: 12px; }
.shot .app { display: grid; grid-template-columns: 52px minmax(0, 1fr); min-height: 0; }
.shot .rail { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; border-right: 1px solid var(--line); background: #080d1b; }
.shot .rail i { width: 22px; height: 22px; border-radius: 6px; background: var(--panel2); }
.shot .rail i.on { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.shot .main { padding: 16px; display: grid; gap: 12px; min-width: 0; }
.shot .rows { display: grid; gap: 8px; }
.shot .row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.shot .row .av { width: 28px; height: 28px; border-radius: 50%; background: var(--panel2); }
.shot .row .ln { display: grid; gap: 5px; min-width: 0; }
.shot .row .ln i { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.shot .row .ln i:first-child { width: 60%; background: #2a3b60; }
.shot .row .ln i:last-child { width: 38%; }
.shot .row .call { width: 28px; height: 28px; border-radius: 50%; background: rgba(47, 209, 139, .16); display: grid; place-items: center; }
.shot .row .call svg { width: 14px; height: 14px; color: var(--green); }
.shot .rail img { width: 26px; height: 26px; }
.shot .dial { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); min-width: 0; }
.shot .dial .live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--green); white-space: nowrap; }
.shot .dial .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47, 209, 139, .18); }
.shot .dial .q { font-size: 12px; color: var(--mute); white-space: nowrap; }
.shot .dial .prog { flex: 1 1 auto; min-width: 0; height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.shot .dial .prog i { display: block; width: 38%; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.shot .call.big { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green); }
.shot .call.big svg { width: 17px; height: 17px; color: #04210f; }
.shot .dispo { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.shot .dispo.d1 { color: #fbbf24; border-color: rgba(251, 191, 36, .55); background: rgba(251, 191, 36, .10); }
.shot .dispo.d2 { color: #c084fc; border-color: rgba(192, 132, 252, .55); background: rgba(192, 132, 252, .10); }
.shot .dispo.d3 { color: var(--cyan); border-color: rgba(56, 214, 255, .55); background: rgba(56, 214, 255, .10); }
.shot .drip { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); min-width: 0; }
.shot .drip small { display: block; color: var(--mute); font-size: 11px; margin-bottom: 8px; }
.shot .steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.shot .st { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 8px; border: 1px solid; white-space: nowrap; }
.shot .st.text { color: #4ade80; border-color: rgba(74, 222, 128, .5); background: rgba(74, 222, 128, .08); }
.shot .st.imsg { color: #60a5fa; border-color: rgba(96, 165, 250, .5); background: rgba(96, 165, 250, .08); }
.shot .st.mail { color: #f87171; border-color: rgba(248, 113, 113, .5); background: rgba(248, 113, 113, .08); }
.shot .st.stop { color: var(--ink); border-color: var(--line); background: var(--panel2); }
.shot .wait { font-size: 11px; color: var(--mute); white-space: nowrap; }
.shot .wait::before { content: "\2192"; margin-right: 6px; }

/* Band */
.band { background: linear-gradient(90deg, #0b2a6b, #0f4fa8 45%, #0c7fb3); padding: clamp(28px, 4vw, 44px) 0; }
.band p { text-align: center; font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.01em; }

/* Sections */
section.blk { padding: clamp(64px, 8vw, 112px) 0; }
.eyebrow { color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.blk .head { text-align: center; max-width: 760px; margin: 0 auto; }
.blk h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 50px); }
.blk .sub { margin-top: 14px; color: var(--mute); font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-top: 44px; }
.card { min-width: 0; padding: 30px; background: linear-gradient(180deg, var(--panel), var(--deep)); border: 1px solid var(--line); border-radius: var(--r); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(61, 139, 255, .14); color: var(--cyan); }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-top: 20px; font-size: 21px; }
.card ul { list-style: none; margin: 14px 0 0; padding: 0; color: var(--mute); font-size: 15px; }
.card li { padding: 5px 0 5px 22px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.center { display: flex; justify-content: center; margin-top: 40px; }
.center.acts { flex-wrap: wrap; gap: 12px; }
.feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.alt { background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--mute); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.foot .brand { color: var(--ink); }
.foot nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Legal and plain pages */
.doc { max-width: 780px; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.doc h1 { font-size: clamp(34px, 5vw, 52px); }
.doc .when { margin-top: 10px; color: var(--mute); font-size: 14px; }
.doc h2 { margin-top: 36px; font-size: 20px; }
.doc p, .doc li { margin-top: 8px; color: var(--mute); }
.doc ul { padding-left: 20px; margin: 8px 0 0; }

@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .top .beta { margin-left: auto; }
}
@media (max-width: 560px) {
  .util .wrap { justify-content: center; gap: 16px; }
  .shot .app { grid-template-columns: minmax(0, 1fr); }
  .shot .rail { display: none; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .top .beta { display: none; }
  .top .btn { margin-left: auto; }
  .brand .xrm { display: none; }
  .shot .row { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .shot .row .call { display: none; }
  .foot nav { margin-left: 0; }
  .top .btn { padding: 0 14px; height: 38px; }
}
@media (max-width: 380px) {
  .brand .zwm { height: 16px; }
}

/* 404: a call ringing out to nobody */
.lost { position: relative; overflow: hidden; min-height: calc(100vh - 220px); display: grid; align-content: center; grid-template-columns: minmax(0, 1fr); padding: clamp(56px, 8vw, 110px) 0; text-align: center; }
.lost::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 360px at 50% 30%, rgba(61, 139, 255, .16), transparent 70%); pointer-events: none; }
.lost .wrap { position: relative; min-width: 0; }
.lost h1 { margin-top: 12px; font-size: clamp(36px, 7vw, 96px); font-weight: 800; overflow-wrap: anywhere; background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.lost .sub { margin-top: 10px; color: var(--mute); font-size: 18px; }
.ring { position: relative; width: 140px; height: 140px; margin: 0 auto 28px; }
.ring span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(56, 214, 255, .5); animation: ring 2.4s ease-out infinite; opacity: 0; }
.ring span:nth-child(2) { animation-delay: .8s; }
.ring span:nth-child(3) { animation-delay: 1.6s; }
.ring b { position: absolute; inset: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #031022; box-shadow: 0 8px 32px var(--glow); }
.ring b svg { width: 30px; height: 30px; animation: shake 2.4s ease-in-out infinite; }
@keyframes ring { 0% { transform: scale(.45); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
@keyframes shake { 0%, 60%, 100% { transform: rotate(0); } 64%, 72% { transform: rotate(-14deg); } 68%, 76% { transform: rotate(14deg); } }
@media (prefers-reduced-motion: reduce) { .ring span, .ring b svg { animation: none; } .ring span:first-child { opacity: .5; transform: scale(.8); } }
