/*
 * Mashup Launcher website. Nightfall, like the app: cinematic dark, frosted glass, condensed
 * display type, one warm amber accent (only for the main action, the × and focus).
 * Fonts are open-licensed (SIL OFL 1.1) and served from this site: assets/fonts/licences.
 */

@font-face {
  font-family: 'ML Anton';
  src: url('fonts/anton-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'ML Silkscreen';
  src: url('fonts/silkscreen-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: 'ML Cinzel';
  src: url('fonts/cinzel-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: 'ML Cinzel';
  src: url('fonts/cinzel-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-display: block;
}
@font-face {
  font-family: 'ML Orbitron';
  src: url('fonts/orbitron-latin-900-normal.woff2') format('woff2');
  font-weight: 900;
  font-display: block;
}

:root {
  --night: #0c1322;
  --deep: #131c30;
  --raised: #18233a;
  --frost: #eef2f8;
  --cloud: #d3dbe7;
  --mist: #a6b3c7;
  --haze: #8794aa;
  --ember: #f2b35b;
  --ember-soft: #f7c983;
  --ember-ink: #2a1a06;
  --line: rgb(220 230 245 / 0.12);
  --glass: rgb(19 28 48 / 0.62);
  --glass-strong: rgb(19 28 48 / 0.86);

  --font-display: 'ML Anton', 'Bahnschrift SemiCondensed', 'Arial Narrow', sans-serif;
  --font-ui: 'Bahnschrift SemiCondensed', 'Bahnschrift', 'Segoe UI', system-ui, sans-serif;
  --font-sans:
    'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Roboto, Arial,
    sans-serif;

  --ease-enter: cubic-bezier(0.1, 0.9, 0.2, 1);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(18px, 4vw, 56px);
  --max: 1180px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--cloud);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* The page-wide backdrop: two soft fields of colour, film grain and a vignette. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 50vw at 12% -8%, rgb(79 138 60 / 0.2), transparent 70%),
    radial-gradient(55vw 45vw at 92% 8%, rgb(160 122 60 / 0.2), transparent 70%),
    radial-gradient(70vw 60vw at 50% 110%, rgb(61 47 126 / 0.18), transparent 70%),
    linear-gradient(170deg, #111a2e 0%, var(--night) 45%, #090e1a 100%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--frost);
  text-decoration: underline;
  text-decoration-color: rgb(238 242 248 / 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms;
}
a:hover {
  text-decoration-color: rgb(238 242 248 / 0.8);
}
:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--frost);
  color: var(--night);
}
.skip:focus {
  left: 8px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------------------------------------ */
/* Header                                                                                     */
/* ------------------------------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(12 19 34 / 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: inset 0 -1px 0 var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--frost);
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(160deg, #1d2a45, #0c1322);
  box-shadow: inset 0 0 0 1px rgb(238 242 248 / 0.16);
  color: var(--ember);
}
.brand-mark svg {
  width: 14px;
  height: 14px;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--mist);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition:
    color 150ms,
    background-color 150ms;
}
.nav a:hover {
  color: var(--frost);
  background: rgb(238 242 248 / 0.06);
}

/* ------------------------------------------------------------------------------------------ */
/* Buttons                                                                                    */
/* ------------------------------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 150ms var(--ease-out-soft),
    background-color 150ms,
    box-shadow 150ms;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-primary {
  background: var(--ember);
  color: var(--ember-ink);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.35) inset,
    0 10px 30px -12px rgb(242 179 91 / 0.55);
}
.btn-primary:hover {
  background: var(--ember-soft);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--frost);
  background: rgb(238 242 248 / 0.04);
  box-shadow: inset 0 0 0 1px rgb(238 242 248 / 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgb(238 242 248 / 0.09);
}
.btn-small {
  height: 38px;
  padding: 0 16px;
  font-size: 15px;
  border-radius: 8px;
}

/* ------------------------------------------------------------------------------------------ */
/* Hero                                                                                       */
/* ------------------------------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow-x: clip;
  padding: clamp(48px, 9vh, 104px) 0 clamp(56px, 9vh, 96px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--cloud);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--haze);
}
.eyebrow .beta {
  color: var(--ember-soft);
}
.hero h1 {
  margin: 0;
  color: var(--frost);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 7.4vw, 104px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero h1 .x {
  color: var(--ember);
}
.lead {
  max-width: 34em;
  margin: 24px 0 0;
  color: var(--cloud);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.offer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--cloud);
  font-size: 15px;
}
.offer li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.offer strong {
  color: var(--frost);
  font-family: var(--font-ui);
  font-weight: 700;
}
.fine {
  margin: 14px 0 0;
  color: var(--haze);
  font-size: 13.5px;
}

/* The featured mashup on the right, with a rail of others under it (like the app's library). */
.stage {
  position: relative;
  display: grid;
  gap: 14px;
}
.stage::before {
  content: '';
  position: absolute;
  inset: -12% -10% -6%;
  z-index: -1;
  background:
    radial-gradient(50% 55% at 30% 40%, rgb(79 138 60 / 0.22), transparent 70%),
    radial-gradient(45% 50% at 75% 60%, rgb(160 122 60 / 0.24), transparent 70%);
  filter: blur(20px);
}
.stage .frame {
  position: relative;
  overflow: hidden;
  animation: rise 900ms var(--ease-enter) both;
}
.frame-main {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.3),
    0 40px 80px -30px rgb(0 0 0 / 0.8),
    inset 0 0 0 1px rgb(238 242 248 / 0.12);
  animation-delay: 80ms;
}
.rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.rail .frame {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  box-shadow:
    0 10px 24px -14px rgb(0 0 0 / 0.7),
    inset 0 0 0 1px rgb(238 242 248 / 0.1);
  opacity: 0.78;
}
.rail .frame:nth-child(1) {
  opacity: 1;
  box-shadow:
    0 10px 24px -14px rgb(0 0 0 / 0.7),
    0 0 0 2px rgb(238 242 248 / 0.75);
  animation-delay: 220ms;
}
.rail .frame:nth-child(2) {
  animation-delay: 280ms;
}
.rail .frame:nth-child(3) {
  animation-delay: 340ms;
}
.rail .frame:nth-child(4) {
  animation-delay: 400ms;
}
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 24px;
  }
  to {
    translate: 0 0;
  }
}
/* The featured card's frosted Play button (decorative: the real one is in the app). */
.play-chip {
  position: absolute;
  right: 5cqw;
  bottom: 9cqh;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.62em 1.15em 0.62em 0.95em;
  border-radius: 10px;
  background: rgb(12 19 34 / 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgb(238 242 248 / 0.28);
  color: var(--frost);
  font-family: var(--font-ui);
  font-size: clamp(11px, 2.6cqw, 16px);
  font-weight: 700;
}
/* The featured card's names leave room for its Play button. */
.frame-main .tc-row-b .tn {
  font-size: min(calc(var(--host, 20cqw) * 0.84), 56cqh);
}
.play-chip svg {
  width: 0.95em;
  height: 0.95em;
}

/* A frosted "playing" pill over the main card, like the app's. */
.pill {
  position: absolute;
  top: 5.5cqh;
  right: 4cqw;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  background: rgb(12 19 34 / 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgb(238 242 248 / 0.18);
  color: var(--frost);
  font-family: var(--font-ui);
  font-size: clamp(11px, 2.4cqw, 14px);
  font-weight: 600;
}
.pill .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4fe08a;
  box-shadow: 0 0 0 3px rgb(79 224 138 / 0.2);
}

/* ------------------------------------------------------------------------------------------ */
/* Title cards (the app's idea: each game's name in lettering that evokes it; no logos, no    */
/* publisher art)                                                                             */
/* ------------------------------------------------------------------------------------------ */

.tc {
  container-type: size;
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 50% 0%, rgb(36 52 86 / 0.55), transparent 60%),
    linear-gradient(165deg, #121b30 0%, #0c1322 55%, #090e1a 100%);
}
.tc::before,
.tc::after {
  content: '';
  position: absolute;
  width: 95cqw;
  height: 95cqw;
  border-radius: 50%;
  filter: blur(6cqw);
  opacity: 0.7;
  z-index: -1;
}
.tc::before {
  left: -38cqw;
  top: -52cqw;
  background: radial-gradient(circle, var(--tint-a) 0%, transparent 65%);
  animation: drift-a 14s ease-in-out infinite alternate;
}
.tc::after {
  right: -36cqw;
  bottom: -54cqw;
  background: radial-gradient(circle, var(--tint-b) 0%, transparent 65%);
  animation: drift-b 17s ease-in-out infinite alternate;
}
@keyframes drift-a {
  to {
    transform: translate3d(9cqw, 5cqw, 0);
  }
}
@keyframes drift-b {
  to {
    transform: translate3d(-8cqw, -6cqw, 0);
  }
}
.tc-seam {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    112deg,
    transparent 41%,
    rgb(238 242 248 / 0.035) 47%,
    rgb(238 242 248 / 0.07) 50%,
    rgb(238 242 248 / 0.035) 53%,
    transparent 59%
  );
}
.tc-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 100% at 50% 50%, transparent 45%, rgb(5 8 15 / 0.6) 100%);
}
.tc-lockup {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 8cqh 7cqw 9cqh;
}
.tc-row-a {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  margin-bottom: 3.2cqh;
}
.tc-x {
  color: var(--ember);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 7cqw;
  line-height: 1;
  text-shadow: 0 0 0.6em rgb(242 179 91 / 0.35);
}
.tn {
  display: block;
  line-height: 1;
  white-space: nowrap;
  font-kerning: normal;
  font-synthesis: none;
}
/* The guest game (small, top row). */
.tc-row-a .tn {
  font-size: 6.6cqw;
}
/* The host game (big): each card sets --host to fit its name. */
.tc-row-b .tn {
  font-size: min(var(--host, 20cqw), 56cqh);
}

