:root {
  color-scheme: dark;
  --bg: #08090b;
  --bg-soft: #101317;
  --surface: rgba(18, 21, 25, 0.88);
  --surface-2: rgba(24, 28, 33, 0.92);
  --surface-strong: rgba(12, 14, 17, 0.97);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(46, 226, 207, 0.42);
  --text: #f4f7f8;
  --muted: #b3bec4;
  --muted-2: #85939b;
  --accent: #2ee2cf;
  --accent-2: #79a9ff;
  --gold: #f2c96b;
  --warm: #ff836d;
  --green: #55dc88;
  --danger: #ff718f;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(46, 226, 207, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #08090b 0%, #101317 48%, #08090b 100%);
  background-size: 48px 48px, 48px 48px, auto;
}

body::before {
  display: none;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header,
.site-footer,
main {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 11, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #122126;
  color: #00110f;
  font-weight: 950;
  box-shadow: 0 0 34px rgba(42, 235, 213, 0.24);
}

.brand-logo-mark {
  overflow: hidden;
  padding: 2px;
  background:
    radial-gradient(circle at 50% 35%, rgba(111, 247, 255, 0.28), transparent 52%),
    linear-gradient(135deg, rgba(2, 8, 13, 0.9), rgba(10, 41, 60, 0.92));
}

.brand-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small,
.site-header nav a,
.site-footer,
.muted {
  color: var(--muted);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.primary-nav {
  align-items: center;
}

.primary-nav > a,
.nav-more > summary,
.mobile-buy,
.mobile-nav > summary {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 8px 11px;
  color: var(--muted);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.primary-nav > a:hover,
.nav-more > summary:hover,
.mobile-buy:hover,
.mobile-nav > summary:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.primary-nav .nav-cta,
.mobile-buy {
  border-color: var(--accent);
  color: #03110f;
  background: var(--accent);
}

.nav-more,
.mobile-nav {
  position: relative;
}

.nav-more > summary,
.mobile-nav > summary {
  list-style: none;
}

.nav-more > summary::-webkit-details-marker,
.mobile-nav > summary::-webkit-details-marker {
  display: none;
}

.nav-menu,
.mobile-nav > div {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #111418;
  box-shadow: var(--shadow);
}

.nav-menu a,
.mobile-nav a {
  border-radius: 5px;
  padding: 9px 10px;
  color: var(--muted);
  text-decoration: none;
}

.nav-menu a:hover,
.mobile-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-buy,
.mobile-nav {
  display: none;
}

.site-header nav a {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 7px 10px;
  text-decoration: none;
  background: transparent;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-header nav a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.site-header .nav-menu a,
.site-header .mobile-nav a {
  border: 0;
  background: transparent;
}

main {
  margin-bottom: 54px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 1fr);
  gap: clamp(20px, 3.2vw, 38px);
  align-items: center;
  padding: clamp(24px, 5vw, 60px) 0 26px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: rise-in 0.7s ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 16px;
  font-size: 3.75rem;
  line-height: 0.98;
  text-wrap: balance;
}

h2 {
  margin-bottom: 12px;
  font-size: 2.25rem;
  line-height: 1.06;
  text-wrap: balance;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

p {
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.98rem;
  overflow-wrap: break-word;
}

.tagline {
  max-width: 640px;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.35;
}

.hero-text {
  max-width: 650px;
}

.hero-badges,
.pill-row,
.action-row,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-badges {
  margin-bottom: 18px;
}

.pill,
.pill-row span,
.hero-badges span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(42, 235, 213, 0.08);
  color: var(--text);
  padding: 6px 9px;
  font-size: 0.76rem;
  font-weight: 850;
}

.video-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.38fr);
  gap: clamp(24px, 4.4vw, 56px);
  align-items: center;
  scroll-margin-top: 92px;
  margin: clamp(28px, 5vw, 58px) 0 28px;
  padding: clamp(26px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(42, 235, 213, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(18, 21, 25, 0.98), rgba(8, 9, 11, 0.96));
  box-shadow:
    0 0 0 1px rgba(42, 235, 213, 0.08) inset,
    0 34px 100px rgba(0, 0, 0, 0.42);
}

.video-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(42, 235, 213, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 235, 213, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.46;
}

.video-band::after {
  display: none;
}

.video-copy,
.short-phone {
  position: relative;
  z-index: 1;
}

.video-copy {
  max-width: 760px;
}

.video-copy h2 {
  max-width: 720px;
  font-size: 3.35rem;
}

.video-copy p {
  max-width: 720px;
  font-size: 1rem;
}

.short-phone {
  width: min(100%, 390px);
  justify-self: center;
  border: 1px solid rgba(117, 236, 255, 0.48);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(24, 28, 33, 0.98), rgba(8, 9, 11, 0.98));
  box-shadow:
    0 0 0 1px rgba(42, 235, 213, 0.12) inset,
    0 0 52px rgba(42, 235, 213, 0.22),
    0 26px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(0.35deg);
}

.short-phone::before {
  display: none;
}

.short-top {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 2px 5px 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
}

.short-top span {
  display: block;
  width: 26px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.short-top em {
  border: 1px solid rgba(67, 240, 138, 0.38);
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--green);
  font-style: normal;
  font-size: 0.62rem;
}

.short-phone iframe {
  display: block;
  width: 100%;
  height: min(70vh, 650px);
  min-height: 500px;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 19px;
  background:
    radial-gradient(circle at 50% 22%, rgba(42, 235, 213, 0.18), transparent 32%),
    #02070b;
}

.zmath-video-band {
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.72fr);
}

