* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
}

img {
  display: block;
}

[hidden] {
  display: none;
}

.brand {
  display: block;
  height: 28px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  width: 182px;
}

.brand img {
  height: auto;
  left: -35px;
  max-width: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 252px;
}

.eyebrow {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.login-view {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 40px 24px;
  position: relative;
}

.login-grid {
  background-image:
    linear-gradient(rgba(17, 18, 15, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 15, 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
  inset: 0;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.62) 70%, transparent 100%);
  pointer-events: none;
  position: absolute;
}

.login-shell {
  display: grid;
  gap: 56px;
  max-width: 440px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.login-heading {
  margin-bottom: 30px;
}

.login-heading h1,
.page-heading h1,
.section-heading h2 {
  margin: 0;
}

.login-heading h1 {
  margin-top: 7px;
}

#login-form {
  display: grid;
  gap: 18px;
}

.password-field {
  display: block;
  position: relative;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  border: 0;
  height: 46px;
  position: absolute;
  right: 1px;
  top: 1px;
  width: 44px;
}

.primary-button {
  margin-top: 4px;
}

.form-error {
  background: var(--danger-soft);
  border-left: 3px solid var(--danger);
  color: #7d2019;
  font-size: 13px;
  margin: 0;
  padding: 10px 12px;
}

.turnstile-wrap {
  min-height: 65px;
  overflow: hidden;
  width: 100%;
}

#turnstile-widget {
  min-height: 65px;
  width: 100%;
}

.login-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 8px;
}

.status-dot {
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(20, 122, 80, 0.12);
  display: inline-block;
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}
