/* ═══════════════════════════════════════════
   WV Policies Page — Styles
   ═══════════════════════════════════════════
   Colors from the mockup that map to theme variables:
     --cream      → var(--wv-color-background)
     --text       → var(--wv-color-text-primary)
     --text-mid   → var(--wv-color-text-secondary)
     --serif      → var(--wv-font-serif)
     --sans       → var(--wv-font-primary)
     --border     → var(--wv-color-border)
     --coral      → var(--wv-color-primary)
     --coral-dark → var(--wv-color-primary-hover)

   Colors NOT in theme variables (hardcoded from mockup):
     --surface:      #FDFAF5
     --cream-dark:   #EDE8DC
     --cream-deeper: #E0D9CC
     --border-mid:   #C8C2B4
     --coral-light:  #F5EAE7
     --text-light:   #A09A8E
     --text-muted:   #BDB5AC
     --ink:          #1E1E1C
   ═══════════════════════════════════════════ */

/* ── Breadcrumb ── */
.wv-breadcrumb {
  padding: 12px 48px;
  font-size: 11px;
  color: #BDB5AC;
  border-bottom: 1px solid var(--wv-color-border);
}
.wv-breadcrumb a {
  color: #BDB5AC;
  text-decoration: none;
}
.wv-breadcrumb a:hover {
  color: var(--wv-color-primary);
}
.wv-breadcrumb span {
  margin: 0 8px;
}

/* ── Page Header ── */
.wv-policies-header {
  padding: 48px 48px 0;
  max-width: var(--wv-content-max);
  margin: 0 auto;
}
.wv-policies-title {
  font-family: var(--wv-font-primary);  /* H2: General Grotesque, not serif */
  font-weight: 400;
  font-size: 40px;
  font-style: normal;
  color: var(--wv-color-text-primary);
  margin-bottom: 6px;
}
.wv-policies-updated {
  font-family: var(--wv-font-primary);  /* label-legal */
  font-weight: 400;
  font-size: var(--wv-text-xs, 11px);
  color: #BDB5AC;
  margin-bottom: 28px;
}

/* ── Tab Strip ── */
.wv-policies-tab-strip {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--wv-color-border);
  max-width: var(--wv-content-max);
  margin: 0 auto;
  padding: 0 48px;
}
.wv-tab-btn {
  font-family: var(--wv-font-primary);  /* H6 */
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 14px 28px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  color: #A09A8E;
  transition: all 150ms ease;
}
.wv-tab-btn.active {
  color: var(--wv-color-text-primary);
  border-bottom-color: var(--wv-color-text-primary);
}
.wv-tab-btn:hover:not(.active) {
  color: var(--wv-color-text-secondary);
}
.wv-tab-btn:focus-visible {
  outline: 2px solid var(--wv-color-primary);
  outline-offset: -2px;
}

/* ── Content Layout ── */
.wv-policies-content {
  max-width: var(--wv-content-max);
  margin: 0 auto;
  padding: 48px 48px 96px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: start;
}

/* ── TOC ── */
.wv-toc {
  position: sticky;
  top: 88px;
}
.wv-toc-label {
  font-family: var(--wv-font-primary);  /* nav-label */
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #BDB5AC;
  margin-bottom: 12px;
}
.wv-toc-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wv-toc-link {
  font-family: var(--wv-font-mono);  /* label-small-subtle */
  font-weight: 400;
  font-size: 12px;
  color: #A09A8E;
  padding: 4px 0 4px 10px;
  border-left: 2px solid transparent;
  cursor: pointer;
  transition: all 120ms ease;
  text-decoration: none;
  display: block;
  line-height: 1.4;
}
.wv-toc-link:hover {
  color: var(--wv-color-text-primary);
  border-left-color: #C8C2B4;
  text-decoration: none;
}
.wv-toc-link.active {
  font-family: var(--wv-font-mono);  /* label-small */
  font-weight: 400;
  color: var(--wv-color-primary);
  border-left-color: var(--wv-color-primary);
  text-decoration: underline;
}

/* ── Tab Panels ── */
.wv-tab-panel {
  display: none;
}
.wv-tab-panel.active {
  display: block;
}

/* ── Policy Sections ── */
.wv-pol-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--wv-color-border);
}
.wv-pol-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.wv-pol-section-num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #BDB5AC;
  margin-bottom: 8px;
}
.wv-pol-section-title {
  font-family: var(--wv-font-primary);  /* H6 at 24px */
  font-size: 24px;
  font-weight: 400;
  color: var(--wv-color-text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}
.wv-pol-body {
  font-family: var(--wv-font-primary);  /* body-small */
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--wv-color-text-secondary);
}
.wv-pol-body p {
  margin-bottom: 14px;
}
.wv-pol-body p:last-child {
  margin-bottom: 0;
}
.wv-pol-body strong {
  font-weight: 500;
  color: var(--wv-color-text-primary);
}
.wv-pol-body a {
  color: var(--wv-color-primary);
}
.wv-pol-body a:hover {
  text-decoration: underline;
}
.wv-pol-body ul {
  margin: 12px 0 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wv-pol-body ul li {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--wv-color-text-secondary);
}
.wv-pol-body ol {
  margin: 12px 0 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wv-pol-body ol li {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--wv-color-text-secondary);
}

/* ── Highlight Box (cream) ── */
.wv-pol-highlight {
  background: #EDE8DC;
  border: 1px solid var(--wv-color-border);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 16px 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--wv-color-text-secondary);
}
.wv-pol-highlight strong {
  font-weight: 500;
  color: var(--wv-color-text-primary);
}

/* ── Notice Box (coral) ── */
.wv-pol-notice {
  background: #F5EAE7;
  border: 1px solid #E8C0B0;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 16px 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--wv-color-text-secondary);
}
.wv-pol-notice strong {
  font-weight: 500;
  color: var(--wv-color-primary-hover);
}

/* ── Overview Card ── */
.wv-overview-card {
  background: #FDFAF5;
  border: 1px solid var(--wv-color-border);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 36px;
}
.wv-oc-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #BDB5AC;
  margin-bottom: 10px;
}
.wv-oc-body {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--wv-color-text-secondary);
}

/* ── Contact Block ── */
.wv-contact-block {
  background: #1E1E1C;
  border-radius: 10px;
  padding: 24px 28px;
  margin-top: 16px;
}
.wv-cb-title {
  font-family: var(--wv-font-primary);  /* H6 */
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.wv-cb-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wv-cb-item {
  font-family: var(--wv-font-primary);  /* label-legal */
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, .5);
}
.wv-cb-item a {
  color: rgba(255, 255, 255, .7);
}
.wv-cb-item a:hover {
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .wv-breadcrumb {
    padding: 12px 20px;
  }
  .wv-policies-header {
    padding: 32px 20px 0;
  }
  .wv-policies-title {
    font-size: 32px;
  }
  .wv-policies-tab-strip {
    padding: 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .wv-tab-btn {
    padding: 14px 18px;
    white-space: nowrap;
    font-size: 12px;
  }
  .wv-policies-content {
    display: block;
    padding: 32px 20px 64px;
  }
  .wv-toc {
    position: static;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--wv-color-border);
  }
}
