/* Basic styles for Privacy/Terms policy pages */
.policy {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem 3rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #10221b;
}

.policy h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #16786C;
  text-align: center;
}

.policy .update-date {
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
  font-size: 0.9rem;
}

.policy details {
  margin-bottom: 1rem;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  background: #fafafa;
}

.policy details[open] {
  background: #fff;
}

.policy summary {
  font-weight: 600;
  cursor: pointer;
  outline: none;
  color: #16786C;
}

.policy a {
  color: #16786C;
  text-decoration: underline;
}

.policy a:hover {
  text-decoration: none;
}

/* Improve readability of main body paragraphs */
.policy article > p {
  color: #ffffff;
}

/* Contrast tweaks for dark theme */
.policy details {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.policy details[open] {
  background: rgba(255, 255, 255, 0.12);
}

.policy summary {
  color: #ffebc0; /* soft light yellow for visibility */
} 