.tn-minecraft {
  font-family: 'ML Silkscreen', Consolas, monospace;
  letter-spacing: 0.02em;
  color: #eef1f5;
  text-shadow:
    0 0.07em 0 #5d6474,
    0 0.14em 0 #353b4a,
    0 0.2em 0.12em rgb(0 0 0 / 0.55);
  text-transform: uppercase;
}
.tn-gta {
  font-family: 'ML Anton', var(--font-display);
  letter-spacing: 0.01em;
  color: #f6f3ec;
  transform: skewX(-9deg);
  -webkit-text-stroke: 0.09em #04060a;
  paint-order: stroke fill;
  text-shadow: 0.05em 0.06em 0 #04060a;
  text-transform: uppercase;
}
.tn-elden {
  font-family: 'ML Cinzel', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
  color: #efe7d6;
  text-shadow:
    0 0 0.5em rgb(176 138 69 / 0.45),
    0 0.03em 0 rgb(0 0 0 / 0.6);
  text-transform: uppercase;
}
.tn-skyrim {
  font-family: 'ML Cinzel', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-right: -0.12em;
  color: #eef3f9;
  text-shadow:
    0 0 0.5em rgb(127 151 184 / 0.45),
    0 0.03em 0 rgb(0 0 0 / 0.6);
  text-transform: uppercase;
}
.tn-valheim {
  font-family: 'ML Cinzel', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-right: -0.08em;
  color: #ece4d2;
  text-shadow:
    0.05em 0.05em 0 #2a3a33,
    0 0.12em 0.3em rgb(0 0 0 / 0.45);
  text-transform: uppercase;
}
.tn-cyberpunk {
  font-family: 'ML Orbitron', var(--font-display);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #f2f4fa;
  transform: skewX(-8deg);
  text-shadow:
    -0.035em 0 0 rgb(41 227 255 / 0.75),
    0.035em 0 0 rgb(255 58 140 / 0.6),
    0 0.1em 0.3em rgb(0 0 0 / 0.5);
  text-transform: uppercase;
}
.tn-fallout {
  font-family: 'ML Anton', var(--font-display);
  letter-spacing: 0.12em;
  margin-right: -0.12em;
  color: #f1e6cf;
  text-shadow:
    0.05em 0.05em 0 #3a2a18,
    0 0.12em 0.3em rgb(0 0 0 / 0.45);
  text-transform: uppercase;
}
.tn-ultrakill {
  font-family: 'ML Anton', var(--font-display);
  letter-spacing: 0.02em;
  color: #f6f1ee;
  transform: skewX(-12deg);
  text-shadow:
    0.05em 0.05em 0 #8f1218,
    0 0.12em 0.3em rgb(0 0 0 / 0.45);
  text-transform: uppercase;
}

