/* ─── LOCAL COLOUR ADDITIONS ─── */
:root {
  --amber: #b87514;
  --amber-light: #fdf5e6;
  --amber-mid: #f4dfb3;
}

/* ─── PAGE HERO ─── */
.page-hero {
  background: linear-gradient(135deg, #1e4a22 0%, #2d6635 40%, #398141 100%);
  color: #fff;
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}
.page-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #c8e6c8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
}
.page-hero h1 em {
  font-style: normal;
  color: #9ed9a0;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── POLICY WRAP (sidebar + content) ─── */
.policy-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

/* ─── TABLE OF CONTENTS ─── */
.toc {
  position: sticky;
  top: 88px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.toc-title {
  font-family: "Playfair Display", serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.toc a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}
.toc a:hover {
  background: var(--green-light);
  color: var(--green-dark);
}
.toc a.active {
  background: var(--green-light);
  color: var(--green);
  font-weight: 600;
}

/* ─── POLICY CONTENT ─── */
.policy-content {
  min-width: 0;
}

/* ─── POLICY META ─── */
.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 40px;
  font-size: 13px;
  color: var(--text-muted);
}
.policy-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.policy-meta svg { flex-shrink: 0; color: var(--text-light); }
.policy-meta strong { color: var(--text); }

/* ─── SUMMARY (at a glance) ─── */
.summary {
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 40px;
}
.summary-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(57, 129, 65, 0.12);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.summary-label svg { width: 14px; height: 14px; }
.summary h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.summary > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.summary-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid var(--green-mid);
}
.summary-icon {
  width: 36px;
  height: 36px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}
.summary-icon svg { width: 18px; height: 18px; }
.summary-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.summary-item-body strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: block;
}
.summary-item-body span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}
.summary-footnote {
  font-size: 13px;
  color: var(--green-dark);
  background: rgba(57, 129, 65, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

/* ─── POLICY SECTION ─── */
.policy-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.policy-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.policy-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.policy-section .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.policy-section p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 8px;
}
.policy-section ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.policy-section li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 6px;
}

/* ─── CALLOUT BOX ─── */
.callout {
  background: var(--amber-light);
  border: 1px solid var(--amber-mid);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 16px 0;
}
.callout strong { display: block; margin-bottom: 4px; color: var(--text); }

/* ─── RETENTION TABLE ─── */
.retention-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.retention-table th {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--green-mid);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.retention-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
  line-height: 1.55;
}
.retention-table tr:nth-child(even) td { background: var(--cream); }

/* ─── RIGHTS GRID ─── */
.rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.right-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.right-item strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}
.right-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ─── CONTACT CARD (in policy) ─── */
.contact-card {
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact-card p { margin-bottom: 6px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.contact-card a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .policy-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px 60px;
  }
  .toc { position: static; }
  .summary-grid { grid-template-columns: 1fr; }
  .rights-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .policy-wrap { padding: 32px 20px 48px; }
  .summary { padding: 24px 20px; }
  .retention-table { display: block; overflow-x: auto; }
}
