/* Topa landing — shared Topa.io aesthetic */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --topa-page-bg: #0a0a1a;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

html {
  background: var(--topa-page-bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  background: transparent;
  position: relative;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Starfield + glow */
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 920px;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 38% at 50% 22%, rgba(37, 72, 160, 0.10) 0%, rgba(30, 58, 120, 0.06) 38%, rgba(20, 40, 90, 0.02) 62%, transparent 78%),
    radial-gradient(ellipse 80% 52% at 50% 20%, rgba(18, 32, 72, 0.14) 0%, rgba(14, 24, 56, 0.06) 48%, transparent 74%),
    radial-gradient(ellipse 130% 80% at 50% -8%, #090f22 0%, #080d1a 40%, var(--topa-page-bg) 65%);
}

@keyframes topa-star-drift {
  from { background-position: 0 0, 380px 220px; }
  to { background-position: 0 800px, 380px 820px; }
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 980px;
  z-index: -1;
  pointer-events: none;
  background-image: url("/assets/starfield.svg"), url("/assets/starfield.svg");
  background-size: 1400px 933px, 1050px 700px;
  background-position: 0 0, 380px 220px;
  background-repeat: repeat;
  animation: topa-star-drift 84s linear infinite;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 96%);
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

/* Header */
.topa-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  padding: calc(15px + var(--safe-top)) calc(40px + var(--safe-right)) 15px calc(40px + var(--safe-left));
  background: transparent;
}

.topa-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 32px;
}

.topa-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.topa-logo img {
  height: 42.5px;
  width: auto;
  display: block;
}

.topa-nav-desktop { margin-left: auto; }

.topa-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topa-nav-mobile-wrap,
.topa-nav-drawer,
.topa-nav-backdrop { display: none; }

.topa-nav-panel {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  padding: 8px 14px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(12, 11, 28, 0.88) 0%, rgba(8, 7, 27, 0.62) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 24px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.topa-nav-panel:hover { transform: translateY(-1px); }

.topa-nav-panel-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.topa-nav-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex-shrink: 0;
}

.topa-nav-panel-icon svg {
  width: 15px;
  height: 15px;
}

.topa-nav-panel-divider {
  height: 1px;
  margin-top: 8px;
}