/* Each pair: the two colour fields (guest, host) and the host name's size to fit the card. */
.tc {
  --tint-a: #4f8a3c;
  --tint-b: #4f5f8a;
}
.pair-gta {
  --tint-b: #c0567e;
  --host: 20cqw;
}
.pair-elden {
  --tint-b: #a07a3c;
  --host: 8.6cqw;
}
.pair-skyrim {
  --tint-b: #4d6488;
  --host: 15cqw;
}
.pair-cyberpunk {
  --tint-b: #7a1f6a;
  --host: 10cqw;
}
.pair-fallout {
  --tint-b: #b8875a;
  --host: 15cqw;
}
.pair-valheim {
  --tint-b: #4d6d68;
  --host: 12.4cqw;
}
.pair-ultrakill {
  --tint-b: #7a1c22;
  --host: 18cqw;
}

/* ------------------------------------------------------------------------------------------ */
/* Sections                                                                                   */
/* ------------------------------------------------------------------------------------------ */

section {
  scroll-margin-top: 80px;
}
.section {
  padding: clamp(56px, 9vh, 112px) 0;
}
.section-tight {
  padding-top: 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vh, 44px);
}
.kicker {
  margin: 0 0 10px;
  color: var(--ember-soft);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h2 {
  margin: 0;
  color: var(--frost);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-head p {
  margin: 16px 0 0;
  color: var(--mist);
  font-size: 17px;
}
h3 {
  margin: 0;
  color: var(--frost);
  font-family: var(--font-ui);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.glass {
  border-radius: 14px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 20px 50px -30px rgb(0 0 0 / 0.7);
}

/* The library strip. */
.shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tile {
  margin: 0;
}
.tile .frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.3),
    0 14px 36px -16px rgb(0 0 0 / 0.65),
    inset 0 0 0 1px rgb(238 242 248 / 0.1);
  transition:
    transform 200ms var(--ease-out-soft),
    box-shadow 200ms;
}
.tile:hover .frame {
  transform: translateY(-3px);
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.3),
    0 22px 44px -16px rgb(0 0 0 / 0.7),
    inset 0 0 0 1px rgb(238 242 248 / 0.16);
}
.tile figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 14.5px;
}
.tile figcaption b {
  color: var(--frost);
  font-family: var(--font-ui);
  font-size: 16px;
}
.tile figcaption span {
  color: var(--haze);
  text-align: right;
}
.shelf-note {
  margin: 26px 0 0;
  color: var(--mist);
  font-size: 15px;
}

