/* Shared styling for the standalone legal pages (privacy / terms / refund). */
/* Mirrors the vibedesignr landing aesthetic: near-black canvas, gold accents,    */
/* Playfair Display brand, Cormorant Garamond display, Inter body.                */

:root {
  --ink: #0a0a0a;
  --ink-2: #070707;
  --gold: #e9b56b;
  --gold-soft: #f4d19a;
  --paper: #f4f4f2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Dotted architecture, low presence so copy stays legible. */
.legal-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, black, transparent 75%);
}
.legal-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 8%, rgba(226, 181, 107, 0.1), transparent 32%),
    radial-gradient(circle at 8% 92%, rgba(195, 57, 34, 0.12), transparent 34%);
}

.legal-wrap {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}

/* Top bar */
.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 40px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.legal-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
  transition: border-color 0.4s ease, color 0.4s ease, background 0.4s ease;
}
.legal-back:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* Header */
.legal-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-soft);
  border: 1px solid rgba(233, 181, 107, 0.3);
  background: rgba(233, 181, 107, 0.1);
  padding: 5px 12px;
  margin-bottom: 22px;
}
h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  color: #fff;
  margin: 0 0 16px;
}
.legal-updated {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 56px;
}

/* Body */
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 1.5rem;
  color: #fff;
  margin: 48px 0 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
h2:first-of-type { border-top: none; padding-top: 0; }
p { margin: 0 0 16px; font-size: 15px; }
ul { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 8px; font-size: 15px; }
strong { color: rgba(255, 255, 255, 0.92); font-weight: 600; }
a { color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { text-decoration: underline; }

/* Footer */
.legal-foot {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.legal-foot a { color: rgba(255, 255, 255, 0.55); text-decoration: none; transition: color 0.3s ease; }
.legal-foot a:hover { color: var(--gold-soft); }
.legal-foot .sep { color: rgba(255, 255, 255, 0.2); }
.legal-foot .muted { color: rgba(255, 255, 255, 0.3); margin-left: auto; font-weight: 400; letter-spacing: 0.04em; text-transform: none; }
