/* Unlock gate — served from /public so it works even when /_next/static CSS 400s */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.unlock-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
  box-sizing: border-box;
  background: #f4f8f5;
  color: #13291c;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

.unlock-card {
  width: 100%;
  max-width: 28rem;
}

.unlock-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.unlock-logo {
  height: 2.5rem;
  width: auto;
  background: #fff;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
}

.unlock-eyebrow {
  margin-top: 2rem;
  font-size: 0.6875rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #4a5c52;
}

.unlock-title {
  margin: 0.75rem 0 0;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.unlock-copy {
  margin: 0.75rem 0 0;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #4a5c52;
}

.unlock-form {
  border: 1px solid rgba(20, 83, 45, 0.14);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(19, 41, 28, 0.04);
}

@media (min-width: 640px) {
  .unlock-form {
    padding: 2rem;
  }
}

.unlock-input {
  display: block;
  width: 100%;
  height: 3rem;
  box-sizing: border-box;
  border: 1px solid rgba(20, 83, 45, 0.14);
  border-radius: 0.375rem;
  background: #f4f8f5;
  padding: 0 1rem;
  font-size: 0.875rem;
  color: #13291c;
}

.unlock-input:focus {
  outline: 2px solid #117715;
  outline-offset: 2px;
}

.unlock-error {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: #dc2626;
}

.unlock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.75rem;
  margin-top: 1rem;
  border: 0;
  border-radius: 0.375rem;
  background: #0f3d24;
  color: #f4f8f5;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.unlock-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.unlock-btn:hover:not(:disabled) {
  opacity: 0.92;
}

.unlock-foot {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: #4a5c52;
}

.unlock-foot a {
  color: #14532d;
  text-underline-offset: 2px;
}
