/* ── TERMOS PAGE STYLES ── */
.legal-hero {
  position: relative;
  padding: 100px 5% 40px;
  overflow: hidden;
  border-bottom: 1px solid rgba(159,197,42,0.12);
}
.legal-hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40,134,53,0.08) 0%, transparent 70%);
  top: 50%; left: 30%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.legal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.legal-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  background: rgba(159,197,42,0.07);
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; color: var(--lime);
  margin-bottom: 24px; font-weight: 600; letter-spacing: 0.5px;
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px; color: #fff;
  margin-bottom: 16px;
}
.legal-hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.legal-meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
}
.legal-meta-item {
  display: flex; align-items: center; gap: 6px;
}
.legal-meta-item svg {
  width: 14px; height: 14px;
  stroke: var(--lime); fill: none;
  stroke-width: 2; stroke-linecap: round;
}

/* ── LEGAL CONTENT ── */
.legal-layout {
  max-width: 1700px;
  margin: 0;
  padding: 60px 5% 100px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}

.legal-content,
.legal-section,
.legal-hero-inner {
  text-align: left;
}

.legal-toc {
  position: sticky;
  top: 96px;
  background: var(--dark2);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
}
.legal-toc-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}
.legal-toc ul { list-style: none; }
.legal-toc li { margin-bottom: 4px; }
.legal-toc a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  line-height: 1.4;
}
.legal-toc a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.legal-content { min-width: 0; }

.legal-section {
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border-subtle);
}
.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-section-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 10px;
}
.legal-section h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}
.legal-section p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul, .legal-section ol {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-section li { margin-bottom: 8px; }

.legal-highlight {
  background: rgba(159,197,42,0.06);
  border: 1px solid rgba(159,197,42,0.18);
  border-left: 3px solid var(--lime);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.legal-highlight p {
  color: var(--text) !important;
  font-size: 14px !important;
  margin-bottom: 0 !important;
  line-height: 1.7;
}

.legal-warning {
  background: rgba(255,189,46,0.06);
  border: 1px solid rgba(255,189,46,0.2);
  border-left: 3px solid #ffbd2e;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.legal-warning p {
  color: var(--text) !important;
  font-size: 14px !important;
  margin-bottom: 0 !important;
  line-height: 1.7;
}

.legal-contact-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
.legal-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lime);
}
.legal-contact-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
}
.legal-contact-value a {
  color: #ffff;
  text-decoration: none;
}
.legal-contact-value a:hover { text-decoration: none; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  margin-bottom: 32px;
}
.legal-back:hover { color: var(--lime); }
.legal-back svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round;
}

/* Plans/tiers visual */
.legal-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.legal-plan-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
}
.legal-plan-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 8px;
}
.legal-plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 5% 80px;
  }
  .legal-toc { position: static; }
  .legal-contact-card { grid-template-columns: 1fr; }
  .legal-plans-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .legal-hero { 
    padding: 90px 4% 48px; 
  }
}

@media (max-width: 425px) {
  .nav-cta {
    display: none;
  }
}