.zmath-video-band .video-copy h2 {
  max-width: 780px;
}

.zmath-film-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(117, 236, 255, 0.4);
  border-radius: 24px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(10, 22, 30, 0.95), rgba(2, 8, 13, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(42, 235, 213, 0.2), transparent 45%);
  box-shadow:
    0 0 0 1px rgba(42, 235, 213, 0.1) inset,
    0 0 58px rgba(42, 235, 213, 0.18),
    0 28px 80px rgba(0, 0, 0, 0.46);
}

.zmath-film-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  background: #02070b;
}

.sales-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
  gap: 44px;
  align-items: center;
  width: 100vw;
  min-height: 535px;
  margin: 0 0 12px calc(50% - 50vw);
  padding: 42px max(24px, calc((100vw - 1240px) / 2));
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  background-image:
    linear-gradient(90deg, rgba(5, 7, 9, 0.98) 0%, rgba(5, 7, 9, 0.92) 42%, rgba(5, 7, 9, 0.58) 72%, rgba(5, 7, 9, 0.84) 100%),
    url('/assets/images/callchat-hero-chat.webp');
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.sales-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 760px;
}

.sales-copy h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 4.35rem;
  line-height: 0.98;
}

.sales-copy .tagline {
  max-width: 700px;
  color: #f4f7f8;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.68);
}

.sales-copy .tagline strong {
  color: var(--gold);
}

.trust-grid article,
.qcall-explainer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.buy-button {
  box-shadow: 0 12px 28px rgba(46, 226, 207, 0.2);
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
}

.hero-proof-list span {
  position: relative;
  padding-left: 18px;
  color: #d8e1e4;
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-proof-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.claim-note {
  max-width: 690px;
  margin: 16px 0 0;
  color: #aebac0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.claim-note strong {
  color: var(--gold);
}

.hero-offer {
  position: relative;
  z-index: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 24px;
  background: rgba(11, 13, 16, 0.94);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.offer-heading span,
.offer-heading strong,
.offer-plans span,
.offer-plans strong,
.offer-plans small,
.hero-offer > small {
  display: block;
}

.offer-heading span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-heading strong {
  margin-top: 4px;
  font-size: 1.45rem;
}

.offer-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0;
  border-block: 1px solid var(--line);
}

.offer-plans a {
  padding: 16px 12px 16px 0;
  color: var(--text);
  text-decoration: none;
}

.offer-plans a + a {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.offer-plans span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-plans strong {
  margin: 4px 0;
  color: var(--gold);
  font-size: 2.1rem;
  line-height: 1;
}

.offer-plans small,
.hero-offer > small {
  color: var(--muted);
  font-size: 0.78rem;
}

.offer-features {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.offer-features li {
  position: relative;
  padding-left: 22px;
  color: #d8e1e4;
  font-size: 0.9rem;
  line-height: 1.4;
}

.offer-features li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.42em;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: rotate(-45deg);
}

.hero-offer .button {
  width: 100%;
}

.hero-offer > small {
  margin-top: 12px;
  text-align: center;
}

.proof-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  padding: 16px 0 22px;
}

.proof-rail > div {
  min-width: 0;
  padding: 6px 20px;
}

.proof-rail > div:first-child {
  padding-left: 0;
}

.proof-rail > div + div {
  border-left: 1px solid var(--line);
}

.proof-rail span,
.proof-rail strong {
  display: block;
}

.proof-rail span {
  margin-bottom: 5px;
  color: var(--warm);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-rail strong {
  font-size: 0.88rem;
  line-height: 1.4;
}

.proof-rail a {
  text-decoration-color: rgba(46, 226, 207, 0.48);
  text-underline-offset: 3px;
}

.lead-band {
  display: grid;
  grid-template-columns: minmax(250px, 0.56fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin: 22px 0;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.lead-copy {
  max-width: 440px;
}

.lead-copy h2 {
  font-size: 2rem;
}

.lead-band form,
.lead-fields,
.lead-band label {
  display: grid;
  gap: 8px;
}

.lead-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-fields .lead-note {
  grid-column: 1 / -1;
}

.lead-band label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.lead-band label > span {
  font-weight: 500;
}

.lead-band input,
.lead-band select,
.lead-band textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--text);
  background: #111418;
  outline: none;
}

.lead-band select option {
  color: #111418;
}

.lead-band textarea {
  min-height: 74px;
  resize: vertical;
}

.lead-band input:focus,
.lead-band select:focus,
.lead-band textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 226, 207, 0.1);
}

