/* Shared legal page styles — Fameo */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:      #ffffff;
  --surface: #f9f8fc;
  --border:  #e5e0f0;
  --p1:      #5C1190;
  --p2:      #A0257A;
  --p3:      #D93B6A;
  --text:    #0f0f1a;
  --body:    #3a3a52;
  --muted:   #6b6b88;
  --radius:  8px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.8; font-size: 15px; }

/* Header */
.hero { background: linear-gradient(135deg, #5C1190 0%, #A0257A 55%, #D93B6A 100%); padding: 48px 24px 40px; text-align: center; }
.hero-eyebrow { display: inline-block; border: 1px solid rgba(255,255,255,.4); color: rgba(255,255,255,.9); padding: 4px 13px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; color: #fff; letter-spacing: -.01em; margin-bottom: 6px; }
.hero .company { color: rgba(255,255,255,.75); font-size: 13px; }
.hero-meta { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.hero-meta span { font-size: 12px; color: rgba(255,255,255,.7); }
.hero-meta .pipe { color: rgba(255,255,255,.3); }

/* Layout */
.wrapper { max-width: 840px; margin: 0 auto; padding: 40px 24px 72px; }

/* TOC */
.toc { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--p1); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px; }
.toc-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--p1); margin-bottom: 12px; }
.toc ol { padding-left: 18px; }
.toc li { margin-bottom: 5px; }
.toc a { color: var(--body); text-decoration: none; font-size: 13.5px; transition: color .15s; }
.toc a:hover { color: var(--p1); }

/* Sections */
.section { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 16px; scroll-margin-top: 16px; }
.section-header { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.section-num { flex-shrink: 0; min-width: 28px; height: 28px; padding: 0 7px; background: linear-gradient(135deg, var(--p1), var(--p2)); border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; color: #fff; margin-top: 2px; }
.section h2 { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.35; }
.section h3 { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--p1); margin: 20px 0 7px; }
.section p { color: var(--body); margin-bottom: 11px; font-size: 14.5px; }
.section p:last-child { margin-bottom: 0; }
.section ul, .section ol { padding-left: 17px; color: var(--body); font-size: 14.5px; }
.section li { margin-bottom: 5px; line-height: 1.7; }
.section strong { color: var(--text); font-weight: 600; }
.section a { color: var(--p2); text-decoration: none; }
.section a:hover { text-decoration: underline; }

/* Info / warn boxes */
.info-box { background: #f5f1fd; border: 1px solid #d9ceee; border-left: 3px solid var(--p1); border-radius: 6px; padding: 11px 14px; margin: 12px 0; font-size: 14px; color: var(--body); }
.info-box strong { color: var(--text); }
.warn-box { background: #fffbf0; border: 1px solid #f0dfa0; border-left: 3px solid #c9930a; border-radius: 6px; padding: 11px 14px; margin: 12px 0; font-size: 14px; color: #5a4200; }
.warn-box strong { color: #3d2c00; }

/* Contact card */
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; text-align: center; margin-top: 28px; }
.contact-card h2 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.contact-card p { color: var(--body); margin-bottom: 4px; font-size: 14px; }
.contact-card a { color: var(--p2); text-decoration: none; font-weight: 500; }
.contact-card a:hover { text-decoration: underline; }

/* Cookie grid */
.cookie-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 14px 0; }
.cookie-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.cookie-card .icon { font-size: 22px; margin-bottom: 8px; }
.cookie-card h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.cookie-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* Table */
.data-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13.5px; }
.data-table th { background: var(--surface); color: var(--p1); padding: 8px 12px; text-align: left; font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid var(--border); }
.data-table td { padding: 8px 12px; border-bottom: 1px solid var(--border); color: var(--body); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #faf8ff; }

/* Footer */
footer { text-align: center; padding: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
footer a { color: var(--p2); text-decoration: none; margin: 0 10px; font-weight: 500; }
footer a:hover { text-decoration: underline; }

/* Back to top */
.back-top { position: fixed; bottom: 24px; right: 24px; width: 36px; height: 36px; background: linear-gradient(135deg, var(--p1), var(--p3)); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; font-size: 15px; box-shadow: 0 2px 10px rgba(92,17,144,.2); transition: transform .2s; }
.back-top:hover { transform: translateY(-2px); }

@media (max-width: 640px) {
  .section { padding: 20px 16px; }
  .toc { padding: 16px 18px; }
}
