:root {
  --pm-bg: #fbf7f1;
  --pm-bg-2: #f1e5d4;
  --pm-panel: #fffdf9;
  --pm-card: #ffffff;
  --pm-text: #211b15;
  --pm-muted: #75685a;
  --pm-border: #e8dccb;
  --pm-accent: #6b4f32;
  --pm-accent-2: #9f7a4f;
  --pm-dark: #2b2118;
  --pm-soft: #f4eadc;
  --pm-success: #43624a;
  --pm-shadow: 0 22px 55px rgba(45, 33, 22, .10);
  --pm-radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pm-legal-page {
  margin: 0;
  color: var(--pm-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(159, 122, 79, .20), transparent 34rem),
    linear-gradient(180deg, var(--pm-bg), #fff 540px);
}

.pm-container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

/* Legal top navigation */
.pm-legal-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, .92);
  border-bottom: 1px solid rgba(232, 220, 203, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.pm-legal-nav-inner {
  width: min(1120px, calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.pm-legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: var(--pm-text) !important;
  text-decoration: none !important;
}
.pm-brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  letter-spacing: .04em;
  background: linear-gradient(135deg, var(--pm-accent), var(--pm-dark));
  box-shadow: 0 12px 26px rgba(107, 79, 50, .24);
}
.pm-legal-brand strong {
  display: block;
  line-height: 1.12;
  font-size: 16px;
  letter-spacing: -.01em;
}
.pm-legal-brand small {
  display: block;
  margin-top: 3px;
  color: var(--pm-muted);
  font-size: 12px;
  font-weight: 700;
}
.pm-nav-toggle,
.pm-legal-nav input[type="checkbox"].pm-nav-toggle {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
}
.pm-nav-button {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid var(--pm-border);
  background: #fff;
  color: var(--pm-dark);
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(45, 33, 22, .06);
}
.pm-nav-button-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.pm-nav-button span,
.pm-nav-button-bars i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--pm-dark);
}
.pm-nav-button em { font-style: normal; font-size: 13px; }
.pm-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
.pm-nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--pm-dark) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 820;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.pm-nav-links a:hover { background: var(--pm-soft); transform: translateY(-1px); }
.pm-nav-links a.is-active { background: var(--pm-dark); color: #fff !important; }
.pm-nav-links .pm-site-link {
  margin-left: 4px;
  background: #fff;
  border: 1px solid var(--pm-border);
}

/* Hero */
.pm-hero {
  padding: 58px 0 22px;
  /*display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;*/
}
/*.pm-hero::after {
  content: "";
  width: 190px;
  height: 150px;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(107,79,50,.20), rgba(255,255,255,.35)),
    radial-gradient(circle at 35% 35%, rgba(159,122,79,.36), transparent 42%);
  border: 1px solid rgba(232,220,203,.70);
  box-shadow: var(--pm-shadow);
}*/
.pm-eyebrow {
  margin: 0 0 10px;
  color: var(--pm-accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.pm-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .98;
  letter-spacing: -.045em;
}
.pm-hero-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--pm-muted);
  font-size: 18px;
}
.pm-updated {
  display: /*inline-flex;*/ none;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--pm-accent);
  background: rgba(244, 234, 220, .90);
  font-size: 13px;
  font-weight: 850;
}
/*.pm-updated::before { content: "✓"; color: var(--pm-success); }*/