.topa-nav-panel--trial .topa-nav-panel-inner { color: #f3e8ff; }
.topa-nav-panel--trial .topa-nav-panel-icon { background: rgba(99, 38, 162, 0.2); }
.topa-nav-panel--trial .topa-nav-panel-icon svg { fill: #a855f7; }
.topa-nav-panel--trial .topa-nav-panel-divider {
  background: linear-gradient(90deg, transparent, rgba(99, 38, 162, 0.55), rgba(168, 85, 247, 0.35), transparent);
}
.topa-nav-panel--trial:hover {
  border-color: rgba(99, 38, 162, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 28px rgba(99, 38, 162, 0.2);
}

.topa-nav-panel--book .topa-nav-panel-inner { color: #dbeafe; }
.topa-nav-panel--book .topa-nav-panel-icon { background: rgba(0, 102, 255, 0.16); }
.topa-nav-panel--book .topa-nav-panel-icon svg { fill: #60a5fa; }
.topa-nav-panel--book .topa-nav-panel-divider {
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.45), rgba(96, 165, 250, 0.32), transparent);
}
.topa-nav-panel--book:hover {
  border-color: rgba(0, 102, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 28px rgba(0, 102, 255, 0.18);
}

.topa-nav-panel--login .topa-nav-panel-inner { color: #d1fae5; }
.topa-nav-panel--login .topa-nav-panel-icon { background: rgba(16, 185, 129, 0.18); }
.topa-nav-panel--login .topa-nav-panel-icon svg { fill: #34d399; }
.topa-nav-panel--login .topa-nav-panel-divider {
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.45), rgba(52, 211, 153, 0.32), transparent);
}
.topa-nav-panel--login:hover {
  border-color: rgba(16, 185, 129, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 28px rgba(16, 185, 129, 0.18);
}

.topa-nav-panel--kb .topa-nav-panel-inner { color: #e9d5ff; }
.topa-nav-panel--kb .topa-nav-panel-icon { background: rgba(168, 85, 247, 0.12); }
.topa-nav-panel--kb .topa-nav-panel-icon svg { fill: #c084fc; }
.topa-nav-panel--kb .topa-nav-panel-divider {
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.38), rgba(244, 114, 182, 0.28), transparent);
}
.topa-nav-panel--kb:hover {
  border-color: rgba(168, 85, 247, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 28px rgba(168, 85, 247, 0.16);
}

.topa-kb-menu { position: relative; }

.topa-kb-menu__chevron {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #c084fc;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.topa-kb-menu.is-open .topa-kb-menu__chevron { transform: rotate(180deg); }

.topa-kb-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(680px, calc(100vw - 32px));
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  background: linear-gradient(180deg, rgba(14, 12, 32, 0.97) 0%, rgba(8, 7, 24, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(168, 85, 247, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1100;
  pointer-events: none;
}

.topa-kb-menu__panel::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.topa-kb-menu.is-open .topa-kb-menu__panel,
.topa-kb-menu:hover .topa-kb-menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.topa-kb-menu__body {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: auto;
  scrollbar-color: rgba(168, 85, 247, 0.45) rgba(255, 255, 255, 0.06);
}

.topa-kb-menu__section + .topa-kb-menu__section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.topa-kb-menu__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 10px;
  margin-bottom: 8px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.18s ease;
}

.topa-kb-menu__panel-head:hover,
.topa-kb-menu__panel-head:focus-visible {
  background: rgba(168, 85, 247, 0.08);
  outline: none;
}

.topa-kb-menu__panel-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e9d5ff;
}

.topa-kb-menu__panel-count {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.topa-kb-menu__list {
  column-count: 2;
  column-gap: 4px;
}

.topa-kb-menu__item {
  display: block;
  width: 100%;
  min-width: 0;
  break-inside: avoid;
  margin-bottom: 4px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.topa-kb-menu__item:hover,
.topa-kb-menu__item:focus-visible {
  color: #fff;
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.22);
  outline: none;
}

.topa-kb-menu__item-title { display: block; }

.topa-kb-menu__all {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  background: rgba(168, 85, 247, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: #e9d5ff;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.topa-kb-menu__all:hover,
.topa-kb-menu__all:focus-visible {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.42);
  color: #fff;
  outline: none;
}

.topa-nav-panel--legal .topa-nav-panel-inner {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 500;
}
.topa-nav-panel--legal .topa-nav-panel-divider {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08), transparent);
}

.topa-nav-panel--legal:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 20px rgba(0, 0, 0, 0.14);
}

/* Hero */
.topa-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px 8px;
}

.rtc-response-text-component {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 20px 20px;
  text-align: center;
}

.rtc-response-text-heading {
  font-size: clamp(26px, 4.1vw, 50px);
  font-weight: 580;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.rtc-line-static { color: #fff; }

.rtc-swap-slot {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.rtc-swap-slot.is-active { opacity: 1; }

.rtc-grad {
  background: linear-gradient(135deg,
    #a855f7 0%, #c084fc 15%, #d8b4fe 25%,
    #ff66d4 35%, #ff66a3 50%, #ff8866 65%,
    #ffa366 80%, #ffc966 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rtc-response-text-heading:not(.rtc-no-shimmer) .rtc-grad {
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%),
    linear-gradient(135deg,
      #a855f7 0%, #c084fc 15%, #d8b4fe 25%,
      #ff66d4 35%, #ff66a3 50%, #ff8866 65%,
      #ffa366 80%, #ffc966 100%);
  background-size: 200% 100%, 100% 100%;
  background-position: -100% 0, 0 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rtc-shimmer 6s ease-in-out infinite;
}

@keyframes rtc-shimmer {
  0% { background-position: -100% 0, 0 0; }
  100% { background-position: 200% 0, 0 0; }
}

/* Logo carousel (matches topa-website) */
.xyasda-logo-display {
  width: 100%;
  padding: 10px 20px 0;
  margin-bottom: 0;
  background: transparent;
  position: relative;
}

.xyasda-logo-panel {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(12, 11, 28, 0.88) 0%, rgba(8, 7, 27, 0.62) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.18);
}

.xyasda-logo-label {
  margin: 0 0 14px;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.xyasda-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.xyasda-logo-divider {
  height: 1px;
  margin: 12px 0 0;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.38), rgba(244, 114, 182, 0.28), transparent);
}

.xyasda-logo-container {
  position: relative;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.xyasda-logo {
  position: absolute;
  max-width: 80%;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 3.375s ease-in-out;
  opacity: 0;
}

.xyasda-logo.active {
  opacity: 0.85;
}

.subtext-component {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 24px;
  text-align: center;
}

.subtext-content {
  font-size: clamp(10px, 1.37vw, 15.8px);
  font-weight: 500;
  line-height: 1.6;
  color: #e2e8f0;
}

.subtext-content a {
  color: #c084fc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease;
}

.subtext-content a:hover {
  color: #e9d5ff;
}

.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin: 0 2px;
}

.pill-blue { background-color: rgba(99, 102, 241, 0.25); color: #818cf8; }
.pill-orange { background-color: rgba(251, 146, 60, 0.25); color: #fb923c; }
.pill-green { background-color: rgba(34, 197, 94, 0.25); color: #4ade80; }
.pill-purple { background-color: rgba(168, 85, 247, 0.25); color: #c084fc; }
.pill-teal { background-color: rgba(45, 212, 191, 0.2); color: #5eead4; }
.pill-pink { background-color: rgba(236, 72, 153, 0.2); color: #f472b6; }
.pill-yellow { background-color: rgba(250, 204, 21, 0.2); color: #facc15; }

.topa-cap-badges-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 32px;
}

.rtc-cap-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.rtc-cap-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 9999px;
  font-size: clamp(10px, 1.12vw, 12px);
  font-weight: 500;
  color: #fff;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(10px);
  animation: rtc-cap-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.rtc-cap-badge:nth-child(1) { animation-delay: 0.05s; }
.rtc-cap-badge:nth-child(2) { animation-delay: 0.15s; }
.rtc-cap-badge:nth-child(3) { animation-delay: 0.25s; }

@keyframes rtc-cap-in {
  to { opacity: 1; transform: translateY(0); }
}

.rtc-cap-badge svg { width: 18px; height: 18px; flex-shrink: 0; }

.rtc-cap-badge--vm {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.12);
  color: #e9d5ff;
}
.rtc-cap-badge--vm svg { fill: #c084fc; }

.rtc-cap-badge--li {
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(96, 165, 250, 0.12);
  color: #bfdbfe;
}
.rtc-cap-badge--li svg { fill: #60a5fa; }

.rtc-cap-badge--wa {
  border-color: rgba(37, 211, 102, 0.42);
  background: rgba(37, 211, 102, 0.12);
  color: #bbf7d0;
}
.rtc-cap-badge--wa svg { fill: #25D366; }

.topa-hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 20px 48px;
}

/* Features */
.topa-features-section {
  --topa-features-gap: clamp(28px, 4vw, 40px);
  max-width: 1050px;
  margin: 0 auto;
  padding: var(--topa-features-gap) 20px 64px;
  display: flex;
  flex-direction: column;
  gap: var(--topa-features-gap);
}

.topa-features-heading-wrap {
  text-align: center;
  padding: 0;
  margin: 0;
}

.topa-features-section .topa-features-heading-wrap.rtc-response-text-component {
  padding: 0;
}

.topa-features-heading-wrap .rtc-response-text-heading {
  font-size: clamp(16px, 2.28vw, 26px);
  margin: 0;
}

.topa-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.topa-feature-card {
  background: rgba(10, 9, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.topa-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topa-feature-icon svg {
  width: 22px;
  height: 22px;
}

.topa-feature-icon--purple {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.topa-feature-icon--purple svg { fill: #c084fc; }

.topa-feature-icon--blue {
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.35);
}
.topa-feature-icon--blue svg { fill: #60a5fa; }

.topa-feature-icon--green {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
}
.topa-feature-icon--green svg { fill: #25D366; }

.topa-feature-icon--pink {
  background: rgba(244, 114, 182, 0.15);
  border: 1px solid rgba(244, 114, 182, 0.35);
}
.topa-feature-icon--pink svg { fill: #f472b6; }

.topa-feature-headline {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.topa-feature-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

/* Stats */
.topa-stats {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: center;
}

.topa-stat-card {
  padding: 24px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 9, 26, 0.7);
}

.topa-stat-value {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #c084fc, #f472b6, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.topa-stat-label {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* Final CTA */
.topa-final-cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 80px;
  text-align: center;
}

.topa-final-cta p {
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  line-height: 1.55;
}

.topa-final-cta-btns {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Footer */
.topa-ft-wrap {
  width: 100%;
  margin-top: 20px;
  background: var(--topa-page-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.topa-ft-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px calc(40px + var(--safe-right)) calc(15px + var(--safe-bottom)) calc(40px + var(--safe-left));
  gap: 24px;
}

.topa-ft-contact {
  flex: 1;
  min-width: 0;
}

.topa-ft-contact-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px 28px;
  align-items: start;
}

.topa-ft-contact-col {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
}

.topa-ft-contact-col--reach {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.topa-ft-contact-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.topa-ft-contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #a855f7;
}

.topa-ft-contact-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.topa-ft-contact-item a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.18s ease;
}

.topa-ft-contact-item a:hover {
  color: #e9d5ff;
}

.topa-ft-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.topa-ft-contact-address {
  font-style: normal;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.topa-ft-logo img {
  height: 42.5px;
  width: auto;
  display: block;
}

.topa-ft-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: auto;
  align-items: flex-end;
}

.topa-ft-nav,
.topa-ft-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* Mobile nav toggle */
.topa-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 11, 28, 0.9);
  cursor: pointer;
}

.topa-nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}

.topa-nav-toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.topa-header.is-menu-open .topa-nav-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.topa-header.is-menu-open .topa-nav-toggle-icon span:nth-child(2) { opacity: 0; }
.topa-header.is-menu-open .topa-nav-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .topa-header {
    padding-left: calc(8px + var(--safe-left));
    padding-right: calc(8px + var(--safe-right));
  }

  .topa-nav-desktop { display: none; }

  .topa-nav-mobile-wrap {
    display: block;
    position: relative;
    margin-left: auto;
  }

  .topa-nav-toggle { display: inline-flex; }

  .topa-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1199;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  .topa-header.is-menu-open .topa-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .topa-nav-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100dvh;
    z-index: 1200;
    padding: calc(72px + var(--safe-top)) 16px 24px;
    background: linear-gradient(180deg, rgba(14, 12, 32, 0.98) 0%, rgba(8, 7, 24, 0.99) 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }

  .topa-header.is-menu-open .topa-nav-drawer {
    transform: translateX(0);
  }

  .topa-nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .topa-nav-mobile .topa-nav-panel { width: 100%; }

  .topa-feature-grid { grid-template-columns: 1fr; }
  .topa-stats { grid-template-columns: 1fr; }

  .topa-hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .topa-ft-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-left: calc(8px + var(--safe-left));
    padding-right: calc(8px + var(--safe-right));
  }

  .topa-ft-contact {
    max-width: none;
    width: 100%;
  }

  .topa-ft-contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .topa-ft-links {
    margin-left: 0;
    align-items: flex-start;
    width: 100%;
  }

  .topa-ft-nav,
  .topa-ft-legal { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .xyasda-logo-display {
    padding-left: 6px;
    padding-right: 6px;
  }

  .xyasda-logo-panel {
    padding: 14px;
  }

  .xyasda-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .xyasda-logo-container {
    height: 48px;
  }

  .xyasda-logo {
    position: relative;
    max-height: 28px;
    opacity: 0.85;
    transition: none;
  }

  .xyasda-logo:not(.active) {
    display: none;
  }
}

@media (hover: none) and (min-width: 901px) {
  .topa-kb-menu:hover .topa-kb-menu__panel {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.98);
    pointer-events: none;
  }

  .topa-kb-menu.is-open .topa-kb-menu__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
}

@media (max-width: 430px) {
  .topa-hero { padding: 24px 8px 8px; }
  .rtc-response-text-heading {
    font-size: clamp(22px, 6.4vw, 30px);
    line-height: 1.2;
  }
  .rtc-cap-badges {
    flex-direction: column;
    align-items: center;
  }
}
