/* ==========================================================================
   Bodivo Privacy Policy - Modern Responsive Stylesheet
   ========================================================================== */

html,
body {
  overflow-x: clip;
}

/* Reading Progress Bar */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 100;
  pointer-events: none;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green) 0%, var(--orange) 100%);
  transition: width 0.08s ease-out;
}
.brand {
  transition: 300ms;
}
.brand:hover {
  transform: translateX(-6px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.policy-hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: 140px 0 75px;
  overflow: hidden;
  min-height: 95vh;
  height: auto;
}

.policy-hero .hero-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  right: -15vw;
  top: -15vw;
  background: radial-gradient(circle, rgba(126, 164, 94, 0.22), transparent 70%);
  pointer-events: none;
}

.policy-hero .hero-glow-secondary {
  position: absolute;
  width: 40vw;
  height: 40vw;
  left: -10vw;
  bottom: -10vw;
  background: radial-gradient(circle, rgba(234, 135, 62, 0.12), transparent 65%);
  pointer-events: none;
}

.policy-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 229, 204, 0.12);
  border: 1px solid rgba(217, 229, 204, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  font: 500 11px/1.2 'DM Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 22px;
}

.policy-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
}

.policy-hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin: 0 0 20px;
  font-weight: 800;
  color: var(--cream);
}

.policy-hero-lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: #c8d6cb;
  max-width: 760px;
  margin: 0 0 32px;
}

.policy-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(217, 229, 204, 0.15);
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 12px/1.3 'DM Mono', monospace;
  color: #bdcabe;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 100px;
  max-width: 100%;
  box-sizing: border-box;
}

.meta-pill span {
  overflow-wrap: break-word;
  word-break: break-word;
}

.meta-pill svg {
  width: 14px;
  height: 14px;
  stroke: var(--orange);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.policy-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font: 600 12px/1 'DM Mono', monospace;
  color: var(--cream);
  background: rgba(217, 229, 204, 0.12);
  border: 1px solid rgba(217, 229, 204, 0.28);
  padding: 9px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.policy-print-btn:hover {
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-2px);
}

.policy-print-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ==========================================================================
   Privacy At A Glance Cards (Highlights)
   ========================================================================== */
.policy-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(217, 229, 204, 0.14);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 164, 94, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.highlight-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(126, 164, 94, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.highlight-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.highlight-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  margin: 0;
  letter-spacing: -0.02em;
}

.highlight-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #a7b7aa;
  margin: 0;
}

/* ==========================================================================
   Main Content Layout (Two Columns)
   ========================================================================== */
.policy-main-section {
  padding: 60px 0 120px;
  background: var(--cream);
  width: 100%;
  overflow: visible;
}

.policy-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  min-width: 0;
}

.container.policy-layout {
  width: min(calc(100% - 96px), var(--max));
  margin-left: auto;
  margin-right: auto;
}

/* Mobile Quick Navigation Toggle Bar */
.mobile-toc-toggle {
  display: none;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(23, 55, 44, 0.06);
}

.mobile-toc-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.25s ease;
}

.mobile-toc-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Sidebar Styling */
.policy-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
  max-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.toc-wrapper {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(23, 55, 44, 0.04);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 270px);
  overflow: hidden;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 55, 44, 0.1);
}

.toc-header h2 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  font-family: 'DM Mono', monospace;
}

.toc-count {
  font: 500 11px 'DM Mono', monospace;
  color: var(--green);
  background: rgba(126, 164, 94, 0.15);
  padding: 3px 8px;
  border-radius: 100px;
}

/* Sidebar Search */
.toc-search-wrap {
  position: relative;
  margin-bottom: 14px;
}

.toc-search-wrap input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  font-family: inherit;
  font-size: 12px;
  border: 1px solid rgba(23, 55, 44, 0.15);
  border-radius: 8px;
  background: #fbf9f4;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.toc-search-wrap input:focus {
  border-color: var(--green);
  background: #ffffff;
}

.toc-search-wrap svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  stroke: #7f8f83;
  stroke-width: 2;
  fill: none;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 55, 44, 0.22) transparent;
}

.toc-list:hover {
  scrollbar-color: rgba(23, 55, 44, 0.38) transparent;
}

