:root {
  --fc-black: #0a0a0a;
  --fc-white: #f7f6f2;
  --fc-ink: #1c1c1e;
  --fc-slate: #3a3a3c;
  --fc-mist: #e8e6e1;
  --fc-gold: #c9a84c;
  --fc-gold-bg: #f5edd6;
  --content-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--fc-white);
  color: var(--fc-black);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 2rem;
  z-index: 9999;
  padding: 0.65rem 1rem;
  border-radius: 0 0 4px 4px;
  background: var(--fc-gold);
  color: var(--fc-black);
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--fc-ink);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
}

.nav__logo-mark,
.footer__logo-mark {
  color: var(--fc-gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 900;
}

.nav__logo-name,
.footer__logo-name {
  color: var(--fc-white);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__link {
  color: rgba(247, 246, 242, 0.68);
  font-size: 0.875rem;
  text-decoration: none;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--fc-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: 4px;
  font: 700 0.9rem/1 'DM Sans', system-ui, sans-serif;
  text-decoration: none;
}

.btn--primary {
  background: var(--fc-gold);
  color: var(--fc-black);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
}

.nav__hamburger span {
  width: 23px;
  height: 2px;
  background: var(--fc-white);
}

.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav__mobile {
  display: none;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 10.5rem 0 5rem;
  background: var(--fc-ink);
  color: var(--fc-white);
}

.legal-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: '';
}

.legal-hero .container {
  position: relative;
}

.legal-hero__label {
  color: var(--fc-gold);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 760px;
  margin-top: 0.8rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.7rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.legal-hero__summary {
  max-width: 690px;
  margin-top: 1.5rem;
  color: rgba(247, 246, 242, 0.72);
  font-size: 1.05rem;
}

.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 1.75rem;
  color: rgba(247, 246, 242, 0.5);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6rem);
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.legal-toc {
  position: sticky;
  top: 104px;
  padding: 1.25rem;
  border: 1px solid var(--fc-mist);
  background: #fff;
}

.legal-toc strong {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-toc ol {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.15rem;
  color: var(--fc-slate);
  font-size: 0.78rem;
  line-height: 1.45;
}

.legal-toc a {
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: #735a19;
  text-decoration: underline;
}

.legal-copy {
  min-width: 0;
}

.legal-notice {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--fc-gold);
  background: var(--fc-gold-bg);
  color: #42391f;
  font-size: 0.91rem;
}

.legal-section {
  scroll-margin-top: 100px;
  padding: 0 0 2.5rem;
  border-bottom: 1px solid var(--fc-mist);
  margin-bottom: 2.5rem;
}

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

.legal-section h2 {
  margin-bottom: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.legal-section h3 {
  margin: 1.4rem 0 0.55rem;
  font-size: 1rem;
}

.legal-section p,
.legal-section li {
  color: var(--fc-slate);
  font-size: 0.94rem;
}

.legal-section p + p {
  margin-top: 0.9rem;
}

.legal-section ul,
.legal-section ol {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.9rem;
  padding-left: 1.3rem;
}

.legal-section a {
  color: #6d561b;
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.legal-contact {
  padding: 1.4rem;
  border: 1px solid rgba(201, 168, 76, 0.42);
  background: #fff;
}

.legal-contact address {
  margin-top: 0.75rem;
  color: var(--fc-slate);
  font-style: normal;
}

.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--fc-ink);
  color: var(--fc-white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer__logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer__tagline,
.footer__contact-item {
  color: rgba(247, 246, 242, 0.64);
  font-size: 0.84rem;
}

.footer__col-title {
  margin-bottom: 1rem;
  color: rgba(247, 246, 242, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__links {
  display: grid;
  gap: 0.65rem;
  list-style: none;
}

.footer__link {
  color: rgba(247, 246, 242, 0.64);
  font-size: 0.84rem;
  text-decoration: none;
}

.footer__contact-item {
  margin-bottom: 0.65rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__copy,
.footer__legal-link {
  color: rgba(247, 246, 242, 0.64);
  font-size: 0.75rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.32);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.wa-float svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 820px) {
  .legal-layout {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
  }

  .legal-toc {
    position: static;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile {
    position: fixed;
    inset: 0;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: var(--fc-ink);
  }

  .nav__mobile.open {
    display: flex;
  }

  .nav__mobile .nav__link {
    color: var(--fc-white);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
  }

  .legal-hero {
    padding: 8.5rem 0 3.5rem;
  }
}

@media (max-width: 520px) {
  .container {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }

  .legal-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .wa-float span {
    display: none;
  }
}
