
:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f7f8fc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --primary: #635bff;
  --text: #172033;
  --muted: #778198;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #f7f8fc;
}

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

#app {
  min-height: 100vh;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 7%;
}

.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e9ebf2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.brand-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-size: 22px;
}

.environment-label {
  padding: 7px 13px;
  border: 1px solid #e4e6ef;
  border-radius: 30px;
  color: #747d91;
  font-size: 12px;
  font-weight: 600;
}

.welcome-section {
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 70px;
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
  padding: 85px 0;
}

.eyebrow {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.welcome-content h1 {
  margin: 22px 0;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -3.5px;
  font-weight: 800;
}

.welcome-content > p {
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.welcome-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 35px;
  color: #596579;
  font-size: 13px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22b879;
  box-shadow: 0 0 0 4px #22b8791c;
}

.welcome-card {
  padding: 35px;
  border: 1px solid #e9eaf2;
  border-radius: 22px;
  background: white;
  box-shadow: 0 20px 60px #26345b0b;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #f0efff;
  color: var(--primary);
  font-size: 26px;
}

.welcome-card h2 {
  margin: 25px 0 10px;
  font-size: 22px;
  letter-spacing: -0.7px;
}

.welcome-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.progress-track {
  height: 6px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 10px;
  background: #eeeff5;
}

.progress-track span {
  display: block;
  width: 12%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.welcome-card small {
  display: block;
  margin-top: 12px;
  color: #9299a9;
  font-size: 12px;
}

.app-footer {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #e9ebf2;
  color: #9299a9;
  font-size: 12px;
}

.loading-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}

@media (max-width: 760px) {
  .app-shell {
    padding: 0 22px;
  }

  .topbar {
    height: 72px;
  }

  .welcome-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 65px 0;
  }

  .welcome-content h1 {
    font-size: 46px;
    letter-spacing: -2px;
  }

  .welcome-card {
    padding: 27px;
  }

  .app-footer {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 0;
  }
}
