/* Santa Jam site. Direction A "Workshop at dusk": dusk purple, amber, cream (same palette as the game's mockups in
   puzzle-proto/meta-screens). Fraunces 600 (OFL, fonts/OFL.txt) for headings, the system sans for body text.
   No external requests, no scripts. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/fraunces-600.woff2') format('woff2');
}
:root {
  color-scheme: light;
  --night: #1f1338;
  --plum: #35215e;
  --plum2: #4a2f80;
  --dusk: #9a84d6;
  --lilac: #cdbff0;
  --amber: #ffb53d;
  --amber2: #f28a1d;
  --ivory: #fff4de;
  --ivory2: #f6e2bd;
  --ink: #2a1540;
  --ink2: #5e4a78;
  --link: #9a4708;
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--night);
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-text-size-adjust: 100%;
  background:
    radial-gradient(120% 60% at 50% 0%, var(--plum2) 0%, var(--plum) 45%, var(--night) 100%) no-repeat,
    var(--night);
}
a {
  color: var(--link);
  text-underline-offset: 2px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.2;
}

/* Legal and support pages: a cream sheet on the dusk background. */
.top {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.1rem 1.25rem 0.9rem;
  font-family: var(--display);
  font-size: 1.1rem;
}
.top a {
  color: var(--ivory);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.top img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.sheet {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  background: var(--ivory);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 0 var(--amber) inset, 0 10px 40px rgba(0, 0, 0, 0.35);
}
.sheet h1 {
  font-size: 2rem;
  margin: 0 0 0.25rem;
}
.sheet h2 {
  font-size: 1.3rem;
  margin: 2.25rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ivory2);
}
.sheet h3 {
  font-size: 1.08rem;
  margin: 1.5rem 0 0.25rem;
}
p,
ul {
  margin: 0.5rem 0 1rem;
}
ul {
  padding-left: 1.25rem;
}
li {
  margin: 0.2rem 0;
}
.meta {
  color: var(--ink2);
  margin-top: 0;
  font-size: 0.95rem;
}
.lead {
  font-size: 1.1rem;
  background: var(--ivory2);
  border-left: 4px solid var(--amber2);
  border-radius: 0 12px 12px 0;
  padding: 0.75rem 1rem;
}
.pages {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ivory2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.foot {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  color: var(--lilac);
  font-size: 0.9rem;
}
.foot a {
  color: var(--amber);
}

/* Landing page. */
.hero {
  max-width: 34rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2rem;
  text-align: center;
  color: var(--ivory);
}
.hero .icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 0 0 3px rgba(255, 181, 61, 0.55), 0 14px 40px rgba(0, 0, 0, 0.45);
}
.hero h1 {
  font-size: 2.9rem;
  margin: 1.25rem 0 0.25rem;
  color: var(--ivory);
}
.tag,
.hero .about,
.hero .facts {
  text-wrap: balance;
}
.nw {
  white-space: nowrap;
}
.tag {
  color: var(--amber);
  font-weight: 600;
  margin: 0 0 1.5rem;
}
.hero .about {
  font-size: 1.15rem;
  color: var(--ivory);
  margin: 0 0 0.75rem;
}
.hero .facts {
  color: var(--lilac);
  font-size: 0.98rem;
  margin: 0 0 2rem;
}
.store {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 14px;
  border: 2px dashed rgba(205, 191, 240, 0.55);
  color: var(--lilac);
  font-weight: 600;
  cursor: default;
  user-select: none;
}
.store small {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--dusk);
}
.hero nav {
  margin: 2.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.hero nav a {
  color: var(--ink);
  background: var(--ivory);
  text-decoration: none;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--amber2);
}
.hero nav a:hover,
.hero nav a:focus-visible {
  background: var(--amber);
}
.hero + .foot {
  text-align: center;
}

@media (min-width: 760px) {
  .sheet {
    padding: 2.75rem 3rem 3rem;
    border-radius: 22px;
  }
  .sheet h1 {
    font-size: 2.4rem;
  }
  .hero {
    padding-top: 5rem;
  }
  .hero h1 {
    font-size: 3.4rem;
  }
}
