@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-latin-variable.woff2') format('woff2-variations'), url('/assets/fonts/cormorant-garamond-latin-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-variable.woff2') format('woff2-variations'), url('/assets/fonts/manrope-latin-variable.woff2') format('woff2');
}

:root {
  --color-bg: #18140f;
  --color-gold: #9d7733;
  --color-cta: #f1b853;
  --color-cta-hover: #cd9c47;
  --color-cream: #f6f0ea;
  --text: #f5f2ec;
  --text-muted: rgba(245, 242, 236, 0.72);
  --line: rgba(157, 119, 51, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--text-muted);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--color-cta); text-underline-offset: 3px; }

a:focus-visible { outline: 2px solid var(--color-cta); outline-offset: 3px; border-radius: 2px; }

.legal-header,
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 16px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.legal-header { border-bottom: 1px solid var(--line); }

.legal-logo {
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}

.legal-logo span {
  margin-top: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.legal-logo b { color: var(--color-gold); font-weight: 700; }

.legal-back {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.legal-back:hover { text-decoration: underline; }

main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 16px 80px;
}

h1, h2 {
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.15;
}

h1 { margin: 0 0 8px; font-size: 40px; }

h2 { margin: 40px 0 8px; font-size: 26px; }

.legal-date { margin: 0 0 32px; font-size: 14px; }

p, li { margin: 0 0 12px; }

ul { padding-left: 20px; margin: 0 0 12px; }

strong { color: var(--text); font-weight: 600; }

.legal-footer {
  border-top: 1px solid var(--line);
  font-size: 13px;
  flex-wrap: wrap;
}

.legal-footer p { margin: 0; }

.legal-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

.notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.notfound__code {
  margin: 0;
  color: var(--color-gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
}

.notfound p { max-width: 460px; }

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.btn--primary { background: var(--color-cta); color: #000; }

.btn--primary:hover { background: var(--color-cta-hover); }

.btn--ghost { border: 1px solid var(--color-gold); color: var(--text); }

.btn--ghost:hover { border-color: var(--color-cta); }

@media (min-width: 744px) {
  .legal-header, .legal-footer { padding-left: 40px; padding-right: 40px; }
  main { padding: 80px 40px 120px; }
  h1 { font-size: 48px; }
}