/* How it works. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 28px 26px 26px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--ember);
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
}
.steps p {
  margin: 10px 0 0;
  color: var(--cloud);
  font-size: 15.5px;
}
.promise {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--mist);
  font-size: 14.5px;
}
.promise li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.promise svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--frost);
  opacity: 0.8;
}

/* Pricing. */
.plans {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
}
.plan-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.plan .label {
  color: var(--mist);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-full .label {
  color: var(--ember-soft);
}
.price {
  margin: 10px 0 2px;
  color: var(--frost);
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
}
.price small {
  margin-left: 6px;
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 16px;
}
.plan .terms-line {
  margin: 0;
  color: var(--haze);
  font-size: 14px;
}
.plan ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--cloud);
  font-size: 15.5px;
}
.plan li {
  display: flex;
  gap: 10px;
}
.plan li svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--mist);
}
.plan-full {
  background: rgb(24 35 58 / 0.72);
  box-shadow:
    inset 0 0 0 1px rgb(242 179 91 / 0.45),
    0 20px 50px -30px rgb(0 0 0 / 0.7);
}
.plan-full li svg {
  color: var(--ember);
}
.plan .mini {
  position: relative;
  aspect-ratio: 16 / 7;
  margin-top: 22px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgb(238 242 248 / 0.1);
}
.plan .mini .tc-lockup {
  padding: 7cqh 6cqw 10cqh;
}
.plan-foot {
  margin-top: auto;
  padding-top: 22px;
  color: var(--mist);
  font-size: 14px;
}
.plan-foot a {
  color: var(--cloud);
}
.plans-note {
  margin: 22px 0 0;
  color: var(--mist);
  font-size: 15px;
}

/* A few more title cards in the full-library plan. */
.mini-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}
.mini-row .frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgb(238 242 248 / 0.1);
}