.lead-band .lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  font-weight: 500;
}

.lead-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-submit {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.form-output {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 18px 0;
  padding: clamp(20px, 3.5vw, 36px);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-grid article {
  padding: 15px;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 1.14rem;
}

.trust-grid span {
  color: var(--muted);
  line-height: 1.48;
  font-size: 0.92rem;
}

.qcall-explainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 18px 0 26px;
  padding: clamp(20px, 3.5vw, 36px);
  background:
    linear-gradient(135deg, rgba(42, 235, 213, 0.07), rgba(111, 168, 255, 0.04)),
    var(--surface);
}

.action-row,
.page-actions {
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 900;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #00110f;
}

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(42, 235, 213, 0.08);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.035);
}

.hero-visual {
  position: relative;
  min-width: 0;
  isolation: isolate;
  animation: rise-in 0.8s 0.1s ease both;
}

.hero-visual::before {
  display: none;
}

.hero-visual img {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.floating-status {
  position: absolute;
  right: clamp(12px, 3vw, 30px);
  bottom: clamp(12px, 3vw, 30px);
  z-index: 2;
  width: min(270px, 46%);
  border: 1px solid rgba(42, 235, 213, 0.42);
  border-radius: 12px;
  padding: 13px;
  background: rgba(3, 7, 10, 0.86);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}

.floating-status strong {
  display: block;
  margin-bottom: 4px;
}

.floating-status span,
.mini-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.status-dot {
  display: inline-block;
  width: 8px;
  aspect-ratio: 1;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}

.status-dot.offline {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(245, 201, 91, 0.7);
}

.feature-card,
.split-section,
.connect-band,
.content-card,
.app-panel,
.chat-shell,
.auth-card,
.product-band,
.mini-card,
.manual-card,
.faq-item,
.metric-card,
.guide-section,
.admin-card,
.admin-runbook {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.55fr);
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(42, 235, 213, 0.08), rgba(111, 168, 255, 0.05)), var(--surface);
}

.status-list,
.chat-list,
.faq-grid,
.resource-grid,
.manual-grid,
.metric-grid {
  display: grid;
  gap: 12px;
}

.status-list div,
.step-list li,
.legal-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.status-list strong,
.status-list span {
  display: block;
}

.status-list span {
  margin-top: 5px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.feature-card {
  min-width: 0;
  padding: 18px;
  content-visibility: auto;
  contain-intrinsic-size: 190px;
  animation: rise-in 0.7s ease both;
}

.feature-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 950;
}

.feature-card h2 {
  font-size: 1.5rem;
  line-height: 1.08;
}

.feature-card p {
  margin-bottom: 0;
}

.admin-shell {
  max-width: 1180px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.62fr);
  gap: 16px;
  margin: 20px 0;
}

.admin-card,
.admin-runbook {
  padding: clamp(18px, 3vw, 28px);
}

