/* Legal pages (privacy / terms) — MetaVPN landing style, minimal */
.lg-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 2px;
  background: #8C4DF8;
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.lg {
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: calc(var(--lp-nav-h) + 2rem) 1.25rem 4rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .lg { padding-left: 2rem; padding-right: 2rem; }
}

/* Hero */
.lg-hero {
  position: relative;
  max-width: 42rem;
  margin: 0 auto 2rem;
  padding: 0;
  text-align: center;
  border: 0;
  background: none;
  overflow: visible;
}

.lg-hero::after { display: none; }

.lg-hero__icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
}

.lg-hero__icon svg { width: 1.35rem; height: 1.35rem; }

.lg-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.lg-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.lg-hero__lead {
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  color: var(--lp-text-secondary);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.lg-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.lg-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--lp-text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--lp-border-strong);
}

.lg-chip svg { width: 0.95rem; height: 0.95rem; color: rgba(255,255,255,0.45); }

a.lg-chip { text-decoration: none; transition: border-color 0.15s ease, color 0.15s ease; }
a.lg-chip:hover { color: #fff; border-color: rgba(255,255,255,0.18); }

/* Key points */
.lg-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 0 0 2.5rem;
}

.lg-point {
  padding: 1.25rem;
  border-radius: var(--lp-radius-lg);
  background: var(--lp-bg-elevated);
  border: 1px solid var(--lp-border);
  transition: border-color 0.15s ease;
}

.lg-point:hover {
  transform: none;
  border-color: rgba(255,255,255,0.14);
  box-shadow: none;
}

.lg-point__icon {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.lg-point__icon svg { width: 1.1rem; height: 1.1rem; }

.lg-point h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lp-text);
}

.lg-point p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--lp-muted);
}

/* Layout */
.lg-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .lg-layout { grid-template-columns: 15.5rem minmax(0, 1fr); gap: 2.5rem; }
}

.lg-toc { display: none; }

@media (min-width: 1024px) {
  .lg-toc {
    display: block;
    position: sticky;
    top: calc(var(--lp-nav-h) + 1.5rem);
    align-self: start;
    padding: 1rem;
    border-radius: var(--lp-radius-lg);
    background: var(--lp-bg-elevated);
    border: 1px solid var(--lp-border);
  }
}

.lg-toc__title {
  margin: 0 0 0.6rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-muted);
}

.lg-toc ol { list-style: none; margin: 0; padding: 0; }

.lg-toc a {
  position: relative;
  display: flex;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--lp-text-secondary);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.lg-toc a span {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  color: var(--lp-muted);
}

.lg-toc a:hover { color: #fff; background: rgba(255,255,255,0.04); }

.lg-toc a.is-active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.lg-toc a.is-active span { color: rgba(255,255,255,0.7); }

.lg-toc a.is-active::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 2px;
  border-radius: 2px;
  background: #8C4DF8;
  box-shadow: none;
}

/* Sections */
.lg-content {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.lg-section {
  scroll-margin-top: calc(var(--lp-nav-h) + 1.25rem);
  padding: 1.5rem;
  border-radius: var(--lp-radius-lg);
  background: var(--lp-bg-elevated);
  border: 1px solid var(--lp-border);
  opacity: 1;
  transform: none;
}

.lg-section.is-in { opacity: 1; transform: none; }
.lg-section:target,
.lg-section.is-current { border-color: rgba(255,255,255,0.14); }

.lg-section__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.lg-section__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 650;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
}

.lg-section h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--lp-text);
}

.lg-section p,
.lg-section li {
  color: var(--lp-text-secondary);
  line-height: 1.7;
  font-size: 0.975rem;
}

.lg-section p { margin: 0 0 0.75rem; }
.lg-section p:last-child { margin-bottom: 0; }

.lg-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.lg-section ul li {
  position: relative;
  padding-left: 1.5rem;
}

.lg-section ul li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.65rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #8C4DF8;
  box-shadow: none;
}

.lg-section a,
.lg-contact a {
  color: #cdb2ff;
  text-decoration: underline;
  text-decoration-color: rgba(205, 178, 255, 0.3);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.lg-section a:hover,
.lg-contact a:hover { color: #fff; text-decoration-color: #fff; }

.lg-note {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: var(--lp-radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--lp-border);
  color: var(--lp-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

.lg-note svg {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  color: rgba(255,255,255,0.55);
}

/* Contact */
.lg-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--lp-radius-lg);
  background: var(--lp-bg-elevated);
  border: 1px solid var(--lp-border);
}

.lg-contact h3 { margin: 0 0 0.25rem; font-size: 1.05rem; color: var(--lp-text); }
.lg-contact p { margin: 0; color: var(--lp-text-secondary); font-size: 0.9rem; }

.lg-contact__btn,
a.lg-contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.6rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
  text-decoration: none;
  background: #8C4DF8;
  border: 1px solid rgba(140,77,248,0.22);
  box-shadow: none;
  transition: background 0.15s ease;
}

a.lg-contact__btn:hover {
  background: #7b3de8;
  color: #fff;
  transform: none;
}

.lg-contact__btn svg { width: 1.05rem; height: 1.05rem; }

.lg-footer {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--lp-muted);
}

.lg-footer a { color: var(--lp-text-secondary); text-decoration: none; }
.lg-footer a:hover,
.lg-footer a[aria-current="page"] { color: #fff; }

@media (max-width: 640px) {
  .lg-section { padding: 1.2rem 1.1rem; }
  .lg-contact { padding: 1.2rem 1.1rem; }
  .lg-contact__btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .lg-progress { display: none; }
}
