
:root {
  --brand: #2AB981;
  --text: #323648;
  --border: #e6e6e6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.logo {
  font-family: "Futura New", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 29px;
  font-weight: 500;
  line-height: 56px;
  letter-spacing: 0;
  color: var(--brand);
  text-decoration: none;
  transform: translateY(1px);
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 80px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid rgba(50, 54, 72, .06);
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(50, 54, 72, .12);
  padding: 30px 24px 22px;
  text-align: center;
}

.auth-illustration {
  width: 210px;
  max-width: 100%;
  margin: 0 auto 18px;
  display: block;
}

.auth-text {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--text);
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.auth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease, transform .04s ease;
}

.auth-button:hover {
  background: #f8f8f7;
  border-color: #d9d9d9;
  text-decoration: none;
}

.auth-button:active {
  transform: translateY(1px);
}

@media (max-width: 640px) {
  .topbar {
    height: 64px;
  }

  .logo {
    font-size: 24px;
    line-height: 48px;
  }

  .main {
    align-items: flex-start;
    padding-top: 80px;
  }

  .auth-card {
    max-width: 340px;
    padding: 26px 18px 18px;
  }

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