:root {
  --bg: #121a14;
  --panel: #1a2620;
  --ink: #e8efe6;
  --muted: #8fa394;
  --brass: #c4a35a;
  --leaf: #3d7a55;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Outfit, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(800px 480px at 0% 0%, rgba(61,122,85,.35), transparent 55%),
    radial-gradient(600px 400px at 100% 100%, rgba(196,163,90,.12), transparent 50%),
    linear-gradient(180deg, #18241c 0%, var(--bg) 55%, #0c120e 100%);
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem 1rem; gap: 1.25rem;
}
.moss {
  position: fixed; inset: 0; pointer-events: none; opacity: .2;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(143,163,148,.15) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(143,163,148,.12) 48px);
}
.crest {
  position: relative; z-index: 1; display: flex; gap: 1rem; align-items: center;
  width: min(460px, 100%);
}
.rune {
  width: 3.2rem; height: 3.2rem; border: 1.5px solid var(--brass);
  display: grid; place-items: center; font-size: 1.6rem; color: var(--brass);
  background: var(--panel);
}
.eyebrow { margin: 0; color: var(--brass); letter-spacing: .18em; text-transform: uppercase; font-size: .7rem; }
.name { font-family: "Libre Baskerville", serif; font-size: 1.5rem; }
.scroll {
  position: relative; z-index: 1; width: min(460px, 100%);
  background: rgba(26,38,32,.92); border: 1px solid rgba(196,163,90,.35);
  padding: 1.6rem 1.45rem; box-shadow: 0 22px 50px rgba(0,0,0,.4);
}
h1 { font-family: "Libre Baskerville", serif; font-size: 1.55rem; margin: 0 0 .45rem; }
.lede { color: var(--muted); margin: 0 0 1.15rem; line-height: 1.45; }
form { display: grid; gap: .85rem; }
label { display: grid; gap: .3rem; font-size: .82rem; color: var(--muted); }
input {
  font: inherit; font-size: 1.05rem; padding: .75rem .85rem; color: var(--ink);
  background: #0e1511; border: 1px solid #2e4036;
}
input:focus { outline: 1px solid var(--brass); }
button {
  font-family: "Libre Baskerville", serif; cursor: pointer; border: 0; padding: .9rem;
  background: linear-gradient(90deg, var(--leaf), #2f6b48); color: #f2f8f1;
}
.err { color: #e0a090; margin: 0; }
footer { position: relative; z-index: 1; opacity: .5; font-size: .8rem; width: min(460px, 100%); }
