/* Styles for the terms and privacy pages (vilkar/, personvern/), on top of style.css. */

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

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.back-link:hover { color: var(--neon-cyan); }

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(111, 183, 214, 0.22);
  scroll-margin-top: 100px;
}

.legal p {
  margin-bottom: 14px;
  line-height: 1.7;
}

.legal ul {
  list-style: none;
  margin-bottom: 16px;
}
.legal li {
  position: relative;
  padding: 5px 0 5px 22px;
  line-height: 1.65;
}
.legal li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--neon-cyan);
  font-weight: 700;
}

.legal strong { font-weight: 700; color: #fff; }

.legal a {
  color: var(--neon-cyan);
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.legal a:hover { color: var(--text); }

@media (max-width: 720px) {
  .legal h1 { font-size: 1.6rem; }
}
