:root {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --bg-dark: #080604;
  --bg-panel: #17110c;
  --cream: #f2e8d9;
  --sand: #c6ac85;
  --accent: #b37e48;
  --text-main: #f8efe0;
  --text-soft: #cfc2ab;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(15, 8, 5, 0.96), rgba(37, 24, 16, 0.96));
  color: var(--text-main);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cream);
  color: var(--bg-dark);
  padding: 0.8rem 1rem;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(10, 7, 5, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 244, 228, 0.08);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.top-nav a,
.header-cta {
  color: var(--text-soft);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-nav a:hover,
.header-cta:hover {
  color: var(--cream);
}

.header-cta {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 244, 228, 0.18);
  border-radius: 999px;
  white-space: nowrap;
}

.legal-main {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 4.5rem 2rem 6rem;
}

.legal-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.legal-main h1 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.05;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  margin: 0 0 1rem;
}

.legal-updated {
  color: var(--sand);
  font-size: 0.95rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 244, 228, 0.12);
}

.legal-section {
  margin-bottom: 2.6rem;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cream);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin: 0 0 0.9rem;
}

.legal-section p {
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0 0 0.9rem;
  padding-left: 1.3rem;
  color: var(--text-soft);
  line-height: 1.85;
}

.legal-section li {
  margin-bottom: 0.4rem;
}

.legal-section a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card {
  background: rgba(255, 244, 228, 0.05);
  border: 1px solid rgba(255, 244, 228, 0.12);
  border-radius: 1.2rem;
  padding: 1.4rem 1.6rem;
  backdrop-filter: blur(12px);
}

.legal-back {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 244, 228, 0.12);
}

.legal-back a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  background: var(--cream);
  color: var(--bg-dark);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.legal-back a:hover {
  transform: translateY(-2px);
}

.site-footer {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid rgba(255, 244, 228, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-soft);
}

.site-footer a {
  color: var(--cream);
  margin-right: 1rem;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin: 0.2rem 0;
}

@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 1rem;
  }

  .top-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .legal-main {
    padding: 3rem 1.2rem 4rem;
  }

  .site-footer {
    padding: 1.6rem 1.2rem;
  }
}
