:root {
  --color-border: color-mix(in srgb, var(--text) 10%, white);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, Menlo, Consolas, "Courier New", monospace;

  --spacing-unit: 8px;
  --border-radius: 8px;

  --transition: 0.3s ease;

  --text: #e8edee;
  --background: #0a0f10;
  --primary: #aecbd0;
  --secondary: #34616a;
  --accent: #51a3b3;
}

/* privacy-policy.css */
.privacy-policy {
  background-color: var(--background);
  color: var(--text);
  padding: 4rem 2rem;
  line-height: 1.6;
  font-family: "Inter", sans-serif;
  margin-top: 3rem;
}

.privacy-policy h2::before {
  content: "";
  display: block;
  height: 5rem; 
  margin-top: -5rem; 
  visibility: hidden;
}

.policy-layout {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.policy-container {
  flex: 3;
  a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  text-decoration: underline;
}

}


.policy-sidebar {
  flex: 1;
  position: sticky;
  top: 6.5rem;
  align-self: flex-start;
  background: var(--secondary);
  padding: 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  height: fit-content;
}

.policy-sidebar h2 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text);
}

.policy-sidebar ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.policy-sidebar li {
  margin-bottom: 0.8rem;
}

.policy-sidebar a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s ease;
}

.policy-sidebar a:hover {
  color: var(--primary);
}

.privacy-policy h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.last-update {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.policy-content h2 {
  font-size: 1.4rem;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.policy-content p {
  margin-bottom: 1rem;
}

.policy-content ul {
  margin: 0 0 1.5rem 1.5rem;
  list-style: disc;
}

.policy-content li {
  margin-bottom: 0.8rem;
}

.policy-content .note {
  background: #1a1a1a;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--accent);
  font-size: 0.9rem;
  color: var(--text);
  border-radius: 5px;
}


/* Mobile responsiveness */
@media (max-width: 900px) {
  .policy-layout {
    flex-direction: column;
  }

  .policy-sidebar {
    position: static;
    margin-top: 2rem;
  }
}

.sidebar-toggle {
  display: none;
}

/* Mobile - hidden by default */
@media screen and (max-width: 900px) {
  .sidebar-toggle {
    position: fixed;
    top: 4.5rem;
    right: 0rem;
    z-index: 1100;
    background: var(--secondary);
    color: var(--text);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    display: block;
  }

.policy-sidebar {
  position: fixed;
  top: 5.5rem;
  right: -400px;
  width: 280px;
  background: var(--secondary);
  color: var(--text);
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
  z-index: 100;
  text-align: left;
}

.policy-sidebar.active {
  right: 1rem;
}

}


.icon-wrapper {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
}

.icon-wrapper i {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease-in-out;
}

.icon-wrapper i.fa-angle-right {
  opacity: 0;
}

.icon-wrapper.active i.fa-angle-left {
  opacity: 0;
}

.icon-wrapper.active i.fa-angle-right {
  opacity: 1;
}

body.privacy-page .footer {
    height: auto;
}