/* Canada Play Haven terms: a calm reading surface framed by the seeded indigo shell. */
body[data-helper-page] {
  min-height: 100vh;
  color: #211a31;
  background: #f6f3fb;
  font-family: Inter, Helvetica, Arial, sans-serif;
}

body[data-helper-page] > header {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  background-color: #17115f;
}

body[data-helper-page] > main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 92px) 0 clamp(64px, 8vw, 110px);
}

body[data-helper-page] > main section {
  min-width: 0;
  border-radius: 24px;
}

body[data-helper-page] .terms-intro {
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid #e8ddf7;
  background: #fff;
  box-shadow: 0 18px 60px rgba(38, 20, 78, .08);
}

body[data-helper-page] .terms-kicker,
body[data-helper-page] .terms-eyebrow,
body[data-helper-page] .terms-number {
  margin: 0;
  color: #7044a0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}

body[data-helper-page] .terms-intro h1 {
  margin: 12px 0 18px;
  color: #24135f;
  font-family: Poppins, Inter, Helvetica, Arial, sans-serif;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.03;
}

body[data-helper-page] .terms-lede {
  max-width: 760px;
  margin: 0;
  color: #494157;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

body[data-helper-page] .terms-updated {
  display: inline-flex;
  margin: 26px 0 0;
  padding: 9px 13px;
  border-radius: 999px;
  background: #f1eafd;
  color: #512782;
  font-size: 13px;
  font-weight: 700;
}

body[data-helper-page] .terms-summary {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #d9c6f0;
  background: #eee5fb;
}

body[data-helper-page] .terms-summary > .terms-reveal {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
}

body[data-helper-page] .terms-summary-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: #4d287a;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

body[data-helper-page] .terms-summary h2,
body[data-helper-page] .terms-article h2 {
  margin: 6px 0 14px;
  color: #26155d;
  font-family: Poppins, Inter, Helvetica, Arial, sans-serif;
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
}

body[data-helper-page] .terms-summary p:not(.terms-eyebrow),
body[data-helper-page] .terms-article p:not(.terms-number):not(.terms-eyebrow) {
  max-width: 780px;
  margin: 0;
  color: #4b4556;
  font-size: 16px;
  line-height: 1.75;
}

body[data-helper-page] .terms-article {
  padding: clamp(28px, 5vw, 52px) clamp(26px, 5.5vw, 68px);
  border: 1px solid #e9e3f1;
  background: #fff;
}

body[data-helper-page] .terms-article--tint {
  background: #fbf9fe;
}

body[data-helper-page] .terms-article p + p {
  margin-top: 12px !important;
}

body[data-helper-page] .terms-article .terms-number {
  margin-bottom: 7px;
}

body[data-helper-page] .terms-article a {
  color: #5b2a91;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body[data-helper-page] .terms-article a:hover,
body[data-helper-page] .terms-article a:focus-visible {
  color: #2f155a;
  text-decoration-thickness: 2px;
}

body[data-helper-page] .terms-article--closing {
  border-color: #322078;
  background: #221663;
}

body[data-helper-page] .terms-article--closing h2,
body[data-helper-page] .terms-article--closing p:not(.terms-number):not(.terms-eyebrow) {
  color: #fff;
}

body[data-helper-page] .terms-article--closing .terms-number,
body[data-helper-page] .terms-article--closing .terms-eyebrow {
  color: #d5b6ff;
}

body[data-helper-page] .terms-article--closing a {
  color: #f0ddff;
}

body[data-helper-page] .terms-policy-note {
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 16px;
  background: #302477;
}

body[data-helper-page] .terms-policy-note p + p {
  margin-top: 4px !important;
}

body[data-helper-page] .terms-reveal.is-pending {
  opacity: .01;
  transform: translateY(14px);
}

body[data-helper-page] .terms-reveal.is-settled {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .42s ease, transform .42s ease;
}

body[data-helper-page] .terms-pixel-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 640px) {
  body[data-helper-page] > main {
    width: min(100% - 32px, 1080px);
    gap: 14px;
    padding-top: 32px;
  }

  body[data-helper-page] > main section {
    border-radius: 18px;
  }

  body[data-helper-page] .terms-summary > .terms-reveal {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  body[data-helper-page] .terms-intro h1 {
    font-size: clamp(40px, 11vw, 60px);
  }

  body[data-helper-page] .terms-lede,
  body[data-helper-page] .terms-summary p:not(.terms-eyebrow),
  body[data-helper-page] .terms-article p:not(.terms-number):not(.terms-eyebrow) {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-helper-page] .terms-reveal,
  body[data-helper-page] .terms-reveal.is-pending,
  body[data-helper-page] .terms-reveal.is-settled {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
