/* ============================================================
   PRIVACY POLICY PAGE — STYLES
   Depends on: header.css (design tokens already loaded)
============================================================ */

/* ============================================================
   PAGE HERO
============================================================ */
.hrb-policy-hero {
  background: linear-gradient(135deg, #0A7075 0%, #064E52 40%, #0F172A 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hrb-policy-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hrb-policy-hero__inner { position: relative; z-index: 1; }
.hrb-policy-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9); border-radius: var(--radius-full);
  padding: 6px 16px; font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hrb-policy-hero h1 {
  color: white; margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.hrb-policy-hero__meta {
  font-size: 15px; color: rgba(255,255,255,0.65);
}

/* ============================================================
   POLICY BODY
============================================================ */
.hrb-policy-body {
  padding: 72px 0 96px;
}
.hrb-policy-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Table of Contents */
.hrb-policy-toc {
  background: var(--bg-teal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 56px;
}
.hrb-policy-toc__heading {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--primary); margin-bottom: 16px;
}
.hrb-policy-toc__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  list-style: none;
  padding: 0; margin: 0;
}
@media (min-width: 600px) {
  .hrb-policy-toc__list { grid-template-columns: 1fr 1fr; }
}
.hrb-policy-toc__list a {
  font-size: 14px; color: var(--text); text-decoration: none;
  padding: 4px 0;
  display: flex; align-items: center; gap: 8px;
  transition: color 0.15s;
}
.hrb-policy-toc__list a:hover { color: var(--primary); }
.hrb-policy-toc__list a::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0;
}

/* Policy sections */
.hrb-policy-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.hrb-policy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.hrb-policy-section h2 {
  font-size: 26px; font-weight: 700; color: var(--dark);
  margin-bottom: 20px;
  padding-top: 8px;
}
.hrb-policy-section p {
  font-size: 16px; color: var(--text);
  line-height: 1.8; margin-bottom: 16px;
}
.hrb-policy-section p:last-child { margin-bottom: 0; }
.hrb-policy-section ul,
.hrb-policy-section ol {
  margin: 16px 0; padding-left: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.hrb-policy-section ul li,
.hrb-policy-section ol li {
  font-size: 16px; color: var(--text); line-height: 1.7;
  padding-left: 24px; position: relative;
}
.hrb-policy-section ul li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
}
.hrb-policy-section ol {
  counter-reset: policy-counter;
}
.hrb-policy-section ol li {
  counter-increment: policy-counter;
}
.hrb-policy-section ol li::before {
  content: counter(policy-counter) '.';
  position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--primary); font-size: 14px;
}
.hrb-policy-section a {
  color: var(--primary); text-decoration: underline;
  text-decoration-color: rgba(13,148,136,0.3);
  transition: text-decoration-color 0.15s;
}
.hrb-policy-section a:hover {
  text-decoration-color: var(--primary);
}
.hrb-policy-section strong { color: var(--dark); font-weight: 600; }

/* Highlight box */
.hrb-policy-highlight {
  background: var(--bg-teal);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 20px 0;
}
.hrb-policy-highlight p {
  font-size: 15px; color: var(--text); margin-bottom: 0 !important;
}

/* Contact card */
.hrb-policy-contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 24px;
}
.hrb-policy-contact-card p {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; margin-bottom: 12px !important;
}
.hrb-policy-contact-card p svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.hrb-policy-contact-card p:last-child { margin-bottom: 0 !important; }

/* Mobile adjustments */
@media (max-width: 767px) {
  .hrb-policy-body { padding: 48px 0 72px; }
  .hrb-policy-toc { padding: 24px 20px; }
  .hrb-policy-section h2 { font-size: 22px; }
  .hrb-policy-contact-card { padding: 24px 20px; }
}
