:root {
  --ink: #161615;
  --muted: #746d62;
  --paper: #f6efe2;
  --panel: #fffaf0;
  --line: #d9c9ad;
  --red: #7a2e1d;
  --olive: #28342e;
  --brass: #b08a57;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(22, 22, 21, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(22, 22, 21, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  color: var(--ink);
  display: flex;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  justify-content: center;
  margin: 0;
  min-height: 100vh;
  padding: 24px;
}

.access-shell {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 420px);
  max-width: 980px;
  width: 100%;
}

.access-copy {
  align-self: center;
  display: grid;
  gap: 18px;
}

.brand-lockup {
  align-items: center;
  display: flex;
  gap: 12px;
  font-weight: 850;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
  max-width: 620px;
}

p {
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 520px;
}

.access-card {
  align-self: center;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(22, 22, 21, 0.14);
  display: grid;
  gap: 18px;
  padding: 28px;
}

.card-head {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.card-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.actions,
form {
  display: grid;
  gap: 10px;
}

input,
button {
  border-radius: 0;
  font: inherit;
  min-height: 48px;
}

input {
  background: #fffdf7;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0 14px;
}

input:focus,
button:focus-visible {
  outline: 3px solid rgba(176, 138, 87, 0.32);
  outline-offset: 2px;
}

button {
  align-items: center;
  border: 1px solid var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  padding: 0 16px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

button:hover {
  box-shadow: 0 10px 24px rgba(22, 22, 21, 0.12);
  transform: translateY(-1px);
}

.primary {
  background: var(--ink);
  color: var(--paper);
}

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

#status {
  color: var(--red);
  min-height: 22px;
}

.fine-print {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 780px) {
  body {
    align-items: stretch;
    padding: 18px;
  }

  .access-shell {
    grid-template-columns: 1fr;
  }

  .access-card {
    padding: 22px;
  }
}
