@import url('/assets/fonts.css');

:root {
  --ink: #131211;
  --ink-2: #2a2825;
  --paper: #f5f1ea;
  --paper-3: #faf6ee;
  --line: #e2dccf;
  --line-2: #ede6d7;
  --muted: #8a8378;
  --gold: #b89968;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line); transition: text-decoration-color .15s; }
a:hover { text-decoration-color: var(--ink); }

.legal-header {
  background: rgba(245, 241, 234, .92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.legal-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  transition: color .15s, transform .15s;
}
.legal-back:hover { color: var(--ink); transform: translateX(-2px); text-decoration: none; }
.legal-back svg { width: 16px; height: 16px; }

.legal-logo { display: block; }
.legal-logo img { height: 36px; width: auto; }

.legal-cta {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1rem;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  text-decoration: none;
  transition: background .15s;
}
.legal-cta:hover { background: #000; color: #fff; text-decoration: none; }

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.legal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: 0 1px 2px rgba(20, 20, 18, .04), 0 12px 30px rgba(20, 20, 18, .04);
}
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0 0 .35rem;
  line-height: 1.1;
}
.legal-sub {
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 2rem;
  font-weight: 600;
}
.legal h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 2.25rem 0 .75rem;
  letter-spacing: -.005em;
  color: var(--ink);
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 1.5rem 0 .5rem;
  color: var(--muted);
  font-weight: 600;
}
.legal p, .legal ul {
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 1rem;
  font-size: .95rem;
}
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }
.legal strong { color: var(--ink); font-weight: 600; }

.legal-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  font-size: .82rem;
  color: var(--muted);
}
.legal-footer a { color: var(--muted); margin: 0 .5rem; }
.legal-footer a:hover { color: var(--ink); }

@media (max-width: 600px) {
  .legal { padding: 1.75rem 1.4rem 1.5rem; }
  .legal-header-inner { padding: .85rem 1.25rem; }
  .legal-logo img { height: 32px; }
  .legal-back span { display: none; }
  .legal-back { padding: .35rem; }
  .legal-cta { padding: .5rem .8rem; font-size: .64rem; letter-spacing: .14em; }
}

.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 30%, rgba(184, 153, 104, .12), transparent 60%),
    var(--paper-3);
}
.notfound-inner { max-width: 520px; }
.notfound-num {
  font-family: var(--serif);
  font-size: clamp(6rem, 18vw, 9rem);
  line-height: 1;
  margin: 0 0 1rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: -.04em;
}
.notfound-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 1rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.005em;
}
.notfound-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 2rem;
}
.notfound-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.notfound-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 1.6rem;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.notfound-btn:hover { background: #000; transform: translateY(-1px); text-decoration: none; }
.notfound-btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.notfound-btn-secondary:hover { background: var(--ink); color: #fff; }
.notfound-logo { height: 56px; width: auto; margin-bottom: 2.5rem; }
