/* ===== THORNWOVEN — LEGAL / POLICY PAGE STYLES ===== */

/* Secondary Page Nav */
.secondary-nav {
  padding: 1.4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  z-index: 100;
  transition: background var(--dur-medium) ease, border-color var(--dur-medium) ease;
}

.secondary-nav .nav-logo { text-decoration: none; display: flex; align-items: center; }
.secondary-nav .nav-logo-img {
  height: 120px;
  width: auto;
  margin: -38px -10px;
  object-fit: contain;
  transition: filter var(--dur-medium);
}
[data-theme="dark"] .secondary-nav .nav-logo-img { filter: invert(1) brightness(2); }

.secondary-nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-back {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  opacity: 0.5;
  transition: opacity var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-back:hover { opacity: 1; }
.nav-back::before { content: '\2190'; font-size: 0.9rem; }

/* Policy Content */
.policy-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

.policy-eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--sand);
  display: block;
  margin-bottom: 0.8rem;
}

.policy-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1rem;
}

.policy-updated {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.policy-intro {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.policy-section { margin-bottom: 2.8rem; }

.policy-section h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}

.policy-section h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.7rem;
  margin-top: 1.5rem;
}

.policy-section p {
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.policy-section ul,
.policy-section ol {
  list-style: none;
  margin-bottom: 1rem;
  padding-left: 0;
}

.policy-section ul li,
.policy-section ol li {
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--text-light);
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.policy-section ul li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: var(--rose);
  font-size: 0.6rem;
  top: 0.5rem;
}

.policy-section a {
  color: var(--rose);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast);
}
.policy-section a:hover { border-color: var(--rose); }

.policy-highlight {
  background: var(--bg-warm);
  border-left: 3px solid var(--rose);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
  transition: background var(--dur-medium) ease;
}

.policy-highlight p {
  margin-bottom: 0;
  font-weight: 400;
}

.policy-contact {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-align: center;
  transition: background var(--dur-medium) ease, border-color var(--dur-medium) ease;
}

.policy-contact h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
}

.policy-contact p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.policy-contact a {
  color: var(--rose);
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--dur-fast);
}
.policy-contact a:hover { opacity: 0.7; }

/* Simple Footer */
.secondary-footer {
  padding: 2.5rem 3rem;
  background: var(--text);
  text-align: center;
  transition: background var(--dur-medium) ease;
}
[data-theme="dark"] .secondary-footer {
  background: #050404;
  border-top: 1px solid var(--border);
}
.secondary-footer-text {
  font-size: 0.72rem;
  color: var(--sand-light);
}
.secondary-footer-text a {
  color: var(--sand);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.secondary-footer-text a:hover { color: var(--white); }

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
  .secondary-nav { padding: 1rem 1.5rem; }
  .secondary-nav .nav-logo-img { height: 90px; margin: -28px -8px; }
  .policy-container { padding: 3rem 1.5rem 4rem; }
  .policy-section h2 { font-size: 1.25rem; }
  .secondary-footer { padding: 2rem 1.5rem; }
}
