:root { --blue: #2478c8; --dark-blue: #1a5ea0; --mid-blue: #4fa3d8; --yellow: #f7c948; }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Nunito', sans-serif; background: #f0f8fd; color: #1a2e45; }

  .page-hero {
    background: linear-gradient(135deg, #1a3a5c 0%, #2478c8 60%, #4fa3d8 100%);
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .page-hero::before {
    content: '🍪';
    position: absolute;
    font-size: 12rem;
    opacity: .04;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .page-hero-badge {
    display: inline-block;
    background: rgba(247,201,72,.2);
    border: 1.5px solid rgba(247,201,72,.5);
    color: #f7c948;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
  }
  .page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 12px; }
  .page-hero p { font-size: .95rem; color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto; line-height: 1.65; }
  .hero-wave { line-height: 0; background: #f0f8fd; }
  .hero-wave svg { display: block; width: 100%; }

  .doc-wrap { max-width: 860px; margin: 0 auto; padding: 48px 24px 80px; }

  .back-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; background: var(--blue); color: #fff;
    border-radius: 30px; font-size: .88rem; font-weight: 800;
    text-decoration: none; margin-bottom: 28px; transition: background .2s;
  }
  .back-btn:hover { background: var(--dark-blue); }

  /* Cookie type cards */
  .cookie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 20px 0; }
  .cookie-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 2px 12px rgba(36,120,200,.08);
    border-top: 4px solid var(--blue);
    position: relative;
  }
  .cookie-card.essential { border-top-color: #22a06b; }
  .cookie-card.analytics { border-top-color: #f7c948; }
  .cookie-card.functional { border-top-color: #4fa3d8; }
  .cookie-card-icon { font-size: 1.8rem; margin-bottom: 10px; }
  .cookie-card h3 { font-size: 1rem; font-weight: 900; color: #1a2e45; margin-bottom: 6px; }
  .cookie-card .cookie-tag {
    display: inline-block; font-size: .7rem; font-weight: 800;
    padding: 2px 10px; border-radius: 20px; margin-bottom: 10px;
  }
  .essential .cookie-tag { background: #e8f5e9; color: #22a06b; }
  .analytics .cookie-tag { background: #fffbec; color: #c47a00; }
  .functional .cookie-tag { background: #e8f4fb; color: #1a5ea0; }
  .cookie-card p { font-size: .85rem; color: #445; line-height: 1.65; margin-bottom: 10px; }
  .cookie-card table { width: 100%; border-collapse: collapse; font-size: .8rem; }
  .cookie-card table th { text-align: left; color: #7a95aa; font-weight: 700; padding: 3px 0; border-bottom: 1px solid #e8f0f8; }
  .cookie-card table td { padding: 4px 0; color: #334; }

  .doc-section {
    background: #fff; border-radius: 20px; padding: 32px 36px;
    margin-bottom: 20px; box-shadow: 0 2px 16px rgba(36,120,200,.07);
    scroll-margin-top: 80px;
  }
  .doc-section h2 {
    font-size: 1.2rem; font-weight: 900; color: var(--dark-blue);
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #e8f0fb;
    display: flex; align-items: center; gap: 10px;
  }
  .doc-section h2 .num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; background: var(--blue); color: #fff;
    border-radius: 50%; font-size: .85rem; font-weight: 900; flex-shrink: 0;
  }
  .doc-section p { font-size: .92rem; line-height: 1.75; color: #2a3d52; margin-bottom: 12px; }
  .doc-section p:last-child { margin-bottom: 0; }
  .doc-section ul { padding-left: 20px; margin-bottom: 12px; }
  .doc-section li { font-size: .92rem; line-height: 1.75; color: #2a3d52; margin-bottom: 4px; }
  .doc-section strong { color: #1a2e45; }

  .info-box {
    background: #f0f7ff; border: 1.5px solid #c8dff5; border-radius: 12px;
    padding: 14px 18px; margin: 16px 0; font-size: .88rem; color: #1a4a7a; line-height: 1.65;
  }
  .info-box strong { color: var(--dark-blue); }

  /* Browser instructions */
  .browser-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
  .browser-btn {
    padding: 8px 16px; background: #f0f7ff; border: 1.5px solid #c8dff5;
    border-radius: 30px; font-size: .83rem; font-weight: 700; color: #1a5ea0;
    text-decoration: none; transition: background .2s;
  }
  .browser-btn:hover { background: #dceeff; }

  @media (max-width: 640px) {
    .doc-section { padding: 22px 18px; }
    .cookie-grid { grid-template-columns: 1fr; }
  }