:root {
  --bg: #08070A;
  --surface: #100E14;
  --border: #262230;
  --text: #F2EFF5;
  --muted: #A39FAD;
  --ember: #FFA51F;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

header.top {
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}

.brand strong { font-size: 1.35rem; letter-spacing: -0.01em; }
.brand span { color: var(--muted); font-size: 0.95rem; }

h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.2rem;
  margin: 2.75rem 0 0.75rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--ember);
}

p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.35rem; }
li { margin-bottom: 0.4rem; }

a { color: var(--ember); }

.lede {
  color: var(--muted);
  font-size: 1.1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1.35rem;
  margin: 1.5rem 0;
}

.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.meta { color: var(--muted); font-size: 0.9rem; }

address { font-style: normal; }

table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }

.scroll { overflow-x: auto; }

footer.bottom {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer.bottom a { margin-right: 1.25rem; }

/* The invitation page (freund/): two buttons and the code to type. */

.actions { margin: 1.5rem 0; }

.button {
  display: block;
  text-align: center;
  padding: 0.85rem 1rem;
  margin: 0 0 0.75rem;
  border: 1px solid var(--ember);
  border-radius: 4px;
  background: var(--ember);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ember);
}

.code {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 0.5rem;
}

[hidden] { display: none !important; }