/* Creators. */
.creators {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
}
.creators .glass {
  padding: 30px;
}
.creators .quote {
  margin: 0;
  color: var(--frost);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  text-transform: uppercase;
}
.quote .x {
  color: var(--ember);
}
.creators p {
  margin: 14px 0 0;
  color: var(--cloud);
  font-size: 15.5px;
}
.creators .aside {
  color: var(--haze);
  font-size: 14px;
}
.creators h3 + p {
  margin-top: 10px;
}

/* Questions. */
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}
.faq details {
  padding: 0;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--frost);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--mist);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 200ms var(--ease-out-soft);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--cloud);
  font-size: 15.5px;
}

/* Closing call to action. */
.closing {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}
.closing h2 {
  font-size: clamp(36px, 5vw, 64px);
}
.closing p {
  margin: 14px auto 0;
  max-width: 36em;
  color: var(--cloud);
}
.closing .cta {
  justify-content: center;
}

/* ------------------------------------------------------------------------------------------ */
/* Footer (every page): links and the notices                                                 */
/* ------------------------------------------------------------------------------------------ */

.site-footer {
  margin-top: clamp(40px, 8vh, 96px);
  padding: 44px 0 56px;
  box-shadow: inset 0 1px 0 var(--line);
  background: rgb(9 14 26 / 0.6);
  color: var(--haze);
  font-size: 13.5px;
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-links a {
  color: var(--cloud);
  text-decoration: none;
  font-size: 14.5px;
}
.foot-links a:hover {
  color: var(--frost);
  text-decoration: underline;
}
.notices {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  max-width: 920px;
}
.notices p {
  margin: 0;
}
.notices .mojang {
  color: var(--mist);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------------------------------------ */
/* Legal pages                                                                                */
/* ------------------------------------------------------------------------------------------ */

.doc {
  padding: clamp(36px, 7vh, 72px) 0 0;
}
.doc-head {
  max-width: 820px;
  margin: 0 auto 28px;
}
.doc-head h1 {
  margin: 0;
  color: var(--frost);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  text-transform: uppercase;
}
.doc-head .meta {
  margin: 14px 0 0;
  color: var(--haze);
  font-size: 14px;
}
.doc-body {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px);
}
.doc-body .summary {
  margin: 0 0 30px;
  padding: 20px 22px;
  border-radius: 10px;
  background: rgb(12 19 34 / 0.6);
  box-shadow: inset 0 0 0 1px var(--line);
}
.doc-body .summary h2 {
  margin: 0 0 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ember-soft);
}
.doc-body .summary ul {
  margin: 0;
}
.doc-body h2 {
  margin: 38px 0 12px;
  font-family: var(--font-ui);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}
.doc-body h2:first-child {
  margin-top: 0;
}
.doc-body h3 {
  margin: 24px 0 8px;
  font-size: 17px;
}
.doc-body p,
.doc-body li {
  color: var(--cloud);
  font-size: 16px;
}
.doc-body ul,
.doc-body ol {
  padding-left: 1.3em;
}
.doc-body li + li {
  margin-top: 6px;
}
.doc-body .caps {
  color: var(--frost);
  font-size: 14.5px;
  letter-spacing: 0.01em;
}
.doc-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
}
.doc-body th,
.doc-body td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--cloud);
}
.doc-body th {
  color: var(--frost);
  font-family: var(--font-ui);
}
.table-scroll {
  overflow-x: auto;
}

/* Things the founder hasn't filled in yet stay hidden (assets/site.js, config.js). */
[hidden] {
  display: none !important;
}

/* ------------------------------------------------------------------------------------------ */
/* Responsive                                                                                 */
/* ------------------------------------------------------------------------------------------ */

@media (max-width: 980px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .stage {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }
  .shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .promise {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plans,
  .creators,
  .faq {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .nav a:not(.keep) {
    display: none;
  }
  .site-header .wrap {
    gap: 12px;
  }
  .nav {
    gap: 0;
  }
}
@media (max-width: 560px) {
  .rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rail .frame:nth-child(4) {
    display: none;
  }
  .shelf {
    grid-template-columns: 1fr;
  }
  .promise {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .site-header .btn {
    width: auto;
  }
  .brand-name {
    display: none;
  }
  .price small {
    display: block;
    margin: 8px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.doc-body .flush {
  margin: 0;
}
.doc-body .flush-next {
  margin: 6px 0 0;
}
.doc-head .cta {
  margin-top: 24px;
}
