/* =========================================================
   CHYLR: policy and sitemap pages (privacy, terms, returns, sitemap)
   ========================================================= */
:root {
  --cream: #F6F1E8;
  --cream-2: #EDE4D2;
  --paper: #FFFCF6;
  --charcoal: #0E0E0E;
  --avocado: #B7C38A;
  --biscoff: #C68B52;
  --ink-60: rgba(14, 14, 14, .62);
  --f-display: "Sniglet", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--charcoal); font: 400 17px/1.6 var(--f-body); }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; border-radius: 6px; }

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(16px, 3vw, 44px); }
.page-head__logo { display: block; width: clamp(110px, 10vw, 150px); }
.page-head__logo img { display: block; width: 100%; height: auto; }
.page-head__back { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--charcoal); color: var(--cream); font-weight: 600; font-size: 15px; text-decoration: none; }

.doc { max-width: 760px; margin: 0 auto; padding: clamp(24px, 5vw, 60px) 16px 80px; }
.doc h1 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 7vw, 72px); line-height: .95; text-transform: uppercase; }
.doc__date { margin: 14px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-60); }
.doc__lead { margin: 28px 0 0; font-size: 20px; line-height: 1.5; }
.doc h2 { margin: 44px 0 10px; font-size: 22px; font-weight: 700; }
.doc h3 { margin: 24px 0 6px; font-size: 18px; font-weight: 700; }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--cream-2); }
.doc th { font-weight: 600; width: 34%; }
.callout { margin: 28px 0; padding: 22px 24px; border-radius: 24px; background: var(--paper); }
.callout--big { background: var(--charcoal); color: var(--cream); }
.callout--big strong { display: block; font-family: var(--f-display); font-size: clamp(30px, 5vw, 44px); line-height: 1; text-transform: uppercase; margin-bottom: 10px; }
.callout p:last-child { margin-bottom: 0; }
.todo { background: #FFE7A3; padding: 0 4px; border-radius: 4px; }

.sitemap { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.sitemap > li > a { display: block; padding: 18px 22px; border-radius: 22px; background: var(--paper); text-decoration: none; }
.sitemap > li > a:hover { background: var(--cream-2); }
.sitemap b { display: block; font-size: 19px; }
.sitemap span { font-size: 14px; color: var(--ink-60); }
.sitemap ul { list-style: none; margin: 8px 0 0 22px; padding: 0; display: grid; gap: 4px; font-size: 15px; }

.page-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 28px clamp(16px, 3vw, 44px) 36px; border-top: 1px solid var(--cream-2); font-size: 13px; }
.page-foot p { margin: 0; }
.page-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.page-foot nav a { text-decoration: none; }
.page-foot nav a:hover, .page-foot nav a[aria-current] { text-decoration: underline; }
@media (max-width: 600px) { .page-foot { flex-direction: column; text-align: center; } .page-foot nav { justify-content: center; } }
