/* StudioShots — Legal & content pages shared styles */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  background: #07070A; color: #F5F5F5;
  line-height: 1.7; min-height: 100vh; overflow-x: hidden; position: relative;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

/* Atmospherics (lighter than home) */
.atm-mesh-legal {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 0%, rgba(255,107,107,0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(255,180,120,0.06), transparent 60%),
    linear-gradient(180deg, #07070A 0%, #0A0A12 100%);
}

/* Top nav */
.legal-nav {
  position: sticky; top: 1rem; z-index: 50;
  margin: 1rem auto 0; width: min(94%, 760px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.55rem 0.55rem 0.55rem 1.2rem;
  border-radius: 999px;
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  background: rgba(15,15,20,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.legal-nav-brand { display: flex; align-items: center; gap: 0.65rem; }
.legal-nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.legal-nav-brand span { font-weight: 600; font-size: 0.92rem; letter-spacing: -0.01em; }
.legal-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 500; padding: 0.5rem 1rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85); transition: all 0.3s;
}
.legal-back:hover { background: rgba(255,107,107,0.1); border-color: rgba(255,107,107,0.4); color: #fff; }

/* Container */
.legal-container {
  max-width: 760px; margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2rem) clamp(4rem, 8vw, 6rem);
  position: relative; z-index: 2;
}
.legal-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: #FF8E53;
  margin-bottom: 1rem;
}
.legal-eyebrow::before { content: ''; width: 22px; height: 1px; background: #FF8E53; opacity: 0.4; }
.legal-h1 {
  font-family: var(--font-display, 'Instrument Serif', serif);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 400;
  margin-bottom: 0.5rem;
}
.legal-h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 60%, #FFB37C 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.legal-date {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.74rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.5rem;
}

.legal-highlight {
  padding: 1.25rem 1.5rem; margin: 2rem 0;
  border: 1px solid rgba(255,107,107,0.25); border-left-width: 3px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,107,107,0.06), rgba(255,107,107,0));
  font-size: 0.94rem; color: rgba(255,255,255,0.85);
}
.legal-highlight strong { color: #FFB37C; }

.legal-h2 {
  font-family: var(--font-display, 'Instrument Serif', serif);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 400; letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem; line-height: 1.2;
  color: #fff;
}
.legal-h2::before {
  content: ''; display: inline-block; width: 22px; height: 2px;
  background: linear-gradient(90deg, #FF6B6B, #FF8E53);
  vertical-align: middle; margin-right: 0.65rem; margin-bottom: 0.18em;
  border-radius: 2px;
}

.legal-container p {
  font-size: 0.95rem; line-height: 1.75;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1rem;
}
.legal-container ul, .legal-container ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.legal-container li {
  font-size: 0.94rem; line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin-bottom: 0.5rem;
}
.legal-container li::marker { color: #FF8E53; }
.legal-container strong { color: #fff; font-weight: 600; }
.legal-container a { color: #FF8E53; border-bottom: 1px solid rgba(255,142,83,0.3); transition: border-color 0.3s; }
.legal-container a:hover { border-color: #FF8E53; }

/* Footer */
.legal-foot {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em;
  text-align: center;
}

/* TOC for blog */
.legal-toc {
  padding: 1.25rem 1.5rem; margin-bottom: 2.5rem;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}
.legal-toc-title {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 0.75rem;
}
.legal-toc ol { padding-left: 1.25rem; margin: 0; }
.legal-toc li { font-size: 0.9rem; margin-bottom: 0.4rem; }
.legal-toc a { color: rgba(255,255,255,0.85); border-bottom: none; }
.legal-toc a:hover { color: #FF8E53; }

/* Blog post grid (index page) */
.blog-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  margin-top: 2rem;
}
.blog-card {
  position: relative; padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
  display: block;
}
.blog-card:hover { border-color: rgba(255,107,107,0.35); transform: translateY(-3px); }
.blog-card-tag {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #FF8E53; margin-bottom: 0.75rem; display: block;
}
.blog-card-title {
  font-family: var(--font-display, 'Instrument Serif', serif);
  font-size: 1.4rem; font-weight: 400; letter-spacing: -0.02em;
  line-height: 1.2; margin-bottom: 0.6rem; color: #fff;
}
.blog-card-excerpt { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.55; }
.blog-card-meta {
  margin-top: 1rem; font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.68rem; color: rgba(255,255,255,0.5); letter-spacing: 0.1em;
}
