/* signoid.slipperysign.com, the game's page (2026-11-02, after the launch): dark like the game's own
   menus, near-black with the faintest violet and gold hairlines, the trailer playing behind the name.
   Support and Privacy keep the document style of site.css. */

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

:root {
  --bg: #09080e;
  --panel: #110f19;
  --line: rgba(255, 255, 255, .1);
  --gold: #ffc75c;
  --gold-line: rgba(255, 199, 92, .45);
  --white: #f6f4ef;
  --text: rgba(246, 244, 239, .8);
  --dim: rgba(246, 244, 239, .56);
  --gutter: clamp(16px, 5vw, 64px);
  --font: "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { display: block; max-width: 100%; }

/* Over the film: the name of the game and the way to support. */
.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { color: var(--white); opacity: .85; }

/* The film. */
.film {
  position: relative;
  min-height: min(94svh, 1000px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  /* The trailer's own score and lives sit in its corners: a little closer, and they fall outside. */
  transform: scale(1.2);
}
/* A scrim, so the words read over the machine (the game's own title had the same trouble and puts
   its words on a dark panel): dark at the top for the bar, clear through the upper film, and dark
   well before the words begin. */
.film::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom,
    rgba(9, 8, 14, .8) 0%, rgba(9, 8, 14, .25) 12%, rgba(9, 8, 14, 0) 22%, rgba(9, 8, 14, .08) 30%,
    rgba(9, 8, 14, .74) 50%, rgba(9, 8, 14, .93) 72%, var(--bg) 100%);
}
.film-words {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 9vh, 96px);
  text-align: center;
}
.film h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(44px, 9vw, 116px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: .3em;
  /* The tracking hangs after the last letter: pull it back so the word sits in the middle. */
  margin-right: -.3em;
}
.film .tag { margin: 18px 0 0; color: var(--gold); font-size: clamp(20px, 2.4vw, 28px); font-weight: 300; }
.film .about { max-width: 620px; margin: 18px auto 0; font-size: clamp(17px, 1.6vw, 19px); }

.get { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
/* Apple's own badge (toolbox.marketingtools.apple.com), unmodified: the preferred black one with its gray
   border, at least 40 points tall, a quarter of its height clear around it. */
.badge { display: inline-block; padding: 2px; border-radius: 10px; }
.badge img { height: 54px; width: auto; }
.badge:hover { opacity: .88; }
.get small { color: var(--dim); font-size: 15px; }

/* The sections. */
.band { padding: clamp(64px, 11vw, 140px) var(--gutter); }
.wrap { max-width: 1180px; margin: 0 auto; }
.band h2 {
  margin: 0;
  max-width: 900px;
  color: var(--white);
  font-size: clamp(32px, 4.8vw, 60px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.band .lede { max-width: 720px; margin: 24px 0 0; font-size: clamp(17px, 1.6vw, 20px); }

/* Four rooms. */
.rooms { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.rooms figure { margin: 0; }
.rooms img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.rooms figcaption { margin-top: 12px; color: var(--dim); font-size: 15px; }
.rooms figcaption strong { color: var(--white); font-weight: 550; }

/* What makes it. */
.points { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--gold-line); }
.points div { padding: 28px 28px 8px 0; }
.points h3 { margin: 0 0 8px; color: var(--white); font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.points p { margin: 0; font-size: 16px; }

/* Twenty worlds. */
.worlds { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.worlds img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--gold-line); }
.names { margin: 32px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; color: var(--white); font-size: 17px; }
.names li { padding: 6px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

/* Free to start. */
.offer {
  border: 1px solid var(--gold-line);
  border-radius: 22px;
  background: var(--panel);
  padding: clamp(32px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 72px);
}
.offer p { margin: 18px 0 0; }
.offer .get { align-items: flex-start; margin-top: 30px; }
.offer aside { border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 48px); }
.offer aside h3 { margin: 0; color: var(--white); font-size: 22px; font-weight: 400; }
.offer aside p { font-size: 16px; }

.needs { color: var(--dim); font-size: 16px; text-align: center; padding-top: 0; }
.needs strong { color: var(--white); font-weight: 500; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding: 28px var(--gutter) 44px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}
.foot a { color: var(--dim); }

@media (max-width: 900px) {
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .worlds, .offer { grid-template-columns: minmax(0, 1fr); }
  .offer aside { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
}

/* A phone: the bar above the film, the film whole and unobscured, the words under it on the page. */
@media (max-width: 640px) {
  .rooms, .points { grid-template-columns: minmax(0, 1fr); }
  .points div { padding-right: 0; }
  .top { position: static; padding: 14px var(--gutter); }
  .top nav { gap: 16px; }
  .film { display: block; min-height: 0; }
  .film video { position: relative; inset: auto; height: 62svh; z-index: 0; transform: scale(1.12); transform-origin: 50% 45%; }
  .film { overflow: hidden; }
  .film::after { inset: auto 0 0 0; height: 62svh; top: 0; background: linear-gradient(to bottom, rgba(9, 8, 14, 0) 70%, var(--bg) 100%); z-index: 1; }
  .film-words { position: relative; z-index: 2; margin-top: -40px; padding-bottom: 56px; }
  .film h1 { letter-spacing: .22em; margin-right: -.22em; }
}

