/* =========================================================
   Policy pages (privacy, terms, disclaimer, editorial,
   advertising, grievance). Uses site tokens from styles.css.
   ========================================================= */
.pl-page { background: #fffaf3; }
html { scroll-padding-top: 76px; }

/* top bar + policy tabs */
.pl-top { background: #fff; border-bottom: 1px solid #f0e2cf; }
.pl-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.pl-logo img { height: 44px; width: auto; display: block; }
.pl-back { font: 600 .82rem var(--sans); color: var(--kumkum); }
.pl-back:hover { text-decoration: underline; }
.pl-tabs { position: sticky; top: 0; z-index: 20; background: rgba(255,250,243,.95); backdrop-filter: blur(10px); border-top: 1px solid #f0e2cf; }
.pl-tabs-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.pl-tabs-inner::-webkit-scrollbar { display: none; }
.pl-tabs a { flex-shrink: 0; font: 600 .8rem var(--sans); color: #4a4558; padding: 7px 14px; border-radius: 999px; border: 1px solid #ecdcc6; background: #fff; }
.pl-tabs a:hover { color: #e0601a; border-color: #f3b06a; }
.pl-tabs a[aria-current="page"] { background: #e0601a; border-color: #e0601a; color: #fff; }

/* heading */
.pl-main { padding: 48px 0 72px; }
.pl-head { max-width: 760px; margin-bottom: 36px; }
.pl-kicker { font: 700 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #e0601a; }
.pl-kicker .deva { letter-spacing: 0; text-transform: none; font-size: .95rem; font-weight: 400; }
.pl-head h1 { font-family: var(--serif-display); font-weight: 900; font-size: clamp(2rem, 4.6vw, 3.1rem); color: #14224a; line-height: 1.08; margin-top: 8px; }
.pl-lede { font: 400 1.08rem/1.55 var(--sans); color: #4a4558; margin-top: 12px; }
.pl-updated { display: inline-block; font: 600 .76rem var(--sans); color: #6a5e56; background: #fff; border: 1px solid #ecdcc6; padding: 5px 12px; border-radius: 999px; margin-top: 16px; }

/* layout: contents list + body */
.pl-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.pl-toc { position: sticky; top: 74px; background: #fff; border: 1px solid #f0e2cf; border-radius: 16px; padding: 18px 18px 14px; }
.pl-toc > p { font: 700 .68rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8a7a6c; margin-bottom: 8px; }
.pl-toc ol { list-style: none; display: grid; gap: 2px; counter-reset: t; }
.pl-toc li { counter-increment: t; }
.pl-toc a { display: flex; gap: 8px; font: 500 .84rem/1.35 var(--sans); color: #3a3446; padding: 6px 8px; border-radius: 8px; }
.pl-toc a::before { content: counter(t, decimal-leading-zero); color: #e0601a; font-weight: 700; font-size: .72rem; padding-top: 2px; }
.pl-toc a:hover { background: #fff1df; }

.pl-body { background: #fff; border: 1px solid #f0e2cf; border-radius: 22px; padding: 12px 44px 32px; box-shadow: 0 24px 50px -40px rgba(80,40,10,.5); max-width: 860px; }
.pl-sec { padding: 28px 0; border-bottom: 1px solid #f3e7d6; }
.pl-sec:last-of-type { border-bottom: 0; }
.pl-sec h2 { display: flex; align-items: baseline; gap: 12px; font: 800 1.4rem var(--serif-display); color: #14224a; margin-bottom: 12px; }
.pl-n { font: 700 .78rem var(--sans); color: #e0601a; background: #fff1df; padding: 3px 8px; border-radius: 6px; transform: translateY(-2px); }
.pl-body p, .pl-body li { font: 400 1rem/1.7 var(--sans); color: #3a3446; }
.pl-body p + p { margin-top: 10px; }
.pl-body ul, .pl-body ol { padding-left: 22px; margin: 8px 0; display: grid; gap: 6px; }
.pl-body a { color: #c94f12; text-decoration: underline; text-underline-offset: 3px; }
.pl-body b { color: #14224a; }
.pl-points { list-style: none; padding: 0 !important; }
.pl-points li { position: relative; padding: 12px 14px 12px 44px; background: #fffaf3; border: 1px solid #f3e7d6; border-radius: 12px; }
.pl-points li::before { content: "✓"; position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: #1f7a3a; color: #fff; font-size: .72rem; display: grid; place-items: center; }
.pl-table { overflow-x: auto; margin: 6px 0 10px; border: 1px solid #f0e2cf; border-radius: 12px; }
.pl-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.pl-table th { font: 700 .74rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #6a5e56; background: #fffaf3; text-align: left; padding: 10px 14px; }
.pl-table td { font: 400 .9rem/1.5 var(--sans); color: #3a3446; padding: 12px 14px; border-top: 1px solid #f3e7d6; vertical-align: top; }
.pl-alert { background: #fff1f1; border: 1px solid #f3c6c6; border-left: 4px solid #c0262d; border-radius: 10px; padding: 14px 16px; }
.pl-contact { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; background: #fffaf3; border: 1px solid #f3e7d6; border-radius: 12px; padding: 16px 18px; margin: 8px 0; font-family: var(--sans); }
.pl-contact dt { font-weight: 600; color: #8a7a6c; font-size: .86rem; }
.pl-contact dd { color: #14224a; font-weight: 500; }
.pl-foot-note { margin-top: 20px; padding-top: 18px; border-top: 1px dashed #ecdcc6; font-size: .9rem !important; color: #6a5e56 !important; }
/* company details not filled in yet (policy-info.js) */
.pl-missing { background: #fff3b0; color: #6b4b00; padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: .92em; }

@media (max-width: 960px) {
  .pl-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pl-toc { position: static; }
  .pl-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .pl-main { padding: 32px 0 48px; }
  .pl-body { padding: 4px 20px 22px; border-radius: 18px; }
  .pl-toc ol { grid-template-columns: minmax(0, 1fr); }
  .pl-logo img { height: 36px; }
  .pl-sec h2 { font-size: 1.22rem; }
  .pl-page .footer-bar { padding-bottom: env(safe-area-inset-bottom); }
}
@media print {
  .pl-top, .pl-toc, .footer, .skip-link { display: none !important; }
  .pl-grid { display: block; } .pl-body { border: 0; box-shadow: none; padding: 0; max-width: none; }
}

/* language button next to "Back to magazine" */
.pl-actions { display: inline-flex; align-items: center; gap: 12px; }

/* ===== Phones: policy and About pages in the Wellness theme ===== */
@media (max-width: 820px) {
  body.pl-page { background: linear-gradient(180deg, #fdf8f5, #fdf1ef 420px, #fdf6f3); }
  .pl-top { background: #fdf8f5; border-color: #f6e4e2; }
  .pl-top-inner { min-height: 64px; padding: 8px 0; } .pl-logo img { height: 46px; }
  .pl-top .lang-btn { height: 40px; border-color: #f4d5d7; background: #fff; }
  .pl-tabs { background: #fdf8f5; backdrop-filter: none; border-color: #f6e4e2; }
  .pl-tabs a { display: inline-flex; align-items: center; min-height: 42px; border-color: #f4dcdb; color: #2a1b18; font-weight: 500; }
  .pl-tabs a[aria-current="page"] { background: linear-gradient(160deg, #b51d3c, #8f1230); border-color: transparent; }
  .pl-main { padding: 22px 0 32px; } .pl-head { margin-bottom: 18px; }
  .pl-kicker { font-size: .86rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: #b01f45; }
  .pl-head h1, .pl-sec h2, .pl-body b, .pl-contact dd { color: #1b1514; }
  .pl-lede { font-size: .98rem; margin-top: 6px; }
  .pl-updated { border: 0; background: #fdebec; color: #8f1230; }
  .pl-toc, .pl-body { border: 0; border-radius: 24px; box-shadow: 0 1px 2px rgba(120, 20, 45, .05), 0 14px 30px -22px rgba(120, 20, 45, .4); }
  .pl-toc > p { font-size: .84rem; letter-spacing: 0; text-transform: none; color: #b01f45; }
  .pl-toc a { min-height: 42px; align-items: center; font-size: .9rem; } .pl-toc a::before, .pl-n { color: #a5163a; font-size: .8rem; padding-top: 0; }
  .pl-n { background: #fde4e6; } .pl-sec { border-color: #f8e4e3; }
  .pl-body a { color: #a5163a; }
  .pl-points li, .pl-contact { border: 0; background: #fff5f4; } .pl-points li::before { background: #a5163a; }
  .pl-table, .pl-table td { border-color: #f6e0df; } .pl-table th { background: #fdebec; letter-spacing: 0; text-transform: none; font-size: .8rem; color: #8f1230; }
  .pl-alert { border: 0; border-radius: 16px; background: #fdebec; }
}
