* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #655d55;
  --secondary: #fdf7f0;
  --accent: #e2cbbe;
  --text: #3a3632;
  --text-light: #8a837b;
  --white: #ffffff;
  --max-width: 800px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--secondary);
  line-height: 1.6;
}

/* Hero landing page */
.hero-page {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.15) saturate(0.7) brightness(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(58, 54, 50, 0.4) 0%,
    rgba(58, 54, 50, 0.1) 40%,
    rgba(58, 54, 50, 0.1) 60%,
    rgba(58, 54, 50, 0.6) 100%
  );
}

.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
}

.hero-nav .logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.hero-nav .nav-links {
  display: flex;
  gap: 20px;
}

.hero-nav .nav-links a {
  color: rgba(253, 247, 240, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.hero-nav .nav-links a:hover {
  color: var(--secondary);
}

.hero-content {
  position: absolute;
  bottom: 80px;
  left: 32px;
  z-index: 2;
}

.tagline {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.sub {
  font-size: 14px;
  font-weight: 400;
  color: rgba(253, 247, 240, 0.65);
  letter-spacing: 0.01em;
}

.hero-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 16px 32px;
}

.hero-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-footer-links a {
  color: rgba(253, 247, 240, 0.4);
  text-decoration: none;
  font-size: 11px;
  font-weight: 400;
  transition: color 0.2s;
}

.hero-footer-links a:hover {
  color: rgba(253, 247, 240, 0.8);
}

/* Nav for legal pages */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Legal pages */
.legal {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.legal .updated {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal p {
  margin-bottom: 12px;
  font-size: 15px;
}

.legal ul, .legal ol {
  margin-bottom: 12px;
  padding-left: 24px;
}

.legal li {
  margin-bottom: 6px;
  font-size: 15px;
}

.legal a {
  color: var(--primary);
}

.legal strong {
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--white);
  border-top: 1px solid var(--accent);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  font-size: 13px;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 640px) {
  .hero-nav {
    padding: 16px 20px;
  }

  .hero-nav .nav-links {
    gap: 12px;
  }

  .hero-nav .nav-links a {
    font-size: 12px;
  }

  .hero-content {
    left: 20px;
    bottom: 64px;
  }

  .tagline {
    font-size: 22px;
  }

  .sub {
    font-size: 13px;
  }

  .hero-footer {
    padding: 14px 20px;
  }

  .hero-footer-links {
    gap: 12px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
  }
}
