/* Zign web pages: tokens from the Zign design system. Day follows the system setting; night is home. */
:root {
  --surface: #f3ede3;
  --surface-raised: #fbf8f3;
  --line: #ded5c8;
  --ink: #1e1630;
  --ink-muted: #5e5270;
  --gold: #e8a84c;
  --gold-ink: #89632d;
  --focus: #89632d;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Avenir Next", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #1e1630;
    --surface-raised: #2a2040;
    --line: #3b2d55;
    --ink: #f3ede3;
    --ink-muted: #b7a9c9;
    --gold-ink: #e8a84c;
    --focus: #e8a84c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 16px/24px var(--sans);
}
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }

header.top { padding: 32px 0 8px; }
.wordmark { display: inline-block; color: var(--ink); width: 88px; }
.wordmark svg { display: block; width: 100%; height: auto; }

main { padding: 24px 0 64px; }
h1 {
  font: 500 34px/40px var(--display);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.meta { color: var(--ink-muted); font-size: 14px; line-height: 20px; margin: 0 0 32px; }
.lead {
  font: 400 20px/30px var(--display);
  margin: 0 0 32px;
}
h2 {
  font: 500 22px/28px var(--display);
  margin: 40px 0 8px;
}
h3 { font: 600 16px/24px var(--sans); margin: 24px 0 4px; }
p, li { margin: 0 0 12px; }
ul { padding-left: 20px; margin: 0 0 12px; }
li::marker { color: var(--gold); }
a { color: var(--gold-ink); text-underline-offset: 3px; }
strong { font-weight: 600; }

.card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 0 0 24px;
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; gap: 12px; align-items: baseline; }
summary::-webkit-details-marker { display: none; }
summary::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); transform: translateY(-1px); transition: transform .15s ease;
}
details[open] summary::before { transform: translateY(-1px) scale(1.4); }
details p { margin: 8px 0 0 22px; }

.mail {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 22px; border-radius: 999px;
  background: var(--gold); color: #1e1630; font-weight: 600; text-decoration: none;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--ink-muted);
  font-size: 14px; line-height: 20px;
}
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
footer a { color: var(--ink-muted); }
footer a[aria-current="page"] { color: var(--ink); text-decoration: none; font-weight: 600; }

@media (prefers-reduced-motion: reduce) { summary::before { transition: none; } }
