* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: #fff;
  min-height: 100%;
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

body {
  font-family: -apple-system, "SF Pro Text", "SF Pro Display", BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.24px;
  background: #fff;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  width: 100%;
}

.legal-phone {
  background: #fff;
  isolation: isolate;
  max-width: 430px;
  min-height: 100svh;
  position: relative;
  width: 100%;
  z-index: 1;
  padding: 16px 18px 40px;
}

.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.legal-head__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-icon-btn {
  border: none;
  background: none;
  color: #1a1a1a;
  cursor: pointer;
  padding: 4px;
  display: flex;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.legal-updated {
  font-size: 12px;
  color: #6b6b6b;
  margin-bottom: 24px;
}

.legal-block {
  margin-bottom: 22px;
}

.legal-block__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-block__text {
  font-size: 14px;
  line-height: 1.55;
  color: #4a4a4a;
}

.legal-block__text + .legal-block__text {
  margin-top: 10px;
}

.legal-block__list {
  margin-top: 10px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.legal-block__list li {
  font-size: 14px;
  line-height: 1.5;
  color: #4a4a4a;
}

.legal-toc {
  background: #f7f7f8;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 26px;
  display: grid;
  gap: 8px;
}

.legal-toc__title {
  font-size: 13px;
  font-weight: 700;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.legal-toc a {
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.legal-toc a span {
  color: #8a8a8a;
  margin-right: 8px;
}

@media (hover: hover) and (pointer: fine) {
  body {
    background: #000;
  }
}

.legal-block__text a {
  color: #1a1a1a;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  -webkit-tap-highlight-color: transparent;
}

.legal-block__text--notice {
  background: #f7f7f8;
  border-radius: 10px;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  margin-bottom: 12px;
  padding: 12px 14px;
}

.legal-block__text strong {
  color: #1a1a1a;
  font-weight: 600;
}