.toc-list::-webkit-scrollbar {
  width: 5px;
}

.toc-list::-webkit-scrollbar-track {
  background: transparent;
}

.toc-list::-webkit-scrollbar-thumb {
  background: rgba(23, 55, 44, 0.22);
  border-radius: 10px;
}

.toc-list::-webkit-scrollbar-thumb:hover {
  background: rgba(23, 55, 44, 0.38);
}

.toc-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #55675a;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.35;
}

.toc-link .toc-num {
  font: 500 11px 'DM Mono', monospace;
  color: #8b9d8f;
  flex-shrink: 0;
}

.toc-link:hover {
  background: rgba(217, 229, 204, 0.4);
  color: var(--ink);
}

.toc-link.active {
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
}

.toc-link.active .toc-num {
  color: var(--orange);
}

/* Sidebar Quick Help Card */
.sidebar-help-card {
  background: linear-gradient(135deg, rgba(217, 229, 204, 0.45) 0%, rgba(247, 244, 236, 0.8) 100%);
  border: 1px solid rgba(23, 55, 44, 0.12);
  border-radius: 18px;
  padding: 18px;
}

.sidebar-help-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.sidebar-help-card p {
  font-size: 12px;
  line-height: 1.5;
  color: #4a5c4f;
  margin: 0 0 14px;
}

.sidebar-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.sidebar-help-btn:hover {
  background: var(--orange);
  color: var(--ink);
  transform: translateY(-2px);
}

.sidebar-help-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ==========================================================================
   Article Content Styling
   ========================================================================== */
.policy-article {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}

.policy-section {
  scroll-margin-top: 115px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}

.policy-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  min-width: 0;
}

.section-badge {
  font: 600 12px/1 'DM Mono', monospace;
  color: var(--ink);
  background: var(--sage);
  padding: 6px 10px;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid rgba(23, 55, 44, 0.1);
  margin-top: 2px;
}

.section-header h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.policy-subsection-heading {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin: 30px 0 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.policy-subsection-heading svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  stroke-width: 2.2;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.regional-subsection {
  margin-bottom: 24px;
  scroll-margin-top: 115px;
  min-width: 0;
}

.policy-section p {
  font-size: 16px;
  line-height: 1.75;
  color: #374b3f;
  margin: 0 0 20px;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.policy-section a {
  overflow-wrap: break-word;
  word-break: break-word;
}

.policy-section p strong {
  color: var(--ink);
}

/* Custom list styling */
.policy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.65;
  color: #3b5043;
}

.policy-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* Callout Box (Takeaway / Key Note) */
.callout-box {
  background: #ffffff;
  border: 1px solid rgba(126, 164, 94, 0.35);
  border-left: 5px solid var(--green);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 24px 0;
  box-shadow: 0 6px 20px rgba(23, 55, 44, 0.03);
}

.callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 12px/1 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4b732d;
  margin-bottom: 10px;
}

.callout-header svg,
.callout-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.callout-box p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #2b3d32;
  margin: 0;
}

/* Warning Callout Box */
.callout-box.callout-warning {
  border-left-color: var(--orange);
  border-color: rgba(234, 135, 62, 0.4);
  background: #fffdf9;
}

.callout-box.callout-warning .callout-header {
  color: #bf6420;
}

/* Data Classification Grid */
.data-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.data-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(23, 55, 44, 0.03);
}

.data-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.data-card-title svg {
  width: 18px;
  height: 18px;
  stroke: var(--green);
  stroke-width: 2;
  fill: none;
}

.data-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.data-card li {
  font-size: 13.5px;
  line-height: 1.5;
  color: #495e50;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.data-card li::before {
  content: "•";
  color: var(--orange);
  font-weight: bold;
}

/* Data Retention Table Card */
.retention-table-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
  box-shadow: 0 6px 22px rgba(23, 55, 44, 0.04);
}

