nav .nav-links a[href="agb.html"] {
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.legal-page {
  min-height: calc(100vh - 62px);
  padding: 80px max(80px, calc(50% - 656px)) 120px max(112px, calc(50% - 624px));
  position: relative;
  z-index: 2;
}

.legal-hero {
  margin-bottom: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.legal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 20px 0 14px;
}

.legal-subtitle {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 560px;
}

.legal-body {
  max-width: 760px;
}

.legal-section {
  margin-bottom: 52px;
}

.legal-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-section h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 28px 0 8px;
}

.legal-section h3:first-of-type {
  margin-top: 20px;
}

.agb-badge {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 4px;
  padding: 3px 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.legal-section p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: var(--text);
  font-weight: 500;
}

.agb-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agb-list li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  padding-left: 22px;
  position: relative;
}

.agb-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.agb-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.agb-link:hover {
  border-color: var(--accent);
}

.agb-date-note {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--dim);
  letter-spacing: 0.04em;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 48px 20px 80px;
  }

  .legal-hero {
    margin-bottom: 40px;
    padding-bottom: 40px;
  }

  .legal-title {
    font-size: 30px;
  }
}
