:root {
  --ink: #183942;
  --deep: #0d2931;
  --sand: #f4f0e8;
  --cream: #fbfaf7;
  --gold: #bd8e50;
  --gold-light: #e6ca9f;
  --line: rgba(24, 57, 66, .16);
  --muted: #5b7378;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--deep);
  font-family: "DM Sans", Arial, sans-serif;
}

a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }

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

.signature-access__bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2200&q=88") center / cover no-repeat;
}

.signature-access__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 41, 49, .35) 0%, rgba(13, 41, 49, .55) 100%);
}

.signature-access__card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 40px 36px 32px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(10, 30, 36, .35);
  text-align: left;
}

.signature-access__mark {
  height: 28px;
  width: auto;
  margin-bottom: 22px;
}

.signature-access__title {
  margin: 0 0 6px;
  font-family: "Montserrat", "DM Sans", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.signature-access__lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.signature-access__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signature-access__form[hidden] { display: none; }

.signature-access__field {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.signature-access__input {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 2px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  transition: border-color .15s ease;
}

.signature-access__input:focus {
  border-color: var(--ink);
}

.signature-access__submit {
  width: 100%;
  padding: 13px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: var(--ink);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, opacity .15s ease;
}

.signature-access__submit:hover { background: var(--deep); }
.signature-access__submit:disabled { opacity: .6; cursor: default; }

.signature-access__error {
  margin: 14px 0 0;
  padding: 10px 12px;
  color: #8a2f2f;
  font-size: 13px;
  background: #fbeaea;
  border: 1px solid #e7c6c6;
  border-radius: 8px;
}

.signature-access__help {
  margin: 22px 0 0;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
  border-top: 1px solid var(--line);
}

.signature-access__help a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .signature-access__card { padding: 32px 24px 26px; }
}
