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

:root {
  --color-primary: #274249;
  --color-primary-hover: #2a4046;
  --color-text: #2a4046;
  --color-text-muted: #404040;
  --color-surface: #fff;
  --color-bg: #e0e0e0;
  --color-border: rgba(42, 64, 70, 0.115);
  --radius-pill: 2rem;
  --font-body: "Roboto", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: center;
  color: var(--color-text);
  background-color: var(--color-bg);
}

.gate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem;
}

.gate__card {
  width: 100%;
  max-width: 480px;
  padding: 2.5rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(13, 20, 22, 0.08);
}

.gate__logo {
  display: block;
  width: auto;
  max-width: 197px;
  height: auto;
  margin: 0 auto 1.5rem;
}

.gate__title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-primary);
}

.gate__text {
  margin: 0 0 2rem;
  color: var(--color-text-muted);
}

.gate__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 0.67rem 1.33rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.395;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  color: #fff;
  background-color: var(--color-primary);
  border-color: rgba(255, 255, 255, 0.115);
}

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

.btn--secondary {
  flex: none;
  min-width: auto;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-radius: 0;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.btn--secondary:hover {
  color: var(--color-text);
  background: none;
}

.btn--secondary:active {
  transform: none;
}
