:root {
  --chroma-text-page-canvas: #eee;
  --chroma-sign-off-canvas: #f8fafc;
  --chroma-sign-off-contour: #d9e2ee;
  --chroma-sign-off-paragraph: #34281c;
  --chroma-sign-off-command-button: #2f7ed8;
  --chroma-sign-off-command-button-tail: #1f66bd;
  --chroma-sign-off-opt-in: #0f7ae5;
  --chroma-sign-off-good: #2f9e44;
  --chroma-sign-off-good-paragraph: #23753a;
  --chroma-sign-off-good-canvas: rgba(47, 158, 68, 0.1);
  --chroma-sign-off-good-contour: rgba(47, 158, 68, 0.18);
  --chroma-sign-off-good-thumb: rgba(47, 158, 68, 0.14);
}

.text-page {
  padding: 18px 0 43px;
}

.text-page--personal-info,
.text-page--terms-of-use {
  padding: 10px 0 40px;
  background: var(--chroma-text-page-canvas);
}

.text-page__page-width {
  width: 100%;
  max-width: calc(1035px + 2 * var(--breadth-whitespace));
  margin-inline: auto;
  padding-inline: var(--breadth-whitespace);
}

.text-page--personal-info .text-page__page-width {
  max-width: var(--breadth-page-width);
}

.text-page--terms-of-use .text-page__page-width {
  max-width: calc(960px + 2 * var(--breadth-whitespace));
}

.text-page .text-page__heading-line {
  margin: 0 0 calc(0.5em + 24px);
}

.text-page--personal-info .text-page__heading-line,
.text-page--terms-of-use .text-page__heading-line {
  font-size: 19.2px;
  line-height: 1.3;
}

.text-page .text-page__heading-line--page-content {
  font-size: 22.4px;
  line-height: 1.3;
}

.text-page__heading-line--clean .enclosed-heading-line__content-box {
  margin-inline: 15px;
  padding: 0;
  border: 0;
}

.text-page--company-story .text-page__clause + .text-page__clause {
  padding-top: 30px;
}

.text-page--terms-of-use .text-page__clause + .text-page__clause {
  padding-top: 15px;
  border-top: 1px solid var(--chroma-contour);
}

.text-page__text-body p {
  margin: 0 0 20.8px;
}

.text-page__text-body ul,
.text-page__text-body ol {
  margin: 0 0 20.8px;
  padding-inline-start: 20.8px;
}

.text-page__text-body li {
  margin-bottom: 9.6px;
}

.text-page--company-story .text-page__text-body {
  font-size: 17.6px;
}

.text-page--company-story .text-page__text-body li {
  text-align: start;
}

.text-page-enterprise {
  padding-bottom: 82px;
  text-align: center;
}

.text-page-enterprise__insignia {
  display: block;
  width: 20%;
  height: auto;
  margin: 0 auto 16px;
}

.text-page-enterprise__learn-more p {
  margin: 0;
}

@media (min-width: 550px) {
  .text-page__text-body p,
  .text-page__text-body li {
    text-align: justify;
  }

  .text-page--terms-of-use .text-page__page-width {
    width: calc(100% * 11 / 12);
  }

  .text-page--personal-info .text-page__heading-line,
  .text-page--terms-of-use .text-page__heading-line {
    font-size: 25.6px;
  }

  .text-page .text-page__heading-line--page-content {
    font-size: 27.2px;
  }
}

@media (min-width: 850px) {
  .text-page {
    padding-bottom: 57px;
  }

  .text-page--personal-info,
  .text-page--terms-of-use {
    padding-bottom: 40px;
  }

  .text-page-enterprise {
    padding-bottom: 95px;
  }
}

.agreement-sign-off {
  max-width: calc(var(--breadth-page-width) + 2 * var(--breadth-whitespace));
  margin: 40px auto 22px;
  padding-inline: var(--breadth-whitespace);
}

.agreement-sign-off[hidden],
.agreement-sign-off [hidden] {
  display: none;
}

.agreement-sign-off__info-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--chroma-sign-off-contour);
  border-radius: 22px;
  background: var(--chroma-sign-off-canvas);
  color: var(--chroma-sign-off-paragraph);
}

.agreement-sign-off__content-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 48px;
  height: 48px;
}

.agreement-sign-off__opt-in {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  margin-inline-end: 10px;
  accent-color: var(--chroma-sign-off-opt-in);
  cursor: pointer;
}

.agreement-sign-off__paragraph {
  min-width: 0;
}

.agreement-sign-off__text-label,
.agreement-sign-off__naming {
  display: block;
  color: var(--chroma-sign-off-paragraph);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.agreement-sign-off__text-label {
  margin: 0 0 0.4em;
  cursor: pointer;
}

.agreement-sign-off__button-area {
  display: flex;
  align-items: center;
}

.agreement-sign-off__confirm-button {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 50px;
  margin: 0 0 15px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(var(--chroma-sign-off-command-button), var(--chroma-sign-off-command-button-tail));
  color: var(--chroma-cotton);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.agreement-sign-off__confirm-button:focus-visible,
.agreement-sign-off__opt-in:focus-visible {
  outline: 2px solid var(--chroma-keyboard-focus);
  outline-offset: 2px;
}

.agreement-sign-off__info-card--accepted {
  border-color: var(--chroma-sign-off-good-contour);
  background: var(--chroma-sign-off-good-canvas);
}

.agreement-sign-off__info-card--accepted:focus {
  outline: none;
}

.agreement-sign-off__tick-sign {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--chroma-sign-off-good-thumb);
  color: var(--chroma-sign-off-good);
  font-size: 24px;
  line-height: 1;
}

.agreement-sign-off__tracker {
  display: block;
  margin-top: 6px;
  color: var(--chroma-sign-off-good-paragraph);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

@media (min-width: 550px) {
  .agreement-sign-off__info-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 20px 22px;
  }

  .agreement-sign-off__content-box {
    justify-content: center;
  }

  .agreement-sign-off__button-area {
    grid-column: 1 / -1;
  }

  .agreement-sign-off__text-label,
  .agreement-sign-off__naming {
    font-size: 16px;
  }

  .agreement-sign-off__tracker {
    font-size: 14px;
  }
}

@media (min-width: 850px) {
  .agreement-sign-off__info-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  .agreement-sign-off__info-card--accepted {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .agreement-sign-off__button-area {
    grid-column: auto;
    justify-content: flex-end;
  }

  .agreement-sign-off__confirm-button {
    flex: 0 0 auto;
    min-width: 152px;
    margin-bottom: 0;
    margin-inline-end: 15px;
  }
}

:root:lang(hi) .agreement-sign-off__confirm-button,
:root:lang(bn) .agreement-sign-off__confirm-button {
  letter-spacing: 0;
}
