/* =========================================================================
   MAHIR ASSOCIATE — Privacy Policy page styles
   Inherits the design tokens from styles.css
   ========================================================================= */

.policy-page { background: var(--bg); }

/* hero ------------------------------------------------------------------- */
.policy-hero {
  background: var(--emerald-deep);
  color: var(--on-dark);
  padding: clamp(7rem, 12vh, 9rem) 0 clamp(3rem, 6vw, 4.5rem);
  position: relative; overflow: hidden;
  border-bottom: 1px solid oklch(0.84 0.06 82 / 0.2);
}
.policy-hero::before {
  content: ""; position: absolute; right: -10%; top: -30%;
  width: 38vw; height: 38vw;
  background: radial-gradient(circle, oklch(0.76 0.098 79 / 0.28) 0%, transparent 68%);
  pointer-events: none;
}
.policy-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); color: var(--on-dark); margin: 0.8rem 0 0.5rem; position: relative; }
.policy-updated { position: relative; color: var(--on-dark-soft); font-size: 0.98rem; }
.policy-updated strong { color: var(--brass-soft); font-weight: 600; }

/* body ------------------------------------------------------------------- */
.policy-body { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.policy-shell { max-width: 820px; }

.policy-intro {
  font-size: 1.06rem; line-height: 1.7; color: var(--ink-soft);
  background: var(--ivory-soft); border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem; margin-bottom: 2.6rem;
}
.policy-intro strong { color: var(--emerald); }

.policy-toc {
  background: var(--graphite); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: 1.6rem 1.9rem; margin-bottom: 3rem;
}
.policy-toc h2 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 1.1rem; }
.policy-toc ol { columns: 2; column-gap: 2rem; counter-reset: toc; }
.policy-toc li { margin-bottom: 0.6rem; break-inside: avoid; }
.policy-toc a {
  color: var(--on-dark-soft); font-size: 0.94rem; font-weight: 500;
  display: inline-flex; gap: 0.6rem; transition: color 0.25s var(--ease);
}
.policy-toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--brass); font-weight: 700; }
.policy-toc a:hover { color: var(--brass-soft); }

.policy-section { margin-bottom: 2.6rem; scroll-margin-top: 100px; }
.policy-section h2 {
  font-size: clamp(1.4rem, 1rem + 1.4vw, 1.9rem); color: var(--ink);
  margin-bottom: 0.9rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line-strong);
}
.policy-section h3 { font-size: 1.1rem; color: var(--emerald); margin: 1.4rem 0 0.5rem; }
.policy-section p { color: var(--ink-soft); margin-bottom: 1rem; line-height: 1.7; }
.policy-section ul { display: flex; flex-direction: column; gap: 0.7rem; margin: 0.4rem 0 1.2rem; }
.policy-section ul li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); line-height: 1.6; }
.policy-section ul li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brass-deep);
}
.policy-section strong { color: var(--ink); font-weight: 600; }
.policy-section a { color: var(--emerald); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brass); }
.policy-section a:hover { color: var(--brass-deep); }

.policy-contact {
  background: var(--emerald); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: 1.8rem 2rem; margin-top: 2.5rem;
}
.policy-contact h2 { color: var(--on-dark); border: none; padding: 0; margin-bottom: 0.8rem; }
.policy-contact p { color: var(--on-dark-soft); margin-bottom: 0.5rem; }
.policy-contact a { color: var(--brass-soft); font-weight: 700; text-decoration: none; }
.policy-contact a:hover { color: var(--on-dark); }

.policy-back { margin-top: 2rem; }

@media (max-width: 680px) {
  .policy-toc ol { columns: 1; }
}
