*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue: #4DAAE0;
    --yellow: #FFC814;
    --sky: #B6E0F3;
    --gold: #FFDA68;
    --gray: #666666;
    --light-yellow: #FFE08A;
    --off-white: #F7F8FA;
    --dark-text: #1A2332;
    --mid-text: #4A5568;
    --border: #E2E8F0;
    --white: #ffffff;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark-text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .nav-logo-icon {
    width: 36px; height: 36px;
    background: var(--blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-logo-icon svg { width: 20px; height: 20px; }

  .nav-logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--dark-text);
    letter-spacing: -0.01em;
  }

  .nav-logo-text span { color: var(--blue); }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
  }

  .nav-links a {
    text-decoration: none;
    color: var(--mid-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--blue); }

  .nav-cta {
    background: var(--light-yellow) !important;
    color: #6b4800 !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: background 0.2s !important;
  }

  .nav-cta:hover { background: #ffd96a !important; }

  /* ── PAGE HEADER ── */
  .page-header {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(160deg, #f0f9ff 0%, #fffdf0 60%, #f7f8fa 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
  }

  .page-header::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77,170,224,0.10) 0%, transparent 70%);
    pointer-events: none;
  }

  .page-header::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,200,20,0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .page-header-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
  }

  .page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(77,170,224,0.12);
    color: #2a7aaa;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(77,170,224,0.25);
  }

  .page-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--blue);
  }

  .page-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--dark-text);
    margin-bottom: 1rem;
  }

  .page-subtitle {
    font-size: 1rem;
    color: var(--mid-text);
    line-height: 1.75;
  }

  /* ── CONTENT ── */
  .policy-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
  }

  /* Table of contents */
  .toc {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    margin-bottom: 3.5rem;
  }

  .toc-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid-text);
    margin-bottom: 1rem;
  }

  .toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 2rem;
  }

  .toc-list li a {
    text-decoration: none;
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
  }

  .toc-list li a:hover { color: #2a7aaa; }

  /* Sections */
  .policy-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
  }

  .policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .section-number {
    display: inline-block;
    background: rgba(77,170,224,0.12);
    color: #2a7aaa;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.65rem;
  }

  .policy-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.55rem;
    letter-spacing: -0.01em;
    color: var(--dark-text);
    margin-bottom: 1rem;
  }

  .policy-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 1.4rem 0 0.5rem;
  }

  .policy-section p {
    font-size: 0.97rem;
    color: var(--mid-text);
    line-height: 1.8;
    margin-bottom: 1rem;
  }

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

  .policy-section ul {
    list-style: none;
    margin: 0.5rem 0 1rem;
    padding: 0;
  }

  .policy-section ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.97rem;
    color: var(--mid-text);
    line-height: 1.7;
    margin-bottom: 0.55rem;
  }

  .policy-section ul li::before {
    content: '';
    flex-shrink: 0;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--blue);
    margin-top: 0.6em;
  }

  .policy-section strong {
    color: var(--dark-text);
    font-weight: 600;
  }

  /* Highlight box */
  .highlight-box {
    background: rgba(77,170,224,0.07);
    border: 1px solid rgba(77,170,224,0.22);
    border-left: 4px solid var(--blue);
    border-radius: 0 10px 10px 0;
    padding: 1.1rem 1.4rem;
    margin: 1.25rem 0;
  }

  .highlight-box p {
    margin: 0 !important;
    color: var(--dark-text) !important;
    font-size: 0.93rem !important;
    line-height: 1.7 !important;
  }

  /* Warning / note box */
  .note-box {
    background: rgba(255,200,20,0.08);
    border: 1px solid rgba(255,200,20,0.30);
    border-left: 4px solid var(--yellow);
    border-radius: 0 10px 10px 0;
    padding: 1.1rem 1.4rem;
    margin: 1.25rem 0;
  }

  .note-box p {
    margin: 0 !important;
    color: var(--dark-text) !important;
    font-size: 0.93rem !important;
    line-height: 1.7 !important;
  }

  /* Cookie table */
  .cookie-table-wrap {
    overflow-x: auto;
    margin: 1.25rem 0;
    border-radius: 12px;
    border: 1px solid var(--border);
  }

  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
  }

  thead {
    background: var(--off-white);
  }

  thead th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mid-text);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
  }

  tbody td {
    padding: 0.75rem 1rem;
    color: var(--mid-text);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.6;
  }

  tbody tr:last-child td { border-bottom: none; }

  tbody tr:hover { background: rgba(77,170,224,0.03); }

  td strong { color: var(--dark-text); font-weight: 600; }

  td .badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
  }

  .badge-essential {
    background: rgba(77,170,224,0.12);
    color: #2a7aaa;
  }

  .badge-functional {
    background: rgba(52,211,153,0.12);
    color: #065F46;
  }

  .badge-analytics {
    background: rgba(255,200,20,0.15);
    color: #92400E;
  }


  
