/* Adtirex Studio — policy pages (matches Studio/Product direction) */
:root {
  --bg: #ffffff;
  --soft: #F4F6F5;
  --ink: #0E1512;
  --mut: #5E6B64;
  --line: #E7EBE9;
  --brand: #12A150;
  --brand-d: #0C7C3D;
  --maxw: 760px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: light; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-d); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

.policy-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark { display: block; width: 34px; height: 34px; object-fit: contain; border-radius: 9px; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 17px; }
.brand__name span { color: var(--ink); }
.back-link { font-size: 14px; color: var(--mut); font-weight: 600; }
.back-link:hover { color: var(--ink); text-decoration: none; }

.policy { max-width: var(--maxw); margin: 40px auto 60px; padding: 0 24px; }
.policy__eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 600; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand-d); margin-bottom: 14px;
}
.policy h1 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(30px, 5vw, 44px); line-height: 1.08; text-wrap: balance; }
.policy .updated { color: var(--mut); font-size: 14px; margin-top: 12px; }
.policy h2 {
  font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em;
  margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line);
}
.policy h3 { font-family: var(--display); font-size: 18px; margin-top: 24px; }
.policy p { margin-top: 14px; }
.policy ul { margin: 14px 0 0 20px; }
.policy li { margin-top: 8px; }
.policy strong { font-weight: 700; }

.callout {
  margin-top: 20px; padding: 18px 20px; border-radius: 14px;
  background: var(--soft); border-left: 3px solid var(--brand);
}
.contact-card {
  margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--soft); font-size: 15px;
}
.contact-card strong { display: block; margin-bottom: 4px; }
.policy__note { font-size: 15px; color: var(--mut); }

/* ---------- Per-app privacy list ---------- */
.plist { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.plist__row {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 8px; border-bottom: 1px solid var(--line); color: var(--ink);
}
a.plist__row { border-radius: 12px; transition: background .15s ease; }
a.plist__row:hover { background: var(--soft); text-decoration: none; }
.plist__ico { flex: none; width: 44px; height: 44px; border-radius: 11px; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(14,21,18,.08); }
.plist__ico--empty {
  background: var(--soft); box-shadow: none; border: 1px dashed var(--line);
  background-image: repeating-linear-gradient(45deg, transparent 0 7px, rgba(14,21,18,.06) 7px 8px);
}
.plist__main { flex: 1; min-width: 0; }
.plist__name { display: block; font-family: var(--display); font-weight: 600; font-size: 16.5px; }
.plist__code { display: block; font-size: 13px; color: var(--mut); font-weight: 500; margin-top: 1px; }
.plist__link { flex: none; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--brand-d); white-space: nowrap; }
a.plist__row:hover .plist__link { text-decoration: underline; text-underline-offset: 3px; }
.plist__pending { flex: none; font-size: 13px; color: var(--mut); white-space: nowrap; }
.plist__pending::before { content: "●"; color: #E6613C; margin-right: 6px; font-size: 9px; vertical-align: 2px; }

.policy-footer {
  max-width: var(--maxw); margin: 0 auto; padding: 26px 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--mut); text-align: center;
}

:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 480px) {
  .plist__row { flex-wrap: wrap; gap: 8px 14px; }
  .plist__link, .plist__pending { width: 100%; padding-left: 60px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
