/* Shared styles for legal + 404 pages — no React, no Babel. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;1,300&family=Inter:wght@300;400;500&display=swap');

:root { color-scheme: light; }
html, body { margin: 0; padding: 0; background: #f6f2ea; color: #0f1f1a; font-family: 'Inter', -apple-system, system-ui, sans-serif; letter-spacing: 0.01em; }
* { box-sizing: border-box; }

.legal-nav {
  padding: 18px 56px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(15,31,26,0.08);
  background: rgba(246,242,234,0.92);
  backdrop-filter: blur(16px);
  position: sticky; top: 0; z-index: 10;
}
.legal-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.legal-brand svg { flex: none; }
.legal-brand-text { display: flex; flex-direction: column; gap: 2px; }
.legal-brand-name { font-family: 'Cormorant', serif; font-size: 16px; letter-spacing: 0; line-height: 1; }
.legal-brand-name em { font-style: italic; opacity: 0.6; }
.legal-brand-sub { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.55; }
.legal-back { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #0f1f1a; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.legal-back span { transition: transform 0.3s; }
.legal-back:hover span { transform: translateX(-4px); }

.legal {
  max-width: 860px; margin: 0 auto; padding: 96px 40px 120px;
}
.legal-eye { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: #8a7a5e; padding-top: 8px; }
.legal-eye::after { content: ''; display: block; width: 40px; height: 1px; background: #8a7a5e; margin-top: 12px; }
.legal h1 {
  font-family: 'Cormorant', serif; font-weight: 300; font-size: 72px;
  line-height: 1.02; letter-spacing: -0.02em; margin: 28px 0 12px;
}
.legal h1 em { font-style: italic; color: #556b5d; }
.legal .legal-date { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #8a7a5e; margin: 0 0 56px; }
.legal h2 {
  font-family: 'Cormorant', serif; font-weight: 400; font-size: 34px;
  line-height: 1.1; letter-spacing: -0.01em; margin: 56px 0 16px;
}
.legal h2 em { font-style: italic; color: #556b5d; }
.legal h3 {
  font-family: 'Cormorant', serif; font-weight: 400; font-size: 22px; letter-spacing: 0;
  margin: 32px 0 8px;
}
.legal p, .legal li { font-size: 15px; line-height: 1.7; max-width: 680px; opacity: 0.88; }
.legal p + p { margin-top: 14px; }
.legal ul, .legal ol { padding-left: 24px; margin: 12px 0; }
.legal li { margin-bottom: 8px; }
.legal a { color: #0f1f1a; text-underline-offset: 3px; }
.legal strong { font-weight: 500; }
.legal hr { border: none; border-top: 1px solid rgba(15,31,26,0.15); margin: 56px 0; }

.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.legal-table th, .legal-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid rgba(15,31,26,0.12); vertical-align: top; }
.legal-table th { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #8a7a5e; font-weight: 500; }

.legal-foot {
  padding: 40px 56px; border-top: 1px solid rgba(15,31,26,0.15);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.12em; opacity: 0.6;
}
.legal-foot a { color: inherit; text-decoration: none; }
.legal-foot a:hover { border-bottom: 1px solid currentColor; }

/* 404 hero */
.notfound {
  min-height: 70vh; padding: 120px 40px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  max-width: 860px; margin: 0 auto;
}
.notfound .num {
  font-family: 'Cormorant', serif; font-style: italic; font-weight: 300;
  font-size: 200px; line-height: 0.9; letter-spacing: -0.03em; color: #556b5d; margin: 0;
}
.notfound .title { font-family: 'Cormorant', serif; font-weight: 300; font-size: 56px; line-height: 1; letter-spacing: -0.02em; margin: 32px 0 20px; }
.notfound .title em { font-style: italic; color: #556b5d; }
.notfound .copy { font-size: 16px; line-height: 1.6; max-width: 520px; opacity: 0.82; margin: 0 0 40px; }
.notfound .cta {
  padding: 16px 28px; background: #0f1f1a; color: #f6f2ea;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 12px;
  transition: background 0.3s;
}
.notfound .cta:hover { background: #8a7a5e; }

@media (max-width: 700px) {
  .legal-nav { padding: 14px 20px; }
  .legal-brand-sub { display: none; }
  .legal { padding: 56px 20px 80px; }
  .legal h1 { font-size: 44px; }
  .legal h2 { font-size: 26px; margin-top: 40px; }
  .legal h3 { font-size: 18px; }
  .legal p, .legal li { font-size: 14px; }
  .legal-foot { padding: 24px 20px; flex-direction: column; gap: 8px; }
  .notfound { padding: 72px 20px; min-height: 60vh; }
  .notfound .num { font-size: 120px; }
  .notfound .title { font-size: 36px; }
  .notfound .copy { font-size: 14px; }
}