.pm-card {
  margin: 20px 0;
  padding: 28px;
  border-radius: var(--pm-radius);
  border: 1px solid rgba(232, 220, 203, .90);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--pm-shadow);
}
.pm-card h2 {
  margin: 0 0 10px;
  color: var(--pm-dark);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.pm-card h3 { margin: 22px 0 8px; color: var(--pm-dark); }
.pm-card p { margin-top: 0; }
.pm-card a { color: var(--pm-accent); font-weight: 780; }

/* Home cards */
.pm-legal-home { overflow: hidden; }
.pm-home-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.pm-home-head p { max-width: 780px; color: var(--pm-muted); }
.pm-status-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #eef4ec;
  color: var(--pm-success);
  font-size: 13px;
  font-weight: 900;
}
.pm-status-pill::before { content: "●"; font-size: 10px; }
.pm-grid-links {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.pm-tile {
  position: relative;
  display: flex !important;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--pm-border);
  background: linear-gradient(180deg, #fff, #fff9f1);
  color: var(--pm-text) !important;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(45, 33, 22, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pm-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 79, 50, .45);
  box-shadow: 0 24px 44px rgba(45, 33, 22, .12);
}
.pm-tile-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--pm-soft);
  color: var(--pm-accent);
  font-size: 22px;
}
.pm-tile strong {
  display: block;
  margin: 0 0 8px;
  color: var(--pm-dark);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.015em;
}
.pm-tile span { display: block; color: var(--pm-muted); font-size: 14px; line-height: 1.5; }
.pm-tile .pm-tile-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  align-self: flex-end;
  border-radius: 999px;
  color: #fff;
  background: var(--pm-dark);
  font-size: 20px;
  line-height: 1;
}
.pm-quick-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
}
.pm-home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--pm-dark);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(43, 33, 24, .17);
}
.pm-btn:hover { transform: translateY(-1px); }
.pm-btn-secondary { background: var(--pm-soft); color: var(--pm-dark) !important; box-shadow: none; }
.pm-back { color: var(--pm-accent); text-decoration: none; font-weight: 850; }

/* Tables and content */
.pm-table {
  width: 100%;
  margin: 18px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--pm-border);
  border-radius: 18px;
  background: #fff;
}
.pm-table th,
.pm-table td {
  padding: 14px;
  border-bottom: 1px solid var(--pm-border);
  text-align: left;
  vertical-align: top;
}
.pm-table tr:last-child td { border-bottom: 0; }
.pm-table th { background: var(--pm-soft); color: var(--pm-dark); }
.pm-current-consent { margin-top: 14px; padding: 14px; border-radius: 16px; background: #f7f2eb; }

.pm-legal-footer {
  margin-top: 44px;
  border-top: 1px solid var(--pm-border);
  background: rgba(255, 253, 249, .80);
}
.pm-footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--pm-muted);
  font-size: 14px;
}
.pm-footer-inner a { color: var(--pm-accent); font-weight: 850; text-decoration: none; }