.retention-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.retention-table th {
  background: #f3efe4;
  padding: 14px 18px;
  font: 700 12px/1 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.retention-table td {
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #3b5043;
  border-bottom: 1px solid rgba(23, 55, 44, 0.08);
  vertical-align: top;
}

.retention-table tr:last-child td {
  border-bottom: none;
}

.retention-table td strong {
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.retention-badge {
  display: inline-block;
  font: 500 11px/1 'DM Mono', monospace;
  background: rgba(126, 164, 94, 0.16);
  color: #3b6021;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Rights Cards Grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.right-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(23, 55, 44, 0.03);
}

.right-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.right-card h4 svg {
  width: 16px;
  height: 16px;
  stroke: var(--green);
  stroke-width: 2.2;
  fill: none;
}

.right-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #4a5c4f;
  margin: 0;
}

/* Action Box */
.action-box {
  background: linear-gradient(135deg, var(--ink) 0%, #1e4537 100%);
  color: var(--cream);
  border-radius: 20px;
  padding: 32px;
  margin: 32px 0;
  box-shadow: 0 20px 45px rgba(23, 55, 44, 0.2);
  position: relative;
  overflow: hidden;
}

.action-box::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 135, 62, 0.3), transparent 70%);
  pointer-events: none;
}

.action-box h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin: 0 0 10px;
}

.action-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #c0cfc3;
  margin: 0 0 24px;
  max-width: 620px;
}

.action-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.action-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  padding: 12px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.action-btn-primary:hover {
  background: #f19b59;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 135, 62, 0.35);
}

.action-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.action-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.action-btn-primary svg,
.action-btn-secondary svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

/* Contact Entity Card */
.contact-entity-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  box-shadow: 0 8px 24px rgba(23, 55, 44, 0.04);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.contact-detail-label {
  font: 500 11px/1 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #728476;
}

.contact-detail-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.contact-detail-value a {
  color: var(--ink);
  border-bottom: 1.5px solid var(--orange);
  transition: color 0.2s, border-color 0.2s;
  overflow-wrap: break-word;
  word-break: break-all;
}

.contact-detail-value a:hover {
  color: var(--orange);
}

/* Generator Credit Note */
.policy-footer-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #859688;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.policy-footer-note a {
  color: #5c6e60;
  text-decoration: underline;
}

/* Back To Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 10px 25px rgba(23, 55, 44, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--orange);
  color: var(--ink);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .policy-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .policy-hero {
    min-height: auto;
    padding: 115px 0 45px;
  }

  .policy-hero h1 {
    font-size: clamp(32px, 7vw, 44px);
  }

  .policy-print-btn {
    margin-left: 0;
  }

  .policy-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    min-width: 0;
  }

  .mobile-toc-toggle {
    display: flex;
    margin-bottom: 0;
  }

  .policy-sidebar {
    position: static;
    display: none;
    max-height: none;
    margin-bottom: 12px;
    width: 100%;
  }

  .policy-sidebar.mobile-open {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    animation: fadeInSlideDown 0.25s ease-out;
  }

  .sidebar-help-card {
    display: none;
  }

  .toc-wrapper {
    max-height: min(420px, 60vh);
    padding: 18px 16px;
  }

  .contact-entity-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@keyframes fadeInSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Site Header Overrides for Privacy Policy */
