:root {
  --paper: #efe6d8;
  --paper-2: #f7f1e8;
  --ink: #242421;
  --muted: #71695e;
  --green: #71806b;
  --amber: #d9863d;
  --line: rgba(44, 40, 34, .16);
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(36, 36, 33, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 36, 33, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 46px 46px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input { font: inherit; }

.preview-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(18px, 5vw, 72px);
}

.preview-card {
  position: relative;
  width: min(760px, 100%);
  padding: clamp(28px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(247, 241, 232, .82);
  box-shadow: 0 24px 80px rgba(41, 33, 23, .14);
}

.preview-card::before {
  content: "LOCKED";
  position: absolute;
  right: clamp(16px, 4vw, 44px);
  top: clamp(16px, 4vw, 38px);
  color: rgba(217, 134, 61, .18);
  font-size: clamp(54px, 14vw, 132px);
  font-weight: 950;
  line-height: .8;
  pointer-events: none;
}

.brand-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.42);
}

.brand-mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #6f4a33;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0;
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.intro {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 34px;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255,255,255,.62);
  outline: none;
}

input:focus {
  border-color: rgba(113,128,107,.7);
  box-shadow: 0 0 0 4px rgba(113,128,107,.14);
}

button {
  min-height: 48px;
  border: 1px solid rgba(36,36,33,.2);
  padding: 12px 18px;
  color: var(--paper-2);
  background: var(--ink);
  cursor: pointer;
}

button:hover { transform: translateY(-2px); }

.status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: #9a3d25;
  font-size: 13px;
  font-weight: 750;
}

.preview-console {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding: 12px;
  border: 1px dashed rgba(45, 38, 29, .2);
  background:
    linear-gradient(90deg, rgba(113,128,107,.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(113,128,107,.1) 1px, transparent 1px),
    rgba(255,255,255,.24);
  background-size: 18px 18px;
}

.preview-console span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(45, 38, 29, .12);
  background: rgba(247, 241, 232, .82);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.preview-console i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(217, 134, 61, .16), 0 0 14px rgba(217, 134, 61, .75);
}

.admin-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.admin-link:hover { color: var(--ink); }

@media (max-width: 620px) {
  form { grid-template-columns: 1fr; }
  button { width: 100%; }
}
