* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 230px;
  min-height: 100vh;
  padding: 42px 36px;
  display: flex;
  align-items: center;
  background: #000;
  border-right: 1px solid #333;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: opacity 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 0.55;
}

.main {
  min-height: 100vh;
  margin-left: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.letters {
  font-size: clamp(42px, 5.5vw, 78px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
}

.symbol {
  display: block;
  width: clamp(58px, 7vw, 96px);
  height: clamp(58px, 7vw, 96px);
  object-fit: contain;
}

@media (max-width: 720px) {
  .sidebar {
    position: static;
    width: 100%;
    min-height: auto;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid #333;
  }

  .nav {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .nav a {
    font-size: 15px;
  }

  .main {
    margin-left: 0;
    min-height: calc(100vh - 85px);
    padding: 24px;
  }

  .wordmark {
    gap: 5px;
  }

  .letters {
    font-size: clamp(25px, 7vw, 42px);
    font-weight: 400;
    letter-spacing: 0.03em;
  }

  .symbol {
    width: clamp(40px, 11vw, 60px);
    height: clamp(40px, 11vw, 60px);
  }
}




/* Readability: use regular weight throughout the site. */
body,
button,
input,
textarea,
select {
  font-weight: 400;
}

.nav a {
  font-weight: 400;
}

/* Collapsible More menu */
.more-menu {
  margin: 0;
  padding: 0;
}

.more-menu summary {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.03em;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: opacity 160ms ease;
}

.more-menu summary::-webkit-details-marker {
  display: none;
}

.more-menu summary:hover,
.more-menu summary:focus-visible {
  opacity: 0.55;
}

.more-menu summary::after {
  content: " +";
  color: #777;
  font-size: 16px;
}

.more-menu[open] summary::after {
  content: " −";
}

.more-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-left: 12px;
}

.more-links a {
  color: #aaa;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.more-links a.active {
  color: #fff;
  opacity: 0.65;
}

@media (max-width: 720px) {
  .more-menu {
    width: 100%;
  }

  .more-menu summary {
    font-size: 15px;
  }

  .more-links {
    margin-top: 10px;
  }
}


/* Keep nested/body text fully readable. */
.member p,
.policy-list,
.policy-list ul,
.content-list,
.content-list ul,
.guideline-note,
.guideline-welcome {
  color: #fff !important;
  font-weight: 400 !important;
}

.more-links a {
  color: #fff;
  font-weight: 400;
}


/* Language switch */
.language-switch {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 400;
}

.language-switch a {
  color: #fff;
  text-decoration: none;
  opacity: 0.62;
  transition: opacity 160ms ease;
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a.active {
  opacity: 1;
}

.language-switch .separator {
  color: #666;
}

@media (max-width: 720px) {
  .language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
  }

  .sidebar {
    padding-right: 150px;
  }
}