@media (max-width: 800px) {
  .container.policy-layout {
    width: min(calc(100% - 42px), var(--max));
  }

  .site-header {
    max-width: 100vw;
  }

  .site-header .menu-toggle {
    display: none !important;
  }

  .site-header .nav-cta {
    display: inline-flex !important;
    padding: 8px 14px;
    font-size: 11px;
    gap: 6px;
    white-space: nowrap;
    max-width: 200px;
    min-width: 0;
  }

  .site-header .nav-cta-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .data-cards-grid,
  .rights-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0;
  }

  .action-buttons-group {
    flex-direction: column;
  }

  .action-btn-primary,
  .action-btn-secondary {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .site-header .nav {
    height: 64px;
    padding: 0;
  }

  .site-header .brand {
    font-size: 17px;
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .site-header .brand img {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .site-header .brand-badge {
    display: none !important;
  }

  .site-header .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .site-header .nav-cta {
    padding: 6px 10px;
    font-size: 11px;
    gap: 4px;
    max-width: 140px;
  }

  .site-header .nav-cta-label {
    max-width: 105px;
  }

  .site-header .lang-switch {
    padding: 4px 8px;
    font-size: 10.5px;
    gap: 4px;
  }

  .policy-hero {
    padding: 92px 0 36px;
  }

  .policy-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .policy-main-section {
    padding: 36px 0 80px;
  }

  .policy-section {
    scroll-margin-top: 85px;
    margin-bottom: 40px;
    padding-bottom: 32px;
  }

  .section-header {
    gap: 10px;
    margin-bottom: 16px;
  }

  .section-header h2 {
    font-size: clamp(20px, 5.5vw, 24px);
  }

  .section-badge {
    padding: 5px 8px;
    font-size: 11px;
  }

  .policy-subsection-heading {
    font-size: 17px;
    margin: 24px 0 10px;
  }

  .policy-section p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 16px;
  }

  .policy-list li {
    font-size: 14px;
    line-height: 1.55;
    padding-left: 22px;
  }

  .callout-box {
    padding: 16px;
    margin: 18px 0;
  }

  .callout-box p {
    font-size: 13.5px;
  }

  .action-box {
    padding: 24px 20px;
    margin: 24px 0;
  }

  .retention-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    margin: 18px 0;
  }

  .retention-table {
    display: table;
    min-width: 440px;
    width: 100%;
  }

  .retention-table th {
    padding: 10px 14px;
    font-size: 11px;
  }

  .retention-table td {
    padding: 12px 14px;
    font-size: 13px;
  }

  .contact-entity-card {
    padding: 20px 16px;
    border-radius: 14px;
    gap: 16px;
    margin: 18px 0;
  }

  .contact-detail-value {
    font-size: 14.5px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .container.policy-layout {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header .nav-cta {
    padding: 6px 9px;
    font-size: 11px;
    gap: 4px;
    max-width: 115px;
  }

  .site-header .nav-cta-label {
    max-width: 80px;
  }

  .policy-hero {
    padding: 85px 0 30px;
  }

  .policy-hero h1 {
    font-size: clamp(26px, 8.5vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
    word-break: break-word;
  }

  .policy-hero-lead {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .policy-meta-bar {
    gap: 8px;
    padding-top: 14px;
  }

  .meta-pill,
  .policy-print-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .highlight-card {
    padding: 16px;
    border-radius: 14px;
    gap: 10px;
  }

  .highlight-card h3 {
    font-size: 15px;
  }

  .highlight-card p {
    font-size: 12.5px;
  }

  .mobile-toc-toggle {
    padding: 12px 14px;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .site-header .nav-cta {
    padding: 6px 10px;
    max-width: none;
    border-radius: 100px;
    font-size: 13px;
  }

  .site-header .nav-cta-label {
    display: none;
  }

  .site-header .brand span {
    font-size: 16px;
  }
}

/* Print Stylesheet */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt;
    line-height: 1.5;
  }

  .site-header,
  .reading-progress-container,
  .policy-sidebar,
  .mobile-toc-toggle,
  .back-to-top,
  .policy-print-btn,
  .action-buttons-group,
  .footer {
    display: none !important;
  }

  .policy-hero {
    background: transparent !important;
    color: #000000 !important;
    padding: 0 0 20pt 0 !important;
    border-bottom: 2pt solid #000000;
  }

  .policy-hero h1 {
    color: #000000 !important;
    font-size: 24pt !important;
  }

  .policy-hero-lead {
    color: #333333 !important;
    font-size: 12pt !important;
  }

  .meta-pill {
    border: 1pt solid #cccccc !important;
    color: #333333 !important;
    background: transparent !important;
  }

  .policy-highlights {
    display: none !important;
  }

  .policy-layout {
    display: block !important;
  }

  .policy-article {
    max-width: 100% !important;
  }

  .policy-section {
    page-break-inside: avoid;
    border-bottom: 1pt solid #dddddd !important;
    padding-bottom: 15pt !important;
    margin-bottom: 15pt !important;
  }
  .brand span {
    display:none
  }

  .callout-box {
    border: 1pt solid #cccccc !important;
    background: #f9f9f9 !important;
  }

  .action-box {
    background: #f5f5f5 !important;
    color: #000000 !important;
    border: 1pt solid #cccccc !important;
  }

  .action-box h3,
  .action-box p {
    color: #000000 !important;
  }

  a {
    color: #000000 !important;
    text-decoration: underline !important;
  }
}
