/* Status pages (thanks / Authentication / expired) and terms — spec/v2/status-pages.md */
.status-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--color-bg);
}

.status {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 84px 88px 112px;
  background: var(--color-bg);
  text-align: center;
}

.status__title {
  font-weight: 700;
  font-size: 46px;
  line-height: 1.35;
  letter-spacing: var(--ls-title);
  color: var(--color-navy);
}

.status__desc {
  font-size: 24px;
  line-height: 1.9;
  color: var(--color-slate);
}

.status__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.status__btn {
  width: 400px;
  max-width: 100%;
  height: 60px;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(255, 107, 44, 0.251);
}

.status__btn.btn--navy {
  box-shadow: 0 8px 24px rgba(255, 107, 44, 0.251);
}

.status__link {
  font-size: 14px;
  text-decoration: underline;
  color: var(--color-navy);
}

/* error variant (not in Figma — built in the same style) */
.status__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #fdecec;
}

.terms__body {
  max-width: 1264px;
  font-size: 24px;
  line-height: 1.9;
  text-align: center;
  color: var(--color-slate);
}

/* Terms text (no Figma layout for the real text: left-aligned reading layout in the page palette) */
.terms {
  width: 100%;
  max-width: 880px;
  margin-top: 28px;
  padding: 48px 56px;
  border-radius: 16px;
  background: var(--color-white);
  text-align: left;
  color: var(--color-navy);
}

.terms__doc-title {
  margin-bottom: 32px;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
}

.terms__article + .terms__article {
  margin-top: 32px;
}

.terms__heading {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e3ecf6;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
}

.terms__article p,
.terms__list li {
  font-size: 15px;
  line-height: 1.9;
}

.terms__article p + p {
  margin-top: 4px;
}

.terms__list {
  margin: 4px 0 4px 1.5em;
  padding: 0;
  list-style: none;
}

/* privacy / tokusho (content from web-camp.io/privacypolicy, /tokusho): a second doc title starts a new block */
.terms__article + .terms__doc-title {
  margin-top: 56px;
}

.terms__article a {
  color: var(--color-navy);
  text-decoration: underline;
  word-break: break-all;
}

.terms__article .terms__indent {
  padding-left: 1em;
}

.terms__article .terms__right {
  text-align: right;
}

.terms__note {
  margin-bottom: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff1e8;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-orange);
}

@media (max-width: 1100px) {
  .status {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 767px) {
  .status {
    gap: 10px;
    padding: 24px 20px 32px;
  }

  .status__title {
    font-size: 28px;
  }

  .status__desc,
  .terms__body {
    font-size: 14px;
    line-height: 1.9;
  }

  .terms {
    margin-top: 16px;
    padding: 24px 18px;
    border-radius: 12px;
  }

  .terms__doc-title {
    margin-bottom: 20px;
    font-size: 17px;
  }

  .terms__article + .terms__article {
    margin-top: 24px;
  }

  .terms__heading {
    font-size: 16px;
  }

  .terms__article p,
  .terms__list li {
    font-size: 14px;
  }

  .terms__list {
    margin-left: 1em;
  }

  .status__desc br {
    display: none;
  }

  .status__actions {
    width: 100%;
    margin-top: 14px; /* 24 between intro and button in the mobile frame */
  }

  .status__btn {
    width: 100%;
    box-shadow: 0 10px 30px rgba(5, 43, 91, 0.0784);
  }

  .status__btn.btn--navy {
    box-shadow: 0 10px 30px rgba(5, 43, 91, 0.0784);
  }
}
