/* Keep the supplied desktop design; responsive changes are scoped below. */
body { margin: 0; background: #0D0E12; }
a { color: #7B8CFF; }
a:hover { color: #A9B4FF; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

@keyframes agt-wave {
  0%, 100% { transform: scaleY(.35); }
  50% { transform: scaleY(1); }
}
@keyframes agt-blink {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid #FF9F1C;
  outline-offset: 5px;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 44px;
  color: #B9B8C2;
  text-decoration: none;
}
.demo-step {
  border: 1.5px solid #2A2B33;
  background: #15161B;
  color: #9F9EAA;
}
.demo-step[aria-pressed="true"] {
  border-color: #FF9F1C;
  background: #2A1C0A;
  color: #FFD49A;
}
.vision-card-heading > span { flex-shrink: 0; }
.vision-card-heading > h3 { min-width: 0; }

/* Policy pages intentionally contain only their title and company name. */
.legal-page {
  color: #F2F0EB;
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.legal-header { border-bottom: 1px solid #1F2027; }
.legal-header-inner,
.legal-main,
.legal-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.legal-logo { display: flex; align-items: center; min-height: 44px; }
.legal-logo img { display: block; height: 28px; width: auto; }
.legal-main { flex: 1; padding-top: 88px; padding-bottom: 72px; }
.legal-main h1 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.25;
  font-weight: 900;
}
.legal-main p { margin: 24px 0 0; font-size: 18px; color: #B9B8C2; }
.legal-footer {
  padding-top: 36px;
  padding-bottom: 36px;
  border-top: 1px solid #1F2027;
  color: #8E8D98;
  font-size: 14px;
}

@media (max-width: 1000px) {
  .site-nav { gap: 12px !important; }
  .site-nav > .section-link { display: none; }
}

@media (max-width: 600px) {
  .site-nav > a[href="#download"] { padding: 10px !important; }
  /* Keep every comparison column visible on a phone. */
  .comparison-table { min-width: 0 !important; table-layout: fixed; }
  .comparison-table th,
  .comparison-table td {
    padding: 16px 10px !important;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .comparison-table th:first-child { width: 24%; }
  .hero-actions > a { text-align: center; }
  .demo-step { padding: 8px 2px; overflow-wrap: anywhere; }
}

@media (max-width: 360px) {
  .site-nav > a[href="#download"] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-demo span { animation: none !important; }
}
