/* The chrome every public page shares (home, invitations, privacy, support): faces, palette,
   header and footer. Each page links its own stylesheet after this one. */
@font-face { font-family: "Chakra Petch"; src: url("/invitation-assets/ChakraPetch-Bold.woff2?v=a9335ff87c") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("/invitation-assets/ChakraPetch-BoldItalic.woff2?v=48d5f771f3") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("/invitation-assets/ChakraPetch-Medium.woff2?v=df58845528") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Azeret Mono"; src: url("/invitation-assets/AzeretMono-Variable.woff2?v=c6b46ff5b5") format("woff2"); font-weight: 100 900; font-display: swap; }

/* The app's night palette: invitation pages and /admin are ink with cream type. */
:root {
  --ink: #0b0804;
  --cream: #f6eedd;
  --ground: var(--ink);
  --surface: #17130a;
  --rule: #514126;
  --rule-faint: #2a2113;
  --text: var(--cream);
  --text-2: #e6dcc6; /* secondary copy */
  --muted: #b3a383;
  --ghost: #3fd8e8;
  --ghost-text: var(--ghost); /* the ghost cyan as type, focus rings and hovers on this ground */
  --ahead: #38e08a;
  --behind: #ff6b4d;
  --navy: #1b3a8a;
  --cta: #ffb020; /* amber: the primary action only */
  --shade: #000; /* drop shadows */
}

/* The home page, support and privacy are printed on cream paper with ink type; the greys and
   greens darken to read on it (each at least 4.5:1), and shadows warm so they do not smudge it. */
.home, .public-page {
  --ground: var(--cream);
  --surface: #efe5cf;
  --rule: #cbbd9c;
  --rule-faint: #d9cdb0;
  --text: var(--ink);
  --text-2: #3b3020;
  --muted: #6b5c40;
  --ghost-text: #0b6f7a;
  --ahead: #0d7343;
  --shade: rgba(60, 40, 10, .32);
}

* { box-sizing: border-box; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--ghost-text); outline-offset: 5px; }

.nav { padding: 28px 40px; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 12px; letter-spacing: -.4px; white-space: nowrap; }
.mark { flex: none; width: 26px; height: 26px; background: repeating-conic-gradient(currentColor 0% 25%, transparent 0% 50%) 0 0/13px 13px; transform: skew(-10deg); }
.page-links { display: flex; flex-wrap: wrap; gap: 20px; text-transform: uppercase; }
.page-links a { text-decoration: none; text-underline-offset: 5px; }
.page-links a:hover { text-decoration: underline; }
.foot { border-top: 1px solid var(--rule); margin: 0 40px; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 700px) {
  .nav { padding: 22px 24px; gap: 18px; }
  .wordmark { font-size: 18px; }
  .page-links { gap: 16px; font-size: 10px; }
  .foot { margin: 0 24px; }
}
