/* data-privacy.css — page-specific styles for data-privacy.html
   (base tokens/resets come from css/index.css; nav/footer styles come
   from css/nav-footer.css) */

    /* ── PRIVACY PAGE – SCOPED STYLES ──────────────── */

    /* Hero */
    .prv-hero {
      margin-top: var(--nav-h);
      background: linear-gradient(150deg, var(--green-900) 0%, var(--green-700) 55%, var(--green-500) 100%);
      padding: 90px 32px 80px;
      position: relative;
      overflow: hidden;
    }

    .prv-hero::before {
      content: '';
      position: absolute;
      top: -120px;
      right: -120px;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(34, 197, 94, .18) 0%, transparent 70%);
      pointer-events: none;
    }

    .prv-hero::after {
      content: '';
      position: absolute;
      bottom: -80px;
      left: -80px;
      width: 360px;
      height: 360px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 255, 255, .05) 0%, transparent 70%);
      pointer-events: none;
    }

    .prv-hero-inner {
      max-width: 900px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .prv-shield {
      width: 68px;
      height: 68px;
      background: rgba(34, 197, 94, .15);
      border: 1.5px solid rgba(34, 197, 94, .35);
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 28px;
      backdrop-filter: blur(8px);
    }

    .prv-hero h1 {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      color: white;
      letter-spacing: -.03em;
      line-height: 1.1;
      margin-bottom: 18px;
    }

    .prv-hero p {
      font-size: 1.05rem;
      color: rgba(255, 255, 255, .72);
      line-height: 1.7;
      max-width: 620px;
      margin-bottom: 36px;
    }

    .prv-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
    }

    .prv-meta-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: .82rem;
      font-weight: 600;
      color: rgba(255, 255, 255, .65);
    }

    .prv-meta-item svg {
      color: var(--green-400);
    }

    .prv-meta-sep {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .25);
    }

    /* Compliance badges */
    .prv-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 32px;
    }

    .prv-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, .08);
      border: 1px solid rgba(255, 255, 255, .15);
      border-radius: 100px;
      padding: 7px 16px;
      font-size: .78rem;
      font-weight: 700;
      color: rgba(255, 255, 255, .85);
      backdrop-filter: blur(8px);
      letter-spacing: .03em;
    }

    .prv-badge .dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--green-400);
      flex-shrink: 0;
    }

    /* Layout */
    .prv-layout {
      max-width: 1160px;
      margin: 0 auto;
      padding: 64px 32px;
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 56px;
      align-items: start;
    }

    @media(max-width: 900px) {
      .prv-layout {
        grid-template-columns: 1fr;
      }
    }

    /* Sticky TOC */
    .prv-toc {
      position: sticky;
      top: calc(var(--nav-h) + 24px);
    }

    .prv-toc-card {
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow);
    }

    .prv-toc-title {
      font-size: .72rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: var(--text-light);
      margin-bottom: 16px;
    }

    .prv-toc-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .prv-toc-links a {
      display: block;
      padding: 8px 12px;
      border-radius: 8px;
      font-size: .83rem;
      font-weight: 500;
      color: var(--text-muted);
      transition: background .18s, color .18s;
      border-left: 2px solid transparent;
    }

    .prv-toc-links a:hover,
    .prv-toc-links a.active {
      background: var(--green-50);
      color: var(--green-700);
      border-left-color: var(--green-500);
    }

    /* Contact card inside TOC */
    .prv-toc-contact {
      margin-top: 20px;
      padding: 16px;
      background: var(--green-50);
      border-radius: 10px;
      border: 1px solid var(--green-100);
    }

    .prv-toc-contact p {
      font-size: .8rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 10px;
    }

    .prv-toc-contact a {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: .8rem;
      font-weight: 700;
      color: var(--green-600);
    }

    .prv-toc-contact a:hover {
      text-decoration: underline;
    }

    /* Content area */
    /* .prv-content {} */
    .prv-section {
      margin-bottom: 64px;
      scroll-margin-top: calc(var(--nav-h) + 32px);
    }

    .prv-section-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      background: var(--green-100);
      color: var(--green-700);
      font-size: .78rem;
      font-weight: 800;
      border-radius: 8px;
      margin-bottom: 12px;
    }

    .prv-section h2 {
      font-size: clamp(1.25rem, 2vw, 1.65rem);
      font-weight: 800;
      color: var(--green-900);
      letter-spacing: -.02em;
      margin-bottom: 16px;
      line-height: 1.2;
    }

    .prv-section p {
      font-size: .97rem;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 14px;
    }

    .prv-section p:last-child {
      margin-bottom: 0;
    }

    /* Info cards */
    .prv-info-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 14px;
      margin: 24px 0;
    }

    .prv-info-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 18px;
      transition: border-color .2s, box-shadow .2s;
    }

    .prv-info-card:hover {
      border-color: var(--green-300);
      box-shadow: var(--shadow);
    }

    .prv-info-card .icon {
      width: 38px;
      height: 38px;
      background: var(--green-100);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--green-600);
      margin-bottom: 12px;
    }

    .prv-info-card h4 {
      font-size: .85rem;
      font-weight: 700;
      color: var(--green-900);
      margin-bottom: 4px;
    }

    .prv-info-card p {
      font-size: .78rem;
      margin-bottom: 0;
    }

    /* List styles */
    .prv-list {
      list-style: none;
      margin: 16px 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .prv-list li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: .95rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    .prv-list li::before {
      content: '';
      width: 18px;
      height: 18px;
      background: var(--green-100);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 3px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2316a34a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
    }

    /* Highlight box */
    .prv-highlight {
      background: var(--green-50);
      border: 1px solid var(--green-100);
      border-left: 4px solid var(--green-500);
      border-radius: 10px;
      padding: 18px 20px;
      margin: 20px 0;
    }

    .prv-highlight p {
      font-size: .9rem;
      font-weight: 500;
      color: var(--green-800);
      margin: 0;
      line-height: 1.65;
    }

    /* Warning box */
    .prv-warning {
      background: #fffbeb;
      border: 1px solid #fde68a;
      border-left: 4px solid #f59e0b;
      border-radius: 10px;
      padding: 16px 20px;
      margin: 20px 0;
    }

    .prv-warning p {
      font-size: .88rem;
      color: #78350f;
      margin: 0;
      line-height: 1.65;
    }

    /* Rights table */
    .prv-rights-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 14px;
      margin: 24px 0;
    }

    .prv-right-card {
      background: white;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 20px 16px;
      text-align: center;
      transition: transform .25s, box-shadow .25s;
    }

    .prv-right-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
    }

    .prv-right-card .right-icon {
      width: 44px;
      height: 44px;
      background: var(--green-100);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 12px;
      color: var(--green-600);
    }

    .prv-right-card h4 {
      font-size: .85rem;
      font-weight: 700;
      color: var(--green-900);
      margin-bottom: 6px;
    }

    .prv-right-card p {
      font-size: .75rem;
      color: var(--text-light);
      line-height: 1.55;
      margin: 0;
    }

    /* Divider */
    .prv-divider {
      height: 1px;
      background: var(--border);
      margin: 48px 0;
    }

    /* Table */
    .prv-table-wrap {
      overflow-x: auto;
      margin: 20px 0;
      border-radius: 12px;
      border: 1px solid var(--border);
    }

    .prv-table {
      width: 100%;
      border-collapse: collapse;
      font-size: .88rem;
    }

    .prv-table th {
      background: var(--green-900);
      color: rgba(255, 255, 255, .85);
      font-weight: 700;
      padding: 12px 16px;
      text-align: left;
      font-size: .78rem;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .prv-table td {
      padding: 12px 16px;
      color: var(--text-muted);
      border-bottom: 1px solid var(--border);
      line-height: 1.55;
      vertical-align: top;
    }

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

    .prv-table tr:nth-child(even) td {
      background: var(--bg);
    }

    /* Last updated bar */
    .prv-updated-bar {
      background: white;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 16px 32px;
    }

    .prv-updated-bar-inner {
      max-width: 1160px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    .prv-updated-bar span {
      font-size: .82rem;
      color: var(--text-light);
    }

    .prv-updated-bar strong {
      color: var(--text-muted);
    }

    .prv-dl-btn {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--green-50);
      border: 1px solid var(--green-200, #bbf7d0);
      color: var(--green-700);
      font-size: .78rem;
      font-weight: 700;
      padding: 8px 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: background .2s;
    }

    .prv-dl-btn:hover {
      background: var(--green-100);
    }

    /* Contact section */
    .prv-contact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
      margin-top: 24px;
    }

    .prv-contact-card {
      background: white;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 22px;
      transition: box-shadow .2s;
    }

    .prv-contact-card:hover {
      box-shadow: var(--shadow);
    }

    .prv-contact-card .label {
      font-size: .72rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .09em;
      color: var(--text-light);
      margin-bottom: 6px;
    }

    .prv-contact-card .value {
      font-size: .92rem;
      font-weight: 700;
      color: var(--green-700);
    }

    .prv-contact-card .sub {
      font-size: .8rem;
      color: var(--text-light);
      margin-top: 2px;
    }

    /* Scroll progress */
    #prv-progress {
      position: fixed;
      top: var(--nav-h);
      left: 0;
      right: 0;
      height: 3px;
      background: transparent;
      z-index: 999;
    }

    #prv-progress-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--green-500), var(--green-400));
      width: 0%;
      transition: width .1s linear;
    }

    /* Animations */
    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .fade-up {
      animation: fadeUp .55s ease both;
    }

    .fd-1 {
      animation-delay: .05s;
    }

    .fd-2 {
      animation-delay: .12s;
    }

    .fd-3 {
      animation-delay: .2s;
    }

    /* Responsive */
    @media(max-width: 768px) {
      .prv-hero {
        padding: 60px 20px 56px;
      }

      .prv-layout {
        padding: 40px 20px;
        gap: 40px;
      }

      .prv-toc {
        position: static;
      }

      .prv-updated-bar {
        padding: 14px 20px;
      }

      .wq-fb-section .wq-fb-grid {
        padding: 48px 20px;
      }
    }

    @media(max-width: 480px) {
      .prv-info-grid {
        grid-template-columns: 1fr;
      }

      .prv-rights-grid {
        grid-template-columns: 1fr 1fr;
      }

      .prv-contact-grid {
        grid-template-columns: 1fr;
      }
    }
