/* Consistent Hero Header */
.hero {
  background: linear-gradient(135deg, #2c2f33, #1e2124);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero-logo {
  width: 70px;
  opacity: 0.9;
  margin-bottom: 15px;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  font-weight: 600;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-top: 0;
}

/* TOC container */
.toc-block {
  background: white;
  padding: 22px 26px;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.06);
  max-width: 780px;
  margin: 40px auto 30px auto;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.03);
}

.toc-block h2 {
  margin-bottom: 16px;
  font-size: 19px;
  font-weight: 600;
}

/* TOC buttons layout */
.toc-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Button style */
.toc-btn {
  background: #007AFF;
  color: white;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-block;
  border: none;
}

.toc-btn:hover {
  background: #005ecb;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Policy Card */
.policy-card {
  background: white;
  padding: 42px 38px;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  max-width: 780px;
  margin: 0 auto 50px auto;
  border: 1px solid rgba(0,0,0,0.03);
  line-height: 1.7;
}

/* Headings inside card */
.policy-card h1 {
  margin-top: 0;
  font-size: 1.8rem;
  font-weight: 600;
}

.policy-card h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #222;
}

.policy-card section {
  scroll-margin-top: 110px; /* Smooth anchor offset for fixed header */
}

/* Mobile adjustments */
@media (max-width: 720px) {
  .toc-block {
    padding: 18px 18px;
  }
  .toc-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  .policy-card {
    padding: 28px 20px;
    margin: 10px 12px 40px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}
