/* SyncTunez — legal & privacy pages (SES-ready, editorial dark theme) */

body.vetbill.synctunez.legal-standalone {
  background: #090807;
  color: #eee7dc;
}

body.vetbill.synctunez.legal-standalone::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 12% 0%, rgba(212, 164, 90, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 35% at 95% 8%, rgba(255, 255, 255, 0.03), transparent 50%),
    #090807;
}

body.vetbill.synctunez.legal-standalone .landing-shell {
  position: relative;
  z-index: 1;
}

body.vetbill.synctunez.legal-standalone .landing-header-wrap {
  border-bottom: 1px solid rgba(56, 48, 38, 0.85);
  background: rgba(9, 8, 7, 0.92);
  backdrop-filter: blur(10px);
}

body.vetbill.synctunez.legal-standalone .legal-page-main {
  max-width: 920px;
  padding: 32px 24px 56px;
}

body.vetbill.synctunez.legal-standalone .legal-doc {
  background: linear-gradient(165deg, #14110f 0%, #100e0c 100%);
  border: 1px solid #383026;
  border-radius: 16px;
  padding: 36px 32px 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

body.vetbill.synctunez.legal-standalone .legal-doc__title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 520;
  font-size: clamp(2rem, 4.5vw, 2.65rem);
  letter-spacing: -0.03em;
  color: #f3ebe0;
  margin-bottom: 10px;
}

body.vetbill.synctunez.legal-standalone .legal-doc__updated {
  color: #a29889;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

body.vetbill.synctunez.legal-standalone .legal-doc__body {
  color: #c9bfb0;
  font-size: 15px;
  line-height: 1.72;
}

body.vetbill.synctunez.legal-standalone .legal-doc__body h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #eee7dc;
  margin: 36px 0 12px;
  padding-top: 8px;
  scroll-margin-top: 88px;
}

body.vetbill.synctunez.legal-standalone .legal-doc__body h2:first-child {
  margin-top: 0;
}

body.vetbill.synctunez.legal-standalone .legal-doc__body h3 {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d4a45a;
  margin: 22px 0 10px;
}

body.vetbill.synctunez.legal-standalone .legal-doc__body a {
  color: #d4a45a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.vetbill.synctunez.legal-standalone .legal-doc__body a:hover {
  color: #f0d9a6;
}

body.vetbill.synctunez.legal-standalone .legal-doc__body strong {
  color: #eee7dc;
  font-weight: 600;
}

body.vetbill.synctunez.legal-standalone .legal-doc__nav {
  border-top-color: #383026;
  margin-top: 36px;
  padding-top: 24px;
}

body.vetbill.synctunez.legal-standalone .legal-doc__nav a {
  color: #d4a45a;
}

body.vetbill.synctunez.legal-standalone .legal-page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 20px 24px 40px;
  color: #8e887f;
}

body.vetbill.synctunez.legal-standalone .legal-page-footer a {
  color: #d4a45a;
  text-decoration: none;
}

body.vetbill.synctunez.legal-standalone .legal-page-footer a:hover {
  text-decoration: underline;
}

.st-legal-summary {
  display: grid;
  gap: 16px;
  padding: 20px 22px;
  margin-bottom: 28px;
  border-radius: 12px;
  border: 1px solid rgba(212, 164, 90, 0.28);
  background: rgba(212, 164, 90, 0.06);
}

.st-legal-summary__lead {
  margin: 0;
  color: #eee7dc;
  font-size: 15px;
  line-height: 1.65;
}

.st-legal-summary__grid {
  display: grid;
  gap: 10px 24px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 0;
}

.st-legal-summary__grid dt {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4a45a;
  margin: 0 0 4px;
}

.st-legal-summary__grid dd {
  margin: 0;
  color: #c9bfb0;
  font-size: 14px;
}

.st-legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.st-legal-toc a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #383026;
  background: #13110f;
  color: #b9aa94 !important;
  font-size: 12px;
  text-decoration: none !important;
  transition: border-color 0.15s, color 0.15s;
}

.st-legal-toc a:hover {
  border-color: #d4a45a;
  color: #eee7dc !important;
}

.st-legal-callout {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 3px solid #d4a45a;
  border-radius: 0 10px 10px 0;
  background: rgba(19, 17, 15, 0.9);
  color: #c9bfb0;
}

.st-legal-callout strong {
  display: block;
  color: #eee7dc;
  margin-bottom: 6px;
}

.st-legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0 20px;
  border: 1px solid #383026;
  border-radius: 10px;
}

.st-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.st-legal-table th,
.st-legal-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #2a2520;
  vertical-align: top;
}

.st-legal-table th {
  background: #1a1714;
  color: #d4a45a;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.st-legal-table tr:last-child td {
  border-bottom: none;
}

.st-legal-table td:first-child {
  color: #eee7dc;
  font-weight: 500;
  white-space: nowrap;
}

.st-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.st-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.st-cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid #383026;
  background: linear-gradient(165deg, rgba(20, 17, 15, 0.98), rgba(12, 10, 9, 0.98));
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 164, 90, 0.08) inset;
  backdrop-filter: blur(14px);
}

.st-cookie-banner__eyebrow {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4a45a;
  font-weight: 600;
}

.st-cookie-banner__title {
  margin: 0 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #f3ebe0;
}

.st-cookie-banner__desc {
  margin: 0;
  max-width: 52ch;
  font-size: 13px;
  line-height: 1.6;
  color: #b9aa94;
}

.st-cookie-banner__desc a {
  color: #d4a45a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.st-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.st-cookie-banner__btn-essential {
  background: transparent;
  border-color: #494033;
  color: #c9bfb0;
}

.st-cookie-banner__btn-essential:hover {
  border-color: #d4a45a;
  color: #eee7dc;
}

@media (max-width: 640px) {
  body.vetbill.synctunez.legal-standalone .legal-doc {
    padding: 24px 18px 20px;
  }

  .st-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .st-cookie-banner__actions {
    flex-direction: column;
  }

  .st-cookie-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
