html, body {
  margin: 0;
  background: #f8f9f6;
}

.meetx-startup {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-sizing: border-box;
  padding: max(36px, env(safe-area-inset-top)) max(56px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(56px, env(safe-area-inset-left));
  overflow: auto;
  background: #f8f9f6;
  color: #182c39;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: opacity 280ms ease;
}

.meetx-startup *, .meetx-startup *::before, .meetx-startup *::after { box-sizing: border-box; }
.meetx-startup [hidden] { display: none !important; }

.startup-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.6px;
}

.startup-product { font-weight: 400; color: #5b6b73; }

.startup-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 32px;
  align-self: center;
  justify-self: center;
  width: min(100%, 1120px);
  padding: 64px 0;
}

.startup-copy { position: relative; padding: 12px 0 38px; }

.startup-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: #52646f;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.startup-eyebrow::before { content: ''; width: 20px; height: 2px; background: #0b58ff; }

.startup-copy h1 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -2.8px;
}

.startup-copy h1 span { color: #0b58ff; }

.startup-subtitle {
  margin: 24px 0 0;
  color: #60717a;
  font-size: 14px;
  line-height: 1.7;
}

.startup-loading { display: flex; align-items: center; gap: 14px; margin-top: 48px; }
.startup-loading p { margin: 0; font-size: 12px; line-height: 1.6; font-weight: 550; }
.startup-signal { display: flex; align-items: center; gap: 3px; height: 18px; flex: 0 0 auto; }

.startup-signal i {
  display: block;
  width: 4px;
  height: 14px;
  border-radius: 1px;
  background: #0b58ff;
  transform-origin: center;
  animation: signal-pass 1.4s ease-in-out infinite;
}

.startup-signal i:nth-child(2) { animation-delay: .16s; }
.startup-signal i:nth-child(3) { animation-delay: .32s; }

.startup-detail { max-width: 310px; margin: 10px 0 0 32px; color: #60717a; font-size: 12px; line-height: 1.6; }
.startup-detail:empty { display: none; }

.startup-retry {
  margin: 14px 0 0 32px;
  padding: 10px 18px;
  border: 1px solid #0b58ff;
  border-radius: 6px;
  background: #0b58ff;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
}

.startup-retry:hover { background: #0848d4; }
.startup-retry:focus-visible { outline: 2px solid #0b58ff; outline-offset: 4px; }

.startup-network { min-width: 0; position: relative; }
.startup-network svg { display: block; width: 100%; overflow: visible; }
.network-paper { opacity: .65; }
.network-shadow { stroke: #e9eef5; stroke-width: 22px; stroke-linecap: round; stroke-linejoin: round; }
.network-line { stroke: #b5caff; stroke-width: 4px; stroke-linecap: round; stroke-linejoin: round; }

.network-current {
  stroke: #0b58ff;
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24 100;
  animation: connection-pass 3.6s linear infinite;
}

.network-node > circle { fill: #f8f9f6; stroke: #0b58ff; stroke-width: 2px; }
.network-node .node-core { fill: #0b58ff; stroke: none; animation: node-pass 3.6s ease-in-out infinite; }
.node-two .node-core { animation-delay: .6s; }
.node-three .node-core { animation-delay: 1.2s; }
.node-four .node-core { animation-delay: 1.8s; }
.node-five .node-core { animation-delay: 2.4s; }
.network-labels { fill: #6a7c89; text-anchor: middle; font-size: 9px; font-weight: 550; letter-spacing: 1.8px; }

.network-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: -14px;
  color: #60717a;
  font-size: 11px;
}

.network-caption > span { width: 4px; height: 4px; background: #0b58ff; }

.startup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #dce2e2;
  color: #60717a;
  font-size: 11px;
  line-height: 1.6;
}

.startup-footer-mark { font-weight: 650; letter-spacing: 3px; color: #0b58ff; }
.meetx-startup[data-stage='ready'] { opacity: 0; pointer-events: none; }
.meetx-startup[data-stage='error'] [data-startup-status] { color: #994347; }
.meetx-startup[data-stage='error'] *, .meetx-startup[data-stage='error'] *::before { animation: none; }
.meetx-startup[data-stage='error'] .startup-signal i { background: #994347; transform: scaleY(.35); }

@keyframes connection-pass { from { stroke-dashoffset: 24; } to { stroke-dashoffset: -100; } }
@keyframes node-pass { 0%, 65%, 100% { opacity: .35; } 25% { opacity: 1; } }
@keyframes signal-pass { 0%, 100% { transform: scaleY(.35); opacity: .45; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 900px) {
  .meetx-startup { padding-left: 32px; padding-right: 32px; }
  .startup-content { gap: 12px; }
  .startup-copy h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -1.8px; }
}

@media (max-width: 620px) {
  .meetx-startup { padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
  .startup-brand { font-size: 16px; }
  .startup-brand img { width: 28px; height: 28px; }
  .startup-content { grid-template-columns: 1fr; gap: 0; padding: 36px 0; max-width: 400px; }
  .startup-copy { padding: 0; }
  .startup-copy h1 { font-size: clamp(34px, 8.8vw, 48px); letter-spacing: -1.8px; }
  .startup-eyebrow { margin-bottom: 20px; font-size: 9px; }
  .startup-subtitle { margin-top: 18px; font-size: 13px; }
  .startup-loading { margin-top: 30px; }
  .startup-network { margin: 8px auto 0; width: min(100%, 340px); }
  .network-caption { display: none; }
  .startup-footer { font-size: 10px; }
}

@media (max-height: 650px) and (min-width: 621px) {
  .meetx-startup { padding-top: 24px; padding-bottom: 20px; }
  .startup-content { padding: 24px 0; }
  .startup-copy { padding: 0; }
  .startup-eyebrow { margin-bottom: 16px; }
  .startup-loading { margin-top: 24px; }
  .startup-network { max-width: 350px; justify-self: end; }
}

@media (max-height: 700px) and (max-width: 620px) {
  .startup-content { padding: 28px 0 12px; }
  .startup-network { width: 240px; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .meetx-startup, .meetx-startup *, .meetx-startup *::before {
    animation: none !important;
    transition: none !important;
  }
  .network-current { stroke-dasharray: none; }
}
