
:root {
  --l-ink:        #1a1a1a;
  --l-ink-2:      #3d3d3d;
  --l-ink-3:      #6e6e6e;
  --l-ink-4:      #9e9e9e;
  --l-border:     #e0e0e0;
  --l-surface:    #ffffff;
  --l-surface-2:  #f5f5f5;
  --l-surface-3:  #fafafa;
  --l-accent:     #1a1a1a;
  --l-accent-h:   #333;
  --l-radius-sm:  6px;
  --l-radius-md:  10px;
  --l-radius-lg:  14px;
  --l-radius-xl:  20px;
}


.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: 64px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--l-border);
  transition: box-shadow .3s;
}
.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--l-ink);
  text-decoration: none;
}
.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.12);
  display: block;
}
.nav-brand-text { color: var(--l-ink); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--l-ink-3);
  border-radius: var(--l-radius-sm);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.btn.btn-text:hover {
  background: var(--l-surface-2);
  color: var(--l-ink);
}
.btn.btn-text i {
  width: 15px;
  height: 15px;
}


.legal-page {
  padding-top: 104px;
  padding-bottom: 80px;
  min-height: 100vh;
  background: var(--l-surface);
}

.legal-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--l-border);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: var(--l-surface-2);
  color: var(--l-ink-2);
  border: 1px solid var(--l-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.legal-badge i {
  width: 15px;
  height: 15px;
  color: var(--l-ink);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--l-ink);
  margin-bottom: 10px;
  line-height: 1.1;
}

.legal-meta {
  font-size: 14px;
  color: var(--l-ink-4);
  font-weight: 500;
  margin-bottom: 18px;
}

.legal-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--l-ink-3);
  max-width: 580px;
  margin: 0 auto;
}


.legal-toc {
  max-width: 760px;
  margin: 0 auto 56px;
  background: var(--l-surface-3);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-xl);
  padding: 28px 32px;
}
.legal-toc h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--l-ink-4);
  margin-bottom: 16px;
}
.legal-toc ol {
  list-style: decimal;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 32px;
}
.legal-toc li { color: var(--l-ink-3); }
.legal-toc a {
  color: var(--l-ink-3);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.legal-toc a:hover,
.legal-toc a.active {
  color: var(--l-ink);
}

@media (max-width: 640px) {
  .legal-toc ol { grid-template-columns: 1fr; }
}


.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 56px;
  scroll-margin-top: 90px;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--l-ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--l-border);
}

.legal-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--l-ink-2);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-section p {
  font-size: .975rem;
  line-height: 1.8;
  color: var(--l-ink-3);
  margin-bottom: 14px;
}

.legal-section a {
  color: var(--l-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s;
}
.legal-section a:hover { opacity: .7; }

.legal-section ul {
  margin: 12px 0 16px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-section ul li {
  list-style: disc;
  font-size: .975rem;
  line-height: 1.75;
  color: var(--l-ink-3);
}
.legal-section ul li strong {
  color: var(--l-ink-2);
  font-weight: 600;
}


.contact-box {
  background: var(--l-surface-3);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-lg);
  padding: 24px 28px;
  margin-top: 16px;
}
.contact-box p {
  margin-bottom: 6px;
  font-size: 14.5px;
  color: var(--l-ink-3);
}
.contact-box p:last-child { margin-bottom: 0; }
.contact-box strong { color: var(--l-ink); font-weight: 700; }
.contact-box a {
  color: var(--l-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}


.footer {
  background: #111;
  color: #aaa;
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 240px repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid #222;
  margin-bottom: 24px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand .footer-logo img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
}
.footer-brand p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: 12px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.footer-col ul li a {
  font-size: 13.5px;
  color: #777;
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-bottom p { font-size: 12.5px; color: #555; }
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #555;
}
.footer-trust i { width: 13px; height: 13px; color: #444; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-container { padding: 0 20px; }
  .legal-toc { padding: 20px; }
  .legal-content { padding: 0 4px; }
}