/* ====================== LOGO SCALING ====================== */
.logo-image {
    width: 80px;           /* Default size for tablets & large screens */
    height: auto;
    display: block;
    object-fit: contain;    /* Maintains aspect ratio */
    transition: width 0.3s ease;
}

/* Larger screens */
@media (min-width: 1024px) {
    .logo-image {
        width: 80px;
    }
}

/* Medium screens (tablets) */
@media (max-width: 1023px) and (min-width: 768px) {
    .logo-image {
        width: 70px;
    }
}

/* Mobile phones */
@media (max-width: 767px) {
    .logo-image {
        width: 70px;       /* Smaller on mobile */
    }
}

/* Optional: Extra small phones */
@media (max-width: 480px) {
    .logo-image {
        width: 70px;
    }
}



/* ====================== CONTENT IMAGE SCALING ====================== */
.content-image {
    height: 600px;           /* Default size for tablets & large screens */
    width: auto;
    display: block;
    object-fit: contain;    /* Maintains aspect ratio */
    transition: width 0.3s ease;
}

/* Larger screens */
@media (min-height: 1024px) {
    .content-image {
        height: 600px;
    }
}

/* Medium screens (tablets) */
@media (max-height: 1023px) and (min-height: 768px) {
    .content-image {
        height: 600px;
    }
}

/* Mobile phones */
@media (max-height: 767px) {
    .content-image {
        height: 600px;       /* Smaller on mobile */
    }
}

/* Optional: Extra small phones */
@media (max-height: 480px) {
    .content-image {
        height: 280px;
    }
}



/* ====================== HAMBURGER MENU ====================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--dark-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 100;
    padding: 1rem 2rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
}

.mobile-nav-links li {
    margin-bottom: 1rem;
}

.mobile-nav-links a {
    font-size: 1.1rem;
    color: var(--mid-text);
    text-decoration: none;
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .desktop-menu { display: none; }
    .hamburger { display: flex; }
}


  /* ── FOOTER ── */
  footer {
    background: var(--dark-text);
    color: rgba(255,255,255,0.65);
    padding: 3.5rem 2rem 2rem;
    font-size: 0.9rem;
  }

  .footer-inner { max-width: 1100px; margin: 0 auto; }

  .footer-top {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
  }

  .footer-brand p {
    max-width: 260px;
    line-height: 1.7;
    font-size: 0.88rem;
    margin-top: 0.5rem;
  }

  .footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }

  .footer-col h4 {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 0.6rem; }

  .footer-col ul li a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.88rem;
  }

  .footer-col ul li a:hover { color: var(--blue); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
  }

  .footer-legal { display: flex; gap: 1.5rem; }

  .footer-legal a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-legal a:hover { color: var(--blue); }

  .nav-logo-text-footer {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: -0.01em;
  }

  .nav-logo-text-footer span { color: var(--blue); }

  /* Responsive */
  @media (max-width: 640px) {
    .nav-links { display: none; }
    .toc-list { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; }
    .footer-links { flex-direction: column; gap: 2rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
  }