/* Cookie banner */
.pm-cookie-banner {
  position: fixed;
  z-index: 2147483000;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 1120px;
  margin: 0 auto;
  background: rgba(36, 30, 24, .98);
  color: #fff;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
  font-family: inherit;
}
.pm-cookie-inner { max-width: 1060px; margin: 0 auto; }
.pm-cookie-text { margin: 0 0 12px; font-size: 14px; }
.pm-cookie-text a { color: #fff; text-decoration: underline; font-weight: 800; }
.pm-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pm-preferences { border-top: 1px solid rgba(255,255,255,.18); margin-top: 15px; padding-top: 8px; }
.pm-pref-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.pm-pref-row p { margin: 4px 0 0; font-size: 13px; opacity: .88; }
.pm-badge { display: inline-block; background: rgba(255,255,255,.15); border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 850; white-space: nowrap; }
.pm-switch { position: relative; display: inline-block; width: 56px; height: 31px; }
.pm-switch input { display: none; }
.pm-switch span { position: absolute; cursor: pointer; inset: 0; background: rgba(255,255,255,.28); border-radius: 999px; transition: .2s; }
.pm-switch span:before { content: ""; position: absolute; width: 23px; height: 23px; left: 4px; top: 4px; background: #fff; border-radius: 50%; transition: .2s; }
.pm-switch input:checked + span { background: #d9c3a6; }
.pm-switch input:checked + span:before { transform: translateX(25px); background: #2b2118; }
.pm-cookie-mini { position: fixed; right: 16px; bottom: 16px; z-index: 2147482999; border: 0; border-radius: 999px; padding: 11px 15px; background: var(--pm-dark); color: #fff; font-weight: 900; box-shadow: 0 10px 26px rgba(0,0,0,.24); cursor: pointer; }

@media (max-width: 980px) {
  .pm-nav-links a { padding-left: 10px; padding-right: 10px; font-size: 13px; }
  .pm-grid-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-hero::after { width: 130px; height: 110px; }
}
@media (max-width: 760px) {
  .pm-container,
  .pm-legal-nav-inner { width: min(100% - 28px, 1120px); }
  .pm-legal-nav-inner { min-height: 68px; flex-wrap: wrap; padding: 10px 0; }
  .pm-brand-mark { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; }
  .pm-legal-brand strong { font-size: 15px; }
  .pm-nav-button { display: inline-flex; margin-left: auto; }
  .pm-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--pm-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--pm-shadow);
  }
  .pm-nav-toggle:checked ~ .pm-nav-links { display: flex; }
  .pm-nav-links a { width: 100%; justify-content: center; border-radius: 16px; }
  .pm-nav-links .pm-site-link { margin-left: 0; }
  .pm-hero { display: block; padding: 36px 0 14px; }
  .pm-hero::after { display: none; }
  .pm-hero h1 { font-size: 34px; }
  .pm-hero-intro { font-size: 16px; }
  .pm-card { padding: 20px; border-radius: 22px; }
  .pm-home-head,
  .pm-quick-panel { display: block; }
  .pm-status-pill { margin-top: 10px; }
  .pm-grid-links { grid-template-columns: 1fr; gap: 12px; }
  .pm-tile { min-height: 0; padding: 18px; }
  .pm-home-actions { justify-content: stretch; margin-top: 16px; }
  .pm-btn { width: 100%; }
  .pm-table { display: block; overflow-x: auto; font-size: 14px; }
  .pm-footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px 0; }
  .pm-cookie-banner { left: 10px; right: 10px; bottom: 10px; max-height: 92vh; overflow: auto; border-radius: 20px; }
  .pm-cookie-actions { flex-direction: column; }
  .pm-pref-row { flex-direction: column; align-items: flex-start; }
}

/* Uniform content blocks - v8 */
.pm-section-heading {
  margin: 0 0 20px;
}
.pm-section-heading-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
}
.pm-section-heading-compact { margin-bottom: 0; }
.pm-section-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  color: var(--pm-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.pm-section-lead {
  max-width: 820px;
  margin: 0;
  color: var(--pm-muted);
  font-size: 16px;
}
.pm-highlight-box {
  margin: 18px 0 22px;
  padding: 20px 22px;
  border: 1px solid rgba(107, 79, 50, .16);
  border-radius: 22px;
  background: linear-gradient(180deg, #fffaf4, #f7efe4);
}
.pm-highlight-box p:last-child { margin-bottom: 0; }
.pm-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.pm-info-item,
.pm-list-grid article,
.pm-data-list-carded div {
  border: 1px solid var(--pm-border);
  border-radius: 18px;
  background: #fffaf4;
  box-shadow: 0 10px 26px rgba(45, 33, 22, .045);
}
.pm-info-item {
  padding: 17px 18px;
}
.pm-info-item span,
.pm-data-list dt,
.pm-list-grid small {
  display: block;
  margin: 0 0 6px;
  color: var(--pm-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pm-info-item strong {
  display: block;
  color: var(--pm-dark);
  font-size: 16px;
  line-height: 1.35;
}
.pm-data-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}
.pm-data-list-carded {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pm-data-list-carded div {
  display: grid;
  grid-template-columns: minmax(130px, .7fr) 1fr;
  gap: 14px;
  padding: 16px 18px;
}
.pm-data-list dd { margin: 0; color: var(--pm-dark); font-weight: 720; }
.pm-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.pm-list-grid article { padding: 20px; }
.pm-list-grid h3 {
  margin: 0 0 8px;
  font-size: 19px;
}
.pm-list-grid p { color: var(--pm-muted); margin-bottom: 0; }
.pm-list-grid small { margin-top: 12px; }
.pm-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 18px;
  border-radius: 18px;
}
.pm-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}
.pm-note {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--pm-soft);
  color: var(--pm-muted);
}
.pm-current-consent:empty { display: none; }
.pm-current-consent:not(:empty) { margin-top: 22px; }

@media (max-width: 900px) {
  .pm-info-grid,
  .pm-data-list-carded,
  .pm-list-grid { grid-template-columns: 1fr; }
  .pm-section-heading-split { flex-direction: column; }
  .pm-data-list-carded div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 620px) {
  .pm-card { padding: 22px; }
  .pm-highlight-box { padding: 18px; }
  .pm-button-row .pm-btn,
  .pm-home-actions .pm-btn { width: 100%; }
  .pm-table { min-width: 680px; }
}
