/* Unsober Society: the site's pages, in the app's "Last Call" colors. System fonts only; no
   external files. */
:root {
  color-scheme: dark;
  --background: #0e0e0e;
  --surface: #1a1a1a;
  --text: #f5f2ee;
  --secondary: #a39e97;
  --line: #3a3632;
  --amber: #e8833a;
  --on-amber: #120c06;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

nav a { display: inline-block; padding: 0.4rem 0; font-size: 0.95rem; color: var(--secondary); text-decoration: none; }
nav a:hover { color: var(--text); }
nav a[aria-current="page"] { color: var(--text); font-weight: 700; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 2.1rem; font-weight: 800; margin: 1.75rem 0 0.35rem; }
h2 { font-size: 1.35rem; font-weight: 700; margin: 2.25rem 0 0.5rem; color: var(--amber); }
h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 0.25rem; }

p, ul, ol { margin: 0.5rem 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin: 0.3rem 0; }

a { color: var(--amber); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 2px; }

.meta { color: var(--secondary); margin-top: 0; }
.lede { font-size: 1.2rem; }

.summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 1.25rem;
  margin: 1.25rem 0;
}

.button {
  display: inline-block;
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  margin: 0.5rem 0;
}
.button:hover { filter: brightness(1.08); }
.button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.invite { text-align: center; padding: 2.5rem 0 1rem; }
.invite h1 { margin-top: 0.5rem; }
.invite .meta { margin-bottom: 1.5rem; }
.invite .code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--secondary);
  font-size: 0.9rem;
}

.glass { font-size: 3rem; line-height: 1; margin: 0; }

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  font-size: 0.9rem;
}
footer a { color: var(--secondary); }

[hidden] { display: none !important; }
