/* Alpha-1 MZ Registry — styling tuned to match alpha1mz.org
   Deep teal (#0e4f4a), warm cream paper, serif display headings, editorial feel.
   Self-hosted/system fonts only (keeps the strict CSP: style-src 'self').
   To match the parent site exactly, drop its webfont @font-face files into
   /registry/assets/fonts and swap the families below. */

:root {
  --teal-900: #0a3a36;
  --teal-700: #0e4f4a;   /* site theme-color */
  --teal-500: #1d6f68;
  --teal-100: #d7e8e5;
  --paper:    #faf7f0;
  --paper-2:  #f2ede1;
  --ink:      #1c2624;
  --ink-soft: #4a5552;
  --line:     #d9d2c4;
  --accent:   #c4863f;   /* warm ochre, used sparingly */
  --danger:   #9b3b2f;
  --radius:   14px;
  --maxw:     980px;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--teal-500); }

.reg-header {
  background: var(--teal-700);
  color: var(--paper);
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.reg-header .brand { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .2px; color: var(--paper); text-decoration: none; }
.reg-header .brand span { font-style: italic; opacity: .85; }
.reg-header nav a { color: var(--teal-100); margin-left: 18px; text-decoration: none; font-size: .95rem; }
.reg-header nav a:hover { color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 80px; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--teal-500); font-weight: 600; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--teal-900); }
h1 { font-size: 2.4rem; margin: .2em 0 .4em; }
h1 em { color: var(--accent); font-style: italic; }
h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.2em 0 .3em; }
p { color: var(--ink-soft); }

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin: 22px 0;
}
.card.tight { padding: 20px 22px; }

label { display: block; font-weight: 600; color: var(--ink); margin: 16px 0 6px; font-size: .95rem; }
.hint { font-size: .85rem; color: var(--ink-soft); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font: inherit; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal-500); border-color: var(--teal-500); }

.checkrow { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; }
.checkrow input { margin-top: 5px; width: auto; }
.checkrow .ct { font-size: .95rem; color: var(--ink); }

.btn {
  display: inline-block; background: var(--teal-700); color: #fff; border: none;
  padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--teal-900); color: #fff; }
.btn.secondary { background: transparent; color: var(--teal-700); border: 1px solid var(--teal-700); }
.btn.danger { background: var(--danger); }

.notice { padding: 12px 16px; border-radius: 10px; margin: 16px 0; font-size: .95rem; }
.notice.ok   { background: var(--teal-100); color: var(--teal-900); }
.notice.warn { background: #f6e7cf; color: #6b4a17; }
.notice.err  { background: #f5dcd6; color: #6b241a; }

table.data { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .92rem; }
table.data th, table.data td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
table.data th { color: var(--teal-700); font-weight: 600; }

.muted { color: var(--ink-soft); font-size: .88rem; }
.section-num { font-family: var(--serif); color: var(--accent); font-size: .9rem; }
.reg-footer { border-top: 1px solid var(--line); padding: 24px; text-align: center; color: var(--ink-soft); font-size: .85rem; }