.admin-kv {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.admin-kv div,
.admin-status-list div,
.runbook-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.admin-kv div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.admin-kv dt,
.admin-kv dd {
  margin: 0;
}

.admin-kv dt,
.admin-status-list span {
  color: var(--muted);
}

.admin-kv dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-status-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.admin-status-list div {
  display: grid;
  grid-template-columns: 16px minmax(90px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.runbook-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.runbook-grid article {
  padding: 14px;
}

.runbook-grid article span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 950;
}

.admin-terminal .message-pane {
  min-height: 300px;
}

.admin-leads {
  margin: 22px 0;
  padding: 28px 0;
  border-block: 1px solid var(--line);
}

.admin-lead-heading,
.admin-lead-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-lead-heading h2 {
  margin-bottom: 0;
}

.admin-lead-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.admin-lead-item {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.admin-lead-item-head time {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.admin-lead-item > a {
  width: fit-content;
  color: var(--accent);
  font-weight: 800;
  text-underline-offset: 3px;
}

.admin-lead-item p {
  margin-bottom: 0;
  white-space: pre-wrap;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.license-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(140deg, rgba(42, 235, 213, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.24);
}

.license-card.featured {
  border-color: rgba(42, 235, 213, 0.55);
  box-shadow:
    0 0 0 1px rgba(42, 235, 213, 0.1) inset,
    0 0 38px rgba(42, 235, 213, 0.16);
}

.license-card span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.license-card h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.license-card p {
  margin-bottom: 0;
}

.license-card strong {
  color: var(--text);
  font-size: 1.45rem;
}

.license-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.license-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.license-form input[type="email"],
.license-form input[type="text"] {
  width: 100%;
  border: 1px solid rgba(117, 236, 255, 0.22);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(2, 8, 12, 0.78);
  outline: none;
}

.license-form input[type="email"]:focus,
.license-form input[type="text"]:focus {
  border-color: rgba(42, 235, 213, 0.66);
  box-shadow: 0 0 0 3px rgba(42, 235, 213, 0.1);
}

.choice-card,
.plain-check {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.choice-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.choice-card span {
  display: grid;
  gap: 4px;
}

.choice-card strong {
  color: var(--text);
}

.choice-card small {
  color: var(--muted);
}

.plain-check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.split-section,
.connect-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 40px);
  margin-top: 18px;
}

.connect-band {
  grid-template-columns: minmax(0, 1fr) auto;
}

.app-panel {
  overflow: hidden;
  background: rgba(3, 7, 10, 0.62);
}

.app-topbar,
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
}

.app-window {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 210px;
  min-height: 330px;
}

.room-rail,
.security-rail {
  border-right: 1px solid var(--line);
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.security-rail {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.room-pill,
.message,
.secure-file,
.login-field,
.client-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.room-pill {
  margin-bottom: 10px;
  padding: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.room-pill.active {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(42, 235, 213, 0.08);
}

.message-pane,
.chat-main {
  padding: 15px;
}

.message {
  width: fit-content;
  max-width: min(420px, 100%);
  margin-bottom: 10px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 0.93rem;
}

.message.mine {
  margin-left: auto;
  border-color: rgba(111, 168, 255, 0.36);
  background: rgba(111, 168, 255, 0.1);
}

.secure-file {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  color: var(--accent);
  font-weight: 850;
  font-size: 0.9rem;
}

.security-rail strong {
  display: block;
  color: var(--gold);
}

.security-rail div {
  margin-bottom: 14px;
}

.page-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 54px;
}

.page-hero {
  padding: 34px 0 16px;
}

.page-hero h1 {
  font-size: 3rem;
}

.content-card {
  padding: clamp(20px, 3.4vw, 34px);
  margin: 16px 0;
}

.step-list,
.legal-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.step-list strong,
.legal-list strong {
  display: block;
  margin-bottom: 6px;
}

code {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.38);
  color: var(--accent);
  padding: 2px 6px;
}

.notice {
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: rgba(42, 235, 213, 0.08);
}

.notice.warning {
  border-left-color: var(--gold);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.resource-grid,
.manual-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card strong {
  display: block;
  color: var(--gold);
  font-size: 1.38rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.platform-card {
  padding: 18px;
}

.platform-card p {
  margin-bottom: 14px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.download-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.download-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: clamp(16px, 2.8vw, 22px);
}

.download-item h3 {
  margin: 6px 0 8px;
  font-size: 1.45rem;
}

.download-tag {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(42, 235, 213, 0.34);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--accent);
  background: rgba(42, 235, 213, 0.08);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.checksum {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.3fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 78px;
}

.toc a {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.guide-section {
  margin-bottom: 16px;
  scroll-margin-top: 84px;
}

.two-col {
  columns: 2 260px;
  column-gap: 28px;
}

.site-map-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

.site-map-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.chat-shell {
  overflow: hidden;
}

.chat-demo {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 430px;
}

.chat-sidebar {
  border-right: 1px solid var(--line);
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.chat-main {
  display: flex;
  flex-direction: column;
}

.chat-composer {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.chat-composer input {
  flex: 1;
}

.login-field {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 12px;
  color: var(--text);
}

.auth-card {
  padding: 18px;
  position: sticky;
  top: 78px;
}

.auth-card label {
  display: block;
  margin: 12px 0 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.auth-card input,
.auth-card select,
.auth-card textarea,
.chat-composer input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 11px;
}

.auth-card textarea {
  min-height: 78px;
  resize: vertical;
}

.auth-card select option {
  color: #071014;
}

.tab-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.tab-row button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 9px 8px;
  font-weight: 900;
  cursor: pointer;
}

.tab-row button.is-active {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(42, 235, 213, 0.1);
}

.auth-form[hidden] {
  display: none;
}

.client-card {
  padding: 13px;
  margin-top: 12px;
}

.client-card strong {
  display: block;
  margin-bottom: 4px;
}

.client-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.45;
}

.matrix-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.mockup-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px) 0 clamp(26px, 4vw, 44px);
}

.qcall-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  margin: clamp(18px, 4vw, 42px) 0 18px;
  padding: clamp(24px, 4.4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(42, 235, 213, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(rgba(42, 235, 213, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 235, 213, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 24%, rgba(42, 235, 213, 0.18), transparent 22rem),
    linear-gradient(135deg, rgba(3, 9, 14, 0.98), rgba(7, 20, 30, 0.94));
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.44);
}

.qcall-hero h1 {
  max-width: 780px;
  font-size: 3.4rem;
}

.qcall-panel {
  border: 1px solid rgba(42, 235, 213, 0.28);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 26px);
  background: rgba(2, 8, 13, 0.72);
  box-shadow:
    0 0 0 1px rgba(42, 235, 213, 0.08) inset,
    0 0 46px rgba(42, 235, 213, 0.16);
}

.qcall-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: min(210px, 62vw);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border: 1px solid rgba(117, 236, 255, 0.38);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(42, 235, 213, 0.22), transparent 43%),
    conic-gradient(from 0deg, transparent, rgba(42, 235, 213, 0.42), transparent 28%, rgba(111, 168, 255, 0.34), transparent 70%);
  animation: slow-spin 18s linear infinite;
}

.qcall-orbit span {
  width: 94px;
  aspect-ratio: 1;
  border: 3px solid rgba(238, 247, 251, 0.88);
  border-radius: 28px 28px 44px 44px;
  transform: rotate(45deg);
  background: rgba(42, 235, 213, 0.12);
  box-shadow: 0 0 24px rgba(42, 235, 213, 0.34);
}

.qcall-orbit strong {
  position: absolute;
  color: #ffffff;
  font-size: 3rem;
  text-shadow: 0 0 22px rgba(42, 235, 213, 0.8);
}

.qcall-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.qcall-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
}

.qcall-panel dt,
.qcall-panel dd {
  margin: 0;
}

.qcall-panel dt {
  color: var(--muted);
}

.qcall-panel dd {
  color: var(--accent);
  font-weight: 900;
  text-align: right;
}

.chat-stage {
  width: min(1240px, calc(100vw - 40px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.matrix-rain {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 8%, rgba(42, 235, 213, 0.12), transparent 24rem),
    radial-gradient(circle at 88% 10%, rgba(42, 235, 213, 0.1), transparent 24rem);
  opacity: 0.96;
}

.matrix-rain::before,
.matrix-rain::after {
  content: "0 1 0 2\A3 1 0 0\A1 0 4 1\A0 2 1 3\A1 0 0 1\A2 3 1 0\A0 1 2 0\A1 0 0 3\A0 2 1 1";
  position: absolute;
  top: -80px;
  bottom: -80px;
  width: 210px;
  white-space: pre;
  color: rgba(42, 235, 213, 0.22);
  font: 800 13px/1.38 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 9px;
  text-shadow: 0 0 14px rgba(42, 235, 213, 0.45);
  animation: rain-fall 18s linear infinite;
}

.matrix-rain::before {
  left: 0;
}

.matrix-rain::after {
  right: 0;
  animation-duration: 22s;
  opacity: 0.82;
}

.callchat-lockup {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 0 auto clamp(14px, 2vw, 22px);
  text-align: center;
}

.callchat-lockup strong {
  color: #f5fbff;
  font-size: 4.5rem;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(111, 168, 255, 0.28);
}

.callchat-lockup strong span {
  color: var(--accent);
}

.callchat-lockup em {
  position: relative;
  color: #75ecff;
  font-style: normal;
  font-size: 2.1rem;
  font-weight: 950;
  letter-spacing: 0.56em;
  text-indent: 0.56em;
}

.callchat-lockup em::before,
.callchat-lockup em::after {
  content: "";
  position: absolute;
  top: 50%;
  width: min(16vw, 140px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
}

.callchat-lockup em::before {
  right: calc(100% + 24px);
}

.callchat-lockup em::after {
  left: calc(100% + 24px);
  transform: scaleX(-1);
}

.callchat-lockup small {
  color: #78e8f7;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.callchat-console {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(380px, 1fr) minmax(230px, 0.34fr);
  min-height: clamp(470px, 50vw, 620px);
  border: 1px solid rgba(83, 226, 255, 0.72);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 245, 226, 0.05), transparent 24%, rgba(111, 168, 255, 0.05)),
    rgba(1, 8, 13, 0.92);
  box-shadow:
    0 0 0 1px rgba(42, 235, 213, 0.12) inset,
    0 0 42px rgba(42, 235, 213, 0.22),
    0 34px 100px rgba(0, 0, 0, 0.55);
}

.console-left,
.console-chat,
.console-right {
  min-width: 0;
}

.console-left {
  display: grid;
  grid-template-rows: 66px minmax(0, 1fr) 72px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(1, 10, 16, 0.68);
}

.console-brand {
  display: flex;
  align-items: center;
  padding: 0 24px;
  color: #67d9ff;
  font-size: 1.42rem;
  font-weight: 950;
}

.console-body {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-rail {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-rail span {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
}

.icon-rail span.active {
  border-color: rgba(42, 235, 213, 0.42);
  color: #dbffff;
  background: radial-gradient(circle, rgba(42, 235, 213, 0.32), rgba(42, 235, 213, 0.07));
  box-shadow: 0 0 28px rgba(42, 235, 213, 0.28);
}

.room-panel {
  min-width: 0;
  padding: 20px 16px 14px;
}

.room-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.room-title strong {
  font-size: 1.18rem;
}

.room-title button {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 950;
}

.room-search {
  position: relative;
  display: block;
  margin-bottom: 12px;
}

.room-search span {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-size: 0.82rem;
}

.room-search input {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.room-row {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 8px 0;
  text-decoration: none;
}

.room-row.active {
  border: 1px solid rgba(42, 235, 213, 0.55);
  border-radius: 12px;
  margin: 4px -6px 8px;
  padding: 8px 7px;
  background: rgba(42, 235, 213, 0.08);
  box-shadow: 0 0 22px rgba(42, 235, 213, 0.12);
}

.room-row strong,
.room-row small,
.console-user strong,
.console-user small {
  display: block;
}

.room-row strong {
  font-size: 0.94rem;
}

.room-row small,
.console-user small {
  color: var(--muted);
  font-size: 0.8rem;
}

.room-row em {
  align-self: start;
  color: var(--muted);
  font-style: normal;
  font-size: 0.75rem;
}

.room-row b {
  position: absolute;
  right: 7px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 20px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: #227dff;
  color: #fff;
  font-size: 0.72rem;
}

.room-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 999px;
  color: #ecfbff;
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 0 18px rgba(42, 235, 213, 0.16);
}

.room-avatar.blue { background: linear-gradient(135deg, #3479ff, #55d7ff); }
.room-avatar.rose { background: linear-gradient(135deg, #ff6589, #c04f76); }
.room-avatar.steel { background: linear-gradient(135deg, #98aabb, #607485); }
.room-avatar.green { background: linear-gradient(135deg, #21c774, #3fe98b); }
.room-avatar.teal { background: linear-gradient(135deg, #2ed5c4, #3aab91); }
.room-avatar.purple { background: linear-gradient(135deg, #6d61ff, #9b6bff); }
.room-avatar.cyan { background: linear-gradient(135deg, #29c9d4, #60f2ff); }
.room-avatar.violet { background: linear-gradient(135deg, #6657ff, #9c84ff); }

.console-user {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 18px;
}

.console-user i,
.bot-card i {
  display: block;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.console-chat {
  display: grid;
  grid-template-rows: 66px minmax(0, 1fr) 70px;
  background: rgba(0, 7, 12, 0.72);
}

.conversation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 22px;
}

.conversation-head strong,
.conversation-head small {
  display: block;
}

.conversation-head strong {
  font-size: 1.12rem;
}

.conversation-head small {
  color: var(--muted);
}

.conversation-actions {
  display: flex;
  gap: 8px;
}

.conversation-actions span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 0.72rem;
}

.conversation-flow {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px) 24px;
}

.chat-line {
  display: grid;
  grid-template-columns: 40px minmax(0, max-content);
  gap: 12px;
  align-items: start;
}

.chat-line p {
  margin: 0;
}

.chat-line p > strong {
  display: block;
  margin-bottom: 6px;
  color: #2c8cff;
  font-size: 0.88rem;
}

.chat-line p > strong em {
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  padding: 2px 5px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.62rem;
}

.chat-line p > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  line-height: 1.35;
}

.chat-line time {
  margin-left: 12px;
  color: var(--muted);
  font-size: 0.75rem;
}

.file-line p > span {
  border-color: rgba(42, 235, 213, 0.5);
  background: rgba(42, 235, 213, 0.08);
  padding: 12px;
}

.file-bubble i {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, #d9efff, #9eb4c5);
}

.file-bubble i::before {
  content: "✓";
  color: #0b1821;
  font-weight: 950;
}

.file-bubble small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.file-bubble b {
  border-radius: 7px;
  padding: 7px 9px;
  background: rgba(67, 240, 138, 0.1);
  color: var(--green);
  font-size: 0.74rem;
}

.console-composer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 54px;
  gap: 10px;
  align-items: center;
  margin: 0 16px 16px;
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.console-composer span {
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.72rem;
  font-weight: 900;
}

.console-composer input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--muted);
}

.console-composer button {
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #00110f;
  font-weight: 950;
}

.console-right {
  display: grid;
  align-content: start;
  gap: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px;
  background: rgba(3, 12, 18, 0.68);
}

.shield-card,
.bot-card,
.security-list {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 28px rgba(42, 235, 213, 0.08);
}

.shield-card {
  padding: 20px;
  text-align: center;
}

.shield-card h2 {
  margin-bottom: 10px;
  text-align: left;
  font-size: 1.1rem;
}

.shield-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 140px;
  aspect-ratio: 1;
  margin: 8px auto 12px;
  border: 1px solid rgba(42, 235, 213, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(42, 235, 213, 0.28), transparent 42%),
    conic-gradient(from 30deg, transparent, rgba(42, 235, 213, 0.4), transparent 58%);
  animation: slow-spin 16s linear infinite;
}

.shield-logo {
  display: block;
  width: min(148px, 72%);
  aspect-ratio: 1;
  margin: 8px auto 12px;
  border-radius: 30px;
  filter:
    drop-shadow(0 0 16px rgba(42, 235, 213, 0.28))
    drop-shadow(0 16px 28px rgba(0, 0, 0, 0.34));
  animation: shield-float 5.5s ease-in-out infinite;
}

.shield-card:has(.shield-logo) {
  background:
    linear-gradient(180deg, rgba(14, 28, 34, 0.98), rgba(8, 16, 22, 0.96)),
    radial-gradient(circle at 50% 35%, rgba(42, 235, 213, 0.14), transparent 54%);
}

.shield-orbit span {
  display: block;
  width: 82px;
  aspect-ratio: 1;
  border: 2px solid rgba(111, 238, 255, 0.86);
  border-radius: 28% 28% 42% 42%;
  background: rgba(42, 235, 213, 0.12);
  transform: rotate(45deg);
}

.shield-orbit strong {
  position: absolute;
  color: #eaffff;
  font-size: 2.2rem;
  text-shadow: 0 0 18px rgba(42, 235, 213, 0.8);
}

.zmath-orbit {
  box-shadow:
    0 0 0 1px rgba(42, 235, 213, 0.1) inset,
    0 0 36px rgba(42, 235, 213, 0.2);
}

.zmath-orbit::before,
.zmath-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.zmath-orbit::before {
  inset: 16px;
  border: 1px dashed rgba(117, 236, 255, 0.56);
  animation: slow-spin-reverse 10s linear infinite;
}

.zmath-orbit::after {
  inset: 34px;
  border: 1px solid rgba(245, 201, 91, 0.22);
  box-shadow: 0 0 22px rgba(245, 201, 91, 0.12);
}

.zmath-orbit strong {
  color: var(--accent);
  font-size: 2.55rem;
}

.zmath-orbit em {
  position: absolute;
  bottom: 19px;
  border: 1px solid rgba(245, 201, 91, 0.32);
  border-radius: 999px;
  padding: 2px 8px;
  background: rgba(1, 8, 13, 0.86);
  color: var(--gold);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.shield-card p {
  margin-bottom: 4px;
  color: var(--text);
}

.shield-card b {
  color: var(--gold);
}

.bot-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 10px;
  gap: 10px;
  align-items: center;
  padding: 15px;
}

.bot-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.security-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 15px;
}

.security-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.security-list dt {
  color: var(--muted);
}

.security-list dd {
  margin: 0;
  color: var(--green);
}

.mockup-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1060px;
  margin: 22px auto 0;
}

.mockup-actions p {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.compact-hero {
  padding-bottom: 4px;
}

.compact-hero h1 {
  max-width: 760px;
  font-size: 2.6rem;
  line-height: 1.04;
}

.access-copy {
  align-self: start;
}

.quick-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.quick-steps article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(5, 13, 18, 0.72);
}

.quick-steps strong {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  color: #02080d;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 0.95rem;
}

.quick-steps span {
  color: var(--text);
  font-weight: 800;
}

.quick-steps small {
  color: var(--muted);
  line-height: 1.45;
}

.print-only {
  display: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 30px 0 42px;
}

.site-footer a {
  text-decoration: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.32);
    opacity: 1;
  }
}

@keyframes scan-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(44px);
  }
}

@keyframes rain-fall {
  from {
    transform: translateY(-80px);
  }
  to {
    transform: translateY(120px);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes slow-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes shield-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .split-section,
  .connect-band,
  .product-band,
  .video-band,
  .sales-hero,
  .trust-band,
  .qcall-explainer,
  .auth-layout,
  .qcall-hero {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    position: static;
    flex-direction: column;
  }

  .commerce-header {
    position: sticky;
    align-items: center;
    flex-direction: row;
  }

  .commerce-header .primary-nav {
    display: none;
  }

  .commerce-header .mobile-buy,
  .commerce-header .mobile-nav {
    display: block;
  }

  .commerce-header .mobile-buy {
    margin-left: auto;
  }

  .commerce-header .mobile-nav > div {
    width: min(260px, calc(100vw - 24px));
  }

  .hero {
    padding-top: 22px;
  }

  .feature-grid,
  .pricing-grid,
  .trust-grid,
  .resource-grid,
  .manual-grid,
  .metric-grid,
  .platform-grid,
  .quick-steps,
  .guide-layout,
  .site-map-list,
  .app-window,
  .chat-demo {
    grid-template-columns: 1fr;
  }

  .auth-card {
    position: static;
  }

  .room-rail,
  .security-rail,
  .chat-sidebar {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .callchat-console {
    grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  }

  .console-right {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mockup-actions {
    grid-template-columns: 1fr;
  }

  .short-phone {
    width: min(360px, 100%);
    transform: none;
  }

  .short-phone iframe {
    height: clamp(460px, 118vw, 620px);
    min-height: 0;
  }

  .toc {
    position: static;
  }

  .download-item {
    grid-template-columns: 1fr;
  }

  .download-item .button {
    width: 100%;
    justify-content: center;
  }

  .sales-hero {
    min-height: 0;
    padding-top: 38px;
    padding-bottom: 38px;
    background-position: 60% center;
  }

  .sales-copy h1 {
    font-size: 3.25rem;
  }

  .hero-offer {
    width: min(100%, 560px);
  }

  .proof-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-rail > div {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }

  .proof-rail > div:first-child {
    padding-left: 16px;
  }

  .proof-rail > div:nth-child(3) {
    border-left: 0;
  }

  .lead-band {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  h1 {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .site-header,
  .site-footer,
  main,
  .page-shell {
    width: min(100%, calc(100% - 24px));
  }

  .site-header nav a {
    flex: 0 0 auto;
    font-size: 0.84rem;
    padding: 7px 8px;
  }

  .site-header nav {
    justify-content: flex-start;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .commerce-header {
    width: min(100%, calc(100% - 24px));
    gap: 8px;
  }

  .commerce-header .brand {
    min-width: 0;
  }

  .commerce-header .brand small {
    display: none;
  }

  .commerce-header .mobile-buy,
  .commerce-header .mobile-nav > summary {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .commerce-header .mobile-nav > div {
    position: fixed;
    top: 66px;
    right: 12px;
  }

  .sales-hero {
    gap: 26px;
    padding: 26px 16px 32px;
    background-image:
      linear-gradient(90deg, rgba(5, 7, 9, 0.97) 0%, rgba(5, 7, 9, 0.91) 68%, rgba(5, 7, 9, 0.8) 100%),
      url('/assets/images/callchat-hero-chat.webp');
    background-position: 58% center;
  }

  .sales-copy h1,
  h1 {
    font-size: 2.2rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.75rem;
  }

  .sales-copy .tagline {
    font-size: 0.98rem;
  }

  .hero-detail,
  .sales-hero .claim-note {
    display: none;
  }

  .hero-proof-list {
    display: grid;
    gap: 7px;
    margin-top: 18px;
  }

  .hero-proof-list span {
    font-size: 0.82rem;
  }

  .sales-hero .action-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 16px;
  }

  .sales-hero .button {
    min-height: 40px;
    padding: 8px 5px;
    font-size: 0.78rem;
  }

  .hero-offer {
    padding: 19px;
  }

  .proof-rail {
    gap: 0;
  }

  .proof-rail > div {
    padding: 12px;
  }

  .proof-rail > div:first-child {
    padding-left: 12px;
  }

  .proof-rail strong {
    font-size: 0.82rem;
  }

  .lead-band {
    padding: 26px 0;
  }

  .lead-fields {
    grid-template-columns: 1fr;
  }

  .lead-fields .lead-note {
    grid-column: auto;
  }

  .lead-submit {
    display: grid;
    justify-items: stretch;
  }

  .admin-lead-heading,
  .admin-lead-item-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .hero {
    gap: 18px;
    max-width: calc(100vw - 24px);
  }

  .mockup-stage,
  .chat-stage {
    width: min(100%, calc(100vw - 24px));
  }

  .callchat-lockup strong {
    font-size: 3.2rem;
  }

  .callchat-lockup small {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .callchat-lockup em::before,
  .callchat-lockup em::after {
    width: 54px;
  }

  .callchat-console {
    display: block;
    min-height: 0;
  }

  .console-left,
  .console-chat,
  .console-right {
    border: 0;
  }

  .console-left {
    display: block;
  }

  .console-body {
    grid-template-columns: 1fr;
  }

  .icon-rail {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
  }

  .room-panel {
    padding: 16px 14px;
  }

  .console-chat {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .conversation-head {
    padding: 14px;
  }

  .conversation-actions {
    display: none;
  }

  .conversation-flow {
    padding: 16px 14px;
  }

  .chat-line {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .file-bubble {
    flex-wrap: wrap;
  }

  .console-composer {
    grid-template-columns: 1fr;
    margin: 0 14px 14px;
  }

  .console-right {
    display: grid;
    grid-template-columns: 1fr;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .shield-orbit {
    width: 118px;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 24px);
    padding-top: 4px;
  }

  .tagline,
  .hero-text,
  .hero-copy p,
  .page-hero p {
    width: 100%;
    max-width: calc(100vw - 24px);
  }

  .hero-badges {
    gap: 7px;
    margin-bottom: 14px;
  }

  .hero-badges span {
    font-size: 0.7rem;
  }

  .floating-status {
    position: static;
    width: auto;
    margin-top: 10px;
  }

  .button {
    width: 100%;
  }

  .video-band {
    padding: 20px;
  }

  .video-band::after {
    width: 80vw;
    right: -18vw;
  }

  .video-copy h2 {
    font-size: 2.35rem;
  }

  .short-phone {
    width: min(100%, 340px);
  }

  .short-phone iframe {
    height: clamp(420px, 145vw, 560px);
  }

  .action-row,
  .page-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .captcha-row {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #fff;
    color: #111;
  }

  body::before,
  .site-header,
  .site-footer,
  .page-actions,
  .toc,
  .button {
    display: none !important;
  }

  main,
  .page-shell {
    width: 100%;
    margin: 0;
  }

  .content-card,
  .guide-section,
  .feature-card,
  .product-band,
  .split-section {
    box-shadow: none;
    border-color: #bbb;
    break-inside: avoid;
  }

  p,
  .muted {
    color: #222;
  }

  a {
    color: #111;
  }

  .print-only {
    display: block;
  }
}
