:root {
  --rw-grey: #dcdcdc;
  --ink: #000;
  --header-max: 1400px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

/* ------------------------------------------------------------------ */
/* Shared header, reconstructed from the supplied Squarespace capture. */
/* ------------------------------------------------------------------ */

.rw-header {
  height: 102px;
  background: #fff;
}

.rw-header-inner {
  width: min(var(--header-max), calc(100% - 40px));
  height: 102px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rw-logo-link {
  display: block;
  text-decoration: none;
  line-height: 0;
}

.rw-logo {
  width: 302px;
  height: 61px;
  object-fit: contain;
  object-position: left center;
}

.rw-nav {
  display: flex;
  align-items: center;
  gap: 42px;
}

.rw-nav a {
  color: #000;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
}

/* ---------------- */
/* Homepage capture */
/* ---------------- */

.home-main {
  min-height: calc(100vh - 102px);
  background: var(--rw-grey);
  overflow: hidden;
}

.home-hero {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 41px;
  display: grid;
  grid-template-columns: 640px 695px;
  column-gap: 65px;
  align-items: start;
}

.home-copy {
  padding-top: 61px;
}

.consequence-wordmark {
  display: block;
  width: 570px;
  height: auto;
}

.consequence-wordmark img {
  width: 570px;
  height: auto;
  max-width: none;
}

.home-copy h1 {
  margin: 20px 0 0;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -1.25px;
  font-weight: 400;
}

.home-copy p {
  margin: 39px 0 0;
  font-size: 17px;
  line-height: 23px;
  font-weight: 400;
}

.home-actions {
  display: grid;
  grid-template-columns: 284px 284px;
  gap: 66px;
  margin-top: 74px;
}

.pill-button {
  height: 70px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 140ms ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  background: #2c2c2c;
}

.home-art {
  width: 695px;
  line-height: 0;
}

.home-art img {
  width: 695px;
  height: auto;
  max-width: none;
}

/* --------------------------------------------------------------- */
/* Consequence detail page — matched to the supplied live capture. */
/* --------------------------------------------------------------- */

.detail-page { background: var(--rw-grey); color: #000; }

.consequence-top {
  background: var(--rw-grey);
  min-height: 870px;
  overflow: hidden;
}

.consequence-top-inner {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 640px 694px;
  column-gap: 66px;
  align-items: start;
  padding-top: 61px;
  padding-bottom: 50px;
}

.consequence-copy { min-width: 0; }

.detail-wordmark {
  width: 540px;
  height: auto;
  margin: 0 0 27px 0;
}

.detail-intro,
.detail-docs,
.detail-parts-label,
.detail-part p {
  margin: 0;
  font-size: 17px;
  line-height: 22px;
  font-weight: 400;
}

.detail-intro { margin-bottom: 18px; }
.detail-docs { margin-bottom: 18px; }
.detail-docs a, .detail-part h2 a { color: #0078ef; text-decoration: underline; }
.detail-parts-label { margin-bottom: 18px; }
.detail-part { margin: 0 0 17px; }
.detail-part h2 { margin: 0 0 14px; font-size: 17px; line-height: 22px; font-weight: 700; }
.detail-part p { margin: 0; }

.consequence-editor { padding-top: 77px; line-height: 0; }
.consequence-editor img { width: 694px; height: auto; max-width: none; }

/* Lower Consequence section, matched to the supplied live-site capture. */
.story {
  background: #fff;
  color: #000;
  padding: 30px 0 96px;
  text-align: center;
}

.story-copy {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
}

.story h2 {
  margin: 0;
  font-size: 68px;
  line-height: 1.05;
  letter-spacing: -1.6px;
  font-weight: 400;
}

.story-copy p {
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 22px;
  font-weight: 400;
}

.story-copy p + p {
  margin-top: 17px;
}

.story-video {
  position: relative;
  width: min(1165px, calc(100% - 48px));
  aspect-ratio: 16 / 9;
  margin: 74px auto 0;
  background: #eee;
  overflow: hidden;
}

.story-video-poster {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.story-video-poster img,
.story-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.story-actions {
  display: flex;
  justify-content: center;
  margin-top: 54px;
}

.story-signup {
  width: 284px;
}

.detail-footer {
  width: min(1400px, calc(100% - 40px));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(23,23,23,.16);
  font-size: 13px;
  color: #5b5b5b;
}
.detail-footer a { color: inherit; }

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

@media (max-width: 1460px) {
  .rw-header-inner,
  .home-hero {
    width: calc(100% - 64px);
  }

  .home-hero {
    grid-template-columns: minmax(0, 640px) minmax(0, 695px);
    column-gap: clamp(30px, 4vw, 65px);
  }
}

@media (max-width: 1450px) {
  .consequence-top-inner {
    width: calc(100% - 64px);
    grid-template-columns: minmax(0, 640px) minmax(0, 694px);
    column-gap: clamp(28px, 4vw, 66px);
  }
}

@media (max-width: 1200px) {
  .consequence-top-inner {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    column-gap: 36px;
  }
  .consequence-editor img { width: 100%; }
  .wide-only { display: none; }
  .home-hero {
    grid-template-columns: 46% 54%;
    column-gap: 0;
  }

  .home-copy {
    padding-right: 35px;
  }

  .consequence-wordmark,
  .consequence-wordmark img {
    width: min(570px, 100%);
  }

  .home-copy h1 {
    font-size: clamp(31px, 3.3vw, 40px);
  }

  .home-copy p {
    font-size: 16px;
  }

  .desktop-break { display: none; }

  .home-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }

  .home-art,
  .home-art img {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .rw-header {
    height: auto;
  }

  .rw-header-inner {
    min-height: 90px;
    height: auto;
    padding: 14px 0;
  }

  .rw-logo { width: 230px; height: auto; }

  .rw-nav { gap: 18px; }

  .home-main { min-height: 0; }

  .home-hero {
    width: calc(100% - 44px);
    padding: 44px 0 70px;
    display: flex;
    flex-direction: column;
  }

  .home-copy {
    width: 100%;
    padding: 0;
  }

  .consequence-wordmark,
  .consequence-wordmark img {
    width: min(570px, 100%);
  }

  .home-copy h1 {
    margin-top: 22px;
    font-size: clamp(34px, 8vw, 48px);
  }

  .home-copy p {
    max-width: 600px;
  }

  .home-actions {
    width: 100%;
    max-width: 600px;
    margin-top: 48px;
  }

  .home-art {
    width: 100%;
    margin-top: 60px;
  }

  .home-art img {
    width: min(695px, 100%);
  }

  .detail-wrap,
  .detail-footer { width: calc(100% - 44px); }

  .consequence-top-inner {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .consequence-editor { padding-top: 40px; }
  .consequence-editor img { width: min(694px, 100%); }
  .detail-wordmark { width: min(540px, 100%); }
  .wide-only { display: none; }
  .story h2 { font-size: clamp(42px, 8vw, 58px); }
  .story-wide-only { display: none; }
}

@media (max-width: 600px) {
  .rw-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .rw-nav {
    width: 100%;
    justify-content: space-between;
  }

  .home-actions {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pill-button {
    width: 100%;
  }
}

/* ------------------------------ */
/* Games + Contact simple pages.  */
/* ------------------------------ */

.rw-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.simple-page {
  background: var(--rw-grey);
  color: #000;
}

.simple-main {
  min-height: calc(100vh - 102px);
  background: var(--rw-grey);
}

.simple-content {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 78px;
  font-size: 17px;
  line-height: 22px;
}

.simple-content p {
  margin: 0 0 18px;
}

.simple-link {
  color: #0078ef;
  text-decoration: underline;
}

.games-content {
  padding-top: 92px;
}

.contact-content h1 {
  margin: 0 0 36px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -1.25px;
  font-weight: 400;
}

.contact-content > p {
  margin-bottom: 20px;
}

.contact-address {
  width: auto;
  height: auto;
  max-width: 100%;
}

@media (max-width: 1460px) {
  .simple-content {
    width: calc(100% - 64px);
  }
}

@media (max-width: 820px) {
  .simple-main {
    min-height: 0;
  }

  .simple-content {
    width: calc(100% - 44px);
    padding-top: 48px;
    padding-bottom: 70px;
  }

  .games-content {
    padding-top: 56px;
  }
}

