@font-face { font-family: 'Marcellus'; src: url('https://cdn.jsdelivr.net/npm/@fontsource/marcellus@5/files/marcellus-latin-400-normal.woff2') format('woff2'); font-weight: 400 600; font-display: swap; unicode-range: U+0000-002F, U+003A-FFFF; }
@font-face { font-family: 'Nunito Sans'; src: url('https://cdn.jsdelivr.net/npm/@fontsource/nunito-sans@5/files/nunito-sans-latin-400-normal.woff2') format('woff2'); font-weight: 300 400; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('https://cdn.jsdelivr.net/npm/@fontsource/nunito-sans@5/files/nunito-sans-latin-600-normal.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }

:root {
  --beige: #daceb7;
  --gold: #cbb682;
  --gold-deep: #a8925a;
  --nacre: #f6f3e9;
  --paper: #fffdf8;
  --ink: #3f382d;
  --muted: #8a7f6c;
  --line: #e6dccb;
  --ok: #6f8f5f;
  --warn: #b5793a;
  --danger: #a2524a;
  --serif: 'Marcellus', 'Nunito Sans', Georgia, serif;
  --script: 'Marcellus', 'Nunito Sans', Georgia, serif;
  --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 2px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--nacre); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 15.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

.wordmark { text-align: center; }
.wordmark .ornament { display: block; margin: 0 auto 10px; width: 26px; height: 26px; color: var(--gold); }
.wordmark .name { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: 0.42em; padding-left: 0.42em; line-height: 1; }
.wordmark .tag { font-size: 9.5px; letter-spacing: 0.42em; padding-left: 0.42em; color: var(--gold-deep); margin-top: 8px; font-weight: 400; }

.script { font-family: var(--script); font-weight: 400; line-height: 1.15; letter-spacing: .01em; }
.wordmark .logo { display: block; margin: 0 auto; width: 230px; max-width: 70vw; height: auto; }
.wordmark.small .logo { width: 130px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--gold); background: var(--gold); color: #fff;
  padding: 15px 22px; min-height: 52px; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 13px; font-weight: 500; border-radius: var(--radius); text-decoration: none;
  transition: background .2s, border-color .2s, opacity .2s;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--paper); }
.btn.block { width: 100%; }
.btn.danger { background: transparent; color: var(--danger); border-color: #d8b5ae; }

.notice { border-left: 3px solid var(--gold); background: var(--paper); padding: 14px 16px; font-size: 14.5px; }
.notice.warn { border-left-color: var(--warn); }
.notice.err { border-left-color: var(--danger); }
.notice.ok { border-left-color: var(--ok); }

.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; padding: 13px 14px; font-size: 16px;
  border-radius: var(--radius); font-weight: 400;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(203, 182, 130, .2); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; margin: 12px 0; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gold-deep); flex: none; }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
