/* Terms page · readable long-form layout */

.tos-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 32px 80px;
  color: var(--text);
}

.tos-head {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.tos-head h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--accent), var(--up));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tos-meta {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* Risk section · bold warning block */
.tos-risk {
  background: linear-gradient(135deg, rgba(255,77,106,0.08), rgba(255,210,63,0.05));
  border: 1px solid rgba(255,77,106,0.35);
  border-left: 4px solid var(--down);
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 40px;
  box-shadow: 0 12px 32px -16px rgba(255,77,106,0.25);
}
.tos-risk h2 {
  color: var(--down);
  font-size: 18px;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}
.tos-risk p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 10px;
  color: #e6e9ef;
}
.tos-risk p:last-child { margin-bottom: 0; }

/* Standard section */
.tos-section {
  margin-bottom: 36px;
  scroll-margin-top: 80px;
}
.tos-section h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.tos-section p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #b9c1d0;
  margin: 0 0 12px;
}
.tos-section ul {
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
}
.tos-section ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14px;
  line-height: 1.65;
  color: #b9c1d0;
}
.tos-section ul li::before {
  content: "·";
  position: absolute;
  left: 6px;
  top: 6px;
  color: var(--accent);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.4;
}
.tos-section b {
  color: var(--text);
  font-weight: 700;
}

/* Acknowledgement · all-caps closing block */
.tos-ack {
  background: var(--bg-2);
  border: 1px solid var(--line-hi);
  border-radius: 10px;
  padding: 22px 26px;
  margin-top: 50px;
}
.tos-ack h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
  color: var(--accent);
}
.tos-ack p {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 720px) {
  .tos-main { padding: 40px 20px 60px; }
  .tos-head h1 { font-size: 30px; }
  .tos-section h2 { font-size: 18px; }
  .tos-risk { padding: 16px 18px; }
}
