/* ==== TOS / Legal Page (Dark) ==== */
.tosHero {
  position: relative;
  overflow: hidden;
  background: #0a0d0b;
}
.tosHero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 20% 30%, rgba(50, 240, 140, .08), transparent 60%),
    radial-gradient(ellipse 55% 60% at 80% 70%, rgba(16, 185, 129, .05), transparent 60%);
  pointer-events: none;
}
.tosHero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 30%, transparent 78%);
  pointer-events: none;
}
.tosHero .sectionInner {
  padding-block: 96px 72px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.tosBreadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
  margin-bottom: 22px;
  font-family: var(--font-mono, ui-monospace, Menlo, monospace);
}
.tosBreadcrumb i { color: #32f08c; }
.tosBreadcrumb a { color: rgba(255, 255, 255, .5); text-decoration: none; transition: color .2s ease; }
.tosBreadcrumb a:hover { color: #32f08c; }
.tosBreadcrumb .sep { color: rgba(255, 255, 255, .25); }

.tosKicker {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(50, 240, 140, .35);
  border-radius: 999px;
  color: #32f08c;
  font-family: var(--font-mono, ui-monospace, Menlo, monospace);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(50, 240, 140, .06);
  margin-bottom: 18px;
}
.tosHeroTitle {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -.02em;
}
.tosHeroTitle .accent {
  background: linear-gradient(120deg, #a0fde7 0%, #32f08c 45%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tosHeroMeta {
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
  font-family: var(--font-mono, ui-monospace, Menlo, monospace);
}

/* Notice grid */
.tosNoticeGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.tosNotice {
  padding: 22px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .06);
  border-left: 3px solid #32f08c;
  color: rgba(255, 255, 255, .78);
  font-size: 14.5px;
  line-height: 1.75;
}
.tosNotice.warning { border-left-color: #f2b335; background: rgba(242, 179, 53, .04); color: rgba(255, 226, 168, .85); }
.tosNotice strong { color: #fff; font-weight: 600; }

/* Section wrapper */
.tosBody {
  background: #0a0b0d;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 0;
}
.tosBody .sectionInner { padding-block: 60px 96px; }

.tosCard {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(50, 240, 140, .04), transparent 55%),
    rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 22px;
  padding: 48px 52px;
}

.tosContent {
  color: rgba(255, 255, 255, .78);
  line-height: 1.9;
  font-size: 15px;
}
.tosContent h2 {
  margin: 44px 0 20px;
  padding-bottom: 12px;
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}
.tosContent h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #32f08c, transparent);
}
.tosContent h2:first-of-type { margin-top: 0; }
.tosContent h3 {
  margin: 26px 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: #eaf7f0;
  padding-left: 14px;
  border-left: 3px solid rgba(50, 240, 140, .5);
}
.tosContent p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .72);
}
.tosContent ul {
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: none;
}
.tosContent li {
  position: relative;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .72);
  padding-left: 20px;
}
.tosContent li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #32f08c;
  box-shadow: 0 0 0 3px rgba(50, 240, 140, .15);
}
.tosContent li > ul { margin-top: 10px; }

.tosContent b.important,
.tosContent .important {
  color: #ff8b8b;
  font-weight: 600;
}

/* Bottom CTA */
.tosBottomCTA {
  margin-top: 40px;
  padding: 32px 36px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 60% 100% at 0% 50%, rgba(50, 240, 140, .1), transparent 60%),
    rgba(255, 255, 255, .02);
  border: 1px solid rgba(50, 240, 140, .2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.tosBottomCTA h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.tosBottomCTA p { margin: 0; color: rgba(255, 255, 255, .65); font-size: 14px; }
.tosBottomCTA a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #32f08c 0%, #10b981 100%);
  color: #0a0d0b;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tosBottomCTA a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(50, 240, 140, .3); }

/* Responsive */
@media (max-width: 900px) {
  .tosNoticeGrid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .tosCard { padding: 32px 28px; }
  .tosHero .sectionInner { padding-block: 72px 52px; }
  .tosBody .sectionInner { padding-block: 40px 64px; }
  .tosBottomCTA { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 599px) {
  .tosCard { padding: 26px 20px; border-radius: 16px; }
  .tosContent { font-size: 14.5px; }
  .tosContent h2 { font-size: 20px; margin: 32px 0 16px; }
  .tosContent h3 { font-size: 15.5px; }
}
