/* signoid.slipperysign.com: the game's page and its privacy policy, in the same document style
   as SlipperySign Mail's policy (mail.slipperysign.com/privacy): Inter, ink on a pale page, a
   contents box, numbered sections. */

@font-face {
  font-family: "Inter Variable";
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --accent: #5b47d6;
  --accent-soft: #f3f1ff;
  --accent-border: #d6cffb;
  --ink: #16182d;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --page: #f6f7fb;
  --radius-lg: 12px;
  --nav-h: 62px;
  --font: "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { text-decoration: underline; }

/* The bar across the top. */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.brand small { color: var(--muted); font-weight: 500; letter-spacing: 0; font-size: .8125rem; }

.back {
  padding: .4rem .8rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.back:hover { color: var(--accent); border-color: var(--accent-border); text-decoration: none; }

/* A document: the policy. */
.doc { max-width: 780px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }

.doc-head { padding-bottom: 1.5rem; border-bottom: 2px solid var(--ink); margin-bottom: 2rem; }
.doc-head h1 { margin: 0 0 .5rem; color: var(--ink); font-size: 2rem; line-height: 1.2; letter-spacing: -.025em; }
.doc-head p { margin: 0; color: var(--muted); font-size: .8125rem; }
.doc-head strong { color: var(--ink); }

.lead {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  color: var(--ink);
}

.toc {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: #fafbfc;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.toc-title { margin-bottom: .6rem; color: var(--muted); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 1.4rem; columns: 2; column-gap: 2rem; font-size: .875rem; }
.toc li { margin-bottom: .2rem; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

.doc h2 { margin: 2.5rem 0 .75rem; color: var(--ink); font-size: 1.125rem; letter-spacing: -.01em; scroll-margin-top: 1rem; }
.doc address { font-style: normal; margin: .75rem 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .875rem; }
.doc th, .doc td { padding: .55rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { color: var(--ink); font-weight: 600; }

.doc-foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .875rem; }

/* The game's page. */
.hero { max-width: 1080px; margin: 0 auto; padding: 3.5rem 1.5rem 2rem; text-align: center; }
.hero img.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 12px 30px rgba(22, 24, 45, .18); }
.hero h1 { margin: 1.25rem 0 .25rem; color: var(--ink); font-size: 2.75rem; letter-spacing: -.03em; line-height: 1.1; }
.hero .tag { margin: 0; color: var(--accent); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero p.about { max-width: 600px; margin: 1.25rem auto 0; color: var(--text); font-size: 1.0625rem; }
.hero p.soon { margin: 1.25rem 0 0; color: var(--muted); font-size: .875rem; }
.shot { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem 3rem; }
.shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 12px 32px rgba(22, 24, 45, .14); }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.25rem;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8125rem;
}
.foot a { color: var(--muted); }

@media (max-width: 640px) {
  .doc { padding: 2.25rem 1rem 4rem; }
  .doc-head h1 { font-size: 1.625rem; }
  .toc ol { columns: 1; }
  .hero h1 { font-size: 2.125rem; }
  .brand small { display: none; }
}
