/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f5f6fa;
  --bg-white: #ffffff;
  --bg-alt: #f0f1f8;

  --primary: #4a6cf7;
  --primary-dark: #3451d1;
  --primary-light: #eef1fd;

  --text: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;

  --border: #e2e8f0;
  --border-dark: #cbd5e0;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 800px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  font-weight: 600;
}

/* ===========================
   CONTAINER
=========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   HEADER
=========================== */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.logo-icon.small {
  width: 28px;
  height: 28px;
  font-size: 0.65rem;
}

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

/* ===========================
   MAIN CONTENT
=========================== */
.main {
  padding: 40px 0 60px;
}

.policy-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
}

/* ===========================
   PAGE HERO
=========================== */
.page-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.page-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 50px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.page-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.page-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===========================
   TYPOGRAPHY & CONTENT
=========================== */
.content-section {
  color: var(--text-secondary);
}

.content-section p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.content-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.content-section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 12px;
}

.content-section h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 10px;
}

.content-section ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.content-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.content-section li > ul {
  margin-top: 8px;
  margin-bottom: 0;
  list-style-type: circle;
}

/* ===========================
   CONTACT CARD
=========================== */
.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 20px;
}

.contact-card p {
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 500;
}

.contact-card ul {
  margin-bottom: 0;
  list-style-type: none;
  padding-left: 0;
}

.contact-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.email-link {
  font-weight: 600;
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.email-link:hover {
  background: var(--primary);
  color: white;
  text-decoration: none;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 32px 20px;
  margin-top: 20px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.footer-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .policy-wrapper {
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .main {
    padding: 24px 0 40px;
  }

  .policy-wrapper {
    padding: 24px 20px;
  }

  .page-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .content-section h2 {
    font-size: 1.25rem;
    margin-top: 32px;
  }

  .content-section h3 {
    font-size: 1.05rem;
  }

  .contact-card {
    padding: 20px;
  }

  .footer-links {
    gap: 16px;
  }
}
