/* Minimal Slack gate — login / signup only */
:root {
  --primary: #611f69;
  --primary-hover: #4a154b;
  --primary-deep: #4a154b;
  --ink: #1d1c1d;
  --body: #454245;
  --muted: #696969;
  --canvas: #ffffff;
  --hairline: #ebeaeb;
  --font-display: "Poppins", sans-serif;
  --font-body: "Lato", sans-serif;
  --radius-btn: 6px;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body.gate-page {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(236, 178, 46, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(54, 197, 240, 0.16), transparent 50%),
    radial-gradient(800px 480px at 50% 110%, rgba(97, 31, 105, 0.12), transparent 55%),
    linear-gradient(180deg, #fff 0%, #f7f4f8 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 8px;
}

.gate-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 4vw, 48px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.gate-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  min-height: 48px;
  padding: 0 28px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: rgba(97, 31, 105, 0.06);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(29, 28, 29, 0.05);
}

.gate-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 24px clamp(20px, 4vw, 48px) 48px;
}

.gate-hero {
  width: min(640px, 100%);
  text-align: center;
  animation: gateIn 0.55s ease both;
}

.gate-logo {
  width: clamp(120px, 28vw, 168px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: cover;
  margin: 0 auto 18px;
  display: block;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(26, 11, 28, 0.28);
  animation: gateIn 0.55s ease both;
}

.gate-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.gate-sub {
  margin: 14px auto 0;
  max-width: 34rem;
  color: var(--body);
  font-size: 1.05rem;
}

.gate-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  animation: gateIn 0.7s ease 0.08s both;
}

.gate-hint {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gate-hint a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gate-footer {
  padding: 16px 24px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@keyframes gateIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .gate-actions .btn-ghost {
    padding: 0 12px;
  }

  .gate-ctas {
    flex-direction: column;
  }

  .gate-ctas .btn {
    width: 100%;
  }
}
