/* ============ Legal Pages Styles ============ */
:root {
  --theme: #1DA995;
  --theme-dark: #158f7e;
  --text: #1e2b2a;
  --bg: #ffffff;
  --alt-bg: #f5fcfb;
  --border: rgba(29,169,149,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--alt-bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--theme), var(--theme-dark));
  color: #ffffff;
  padding: 3.5rem 0;
  text-align: center;
}

.page-header .container {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.page-header p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin: 0;
}

/* Main Container */
.container {
  max-width: 850px;
  margin: 0 auto;
  padding: 3rem 24px;
}

/* Content Card */
.policy-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
}

/* Last Updated */
.last-updated {
  font-size: 0.9rem;
  color: #6b7a77;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* Headings */
h2 {
  color: #0b2b27;
  margin: 2rem 0 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

h2:first-of-type {
  margin-top: 0;
}

/* Paragraphs */
p {
  margin-bottom: 1rem;
  color: #3d5550;
  line-height: 1.7;
}

/* Lists */
ul {
  margin: 0.8rem 0 1.5rem 1.5rem;
  color: #3d5550;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

li strong {
  color: #0b2b27;
}

/* Back Link */
.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--theme);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--theme-dark);
  text-decoration: underline;
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .page-header {
    padding: 2.5rem 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .policy-content {
    padding: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 500px) {
  .page-header h1 {
    font-size: 1.7rem;
  }

  .container {
    padding: 2rem 16px;
  }

  .policy-content {
    padding: 1.5rem;
    border-radius: 12px;
  }

  body {
    font-size: 1rem;
  }
}