/* Shared styles for the standalone legal pages (privacy.html, terms.html).
   Cream/editorial palette from the Beauty & Lifestyle division. */
* { box-sizing: border-box; }

/* Images are wrapped in <picture> to offer a WebP source with the original as
   fallback. display:contents keeps the wrapper from generating a box, so the
   `.site-head img` / `.site-foot img` rules below behave as they always did.
   These pages load legal.css instead of styles.css, so this rule is repeated
   here on purpose. */
picture { display: contents; }

body {
  margin: 0;
  background: #F6F0E8;
  color: #2D2420;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: #2D2420; text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #9D8B7E; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }

/* ---------- header ---------- */
.site-head {
  border-bottom: 1px solid #E2D9CE;
  background: rgba(246, 240, 232, .92);
  backdrop-filter: saturate(180%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}
/* The header mirrors the brands.html nav: same 1180px container, 44px side
   gutter, 22px vertical padding, and 60px logo. The document body below stays
   narrow (760px) for readable line length, so the header deliberately uses a
   wider container than the rest of the page. */
.site-head .wrap {
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 44px;
}
/* The header sits on cream, so it uses the dark wordmark.png rather than
   brand-mark.png, which is cream and disappears against this background. The
   dark footer keeps brand-mark.png. */
.site-head img { display: block; height: 60px; width: auto; }
.site-head nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.site-head nav a { text-decoration: none; color: #5A5149; }
.site-head nav a:hover { color: #2D2420; }

/* ---------- document body ---------- */
.doc { padding: 64px 0 80px; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9D8B7E;
  margin: 0 0 18px;
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #8F857B;
  margin: 0 0 46px;
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 46px 0 14px;
  padding-top: 10px;
  scroll-margin-top: 90px;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 28px 0 8px;
}

p, li { color: #4A423B; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

strong { color: #2D2420; font-weight: 600; }

.lead { font-size: 18px; color: #5A5149; }

/* Callout for the placeholder the client still has to fill in. */
.note {
  background: #FBF9F6;
  border: 1px solid #E2D9CE;
  border-left: 3px solid #9D8B7E;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 0 0 24px;
  font-size: 14px;
}
.note p:last-child { margin-bottom: 0; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; margin: 0 0 24px; }
table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid #E2D9CE;
}
th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8F857B;
  font-weight: 400;
  border-bottom-color: #C4BAB0;
}
td { color: #4A423B; }

/* ---------- footer ---------- */
.site-foot { background: #2D2420; color: #B7ADA3; }
/* Matches the brands.html footer container so the legal pages frame the same
   way, even though the document body between them is narrower. */
.site-foot .wrap {
  max-width: 1180px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  align-items: center;
  padding: 48px 44px;
}
.site-foot img { display: block; height: 26px; width: auto; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: 13px; }
.site-foot a { color: #B7ADA3; text-decoration: none; }
.site-foot a:hover { color: #F6F0E8; }
.site-foot .copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #6E655C;
}

/* A button that looks like a footer link, reopening the cookie modal. */
.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #B7ADA3;
  cursor: pointer;
}
.linklike:hover { color: #F6F0E8; }

@media (max-width: 560px) {
  .doc { padding: 44px 0 60px; }
  .site-head nav { gap: 16px; font-size: 12px; }
}
