/* Star Atlas look for the site's text pages (privacy, support, 404): the game's tokens
   (Stellations/Atlas.swift), its self-hosted faces (SIL OFL, licenses in /fonts), and
   the sky-chart rings behind the header. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap;
             src: url(/fonts/cormorant-garamond.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap;
             src: url(/fonts/cormorant-garamond-italic.woff2) format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap;
             src: url(/fonts/dm-mono-400.woff2) format('woff2'); }

:root { --void: #0A1430; --deep: #060C20; --glow: #13234A; --ink: #EDE3CC; --title: #F3E9D2;
        --dim: #A3ABC4; --gold: #D8B46A; --serif: 'Cormorant Garamond', Georgia, serif;
        --mono: 'DM Mono', ui-monospace, Menlo, monospace; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--deep); }
body {
  min-height: 100svh; padding: 56px 16px 72px;
  display: flex; justify-content: center;
  color: var(--dim); font-family: var(--serif); font-weight: 500;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 900' fill='none' stroke='%23D8B46A'%3E%3Ccircle cx='450' cy='450' r='440' stroke-opacity='.16'/%3E%3Ccircle cx='450' cy='450' r='422' stroke-opacity='.09' stroke-dasharray='3 4'/%3E%3Ccircle cx='450' cy='450' r='242' stroke-opacity='.06'/%3E%3Cpath d='M28 450H872M450 28V872' stroke-opacity='.05'/%3E%3C/svg%3E")
      50% -260px / 900px no-repeat,
    radial-gradient(circle at 50% 22%, var(--glow) 0, var(--void) 48%, var(--deep) 100%);
}
main { width: 100%; max-width: 34rem; display: flex; flex-direction: column; gap: 1.1rem; }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--title); }
a.home { align-self: flex-start; font-style: italic; font-weight: 600; font-size: 1.75rem;
         text-decoration: none; margin-bottom: 2.2rem; }

.kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
h1 { color: var(--title); font-weight: 600; font-size: clamp(2.6rem, 10vw, 3.3rem); line-height: 1.05; }
h1 em { color: var(--gold); }
hr { border: 0; height: 1px; margin: .4rem 0 .5rem;
     background: linear-gradient(90deg, rgba(216, 180, 106, .5), rgba(216, 180, 106, 0)); }
p { font-size: 1.3rem; line-height: 1.5; }
p strong { color: var(--ink); font-weight: 600; }
.stamp { font-family: var(--mono); font-size: .75rem; line-height: 1.8; letter-spacing: .04em; margin-top: .8rem; }

/* The 404: centered, one unlit star. */
body.lost { align-items: center; padding-top: 24px; background-position: 50% 50%, 0 0; }
body.lost main { align-items: center; text-align: center; }
body.lost svg { width: 56px; height: 56px; margin-bottom: .6rem; }
.back { font-family: var(--mono); font-size: .75rem; letter-spacing: .2em; text-decoration: none; margin-top: 1rem; }
