/* Shared styles for the legal pages (privacy policy, legal notice) */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --coral: #f4a699;
  --grad: linear-gradient(135deg, #f4a699 0%, #f8b2a1 40%, #fdb697 100%);
  --dark: #0a0a0a;
  --text: #1a1a1a;
  --mid: #555;
  --muted: #999;
  --border: rgba(0,0,0,0.07);
  --font: 'Montserrat', sans-serif;
}
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo {
  height: 26px; width: 104px; flex-shrink: 0;
  background: var(--grad);
  -webkit-mask-image: url('/logo.png'); mask-image: url('/logo.png');
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center left; mask-position: center left;
}
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-back {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--text); }

/* HERO */
.legal-hero {
  padding: 80px 0 48px;
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(244,166,153,0.30) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 5% 90%, rgba(253,182,151,0.22) 0%, transparent 65%),
    #fff;
  border-bottom: 1px solid var(--border);
}
.page { max-width: 820px; margin: 0 auto; padding: 0 40px; }
.label {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.24em;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 12px;
}
h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; text-transform: uppercase; margin-bottom: 20px; }
.updated { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

/* CONTENT */
.legal { padding: 56px 0 96px; }
.legal h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1rem; font-weight: 700; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--mid); line-height: 1.75; font-size: 0.95rem; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: #c47a6a; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--text); }
.summary {
  background: #fafafa; border: 1px solid var(--border);
  border-radius: 20px; padding: 24px 28px; margin-bottom: 8px;
}
.summary p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 8px 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--mid); line-height: 1.6; }
th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text); font-weight: 700; background: #fafafa; }

/* FOOTER */
footer {
  background: var(--dark); color: rgba(255,255,255,0.35);
  padding: 40px 5%; font-size: 0.75rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-logo {
  height: 20px; width: 80px;
  background: rgba(255,255,255,0.25);
  -webkit-mask-image: url('/logo.png'); mask-image: url('/logo.png');
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: #fff; }

@media (max-width: 768px) {
  .page { padding: 0 16px; }
  .legal-hero { padding: 56px 0 36px; }
  .nav-links { gap: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
